/* 中文说明：总开关与排班入口共占一个导航格，隐藏时不留空位。 */
.ratio-admin-nav{display:flex;flex-direction:column;justify-content:flex-end;gap:4px;min-width:0;}
.ratio-admin-nav[hidden]{display:none;}
.ratio-admin-nav>button{width:100%;}
.tabs .ratio-limit-switch{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px;padding:4px 2px;font-size:11px;letter-spacing:0;background:var(--color-surface);color:var(--color-text-secondary);border-color:var(--color-border);}
.tabs .ratio-limit-switch[aria-checked="true"]{background:var(--color-primary);color:var(--color-text-inverse);border-color:var(--color-primary);}
.tabs .ratio-limit-switch:hover:not(:disabled){border-color:var(--color-primary);}
.tabs .ratio-limit-switch[aria-checked="true"]:hover:not(:disabled){background:var(--color-primary-hover);}
.tabs .ratio-limit-switch:focus-visible{outline:3px solid var(--color-focus-ring);outline-offset:2px;}
.tabs .ratio-limit-switch:disabled{cursor:not-allowed;}

/* 中文说明：完整统计全屏去留白，24列表格拉宽 */
.care-wrap{width:100%;max-width:none;overflow-x:auto;}
/* 中文说明：修正：不再强制2400px，改为自适应全屏铺满，无横向滑动条 */
.care-table{min-width:0;width:100%;table-layout:fixed;}
.care-table th,.care-table td{white-space:normal;word-break:break-word;padding:4px 4px;font-size:12px;text-align:center;}
.care-table input{width:44px;max-width:100%;padding:2px 2px;font-size:12px;text-align:center;background:transparent;border:1px solid transparent;}
/* 中文说明：底色全覆盖，输入框透明，颜色中间不能有空缺白块 */
.care-table tbody td{padding:0;}
.care-table tbody td input{width:100%;height:100%;min-height:28px;border:0;border-radius:0;background:transparent;display:block;}
.care-table tbody td input:focus{background:#fff;}
.care-table .sticky{position:sticky;left:0;background:#fff;z-index:1;min-width:56px;}
/* 中文说明：完整统计卡片铺满，去掉两侧留白 */
.card{max-width:none;width:100%;}
/* 中文说明：电脑版最小1180最大1320，手机版保持520不变 */
@media(min-width:761px){
.wrap{width:100% !important;min-width:1180px !important;max-width:1320px !important;}
}
/* 中文说明：总数列锁死右侧 همیشه可见，表头换行显示全 */
.care-table thead tr:first-child th:last-child,.care-table thead tr th:last-child{white-space:normal;word-break:break-word;min-width:64px;}
.care-table tbody td:last-child,.care-table thead th:last-child{position:sticky;right:0;z-index:2;}
/* 中文说明：2色轮换：白色+浅绿，无灰色；表头两行同色整块铺满 */
.care-table thead th{white-space:nowrap;font-weight:700;background:#fff;}
.care-table thead tr:first-child th:nth-child(2){background:#fff;}
.care-table thead tr:first-child th:nth-child(3){background:#D9EDDF;}
.care-table thead tr:first-child th:nth-child(4){background:#fff;}
.care-table thead tr:first-child th:nth-child(5){background:#D9EDDF;}
.care-table thead tr:first-child th:nth-child(6){background:#fff;}
.care-table thead tr:first-child th:nth-child(7){background:#D9EDDF;}
.care-table thead tr:first-child th:nth-child(8){background:#fff;}
.care-table thead tr:first-child th:nth-child(9){background:var(--color-primary,#28544d);color:#fff;}
/* 中文说明：第二行小标题跟随大类同色，文字行也铺满，无空缺 */
.care-table thead tr:last-child th:nth-child(1),.care-table thead tr:last-child th:nth-child(2),.care-table thead tr:last-child th:nth-child(3){background:#fff;}
.care-table thead tr:last-child th:nth-child(4),.care-table thead tr:last-child th:nth-child(5),.care-table thead tr:last-child th:nth-child(6){background:#D9EDDF;}
.care-table thead tr:last-child th:nth-child(7),.care-table thead tr:last-child th:nth-child(8),.care-table thead tr:last-child th:nth-child(9){background:#fff;}
.care-table thead tr:last-child th:nth-child(10),.care-table thead tr:last-child th:nth-child(11),.care-table thead tr:last-child th:nth-child(12),.care-table thead tr:last-child th:nth-child(13),.care-table thead tr:last-child th:nth-child(14){background:#D9EDDF;}
.care-table thead tr:last-child th:nth-child(15),.care-table thead tr:last-child th:nth-child(16),.care-table thead tr:last-child th:nth-child(17){background:#fff;}
.care-table thead tr:last-child th:nth-child(18),.care-table thead tr:last-child th:nth-child(19),.care-table thead tr:last-child th:nth-child(20){background:#D9EDDF;}
.care-table thead tr:last-child th:nth-child(21),.care-table thead tr:last-child th:nth-child(22),.care-table thead tr:last-child th:nth-child(23){background:#fff;}
.care-table tbody td{background:#fff;}
.care-table tbody td:nth-child(2),.care-table tbody td:nth-child(3),.care-table tbody td:nth-child(4){background:#fff;}
.care-table tbody td:nth-child(5),.care-table tbody td:nth-child(6),.care-table tbody td:nth-child(7){background:#D9EDDF;}
.care-table tbody td:nth-child(8),.care-table tbody td:nth-child(9),.care-table tbody td:nth-child(10){background:#fff;}
.care-table tbody td:nth-child(11),.care-table tbody td:nth-child(12),.care-table tbody td:nth-child(13),.care-table tbody td:nth-child(14),.care-table tbody td:nth-child(15){background:#D9EDDF;}
.care-table tbody td:nth-child(16),.care-table tbody td:nth-child(17),.care-table tbody td:nth-child(18){background:#fff;}
.care-table tbody td:nth-child(19),.care-table tbody td:nth-child(20),.care-table tbody td:nth-child(21){background:#D9EDDF;}
.care-table tbody td:nth-child(22),.care-table tbody td:nth-child(23),.care-table tbody td:nth-child(24){background:#fff;}
.care-table tbody td:nth-child(25){background:var(--color-primary,#28544d);color:#fff;font-weight:700;}
.care-table tbody td:nth-child(25) b{color:#fff;}
/* 中文说明：完整统计组间分界线，深绿赭橙循环1px，只分段，不表达业务含义 */
.care-table tbody tr.care-row-a td{border-bottom:1px solid var(--color-primary,#28544D);}
.care-table tbody tr.care-row-a:first-child td{border-top:2px solid var(--color-primary,#28544D);}
.care-table tbody tr.care-row-b td{border-bottom:1px solid var(--color-warning,#B45309);}
