







/* SECTION: styles — 全局样式（茶绿专业管理后台） */







:root {







  --green: #1a7a4c; --green-dark: #14603c; --green-light: #e8f5ee;







  --ink: #1f2d27; --ink-2: #5a6b62; --ink-3: #93a29a;







  --bg: #f2f5f3; --card: #ffffff; --line: #e3e9e5;







  --amber: #b97d10; --amber-bg: #fdf3e0;







  --red: #c0392b; --red-bg: #fdecea;







  --blue: #2563a8; --blue-bg: #e8f0fa;







  --teal: #0e8a8a; --teal-bg: #e4f4f4;







  --purple: #7048b6; --purple-bg: #efe9fa;







  --radius: 10px;







}







* { margin: 0; padding: 0; box-sizing: border-box; }







body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; background: var(--bg); color: var(--ink); font-size: 14px; }















/* SECTION: layout — 布局框架 */







.layout { display: flex; min-height: 100vh; }







.sidebar { width: 216px; background: linear-gradient(180deg, #0f3d28 0%, #14563a 100%); color: #dcefe4; flex-shrink: 0; display: flex; flex-direction: column; }







.brand { padding: 20px 18px 16px; border-bottom: 1px solid rgba(255,255,255,.12); }







.brand-logo { height: 46px; margin-bottom: 8px; }







.brand-logo img { max-height: 46px; max-width: 170px; object-fit: contain; display: block; }







.brand-logo:empty { display: none; }







.brand-name { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: 1px; }







.brand-sub { font-size: 11px; color: #9fc7b3; margin-top: 4px; }







.nav { flex: 1; padding: 10px 8px; overflow-y: auto; }







.nav-group { font-size: 11px; color: #7fae97; padding: 12px 12px 6px; letter-spacing: 2px; }







.nav-item { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 8px; cursor: pointer; color: #cfe6da; margin-bottom: 2px; transition: background .15s; user-select: none; }







.nav-item:hover { background: rgba(255,255,255,.08); }







.nav-item.active { background: rgba(255,255,255,.16); color: #fff; font-weight: 600; }







.nav-ico { width: 20px; text-align: center; font-size: 15px; }







.side-foot { padding: 12px 16px; font-size: 11px; color: #7fae97; border-top: 1px solid rgba(255,255,255,.12); }















.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }







.topbar { background: var(--card); border-bottom: 1px solid var(--line); padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 20; }







.topbar h1 { font-size: 18px; font-weight: 700; }







.topbar .sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; }







.topbar-right { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--ink-2); }







.env-chip { background: var(--green-light); color: var(--green); padding: 4px 10px; border-radius: 20px; font-weight: 600; }















.content { padding: 20px 24px 40px; }















/* SECTION: kpi — 看板卡片 */







.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }







.kpi-grid.kpi-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }







.kpi { background: var(--card); border-radius: var(--radius); padding: 16px; display: flex; gap: 12px; border: 1px solid var(--line); }







.kpi-icon { font-size: 26px; line-height: 1.2; }







.kpi-body { min-width: 0; }







.kpi-v { font-size: 20px; font-weight: 700; white-space: nowrap; }







.kpi-t { font-size: 12px; color: var(--ink-2); margin-top: 2px; }







.kpi-sub { font-size: 11px; color: var(--ink-3); margin-top: 2px; }















/* SECTION: panel — 面板 */







.panel { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); padding: 16px 18px; }







.panel-t { font-size: 15px; font-weight: 700; margin-bottom: 10px; }







.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }







.panel-head .panel-t { margin-bottom: 0; }







.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }















/* SECTION: flow — 流程示意 */







.flow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 10px 0 4px; }







.flow-step { display: flex; align-items: center; gap: 7px; background: var(--green-light); color: var(--green-dark); padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 13px; }







.flow-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }







.flow-arrow { color: var(--ink-3); font-size: 14px; }















/* SECTION: bars — 柱状图 */







.bars { display: flex; align-items: flex-end; gap: 14px; height: 190px; padding: 10px 4px 0; }







.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }







