:root{--ink:#17363e;--green:#17664e;--paper:#f3f5f3;--line:#dde5df;--muted:#687c78;--amber:#a56c11}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.6 'Microsoft YaHei',system-ui,sans-serif}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:0;border-radius:9px;padding:10px 18px;background:var(--green);color:white;font-weight:600}button:hover{filter:brightness(.94)}button.secondary{background:#eaf0ec;color:var(--ink)}button.danger{background:#fff0eb;color:#ad442e}button:disabled{opacity:.5;cursor:wait}a{color:var(--green)}.shell{display:grid;grid-template-columns:226px 1fr;min-height:100vh}.sidebar{background:#163c48;color:#e1ece6;padding:30px 23px;position:sticky;top:0;height:100vh}.brand-mark{display:inline-flex;width:37px;height:37px;align-items:center;justify-content:center;background:#cee0d5;color:var(--ink);border-radius:9px;font-weight:bold;font-size:22px}.brand{font-size:20px;margin:12px 0 3px}.en{font-size:10px;letter-spacing:2px;color:#9fb9b0}.nav{margin-top:36px;display:grid;gap:8px}.nav button{background:none;text-align:left;color:#b9cfc7;border:1px solid transparent;padding:13px 15px}.nav button.active{background:#28535b;color:white;border-color:#3b6568}.sidebar .person{position:absolute;bottom:24px;left:24px;right:24px;font-size:13px}.person small{display:block;color:#9fb9b0}.main{padding:38px 44px;min-width:0;max-width:1500px;width:100%}.topline{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:12px}h1{font-size:28px;letter-spacing:.5px;margin:0}h2{font-size:19px;margin:0 0 14px}h3{font-size:16px;margin:0 0 12px}.subtitle{color:var(--muted);margin:6px 0 0;font-size:13px}.panel,.metric{background:white;border:1px solid var(--line);border-radius:13px;padding:24px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:22px 0}.metric .n{font-size:32px;line-height:1.3;font-weight:650;margin-top:8px}.metric small{color:var(--muted)}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.toolbar input{flex:1;min-width:180px}.tasks{display:grid;gap:12px}.task{border:1px solid var(--line);border-radius:10px;padding:18px 20px;display:block;background:white;width:100%;color:var(--ink);text-align:left;cursor:pointer;font-weight:400}.task:hover{border-color:#94b5a3;box-shadow:0 3px 14px #163c4809}.task-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.task strong{font-size:16px}.task p{margin:11px 0;max-width:900px;white-space:pre-wrap}.task small{color:var(--muted)}.badge{display:inline-block;background:#eaf0ec;color:var(--green);padding:3px 10px;border-radius:30px;font-size:12px;white-space:nowrap}.badge.warn{background:#fbf1dd;color:#8b5d13}.badge.gray{background:#edf0f2;color:#687379}.empty{padding:58px 20px;text-align:center;color:var(--muted)}.empty .symbol{font-size:34px;color:#a4b9af;margin-bottom:12px}label{display:block;font-size:13px;font-weight:600;margin-bottom:14px}input,select,textarea{display:block;width:100%;background:white;color:var(--ink);border:1px solid #ccd7ce;border-radius:7px;padding:10px 12px;margin-top:6px;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #17664e10}textarea{min-height:95px;resize:vertical}input[type=checkbox]{display:inline;width:auto;margin:0 7px 0 0}input[type=file]{padding:8px;font-size:13px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:0 15px}.full{grid-column:1/-1}.help{font-size:12px;color:var(--muted);font-weight:400}.note{padding:12px 16px;border-radius:7px;background:#f1f5ef;color:#4c6558;font-size:13px;margin:15px 0}.warning{background:#fff5e2;color:#8b601b}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.section{margin-top:22px}.modal-bg{position:fixed;inset:0;z-index:20;background:#102f3d70;display:flex;align-items:flex-start;justify-content:center;padding:30px 15px;overflow:auto}.modal{width:min(900px,100%);background:var(--paper);border-radius:14px;padding:28px;box-shadow:0 20px 80px #122e4250}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.modal-head button{padding:6px 12px;font-size:19px}.facts{display:flex;gap:20px;flex-wrap:wrap;font-size:13px;color:var(--muted)}.source{background:#f4f6f3;border-left:3px solid #94b5a3;padding:15px;white-space:pre-wrap;font-size:13px;max-height:230px;overflow:auto}.timeline{font-size:13px;border-left:2px solid var(--line);padding-left:18px}.timeline p{margin:0 0 15px}.timeline small{color:var(--muted)}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th,td{padding:12px;text-align:left;border-bottom:1px solid var(--line)}th{color:var(--muted);font-weight:500}.login{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.login-story{background:#163c48;color:#e9f0e9;padding:12vh 7vw;display:flex;flex-direction:column;justify-content:center}.login-story h1{font-size:42px;line-height:1.45;margin:25px 0}.login-story p{color:#acc5b9;max-width:440px}.login-form{padding:60px;display:flex;flex-direction:column;justify-content:center;max-width:540px;width:100%;margin:auto}.login-form h2{font-size:25px}.qr{width:220px;height:220px;display:block;margin:18px auto}.qrbox{max-width:470px;text-align:center;margin:auto}.error{color:#a53b29;font-size:13px}#notice{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#17363e;color:white;border-radius:9px;padding:12px 22px;z-index:100;display:none;max-width:90vw}.loading{padding:50px;text-align:center;color:var(--muted)}.split{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.signedfile{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.small{font-size:12px}.checkline{font-weight:400;margin:8px 0}.nowrap{white-space:nowrap}@media(max-width:900px){.shell{grid-template-columns:1fr}.sidebar{height:auto;position:static;padding:18px 20px}.brand{display:inline;margin-left:10px}.en,.sidebar .person{display:none}.nav{display:flex;margin-top:15px;gap:4px;overflow:auto}.nav button{padding:9px 12px;white-space:nowrap}.main{padding:22px 18px}.stats{gap:8px}.metric{padding:13px}.metric .n{font-size:27px}.split{grid-template-columns:1fr}.login{grid-template-columns:1fr}.login-story{padding:30px;min-height:200px}.login-story h1{font-size:28px;margin:10px 0}.login-story p{display:none}.login-form{padding:30px}.grid3{grid-template-columns:1fr 1fr}.modal{padding:20px}.modal-bg{padding:10px}.topline{align-items:flex-start}h1{font-size:24px}.panel{padding:18px}.task-top{align-items:flex-start}.grid2{grid-template-columns:1fr}.toolbar{gap:8px}}

.module-context{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:23px;padding-bottom:16px;border-bottom:1px solid var(--line)}.module-context strong{color:var(--green)}.module-context span{font-size:12px;color:var(--muted)}body[data-system=low]{--green:#8a5b1b}body[data-system=low] .sidebar{background:#4f3d26}body[data-system=low] .nav button.active{background:#795a31;border-color:#a4824d}@media(max-width:900px){.module-context{gap:5px;align-items:flex-start;flex-direction:column}.nav{flex-wrap:wrap}}
.sidebar{display:flex;flex-direction:column}.sidebar .brand-mark{flex-shrink:0}.sidebar .nav{flex:1;min-height:0;overflow-y:auto;align-content:start;grid-auto-rows:max-content;margin-top:22px}.sidebar .person{position:static;flex-shrink:0;margin-top:18px}.sidebar .person .section{margin-top:12px}@media(max-width:900px){.sidebar{display:block;height:auto}.sidebar .nav{overflow:visible;display:flex;margin-top:15px}.sidebar .person{display:none}}

.nav .nav-link{display:block;color:#b9cfc7;text-decoration:none;border:1px solid transparent;border-radius:7px;padding:13px 15px;font-size:14px;font-weight:600;line-height:1.6}.nav .nav-link.active{background:#28535b;color:white;border-color:#3b6568}.nav .nav-link:hover{background:#ffffff12}.nav .nav-link:focus-visible{outline:2px solid #cee0d5;outline-offset:-3px}body[data-system=low] .nav .nav-link.active{background:#795a31;border-color:#a4824d}@media(max-width:900px){.nav .nav-link{padding:9px 12px;white-space:nowrap}}

.module-menu{border:1px solid #ffffff14;border-radius:9px;background:#ffffff04}.module-menu summary{cursor:pointer;padding:12px;font-size:14px;font-weight:650;color:#e1ece6;line-height:1.7}.module-menu[open] summary{border-bottom:1px solid #ffffff14}.module-subnav{padding:5px 7px 7px 16px;display:grid;gap:2px}.module-subnav .nav-link{padding:9px 11px;font-size:13px}.nav-system{display:block;text-decoration:none;color:#e1ece6;border-radius:8px;padding:12px;font-size:14px;font-weight:650}.nav-system.active{background:#28535b}.nav-divider{margin:15px 10px 2px;font-size:11px;letter-spacing:1px;color:#90aca3}.module-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:-5px 0 25px}.module-tabs a{text-decoration:none;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:#fff;padding:9px 15px;font-size:13px}.module-tabs a.active{background:var(--green);border-color:var(--green);color:#fff}.module-tabs a:hover{box-shadow:0 2px 8px #17363e10}.sidebar summary:focus-visible,.nav-system:focus-visible{outline:2px solid #cee0d5;outline-offset:-3px}@media(max-width:900px){.sidebar .nav{display:grid;grid-template-columns:1fr 1fr;gap:7px}.module-menu{min-width:0}.module-subnav{padding-left:8px}.nav-divider{grid-column:1/-1}.module-tabs a{padding:8px 10px}.sidebar .nav>.nav-link{padding:9px 12px}}


.download-button{display:inline-block;text-decoration:none;padding:12px 20px;border-radius:7px;background:var(--green);color:#fff;font-size:14px;font-weight:600}.download-button:hover{filter:brightness(.94)}.ledger-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:24px 0}.ledger-facts div{border-left:3px solid var(--line);padding-left:13px}.ledger-facts strong,.ledger-facts span{display:block;font-size:13px}.ledger-facts span{margin-top:8px;color:var(--muted)}@media(max-width:900px){.ledger-facts{grid-template-columns:1fr}}

.civil-section{border-top:1px solid var(--line);padding-top:20px;margin-top:6px}.civil-row{border:1px solid var(--line);border-radius:9px;background:#f7faf6;padding:18px;margin:13px 0}.civil-row-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}.civil-row-head button{padding:7px 11px;font-size:12px}.civil-row textarea{min-height:72px}.civil-row input[readonly]{background:#edf2eb;color:#52695b}@media(max-width:900px){.civil-row{padding:14px}.civil-row .grid3{grid-template-columns:1fr 1fr}}

/* Account, multiple crews and work classifications */
.tag-row{display:flex;gap:6px;flex-wrap:wrap}.work-tag{background:#e7f0ea;color:#245b3d;margin-top:6px}.dispatch-row{align-items:flex-end;margin:10px 0}.dispatch-row label{flex:1}.checkline input[type=checkbox]{flex:none;width:18px;height:18px}.actions{flex-wrap:wrap}

/* Task stages and printable confirmation forms. */
.metric-filter{color:var(--ink);display:flex;flex-direction:column;align-items:flex-start;text-align:left;font-weight:400;transition:border-color .15s,background .15s}.metric-filter .n{display:block}.metric-label{font-size:14px}.metric-hint{font-size:11px;color:var(--muted);margin-top:9px}.metric-filter:hover{filter:none;border-color:#8dac99;background:#f7faf6}.metric-filter.selected{border-color:var(--green);background:#e9f2ed;box-shadow:inset 0 0 0 1px var(--green)}.metric-filter.selected .metric-label,.metric-filter.selected .metric-hint{color:var(--green);font-weight:600}.metric-filter:focus-visible{outline:3px solid var(--green);outline-offset:3px}.task-list-count{margin:0 0 16px;font-weight:600;font-size:14px}.secondary-link{border:1px solid var(--line);border-radius:8px;padding:9px 14px;text-decoration:none;white-space:nowrap}.print-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:28px 0 10px}.print-preview-toolbar h2{margin:0}.confirmation-preview{overflow-x:auto;padding:4px 1px 24px}.print-guard{padding:40px 20px;text-align:center;border:1px dashed var(--line);color:var(--muted);background:#fff;border-radius:10px}.print-sheet{width:210mm;min-height:275mm;max-width:none;margin:0 auto 24px;padding:14mm;background:#fff;color:#161616;box-shadow:0 3px 20px #17363e12;font:12px/1.55 'Microsoft YaHei',sans-serif;overflow-wrap:anywhere}.confirmation-heading{text-align:center;padding:0 0 18px;border-bottom:2px solid #222;margin-bottom:20px}.confirmation-heading p{font-size:11px;letter-spacing:2px;margin:0 0 8px;color:#505050}.confirmation-heading h1{font-size:27px;letter-spacing:5px;margin:0 0 9px}.confirmation-heading div{font-size:11px;color:#505050}.print-sheet table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px;margin:0}.print-sheet th,.print-sheet td{border:1px solid #555;padding:9px 10px;color:#161616;vertical-align:top;word-break:break-word}.print-sheet th{font-weight:600;background:#f3f3f3}.confirmation-facts th{width:18%;text-align:center}.confirmation-facts td{width:32%}.confirmation-work{margin:20px 0;border:1px solid #555}.confirmation-work h2{margin:0;padding:8px 10px;border-bottom:1px solid #555;font-size:13px;background:#f3f3f3}.confirmation-work p{padding:11px 13px;margin:0;min-height:80px;white-space:pre-wrap}.confirmation-section-title{font-size:14px;margin:20px 0 9px}.confirmation-numbers th{text-align:center}.confirmation-numbers td{text-align:center;font-size:23px;font-weight:600;padding:14px}.confirmation-note{font-size:11px;color:#444;margin:12px 0}.confirmation-opinion{margin-top:22px;break-inside:avoid}.confirmation-opinion h2{font-size:13px;margin:0 0 7px}.confirmation-opinion div{height:27px;border-bottom:1px solid #999}.confirmation-signatures{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #555;margin-top:22px;break-inside:avoid}.confirmation-signatures section{padding:12px 10px;min-height:105px}.confirmation-signatures section+section{border-left:1px solid #555}.confirmation-signatures strong{font-size:12px}.confirmation-signatures p{margin:13px 0 0;font-size:11px;white-space:nowrap}.confirmation-footer{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;border-top:1px solid #aaa;padding-top:9px;margin-top:23px;font-size:9px;color:#555;break-inside:avoid}.confirmation-civil th{text-align:center}.confirmation-civil th:nth-child(1){width:7%}.confirmation-civil th:nth-child(2){width:27%}.confirmation-civil th:nth-child(3){width:21%}.confirmation-civil th:nth-child(4){width:10%}.confirmation-civil th:nth-child(5){width:12%}.confirmation-civil th:nth-child(6){width:23%}.confirmation-civil tr{break-inside:avoid}.confirmation-civil thead{display:table-header-group}.confirmation-civil td:nth-child(1),.confirmation-civil td:nth-child(4),.confirmation-civil td:nth-child(5){text-align:center}.confirmation-civil td{white-space:pre-wrap}
@media(max-width:650px){.stats{grid-template-columns:repeat(2,1fr)}.metric-filter .metric-hint{font-size:10px}.print-preview-toolbar{align-items:flex-start;flex-direction:column}.print-preview-toolbar button{width:100%}}
@media print{@page{size:A4 portrait;margin:12mm}.sidebar,.module-context,.module-tabs,#notice,.print-controls,.modal-bg{display:none!important}body{margin:0;background:#fff;color:#000}.shell{display:block;min-height:0}.main{padding:0;margin:0;max-width:none;width:auto}.confirmation-preview{padding:0;overflow:visible}.print-sheet{width:auto;min-height:0;margin:0;padding:0;border:0;box-shadow:none;break-after:page;page-break-after:always}.print-sheet:last-child{break-after:auto;page-break-after:auto}.print-sheet h1,.print-sheet h2,.print-sheet th{break-after:avoid}.confirmation-signatures,.confirmation-footer,.confirmation-numbers{break-inside:avoid}.print-guard{border:0;color:#000}.print-sheet *{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

.face-inputs {min-width:0;border:1px solid var(--line);border-radius:8px;padding:10px 14px 12px;margin:16px 0}
.face-inputs legend {font-weight:600;padding:0 5px}.face-inputs .grid3 {margin-bottom:6px}.historical-records{margin:8px 0}
.print-options { margin:18px 0; border:1px solid var(--line); border-radius:8px; padding:12px 15px }
.print-options summary { cursor:pointer; font-weight:600; color:var(--green) }
.print-options details { margin:14px 0 }
.print-options .grid3 { margin:10px 0 14px }
.print-options label { min-width:0 }
.print-options .print-check { display:flex; align-items:center; gap:9px }
.print-check input { width:auto; margin:0 }
.print-catalog-editor,.print-edit-scroll { overflow-x:auto; margin:10px 0; max-width:100% }
.print-catalog-editor table,.print-edit-scroll table { min-width:670px; width:100%; table-layout:fixed; border-collapse:collapse }
.print-catalog-editor :is(th,td),.print-edit-scroll :is(th,td) { white-space:normal; border:1px solid var(--line); padding:2px 3px; font-size:12px; text-align:center }
.print-catalog-editor input,.print-edit-scroll input { width:100%; min-width:0; padding:4px; font-size:13px }
.print-edit-scroll td button { padding:3px 6px }
.material-options[hidden] { display:none }
.official-sheet { width:210mm; min-height:297mm; padding:25.4mm 19.05mm; font:12pt/1.32 SimSun,'宋体',serif; background:white; color:#000; letter-spacing:normal; text-align:left }
.official-sheet h1,.official-sheet h2,.official-sheet p { color:#000; letter-spacing:normal }
.official-sheet h1 { font: bold 18pt/1.18 SimHei,'黑体',SimSun,serif; text-align:center; margin:0 0 3mm }
.official-sheet h2 { font:bold 13pt/1.4 SimSun,'宋体',serif; margin:5mm 0 1.5mm }
.official-sheet table { min-width:0; width:100%; table-layout:fixed; border-collapse:collapse; margin:0; color:#000; font-family:inherit }
.official-sheet :is(td,th) { background:white; border:0.22mm solid #000; padding:1mm; color:#000; text-align:center; vertical-align:middle; white-space:normal; overflow-wrap:anywhere; word-break:normal; line-height:1.14 }
.official-sheet th { font-weight:bold; position:static }
.official-sheet tr { break-inside:avoid }
.official-sheet :is(.official-id,.material-project) { font-size:11pt; margin:2mm 0 4mm; white-space:pre-line }
.official-sheet[data-print-page="confirmation"] h1 { font:bold 22pt/1.2 SimSun,'宋体',serif; margin:0; height:17.3mm; display:grid; place-items:center }
.official-sheet col { border:0 }
.official-face col:nth-child(1) { width:21% }
.official-face col:nth-child(2) { width:21% }
.official-face col:nth-child(3) { width:18.5% }
.official-face col:nth-child(4) { width:39.5% }
.official-quantities col:nth-child(1) { width:15% }
.official-quantities col:nth-child(2) { width:11% }
.official-quantities col:nth-child(3) { width:7.5% }
.official-quantities col:nth-child(4) { width:7.5% }
.official-quantities col:nth-child(5) { width:8.5% }
.official-quantities col:nth-child(6) { width:16% }
.official-quantities col:nth-child(7) { width:12.5% }
.official-quantities col:nth-child(8) { width:7% }
.official-quantities col:nth-child(9) { width:7% }
.official-quantities col:nth-child(10) { width:8% }
.official-materials col:nth-child(1) { width:7% }
.official-materials col:nth-child(2) { width:15% }
.official-materials col:nth-child(3) { width:42% }
.official-materials col:nth-child(4) { width:10% }
.official-materials col:nth-child(5) { width:12% }
.official-materials col:nth-child(6) { width:14% }
.official-civil col:nth-child(1) { width:6% }
.official-civil col:nth-child(2) { width:25% }
.official-civil col:nth-child(3) { width:20% }
.official-civil col:nth-child(4) { width:9% }
.official-civil col:nth-child(5) { width:12% }
.official-civil col:nth-child(6) { width:28% }
.official-face :is(th,td) { font-size:12pt }
.official-face td { padding:1.5mm 2mm }
.official-face .face-date { height:9.2mm; font-weight:bold }
.official-face .face-contacts { height:12.7mm }
.official-face .face-work { height:51mm }
.official-face .face-short { height:12.3mm }
.official-face .face-signature { height:27.4mm }
.official-face .face-work td,.official-face .face-signature td { text-align:left; line-height:1.35 }
.face-work-text,.official-fulltext { white-space:pre-wrap }
.face-work-text { font-weight:bold }
.face-leader { margin-top:3mm }
.sign-single { padding:8mm 1mm 0 }
.sign-pair { display:flex; flex-direction:column; justify-content:space-between; min-height:19mm }
.sign-end { float:right; margin-right:1mm }
.official-sheet[data-print-page="quantities"] h1 { margin:0 0 1.3mm; font-size:16.2pt }
.quantity-meta { font:bold 9pt/1.18 SimSun,'宋体',serif; margin:0 0 .7mm }
.quantity-meta p { margin:0 0 .7mm; white-space:pre-line }
.quantity-meta p:last-child { margin-bottom:0 }
.quantity-meta .quantity-date { text-align:center }
.official-quantities :is(th,td) { font-size:9pt; padding:.25mm .35mm }
.official-quantities tr { height:5.62mm }
.quantity-sign,.material-sign { display:flex; justify-content:space-between; gap:2mm; padding:2mm 0; font-size:9pt; break-inside:avoid }
.official-photo { display:block; width:100%; height:205mm; object-fit:contain; object-position:top center }
.official-fulltext { font:12pt/1.6 SimSun,'宋体',serif; margin:0; overflow-wrap:anywhere; orphans:2; widows:2 }
.official-civil :is(td,th) { font-size:11pt; padding:2.3mm 1mm; white-space:pre-wrap }
.official-civil :is(td:nth-child(2),td:nth-child(3),td:nth-child(6)) { text-align:left }
.official-materials tr { height:8.5mm }
.official-materials :is(th,td) { font-size:10pt; padding:.65mm }
.material-sign { font-size:10pt; justify-content:flex-start; gap:23mm }
@page repair-form { size:A4 portrait; margin:25.4mm 19.05mm }
@media print {
  .official-sheet { page:repair-form; min-height:0; width:auto; margin:0; padding:0; border:0; box-shadow:none }
  .official-sheet thead { display:table-header-group }
  .official-sheet:last-child { break-after:auto }
}


.field-stages { grid-template-columns:repeat(5,minmax(0,1fr)) }
.field-body { display:grid; gap:16px; margin:18px 0 }
.field-title,.field-checks { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px }
.field-title strong { font-size:20px }
.field-title p { margin:4px 0;color:var(--muted) }
.field-form fieldset,.field-review fieldset { border:0; border-bottom:1px solid var(--line); margin:0 0 16px; padding:0 0 16px;min-width:0 }
.field-form legend,.field-review legend { font-size:18px;font-weight:600;margin:0 0 12px }
.field-form .grid3,.field-review .grid3 { margin-bottom:10px }
.field-body .checkline,.field-body .field-checks label { display:flex;align-items:center;gap:8px }
.field-body .checkline input { width:auto }
.field-body .field-material { border:1px solid var(--line);border-radius:8px;padding:12px;margin:10px 0 }
.field-body [hidden] { display:none!important }
.field-body details>summary { color:var(--green);cursor:pointer;font-weight:600;padding:8px 0 }
.field-body .field-edit>summary { margin-bottom:6px }
.field-body .primary-link { color:white;background:var(--green);border-radius:7px;padding:8px 14px;text-decoration:none }
.field-review .field-checks {justify-content:flex-start;gap:10px 20px;margin:9px 0}
.work-shortcuts {margin:10px 0}
@media(max-width:850px){.field-stages {grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.field-stages {grid-template-columns:repeat(2,minmax(0,1fr))}.field-body .grid3 {grid-template-columns:1fr}.field-stages .metric {padding:10px}}

.work-shortcuts button[aria-pressed="true"] {background:var(--green);color:#fff}



.task-state-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0 18px}
.task-state-cards .metric{min-width:0;padding:14px 20px}
.task-state-cards .n small{font-size:12px;font-weight:400;margin-left:.55em;color:var(--muted)}
.intake-entry{display:flex;align-items:center;gap:14px;width:100%;padding:13px 18px;text-align:left;border:1px solid var(--line);border-radius:9px;background:var(--surface,#fff);color:var(--text,#17343b)}
.intake-entry span{font-size:13px;color:var(--muted)}.intake-entry b{margin-left:auto;white-space:nowrap}.intake-entry.selected,.intake-entry:hover{background:var(--soft,#eff6f3);border-color:var(--green);color:var(--green)}
.task-results-heading{display:flex;align-items:baseline;gap:12px;margin-bottom:14px}.task-results-heading h2,.review-overview h2{margin:0}
.queue-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 14px}.queue-tools input{flex:1 1 220px;width:auto;min-width:0}.queue-tools select{width:auto;max-width:100%}.queue-tools button{white-space:nowrap}
a.intake-row{display:block;text-decoration:none;color:inherit}.intake-row-footer,.related-task{display:flex;align-items:center;justify-content:space-between;gap:12px}.intake-row-footer>span{color:var(--green);font-size:13px;font-weight:600;white-space:nowrap}
.review-facts{display:flex;flex-wrap:wrap;gap:8px 25px;font-size:14px}.review-facts span,.related-task small{color:var(--muted)}.review-facts strong{color:var(--ink,#17343b)}.related-task small{display:block;margin-top:4px}.related-task+.related-task,.review-source+.review-source{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}
.review-note summary{cursor:pointer;font-weight:600}.review-note form{margin-top:12px}.intake-entry:focus-visible,.intake-row:focus-visible{outline:3px solid var(--green);outline-offset:2px}
@media(max-width:700px){.task-state-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.task-state-cards .metric{padding:10px 14px}.intake-entry{flex-wrap:wrap;gap:6px 10px}.intake-entry>span:first-of-type{flex-basis:100%;order:3}.queue-tools input{flex-basis:100%}.intake-row-footer,.related-task{align-items:flex-start;flex-wrap:wrap}}

.intake-item{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden}.intake-item>a.task{border:0;border-radius:0}.intake-item:focus-within{outline:2px solid var(--green);outline-offset:1px}.intake-related{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:7px 14px}.intake-related button{font-size:13px;padding:5px 10px}.intake-related small{color:var(--muted)}

.login-form .login-remember { display:flex; align-items:center; gap:8px; width:fit-content; cursor:pointer; margin:12px 0 4px; }
.login-form .login-remember input { margin:0; accent-color:var(--green, #17694e); }
.login-form .login-remember-hint { margin:0 0 12px; }

.paper-section { min-width:0; border:0; border-bottom:1px solid var(--line); margin:20px 0 16px; padding:0 0 16px; }
.paper-section legend { font-size:18px; font-weight:600; margin-bottom:10px; }
.work-choices { display:flex; gap:8px 24px; flex-wrap:wrap; margin:0 0 12px; }
.work-choices label,.materials-switch { display:flex; align-items:center; gap:8px; margin:3px 0; cursor:pointer; }
.work-choices input[type=radio],.materials-switch input[type=checkbox] { flex:none; width:18px; height:18px; margin:0; accent-color:var(--green); }
.work-line { display:grid; grid-template-columns:minmax(80px,.7fr) minmax(125px,2fr) minmax(105px,1.5fr) minmax(80px,.85fr) minmax(85px,1fr) auto; align-items:end; gap:10px; border-top:1px solid var(--line); padding:10px 0; }
.work-line label { min-width:0; margin:0; }.work-line label input,.work-line label select { margin:4px 0 0; }
.work-catalog { margin-top:12px; }.work-catalog summary { cursor:pointer; color:var(--green); }.work-catalog .print-catalog-editor {margin-top:8px;}
.paper-section [hidden] { display:none !important; }
.official-work-lines col:nth-child(1) {width:7%}.official-work-lines col:nth-child(2){width:9%}.official-work-lines col:nth-child(3){width:28%}.official-work-lines col:nth-child(4){width:24%}.official-work-lines col:nth-child(5){width:14%}.official-work-lines col:nth-child(6){width:18%}
.official-work-lines :is(td,th) { font-size:10.5pt; padding:2mm 1mm; overflow-wrap:anywhere; }
.official-work-lines :is(td:nth-child(3),td:nth-child(4)) { text-align:left; white-space:pre-wrap; }
.official-work-lines :is(.work-number,.work-number-long) { white-space:nowrap; }
.official-work-lines .work-number-long { font-size:7pt; }
@media screen and (max-width:1000px) { .work-line { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media screen and (max-width:650px) { .work-line { grid-template-columns:repeat(2,minmax(0,1fr)); }.work-choices { gap:7px 16px; } }

.own-mode-bar{display:flex;flex-wrap:wrap;gap:.45rem;margin:.65rem 0 1rem}
.own-mode-bar button[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--accent,#17654e)}
.own-mode-panel,.own-review,.own-submit{display:grid;gap:.85rem}
.own-mode-panel h2,.own-mode-panel h3,.own-mode-panel p{margin:0}
.own-mode-panel h2{font-size:1.15rem}
.own-mode-panel h3{font-size:1rem}
.own-mode-panel .own-counts{max-width:46rem}
.own-mode-panel .checkline{display:flex;align-items:center;gap:.55rem}
.own-mode-panel .checkline input{width:auto;margin:0}
.own-file,.own-summary .signedfile{display:flex;align-items:center;justify-content:space-between;gap:.75rem;overflow-wrap:anywhere}
.own-summary>*+*,.own-line,.own-detail-rows section,.own-replace form{margin-top:.75rem}
.own-mode-panel details>summary{cursor:pointer;font-weight:600;padding:.45rem 0}
.own-submit fieldset{min-width:0;border:1px solid #c8d6ce;border-radius:8px}
.own-ocr,.own-line{padding:.75rem;border:1px solid #d5e1da;border-radius:8px}
.own-line button{margin-top:.55rem}
.own-hidden{display:none!important}
@media(max-width:600px){.own-mode-bar{display:grid;grid-template-columns:1fr 1fr}.own-mode-bar button{white-space:normal}.own-mode-panel .grid3{grid-template-columns:1fr}.own-mode-panel .own-counts{grid-template-columns:repeat(3,minmax(0,1fr))}.own-counts input{min-width:0}}


.filing-table{width:100%;border-collapse:collapse}.filing-table td,.filing-table th{text-align:left;padding:.65rem .7rem;border-bottom:1px solid #d5e2dc;vertical-align:top}.filing-table th{color:#fff;background:#18565a}.filing-table td:nth-child(2){font-weight:700}.filing-orders{overflow-wrap:anywhere}.filing-archive a{margin-right:.7rem}.filing-section .actions{align-items:center}.filing-section header p{margin:.4rem 0}.filing-section a{overflow-wrap:anywhere}@media(max-width:620px){.filing-table td,.filing-table th{padding:.4rem .3rem}.filing-table th:nth-child(1){min-width:4em}.filing-table th:nth-child(2){width:4.5em}.filing-orders{font-size:.88rem}}
