:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#171717;background:#f7f7f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}[hidden]{display:none!important}.layout{display:flex;min-height:100vh}.sidebar{width:232px;background:#fff;border-right:1px solid #e8e8e8;padding:27px 16px 18px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.brand{display:flex;align-items:center;gap:9px;padding:0 8px;font-size:21px;letter-spacing:-.7px}.brand img{width:27px;height:22px;object-fit:contain}.brand span{font-size:9px;color:#777;letter-spacing:.12em;font-weight:700;border:1px solid #ddd;padding:3px 5px;border-radius:4px}.nav-heading{font-size:10px;color:#a2a2a2;font-weight:700;letter-spacing:.1em;margin:46px 12px 13px}.sidebar nav{display:grid;gap:4px}.nav{width:100%;border:0;background:none;color:#666;text-align:left;padding:11px 12px;border-radius:7px;font-size:14px}.nav span{display:inline-block;width:25px;font-size:17px;line-height:12px}.nav:hover,.nav.active{background:#f1f1f1;color:#111}.nav.active{font-weight:650}.sidebar-foot{margin-top:auto;font-size:12px;color:#777;border-top:1px solid #eee;padding:18px 7px 0}.environment-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#555;margin-right:6px}.quiet{display:block;border:0;background:none;padding:15px 0 0;color:#666}.main{margin-left:232px;min-width:0;flex:1}.topbar{height:68px;background:#fff;border-bottom:1px solid #e8e8e8;display:flex;align-items:center;justify-content:space-between;padding:0 36px;font-size:13px;font-weight:600}.breadcrumb{color:#999;font-weight:400}.content{max-width:1400px;margin:auto;padding:38px 38px 70px}.page-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:27px;gap:20px}.eyebrow{font-size:10px!important;letter-spacing:.12em;font-weight:700;color:#888!important;margin:0 0 9px!important}h1{font-size:29px;letter-spacing:-1.1px;margin:0 0 8px}h2{font-size:15px;letter-spacing:-.2px;margin:0}.page-head p,.panel-head p{font-size:13px;color:#888;margin:0}.period{font-size:12px;color:#777;white-space:nowrap}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #e7e7e7;border-radius:9px;margin-bottom:20px}.metrics article{padding:22px;border-right:1px solid #eee}.metrics article:last-child{border:0}.metrics p{font-size:13px;color:#666;margin:0 0 15px}.metrics strong{display:block;font-size:28px;letter-spacing:-1px}.metrics small{display:block;color:#999;font-size:11px;margin-top:7px}.overview-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:20px}.panel{background:#fff;border:1px solid #e7e7e7;border-radius:9px;margin-bottom:20px;padding:22px}.panel-head{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:22px}.panel-head p{margin-top:6px}.chart{height:190px;border-bottom:1px solid #e8e8e8;background:repeating-linear-gradient(to top,transparent 0,transparent 46px,#f1f1f1 47px,#f1f1f1 48px)}.chart svg{width:100%;height:100%;display:block}.chart rect{fill:#333}.chart-axis{display:flex;justify-content:space-between;color:#999;font-size:11px;margin-top:10px}.activity div{display:flex;justify-content:space-between;font-size:13px;padding:14px 0;border-bottom:1px solid #f1f1f1}.activity div:last-child{border:0}.activity span{color:#777}.activity strong{font-weight:600}.outline{background:#fff;border:1px solid #ddd;border-radius:6px;padding:8px 13px;color:#333;font-size:12px}.text-button{border:0;background:none;color:#333;font-size:12px;font-weight:600}.primary{border:1px solid #171717;background:#171717;color:#fff;border-radius:6px;padding:10px 16px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{color:#999;font-weight:500;border-bottom:1px solid #eee;padding:10px 12px}td{border-bottom:1px solid #f2f2f2;padding:14px 12px;color:#555}td:first-child{color:#222;font-weight:600}.empty{color:#999;font-size:13px;padding:14px 0}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:18px;font-size:12px;color:#777}.upload-form{display:flex;align-items:end;gap:12px}.upload-form label{max-width:420px;flex:1}label{display:grid;gap:7px;color:#555;font-size:12px;font-weight:600}input,textarea,select{border:1px solid #dedede;background:#fff;color:#222;border-radius:6px;padding:10px;min-width:0;width:100%;font-size:13px}textarea{min-height:90px;resize:vertical}input[type=checkbox]{width:auto}fieldset{border:1px solid #eee;border-radius:6px;display:flex;gap:20px;padding:12px}fieldset label{display:flex;align-items:center;gap:6px}legend{color:#777;font-size:12px}.catalog-card{border-bottom:1px solid #eee;padding:14px 0}.catalog-card summary{cursor:pointer;font-size:14px;font-weight:600;list-style:none}.catalog-card summary::after{content:'+';float:right;color:#888}.catalog-card[open] summary::after{content:'−'}.catalog-card p{color:#777;font-size:12px}.catalog-card video{max-width:360px;max-height:250px;background:#111;display:block;margin:14px 0}.catalog-card form{display:grid;gap:14px;max-width:700px}.catalog-card button,.moderation-card button{border:1px solid #ddd;background:#fff;color:#222;border-radius:6px;padding:9px 12px;font-size:12px}.catalog-card details{font-size:12px;color:#777}.moderation-card{border-top:1px solid #eee;padding:14px 0}.moderation-card img,.moderation-card video{display:block;max-width:360px;max-height:250px}.moderation-card button{margin-right:8px}.login-screen{min-height:100vh;display:grid;place-items:center}.login-card{background:white;border:1px solid #e7e7e7;border-radius:10px;width:min(420px,calc(100% - 32px));padding:36px}.login-card .brand{padding:0;margin-bottom:44px}.login-card h1{font-size:25px}.login-card p{color:#777;font-size:13px;margin-bottom:27px}.login-card form{display:grid;gap:17px}.login-card .primary{margin-top:5px}.login-message{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);color:#555;font-size:13px}#message:not(:empty){padding:12px 16px;border:1px solid #ddd;background:#fff;border-radius:6px;font-size:13px;margin:0 0 20px}@media(max-width:900px){.metrics{grid-template-columns:repeat(2,1fr)}.metrics article:nth-child(2){border-right:0}.metrics article:nth-child(-n+2){border-bottom:1px solid #eee}.overview-grid{grid-template-columns:1fr}}@media(max-width:650px){.layout{display:block}.sidebar{position:static;width:auto;padding:16px;display:block}.nav-heading,.sidebar-foot{display:none}.sidebar nav{display:flex;margin-top:15px;overflow:auto}.nav{white-space:nowrap}.main{margin:0}.topbar{padding:0 20px}.content{padding:25px 18px}.page-head{align-items:start}.period{display:none}.upload-form{display:grid}.metrics article{padding:16px}}

