.tml-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.tml-toolbar p{font-size:16px;color:#abc6b3}.tml-toolbar>div,.tml-actions{display:flex;flex-wrap:wrap;gap:10px}.tml-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.tml-card{display:flex;flex-direction:column;gap:16px;min-width:0;padding:22px;border:1px solid #284632;border-radius:18px;background:#0a160f;color:#f2fff5}.tml-card header{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:#9fb9a7}.tml-kind{padding:5px 9px;background:#173c24;color:#7bffa0;border-radius:6px}.tml-card h2{font-size:19px;line-height:1.5;margin:0;overflow-wrap:anywhere}.tml-image{margin:0;border-radius:12px;background:#030905;overflow:hidden}.tml-image img{display:block;width:100%;height:230px;object-fit:contain}.tml-image.is-large img{height:auto;max-height:64dvh;min-height:80px}.tml-image figcaption{padding:12px;font-size:14px;color:#d8e9dd;line-height:1.6}.tml-description,.tml-full-description{font-size:16px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.tml-description{max-height:170px;overflow:auto}.tml-full-description{margin-top:22px;padding:18px;border:1px solid #294734;border-radius:10px;background:#061009}.tml-card footer{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}.tml-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 13px;border:1px solid #365a40;border-radius:9px;background:#102218;color:#dff7e6;text-decoration:none;font-family:inherit;font-weight:600;line-height:1.4;font-size:14px;cursor:pointer}.tml-button.is-primary{background:#24ff62;border-color:#24ff62;color:#052b11}.tml-button:disabled{opacity:.5;cursor:wait}.tml-file-message,.tml-empty{padding:24px;border:1px dashed #365940;border-radius:12px;color:#acc8b5;font-size:15px;line-height:1.7;overflow-wrap:anywhere}.tml-file-message span{display:block;margin-top:8px}.tml-video{width:100%;max-height:60dvh;background:#000;border-radius:12px}.tml-dialog{width:min(850px,calc(100% - 24px));max-height:92dvh;padding:0;border:1px solid #365d41;border-radius:18px;background:#09150d;color:#f0fff4}.tml-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;border-bottom:1px solid #294a34}.tml-dialog-head h2{font-size:21px;margin:0;overflow-wrap:anywhere}.tml-dialog-head button{font-size:22px;min-width:42px}.tml-dialog-body{padding:22px}.tml-actions{margin-top:20px}.tml-error{color:#ffbdc2;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.7}.tml-error:empty{display:none}.tml-dialog form{display:grid;gap:16px}.tml-dialog label{display:grid;gap:8px;font-size:15px}.tml-dialog input,.tml-dialog textarea,.tml-dialog select{width:100%;padding:12px;border:1px solid #355a40;border-radius:9px;background:#041009;color:#effff3;font-size:16px}.tml-dialog .tml-check{display:flex;gap:10px;align-items:center}.tml-check input{width:auto}.tml-note{color:#a5c2b0;font-size:14px;line-height:1.5}.tml-grid [hidden],.tml-dialog [hidden]{display:none!important}@media(max-width:520px){.tml-grid{grid-template-columns:minmax(0,1fr)}.tml-card{padding:17px}.tml-toolbar{align-items:flex-start;flex-direction:column}.tml-dialog-body{padding:16px}.tml-dialog-head{padding:16px}.tml-image img{height:220px}.tml-button{padding:10px 12px}}

.tml-dialog::backdrop{background:rgba(0,0,0,.78)}.tml-pdf{width:100%;height:65dvh;border:0;background:#fff;border-radius:10px}