.bar { width: 60%; max-width: 52px; background: linear-gradient(180deg, #3fa876, #1a7a4c); border-radius: 5px 5px 0 0; }







.bar-val { font-size: 11px; color: var(--ink-2); margin-bottom: 3px; }







.bar-label { font-size: 11px; color: var(--ink-3); margin-top: 5px; }















/* SECTION: todo — 待办 */







.todo-list { display: flex; flex-direction: column; gap: 9px; }







.todo-item { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: #f7faf8; border-radius: 8px; font-size: 13px; }







.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }







.dot-amber { background: #e0a020; } .dot-blue { background: var(--blue); }







.dot-purple { background: var(--purple); } .dot-green { background: var(--green); }







.link-btn { margin-left: auto; background: none; border: none; color: var(--green); cursor: pointer; font-size: 12px; }















/* SECTION: toolbar & table — 工具栏与表格 */







.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }







.toolbar-sum { font-size: 13px; color: var(--ink-2); margin-left: auto; }







.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }







.tbl { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }







.tbl th { background: #f5f8f6; color: var(--ink-2); font-weight: 600; text-align: left; padding: 10px 12px; white-space: nowrap; border-bottom: 1px solid var(--line); }







.tbl td { padding: 9px 12px; border-bottom: 1px solid #eef2ef; vertical-align: middle; }







.tbl tbody tr:hover { background: #f8fbf9; }







.tbl tbody tr:last-child td { border-bottom: none; }







.td-act { white-space: nowrap; }







.empty { text-align: center; color: var(--ink-3); padding: 34px 10px; font-size: 13px; }















/* SECTION: buttons & inputs */







.btn { display: inline-flex; align-items: center; gap: 5px; padding: 8px 16px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font-size: 13px; transition: all .15s; }







.btn:hover { border-color: var(--green); color: var(--green); }







.btn-primary { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }







.btn-primary:hover { background: var(--green-dark); color: #fff; }







.btn-danger { border-color: #e8b4ae; color: var(--red); }







.btn-danger:hover { border-color: var(--red); }







.btn-danger-outline { border-color: var(--red); color: var(--red); }







.btn-xs { padding: 4px 10px; font-size: 12px; border-radius: 6px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink-2); margin-right: 4px; }







.btn-xs:hover { border-color: var(--green); color: var(--green); }







.btn-xs.btn-primary { background: var(--green); border-color: var(--green); color: #fff; }







.btn-xs.btn-primary:hover { background: var(--green-dark); }







.btn-xs.btn-danger:hover { border-color: var(--red); color: var(--red); }







.btn:disabled, .btn-xs:disabled { opacity: .5; cursor: not-allowed; }







.ipt { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; background: #fff; color: var(--ink); font-family: inherit; }







.ipt:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 2px rgba(26,122,76,.12); }







.ipt[readonly] { background: #f5f8f6; color: var(--ink-2); }















/* SECTION: badge — 状态标签 */







.badge { display: inline-block; padding: 3px 9px; border-radius: 12px; font-size: 12px; white-space: nowrap; }







.tone-gray { background: #eef1ef; color: var(--ink-2); }







.tone-green { background: var(--green-light); color: var(--green); }







.tone-teal { background: var(--teal-bg); color: var(--teal); }







.tone-amber { background: var(--amber-bg); color: var(--amber); }







.tone-red { background: var(--red-bg); color: var(--red); }







.tone-blue { background: var(--blue-bg); color: var(--blue); }







.tone-purple { background: var(--purple-bg); color: var(--purple); }







.txt-ok { color: var(--green); } .txt-warn { color: var(--red); }







.hint { font-size: 12px; color: var(--ink-3); line-height: 1.7; }







.hint-inline { font-size: 12px; color: var(--ink-3); }















/* SECTION: modal — 弹窗 */







#modal-mask { position: fixed; inset: 0; background: rgba(15,35,25,.45); display: none; align-items: flex-start; justify-content: center; z-index: 100; padding: 40px 16px; overflow-y: auto; }







#modal-mask.show { display: flex; }







.modal { background: #fff; border-radius: 14px; width: 100%; max-width: 720px; box-shadow: 0 12px 40px rgba(0,0,0,.18); }







.modal-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }







#modal-title { font-size: 16px; font-weight: 700; }







.modal-close { background: none; border: none; font-size: 20px; color: var(--ink-3); cursor: pointer; }







.modal-body { padding: 18px 20px; max-height: 65vh; overflow-y: auto; }







.modal-foot { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; }















/* SECTION: form — 表单 */







.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }







.form-col { display: flex; flex-direction: column; gap: 12px; }







.fld { display: flex; flex-direction: column; gap: 5px; }







.fld > label { font-size: 12px; color: var(--ink-2); font-weight: 600; }







.fld .ipt { width: 100%; }







.pick-box { border: 1px solid var(--line); border-radius: 8px; padding: 10px; max-height: 220px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; background: #fafcfb; }







.pick-row, .pick-label { display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }







.blend-row { display: flex; align-items: center; gap: 10px; }







.blend-row .pick-label { flex: 1; }







.blend-row .ipt { width: 110px; }







.detail-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }







.detail-row { display: flex; justify-content: space-between; padding: 9px 14px; font-size: 13px; border-bottom: 1px solid #eef2ef; }







.detail-row:last-child { border-bottom: none; }







.detail-row span { color: var(--ink-2); }







.detail-sec { background: #f7faf8; border-radius: 8px; padding: 9px 14px; font-size: 13px; margin-top: 10px; color: var(--ink-2); }







.detail-sec b { color: var(--ink); }















/* SECTION: toast */







.toast { position: fixed; left: 50%; top: 22px; transform: translateX(-50%) translateY(-16px); background: #234435; color: #fff; padding: 10px 22px; border-radius: 8px; font-size: 13px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 200; max-width: 80vw; }







.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }







.toast-err { background: var(--red); }















/* SECTION: data-center — 数据中心 */







.dc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 14px; }







.dc-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }







.dc-card-t { font-size: 14px; font-weight: 700; margin-bottom: 10px; }







.dc-card-ops { display: flex; gap: 6px; flex-wrap: wrap; }







.steps { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }







.step { display: flex; gap: 10px; align-items: flex-start; flex: 1; min-width: 220px; background: #f7faf8; border-radius: 8px; padding: 12px 14px; }







.step-n { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }







.step-b { display: flex; flex-direction: column; gap: 3px; font-size: 13px; }







.step-b span { color: var(--ink-3); font-size: 12px; }







.tabs-mini { display: flex; gap: 8px; margin-bottom: 10px; }







.tab-mini { padding: 6px 14px; border-radius: 6px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 13px; color: var(--ink-2); }







.tab-mini.active { background: var(--green-light); border-color: var(--green); color: var(--green); font-weight: 600; }







.imp-summary { margin-top: 12px; font-size: 13px; padding: 9px 12px; background: #f7faf8; border-radius: 8px; }







.imp-err { color: var(--red); font-size: 12px; margin-top: 6px; line-height: 1.6; }







.imp-errbox { margin-top: 8px; border: 1px solid #f2c8c2; background: var(--red-bg); border-radius: 8px; padding: 10px 12px; }















/* SECTION: gantt — 甘特图 */







.g-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; font-size: 12px; color: var(--ink-2); }







.g-lg { display: inline-flex; align-items: center; gap: 6px; }







.g-lg i { display: inline-block; width: 16px; height: 10px; border-radius: 3px; }







.g-lg i.g-dot { width: 10px; height: 10px; border-radius: 50%; }







.g-lg i.g-today-line { width: 2px; height: 14px; border-radius: 0; background: var(--red); }







.g-panel { padding: 14px; overflow: hidden; }







.g-scroll { overflow-x: auto; }







.g-timeline { position: relative; }







.g-head { position: relative; height: 30px; border-bottom: 1px solid var(--line); }







.g-tick { position: absolute; top: 0; height: 100%; }







.g-tick-line { position: absolute; left: 0; top: 0; width: 1px; height: 12px; background: var(--line); }







.g-tick-line.g-major { height: 16px; background: var(--ink-3); }







.g-tick-label { position: absolute; top: 15px; left: -12px; font-size: 10px; color: var(--ink-3); white-space: nowrap; }







.g-body { position: relative; padding-top: 6px; }







.g-today-body { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(192,57,43,.35); pointer-events: none; }







.g-today { position: absolute; top: 0; height: 30px; }







.g-today-line { position: absolute; left: 0; top: 0; width: 2px; height: 16px; background: var(--red); }







.g-today-label { position: absolute; top: 15px; left: -12px; font-size: 10px; color: var(--red); font-weight: 700; }







.g-lane { margin-bottom: 4px; }







.g-lane-label { font-size: 13px; font-weight: 700; color: var(--ink); padding: 8px 0 4px; border-bottom: 1px dashed var(--line); }







.g-lane-rows { }







.g-row { display: flex; align-items: center; border-bottom: 1px solid #f0f3f1; }







.g-row-name { flex: 0 0 170px; padding: 8px 8px 8px 2px; font-size: 12px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; min-width: 170px; }







.g-row-track { position: relative; flex: 1; height: 34px; }







.g-bar { position: absolute; top: 7px; height: 20px; border-radius: 5px; display: flex; align-items: center; padding: 0 8px; overflow: hidden; white-space: nowrap; }







.g-bar-txt { font-size: 11px; color: #fff; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,.2); }







.g-bar-shade { background: linear-gradient(90deg, #2e8b57, #1a7a4c); }







.g-bar-active { background: linear-gradient(90deg, #4a9d6e, #2e7d52); }







.g-bar-done { background: #9fb8aa; }







.g-mark { position: absolute; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: #fff; border: 2px solid var(--green-dark); margin-left: -4px; }







.g-dot { position: absolute; top: 12px; width: 11px; height: 11px; border-radius: 50%; margin-left: -5px; cursor: default; }







.g-dot-fert { background: #3fa876; }







.g-dot-pest { background: #d08a2e; }







.g-dot-overdue { background: var(--red); box-shadow: 0 0 0 3px rgba(192,57,43,.2); }







.g-dot-today { background: var(--amber); box-shadow: 0 0 0 3px rgba(185,125,16,.25); }







.g-dot-done { background: #b6c4bd; }







/* 送样四段进度步骤（送样→下单→生产→发货） */







.sample-step { display: inline-block; padding: 2px 7px; border-radius: 10px; font-size: 11px; font-weight: 600; white-space: nowrap; }







.sample-step-arrow { margin: 0 2px; font-size: 11px; font-weight: 700; }







.dot-red { background: var(--red); }







@media (max-width: 960px) {







  .g-row-name { flex: 0 0 120px; min-width: 120px; }







}















/* SECTION: responsive */







@media (max-width: 960px) {







  .layout { flex-direction: column; }







  .sidebar { width: 100%; flex-direction: row; align-items: center; overflow-x: auto; }







  .brand { border-bottom: none; padding: 12px 14px; white-space: nowrap; }







  .brand-sub, .side-foot { display: none; }







  .nav { display: flex; padding: 8px; }







  .nav-group { display: none; }







  .nav-item { white-space: nowrap; padding: 8px 10px; }







  .grid-2 { grid-template-columns: 1fr; }







  .form-grid { grid-template-columns: 1fr; }







  .content { padding: 14px 12px 30px; }







  .topbar { padding: 12px 14px; }







}















/* SECTION: login — 在线模式登录页 */







#login-mask { position: fixed; inset: 0; background: linear-gradient(160deg, #0f3d28 0%, #1a6b45 100%); display: none; align-items: center; justify-content: center; z-index: 300; }







#login-mask.show { display: flex; }







.auth-card { background: #fff; border-radius: 16px; width: 400px; max-width: 92vw; padding: 30px 32px 26px; box-shadow: 0 16px 48px rgba(0,0,0,.25); }







.auth-brand { text-align: center; margin-bottom: 18px; }







.auth-brand h2 { font-size: 19px; color: var(--ink); }







.auth-brand p { font-size: 12px; color: var(--ink-3); margin-top: 4px; }







.auth-logo { height: 64px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }







.auth-logo img { max-height: 64px; max-width: 220px; object-fit: contain; }







/* v12：附件、金额屏蔽、只读角标 */







.att-wrap { min-height: 120px; }







.att-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }







.att-item { position: relative; border: 1px solid var(--line, #d8e6dd); border-radius: 8px; overflow: hidden; background: #f7faf8; }







.att-item img { width: 100%; height: 110px; object-fit: cover; cursor: zoom-in; display: block; }







.att-pdf { display: flex; align-items: center; justify-content: center; height: 110px; font-size: 13px; color: #366; text-decoration: none; }







.att-meta { padding: 6px 8px; font-size: 11px; color: #678; line-height: 1.5; }







.att-item .btn-xs { position: absolute; top: 6px; right: 6px; }







.money-mask { color: #b9c7bd; letter-spacing: 2px; }







.nav-ro { margin-left: auto; font-size: 11px; opacity: .65; }







.perm-matrix { width: 100%; border-collapse: collapse; font-size: 12.5px; }







.perm-matrix th, .perm-matrix td { border: 1px solid var(--line, #d8e6dd); padding: 5px 8px; text-align: center; }







.perm-matrix td:first-child { text-align: left; }







.perm-matrix select { font-size: 12px; padding: 2px 4px; }







.auth-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 16px; }







.auth-tab { flex: 1; text-align: center; padding: 9px 0; font-size: 14px; color: var(--ink-2); cursor: pointer; border-bottom: 2px solid transparent; }







.auth-tab.active { color: var(--green); font-weight: 700; border-bottom-color: var(--green); }







.auth-fld { margin-bottom: 12px; }







.auth-fld label { display: block; font-size: 12px; color: var(--ink-2); margin-bottom: 5px; font-weight: 600; }







.auth-fld .ipt { width: 100%; }







.auth-btn { width: 100%; padding: 10px 0; border: none; border-radius: 8px; background: var(--green); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; margin-top: 4px; }







.auth-btn:hover { background: var(--green-dark); }







.auth-hint { font-size: 12px; color: var(--ink-3); margin-top: 12px; line-height: 1.6; text-align: center; }







body.auth-mode .layout { visibility: hidden; }







/* v4 repair — 补齐原页面已引用但缺失的样式，保留茶绿配色 */







.sidebar { position: sticky; top: 0; height: 100vh; }







.nav .nav-item { width: 100%; border: 0; background: transparent; font-family: inherit; font-size: 14px; text-align: left; }







.nav .nav-item:hover { background: rgba(255,255,255,.08); }







.nav .nav-item.active { background: rgba(255,255,255,.16); }







.nav-item:focus-visible, .btn:focus-visible, .btn-xs:focus-visible { outline: 2px solid #58b987; outline-offset: 2px; }







.topbar { gap: 12px; flex-wrap: wrap; }







.topbar-right { flex-wrap: wrap; }







.content > .kpi-grid + .panel, .content > .panel + .grid-2 { margin-top: 16px; }







.kpi-card { background: var(--card); padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); }







.kpi-label { font-size: 12px; color: var(--ink-2); }







.kpi-value { font-size: 23px; font-weight: 700; margin-top: 5px; }







.kpi-v { white-space: normal; overflow-wrap: anywhere; }







.ton-note { font-size: 11px; font-weight: 400; color: var(--ink-3); }







.base-grade-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }







.base-grade-card { padding: 14px; background: #f7faf8; border: 1px solid var(--line); border-radius: 8px; }







.base-name { font-weight: 700; margin-bottom: 7px; }







.base-stats { color: var(--ink-2); line-height: 1.8; font-size: 12px; margin-top: 6px; }







.grade-badge { display: inline-block; padding: 3px 9px; border-radius: 12px; font-size: 12px; white-space: nowrap; }







.grade-special { background: var(--green-light); color: var(--green); }







.grade-first { background: var(--teal-bg); color: var(--teal); }







.grade-second, .grade-unrated { background: #eef1ef; color: var(--ink-2); }







#app-notice { margin: 14px 24px 0; padding: 12px 16px; border: 1px solid #e4c47c; border-radius: 8px; background: var(--amber-bg); color: #714b0a; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }







#app-notice[hidden] { display: none; }







#app-notice .btn { margin-top: 6px; }







.view-only [data-primary-action] { display: none !important; }







@media (max-width: 960px) {







  .sidebar { position: static; height: auto; flex-wrap: wrap; }







  .brand { width: 100%; padding: 10px 14px 4px; }







  .brand-logo { display: none; }







  .nav { width: 100%; flex: 0 0 100%; overflow-x: auto; }







  .nav .nav-item { flex: 0 0 auto; width: auto; }







  .grid-2 { grid-template-columns: 1fr !important; }







  .topbar { position: static; }







  .topbar-right { gap: 7px; }







  #app-notice { margin: 12px 12px 0; }







}







@media (max-width: 520px) {







  .kpi-grid, .kpi-grid.kpi-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }







  .kpi { padding: 12px; gap: 6px; }







  .kpi-icon { font-size: 21px; }







  .kpi-v, .kpi-value { font-size: 18px; }







  .toolbar-sum { margin-left: 0; }







  .form-grid { grid-template-columns: 1fr; }







  .modal-body { max-height: 70vh; }







}















/* v5 — 运营驾驶舱、基地档案与合同台账 */







:root { --radius:14px; --bg:#f3f6f4; --ink:#203c30; --ink-2:#657b6e; --ink-3:#86988d; --line:#e1e9e3; }







body { line-height:1.5; -webkit-font-smoothing:antialiased; }







button,input,select,textarea { font-family:inherit; }







button { touch-action:manipulation; }







.sidebar { width:226px; background:linear-gradient(170deg,#173e2d,#0e2f22); }







.brand-name { letter-spacing:1.5px; }







.brand-logo { background:#fff; border-radius:7px; padding:5px 7px; height:44px; }







.brand-logo img { max-width:100%; max-height:34px; }







.nav-group { padding-top:19px; font-size:10px; color:#87ab95; }







.nav .nav-item { padding:10px 13px; border-radius:9px; font-size:13px; }







.nav .nav-item.active { background:#e5f2c9; color:#193d2b; box-shadow:0 2px 8px #0000000d; }







.nav-ico { font-size:14px; }







.topbar { padding:17px 28px; }







.topbar h1 { font-size:19px; }







.content { padding:23px 28px 40px; }







.panel { box-shadow:0 3px 16px #173e2d03; }







.btn,.ipt { min-height:36px; }







.btn-xs { min-height:29px; }







.ipt:focus-visible,textarea:focus-visible { outline:2px solid #7caa7c; outline-offset:1px; }







.v5-dash { display:flex; flex-direction:column; gap:20px; }







.v5-head { display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }







.v5-eyebrow { font-size:10px; font-weight:700; letter-spacing:2px; color:var(--green); text-transform:uppercase; margin-bottom:5px; }







.v5-head h2 { font-size:24px; font-weight:700; letter-spacing:.5px; }







.v5-head p { color:var(--ink-2); font-size:12px; margin-top:5px; }







.v5-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }







.v5-live { display:inline-flex; align-items:center; gap:7px; font-size:11px; color:var(--ink-2); padding:6px 0; }







.v5-live i { width:6px; height:6px; border-radius:50%; background:#449063; box-shadow:0 0 0 3px #e4eee6; }







.v5-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }







.v5-metric { border:1px solid var(--line); border-radius:13px; background:#fff; padding:16px 17px 13px; color:var(--ink); text-align:left; position:relative; min-width:0; cursor:pointer; transition:transform .15s,box-shadow .15s,border-color .15s; }







.v5-metric:hover:not(:disabled) { transform:translateY(-2px); border-color:#b5cbb6; box-shadow:0 6px 18px #244f3010; }







.v5-metric:disabled { cursor:default; }







.v5-metric.lead { background:#1d5137; color:#fff; border-color:#1d5137; }







.v5-metric.lead .v5-metric-label,.v5-metric.lead .v5-metric-sub { color:#bbd4c3; }







.v5-metric.lead .v5-icon { background:#38664b; color:#d9efaa; }







.v5-metric-top { display:flex; align-items:center; justify-content:space-between; gap:8px; }







.v5-metric-label { font-size:12px; color:var(--ink-2); font-weight:500; }







.v5-icon { width:31px; height:31px; background:#eff5ed; color:#417653; border-radius:9px; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }







.v5-icon svg { width:17px; height:17px; }







.v5-metric-value { font-size:26px; line-height:1.3; font-weight:700; margin:7px 0; letter-spacing:-.5px; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }







.v5-metric-value .v5-small-unit { font-size:12px; margin-left:5px; font-weight:400; letter-spacing:0; opacity:.75; }







.v5-metric-sub { font-size:10px; color:var(--ink-3); min-height:17px; line-height:1.6; }







.v5-metric-sub .up { color:#487452; }







.v5-two { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr); gap:18px; }







.v5-equal { display:grid; grid-template-columns:1fr 1fr; gap:18px; }







.v5-panel { padding:20px; min-width:0; }







.v5-panel .panel-head { margin-bottom:16px; }







.v5-title { font-size:14px; font-weight:700; display:flex; align-items:center; gap:8px; }







.v5-title::before { content:''; width:3px; height:13px; background:#6d9256; border-radius:2px; }







.v5-panel .v5-caption { font-size:11px; color:var(--ink-3); margin:4px 0 0 11px; }







.v5-segment { display:inline-flex; background:#f1f5ef; border-radius:7px; padding:3px; gap:2px; }







.v5-segment button { border:0; background:transparent; border-radius:5px; font-size:11px; padding:5px 10px; color:var(--ink-2); cursor:pointer; }







.v5-segment button.active { background:white; color:#245b38; box-shadow:0 1px 5px #00000010; }







.v5-chart-wrap { position:relative; overflow-x:auto; }







.v5-chart { display:block; width:100%; height:auto; min-width:440px; overflow:visible; }







.v5-chart text { font-family:inherit; fill:#839286; font-size:11px; }







.v5-chart .v5-grid-line { stroke:#e7eee7; stroke-dasharray:4 5; }







.v5-chart .v5-point { fill:#fff; stroke:#53805a; stroke-width:2.6; }







.v5-chart [tabindex]:focus { outline:none; }







.v5-chart [tabindex]:focus .v5-point,.v5-chart [tabindex]:hover .v5-point { fill:#d5e6b5; stroke-width:4; }







.v5-chart-tip { min-height:28px; color:var(--ink-2); font-size:11px; text-align:center; margin-top:2px; }







.v5-chart-foot { display:grid; grid-template-columns:1fr 1fr 1fr; margin-top:8px; padding-top:15px; border-top:1px solid var(--line); gap:10px; }







.v5-chart-foot>div+div { padding-left:17px; border-left:1px solid var(--line); }







.v5-chart-foot label { display:block; color:var(--ink-3); font-size:10px; margin-bottom:4px; }







.v5-chart-foot b { font-size:16px; font-weight:600; }







.v5-donut-wrap { display:flex; align-items:center; justify-content:center; gap:20px; min-height:200px; }







.v5-donut { width:168px; height:168px; flex-shrink:0; }







.v5-legend { display:flex; flex-direction:column; gap:19px; min-width:0; }







.v5-legend-line { font-size:11px; color:var(--ink-2); display:flex; align-items:center; gap:6px; }







.v5-legend b { display:block; margin:3px 0; font-size:19px; font-weight:600; }







.v5-legend small { color:var(--ink-3); font-size:10px; }







.v5-swatch { display:inline-block; width:7px; height:7px; border-radius:2px; }







.v5-strip { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:7px; background:#f4f7f1; padding:11px 12px; margin-top:12px; border-radius:8px; font-size:11px; color:var(--ink-2); }







.v5-flow { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:0; margin:2px 0; }







.v5-flow-item { position:relative; text-align:left; padding:3px 10px 3px 17px; border:0; background:transparent; color:var(--ink); cursor:pointer; min-width:0; }







.v5-flow-item+.v5-flow-item { border-left:1px solid var(--line); }







.v5-flow-item:first-child { padding-left:0; }







.v5-flow-item:disabled { opacity:.5; cursor:default; }







.v5-flow-item:hover:not(:disabled) strong { color:var(--green); }







.v5-flow-number { width:24px; height:24px; display:flex; justify-content:center; align-items:center; background:#eef3e7; color:#577944; border-radius:8px; font-size:10px; margin-bottom:9px; }







.v5-flow-item strong { display:block; font-size:12px; font-weight:600; }







.v5-flow-item small { display:block; color:var(--ink-3); font-size:10px; margin-top:4px; }







.v5-pill { border-radius:6px; padding:3px 7px; font-size:10px; display:inline-block; background:#f0f4ef; color:#71816e; white-space:nowrap; }







.v5-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; text-align:center; padding:27px 12px; color:var(--ink-3); font-size:12px; background:#fafcf9; border:1px dashed #e0e9dd; border-radius:9px; }







.v5-empty b { color:#5b7559; font-weight:500; }







.v5-reminders { display:flex; flex-direction:column; gap:0; max-height:260px; overflow-y:auto; }







.v5-reminder { display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid #edf1eb; }







.v5-reminder:last-child { border-bottom:0; }







.v5-reminder-info { flex:1; min-width:0; }







.v5-reminder-info b { display:block; font-size:12px; font-weight:600; }







.v5-reminder-info small { color:var(--ink-3); font-size:10px; display:block; margin-top:4px; }







.v5-reminder button { flex-shrink:0; }







.v5-task-tabs { display:flex; gap:6px; flex-wrap:wrap; }







.v5-task-tabs button { border:1px solid transparent; border-radius:6px; padding:5px 9px; font-size:11px; cursor:pointer; background:#f4f6f2; color:var(--ink-2); }







.v5-task-tabs button.active { color:#316244; background:#eaf2df; border-color:#d5e1c7; }







.v5-task-toolbar { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:14px; }







.v5-task-table { max-height:400px; overflow:auto; border:1px solid var(--line); border-radius:9px; }







.v5-task-table .tbl th { position:sticky; top:0; z-index:1; background:#f8faf6; }







.v5-task-table .tbl td { padding:12px; font-size:12px; }







.v5-task-table .tbl td small { display:block; color:var(--ink-3); font-size:10px; margin-top:3px; }







.v5-compact-bars { display:flex; flex-direction:column; gap:12px; padding-top:2px; }







.v5-bar-row { display:grid; grid-template-columns:64px 1fr 29px; align-items:center; gap:10px; font-size:11px; color:var(--ink-2); }







.v5-bar-track { background:#f1f5ed; height:7px; border-radius:8px; overflow:hidden; }







.v5-bar-fill { background:#779965; height:100%; border-radius:8px; }







.v5-basis { font-size:11px; color:var(--ink-3); padding:0 3px; }







.v5-basis summary { cursor:pointer; color:var(--ink-2); }







.v5-basis p { margin-top:7px; line-height:1.9; }







.v5-modal-wide { max-width:1040px; }







.v5-modal-wide .modal-body { max-height:73vh; }







.v5-base-summary { display:flex; justify-content:space-between; align-items:flex-start; gap:15px; padding:16px; border:1px solid #dce7d4; border-radius:11px; background:#f3f7ec; margin-bottom:16px; }







.v5-base-summary h3 { margin-bottom:5px; font-size:19px; }







.v5-base-summary p { color:var(--ink-2); font-size:12px; }







.v5-tabs { display:flex; gap:8px; flex-wrap:wrap; padding-bottom:13px; margin-bottom:17px; border-bottom:1px solid var(--line); }







.v5-tabs button { border:0; border-radius:7px; padding:8px 14px; background:#f1f5ed; color:var(--ink-2); cursor:pointer; font-size:12px; }







.v5-tabs button.active { background:#215137; color:#fff; }







.v5-tabpane[hidden] { display:none; }







.v5-section-head { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; margin:6px 0 14px; }







.v5-section-head h4 { font-size:14px; }







.v5-record { border:1px solid var(--line); padding:16px; border-radius:10px; background:#fff; margin-bottom:12px; }







.v5-record-top { display:flex; justify-content:space-between; gap:10px; align-items:center; flex-wrap:wrap; margin-bottom:10px; }







.v5-record-top b { font-size:13px; }







.v5-record .form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }







.v5-record .fld>label { font-weight:500; }







.v5-full { grid-column:1/-1; }







.v5-attachment-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:9px; margin-top:10px; }







.v5-attachment { border:1px solid var(--line); border-radius:9px; padding:10px; display:flex; gap:10px; align-items:flex-start; background:#fafbf8; min-width:0; }







.v5-file-icon { border:0; background:#e8eee0; color:#67805c; width:42px; height:48px; display:flex; align-items:center; justify-content:center; flex-shrink:0; border-radius:6px; overflow:hidden; cursor:pointer; }







.v5-file-icon img { width:42px; height:48px; object-fit:cover; }







.v5-file-info { min-width:0; flex:1; }







.v5-file-name { font-size:11px; font-weight:600; overflow-wrap:anywhere; }







.v5-file-meta { color:var(--ink-3); font-size:10px; margin-top:3px; line-height:1.7; }







.v5-file-ops { display:flex; flex-wrap:wrap; gap:8px; margin-top:6px; }







.v5-text-btn { border:0; padding:0; background:none; color:var(--green); font-size:11px; cursor:pointer; }







.v5-text-btn.danger { color:var(--red); }







.v5-upload-zone { display:flex; align-items:center; justify-content:center; flex-direction:column; padding:19px; border:1px dashed #b7c9ad; border-radius:9px; background:#f8faf4; cursor:pointer; gap:4px; margin-top:10px; font-size:12px; color:#537045; }







.v5-upload-zone:hover { background:#f0f5e9; }







.v5-upload-zone small { color:var(--ink-3); font-size:10px; }







.v5-upload-zone input { width:100%; max-width:290px; margin-top:8px; font-size:11px; }







.v5-upload-zone.busy { opacity:.6; pointer-events:none; }







.v5-note { background:#f6f8f2; border-left:3px solid #adc499; padding:10px 13px; color:var(--ink-2); font-size:11px; line-height:1.8; border-radius:4px; margin:12px 0; }







.v5-contract-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:18px; }







.v5-contract-stats .kpi-value { margin:7px 0; }







.v5-contract-summary { margin-bottom:16px; }







.v5-filters { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:15px; align-items:center; }







.v5-filters .ipt { min-width:135px; }







.v5-filters .v5-search { flex:1; min-width:210px; }







.v5-field-help { font-size:10px; color:var(--ink-3); }







#v5-viewer { display:none; position:fixed; inset:0; z-index:160; background:#132a20b8; padding:22px; align-items:center; justify-content:center; }







#v5-viewer.show { display:flex; }







.v5-viewer-card { background:#fff; border-radius:12px; width:min(1120px,100%); height:min(880px,94vh); display:flex; flex-direction:column; overflow:hidden; box-shadow:0 20px 90px #0003; }







.v5-viewer-head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; padding:12px 17px; border-bottom:1px solid var(--line); }







.v5-viewer-title { font-size:13px; font-weight:600; overflow-wrap:anywhere; max-width:70%; }







.v5-viewer-body { flex:1; min-height:0; display:flex; align-items:center; justify-content:center; background:#eef1eb; overflow:auto; }







.v5-viewer-body img { max-width:100%; max-height:100%; object-fit:contain; }







.v5-viewer-body iframe { width:100%; height:100%; border:0; }







.v5-viewer-foot { padding:8px 15px; color:var(--ink-3); font-size:10px; }







@media(min-width:1700px) { .v5-metrics { grid-template-columns:repeat(6,minmax(0,1fr)); } }







@media(max-width:1230px) { .v5-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); } .v5-two { grid-template-columns:minmax(0,1.4fr) minmax(290px,1fr); } .v5-flow { grid-template-columns:repeat(4,minmax(0,1fr)); row-gap:18px; } .v5-flow-item:nth-child(5) { border-left:0; padding-left:0; } .v5-donut-wrap { gap:12px; } .v5-donut { width:130px; height:130px; } .v5-legend b { font-size:16px; } }







@media(max-width:960px) { .sidebar { width:100%; } .brand { display:flex; align-items:center; gap:10px; } .topbar,.content { padding:15px; } .v5-two { grid-template-columns:1fr 1fr; } .v5-donut-wrap { min-height:190px; } }







@media(max-width:760px) { .v5-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } .v5-two,.v5-equal { grid-template-columns:1fr; } .v5-head h2 { font-size:22px; } .v5-panel { padding:16px; } .v5-donut { width:168px; height:168px; } .v5-donut-wrap { justify-content:center; gap:30px; } .v5-contract-stats { grid-template-columns:repeat(2,minmax(0,1fr)); } .v5-chart-foot b { font-size:14px; } .v5-modal-wide .modal-body { max-height:68vh; } .v5-record .form-grid { grid-template-columns:1fr; } }







@media(max-width:420px) { .v5-metric { padding:13px 11px; } .v5-metric-value { font-size:22px; } .v5-metric-label { font-size:11px; } .v5-icon { width:25px; height:25px; } .v5-flow-item { padding-left:10px; } .v5-flow-item strong { font-size:11px; } .v5-head .v5-actions { width:100%; } .v5-base-summary { flex-direction:column; } .v5-tabs { gap:5px; } .v5-tabs button { padding:7px 9px; } }







@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; } }























/* v6 MIWUDO: semantic color system, task workspace and small-screen operations. */







:root{--green:#286348;--green-dark:#18452f;--green-light:#eaf3ed;--bg:#f4f6f5;--ink:#213a30;--ink-2:#556c60;--ink-3:#718277;--line:#dfe7e1;--blue:#3b6f92;--blue-bg:#edf3f8;--amber:#966215;--amber-bg:#fff5e4;--red:#b54b42;--red-bg:#fcefed;--teal:#287970;--teal-bg:#e9f5f2;--radius:12px}







html{scroll-padding-top:100px}body{font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif}button{font-family:inherit}button:focus-visible{outline:2px solid #42785a;outline-offset:3px}img{max-width:100%}.sidebar{background:#173c2d;width:232px}.brand{padding:18px 17px 16px}.brand-logo{height:auto;min-height:40px;background:#fff;padding:6px;display:flex;align-items:center}.brand-logo img{max-height:48px;max-width:100%;width:100%;height:auto}.brand-name{font-size:19px;letter-spacing:1.2px;margin-top:11px}.brand-sub{font-size:10px;line-height:1.8;letter-spacing:0}.nav .nav-item{padding:9px 12px;font-size:13px}.nav .nav-item.active{background:#dceaca;color:#214730;box-shadow:none}.nav-group{padding-top:14px}.topbar{padding:14px 25px;gap:12px}.topbar h1{font-size:18px}.topbar-right{gap:7px}.topbar .sub{font-size:11px;color:#60796b;max-width:740px}.content{padding:22px 25px 42px}.v6-company-line{font-size:10px;color:#68806f;margin-top:3px;letter-spacing:.3px}.v6-titlewrap{display:flex;gap:10px;align-items:center}.v6-menu-btn{display:none}.v6-mobilebar,.v6-scrim{display:none}.env-chip{font-size:10px;border-radius:6px}.v6-preview-toggle{font-size:11px}.v6-preview-banner{padding:10px 14px;background:#fff6e7;border:1px solid #e8d5ad;border-radius:9px;color:#7d581d;font-size:12px;margin-bottom:16px;display:flex;justify-content:space-between;gap:10px;align-items:center}.v6-demo{display:inline-block;border:1px solid #d7dfd4;border-radius:5px;padding:2px 7px;background:#fafcf6;font-size:10px;color:#667758}







.v6-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:23px 24px;background:#e9f0e7;border:1px solid #dce6d7;border-radius:14px;position:relative;overflow:hidden}.v6-hero .v5-eyebrow{color:#426743}.v6-hero h2{font-size:27px;line-height:1.3;font-weight:700;letter-spacing:.4px;margin:4px 0 7px}.v6-hero p{font-size:12px;color:#506953;max-width:700px}.v6-hero-mark{width:100px;height:72px;position:relative;overflow:hidden;flex-shrink:0;opacity:.8}.v6-hero-mark img{position:absolute;width:510px;max-width:none;left:-32px;top:-8px;mix-blend-mode:multiply}.v6-heading{display:flex;align-items:center;gap:10px;margin:0 0 10px;font-size:13px;letter-spacing:.3px}.v6-heading small{font-weight:400;color:#718277;font-size:11px;margin-left:auto}.v6-index{font-size:10px;font-weight:600;border-radius:5px;background:#e7ede8;color:#68816d;padding:3px 6px}.v6-kpi-group{margin:0}.v5-dash{gap:18px}.v5-metrics{gap:11px}.v5-metric{padding:15px 16px 14px;border-radius:11px;box-shadow:0 2px 10px #1d422205}.v5-metric-value{font-size:26px;letter-spacing:-.5px;margin:7px 0}.v5-metric-sub{font-size:11px;color:#6b7d71}.v5-metric-label{color:#4f6759;font-size:12px}.v5-metric.lead{background:#24503b;border-color:#24503b}.v5-metric.lead .v5-metric-label,.v5-metric.lead .v5-metric-sub{color:#d3e1d7}.v5-metric.lead .v5-icon{background:#3b664d;color:#e6efcb}.v5-metric[data-tone="blue"] .v5-icon{background:var(--blue-bg);color:var(--blue)}.v5-metric[data-tone="amber"] .v5-icon{background:var(--amber-bg);color:var(--amber)}.v5-metric[data-tone="amber"]{border-top:3px solid #d0a264}.v5-metric[data-tone="teal"] .v5-icon{background:var(--teal-bg);color:var(--teal)}.v5-metric[data-tone="neutral"] .v5-icon{background:#f0f2ef;color:#78816e}.v5-two{grid-template-columns:minmax(0,1.55fr) minmax(290px,1fr)}.v5-panel{padding:19px}.v5-title{font-size:14px}.v5-title::before{background:#789a60}.v5-chart text{fill:#667b6a}.v5-legend small{color:#697b6d;font-size:11px}.v5-caption,.v5-reminder-info small{color:#718074!important;font-size:11px!important}.v5-chart-tip{font-size:11px}.v5-flow-item small{font-size:11px}.v5-flow-number{background:#edf2e6}.v6-alerts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.v6-alert{display:flex;gap:10px;text-align:left;align-items:center;border:1px solid #e1e7df;background:#fff;padding:12px 14px;border-radius:9px;color:#506755;cursor:pointer}.v6-alert b{font-size:20px;min-width:23px}.v6-alert span{font-size:11px;line-height:1.6}.v6-alert span small{display:block;color:#778273;font-size:10px}.v6-alert.warn{background:#fff7e9;border-color:#efdcb9;color:#865d22}.v6-alert.danger{background:#fcf0ef;border-color:#eed1ce;color:#a34b42}.v6-alert:disabled{cursor:default;opacity:.6}.v6-page{display:flex;flex-direction:column;gap:17px}.v6-page-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;flex-wrap:wrap}.v6-page-head h2{font-size:23px;margin:3px 0 5px}.v6-page-head p{font-size:12px;color:#647b6a}.v6-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.v6-filterbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:12px 14px;background:#fff;border:1px solid var(--line);border-radius:10px}.v6-filterbar label{display:flex;align-items:center;gap:5px;font-size:11px;color:#64766a}.v6-filterbar .ipt{font-size:12px;max-width:240px}.v6-filterbar input[type=date]{max-width:150px}.v6-segment{display:flex;flex-wrap:wrap;border-radius:7px;gap:3px;padding:3px;background:#edf2ed}.v6-segment button{padding:6px 10px;border:0;border-radius:5px;font-size:11px;background:transparent;color:#58705e;cursor:pointer}.v6-segment .active{background:#fff;box-shadow:0 1px 4px #1d382014;color:#275237;font-weight:600}.v6-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.v6-stat{border:1px solid var(--line);border-radius:11px;background:#fff;padding:17px;min-width:0}.v6-stat .kpi-label{font-size:12px;color:#617465}.v6-stat .kpi-value{font-size:25px;margin:6px 0;line-height:1.35;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.v6-stat .kpi-sub{font-size:11px;color:#778579}.v6-stat.accent{background:#eaf1e5;border-color:#d8e4cc}.v6-stat.accent .kpi-value{color:#38633d}.v6-chart{width:100%;display:block;min-height:160px}.v6-chart text{font-family:inherit;fill:#748273;font-size:10px}.v6-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:11px;color:#59725f;margin:10px 0}.v6-legend i{display:inline-block;width:17px;height:3px;vertical-align:middle;margin-right:5px}.v6-progress{height:7px;border-radius:8px;background:#edf1ea;overflow:hidden}.v6-progress>i{display:block;height:100%;background:#6f975b;border-radius:8px}.v6-barline{display:grid;grid-template-columns:76px 1fr 45px;align-items:center;gap:10px;margin:12px 0;font-size:12px}.v6-barline strong{font-weight:500;text-align:right}.v6-quality-summary{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px}.v6-muted{color:#708272;font-size:11px}.v6-quality-table{min-width:480px}.v6-txt-danger{color:#b44c42}.v6-footnote{font-size:11px;color:#718276;line-height:1.85;background:#edf2ed;padding:12px 15px;border-radius:9px}.v6-footnote p+p{margin-top:4px}.v6-proc-cards{display:none}.v6-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:15px;min-width:0}.v6-card h4{font-size:13px;margin-bottom:6px}.v6-card p{font-size:12px;color:#647869;line-height:1.8}.v6-card .v6-actions{margin-top:12px}.v6-card small{font-size:11px;color:#728172}.v6-title-line{display:flex;gap:8px;justify-content:space-between;align-items:center;margin-bottom:7px}.v6-title-line strong{font-size:13px}.v6-amount{font-size:21px;font-weight:700}.v6-kanban{display:grid;grid-template-columns:repeat(5,minmax(200px,1fr));gap:12px;overflow-x:auto;padding-bottom:6px}.v6-lane{border:1px solid var(--line);border-radius:12px;background:#edf2ed;padding:12px;min-height:250px;min-width:0}.v6-lane-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px;font-size:12px;font-weight:600}.v6-lane-head span{padding:1px 6px;background:#fff;border-radius:4px;color:#687768;font-size:11px}.v6-lane[data-state="受阻"]{background:#fbf1ec;border-color:#efd7cb}.v6-lane[data-state="待验收"]{background:#eef3f8;border-color:#d9e3ec}.v6-taskcard{background:#fff;border:1px solid #dce5da;border-radius:9px;padding:13px;margin-bottom:10px;cursor:pointer;box-shadow:0 2px 6px #122c1504;overflow-wrap:anywhere}.v6-taskcard:hover{border-color:#91b288}.v6-taskcard h4{font-size:13px;line-height:1.65;font-weight:600;margin:7px 0}.v6-taskcard .v6-taskno{font-size:10px;color:#798677}.v6-taskcard .v6-taskinfo{display:flex;justify-content:space-between;gap:6px;font-size:11px;color:#6b7d6c;margin:8px 0}.v6-taskcard .badge{font-size:10px;padding:2px 6px}.v6-taskcard .v6-progress{margin:9px 0 4px}.v6-tasklist{display:grid;gap:12px}.v6-workload{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:11px}.v6-workload .v6-card b{font-size:14px}.v6-workload .v6-card .v6-progress{margin:10px 0 7px}.v6-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:9px}.v6-shortcuts button{border:1px solid var(--line);background:#fff;border-radius:9px;text-align:left;padding:14px;cursor:pointer;color:#315b40}.v6-shortcuts button small{display:block;font-size:10px;color:#718475;margin-top:4px}.v6-timeline{margin-top:12px;border-left:2px solid #e2eadd;padding-left:15px}.v6-timeline article{margin-bottom:14px}.v6-timeline p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:4px}.v6-timeline small{font-size:10px;color:#778273}.v6-modal-hero{background:#eef3e8;border:1px solid #dfe7d8;padding:15px;border-radius:9px;margin-bottom:16px}.v6-modal-hero h3{font-size:17px;margin:4px 0 8px}.v6-modal-hero p{font-size:12px;color:#627264;white-space:pre-wrap}.v6-assignment{display:grid;grid-template-columns:1fr 1fr;gap:10px}.v6-role-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.v6-role-grid .v6-card{padding:18px}.v6-role-grid h3{font-size:15px;margin-bottom:10px}.v6-role-grid p{font-size:12px;color:#647264;line-height:1.9}.v6-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.v6-plan-grid h3{font-size:15px;margin-bottom:9px}.v6-plan-grid p{font-size:12px;line-height:2;color:#637764}.v6-paper-preview{width:100%;height:740px;border:1px solid #dfe5dc;border-radius:9px;background:#fff}.v6-print-options{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.v6-print-options label{font-size:12px;display:flex;gap:5px;align-items:center}.v6-brand-preview{background:#fff;border:1px solid var(--line);border-radius:9px;padding:18px;margin-bottom:18px}.v6-brand-preview img{width:100%;max-width:580px;max-height:120px;object-fit:contain;display:block}.v6-brand-preview p{font-size:12px;color:#637866;margin-top:10px}.v6-help-tag{font-size:10px;letter-spacing:.5px;color:#728274}.v6-mobile-demo{max-width:380px;border:7px solid #254633;border-radius:30px;overflow:hidden;background:#f3f6f1;margin:auto;box-shadow:0 10px 22px #1a352a15;padding:20px 13px 12px}.v6-mobile-demo h4{margin-bottom:9px}.v6-mobile-demo .v6-card{margin-top:9px}.v6-phone-caption{text-align:center;font-size:11px;margin-top:10px;color:#718275}







@media(min-width:1500px){.content{max-width:1660px;width:100%;margin:0 auto}}







@media(max-width:1200px){.v6-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.v6-stat{padding:13px}.v6-stat .kpi-value{font-size:22px}.v6-kanban{grid-template-columns:repeat(5,210px)}.v6-plan-grid{grid-template-columns:1fr 1fr}}







@media(max-width:1000px){.layout{display:block}.sidebar{position:fixed;left:0;top:0;bottom:0;width:270px;height:100dvh;display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;transform:translateX(-105%);z-index:90;transition:transform .2s;overflow:hidden}.brand{width:100%;padding:20px 18px 16px;white-space:normal}.brand-logo{display:flex;max-width:230px}.brand-sub,.side-foot{display:block}.nav{display:block;width:100%;flex:1;overflow-y:auto;overflow-x:hidden;padding:8px}.nav-group{display:block}.nav .nav-item{width:100%;white-space:normal}.side-foot{flex-shrink:0}.v6-nav-open .sidebar{transform:translateX(0)}.v6-nav-open .v6-scrim{display:block;position:fixed;inset:0;background:#12271f66;z-index:85;border:0}.v6-menu-btn{display:inline-flex;min-height:38px;padding:6px 11px;font-size:18px}.topbar{position:sticky;top:0;z-index:30;padding:11px 15px;flex-wrap:wrap}.topbar-right{font-size:11px}.topbar-right .btn{min-height:34px;padding:5px 9px!important;font-size:11px}.topbar h1{font-size:16px}.content{padding:16px 15px 95px}.v6-company-line{font-size:9px}.v6-mobilebar{display:flex;position:fixed;bottom:0;left:0;right:0;padding:7px 8px calc(7px + env(safe-area-inset-bottom));z-index:70;background:#ffffffed;border-top:1px solid #dbe4dc;backdrop-filter:blur(12px);justify-content:space-around}.v6-mobilebar button{flex:1;border:0;background:transparent;color:#718475;min-height:44px;font-size:10px;border-radius:8px;cursor:pointer}.v6-mobilebar button span{display:block;font-size:17px;line-height:23px}.v6-mobilebar button.active{background:#eaf1e4;color:#2a5639;font-weight:600}.v5-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.v5-two{grid-template-columns:minmax(0,1.3fr) minmax(250px,1fr)}.v6-hero{padding:19px}.v6-hero h2{font-size:24px}.v6-plan-grid{grid-template-columns:1fr 1fr}#app-notice{margin:12px 15px 0}}







@media(max-width:700px){.content{padding:12px 12px 93px}.v6-hero{padding:16px;flex-wrap:wrap;gap:12px}.v6-hero h2{font-size:22px}.v6-hero p{font-size:11px}.v6-hero-mark{display:none}.v5-metrics,.v6-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v5-metric{padding:13px 12px}.v5-metric-value{font-size:23px}.v5-metric-sub{font-size:10px}.v5-metric-label{font-size:11px}.v5-icon{width:26px;height:26px;border-radius:7px}.v5-two,.v5-equal,.v6-plan-grid{grid-template-columns:minmax(0,1fr)}.v5-panel{padding:15px}.v5-dash{gap:16px}.v6-alerts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.v6-alert{padding:9px 10px;gap:7px}.v6-alert b{font-size:18px}.v6-alert span{font-size:10px}.v6-alert small{display:none!important}.v6-heading{font-size:12px}.v6-heading small{font-size:10px}.v6-heading{flex-wrap:wrap}.topbar .sub{display:none}.v6-company-line{font-size:9px;max-width:265px}.topbar-right #today-str,.topbar-right>span[style]{display:none}.topbar-right{width:100%;gap:6px}.topbar-right .ipt{min-height:34px;padding:5px 7px!important;font-size:12px;width:120px}#btn-unit{margin-left:auto;order:3}#env-chip{margin-left:auto}.v6-page-head h2{font-size:21px}.v6-page-head p{font-size:11px}.v6-filterbar{padding:10px;gap:8px}.v6-filterbar .ipt{max-width:100%;min-height:40px;font-size:13px}.v6-filterbar input[type=search]{width:100%}.v6-filterbar input[type=date]{width:125px}.v6-filterbar label{font-size:11px}.v6-segment button{padding:9px 11px;font-size:12px;min-height:38px}.v6-proc-desktop{display:none}.v6-proc-cards{display:grid;gap:10px}.v6-stat{padding:13px}.v6-stat .kpi-value{font-size:24px}.v6-stat .kpi-sub{font-size:10px}.v6-page .panel-head .v6-actions{width:100%}.v6-kanban{grid-template-columns:repeat(5,245px);scroll-snap-type:x mandatory}.v6-lane{scroll-snap-align:start}.v6-role-grid{grid-template-columns:1fr}.v6-assignment{grid-template-columns:1fr}.v6-footnote{font-size:11px}.btn,.btn-xs{min-height:40px}.modal{border-radius:16px 16px 0 0;max-width:100%!important}.modal-head{padding:15px 16px}.modal-close{min-width:36px;min-height:36px}.modal-body{padding:16px;max-height:calc(100dvh - 165px)!important}.modal-foot{padding:12px 16px calc(12px + env(safe-area-inset-bottom));flex-wrap:wrap}.modal-foot .btn{min-height:44px}.modal-foot .btn-primary{flex:1;justify-content:center}#modal-mask{align-items:flex-end;padding:18px 0 0}.form-grid,.v5-record .form-grid{grid-template-columns:1fr!important}.modal .ipt{font-size:16px;min-height:44px}.form-grid>*,.fld{min-width:0}.v5-task-table .tbl{min-width:600px}.v5-task-tabs button{min-height:37px}.v5-flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 0}.v6-workload{grid-template-columns:1fr 1fr}.v6-workload .v6-card{padding:12px}.v6-workload .v6-card b{font-size:13px}.v6-workload .v6-card p{font-size:10px}.v6-paper-preview{height:590px}.v6-preview-banner{align-items:flex-start;font-size:11px}.v6-preview-banner .btn-xs{flex-shrink:0}.tbl th,.tbl td{font-size:12px}.v6-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.v6-shortcuts button{min-height:66px}.v6-print-options{gap:9px}.v6-print-options .btn{font-size:12px}.v6-chart{min-height:130px}}







@media print{.sidebar,.topbar,.v6-mobilebar,.v6-scrim,.modal,#app-notice{display:none!important}.content{padding:0;max-width:none}.v6-proc-desktop{display:block}.v6-proc-cards{display:none}body{background:#fff}.v5-metric,.panel,.v6-stat{break-inside:avoid}.v6-page .btn,.v6-page .btn-xs{display:none}}







/* Constrain intrinsic table/grid widths; keep sideways scrolling inside its panel. */







.v5-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-2>*,.panel,.kpi-body,.v5-equal>*,.v5-two>*{min-width:0}.table-wrap{max-width:100%}.bars{min-width:0}.v6-task-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}







@media(max-width:1000px){.brand{display:block}.v5-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}}







@media(max-width:700px){.v5-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.v6-stat-grid:has(>.v6-taskcard),.v6-task-card-grid{grid-template-columns:1fr}.bars{gap:5px}.bar-label,.bar-val{font-size:8px}.panel-head>div[style*="display:flex"]{flex-wrap:wrap;min-width:0}.topbar-right{row-gap:5px}}















.v6-hold-banner{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:12px 14px;margin-bottom:16px;border:1px solid #e6c8bd;background:#fff6f1;color:#9a4d37;border-radius:10px;font-size:12px;line-height:1.7;flex-wrap:wrap}.v6-hold-banner span{overflow-wrap:anywhere}















