@media(max-width:760px){.topbar .topbar-right{flex-shrink:0;gap:4px}.topbar .account-name{min-width:0;max-width:85px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}.topbar>div:first-child{flex:1;min-width:0;overflow:hidden}}
.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#edf4ef,#f6f8f6 55%,#e8eef0)}.login-panel{width:100%;max-width:380px}.login-panel .brand{padding:0}.login-panel h1{font-family:Manrope,sans-serif;font-size:24px;margin:32px 0 24px}.login-panel form{display:grid;gap:18px}.login-panel label{display:grid;gap:8px;font-size:13px;font-weight:600}.login-panel input{width:100%;height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:4px;background:white}.login-panel .button{justify-content:center;min-height:44px}.login-panel #login-error{margin:0;color:var(--red);font-size:13px}.account-name{max-width:160px;overflow-wrap:anywhere;font-size:12px}.media-tools{display:flex;flex-shrink:0}.media-info>div{min-width:0}.media-info .media-detail{white-space:normal;overflow-wrap:anywhere}.role-options{display:grid;gap:10px;border:1px solid var(--line);border-radius:4px;margin:0;padding:14px}.role-options legend{font-size:12px;padding:0 6px}.role-options label,.check-label{display:flex!important;align-items:center;gap:10px!important;font-size:12px}.role-options input,.check-label input{width:16px!important;height:16px!important;accent-color:var(--green)}.table-scroll{width:100%;overflow-x:auto}.access-table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}.access-table th{font-size:11px;color:var(--muted);font-weight:600}.access-table th,.access-table td{padding:16px 12px;border-bottom:1px solid var(--line);vertical-align:middle;overflow-wrap:anywhere}.access-table th:first-child,.access-table td:first-child{padding-left:0}.access-table .row-tools{display:flex;gap:4px}.audit-list{max-height:50vh;overflow-y:auto}.audit-list p{display:grid;gap:4px;padding:10px 0;border-bottom:1px solid var(--line);font-size:12px;overflow-wrap:anywhere}.audit-list time{color:var(--muted);font-size:11px}.member-list{padding-left:18px;font-size:13px;overflow-wrap:anywhere}.editor-heading{flex-wrap:wrap}.editor-heading input{min-width:100px!important}.topbar-right .icon-button{flex-shrink:0}
@media(max-width:760px){.sidebar nav{display:flex!important;overflow-x:auto!important;gap:4px}.sidebar .nav-button{flex:1 0 76px;min-width:76px}.topbar{gap:8px}.topbar>div:first-child{min-width:0;overflow-wrap:anywhere}.topbar-right{gap:4px}.account-name{max-width:85px}.access-table th,.access-table td{padding:12px 6px}.access-table td:nth-child(2){min-width:125px}.editor-heading input{flex-basis:100%}.media-info .media-detail{font-size:10px}}
.playlist-settings{display:flex;align-items:center;gap:16px;margin-bottom:18px;font-size:12px}.duration-setting{display:flex;align-items:center;gap:4px;flex-shrink:0}.duration-setting .icon-button{width:28px;height:30px}.duration-setting .icon-button:disabled{opacity:.35;cursor:default}
@media(max-width:760px){.playlist-editor .sequence-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:8px}.playlist-editor .sequence-thumb{display:none}.playlist-editor .sequence-name{grid-column:2 / 4;min-width:0}.playlist-editor .duration-setting{grid-column:2;grid-row:2}.playlist-editor .row-tools{grid-column:3;grid-row:2}.playlist-settings{justify-content:space-between;gap:10px}}
@media(max-width:760px){.sidebar nav{display:grid;grid-template-columns:1fr 1.4fr .8fr;overflow:visible;gap:3px}.sidebar .nav-button{width:100%;min-width:0;height:65px;min-height:65px;flex-direction:column;justify-content:center;gap:6px;padding:8px 3px;font-size:10px;white-space:normal;text-align:center}.sidebar .nav-button>span{overflow-wrap:anywhere}}
:root{--ink:#212a28;--muted:#75807b;--green:#237352;--green-light:#e9f2ec;--line:#e1e6e2;--paper:#f6f8f6;--white:#fff;--red:#b64040;--radius:6px;--font:'DM Sans',sans-serif}*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:var(--font);font-size:14px;background:var(--paper);letter-spacing:0}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #95c7ac;outline-offset:3px}input:focus,select:focus{outline:2px solid #95c7ac;outline-offset:1px}svg{width:19px;height:19px;stroke-width:1.7;flex-shrink:0}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:34px 20px;z-index:5}.brand{font-family:Manrope,sans-serif;font-size:33px;font-weight:800;display:flex;align-items:center;gap:10px;padding:0 12px}.brand-dot{color:var(--green);margin-left:-9px}.brand-mark{background:var(--green);color:white;width:35px;height:35px;border-radius:8px;display:grid;place-items:center}.brand-mark svg{width:23px;height:23px}.workspace-label{font-size:9px;font-weight:700;color:#8b958f;letter-spacing:1.5px;margin:53px 12px 17px}nav{display:grid;gap:6px}.nav-button{display:flex;align-items:center;gap:12px;width:100%;padding:13px 12px;background:none;border:0;border-radius:var(--radius);color:#64716a;text-align:left;font-size:13px;font-weight:500;min-height:46px}.nav-button.active{background:var(--green-light);color:var(--green);font-weight:700}.nav-button:hover{background:#f0f4f0}.nav-count{margin-left:auto;font-size:10px;min-width:21px;text-align:center;padding:2px 5px;background:#fff;border-radius:4px}.sidebar-bottom{margin-top:auto;display:flex;align-items:center;gap:7px;padding:18px 9px 0;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#3a9968;flex-shrink:0}.local-tag{margin-left:auto;font-size:8px;letter-spacing:.7px;border:1px solid var(--line);padding:3px 4px;border-radius:3px}.main-shell{margin-left:244px}.topbar{height:78px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#ffffffb8;font-size:12px}.breadcrumb{color:var(--muted)}.breadcrumb-separator{color:#c3ccc5;padding:0 16px}.topbar-right{display:flex;align-items:center;gap:24px}.live-label{display:flex;align-items:center;gap:7px;font-size:11px;color:#66786c}.avatar{display:grid;place-items:center;width:31px;height:31px;border:1px solid #dfe7df;border-radius:50%;background:#eef1e8;font-size:10px;font-weight:700}main{max-width:1560px;margin:auto;padding:43px 42px 25px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:32px}.eyebrow{font-size:9px;letter-spacing:1.6px;color:var(--green);font-weight:700;margin-bottom:10px}h1{font-family:Manrope,sans-serif;font-size:30px;font-weight:700;margin:0;line-height:1.3}h2{font-family:Manrope,sans-serif;font-size:18px;margin:0;font-weight:700}h3{font-size:14px;margin:0;font-weight:600}.actions{display:flex;gap:10px;flex-wrap:wrap}.button{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;min-height:40px;border-radius:var(--radius);font-size:12px;font-weight:600;white-space:normal;text-align:center}.button svg{width:16px;height:16px}.primary{background:var(--green);color:white}.primary:hover{background:#195e41}.secondary{background:#fff;border-color:#dbe2dc;color:#3c4840}.secondary:hover{background:#edf3ee}.danger{background:#fff0f0;color:var(--red);border-color:#f0d7d7}.overview{display:grid;grid-template-columns:repeat(3,1fr);margin-bottom:37px;border-block:1px solid var(--line);padding:21px 0;background:linear-gradient(100deg,#f6f8f6,#f0f4f1)}.overview>div{display:flex;gap:15px;align-items:center;padding:0 27px;border-right:1px solid var(--line)}.overview>div:first-child{padding-left:0}.overview>div:last-child{border:0}.stat-icon{display:grid;place-items:center;width:40px;height:40px;background:#e9eeea;border-radius:7px;color:#718177}.stat-icon.green{color:var(--green);background:#e2eee5}.stat-value{display:block;font-family:Manrope,sans-serif;font-size:23px;font-weight:700;line-height:1.2}.stat-label{display:block;font-size:11px;color:var(--muted);margin-top:5px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.segments{display:flex;gap:4px;flex-wrap:wrap}.segment{border:0;background:none;color:var(--muted);padding:8px 12px;font-size:12px;border-radius:5px}.segment.active{background:#e7eee8;color:#354b3c;font-weight:600}.search{position:relative;width:235px;max-width:100%}.search svg{position:absolute;left:11px;top:11px;width:15px;height:15px;color:#94a096}.search input{padding:10px 10px 10px 35px;width:100%;font-size:11px;background:white}input,select{color:var(--ink);border:1px solid var(--line);border-radius:5px;padding:10px 11px;background:white;max-width:100%}input::placeholder{color:#929d94}.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.media-card{border:1px solid var(--line);border-radius:7px;overflow:hidden;background:white;min-width:0}.media-preview{position:relative;aspect-ratio:16/10;background:#e8ede8;display:grid;place-items:center;overflow:hidden}.media-preview img,.media-preview video{width:100%;height:100%;object-fit:cover}.media-preview>.url-art{height:100%;width:100%;display:flex;align-items:center;justify-content:center;background:repeating-linear-gradient(0deg,transparent 0,transparent 23px,#dce5df 24px),repeating-linear-gradient(90deg,#eff4f0 0,#eff4f0 23px,#dce5df 24px);color:var(--green)}.url-art>svg{width:44px;height:44px;background:white;box-sizing:content-box;padding:17px;border-radius:8px;box-shadow:0 5px 20px #315d3d0c}.media-badge{position:absolute;left:12px;top:12px;display:flex;align-items:center;gap:5px;background:#ffffffec;padding:4px 7px;border-radius:4px;font-size:9px;font-weight:600;color:#405148}.media-badge svg{width:11px;height:11px}.media-info{padding:15px 16px;display:flex;justify-content:space-between;align-items:center;gap:8px}.media-info h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;max-width:100%}.media-info>div{min-width:0}.media-detail{font-size:10px;color:var(--muted);margin:7px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.icon-button{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;background:transparent;color:#738078;border-radius:5px;flex-shrink:0}.icon-button:hover{background:#edf2ed;color:var(--green)}.icon-button.delete:hover{color:var(--red);background:#fff0f0}.icon-button svg{width:16px;height:16px}.empty{padding:65px 20px;text-align:center;border:1px dashed #cfd9d0;border-radius:6px;color:var(--muted);background:#ffffff80}.empty svg{display:block;margin:0 auto 15px;width:30px;height:30px;color:#88a58e}.empty p{margin:10px 0 22px;font-size:12px}.import-tile{min-height:100%;aspect-ratio:16/13.4;border:1px dashed #cbd6cc;border-radius:7px;background:#f1f5f1;color:#819285;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:11px;font-size:12px}.import-tile>span:first-child{display:grid;place-items:center;width:38px;height:38px;border:1px solid #d8e2d9;border-radius:50%;background:white;color:var(--green)}.import-tile small{font-size:10px;color:#99a59b}.import-tile:hover{border-color:var(--green);background:#eaf1eb}footer{margin-top:45px;padding-top:20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;font-size:8px;letter-spacing:1px;color:#97a299}.section-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:14px}.section-top p{color:var(--muted);font-size:11px;margin:5px 0 0}.playlist-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px}.playlist-list{display:flex;flex-direction:column;gap:7px}.playlist-choice{padding:15px;text-align:left;border:1px solid var(--line);background:white;border-radius:5px;min-width:0}.playlist-choice strong{display:block;font-size:12px;overflow-wrap:anywhere}.playlist-choice small{display:block;font-size:10px;color:var(--muted);margin-top:7px}.playlist-choice.active{border-color:#80b394;background:var(--green-light)}.playlist-editor{min-width:0}.editor-heading{display:flex;gap:12px;align-items:center;margin-bottom:16px}.editor-heading input{font-family:Manrope,sans-serif;font-size:18px;font-weight:700;width:100%;min-width:0;background:transparent;border-color:transparent;padding-left:0}.editor-heading input:hover,.editor-heading input:focus{border-color:var(--line);background:white}.editor-heading .button{flex-shrink:0}.sequence{border-top:1px solid var(--line)}.sequence-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:14px 0}.position{font-size:10px;color:#8a978e;width:18px;flex-shrink:0}.sequence-thumb{width:54px;height:38px;object-fit:cover;background:#e8eee8;border-radius:3px;display:grid;place-items:center;flex-shrink:0}.sequence-name{flex:1;min-width:0;overflow-wrap:anywhere;font-size:12px}.sequence-name small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.duration{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--muted);flex-shrink:0}.duration input{width:73px;padding:7px;font-size:11px}.row-tools{display:flex;flex-shrink:0}.row-tools .icon-button{width:25px;height:29px}.add-row{display:flex;gap:10px;margin-top:20px}.add-row select{flex:1;min-width:0;font-size:12px}.editor-summary{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);padding-top:16px;gap:10px}.screens-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.screen-card{border:1px solid var(--line);border-radius:7px;background:white;padding:22px;min-width:0}.screen-head{display:flex;align-items:center;gap:13px;margin-bottom:24px}.screen-symbol{width:40px;height:40px;display:grid;place-items:center;background:var(--green-light);color:var(--green);border-radius:6px;flex-shrink:0}.screen-head>div:nth-child(2){flex:1;min-width:0}.screen-head h3{overflow-wrap:anywhere}.screen-status{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--muted);margin-top:7px}.screen-status.offline .status-dot{background:#bac2bc}.screen-card label{font-size:10px;color:var(--muted)}.screen-card select{width:100%;margin-top:8px;font-size:12px}.screen-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:20px}.screen-actions a{font-size:11px;color:var(--green);display:flex;align-items:center;gap:7px}.screen-actions a svg{width:14px;height:14px}dialog{border:1px solid var(--line);border-radius:8px;padding:26px;width:460px;max-width:calc(100% - 32px);color:var(--ink);box-shadow:0 22px 100px #14281e30}dialog::backdrop{background:#17291f65;backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:15px}.dialog-header h2{font-size:19px}#modal-fields{display:grid;gap:17px}#modal-fields label{font-size:12px;display:grid;gap:8px}#modal-fields input{width:100%}input[type=file]{font-size:12px;padding:14px;background:#f4f7f4}.dialog-footer{display:flex;gap:8px;justify-content:flex-end;margin-top:22px}#form-error{font-size:12px;color:var(--red);overflow-wrap:anywhere}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 22px;background:#253c2e;color:white;border-radius:6px;box-shadow:0 5px 25px #0002;z-index:20;font-size:12px;max-width:calc(100% - 30px);overflow-wrap:anywhere}#toast[hidden]{display:none}.error-banner{background:#fff0f0;padding:15px;border:1px solid #edcccc;color:var(--red);border-radius:5px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(min-width:1500px){.media-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){.sidebar{width:210px;padding-inline:12px}.main-shell{margin-left:210px}main{padding:30px 25px}.topbar{padding:0 25px}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.playlist-layout{grid-template-columns:170px minmax(0,1fr);gap:18px}.overview>div{padding-inline:17px}.overview{gap:5px}.stat-label{font-size:10px}.sequence-row{gap:7px}.sequence-thumb{display:none}}@media(max-width:760px){.sidebar{position:relative;width:100%;padding:16px 18px 0;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:27px;padding:0 3px}.brand-mark{height:29px;width:29px}.brand-mark svg{width:20px;height:20px}.workspace-label,.sidebar-bottom{display:none}nav{display:flex;gap:4px;margin-top:18px;overflow-x:auto}.nav-button{width:auto;white-space:nowrap;gap:7px;border-radius:5px 5px 0 0;font-size:11px;padding:12px 10px;min-height:42px}.nav-button svg{width:16px;height:16px}.nav-count{display:none}.main-shell{margin:0}.topbar{height:49px;padding:0 20px;font-size:10px}.topbar-right{gap:10px}.avatar{width:25px;height:25px;font-size:8px}.live-label{font-size:9px}main{padding:28px 20px 20px}.page-heading{flex-direction:column;align-items:flex-start;gap:18px;margin-bottom:24px}h1{font-size:26px}.eyebrow{font-size:8px}.actions{width:100%}.button{font-size:11px;padding:9px 11px;min-height:37px}.overview{padding:17px 0;margin-bottom:25px}.overview>div{padding:0 10px;gap:8px;align-items:flex-start}.stat-icon{display:none}.stat-value{font-size:21px}.stat-label{font-size:9px;max-width:75px;line-height:1.5}.toolbar{flex-direction:column;align-items:stretch;gap:13px}.search{width:100%}.segment{font-size:11px;padding:7px 10px}.media-grid{gap:13px}.media-info{padding:11px 9px;gap:0}.media-info h3{font-size:11px}.media-detail{font-size:9px}.media-info .icon-button{width:26px}.media-badge{top:7px;left:7px;font-size:8px;padding:3px 5px}.import-tile{font-size:10px;gap:7px}.import-tile small{font-size:8px}.import-tile>span:first-child{width:29px;height:29px}.playlist-layout{grid-template-columns:1fr;gap:22px}.playlist-list{flex-direction:row;overflow-x:auto;padding-bottom:5px}.playlist-choice{min-width:140px;padding:12px}.editor-heading{gap:7px}.editor-heading input{font-size:16px}.sequence-row{flex-wrap:wrap;gap:7px}.sequence-name{min-width:70px}.row-tools .icon-button{width:23px}.duration input{width:56px}.screens-grid{grid-template-columns:1fr}.screen-card{padding:19px}.editor-summary{font-size:10px}footer{font-size:7px;letter-spacing:.5px;margin-top:30px}.section-top h2{font-size:16px}}@media(prefers-reduced-motion:no-preference){main{animation:appear .35s ease-out}@keyframes appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}}