/* Phase 2: shared native materials. Business layout and data remain owned by each page. */
.chart-container{position:relative}.chart-tooltip{position:absolute;top:0;right:0;border:1px solid var(--native-line);background:var(--material-floating);border-radius:10px;padding:8px 12px;box-shadow:var(--native-shadow);font-size:12px;pointer-events:none;max-width:100%}
:root{--font-ui:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Microsoft YaHei",sans-serif;--font-display:var(--font-ui);--font-body:var(--font-ui);--page:#f5f6f8;--canvas:#eef0f3;--native-line:rgba(30,42,58,.10);--native-control:10px;--native-panel:18px;--native-sheet:22px;--native-fast:160ms;--material-sidebar:rgba(24,34,49,.94);--material-surface:rgba(255,255,255,.72);--material-floating:rgba(249,251,253,.94);--material-overlay:rgba(251,252,254,.98);--native-shadow:0 8px 28px rgba(20,30,45,.07)}
html.dark{--page:#1c2026;--canvas:#242930;--native-line:rgba(220,230,245,.12);--material-sidebar:rgba(18,24,34,.95);--material-surface:rgba(39,45,54,.84);--material-floating:rgba(42,48,58,.96);--material-overlay:rgba(34,40,49,.98)}
body,button,input,select,textarea,h1,h2,h3,h4,.brand{font-family:var(--font-ui)!important;letter-spacing:normal}
body{font-size:14px}h1,.page-heading h1,.ops-heading h1,.desk-heading h1{font-size:28px;font-weight:600!important;letter-spacing:-.5px}h2,.section-heading h2{font-size:17px;font-weight:600!important}small,.help,.subtle{font-size:12px}.page-heading p{font-size:14px}
.sidebar{background:var(--material-sidebar)!important;backdrop-filter:blur(24px) saturate(135%)!important;border-right:1px solid rgba(255,255,255,.09)!important;box-shadow:inset 0 1px rgba(255,255,255,.1)!important}.sidebar .nav-link{min-height:36px;border-radius:10px;font-size:13px;color:#b8c3d3;padding-top:8px;padding-bottom:8px}.sidebar .nav-link.active{background:rgba(221,232,246,.17)!important;color:#f3f6fc!important}.sidebar .nav-link:hover{background:rgba(221,232,246,.09)}.sidebar .nav-group,.sidebar .sidebar-foot{border-color:rgba(255,255,255,.12);border-top-style:solid}.seal{box-shadow:none!important}
.workspace-layout{grid-template-columns:minmax(0,1fr) 224px;max-width:1700px;margin:auto}.evidence-rail{background:var(--material-surface);padding:28px 20px;border-left:1px solid var(--native-line);backdrop-filter:none}.rail-section{background:none;box-shadow:none;border:0;border-bottom:1px solid var(--native-line);border-radius:0;padding:0 0 24px;margin:0 0 24px}.rail-section h2{font-size:13px}.rail-meta{font-size:12px;gap:12px}.rail-meta b{font-weight:500}.rail-note,.timeline{font-size:12px}.inspector-collapsed .workspace-layout{grid-template-columns:minmax(0,1fr)}.inspector-collapsed .evidence-rail{display:none}body[data-page=operations] #inspector-toggle,body[data-page=team] #inspector-toggle{display:none}
.button{border-radius:var(--native-control)!important;transition:background-color var(--native-fast),border-color var(--native-fast),opacity var(--native-fast);font-size:13px;box-shadow:0 1px 2px #17253a0b!important}.button.primary{box-shadow:inset 0 1px #ffffff26!important}.button:hover,.button.primary:hover,.metric:hover,.week-card:hover,a.shortcut:hover,.ops-stat:hover,.ops-station:hover{transform:none!important}.button:active{transform:scale(.985)!important}.button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
input:not([type=checkbox]):not([type=radio]),textarea,select{border-radius:var(--native-control);border:1px solid var(--native-line);background:var(--material-surface);font-size:14px}.form-section{border-radius:0;background:none;box-shadow:none;border:0;border-top:1px solid var(--native-line);padding:24px 0}.form-section::before,.ops-heading::before,.ops-heading::after,.ops-dialog::before{display:none!important}.ops-heading{background:none!important;padding:0!important}.empty,.ops-empty{background:none!important;border:0!important;box-shadow:none;min-height:210px}.empty::before,.ops-empty::before{display:none}.notice{border-radius:10px;box-shadow:none;background:var(--material-surface)}
.business-band{background:#202b3b!important;background-image:none!important;border:1px solid rgba(255,255,255,.10);border-radius:18px;box-shadow:inset 0 1px rgba(255,255,255,.12),0 8px 26px #18283c12!important}.business-band::before,.business-band::after{display:none!important}.business-band .band-figure strong{color:#f3f6fc!important;font-size:40px;font-weight:600;text-shadow:none!important}.band-stats b,.band-stats>div:nth-child(n) b{color:#d4dce7;font-size:21px;font-weight:500}.band-strip,.band-trend{color:#aebdce}.band-figure small{color:#b8c7d9}.band-stats>div{border-color:#ffffff18}
.shortcut-strip{gap:8px;background:none;border:0;box-shadow:none}.shortcut:nth-child(n){background:transparent!important;border:1px solid transparent!important;box-shadow:none!important;border-radius:12px;padding:16px 12px}.shortcut:hover{background:var(--material-surface)!important;border-color:var(--native-line)!important}.shortcut-icon{background:none!important;color:var(--accent);box-shadow:none;border-radius:10px}.shortcut strong{font-size:14px;font-weight:500}.shortcut small{font-size:12px}.week-card{background:none;box-shadow:none;border-radius:0;border:0;border-top:1px solid var(--native-line)}
.ops-conveyor,html.dark .ops-conveyor{background:var(--material-surface);border:1px solid var(--native-line);border-radius:14px;box-shadow:none;padding:12px 16px;margin-bottom:20px;color:var(--ink)}.ops-conveyor::after{display:none}.ops-station{padding:10px 5px;min-height:76px;border:0;border-radius:10px;color:var(--ink-2);gap:5px;transition:background-color var(--native-fast)}.ops-station.active{background:var(--hover);box-shadow:none;color:var(--ink)}.ops-station strong{font-size:13px;font-weight:500}.ops-station-count,.ops-station.loaded .ops-station-count{color:var(--ink-2);font-size:12px}.ops-station-lamp,.ops-station.loaded .ops-station-lamp{width:7px;height:7px;background:var(--line-strong);box-shadow:none;animation:none}.ops-station.active .ops-station-lamp{background:var(--accent)}.ops-belt,.ops-belt.busy{height:1px;background:var(--line-strong);background-image:none;animation:none}
.ops-summary{gap:0;border-block:1px solid var(--native-line);padding:12px 0}.ops-stat:nth-child(n){background:none;border:0;border-right:1px solid var(--native-line);border-radius:0;padding:10px 18px;color:var(--ink-2)}.ops-stat:last-child{border-right:0}.ops-stat.selected{background:var(--hover)}.ops-stat strong{font-size:28px;font-weight:600;color:var(--ink)}.ops-stat.pending_review strong{color:var(--ops-coral)}.ops-stat small{font-size:11px}.ops-stat span{font-weight:500}.ops-board{border-radius:16px;box-shadow:none}.ops-board h2,.ops-aside h2{font-weight:600}.ops-table{font-size:13px}.ops-table th,.ops-table td small{font-size:11px}.ops-order-title{font-size:13px}.ops-alert-panel,.ops-flow,html.dark .ops-flow{background:none;border:0;border-radius:0;box-shadow:none;padding:8px 0 22px;border-bottom:1px solid var(--native-line);color:var(--ink)}.ops-alert-clear{background:none;border-radius:0;padding:16px 0}.ops-alert,.ops-alert.high{background:none;border-radius:0;border-left-width:2px}.ops-flow h2,.ops-flow strong{color:var(--ink)}.ops-flow small,.ops-flow>p{color:var(--ink-2)}.ops-flow>div>b{border-radius:50%;color:var(--ink-2);border-color:var(--native-line)}
.ops-dialog{padding:0!important;width:min(780px,calc(100vw - 32px));max-height:88dvh;overflow:hidden;border-radius:var(--native-sheet)!important;background:var(--material-overlay);border:1px solid var(--native-line);box-shadow:0 22px 70px #101b3033}.ops-dialog[open]{display:flex;flex-direction:column}.ops-dialog::backdrop{background:rgba(24,32,44,.28);backdrop-filter:blur(5px)}.ops-dialog-head{padding:22px 26px 18px;margin:0;border-bottom:1px solid var(--native-line);flex-shrink:0}.ops-dialog-head h2{font-size:20px;font-weight:600}.ops-dialog-body{padding:4px 26px 24px;overflow:auto;overscroll-behavior:contain;min-height:0}.ops-dialog-footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 26px;border-top:1px solid var(--native-line);flex-shrink:0}.ops-detail-meta{background:none;border-bottom:1px solid var(--native-line);padding:20px 0;border-radius:0}.ops-upload,.attachment-picker{padding:18px;border:1px dashed var(--line-strong);border-radius:12px;background:var(--material-surface);display:flex;align-items:center;flex-wrap:wrap;gap:12px}.attachment-picker .attachment-name{flex:1;min-width:130px;overflow-wrap:anywhere;font-size:13px}.attachment-picker.drag{border-color:var(--accent)}input[type=file]::file-selector-button{font:inherit;color:var(--accent);border:1px solid var(--native-line);border-radius:9px;background:var(--surface);padding:8px 12px;margin-right:12px;cursor:pointer}
.memory-timeline{margin:22px 0;padding-left:12px}.memory-entry{position:relative;border-left:1px solid var(--native-line);padding:0 0 24px 24px}.memory-entry::before{content:'';position:absolute;left:-4px;top:7px;width:7px;height:7px;border-radius:50%;background:var(--accent)}.memory-entry h3{font-size:15px;font-weight:500;margin:0 0 8px}.memory-entry p{font-size:13px;color:var(--ink-2);margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}.memory-entry details{font-size:12px}.metric-strip{gap:0;background:none;border-block:1px solid var(--native-line);padding:14px 0}.metric{background:none!important;box-shadow:none!important;border:0;border-right:1px solid var(--native-line);border-radius:0;padding:10px 20px}.metric:last-child{border-right:0}.metric>strong,html.dark .metric>strong{font-size:30px;font-weight:600;background:none;color:var(--ink);-webkit-text-fill-color:var(--ink)}.chart{box-shadow:none;background:none}.chart text{font:11px var(--font-ui)}
.avatar-stage-new{background:none;border:0;box-shadow:none;border-radius:0;min-height:300px}.avatar-stage-new::before,.avatar-stage-new::after,.av-bubbles{display:none!important}body[data-page=avatar] .form-section{max-width:760px;margin:auto}.float-fish-launcher{width:50px;height:50px;border-radius:50%;background:var(--material-floating);border:1px solid var(--native-line);box-shadow:var(--native-shadow)!important}.float-fish-launcher:hover{transform:none}.float-fish-launcher .avatar-fish.mini{animation:none}.float-panel{background:var(--material-floating);border:1px solid var(--native-line);border-radius:20px;box-shadow:var(--native-shadow);width:min(320px,calc(100vw - 32px));padding:18px;backdrop-filter:blur(16px)}.float-panel[hidden]{display:none!important}#xiaoyu-float{bottom:24px;right:24px;z-index:40}.assistant-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.assistant-head strong{font-size:14px;font-weight:600}.extension-card{padding:24px 0}.extension-run{max-width:760px}.extension-card pre{max-height:280px;overflow:auto}.checkbox-line{display:flex;align-items:center;gap:10px;margin:12px 0}.plugin-widget{border-top:1px solid var(--native-line);padding:20px 0}.plugin-widget textarea{width:100%;min-height:100px}.plugin-widget .actions{margin-top:12px}
.workspace-layout{width:100%;min-width:0}.business-band .band-figure strong{-webkit-text-fill-color:#f3f6fc!important}.desk-heading{background:none!important;background-image:none!important}.desk-heading::before,.desk-heading::after{display:none!important}.ops-belt.busy{box-shadow:none}.ops-belt{margin-bottom:24px}.metric-strip{box-shadow:none!important;border-radius:0!important}.actions>.badge{max-width:100%;white-space:normal;overflow-wrap:anywhere}.chart-container,.chart-wrap{min-width:0;max-width:100%}
@media(max-width:1100px){.workspace-layout{display:block}.evidence-rail,#inspector-toggle{display:none}.ops-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){h1,.page-heading h1,.ops-heading h1{font-size:25px}.ops-stat:nth-child(n){padding:10px 5px}.ops-station strong{font-size:11px}.ops-conveyor{padding:8px 4px}.ops-station{min-height:68px}.ops-belt{min-width:8px}.ops-dialog-body{padding:4px 18px 18px}.ops-dialog-head{padding:18px}.ops-dialog-footer{padding:12px 18px}.metric{padding:12px 8px}.metric>strong{font-size:23px}.band-stats b{font-size:17px}.topbar .breadcrumb{display:none}.topbar-meta{width:100%;justify-content:flex-end}.float-panel{max-height:60dvh;overflow:auto}#xiaoyu-float{right:16px;bottom:16px}.sidebar{backdrop-filter:none!important}.ops-summary strong{font-size:23px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
