:root{font-family:Inter,"Segoe UI",sans-serif;color:#203c35;background:#f5f5ef}*{box-sizing:border-box}body{margin:0}.boot{padding:60px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #dbb15b;outline-offset:3px}.auth{max-width:440px;margin:9vh auto;padding:36px;background:#fff;border:1px solid #dce3dc;border-radius:20px}.auth h1{font-size:34px}.field{display:grid;gap:8px;margin:17px 0}.field input,.field textarea,.field select{width:100%;padding:12px 13px;border:1px solid #cfd9d1;border-radius:9px;background:#fff;color:#203c35}.field textarea{min-height:110px;resize:vertical}.primary{border:0;background:#1d5545;color:white;padding:12px 18px;border-radius:9px;font-weight:650}.secondary{border:1px solid #cfdbd1;background:white;color:#244b3f;padding:10px 15px;border-radius:9px}.muted{color:#77867d}.error{color:#a43625}.brand{font-weight:750;letter-spacing:-1px}.brand em{font-style:normal;color:#d9bb7c}.shell{display:grid;grid-template-columns:242px 1fr;min-height:100vh}.sidebar{background:#153a32;color:#e8eee7;padding:28px 19px;display:flex;flex-direction:column;position:fixed;width:242px;top:0;bottom:0}.sidebar .brand{font-size:27px;padding:0 12px}.brand-sub{font-size:11px;letter-spacing:1.7px;color:#9fb5a9;padding:9px 12px 26px}.workspace-select{color:#eef2ea;background:#234c41;border:1px solid #426254;padding:12px;border-radius:10px;width:100%;margin-bottom:24px}nav{display:grid;gap:6px}nav button{background:none;border:0;color:#b7cabf;display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:9px;text-align:left;font-size:14px}nav button.active{color:#fff;background:#345b4c}nav button:hover{background:#294d41}.nav-icon{width:19px;height:19px;display:inline-flex}.nav-icon svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.sidebar-bottom{margin-top:auto;border-top:1px solid #35564a;padding:18px 10px 0;font-size:12px;color:#adc1b4}.status-dot{display:inline-block;width:7px;height:7px;background:#7ba982;border-radius:50%;margin-right:7px}.main{grid-column:2;min-width:0}.topbar{height:80px;border-bottom:1px solid #e0e5db;background:#fafbf7;display:flex;justify-content:space-between;align-items:center;padding:0 40px;gap:20px}.crumb{font-size:13px;color:#849084}.crumb b{font-weight:500;color:#354b3f}.top-actions{display:flex;align-items:center;gap:16px}.search{border:1px solid #dde4d8;border-radius:8px;background:#fff;padding:9px 12px;max-width:240px;font-size:12px}.avatar{width:34px;height:34px;border-radius:50%;background:#e0e8d8;display:grid;place-items:center;font-size:12px;font-weight:700}.content{padding:33px 40px 50px;max-width:1480px;margin:auto}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;text-transform:uppercase;color:#7b8b7e}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:25px}.page-heading h1{font-size:30px;letter-spacing:-1.1px;margin:8px 0 9px;line-height:1.2}.page-heading p{font-size:13px;color:#7b887c;margin:0;line-height:1.6}.badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:6px;font-size:10px;font-weight:650;background:#edf1e8;color:#53705b;white-space:nowrap}.badge.warn{background:#fff2d9;color:#997328}.badge.danger{background:#f9e7e1;color:#a65b45}.badge.good{background:#e5eee2;color:#477553}.notice{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #e6d9bb;border-radius:11px;background:#fff9ec;padding:14px 18px;margin-bottom:25px;font-size:12px;line-height:1.6;color:#866a37}.notice a{color:#655b38}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.stat{padding:20px 22px;background:#fff;border:1px solid #dfe5da;border-radius:12px}.stat-top{display:flex;justify-content:space-between;font-size:12px;color:#778876}.stat strong{display:block;font-size:32px;font-weight:650;letter-spacing:-1.4px;margin:15px 0 9px}.stat small{color:#8b9787;font-size:10px}.panel{background:#fff;border:1px solid #dee5d9;border-radius:12px;padding:23px;margin-bottom:22px;min-width:0}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:21px}.panel-heading h2{font-size:15px;margin:0;font-weight:650;letter-spacing:-.2px}.panel-heading p{font-size:11px;color:#859080;margin:6px 0 0}.text-button{background:none;border:0;color:#5b7759;font-size:11px;padding:4px}.two-col{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:22px}.pipeline{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.pipeline-step{padding:14px 10px;border-radius:8px;background:#f4f6ef;text-align:center;border:1px solid #e5eadd}.pipeline-step strong{display:block;font-size:21px;font-weight:600;margin:12px 0}.pipeline-step span{font-size:10px;color:#788574}.pipeline-step .step-label{font-size:11px;color:#465b46}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;color:#91a08a;font-size:9px;text-transform:uppercase;letter-spacing:1px;font-weight:600;padding:0 10px 14px;border-bottom:1px solid #e5e9df}td{padding:16px 10px;border-bottom:1px solid #edf0e8;vertical-align:middle}tbody tr:last-child td{border:0}.title-cell{max-width:280px}.title-cell strong{font-weight:600;line-height:1.6}.title-cell small{display:block;color:#95a08e;font-size:10px;margin-top:5px}.connection{display:flex;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid #edf0e8}.connection:last-child{border-bottom:0}.connection-icon{width:35px;height:35px;border:1px solid #e1e6da;background:#f6f8f2;border-radius:9px;display:grid;place-items:center;font:700 16px Georgia;color:#4f6c50}.connection .name{font-size:12px;font-weight:600}.connection .detail{font-size:10px;color:#94a08b;margin-top:5px}.connection .badge{margin-left:auto}.empty{text-align:center;padding:32px 14px;color:#8a9885;font-size:12px;line-height:1.8}.empty strong{display:block;color:#597151;font-size:14px;margin:5px}.tip{font-size:11px;color:#71826a;line-height:1.8;background:#f3f6ed;border:1px solid #e3e9d9;padding:15px;border-radius:9px}.item-list{display:grid;gap:12px}.item{border:1px solid #e1e7da;border-radius:10px;padding:18px}.item h3{margin:5px 0 10px;font-size:15px}.item p{font-size:12px;line-height:1.7;color:#7e8b75;white-space:pre-wrap;overflow-wrap:anywhere}.row-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.row-actions button{font-size:11px;padding:7px 10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.checkbox{display:flex;align-items:center;gap:10px;margin:16px 0;font-size:12px}dialog{border:1px solid #dce4d5;border-radius:15px;padding:28px;width:min(640px,95vw);max-height:90vh;overflow:auto;color:#274634}dialog::backdrop{background:#142c2866;backdrop-filter:blur(2px)}dialog h2{font-size:21px;margin:0 0 18px}.modal-head{display:flex;justify-content:space-between;gap:15px}.close{background:#f3f5ef;border:0;border-radius:6px;font-size:19px;width:30px;height:30px}.preview{width:100%;height:60vh;border:1px solid #dfe5d9;border-radius:8px}.hash{font:10px/1.8 monospace;overflow-wrap:anywhere;color:#8e9c86}.metrics-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.workspace-card{padding:25px;border:1px solid #dfe5da;border-radius:12px;background:#fff}.workspace-card h3{font-size:19px;margin:10px 0}.workspace-card p{font-size:12px;color:#82917a;overflow-wrap:anywhere}.mobile-menu{display:none}#toast{position:fixed;right:25px;bottom:25px;background:#1d4b3d;color:#fff;padding:13px 20px;border-radius:9px;box-shadow:0 6px 30px #17352822;font-size:13px;max-width:420px;display:none;z-index:20}#toast.visible{display:block}.muted-link{color:#66805f;text-decoration:none;font-size:12px}.footer-note{font-size:10px;color:#98a38f;line-height:1.8;margin-top:24px}.workspace-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.inline-label{font-size:11px;color:#839279}.content-search{display:flex;gap:10px;margin-bottom:20px}.content-search input{border:1px solid #dce4d5;padding:10px 13px;border-radius:8px;flex:1}.alert-card{padding:14px 0;border-bottom:1px solid #edf0e8;font-size:12px;line-height:1.6}.alert-card small{color:#95a08a}.alert-card strong{display:block;color:#526d4d;margin-bottom:5px}.chips{display:flex;gap:7px;flex-wrap:wrap}.radio-muted{font-size:11px;color:#8b9781}.login-logo{font-size:29px;color:#204e3e}.login-sub{font-size:13px;line-height:1.8;color:#7f9079}.form-note{font-size:11px;line-height:1.7;color:#8c9985}a{color:#467451}pre{overflow:auto}button.small{font-size:11px;padding:7px 10px}.section-title{margin:30px 0 15px;font-size:16px}.inline-error{background:#fff0e9;color:#a05b40;padding:10px 15px;border-radius:8px;font-size:12px}.badge.demo{background:#ebeafa;color:#6d69a0}.pipeline-label{display:flex;align-items:center;gap:6px}.separator{height:1px;background:#e3e8dd;margin:25px 0}@media(min-width:1600px){.content{padding-top:42px}}@media(max-width:1100px){.workspace-grid{grid-template-columns:repeat(2,1fr)}.two-col{grid-template-columns:1fr}.topbar{padding:0 25px}.content{padding:28px 25px}.stats{gap:10px}.stat{padding:16px}}@media(max-width:760px){.shell{grid-template-columns:1fr}.sidebar{transform:translateX(-100%);z-index:8;transition:transform .2s}.sidebar.open{transform:translateX(0)}.main{grid-column:1}.mobile-menu{display:block;background:none;border:0;color:#365d44;font-size:23px}.topbar{height:66px;padding:0 17px}.content{padding:22px 17px}.topbar .search{display:none}.page-heading{align-items:flex-start;gap:12px}.page-heading h1{font-size:25px}.page-heading .primary{font-size:12px;padding:10px 12px}.stats{grid-template-columns:repeat(2,1fr)}.stat strong{font-size:29px}.pipeline{grid-template-columns:repeat(5,minmax(60px,1fr));overflow:auto}.pipeline-step{padding:12px 5px}.panel{padding:18px}.notice{font-size:11px}.workspace-grid,.metrics-grid,.form-grid{grid-template-columns:1fr}.auth{margin:5vh 17px;padding:25px}.crumb{font-size:11px}.top-actions{gap:9px}.page-heading p{font-size:12px}th,td{padding-left:5px;padding-right:8px}.pipeline-step .step-label{font-size:9px}.workspace-card{padding:20px}dialog{padding:20px}#toast{right:15px;left:15px;max-width:unset}}
.two-col > div,.panel{min-width:0}@media(max-width:760px){.page-heading{flex-wrap:wrap}.connection{flex-wrap:wrap}.panel-heading{gap:10px;flex-wrap:wrap}.crumb{overflow-wrap:anywhere}}
.video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:22px}.video-card{display:flex;gap:20px;align-items:flex-start;margin:0}.video-thumbnail{position:relative;width:145px;flex-shrink:0;aspect-ratio:9/16;background:#153a32;border-radius:10px;overflow:hidden}.video-thumbnail img{width:100%;height:100%;object-fit:cover}.video-format{position:absolute;bottom:9px;left:7px;right:7px;font-size:8px;text-align:center;background:#163b33cc;color:#fff;padding:5px;border-radius:5px}.video-placeholder{display:grid;place-content:center;text-align:center;color:#c6c99a;height:100%;padding:12px;gap:15px;font-size:10px;line-height:1.6}.video-placeholder .nav-icon{justify-self:center}.video-details{min-width:0}.video-details h3{margin:14px 0;font-size:18px;overflow-wrap:anywhere}.video-details p{font-size:12px;color:#7c8b79;line-height:1.7}.video-policy{margin:18px 0}.download-link{text-decoration:none;display:inline-flex;align-items:center}.video-skills{margin-top:24px}.video-player{display:block;width:min(100%,370px);max-height:65vh;margin:0 auto;border-radius:12px;background:#153a32;aspect-ratio:9/16}.script-scene{border-bottom:1px solid #e3e8dd;padding:20px 0}.script-scene p{line-height:1.8}.script-scene .hash{overflow-wrap:anywhere}@media(max-width:1150px){.video-grid{grid-template-columns:1fr}}@media(max-width:760px){.video-thumbnail{width:112px}.video-card{gap:14px}.video-details h3{font-size:16px}.sidebar{overflow-y:auto}.sidebar-bottom{margin-top:18px}}@media(max-width:420px){.video-card{flex-direction:column}.video-thumbnail{width:100%;max-height:230px;aspect-ratio:auto}.video-thumbnail img{object-fit:cover;object-position:center 35%}.video-placeholder{min-height:180px}}

/* ContentOps design system: shared application surfaces and controls. */
:root {
  --ink: #172b35;
  --ink-muted: #506571;
  --surface: #ffffff;
  --canvas: #f2f5f4;
  --line: #d7e2df;
  --nav: #102f32;
  --teal: #087c72;
  --teal-dark: #075e57;
  --orange: #b84b19;
  --focus: #c15b20;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Segoe UI", Inter, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
body { background: var(--canvas); }
button, input, textarea, select { color: inherit; }
button, a, input, select, textarea { transition: border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.primary, .secondary, button.small { min-height: 44px; font-size: 14px; font-weight: 650; }
.primary { background: var(--teal-dark); border: 1px solid var(--teal-dark); border-radius: 10px; padding: 10px 18px; }
.primary:hover:not(:disabled) { background: #044c46; border-color: #044c46; }
.secondary { color: var(--teal-dark); border: 1px solid #a5beb8; border-radius: 10px; padding: 10px 16px; }
.secondary:hover:not(:disabled) { background: #eaf5f2; border-color: var(--teal); }
.text-button { min-height: 44px; padding: 8px; color: var(--teal-dark); font-size: 13px; font-weight: 650; }
.text-button:hover { text-decoration: underline; }
a { color: #075e57; }
.shell { grid-template-columns: 260px minmax(0,1fr); }
.sidebar { width: 260px; background: var(--nav); padding: 30px 18px 22px; overflow-y: auto; }
.sidebar .brand { color: #fff; font-size: 27px; letter-spacing: -1px; }
.brand em { color: #82d5c5; }
.brand-sub { color: #b1c8c2; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; padding-bottom: 28px; }
.sidebar .inline-label { color: #b8d0ca; font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.workspace-select { min-height: 46px; margin-top: 8px; background: #20494a; border-color: #547773; color: #fff; }
nav { gap: 4px; }
nav button { min-height: 44px; color: #d0e1dc; font-size: 14px; font-weight: 550; }
nav button:hover { background: #244e4c; color: #fff; }
nav button.active { color: #fff; background: #176b63; box-shadow: inset 3px 0 #a5e9d8; }
.sidebar-bottom { color: #c1d5cd; border-color: #42615c; line-height: 1.6; }
.main { min-width: 0; }
.topbar { min-height: 76px; height: auto; background: #fff; border-color: var(--line); padding: 16px 40px; }
.crumb { color: var(--ink-muted); font-size: 13px; }
.crumb b { color: var(--ink); font-weight: 650; }
.search, .content-search input { min-height: 44px; color: var(--ink); border: 1px solid #b9ccc6; border-radius: 10px; font-size: 14px; }
.avatar { width: 40px; height: 40px; color: #075e57; background: #d9f0e9; }
.content { padding: 40px 40px 64px; max-width: 1560px; }
.eyebrow { color: #087068; font-size: 11px; letter-spacing: .13em; }
.page-heading { align-items: flex-end; margin-bottom: 28px; }
.page-heading h1 { color: #142e35; font-size: clamp(28px, 2.4vw, 38px); letter-spacing: -.035em; margin: 7px 0 8px; }
.page-heading p { max-width: 68ch; color: var(--ink-muted); font-size: 14px; line-height: 1.6; }
.stats { gap: 16px; margin-bottom: 24px; }
.stat, .panel, .workspace-card, .item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.stat { position: relative; padding: 20px 22px; border-top: 3px solid #29998a; }
.stat-top { align-items: center; color: #455e65; font-size: 13px; font-weight: 650; }
.stat-top .nav-icon { color: var(--teal); }
.stat strong { color: #152f35; font-size: 34px; margin: 12px 0 5px; }
.stat small { color: var(--ink-muted); font-size: 12px; }
.panel { padding: 24px; margin-bottom: 20px; }
.panel-heading h2, .panel > h2 { color: #17333a; font-size: 17px; letter-spacing: -.015em; }
.panel-heading p { color: var(--ink-muted); font-size: 13px; }
.two-col { gap: 20px; }
.pipeline-step { background: #edf7f4; border-color: #d4e9e2; border-radius: 10px; }
.pipeline-step strong { color: #075e57; }
.pipeline-step span, .pipeline-step .step-label { color: #405e5c; font-size: 12px; }
.badge { max-width: 100%; white-space: normal; overflow-wrap: anywhere; background: #e7f1ef; color: #285e57; font-size: 12px; line-height: 1.35; padding: 5px 9px; }
.badge.warn { color: #76500a; background: #fff1ce; }
.badge.danger { color: #8d3028; background: #fbe9e5; }
.badge.good { color: #195b3c; background: #ddf3e4; }
.badge.demo { color: #514b87; background: #eeedfa; }
.notice { color: #704c14; background: #fff7e7; border-color: #eddbb6; font-size: 13px; }
.table-wrap { max-width: 100%; }
table { font-size: 13px; }
th { color: #50665f; font-size: 11px; border-color: var(--line); }
td { border-color: #e6eeeb; }
.title-cell small, .connection .detail, .alert-card small { color: #536a64; font-size: 12px; }
.connection .name { font-size: 14px; }
.connection-icon { color: #087068; background: #eaf5f1; border-color: #cfe4dc; }
.item { padding: 20px; }
.item h3 { color: #17333a; font-size: 16px; }
.item p, .video-details p, .workspace-card p { color: var(--ink-muted); font-size: 13px; }
.row-actions button { font-size: 13px; padding: 9px 13px; }
.empty { color: var(--ink-muted); font-size: 14px; }
.empty strong { color: #294c46; font-size: 15px; }
.empty .row-actions { justify-content: center; }
.tip { color: #385c55; background: #edf7f3; border-color: #d3e9df; font-size: 13px; }
.field { gap: 7px; color: #29443f; font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select { min-height: 44px; border-color: #aec5bd; color: var(--ink); font-weight: 400; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal); }
.checkbox, .form-note, .radio-muted, .inline-label { color: var(--ink-muted); font-size: 13px; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--teal-dark); }
.inline-error, .error { color: #963b2d; font-size: 13px; }
.hash, .footer-note { color: #566d63; font-size: 12px; }
dialog { color: var(--ink); border-color: #c7d9d2; border-radius: 16px; box-shadow: 0 20px 70px #0b292b38; }
dialog::backdrop { background: #102b30a8; }
.close { width: 44px; height: 44px; color: #294a44; background: #eaf3ef; }
.close:hover { background: #d9eae3; }
.auth { border-color: var(--line); border-radius: 18px; box-shadow: 0 18px 55px #133d3112; }
.auth h1 { color: #17333a; letter-spacing: -.035em; }
.login-logo { color: #163c39; }
.login-logo em { color: #087c72; }
.login-sub { color: var(--ink-muted); font-size: 14px; }
#toast { background: #123f39; line-height: 1.5; }
.video-format { font-size: 11px; }
@media (max-width: 1100px) {
  .content { padding: 32px 24px 56px; }
  .topbar { padding-inline: 24px; }
}
@media (max-width: 760px) {
  .shell { grid-template-columns: minmax(0,1fr); }
  .sidebar { width: min(300px, 85vw); }
  .topbar { min-height: 66px; padding: 10px 16px; }
  .mobile-menu { min-width: 44px; min-height: 44px; color: var(--teal-dark); }
  .content { padding: 26px 16px 48px; }
  .page-heading { align-items: flex-start; }
  .page-heading h1 { font-size: 28px; }
  .page-heading p { font-size: 14px; }
  .page-heading .primary { font-size: 14px; }
  .stat { padding: 16px; }
  .stat strong { font-size: 29px; }
  .panel { padding: 18px; }
  .pipeline { grid-template-columns: repeat(5, minmax(82px,1fr)); }
  .pipeline-step .step-label { font-size: 11px; }
  .notice { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
.sidebar .text-button, .sidebar .muted-link { color: #bde8dc; }
.sidebar .text-button:hover, .sidebar .muted-link:hover { color: #fff; }
