:root{color-scheme:dark;--bg:#091226;--pane:#101b34;--card:#17233d;--border:#2a3958;--text:#f0f5ff;--muted:#99a9c7;--blue:#5d8aff;--pink:#da64ce;--green:#52d3aa;--amber:#f4c077;--shadow:0 20px 70px rgba(0,0,0,.25);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:var(--bg);color:var(--text)}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}.hidden{display:none!important}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}input,select{width:100%;min-height:46px;border:1px solid #334461;color:var(--text);background:#101b32;border-radius:10px;padding:0 13px;outline:none}input:focus,select:focus,button:focus-visible,a:focus-visible{outline:2px solid #8db3ff;outline-offset:3px}input::placeholder{color:#71809f}label{display:block;font-size:13px;font-weight:650;margin:0 0 8px}label span{color:#ffb5d9}.primary{color:white;border:1px solid #678ef8;background:linear-gradient(115deg,#437af2,#776af6 65%,#ac5fdc);border-radius:10px;min-height:43px;padding:0 20px;font-weight:700;box-shadow:0 7px 19px rgba(77,104,244,.18)}.primary:hover:not(:disabled){filter:brightness(1.13)}.ghost{border:1px solid #374666;color:#d8e4ff;background:#172541;border-radius:10px;min-height:42px;padding:0 16px;font-weight:600}.ghost:hover:not(:disabled){background:#223252}.full{width:100%}.muted{color:var(--muted)}.tiny{font-size:12px}.eyebrow{font-size:11px;font-weight:750;letter-spacing:.17em;color:#8eafff;margin:0 0 13px}.brand-mark{display:inline-flex;width:52px;height:48px;align-items:center;justify-content:center;gap:2px;background:linear-gradient(145deg,#577bff22,#d36bd522);border:1px solid #41558f;border-radius:14px}.brand-mark span{display:block;width:15px;height:18px;border-radius:60% 60% 50% 50%;transform:rotate(-12deg);background:#80abff}.brand-mark span+span{transform:rotate(12deg);background:#e38dd9}.brand-mark.small{width:42px;height:42px}.brand-mark.small span{width:11px;height:13px}.app-background{position:fixed;z-index:-1;inset:0;pointer-events:none;background:radial-gradient(ellipse at 68% 4%,#23408355,transparent 45%),radial-gradient(ellipse at 10% 95%,#6b275b25,transparent 42%)}.login-layout{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px}.login-panel{max-width:445px;width:100%;background:linear-gradient(145deg,#172744e8,#101d34e8);border:1px solid #324365;border-radius:24px;padding:43px;box-shadow:var(--shadow);text-align:center}.login-panel h1{font-size:clamp(24px,4vw,33px);margin:9px 0 12px;letter-spacing:-.035em}.login-panel>p.muted{font-size:14px;line-height:1.65}.login-form{text-align:left;margin-top:30px}.login-form button{margin-top:19px}.form-error{min-height:20px;color:#ff9fae;font-size:13px;line-height:1.5}.login-panel .tiny{line-height:1.6}.login-footer{color:#71829f;font-size:12px;margin-top:27px}.login-footer span{color:#dc7bd1}.dashboard{min-height:100vh;display:grid;grid-template-columns:244px minmax(0,1fr)}.sidebar{background:#0f1b32;border-right:1px solid #263450;display:flex;flex-direction:column;padding:26px 16px;min-height:100vh;position:sticky;top:0;height:100vh}.sidebar-head{display:flex;gap:11px;align-items:center;padding:5px 7px 32px}.brand-title{letter-spacing:.17em;font-size:13px;font-weight:800}.brand-subtitle{font-size:11px;color:#9dacca;margin-top:3px}.nav{display:flex;flex-direction:column;gap:5px}.nav-link{display:flex;gap:12px;align-items:center;padding:14px 14px;border-radius:11px;font-size:14px;color:#a7b8d8}.nav-link.active{background:linear-gradient(90deg,#244578,#302957);color:white;font-weight:720;border:1px solid #394c81}.nav-link:hover{background:#1a2d4d}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--border);padding:20px 8px 0}.environment-label{font-weight:700;font-size:13px}.live-dot{display:inline-block;width:8px;height:8px;background:var(--green);border-radius:50%;margin-right:6px;box-shadow:0 0 0 4px #52d3aa1a}.sidebar-bottom p{font-size:12px;line-height:1.6;color:#9aabc9}.sidebar-bottom small{display:block;text-align:center;margin-top:19px;font-size:10px;color:#6980a5}.main-area{min-width:0}.topbar{height:82px;display:flex;justify-content:space-between;align-items:center;padding:17px 34px;border-bottom:1px solid #24334f;background:#0c1830aa}.topbar-label{color:#7f97c2;letter-spacing:.15em;font-size:10px;font-weight:800}.topbar-location{font-size:14px;margin-top:5px;color:#d6e0f5;font-weight:600}.chevron{padding:0 7px;color:#7183a4}.topbar-actions{display:flex;align-items:center;gap:22px}.topbar-secure{color:#75caaf;font-size:12px}.content{max-width:1440px;padding:35px 38px 70px;margin:0 auto}.hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:37px 40px;border:1px solid #35497b;background:linear-gradient(110deg,#1a3159 2%,#182847 67%,#34224f);border-radius:22px;box-shadow:0 15px 45px #040a1760}.hero h1{margin:0;font-size:clamp(25px,3.1vw,39px);letter-spacing:-.045em}.hero h1 span{color:#b4a2ff}.hero-description{color:#b8c7e4;font-size:14px;line-height:1.7;max-width:550px}.hero .primary{white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:20px}.stat{padding:24px 22px;background:#131f39;border:1px solid #293b60;border-radius:16px;display:flex;flex-direction:column;gap:9px}.stat span{color:#a9b8d6;font-size:12px;font-weight:600}.stat strong{font-size:34px;letter-spacing:-.05em;line-height:1}.stat small{font-size:11px;color:#7e91b3;line-height:1.4}.stat:nth-child(2) strong{color:#72d9b6}.stat:nth-child(3) strong{color:#e2b6fc}.stat:nth-child(4) strong{color:#f6cf91}.library-section{margin-top:41px}.section-title{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:24px}.section-title .eyebrow{margin-bottom:8px}.section-title h2{margin:0;font-size:23px;letter-spacing:-.03em}.toolbar{display:flex;align-items:center;gap:16px;justify-content:space-between;margin-bottom:18px;flex-wrap:wrap}.search{position:relative;flex:1;min-width:220px;max-width:460px}.search span{position:absolute;top:10px;left:14px;font-size:24px;line-height:1;color:#859ec9}.search input{padding-left:43px;background:#141f36}.tabs{display:flex;gap:6px;flex-wrap:wrap}.tab{border:1px solid #2f4160;border-radius:8px;padding:10px 14px;font-size:12px;color:#a7b8d5;background:#131f36;font-weight:650}.tab.active{background:#284776;border-color:#5683db;color:#fff}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr));gap:15px}.video-card{background:#13203a;border:1px solid #2d405e;border-radius:15px;padding:20px;display:flex;flex-direction:column;gap:15px;min-width:0}.video-card:hover{border-color:#5575ac}.card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.card-category{font-size:11px;color:#8da8dc;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.card-title{font-size:17px;line-height:1.35;margin:6px 0 0;overflow-wrap:anywhere}.status-chip{display:inline-block;white-space:nowrap;border-radius:20px;padding:6px 9px;font-size:10px;font-weight:800;background:#3c294a;color:#e8bcfd}.status-chip.published{background:#193e3f;color:#87eacb}.status-chip.pending{background:#49392d;color:#ffcb85}.card-meta{display:flex;flex-wrap:wrap;gap:7px}.mini-chip{background:#20314f;border:1px solid #31476b;border-radius:6px;padding:6px 8px;color:#acc0e5;font-size:10px}.card-source{font-size:12px;color:#97aaca;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:anywhere;max-width:100%}.card-source a{color:#9fc3ff;text-decoration:underline;text-underline-offset:3px}.card-id{font-size:10px;color:#7488a9;overflow-wrap:anywhere}.card-actions{margin-top:auto;display:flex;flex-wrap:wrap;gap:8px}.card-actions button{min-height:36px;font-size:12px;padding:0 12px}.card-actions .danger{border-color:#75404a;color:#ffb2be;background:#3e2534}.card-actions .publish{background:#254b47;border-color:#387b6a;color:#a2e9d5}.empty-state{padding:46px 18px;border:1px dashed #40516d;border-radius:15px;text-align:center;color:#acbad5}.toast{position:fixed;top:20px;right:20px;z-index:50;border:1px solid #5287bd;background:#1b385c;color:#eaf3ff;border-radius:12px;box-shadow:var(--shadow);padding:15px 20px;max-width:min(92vw,440px);font-size:13px}.toast.error{background:#4c2537;border-color:#975267}dialog{border:1px solid #43547e;border-radius:18px;background:#14213c;color:var(--text);padding:0;max-width:min(92vw,590px);width:100%;box-shadow:var(--shadow);max-height:min(92vh,900px)}dialog::backdrop{background:#020714cf;backdrop-filter:blur(4px)}.editor-form{padding:26px 29px;overflow:auto;max-height:88vh}.dialog-head{display:flex;justify-content:space-between;align-items:start;gap:15px}.dialog-head h2{font-size:24px;margin:0;letter-spacing:-.04em}.dialog-close{background:#223451;border:1px solid #435474;border-radius:10px;color:white;font-size:24px;width:39px;height:39px}.editor-form>p.muted{line-height:1.5;font-size:13px;margin:14px 0 21px}.editor-form>label,.field-grid label{margin-top:17px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.hint{font-size:11px;display:block;margin-top:7px;color:#91a2c3;line-height:1.4}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.confirm-body{padding:28px}.confirm-body h2{margin-top:0}.confirm-body p{color:#b6c5e0;line-height:1.7}.confirm-body .form-error{color:#ffadb8}@media(max-width:1020px){.dashboard{grid-template-columns:200px minmax(0,1fr)}.content{padding:26px 20px 50px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{padding:26px}.topbar{padding:15px 20px}}@media(max-width:690px){.dashboard{display:block}.sidebar{height:auto;min-height:auto;position:static;padding:13px 16px;flex-direction:row;align-items:center;justify-content:space-between;gap:10px}.sidebar-head{padding:0}.sidebar-bottom{margin:0;padding:0;border:0}.sidebar-bottom p,.sidebar-bottom small,.sidebar-bottom .environment-label,.nav{display:none}.sidebar-bottom button{width:auto;white-space:nowrap;min-height:36px}.topbar{height:auto;min-height:64px}.topbar-secure{display:none}.content{padding:18px 13px 50px}.hero{flex-direction:column;align-items:flex-start;border-radius:16px;padding:22px}.hero .primary{width:100%}.stats{gap:9px}.stat{padding:16px}.stat strong{font-size:27px}.section-title{align-items:start;flex-direction:column}.toolbar{align-items:stretch}.search{max-width:none;min-width:0;width:100%}.tabs{width:100%}.tab{flex:1;white-space:nowrap}.field-grid{grid-template-columns:1fr;gap:0}.editor-form{padding:22px 18px}.login-panel{padding:30px 22px}.brand-title{font-size:11px}.brand-subtitle{font-size:10px}}@media(prefers-reduced-motion:no-preference){button,input,.video-card{transition:background .14s,border-color .14s,filter .14s}}
