:root {
  color-scheme: light;
  --ink: #182138;
  --muted: #65738a;
  --line: #e4e9f2;
  --bg: #f5f7fc;
  --primary: #5544df;
  --light-primary: #eeebff;
  --paper: #fff;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  font-size: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { border: 1px solid var(--line); }
button { background: #fff; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(25px, 2.3vw, 33px); letter-spacing: -.055em; line-height: 1.25; }
h2 { font-size: 16px; line-height: 1.4; }
h3 { font-size: 15px; }
small { color: var(--muted); font-size: 12px; }
svg { flex: none; display: inline-block; vertical-align: middle; }
.shell { display: grid; grid-template-columns: 218px minmax(0, 1fr); min-height: 100vh; }
.rail { background: var(--paper); border-right: 1px solid var(--line); position: sticky; top: 0; align-self: start; height: 100vh; display: flex; flex-direction: column; padding: 23px 15px 18px; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 5px; }
.brand-logo { width: 40px; height: 40px; border-radius: 12px; color: #fff; background: linear-gradient(150deg,#7a66fc,#5240db 75%); display: grid; place-items: center; box-shadow: 0 4px 10px #5544df35; }
.brand strong { display: block; font-size: 21px; line-height: 1.1; letter-spacing: -.065em; }
.rail .brand strong { font-size: 15px; letter-spacing: -.03em; white-space: nowrap; }
.brand small { display: block; margin-top: 5px; font-size: 10.5px; letter-spacing: .025em; }
.workspace { margin-top: 30px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: flex; gap: 10px; align-items: center; background: #f9faff; }
.workspace-icon, .avatar { display: grid; flex: none; place-items: center; border-radius: 9px; width: 31px; height: 31px; background: #eae5ff; color: #5945d9; font-weight: 750; }
.workspace strong { display: block; font-size: 12px; }
.workspace small { display: block; margin-top: 4px; font-size: 10px; }
.nav-label { margin: 24px 10px 9px; font-size: 11px; color: #708098; font-weight: 650; }
.manage-label { margin-top: 20px; }
.nav-item { display: flex; align-items: center; gap: 12px; min-height: 42px; border-radius: 8px; margin: 3px 0; padding: 0 10px; color: #516078; font-size: 13px; }
.nav-item:hover { background: #f5f5fb; color: var(--ink); }
.nav-item.selected { color: #4a36ce; background: var(--light-primary); font-weight: 700; }
.storage { margin-top: auto; width: 100%; border-radius: 10px; padding: 11px 10px; text-align: left; background: #f8f9ff; }
.storage > div:first-child { display: flex; align-items: center; gap: 7px; color: #58677d; font-size: 12px; }
.storage > div:first-child > svg:last-child { margin-left: auto; }
.storage .track { margin: 9px 0 5px; }
.storage small { font-size: 11px; }
.track { height: 6px; background: #e8ecf5; border-radius: 99px; overflow: hidden; }
.track i { display: block; height: 100%; background: #7764ee; border-radius: inherit; }
.main { min-width: 0; }
.topbar { min-height: 65px; background: #fff; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 27px; }
.breadcrumb { display: flex; align-items: center; gap: 9px; color: #65738a; white-space: nowrap; font-size: 12px; }
.breadcrumb strong { color: var(--ink); font-weight: 650; }
.top-actions, .row { display: flex; align-items: center; gap: 10px; }
.top-actions { gap: 13px; }
.global-search, .search, .sort { display: flex; align-items: center; gap: 8px; min-height: 36px; border: 1px solid var(--line); border-radius: 8px; color: #64728a; padding: 0 10px; background: #fff; }
.global-search { width: 250px; background: #f8f9fd; }
.global-search input, .search input, .sort select { border: 0; background: transparent; min-width: 0; flex: 1; font-size: 12px; width: 100%; padding: 7px 0; }
.global-search kbd { border: 1px solid #e5e8f1; background: #fff; color: #68788f; border-radius: 4px; font-size: 11px; padding: 1px 4px; white-space: nowrap; }
.connection { white-space: nowrap; color: #59677e; font-size: 12px; display: flex; align-items: center; gap: 6px; }
.connection > span { width: 7px; height: 7px; border-radius: 50%; background: #d68c24; }
.top-divider { width: 1px; height: 24px; background: var(--line); }
.profile { display: flex; align-items: center; gap: 7px; padding: 0; border: 0; white-space: nowrap; font-size: 12px; font-weight: 650; }
.profile .avatar { border-radius: 50%; }
#main-content { padding: 26px 27px 36px; max-width: 1700px; margin: auto; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.page-head p { color: var(--muted); margin-top: 7px; font-size: 13px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px; white-space: nowrap; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #3b4860; font-size: 12px; font-weight: 650; }
.btn:hover { border-color: #beb5f6; color: #4633c6; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 3px 7px #5544df26; }
.btn.primary:hover { background: #4433c9; }
.btn.text { padding: 0; color: #5141d6; min-height: 29px; border-color: transparent; }
.icon-btn { border: 0; background: transparent; border-radius: 7px; color: #62718a; width: 32px; height: 32px; display: inline-grid; place-items: center; padding: 0; flex: none; }
.icon-btn:hover, .icon-btn[aria-pressed="true"] { background: var(--light-primary); color: var(--primary); }
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 6px; padding: 4px 7px; font-size: 11px; font-weight: 650; line-height: 1.1; white-space: nowrap; }
.badge.neutral { background: #eef1f7; color: #596980; }
.badge.violet { background: #ede9ff; color: #5843cf; }
.badge.amber { background: #fff2dc; color: #98601a; }
.badge.green { background: #e3f7ef; color: #197859; }
.badge.red { background: #fbe9ec; color: #a63b51; }
.delivery-badge { border: 0; gap: 4px; }
.delivery-badge:hover { filter: brightness(.95); }
.badge.green::before, .badge.amber::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 21px; }
.metric { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 15px 15px 14px; box-shadow: 0 1px 2px #2c376604; }
.metric-top { display: flex; align-items: center; gap: 9px; color: #52617a; font-weight: 650; font-size: 12px; }
.metric-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; flex: none; }
.metric-icon.indigo { background: #ede9ff; color: #6250df; }
.metric-icon.sky { background: #e8f3ff; color: #2871c7; }
.metric-icon.mint { background: #e4f7ef; color: #1b8a65; }
.metric-icon.peach { background: #fff0e5; color: #bb642a; }
.metric > strong { display: block; font-size: 25px; line-height: 1; letter-spacing: -.055em; margin: 11px 0 7px; font-variant-numeric: tabular-nums; }
.metric small { font-size: 11px; }
.library { border: 1px solid var(--line); border-radius: 14px; background: #fff; display: grid; grid-template-columns: 177px minmax(0, 1fr); overflow: clip; }
.folder-rail { background: #fafbfe; border-right: 1px solid var(--line); padding: 13px 9px; }
.folder-title { display: flex; align-items: center; justify-content: space-between; padding: 0 3px 9px 7px; }
.folder-title strong { font-size: 12px; }
.folder-title .icon-btn { width: 25px; height: 25px; }
.folder { display: flex; align-items: center; gap: 8px; border: 0; width: 100%; text-align: left; padding: 0 8px 0 calc(8px + var(--depth, 0) * 8px); height: 36px; border-radius: 7px; background: transparent; color: #56677e; font-size: 12px; }
.folder > span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.folder small { font-size: 11px; }
.folder:hover, .folder.active { background: #eeebff; color: #5641d7; font-weight: 650; }
.folder-section { border-top: 1px solid var(--line); margin: 16px 5px 5px; padding: 13px 2px 2px; font-size: 11px; font-weight: 650; color: #6a7890; }
.asset-content { min-width: 0; padding: 0 17px 17px; }
.asset-top { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.tabs { display: flex; align-items: center; gap: 22px; min-height: 51px; }
.tabs button { align-self: stretch; color: #586780; border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 1px 0 0; font-size: 12px; white-space: nowrap; }
.tabs button:hover, .tabs button.active { color: #5441d4; }
.tabs button.active { font-weight: 750; border-bottom-color: #6250e5; }
.view-switch { display: flex; border: 1px solid var(--line); border-radius: 8px; padding: 2px; gap: 2px; }
.view-switch .icon-btn { width: 26px; height: 24px; border-radius: 5px; }
.asset-toolbar { display: flex; gap: 8px; align-items: center; margin: 13px 0 11px; }
.search { flex: 1; max-width: 425px; }
.sort { margin-left: auto; }
.delivery-filter { margin-left: 0; }
.sort select { cursor: pointer; }
.results-head { display: flex; justify-content: space-between; align-items: center; min-height: 21px; color: #65738a; font-size: 11px; margin-bottom: 8px; }
.results-head strong { color: var(--ink); }
.asset-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.asset-card { border: 1px solid var(--line); border-radius: 11px; overflow: clip; background: #fff; transition: border-color .16s, box-shadow .16s; }
.asset-card:hover { border-color: #c8bff8; box-shadow: 0 6px 20px #29236512; }
.cover-button { display: block; padding: 0; width: 100%; border: 0; text-align: left; }
.cover { aspect-ratio: 1.6; display: block; position: relative; background-color: #d7d3fa; background-size: cover; background-position: center; }
.cover.demo-cover { background-image: url('/assets/demo-covers.png'); background-size: 300% 200%; background-position: var(--tile-x) var(--tile-y); }
.cover-type, .duration { position: absolute; color: white; border-radius: 5px; font-size: 10px; background: #101928c9; padding: 4px 6px; }
.cover-type { top: 9px; left: 9px; }
.duration { bottom: 8px; right: 8px; font-variant-numeric: tabular-nums; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: #fff; width: 34px; height: 34px; display: grid; place-items: center; background: #14203980; border: 1px solid #ffffff70; border-radius: 50%; backdrop-filter: blur(3px); }
.cover-button:hover .play { background: #5140d9; }
.asset-body { padding: 8px 10px 10px; }
.asset-name, .asset-meta { display: flex; align-items: center; justify-content: space-between; gap: 3px; }
.asset-name > button:first-child { font-size: 13px; font-weight: 750; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 0; background: transparent; padding: 0; }
.asset-name > .icon-btn { width: 25px; height: 26px; }
.asset-meta { min-height: 22px; color: #64738a; font-size: 11px; }
.asset-health { display: flex; gap: 5px; margin-top: 4px; }
.tags { display: flex; gap: 5px; flex-wrap: wrap; margin: 8px 0; }
.tag { background: #f0f3f8; border: 0; border-radius: 4px; color: #53617a; padding: 3px 5px; font-size: 10px; min-height: unset; }
.tag.personal { background: #ece8ff; color: #5943ce; }
.class-path { display: block; border: 0; padding: 0; margin: 3px 0 9px; color: #5846d9; font-size: 10px; background: transparent; text-align: left; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.class-details { font-size: 11px; margin: 6px 0 10px; }
.class-details > div { display: flex; gap: 4px; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 5px 0; }
.class-details dt { color: var(--muted); white-space: nowrap; }
.class-details dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.asset-stat { display: grid; grid-template-columns: 1.3fr 1fr .65fr; padding-top: 8px; border-top: 1px solid #eef1f6; }
.asset-stat small, .asset-stat strong { display: block; font-variant-numeric: tabular-nums; }
.asset-stat small { font-size: 10px; }
.asset-stat strong { margin-top: 4px; font-size: 13px; letter-spacing: -.025em; }
.good { color: #16825c; }
.table-scroll { overflow: auto; }
table { border-collapse: collapse; width: 100%; font-size: 12px; }
th, td { text-align: left; border-bottom: 1px solid var(--line); padding: 11px 9px; }
th { color: #566781; white-space: nowrap; background: #f8f9fd; }
tr:last-child td { border-bottom: 0; }
.table-asset { display: flex; gap: 9px; align-items: center; border: 0; padding: 0; text-align: left; font-weight: 700; }
.table-asset small { display: block; margin-top: 3px; font-weight: 400; font-size: 10px; }
.small-cover { width: 54px; flex: none; border-radius: 5px; }
.empty { padding: 38px 12px; text-align: center; }
.empty > span { display: grid; place-items: center; width: 49px; height: 49px; margin: 0 auto 13px; border-radius: 13px; background: #eeebff; color: #6150d9; }
.empty p { color: var(--muted); margin: 7px 0 14px; font-size: 12px; }
.panel { min-width: 0; padding: 15px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 11px; }
.overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
.overview-line { width: 100%; padding: 10px 1px; display: flex; align-items: center; gap: 10px; text-align: left; border: 0; border-bottom: 1px solid var(--line); }
.overview-line:last-child { border-bottom: 0; }
.overview-line > span:not(.cover) { flex: 1; }
.overview-line small { display: block; margin-top: 4px; }
.overview-line:hover { color: var(--primary); }
.compact { padding: 7px 0; font-size: 12px; }
.connector { display: flex; align-items: center; gap: 10px; }
.connector div { flex: 1; }
.connector p, .muted { color: var(--muted); font-size: 12px; margin: 6px 0; }
.spaced { margin-top: 15px; }
.report-controls { margin-bottom: 14px; }
.report-filter-row { display: grid; grid-template-columns: repeat(auto-fit,minmax(116px,1fr)); gap: 8px; }
.report-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); }
.report-warning { color: #925c19; background: #fff3df; padding: 8px 11px; border-radius: 7px; font-size: 12px; margin-top: 9px; }
.report-metrics { margin-bottom: 14px; }
.report-charts { grid-template-columns: minmax(0,1.75fr) minmax(0,1fr); }
.spend-bars { display: grid; grid-template-columns: repeat(var(--bars),minmax(27px,1fr)); gap: 6px; overflow: auto; padding: 4px 0 1px; }
.spend-day { display: grid; grid-template-rows: 100px 17px; gap: 4px; text-align: center; }
.bar-area { display: flex; align-items: end; justify-content: center; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to top,transparent 0,transparent 24px,#f1f3f9 24px,#f1f3f9 25px); }
.bar-area i { display: block; width: min(70%,38px); background: linear-gradient(#8b7af6,#5948db); border-radius: 5px 5px 0 0; }
.bar-area i.missing { background: #d5dbe7; }
.spend-day small { font-size: 9px; white-space: nowrap; }
.target-value { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; padding: 9px 0 12px; }
.target-value strong { font-size: 24px; letter-spacing: -.04em; }
.target-value span { color: var(--muted); font-size: 13px; }
.efficiency { display: grid; grid-template-columns: repeat(auto-fit,minmax(105px,1fr)); gap: 8px; }
.efficiency > div { border: 1px solid var(--line); border-radius: 8px; background: #f9faff; padding: 8px; }
.efficiency strong { display: block; margin-top: 4px; }
.report-row-id { display: block; margin-top: 4px; }
.back { display: inline-flex; gap: 6px; align-items: center; color: #5846d9; font-size: 12px; margin-bottom: 12px; }
.detail-grid { display: grid; grid-template-columns: minmax(147px, .74fr) minmax(0, 2.2fr) minmax(220px, 1.1fr); gap: 13px; align-items: start; }
.version { display: flex; align-items: center; gap: 7px; border-radius: 8px; padding: 8px; width: 100%; text-align: left; margin: 8px 0; font-size: 12px; }
.version.active { background: #f1eeff; color: #4e39d1; border-color: #dcd5ff; }
.version small { display: block; margin-top: 4px; font-size: 10px; }
.detail-label { margin-top: 18px; }
video { display: block; width: 100%; background: #151625; border-radius: 8px; max-height: 470px; aspect-ratio: 4 / 3; }
.player-tools { display: flex; justify-content: space-between; align-items: center; margin: 9px 0 15px; color: var(--muted); font-size: 11px; }
.player-tools .btn { min-height: 29px; }
.player-tools select { border-radius: 6px; padding: 4px 5px; background: #fff; }
.segment { display: flex; align-items: center; text-align: left; gap: 8px; border: 0; border-bottom: 1px solid var(--line); padding: 9px 2px; width: 100%; font-size: 12px; }
.segment > span { color: #5341d3; font-size: 11px; white-space: nowrap; }
.segment > div { flex: 1; }
.segment small { display: block; margin-top: 3px; }
.segment:hover, .comment button:hover { color: var(--primary); }
.evidence-summary { background: #f6f4ff; border: 1px solid #e8e0ff; border-radius: 8px; padding: 9px; }
.evidence-summary p, .comment p { font-size: 12px; color: #53617a; line-height: 1.55; margin-top: 5px; overflow-wrap: anywhere; }
.funnel { margin-bottom: 10px; }
.funnel button { display: grid; width: 100%; align-items: center; grid-template-columns: 31px 1fr 30px; gap: 5px; border: 0; font-size: 11px; padding: 5px 0; text-align: left; }
.funnel button.flagged { color: #94601a; }
.funnel button.flagged i { background: #da972d; }
.evidence > .btn { margin-top: 8px; }
.comment { padding: 8px 0; border-top: 1px solid var(--line); font-size: 12px; }
.comment > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.comment > div button { color: var(--primary); border-radius: 5px; font-size: 11px; }
.kanban { display: grid; grid-template-columns: repeat(7,minmax(152px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 9px; }
.lane { padding: 10px; min-height: 320px; border: 1px solid var(--line); background: #eef1f8; border-radius: 10px; }
.lane-title { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.lane-title h2 { flex: 1; font-size: 12px; }
.lane-title span, .lane-empty { color: var(--muted); font-size: 11px; }
.lane-dot { width: 7px; height: 7px; border-radius: 50%; background: #8793b0; }
.tone-1, .tone-2 { background: #6c57e7; }
.tone-3 { background: #d18b25; }
.tone-4, .tone-5 { background: #369977; }
.task-card { border-radius: 8px; padding: 9px; width: 100%; text-align: left; margin-bottom: 7px; }
.task-card p { color: var(--muted); font-size: 11px; margin: 5px 0 8px; }
.task-card div { display: flex; justify-content: space-between; gap: 5px; color: #53617a; font-size: 10px; }
.admin-panel .tabs { padding: 0 8px; margin-top: -8px; margin-bottom: 10px; }
.startup { min-height: 100vh; display: grid; place-items: center; color: var(--muted); }
.auth { max-width: 428px; margin: min(13vh, 100px) auto; padding: 15px; }
.auth .brand { margin: 0 0 23px; }
.auth .panel { padding: 24px; }
.auth .panel > p { color: var(--muted); margin: 8px 0 16px; }
.auth form > a { margin-left: 12px; color: var(--primary); }
dialog { border: 1px solid var(--line); border-radius: 15px; padding: 0; width: min(94vw, 555px); color: var(--ink); box-shadow: 0 24px 90px #20204345; }
dialog:has(.compare), dialog:has(.table-scroll) { width: min(94vw, 710px); }
dialog::backdrop { background: #151c3869; backdrop-filter: blur(2px); }
dialog header, dialog footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 16px; }
dialog header { border-bottom: 1px solid var(--line); }
dialog footer { border-top: 1px solid var(--line); justify-content: flex-end; }
.modal-body { padding: 14px 16px; max-height: 70vh; overflow: auto; }
.modal-body > p { margin: 3px 0 10px; color: #4e5e78; }
.field { display: flex; flex-direction: column; gap: 5px; margin: 0 0 10px; color: #4b5971; font-size: 12px; font-weight: 650; }
.field input, .field select, .field textarea { width: 100%; min-height: 35px; background: white; padding: 7px 8px; border-radius: 7px; font-weight: 400; }
.form-error, .modal-body > .form-error { color: #b73744; margin: 5px 0; font-size: 12px; }
.form-error:empty { display: none; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.compare p, .upload-message p { color: var(--muted); font-size: 12px; margin: 4px 0; }
progress { width: 100%; accent-color: var(--primary); }
.preline { white-space: pre-line; margin-top: 10px !important; }
#toast { position: fixed; z-index: 5; right: 20px; bottom: 20px; display: none; border-radius: 8px; background: #232342; color: white; padding: 11px 15px; box-shadow: 0 4px 15px #20204335; }
#toast.visible { display: block; }
#toast.error { background: #9b2838; }
@media (min-width: 1550px) { .asset-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1110px) {
  .shell { grid-template-columns: 177px minmax(0, 1fr); }
  .rail { padding-inline: 10px; }
  #main-content, .topbar { padding-inline: 16px; }
  .library { grid-template-columns: 135px minmax(0, 1fr); }
  .asset-content { padding-inline: 12px; }
  .asset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: minmax(140px,.75fr) minmax(0, 2fr); }
  .evidence { grid-column: 2; }
}
@media (max-width: 760px) {
  .shell { grid-template-columns: 51px minmax(0, 1fr); }
  .rail { padding: 9px 5px; }
  .rail .brand { padding: 0; }
  .rail .brand > div, .workspace, .nav-item span, .nav-label, .storage { display: none; }
  .nav-item { justify-content: center; padding: 0; }
  .rail nav { margin-top: 15px; }
  .topbar { min-height: 49px; }
  .top-actions { gap: 5px; }
  .connection, .global-search, .top-divider, .profile > span:nth-child(2) { display: none; }
  #main-content { padding: 13px 9px; }
  .page-head { align-items: flex-start; flex-wrap: wrap; margin-bottom: 12px; }
  .metrics, .overview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .metric { padding: 9px; }
  .metric > strong { font-size: 19px; }
  .library { grid-template-columns: 1fr; }
  .folder-rail { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 4px; }
  .folder { width: auto; flex: none; padding-inline: 5px; }
  .folder-title strong, .folder-section, .folder small { display: none; }
  .folder-title { padding: 0; }
  .asset-content { padding-inline: 7px; }
  .tabs { gap: 9px; }
  .asset-toolbar { flex-wrap: wrap; }
  .search { min-width: 130px; }
  .asset-grid, .detail-grid { grid-template-columns: 1fr; }
  .report-charts { grid-template-columns: 1fr; }
  .evidence { grid-column: auto; }
}
