.service-board{margin:32px 0}.service-heading,.service-controls,.service-toolbar,.child-card header,.child-numbers{display:flex;gap:20px;justify-content:space-between;align-items:center}.service-heading h1{font-size:40px;margin:8px 0}.service-heading p:first-child{letter-spacing:3px;font-size:12px;color:#537669}.service-controls{justify-content:flex-start;align-items:end;flex-wrap:wrap;margin:24px 0}.service-controls label{flex:1;min-width:145px}.service-controls input,.service-controls select{width:100%}#service-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}#service-stats>div{border:1px solid #d6e1d9;padding:22px;border-radius:16px;background:white}#service-stats strong{display:block;font-size:34px;margin-top:12px}#service-stats small{font-size:13px;color:#6c786f}.service-toolbar{margin-top:26px;flex-wrap:wrap}.board-note,.child-meta,.child-card footer{font-size:13px;color:#657369;line-height:1.65}#child-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:18px;margin:20px 0}.child-card{background:#fff;border:1px solid #dce3dc;border-top:5px solid #91a69b;border-radius:16px;padding:22px;min-width:0}.child-card.urgent{border-top-color:#bc4343;background:#fff7f5}.child-card.warning{border-top-color:#d48a24;background:#fffbf1}.child-card.watch{border-top-color:#c3a54d}.child-card.good{border-top-color:#36745c}.child-card header label{display:flex;gap:8px;align-items:center}.child-card input[type=checkbox],.service-toolbar input[type=checkbox]{width:18px;min-width:18px;height:18px}.customer-badge{font-size:12px;white-space:nowrap;background:#edf2ed;padding:5px 9px;border-radius:20px}.risk-label{font-size:13px;margin:16px 0}.child-numbers span{font-size:12px;color:#66746b}.child-numbers strong{display:block;font-size:29px;color:#263e32}.child-numbers small{font-size:12px}.coverage-bar{display:flex;height:12px;position:relative;background:#e9eeea;border-radius:8px;margin:22px 0 8px;overflow:hidden}.coverage-bar i{background:#2c6851;height:100%}.coverage-bar i+i{background:#9ac4ac}.coverage-bar em{position:absolute;height:100%;border-left:2px solid #ab6d15}.child-card footer{border-top:1px solid #e4e9e3;padding-top:12px}.service-board details label{display:block;margin-top:14px}.empty-board{padding:35px;background:#fff;border:1px dashed #b8c9bd;grid-column:1/-1;border-radius:16px}#chase-text{width:100%;margin:15px 0}.service-board button{white-space:nowrap}@media(max-width:700px){#service-stats{grid-template-columns:repeat(2,1fr)}.service-heading{align-items:start;flex-direction:column}.service-heading h1{font-size:30px}.management-main{padding:18px}.child-numbers{gap:12px}}

.child-card.excess{border-top-color:#4b77a6;background:#f3f8ff}.child-card.excess .risk-label{color:#355e87}

.service-board{margin:18px 0}.service-heading h1{font-size:32px}.service-heading p{margin:8px 0}.service-controls{margin:16px 0}.service-toolbar{margin-top:18px}#service-stats>div{padding:16px}#service-stats strong{font-size:28px;margin-top:7px}.board-note{margin:10px 0}#child-cards{margin:14px 0}

/* Dense child cards; isolate semantic header/footer from workspace chrome. */
#child-cards{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.service-board .child-card{padding:12px;border-top-width:3px;border-radius:10px}
.service-board .child-card header{height:auto;min-height:26px;padding:0;margin:0;border:0;background:transparent;gap:6px;font-size:13px;position:static}
.service-board .child-card header label{margin:0;min-width:0;gap:6px;line-height:1.4}
.service-board .child-card header b{overflow-wrap:anywhere}
.service-board .child-card input[type=checkbox]{width:16px;min-width:16px;height:16px;margin:0}
.service-board .child-card .customer-badge{padding:2px 6px;font-size:11px}
.service-board .child-card .risk-label{font-size:11px;line-height:1.4;margin:5px 0 8px}
.service-board .child-numbers{gap:8px}
.service-board .child-numbers span{font-size:11px;line-height:1.4}
.service-board .child-numbers strong{font-size:23px;line-height:1.3;margin-top:2px}
.service-board .child-numbers small{font-size:10px}
.service-board .child-card .coverage-bar{height:7px;margin:9px 0 5px}
.service-board .child-card .child-meta{font-size:11px;line-height:1.4;margin:4px 0 6px}
.service-board .child-card footer{padding:6px 0 0;margin:0;font-size:10px;line-height:1.4;background:transparent}
@media(max-width:500px){#child-cards{grid-template-columns:1fr}.service-board .child-card{padding:12px}}

.coverage-bar svg{display:block}.coverage-bar .single-bar{fill:#2c6851}.coverage-bar .multi-bar{fill:#9ac4ac}.coverage-bar line{stroke:#ab6d15;stroke-width:2}

.service-view-controls{display:flex;gap:16px;flex-wrap:wrap;margin:14px 0}.service-view-controls label{display:flex;align-items:center;gap:8px;font-size:13px}.service-view-controls select{padding:7px 10px}#child-cards.list-mode{display:block;overflow-x:auto}.child-table{width:100%;border-collapse:collapse;background:white;font-size:13px;white-space:nowrap}.child-table th,.child-table td{padding:10px 12px;border-bottom:1px solid #e4e9e3;text-align:right}.child-table th:first-child,.child-table td:last-child,.child-table td:nth-child(2){text-align:left}.child-table thead{background:#edf2ed;color:#52675b}.child-table label{display:flex;align-items:center;gap:8px;margin:0}.child-table input[type=checkbox]{width:16px;height:16px;min-width:16px;margin:0}.child-table .urgent{background:#fff0ed}.child-table .warning{background:#fff7e7}.child-table .watch td:last-child{color:#886a1c}.child-table .excess{background:#edf5ff}.child-table tr:hover{outline:1px solid #91a69b;outline-offset:-1px}

.customer-actions{background:#fff;border:1px solid #dce3dc;border-radius:12px;padding:16px;margin:16px 0}.customer-actions h2{font-size:17px;margin:0 0 12px}.class-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.customer-actions label{display:inline-flex;align-items:center;gap:8px;margin:10px 12px 10px 0}.customer-actions select{width:auto;min-width:130px}.customer-actions input[type=file]{width:250px}.customer-actions p{font-size:12px;color:#657369}.service-view-controls label{white-space:nowrap}

.excel-import{border-top:1px solid #dce3dc;margin-top:16px;padding-top:12px}.excel-import h3{font-size:16px}.import-scroll{overflow:auto;max-height:420px}.excel-import .child-table select{max-width:270px}.excel-import h4{margin:16px 0 8px}
