.header-actions{display:flex;gap:8px;align-items:center}.plain{background:#fff;border:1px solid #d7dbe0;border-radius:8px;padding:10px 14px;color:#59616d;cursor:pointer}
.ticket-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;margin:12px 0 24px}.ticket-photos a{display:block;aspect-ratio:1;background:#f1f3f4;border-radius:10px;overflow:hidden}.ticket-photos img{display:block;width:100%;height:100%;object-fit:cover}#ticketDetailDialog{width:min(760px,calc(100vw - 32px));max-height:85vh;overflow:auto}#ticketDetailDialog footer{margin-top:20px}
nav a{color:#cbd0d6;padding:13px 16px;text-align:left;border-radius:8px;font-size:21px;text-decoration:none}nav a:hover,nav a:focus-visible{background:#c91624;color:#fff}nav a.hidden{display:none}
.business-role-picker{display:flex;flex-wrap:wrap;gap:10px 18px;margin:0;border:1px solid #d8dde4;border-radius:8px;padding:10px 12px 12px}.business-role-picker legend{color:#667080;font-size:18.2px;padding:0 5px}.business-role-picker label{display:flex;align-items:center;gap:7px;color:#303b49;white-space:nowrap}.business-role-picker input{margin:0}
#ticketDialog{max-height:88vh;overflow:auto}#ticketForm input[type="file"]{width:100%;background:#f7fafc;border:1px dashed #9cb0c3;padding:11px;color:#31485c}#ticketForm input[type="file"]::file-selector-button{margin-right:12px;border:0;border-radius:6px;background:#e7f0f6;color:#1e526c;padding:8px 12px;cursor:pointer}#ticketForm input[type="file"]:focus-visible{outline:2px solid #3787ac;outline-offset:2px}
#ticketAssociationDialog{max-height:85vh;overflow:auto}.ticket-warranty-result{border:1px solid #d7e3ea;background:#f5f9fb;border-radius:8px;padding:10px 12px;color:#34536a}.ticket-warranty-result.in_warranty{border-color:#b7dcc9;background:#f0faf3;color:#24634b}.ticket-warranty-result.expired{border-color:#ecc2c3;background:#fff3f2;color:#ad343b}.ticket-warranty-result.unverified{border-color:#ead9a6;background:#fff9e8;color:#765d18}

/* Shared management shell: business stages follow the order in the sidebar. */
:root{--ink:#20313b;--muted:#8294a2;--line:#e0e8ed;--red:#b9243a;--blue:#326b9a;--sidebar-width:clamp(320px,22vw,390px);background:#fff;color:var(--ink)}
body{background:#fff;min-width:320px}
.icon-library{position:absolute;width:0;height:0;overflow:hidden}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);padding:28px 20px;background:#fff;color:var(--ink);border-right:1px solid var(--line);overflow-y:auto;z-index:5}
.sidebar .brand{display:flex;align-items:center;gap:15px;margin:0 8px 56px;text-decoration:none;color:var(--ink);font-size:35px;line-height:1.2}
.brand-mark{display:grid;place-items:center;width:51px;height:51px;flex:none;border-radius:14px;background:#b92139;color:#fff;font-weight:700;font-size:42px}
.brand-copy b{display:block;white-space:nowrap;font-weight:700}
.sidebar .brand small{margin-top:7px;color:#8294a2;font-size:21px;font-weight:400}
#nav{display:block}
.nav-group{display:grid;gap:7px;margin-bottom:24px}
.nav-group.hidden{display:none}
.nav-label{padding:0 12px 8px;color:#a1b0bc;font-size:19.6px;letter-spacing:.03em}
.sidebar #nav button,.sidebar #nav a{display:flex;align-items:center;gap:16px;width:100%;min-height:56px;padding:11px 16px;background:transparent;border:0;border-radius:13px;color:#566d7d;text-align:left;text-decoration:none;font:500 23.8px/1.35 "Microsoft YaHei",sans-serif;cursor:pointer;transition:background .16s,color .16s}
.sidebar #nav button.hidden,.sidebar #nav a.hidden{display:none}
.sidebar #nav button:hover,.sidebar #nav a:hover,.sidebar #nav button:focus-visible,.sidebar #nav a:focus-visible{background:#f2f7fa;color:#2b648f;outline:none}
.sidebar #nav button.active{background:#e9f3f9;color:#286596}
.nav-icon,.quick-icon,.attention-icon{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
#unreadCount:not(:empty){margin-left:auto;padding:2px 6px;background:#fff0f1;border-radius:10px;color:#b9243a}
.sidebar .seat{position:static;margin:36px 12px 0;padding-top:21px;border-top:1px solid var(--line);color:#8da0ae;font-size:18.2px;line-height:1.8}
.sidebar .seat b{color:#557183}
.main-area{margin-left:var(--sidebar-width);width:calc(100% - var(--sidebar-width));padding:0;min-width:0}
.topbar{height:84px;margin:0;padding:0 clamp(28px,3vw,54px);display:flex;align-items:center;justify-content:space-between;gap:22px;border-bottom:1px solid var(--line);background:#fff}
.breadcrumb{font-size:23.8px;color:#607a8c;white-space:nowrap}
.topbar-right{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}
#currentUserText{font-size:19.6px;color:#6c8293;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
.user-avatar{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:50%;background:#eaf2f7;color:#346a94;font-size:22.4px}
.topbar .plain{padding:8px 10px;border:0;background:transparent;color:#738899;font-size:18.2px;white-space:nowrap}
.topbar .plain:hover{color:#2c6692;background:#eef5f9}
.content-shell{padding:53px clamp(28px,3vw,54px) 64px;max-width:1710px;margin:0 auto}
.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:38px}
.page-heading h1{font-size:56px;line-height:1.2;letter-spacing:-.025em;color:#182d37}
.page-heading p{margin:13px 0 0;color:#8497a5;font-size:23.8px}
.page-tools{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap}
.page-note{padding:10px 17px;border:1px solid #e0e8ed;border-radius:30px;color:#8a9cac;font-size:18.2px;white-space:nowrap}
.header-actions{gap:8px;flex-wrap:wrap;justify-content:flex-end}
.header-actions .primary{padding:10px 15px}
.primary{background:#b9243a}
.primary:hover{background:#a61d32}
.section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 19px}
.section-heading h2{font-size:30.8px;margin:0;color:#243541}
.section-heading span{color:#8b9caa;font-size:19.6px}
.attention-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.attention-card{min-height:176px;padding:27px 28px 23px;border:1px solid;border-radius:17px;display:flex;flex-direction:column;justify-content:space-between;text-align:left;cursor:pointer;transition:transform .16s,box-shadow .16s}
.attention-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px #2f536914}
.attention-card.blue{background:#edf5fc;border-color:#d3e5f2;color:#356b9a}
.attention-card.amber{background:#fff8e9;border-color:#f5e4b7;color:#b27a1b}
.attention-card.rose{background:#fff0f1;border-color:#f2d6d9;color:#ba283b}
.attention-top,.attention-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%}
.attention-top strong{font-size:30.8px;font-weight:700}
.attention-icon{width:24px;height:24px}
.attention-bottom{align-items:flex-end}
.attention-bottom b{font-size:58.8px;line-height:1;font-weight:600}
.attention-bottom span{color:#738d9c;font-size:19.6px;white-space:nowrap}
.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(300px,1fr);gap:22px;margin-top:34px}
.dashboard-columns-single{grid-template-columns:minmax(0,1fr)}
.dashboard-columns-single .quick-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
.dashboard-portal{margin-top:12px}
.dashboard-portal-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:16px}
.dashboard-portal-head h2{margin:0;color:#243541;font-size:28px}
.dashboard-portal-head p{margin:0;color:#8194a0;font-size:17px}
.dashboard-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.dashboard-module{display:flex;flex-direction:column;justify-content:space-between;gap:18px;min-width:0;min-height:172px;padding:21px 23px;border:1px solid #e0e9ee;border-radius:16px;background:#f3f8fb;color:#2f668a;text-align:left;text-decoration:none;font:inherit;cursor:pointer;transition:transform .15s,border-color .15s,box-shadow .15s}
.dashboard-module:hover,.dashboard-module:focus-visible{transform:translateY(-2px);border-color:#a8cbdc;box-shadow:0 8px 20px #27475912}
.dashboard-module.green{background:#eef8f2;color:#388264}.dashboard-module.amber{background:#fff8eb;color:#af761c}.dashboard-module.purple{background:#f5f1f9;color:#7b6598}
.dashboard-module.oa{background:#f5f7f8;color:#91a0aa}.dashboard-module-placeholder{cursor:default}.dashboard-module-placeholder:hover{transform:none;box-shadow:none;border-color:#e0e9ee}
.dashboard-module-top,.dashboard-module-bottom{display:flex;justify-content:space-between;gap:12px}.dashboard-module-top{align-items:center}.dashboard-module-bottom{flex-direction:column;gap:5px}
.dashboard-module-top svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.dashboard-module-top small{font-size:16px;font-weight:600}
.dashboard-module-bottom strong{font-size:25px;line-height:1.35}.dashboard-module-bottom span{color:#738996;font-size:16px;line-height:1.5}
.dashboard-focus-compact{margin-top:24px}.dashboard-focus-compact .dashboard-panel-head{min-height:86px;padding:20px 24px}.dashboard-focus-compact .dashboard-panel-head h2{font-size:26px}.dashboard-focus-compact .dashboard-panel-head p{font-size:16px;margin-top:5px}.dashboard-focus-compact .focus-ticket{min-height:96px;padding:18px 24px}
.dashboard-panel{min-width:0;border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden}
.dashboard-panel-head{min-height:119px;padding:27px 30px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line)}
.dashboard-panel-head h2{font-size:30.8px;margin:0;color:#22343e}
.dashboard-panel-head p{margin:12px 0 0;color:#889ba9;font-size:19.6px}
.panel-more{border:0;background:transparent;color:#376e9e;font-size:21px;white-space:nowrap;cursor:pointer}
.panel-more:hover{text-decoration:underline}
.focus-list{display:grid}
.focus-ticket{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;width:100%;min-height:125px;padding:25px 30px;border:0;border-bottom:1px solid var(--line);background:#fff;color:var(--ink);text-align:left;cursor:pointer}
.focus-ticket:last-child{border-bottom:0}
.focus-ticket:hover{background:#f8fbfc}
.focus-ticket strong{display:block;color:#526777;font-size:22.4px;font-weight:600;line-height:1.5}
.focus-ticket small{display:block;margin-top:9px;color:#899ba8;font-size:18.2px;line-height:1.4}
.focus-end{display:flex;flex-direction:column;align-items:flex-end;flex:none}
.focus-badge{display:inline-block;padding:7px 11px;border-radius:9px;background:#e9f3f9;color:#3b779d;font-size:18.2px;font-style:normal;white-space:nowrap}
.focus-badge.yellow{background:#fff3d7;color:#ad751a}
.focus-badge.red{background:#ffe9eb;color:#c03647}
.dashboard-empty{padding:40px 28px;color:#8b9baa;font-size:19.6px}
.dashboard-insights{margin-top:26px;padding:22px 24px;border:1px solid var(--line);border-radius:18px;background:#fff}
.dashboard-insights-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
.dashboard-insights-head h2{margin:0;color:#243541;font-size:26px}
.dashboard-insights-head span,.dashboard-insights-scope{color:#738896;font-size:16px}
.dashboard-insights-scope{margin:7px 0 18px}
.dashboard-insights-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dashboard-insight{display:flex;flex-direction:column;gap:7px;min-width:0;padding:17px 18px;border:1px solid #e2ebf0;border-radius:12px;background:#f8fbfc;text-decoration:none;color:#304a59}
.dashboard-insight:hover,.dashboard-insight:focus-visible{border-color:#9fc5dc;background:#f0f8fc}
.dashboard-insight span{font-size:17px;font-weight:600}
.dashboard-insight strong{font-size:27px;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.dashboard-insight small{color:#697f8c;font-size:14px;line-height:1.45}
.dashboard-manager-details{margin-top:17px;border-top:1px solid #e2ebf0;padding-top:14px;color:#405767}
.dashboard-manager-details summary{cursor:pointer;font-size:17px;font-weight:600}
.dashboard-manager-scroll{margin-top:12px;overflow-x:auto}
.dashboard-manager-details table{width:100%;border-collapse:collapse;min-width:680px;font-size:15px}
.dashboard-manager-details th,.dashboard-manager-details td{padding:11px 12px;border-bottom:1px solid #edf1f4;text-align:right;font-variant-numeric:tabular-nums}
.dashboard-manager-details th:first-child{text-align:left}
.dashboard-manager-details p{font-size:14px;color:#718795}
.quick-panel .dashboard-panel-head{min-height:119px}
.quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:18px}
.quick-action{display:flex;flex-direction:column;justify-content:flex-start;gap:8px;min-height:150px;padding:22px 18px;border:0;border-radius:15px;text-align:left;text-decoration:none;cursor:pointer;font:inherit;transition:transform .16s,filter .16s}
.quick-action:hover{transform:translateY(-2px);filter:saturate(1.08)}
.quick-action .quick-icon{margin-bottom:9px}
.quick-action strong{font-size:23.8px;font-weight:600}
.quick-action span{color:#899aa8;font-size:18.2px;line-height:1.5}
.quick-blue{background:#edf5fc;color:#376c9a}.quick-green{background:#edf8f2;color:#408766}.quick-amber{background:#fff7e9;color:#ad791d}.quick-purple{background:#f4f1f8;color:#806e9c}
.panel{border-color:var(--line);border-radius:16px;padding:25px}
.panel h2{font-size:29.4px;color:#253842}
.panel p{color:#8596a3;font-size:19.6px}
.project-tabs{display:flex;gap:9px;margin-bottom:22px;padding-bottom:1px;border-bottom:1px solid var(--line)}
.project-tab{border:0;border-bottom:3px solid transparent;background:transparent;padding:13px 18px;color:#738a9b;font-size:22.4px;cursor:pointer}
.project-tab.active{border-color:#3273a0;color:#2a6795;font-weight:700}
.project-tab span{margin-left:5px;padding:2px 6px;background:#ecf3f7;border-radius:10px;font-size:16.8px}
.project-panel{margin-top:18px}
.project-panel-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.project-panel-head h2{margin:0}
.project-panel-head p{margin:9px 0 0}
.project-search{display:flex;align-items:center;gap:12px;margin:0 0 14px;min-width:0}
.project-search label{display:block;flex:none;color:#526d7a;font-size:19.6px;font-weight:650}
.project-search input{flex:1;min-width:0;max-width:620px;min-height:42px;border:1px solid #d7e1e5;border-radius:8px;background:#fff;padding:9px 12px;color:#30444e;font:inherit}
.project-search input:focus{border-color:#3273a0;outline:2px solid #cfe4f0;outline-offset:1px}
.project-search-count{margin-left:auto;color:#8497a5;font-size:18.2px;white-space:nowrap}
.ticket-search{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:20px 0 16px}
.ticket-search label{display:flex;flex-direction:column;gap:7px;color:#526d7a;font-weight:650}
.ticket-search input,.ticket-search select{min-height:44px;border:1px solid #d7e1e5;border-radius:8px;background:#fff;padding:8px 12px;color:#30444e;font:inherit}
.ticket-search input{width:min(540px,70vw)}
.ticket-search span{margin-left:auto;color:#8497a5;white-space:nowrap}
.ticket-search input:focus,.ticket-search select:focus{border-color:#3273a0;outline:2px solid #cfe4f0;outline-offset:1px}
.project-ledger .table-wrap table{min-width:1100px}
.customer-ledger .table-wrap table{min-width:850px}
.action-link{display:inline-block;text-decoration:none;white-space:nowrap}
.task-filters{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}
.task-filters button{border:1px solid #dce6ec;border-radius:20px;background:#fff;color:#6b8392;padding:8px 15px;cursor:pointer}
.task-filters button.active{border-color:#c7dfea;background:#eaf4f9;color:#2f6d97}
.list-preview-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 4px 0;color:#8497a5;font-size:18.2px}
.list-preview-toggle{border:1px solid #d6e4ec;border-radius:9px;background:#edf5fa;color:#2b668f;padding:8px 14px;font:600 18.2px/1.4 "Microsoft YaHei",sans-serif;cursor:pointer}
.list-preview-toggle:hover{background:#e2f0f8;border-color:#a9cfdf}
button:focus-visible,a:focus-visible{outline:2px solid #2e83b7;outline-offset:2px}
@media(max-width:1250px){.dashboard-columns{grid-template-columns:1fr}.quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.attention-card{padding:23px}.topbar{padding-inline:28px}.content-shell{padding-inline:28px}}
@media(max-width:1250px){.dashboard-insights-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1250px){.dashboard-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1700px){.sidebar .brand{margin-right:0;gap:10px;font-size:29.4px}.brand-mark{width:44px;height:44px;font-size:35px}}
@media(max-width:1000px){:root{--sidebar-width:290px}.sidebar{padding-inline:12px}.sidebar .brand{margin-left:7px;font-size:29.4px;gap:10px}.brand-mark{width:44px;height:44px;font-size:35px}.sidebar #nav button,.sidebar #nav a{font-size:21px;gap:11px}.content-shell{padding-top:34px}.page-heading h1{font-size:47.6px}}
@media(max-width:760px){body{display:block}.sidebar{position:static;width:100%;max-height:none;padding:15px 18px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{margin:0 0 15px}.sidebar .seat{display:none}#nav{display:flex;gap:18px;overflow-x:auto}.nav-group{display:flex;gap:5px;flex:none;margin:0}.nav-label{display:none}.sidebar #nav button,.sidebar #nav a{width:auto;min-height:42px;white-space:nowrap;padding:8px 10px}.nav-icon{width:18px;height:18px}.main-area{margin-left:0;width:100%}.topbar{height:auto;min-height:65px;padding:12px 18px;flex-wrap:wrap}.topbar-right{gap:5px}.content-shell{padding:27px 18px 45px}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:27px}.page-heading h1{font-size:42px}.page-heading p{font-size:21px}.attention-cards{grid-template-columns:1fr;gap:10px}.attention-card{min-height:125px}.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-panel-head,.focus-ticket{padding:19px}.focus-ticket{min-height:100px}.project-tabs{overflow-x:auto}.project-tab{white-space:nowrap}}
@media(max-width:470px){.quick-grid{grid-template-columns:1fr 1fr}.quick-action{min-height:130px;padding:15px}.attention-bottom b{font-size:47.6px}.attention-top strong{font-size:22.4px}.topbar-right{width:100%;justify-content:flex-start}.focus-ticket strong{font-size:19.6px}.focus-end{max-width:90px}.focus-badge{font-size:15.4px;padding:5px 7px}}
@media(max-width:470px){.dashboard-insights{padding:18px}.dashboard-insights-grid{grid-template-columns:1fr}.dashboard-insight strong{font-size:25px}}
@media(max-width:600px){.dashboard-portal-head{align-items:flex-start;flex-direction:column}.dashboard-module-grid{grid-template-columns:1fr;gap:10px}.dashboard-module{min-height:135px;padding:18px}.dashboard-module-bottom strong{font-size:22px}}
@media(max-width:600px){.project-search{flex-wrap:wrap}.project-search input{order:2;flex-basis:100%;max-width:none}.project-search-count{order:1}}
html{font-size:140%}
.brand-mark{background:#fff url('/brand/assets/zonyea-mark.png') center/cover no-repeat;border-radius:50%;font-size:0}
.page-title-row{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.dashboard-greeting{display:inline-flex;align-items:center;padding:8px 18px;border-radius:999px;background:#fff4ef;color:#b34b5a;font-family:"KaiTi","STKaiti","Microsoft YaHei",sans-serif;font-size:25.2px;font-weight:700;letter-spacing:.02em;box-shadow:0 3px 12px #c45d6a12}
.dashboard-greeting[hidden]{display:none}
.attention-card{text-decoration:none;font:inherit}
.attention-placeholder{cursor:default;opacity:.72}
.attention-placeholder:hover{transform:none;box-shadow:none}
.attention-card.oa{background:#eef8f2;border-color:#d5e8db;color:#277252}
@media(max-width:760px){.page-title-row{gap:10px}.dashboard-greeting{font-size:21px;padding:6px 13px}}

/* 项目登记弹窗：充分利用桌面宽度，控件在窄屏内收缩而不产生横向滚动。 */
#projectDialog{width:min(960px,calc(100vw - 32px));max-width:none;max-height:90dvh;overflow-x:hidden;overflow-y:auto;padding:30px}
#projectDialog form,#projectDialog .grid,#projectDialog .grid>label{min-width:0}
#projectDialog .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px}
#projectDialog h2{margin:0 0 24px;color:#193342;font-size:29px;line-height:1.35}
#projectDialog label{font-size:19px;line-height:1.45}
#projectDialog input,#projectDialog select{display:block;width:100%;min-width:0;min-height:51px;padding:10px 13px;font-size:18px;color:#243d4d}
#projectDialog footer{margin-top:26px}
#projectDialog footer button{min-height:46px;padding:10px 20px;font-size:17px}
@media(max-width:620px){#projectDialog{width:calc(100vw - 24px);padding:22px 18px}#projectDialog .grid{grid-template-columns:minmax(0,1fr);gap:15px}#projectDialog .grid>.wide{grid-column:auto}#projectDialog h2{font-size:25px;margin-bottom:18px}#projectDialog label{font-size:17px}#projectDialog input,#projectDialog select{font-size:16px;min-height:46px}}
.page-heading #subtitle{display:none}