/* Catalog */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.catalog-toolbar{display:flex;gap:10px;align-items:center;margin:-2px 0 20px}.catalog-toolbar label{width:165px}.catalog-toolbar .catalog-search{width:min(320px,100%)}#catalog-count{margin-left:auto;color:#888;font-size:12px;white-space:nowrap}.catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:20px}.catalog-tile{min-width:0;border:1px solid #e8e8e8;border-radius:9px;overflow:hidden;background:#fff}.catalog-preview{width:100%;aspect-ratio:4/5;background:#151515;position:relative;border:0;padding:0;display:block;overflow:hidden}.catalog-preview video{display:block;width:100%;height:100%;object-fit:contain}.catalog-preview:focus-visible{outline:3px solid #777;outline-offset:-3px}.catalog-duration{position:absolute;right:8px;bottom:8px;border-radius:4px;background:#000b;color:#fff;padding:4px 6px;font-size:11px}.catalog-tile-body{padding:12px}.catalog-tile h3{margin:0;font-size:13px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.catalog-category{font-size:11px;color:#888;margin:5px 0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.catalog-tags{display:flex;flex-wrap:wrap;gap:4px;min-height:22px}.status,.tag{border:1px solid #e5e5e5;border-radius:4px;padding:3px 5px;color:#666;font-size:10px}.status.published{background:#222;color:white;border-color:#222}.catalog-actions{display:flex;gap:7px;margin-top:12px}.catalog-actions button,.dialog-head button{flex:1;border:1px solid #ddd;background:#fff;border-radius:5px;padding:7px 5px;font-size:11px;color:#333}.catalog-actions button:hover,.dialog-head button:hover{background:#f5f5f5}.catalog-dialog{border:1px solid #e3e3e3;border-radius:10px;padding:0;width:min(720px,calc(100% - 32px));max-height:calc(100% - 48px);box-shadow:0 20px 70px #0003}.catalog-dialog::backdrop{background:#0008}.dialog-head{position:sticky;top:0;z-index:1;background:#fff;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center;padding:18px 22px;font-weight:650}.dialog-head button{flex:none;padding:8px 12px}.catalog-dialog .catalog-card{padding:0 22px 24px;border:0}.catalog-dialog .catalog-card>summary{display:none}.catalog-dialog .catalog-card video{width:100%;max-width:none;max-height:360px;object-fit:contain;border-radius:7px}.catalog-dialog .catalog-card form{max-width:none}.catalog-dialog .catalog-card form>button:last-child{background:#171717;color:#fff;border-color:#171717;font-weight:600}.catalog-dialog .catalog-card details summary{padding:8px 0}.catalog-dialog .catalog-card details summary::after{content:'+'}.catalog-dialog .catalog-card details[open] summary::after{content:'−'}@media(max-width:650px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.catalog-toolbar{flex-wrap:wrap}.catalog-toolbar .catalog-search{width:100%}.catalog-toolbar label{width:150px}}
@media (min-width:651px) and (max-width:1050px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.analysis-panel{border:1px solid #e7e7e7;border-radius:8px;padding:16px;display:grid;gap:12px}.analysis-panel h3,.analysis-panel h4{margin:0;font-size:14px}.analysis-panel p{margin:0;line-height:1.5}.analysis-fields{display:grid;gap:12px}.analysis-slot{display:grid;gap:10px;border:1px solid #ededed;border-radius:8px;padding:12px}.analysis-canvas{display:block;max-width:100%;max-height:300px;object-fit:contain;touch-action:none;cursor:crosshair;border-radius:5px;background:#222}.analysis-controls{display:flex;gap:8px;flex-wrap:wrap}
.analysis-coordinates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}@media(max-width:600px){.analysis-coordinates{grid-template-columns:repeat(2,minmax(0,1fr))}}
.analysis-preview{display:grid;gap:8px;font-size:12px;color:#666}.analysis-thumbnail{width:96px;height:96px;object-fit:contain;background:#eee;border-radius:6px}
body:not([data-role=owner]) [data-min-role=owner],body:not([data-role=owner]):not([data-role=admin]) [data-min-role=admin],body[data-role=viewer] [data-min-role=moderator]{display:none!important}
