.player{position:fixed;top:0;right:0;bottom:0;left:0;background:#000;color:#fff;overflow:hidden;cursor:none}.player:hover .fullscreen:not(.hidden){cursor:pointer}.pairing{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5vmin;padding:6vmin;text-align:center;background:#111114;cursor:default}.pairing-title{font-size:4vmin;margin:0;color:#d8d8de}.pairing-code-big{font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:18vmin;font-weight:700;letter-spacing:.06em;margin:0;line-height:1.1;color:#fff}.pairing-help{font-size:2.6vmin;margin:0;color:#b4b4bc;max-width:70ch;line-height:1.5}.pairing-help strong{color:#fff}.pairing-offline{font-size:2.4vmin;margin:1vmin 0 0;color:#ffb4a8}.pairing-brand{position:absolute;bottom:3vmin;font-size:1.8vmin;color:#6c6c76;margin:0}.slide{position:absolute;top:0;right:0;bottom:0;left:0}.slide .front{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.slide .backdrop{position:absolute;top:-5%;right:-5%;bottom:-5%;left:-5%;width:110%;height:110%;object-fit:cover;filter:blur(40px) brightness(.6)}.slide .backdrop-dark{background:#000;filter:none}.empty{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3vmin;padding:6vmin;text-align:center;background:#16161a}.empty-name{font-size:8vmin;font-weight:700;margin:0}.empty-logo{max-width:50vw;max-height:30vh;object-fit:contain}.empty-hint{font-size:2.2vmin;margin:0;opacity:.75}.fullscreen{position:absolute;right:2vmin;bottom:2vmin;margin:0;background:#ffffffeb;color:#111;transition:opacity .3s;cursor:pointer}.fullscreen.hidden{opacity:0;pointer-events:none}.empty-dark{background:#000}.sound-hint{position:absolute;left:50%;bottom:3vmin;transform:translate(-50%);margin:0;padding:.6rem 1rem;border-radius:999px;background:#000000b3;color:#fff;font-size:2vmin;cursor:default}:root{--accent: #3a3a3a;--accent-strong: #3a3a3a;--bg: #f6f6f4;--surface: #ffffff;--text: #16161a;--muted: #5c5c66;--line: #e2e2de;--lime: #b6ff3b;--radius: 12px;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;color:var(--text);background:var(--bg);line-height:1.5}*{box-sizing:border-box}body{margin:0}h1{font-size:1.6rem;margin:0 0 1rem;letter-spacing:-.01em}h2{font-size:1.1rem;margin:2rem 0 .75rem}a{color:var(--text)}.muted{color:var(--muted)}.center{min-height:100vh;display:grid;place-items:center;padding:1.5rem}.card{width:100%;max-width:26rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:2rem;display:flex;flex-direction:column;gap:.5rem}label{font-size:.9rem;font-weight:600;margin-top:.5rem}input,select{font:inherit;padding:.7rem .8rem;border:1px solid #c9c9c4;border-radius:8px;background:#fff;color:var(--text);min-height:44px;width:100%}input:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:2px}button{font:inherit;font-weight:600;min-height:44px;padding:.6rem 1.1rem;border:0;border-radius:8px;background:var(--accent-strong);color:#fff;cursor:pointer;margin-top:.75rem}button:disabled{opacity:.6}button.secondary{background:transparent;color:var(--text);border:1px solid var(--line);margin:0}.brand-row{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.brand-name{font-weight:700;font-size:1.05rem}.logo{height:40px;max-width:160px;object-fit:contain}.logo-mono{width:40px;display:grid;place-items:center;border-radius:10px;background:var(--accent-strong);color:#fff;font-weight:700}.notice{margin:.25rem 0;padding:.7rem .9rem;border-radius:8px;font-size:.95rem}.notice-error{background:#fdecec;color:#8a1414}.notice-ok{background:#eaf6ec;color:#1d5e2a}.seal{display:flex;align-items:center;gap:.4rem;margin:1.25rem 0 0;font-size:.75rem;color:var(--muted)}.seal-chip{background:var(--lime);color:#111;font-weight:700;border-radius:6px;padding:.05rem .4rem}.shell{min-height:100vh;display:flex;flex-direction:column}.topbar{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 2rem;padding:.75rem 1.5rem;background:var(--surface);border-bottom:1px solid var(--line)}.topbar .brand-row{margin:0}.topbar nav{display:flex;gap:.25rem;flex:1;flex-wrap:wrap}.topbar nav a{text-decoration:none;padding:.5rem .8rem;border-radius:8px;color:var(--muted)}.topbar nav a.active{background:var(--bg);color:var(--text);font-weight:600;box-shadow:inset 0 -3px 0 var(--accent)}.who{display:flex;align-items:center;gap:.75rem;font-size:.95rem}.content{flex:1;width:100%;max-width:64rem;margin:0 auto;padding:2rem 1.5rem}.footer{padding:0 1.5rem 1.5rem;max-width:64rem;margin:0 auto;width:100%}.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:1rem;margin:0}.facts div{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1rem 1.25rem}.facts dt{font-size:.85rem;color:var(--muted)}.facts dd{margin:.25rem 0 0;font-weight:600}.table-wrap{overflow-x:auto;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}table{width:100%;border-collapse:collapse;font-size:.95rem}th,td{text-align:left;padding:.7rem 1rem;border-bottom:1px solid var(--line);white-space:nowrap}th{font-size:.8rem;color:var(--muted);font-weight:600}tr:last-child td{border-bottom:0}.row{display:flex;flex-wrap:wrap;gap:.75rem;align-items:flex-end}.row>div{flex:1 1 14rem;display:flex;flex-direction:column}.row button{margin:0}.link-box{margin-top:1.25rem;display:flex;flex-direction:column;gap:.4rem}.link-box .row input{flex:1 1 20rem;font-family:ui-monospace,monospace;font-size:.85rem}.pairing-code{font-family:ui-monospace,monospace;font-size:2.4rem;font-weight:700;letter-spacing:.12em;margin:.5rem 0;padding:1rem 1.25rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);width:fit-content}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.qr{width:200px;height:200px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:6px}.secret{font-family:ui-monospace,monospace;font-size:.95rem;letter-spacing:.04em;word-break:break-all}.code-input{font-family:ui-monospace,monospace;font-size:1.4rem;letter-spacing:.2em;text-align:center}.recovery-list{font-family:ui-monospace,monospace;font-size:1rem;display:grid;grid-template-columns:1fr 1fr;gap:.35rem 1.5rem;margin:.5rem 0;padding:1rem 1.25rem;list-style:none;background:var(--bg);border-radius:8px}.link-button{background:none;color:var(--muted);text-decoration:underline;padding:0;min-height:0;font-weight:400}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem;max-width:34rem;display:flex;flex-direction:column;gap:.5rem}.stack{display:flex;flex-direction:column;gap:.5rem}.steps{margin:.25rem 0 .5rem;padding-left:1.25rem;color:var(--muted)}.check{display:flex;align-items:center;gap:.5rem;font-weight:400}.check input{width:auto;min-height:0}.stack>p{margin:.25rem 0 .5rem}button:disabled.secondary,button:disabled{cursor:not-allowed}a.button{display:flex;align-items:center;justify-content:center;text-decoration:none;font-weight:600;min-height:44px;padding:.6rem 1.1rem;border-radius:8px;background:var(--accent-strong);color:#fff}.step-title{font-weight:700;margin:1rem 0 .25rem;color:var(--text)}.hint{font-size:.9rem;color:var(--muted);margin:.25rem 0}a.link-button{font-size:.9rem;text-align:left}.link-button{text-align:left;margin-top:.25rem}@media(max-width:720px){.topbar{display:grid;grid-template-columns:1fr auto;gap:.5rem 1rem;padding:.75rem 1rem}.topbar nav{grid-column:1 / -1;order:3;flex-wrap:nowrap;overflow-x:auto}.topbar nav a{white-space:nowrap}.who{order:2;gap:.5rem;font-size:.9rem}.content{padding:1.5rem 1rem}}.operator .logo-mono{background:#16161a;color:#fff;font-size:.85rem;letter-spacing:.02em}.swatch{display:inline-block;width:.8rem;height:.8rem;border-radius:4px;vertical-align:-1px;margin-right:.35rem}div.actions{display:flex;gap:.4rem;flex-wrap:wrap}div.actions button{min-height:36px;padding:.35rem .7rem;font-size:.9rem}button.danger{color:#8a1414;border-color:#e7c2c2}fieldset.checks{border:0;padding:0;margin:.75rem 0 0;display:flex;gap:1.25rem;flex-wrap:wrap}fieldset.checks legend{font-size:.9rem;font-weight:600;margin-bottom:.25rem}input[type=color]{padding:.2rem;height:44px}.panel h2{margin-top:0}.support-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem 1.5rem;background:#16161a;color:#fff;font-size:.95rem}.support-banner button{margin:0;background:#fff;color:#16161a;min-height:40px}.tenant-list{list-style:none;margin:0;padding:0;display:grid;gap:.75rem}.tenant{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1rem 1.25rem}.tenant.is-suspended{opacity:.75}.tenant-head{display:flex;align-items:center;gap:.5rem;font-size:1.05rem}.badge{margin-left:auto;font-size:.8rem;font-weight:600;padding:.15rem .55rem;border-radius:999px}.badge-ok{background:#eaf6ec;color:#1d5e2a}.badge-off{background:#fdecec;color:#8a1414}.tenant-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:.5rem 1rem;margin:.75rem 0}.tenant-facts dt{font-size:.8rem;color:var(--muted)}.tenant-facts dd{margin:0;font-size:.95rem;word-break:break-word}.tenant .actions{flex-wrap:wrap}.inline-form{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.25rem 1.5rem 1.5rem}.inline-form h2{margin-top:0}.steps-plain{margin:0 0 .75rem;padding-left:1.25rem}.address{font-family:ui-monospace,monospace;background:var(--bg);padding:.1rem .4rem;border-radius:6px;white-space:nowrap}.screen-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(17rem,1fr));gap:.75rem}.screen-card{display:grid;grid-template-columns:1fr auto;gap:.35rem .75rem;padding:1rem 1.25rem;text-decoration:none;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);color:var(--text)}.screen-card:hover{border-color:var(--accent)}.screen-card .muted,.screen-open{grid-column:1 / -1;font-size:.92rem}.screen-name{font-weight:700;font-size:1.05rem}.screen-open{color:var(--accent-strong);font-weight:600}.screen-status{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;margin:-.5rem 0 1rem}.empty-box{background:var(--surface);border:1px dashed #c9c9c4;border-radius:var(--radius);padding:1.25rem;color:var(--muted)}.playlist,.library{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}.playlist li,.library li{padding:.6rem .9rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.library li,.playlist .item-main{display:flex;align-items:center;gap:.9rem;flex-wrap:wrap}.playlist li.not-due{background:#fafaf8}.playlist li.not-due .thumb{opacity:.55}.item-when{font-size:.85rem;color:var(--muted)}.due-now{color:#1d5e2a;font-weight:600}.due-later{color:var(--muted);font-weight:600}.link-button.inline{display:inline;margin:0;font-size:inherit;color:var(--accent-strong)}.duration-picker{display:inline-flex;gap:.5rem;align-items:center;flex-wrap:wrap}.duration-picker select{width:auto;min-height:40px;padding:.4rem .6rem}.own-seconds{display:inline-flex;gap:.4rem;align-items:center}.own-seconds input{width:5.5rem;min-height:40px;padding:.4rem .6rem}.schedule-editor{margin-top:.75rem;padding-top:.75rem;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:.75rem}.schedule-editor fieldset{border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.25rem 1.25rem;align-items:center}.schedule-editor legend{font-weight:600;font-size:.9rem;padding:0;margin-bottom:.35rem;width:100%}.schedule-editor .check{margin:0}.schedule-editor .times{width:100%;max-width:26rem}.schedule-editor .times>div{flex:1 1 10rem}.schedule-editor .hint{width:100%}.day-toggles{display:flex;gap:.35rem;flex-wrap:wrap}.day{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:40px;padding:0 .6rem;margin:0;border:1px solid var(--line);border-radius:8px;cursor:pointer;font-weight:600;color:var(--muted);background:#fff}.day input{position:absolute;opacity:0;pointer-events:none}.day.on{background:var(--accent-strong);border-color:var(--accent-strong);color:#fff}.day:focus-within{outline:3px solid var(--accent);outline-offset:2px}.actions-row{display:flex;gap:.6rem;flex-wrap:wrap}.actions-row button{margin:0}.pos{font-weight:700;color:var(--muted);width:1.4rem;text-align:right}.thumb{position:relative;width:96px;height:54px;border-radius:6px;overflow:hidden;background:#16161a;flex:none}.thumb img,.thumb video{width:100%;height:100%;object-fit:cover;display:block}.thumb-kind{position:absolute;left:4px;bottom:4px;font-size:.68rem;font-weight:700;padding:0 .3rem;border-radius:4px;background:#000000a6;color:#fff}.item-text{display:flex;flex-direction:column;flex:1 1 10rem;min-width:0}.item-name{font-weight:600;overflow-wrap:anywhere}.item-file{font-size:.85rem;overflow-wrap:anywhere}.item-duration select{width:auto;min-height:40px;padding:.4rem .6rem}.library button{margin:0;min-height:40px}.upload-row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-top:.75rem}.upload-row span:first-child{flex:1 1 12rem;overflow-wrap:anywhere}.upload-row progress{flex:1 1 10rem;height:10px;accent-color:var(--accent-strong)}@media(max-width:720px){.playlist .item-main{display:grid;grid-template-columns:auto 96px 1fr}.playlist .item-duration,.playlist div.actions{grid-column:1 / -1}.playlist div.actions{justify-content:flex-start}}.screen-status .badge,.screen-card .badge{margin-left:0;justify-self:end}.start-image{margin-top:2rem}.start-current{display:flex;align-items:center;gap:.9rem;flex-wrap:wrap;margin:.5rem 0 1rem}.start-current button{margin:0;min-height:40px}.start-progress{width:100%;margin-top:.75rem;accent-color:var(--accent-strong)}fieldset.duration-mode{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:.75rem 1.25rem 1rem;margin:0 0 1rem}fieldset.duration-mode legend{font-weight:600;padding:0 .3rem}.same-duration{margin:.25rem 0 .5rem 1.6rem}.same-duration select{width:auto}.video-opts{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.sound-toggle{margin:0}.thumb-portrait{width:54px;height:96px}.thumb-note{display:flex;align-items:center;justify-content:center;height:100%;padding:0 4px;text-align:center;font-size:.68rem;line-height:1.15;color:#e8e8ec;background:repeating-linear-gradient(45deg,#24242a,#24242a 6px,#2c2c33 6px,#2c2c33 12px)}.thumb-portrait .thumb-note{font-size:.58rem;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto}.thumb-failed{background:#5a1d14}.item-state{font-size:.85rem;color:#8a5a00;font-weight:600}.item-failed{color:#9b2c1a}.start-row{display:flex;align-items:center;gap:.9rem;flex-wrap:wrap;padding:.6rem .9rem;margin-bottom:.5rem;background:#fafaf8;border:1px dashed #c9c9c4;border-radius:var(--radius)}.start-row .thumb{margin-left:2.3rem}@media(max-width:720px){.start-row .thumb{margin-left:0}}
