:root{--bg:#f5f3ed;--paper:#fffefa;--ink:#14241e;--muted:#67736d;--line:#dfe4da;--green:#163d32;--gold:#d1a557;--soft:#edf2eb;--red:#a34b39}*{box-sizing:border-box}html,body{background:var(--bg);min-height:100%;color:var(--ink);margin:0;font-family:Inter,Arial,Helvetica,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:11px;padding:10px 15px;font-weight:650;transition:all .15s}button:hover:not(:disabled){border-color:#879d8f;transform:translateY(-1px)}button:disabled{opacity:.42;cursor:not-allowed}button.primary{background:var(--green);color:#fff;border-color:var(--green)}button.primary:hover:not(:disabled){background:#285649}button.ghost{background:0 0}.danger{color:var(--red)!important}.eyebrow,.label{letter-spacing:.14em;color:#76857b;font-size:11px;font-weight:800}.shell{min-height:100vh;display:flex}.sidebar{color:#edf4e9;background:#132b24;flex-direction:column;flex-shrink:0;width:240px;height:100vh;padding:25px 16px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:11px;padding:4px 9px 30px;display:flex}.brand-mark{background:var(--gold);color:#173b2f;border-radius:10px;place-items:center;width:35px;height:35px;font-size:23px;display:grid}.brand strong{letter-spacing:.16em;font-size:14px;display:block}.brand small{color:#aabfb0;letter-spacing:.2em;margin-top:3px;font-size:9px;display:block}.sidebar nav{gap:5px;display:grid}.sidebar button{color:#c5d3ca;text-align:left;background:0 0;border:0;align-items:center;gap:12px;width:100%;padding:12px 13px;font-size:14px;display:flex}.sidebar button:hover,.sidebar button.active{color:#fff;background:#28483d;transform:none}.sidebar button span{width:21px;font-size:18px}.live-dot{background:#e6ac64;border-radius:50%;width:7px;height:7px;margin-left:auto}.side-bottom{border-top:1px solid #365046;margin-top:auto;padding-top:12px}.side-bottom button{padding:9px 13px;font-size:12px}.sync{color:#a5c2aa;padding:8px 12px 15px;font-size:11px;display:block}.sync.offline{color:#e8b782}.main{width:100%;min-width:0;max-width:1660px;margin:0 auto;padding:42px 48px 80px}.page-head{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:29px;display:flex}.page-head h1{letter-spacing:-.045em;margin:8px 0 5px;font-family:Georgia,serif;font-size:47px;font-weight:500}.page-head p{color:var(--muted);margin:0;font-size:14px}.page-head>.primary,.head-actions{align-self:center}.head-actions{gap:9px;display:flex}.library-grid{grid-template-columns:repeat(auto-fill,minmax(275px,1fr));gap:20px;display:grid}.kit-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 8px 35px #253a2510}.kit-cover{color:#f7f4e9;background:#1d4539;flex-direction:column;justify-content:space-between;height:185px;padding:22px;display:flex}.kit-cover span,.kit-cover small{letter-spacing:.14em;opacity:.75;font-size:10px;font-weight:750}.kit-cover strong{max-width:220px;font:32px/1.06 Georgia,serif}.cover-1{background:#4e5839}.cover-2{background:#665b44}.cover-3{background:#655049}.cover-4{background:#315269}.kit-content{padding:20px}.kit-meta{align-items:center;display:flex}.badge{color:#346545;text-transform:uppercase;letter-spacing:.06em;background:#e9f0e9;border-radius:100px;padding:5px 9px;font-size:10px;font-weight:800;display:inline-block}.badge.rehearsal{color:#94692d;background:#f4ede0}.kit-content p{color:#5e6d62;min-height:54px;margin:17px 0;font-size:13px;line-height:1.5}.kit-actions{gap:8px;display:flex}.kit-actions button{flex:1;padding:10px 5px;font-size:12px}.kit-links{gap:16px;margin-top:14px;display:flex}.kit-links button{color:#365b49;background:0 0;border:0;padding:0;font-size:12px;text-decoration:underline}.library-note{color:var(--muted);margin-top:23px;font-size:12px}.run-layout{grid-template-columns:minmax(0,1fr) 320px;gap:25px;display:grid}.run-primary{align-content:start;gap:16px;display:grid}.run-aside{align-content:start;gap:17px;display:grid}.timer-panel{color:#fff;background:#173e32;border-radius:18px;justify-content:space-between;align-items:center;gap:20px;padding:26px 30px;display:flex}.timer-panel .label{color:#a7c2ae}.timer{font-variant-numeric:tabular-nums;margin-top:9px;font:58px/.95 Georgia,serif}.timer-right{text-align:right;gap:7px;display:grid}.timer-right strong{font-variant-numeric:tabular-nums;font-size:20px}.timer-right strong.near{color:#f2ca85}.timer-right strong.over{color:#eaa294}.progress-track{background:#dce5da;border-radius:20px;height:5px;margin-top:-13px;overflow:hidden}.progress-track div{background:#c9a65d;height:100%;transition:width 1s}.run-controls{gap:9px;display:flex}.run-controls button{flex:1}.run-controls kbd{color:#3e5243;background:#e8ece5;border-radius:4px;margin-left:5px;padding:2px 5px;font-size:10px}.cue-panel,.next-panel,.notes-panel,.card-panel,.agenda-panel,.editor-main,.editor-preview{background:var(--paper);border:1px solid var(--line);border-radius:17px;padding:24px;box-shadow:0 8px 30px #253a2509}.section-top{justify-content:space-between;align-items:center;gap:15px;display:flex}.cue-panel h2{margin:21px 0 13px;font:42px/1.05 Georgia,serif}.hero-cue{max-width:700px;margin:0 0 23px;font-size:22px;line-height:1.4}.timing{color:#4d8062;font-size:11px;font-weight:750}.timing.near{color:#a7752e}.timing.over{color:var(--red)}details{border-top:1px solid var(--line);padding-top:15px}summary{cursor:pointer;color:#375b49;font-size:13px;font-weight:750}details p{color:#405348;white-space:pre-wrap;font-size:14px;line-height:1.65}.next-panel{background:#edf3e9}.next-panel h3{margin:10px 0 5px;font:26px Georgia,serif}.next-panel p{color:#536a58;margin:0;font-size:13px}.notes-panel h3{margin:7px 0 0;font:23px Georgia,serif}.notes-panel .section-top>span{color:var(--muted);font-size:12px}.note-entry{gap:8px;margin-top:20px;display:flex}.note-entry input{flex:1}.note-list>div{border-top:1px solid var(--line);gap:15px;padding:10px 0;display:flex}.note-list time{color:#75867a;font-variant-numeric:tabular-nums;font-size:11px}.note-list p{margin:0;font-size:13px}.muted{color:var(--muted);font-size:12px}.card-panel{padding:18px}.card-panel .section-top button{color:#41634f;background:0 0;border:0;padding:3px;font-size:12px}.card-panel>p,.editor-preview>p{color:var(--muted);margin:13px 2px 0;font-size:11px;line-height:1.5}.card-preview{aspect-ratio:9/16;border-radius:10px;width:100%;margin-top:13px;overflow:hidden}.card-preview.image{background:#1a2e27;justify-content:center;display:flex}.card-preview.image img{object-fit:contain;width:100%;height:100%}.card-preview.text{color:#f8f3e9;white-space:pre-wrap;background:#12201c;flex-direction:column;padding:12% 9%;display:flex}.card-rule{background:var(--accent);width:45px;height:4px;margin-bottom:20%}.card-preview.text strong{font:26px/1.12 Georgia,serif}.card-preview.text p{margin-top:15%;font-size:13px;line-height:1.5}.card-preview.text small{color:var(--accent);letter-spacing:.2em;margin-top:auto;font-size:8px}.empty-card{color:#849487;background:#eef2eb;border-radius:10px;place-items:center;height:270px;margin-top:13px;font-size:12px;display:grid}.agenda-panel{padding:19px}.agenda-panel>.eyebrow{margin-bottom:13px;display:block}.agenda-panel button{text-align:left;background:0 0;border:0;border-radius:8px;grid-template-columns:25px 1fr auto;align-items:center;gap:8px;width:100%;padding:10px 8px;font-size:11px;display:grid}.agenda-panel button.current{background:#e8f0e7}.agenda-panel button span,.agenda-panel button small{color:#7d8e81}.agenda-panel button strong{font-weight:650}.hotkeys{color:#8c978b;text-align:center;margin:0;font-size:10px}.history-list{gap:12px;display:grid}.history-list article{background:var(--paper);border:1px solid var(--line);border-radius:14px;justify-content:space-between;align-items:center;gap:20px;padding:20px;display:flex}.history-list h3{margin:10px 0 6px;font:23px Georgia,serif}.history-list p{color:var(--muted);margin:0;font-size:12px}.history-actions{white-space:nowrap;gap:8px;display:flex}.editor-grid{grid-template-columns:minmax(0,1fr) 300px;gap:24px;display:grid}.editor-main{gap:23px;display:grid}.field-group{gap:12px;display:grid}.editor-main label,.login-panel label{color:#526359;gap:7px;font-size:12px;font-weight:750;display:grid}.editor-main input,.editor-main textarea,.editor-main select,.login-panel input,.note-entry input{color:var(--ink);background:#fff;border:1px solid #cdd8cd;border-radius:9px;outline:none;width:100%;padding:11px 12px}.editor-main input:focus,.editor-main textarea:focus,.editor-main select:focus,.login-panel input:focus,.note-entry input:focus{border-color:#5d9472;box-shadow:0 0 0 3px #6aa07c20}.editor-main textarea{resize:vertical;line-height:1.5}.editor-main input[type=color]{width:90px;height:38px;padding:3px}.editor-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.editor-heading h2,.editor-heading h3{margin:0;font:25px Georgia,serif}.editor-heading h2 span{color:var(--muted);margin-left:9px;font:12px Arial}.editor-heading>div{gap:5px;display:flex}.editor-heading button,.upload-button{padding:7px 10px;font-size:11px}.upload-button{border:1px solid var(--line);cursor:pointer;border-radius:9px}.segment-tabs{gap:6px;padding-bottom:5px;display:flex;overflow:auto}.segment-tabs button{white-space:nowrap;padding:9px;font-size:11px}.segment-tabs button.active{background:#e3eee4;border-color:#9bb69f}.segment-tabs button span{color:#77907d;margin-right:7px}.segment-tabs button small{color:#9ca99d;display:block}.segment-editor{border-top:1px solid var(--line);gap:16px;padding-top:20px;display:grid}.field-row{grid-template-columns:1fr 110px;gap:10px;display:grid}.editor-preview{height:max-content;position:sticky;top:20px}.editor-preview .card-preview{max-width:230px;margin:18px auto}.editor-preview>.primary{width:100%}.toast{z-index:10;color:#8f3f2e;background:#ffede8;border:1px solid #e9bbad;border-radius:10px;padding:12px 15px;font-size:12px;position:fixed;top:20px;right:28px;box-shadow:0 5px 25px #0002}.toast button{color:inherit;background:0 0;border:0;margin-left:15px;padding:0}.empty{text-align:center;padding:90px 10px}.empty span{color:var(--gold);font-size:40px}.empty h2{margin:12px 0;font:35px Georgia,serif}.empty p{color:var(--muted);font-size:14px}.empty button{margin-top:18px}.center-screen{text-align:center;min-height:100vh;color:var(--muted);place-content:center;display:grid}.loader{border:3px solid #cbd8cd;border-top-color:var(--green);border-radius:50%;width:30px;height:30px;margin:auto;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.login-page{background:#f6f4ee;grid-template-columns:1fr 1fr;min-height:100vh;display:grid}.login-panel{flex-direction:column;justify-content:center;padding:min(12vh,110px) min(9vw,130px);display:flex}.login-panel h1{letter-spacing:-.045em;margin:20px 0;font:clamp(43px,4.5vw,76px)/1.05 Georgia,serif}.login-panel h1 em{color:#3e7354;font-style:normal}.login-panel>p{color:#6c7b70;font-size:15px}.login-panel form{gap:14px;max-width:430px;margin-top:38px;display:grid}.login-panel form button{justify-content:space-between;display:flex}.login-panel .error{color:var(--red)}.login-art{background:#143c30;place-items:center;padding:10%;display:grid}.art-card{aspect-ratio:9/12;color:#fff;background:#204e3e;border:1px solid #68866e;border-radius:20px;flex-direction:column;justify-content:space-between;width:min(400px,100%);padding:45px;display:flex;box-shadow:20px 25px #0d2d24}.art-card span,.art-card small{letter-spacing:.2em;color:#d7bd86;font-size:12px}.art-card strong{font:clamp(36px,3.5vw,60px)/1.1 Georgia,serif}@media (max-width:1050px){.run-layout,.editor-grid{grid-template-columns:1fr}.run-aside{grid-template-columns:1fr 1fr}.editor-preview{position:static}}@media (max-width:720px){.shell{display:block}.sidebar{width:100%;height:auto;padding:10px 14px;position:static}.brand{padding:5px}.sidebar nav{display:flex;overflow:auto}.sidebar nav button{white-space:nowrap;width:auto}.side-bottom{display:none}.main{padding:26px 17px 60px}.page-head{align-items:start}.page-head h1{font-size:37px}.run-aside{grid-template-columns:1fr}.timer{font-size:42px}.timer-panel{padding:20px}.cue-panel h2{font-size:34px}.hero-cue{font-size:19px}.login-page{grid-template-columns:1fr}.login-art{display:none}.login-panel{padding:45px 25px}.history-list article{display:block}.history-actions{margin-top:15px}.run-controls{flex-wrap:wrap}.run-controls button{min-width:30%}}
