/* Review composition uses the Shadcnblocks sidebar1 inset/header structure.
   The centered sign-in card adapts Shadcnblocks login1. See docs/UI.md. */
.review-topbar{height:64px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 32px;background:white}.review-topbar .brand{font-size:14px}.private-label{display:flex;gap:7px;align-items:center;color:var(--muted-foreground);font-size:12px}.private-label svg{width:14px;height:14px}.review-page{max-width:1520px;margin:0 auto;padding:32px 40px 28px}.presentation-heading{margin-bottom:24px;max-width:1050px}.presentation-meta{display:flex;align-items:center;gap:10px;margin-bottom:12px}.presentation-heading h1{font-size:28px;letter-spacing:-.035em;max-width:950px}.presentation-heading #summary{font-size:14px;color:var(--muted-foreground);line-height:1.65;margin-top:10px;max-width:800px}.review-grid{display:grid;grid-template-columns:minmax(0,1fr) 344px;gap:28px;align-items:start}.review-grid.view-only{grid-template-columns:1fr;max-width:1120px;margin:auto}.watch-column{min-width:0}.player-wrap{border-radius:10px;overflow:hidden;border:1px solid #27272a;background:#18181b}.player-wrap video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#18181b}.player-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 2px;color:var(--muted-foreground);font-size:12px}.player-toolbar .now-playing{display:flex;align-items:center;gap:6px;min-width:0}.now-playing span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-toolbar svg{width:14px;height:14px}.chapter-panel{margin-top:12px}.chapter-panel summary{cursor:pointer}.chapter-panel summary h2::before{content:"›";display:inline-block;font-size:18px;margin-right:8px;color:var(--muted-foreground)}.chapter-panel[open] summary h2::before{transform:rotate(90deg)}.chapter-panel .section-title{padding-bottom:12px;margin-bottom:0;border-bottom:1px solid var(--border)}#chapters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.chapter{display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:start;gap:10px;width:100%;border:0;border-bottom:1px solid #f0f0f1;padding:14px 8px;background:white;color:var(--foreground);text-align:left;border-radius:0;min-width:0}.chapter:hover{background:#fafafa}.chapter[aria-current=true]{background:#f4f4f5}.chapter-number{display:grid;place-items:center;border:1px solid var(--border);border-radius:5px;width:24px;height:24px;font-size:10px;color:var(--muted-foreground);font-variant-numeric:tabular-nums;background:white}.chapter-title{display:block;font-weight:500;font-size:12px;line-height:1.5}.chapter small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;font-weight:400;color:var(--muted-foreground);line-height:1.6;margin-top:4px}.chapter-time{font:11px/24px ui-monospace,SFMono-Regular,monospace;color:var(--muted-foreground)}.panel{border:1px solid var(--border);border-radius:10px;background:white;overflow:hidden}.panel-header{padding:18px 20px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.panel-header h2{font-size:14px}.review-body{padding:20px}.reviewer-line{display:flex;align-items:center;gap:9px;margin-bottom:20px}.avatar{width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:var(--muted);display:grid;place-items:center;font-size:11px;font-weight:500;color:#52525b}.reviewer-line strong{font-size:12px;font-weight:500}.reviewer-line p{font-size:11px;color:var(--muted-foreground)}.empty-feedback{text-align:center;border:1px dashed var(--border);border-radius:7px;padding:24px 16px;margin-bottom:20px;color:var(--muted-foreground);font-size:12px;line-height:1.6}.empty-feedback svg{width:21px;height:21px;margin-bottom:6px}.empty-feedback strong{display:block;color:#52525b;font-size:12px;font-weight:500;margin-bottom:4px}#comments{max-height:280px;overflow:auto}.note{border-bottom:1px solid var(--border);padding:0 0 14px;margin-bottom:14px}.note-heading{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted-foreground)}.note p{font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0}.composer-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.composer-label label{margin:0;font-size:12px;font-weight:500}.time-chip{font:11px ui-monospace,SFMono-Regular,monospace;border:1px solid var(--border);border-radius:4px;padding:3px 6px;background:#fafafa;color:#52525b}.review-body textarea{min-height:100px}.composer-hint{font-size:11px;color:var(--muted-foreground);line-height:1.5;margin:8px 0 12px}.approval-section{border-top:1px solid var(--border);padding:20px;background:#fafafa}.approval-section h3{font-size:12px;font-weight:600;margin-bottom:12px}.approval-section .check{margin:12px 0;color:#52525b;font-size:12px}.actions{display:flex;gap:8px;margin-top:20px}.actions button{flex:1;font-size:12px;padding:9px}.decision-note{color:var(--muted-foreground);font-size:12px;line-height:1.6}.decision-note:empty{display:none}#error:not(:empty){padding:12px 16px;border:1px solid #fecaca;background:#fef2f2;border-radius:6px;margin-bottom:20px}#success:not(:empty){padding:12px 16px;border:1px solid #bbf7d0;background:#f0fdf4;color:#166534;border-radius:6px;margin-bottom:20px;font-size:13px}footer{border-top:1px solid var(--border);margin-top:32px;padding-top:16px;font-size:11px;color:var(--muted-foreground);line-height:1.7}.loading-state{display:grid;place-items:center;min-height:300px;color:var(--muted-foreground);font-size:13px;border:1px dashed var(--border);border-radius:10px}.login-page{background:#fafafa;min-height:100dvh;display:grid;place-items:center;padding:40px 24px}.login-layout{width:100%;max-width:380px;display:flex;flex-direction:column;align-items:center;gap:24px}.login-card{width:100%;border:1px solid var(--border);border-radius:10px;background:white;padding:28px;box-shadow:0 2px 6px #00000004}.login-card h1{font-size:21px;text-align:center;margin-bottom:8px}.login-card>p{font-size:13px;line-height:1.6;color:var(--muted-foreground);text-align:center;margin-bottom:24px}.login-card form label{font-size:12px}.login-card form button{margin-top:18px;width:100%}.login-card #error{margin:12px 0 0}.login-help{text-align:center;color:var(--muted-foreground);font-size:12px;line-height:1.7;max-width:340px}.login-help strong{display:block;color:#52525b;font-weight:500;margin-bottom:4px}
@media(min-width:1700px){.review-page{padding-top:40px}}@media(max-width:1100px){.review-page{padding:28px 24px}.review-grid{grid-template-columns:minmax(0,1fr) 310px;gap:20px}#chapters{grid-template-columns:1fr}.review-body,.approval-section{padding:16px}}@media(max-width:850px){.review-grid{grid-template-columns:1fr}.review-page{max-width:740px}.review-panel{grid-row:2}.chapter-panel{margin-top:24px}.presentation-heading h1{font-size:25px}.review-topbar{padding:0 24px}.review-body{padding:20px}.approval-section{padding:20px}}@media(max-width:480px){.review-topbar{height:56px;padding:0 16px}.review-topbar .brand{font-size:13px}.review-topbar .brand-icon{width:27px;height:27px;flex-basis:27px}.private-label{font-size:10px}.review-page{padding:24px 16px}.presentation-heading h1{font-size:22px}.presentation-heading #summary{font-size:13px}.presentation-meta{flex-wrap:wrap}.presentation-heading{margin-bottom:20px}.player-wrap{border-radius:7px}.player-toolbar{font-size:11px}.player-toolbar .captions-note{display:none}.review-grid{gap:24px}.chapter{padding:12px 4px}.login-card{padding:24px}.panel-header{padding:16px 20px}}

.login-notice{display:grid;gap:10px;margin:0 0 18px;padding:12px 14px;border:1px solid var(--border);border-radius:8px;background:var(--muted)}.login-notice p{margin:0}
#status{color:var(--muted-foreground,#52606d);margin:8px 0 0}
.viewer-signin{max-width:440px;margin:18px 0}
#passkey{width:100%;margin-top:10px}
