#office-view .section-intro{flex-wrap:wrap}
#office-view #office-content{min-width:0}
.office-sheet{max-width:100%;overflow:auto;overscroll-behavior-inline:contain;border:1px solid #b8c9e8;border-radius:16px;background:#fcfdfff0;box-shadow:var(--ice-shadow)}
.office-sheet table{width:100%;min-width:810px;border-collapse:separate;border-spacing:0;font-size:.89rem}
.office-sheet caption{text-align:left;background:#f8fbff;padding:14px 15px;font-size:1.03rem}
.office-sheet caption span{font-size:.84rem;color:var(--muted);margin-left:14px;font-weight:500}
.office-sheet :is(th,td){padding:10px 12px;border-right:1px solid #cddaf0;border-bottom:1px solid #cddaf0;vertical-align:middle;text-align:left;white-space:normal}
.office-sheet tr>:last-child{border-right:0}
.office-sheet thead th{background:#cbdff5;color:#182651;white-space:nowrap}
.office-sheet tbody th{background:transparent;min-width:165px;overflow-wrap:anywhere}
.office-sheet tbody tr:nth-child(even){background:#edf4ff90}
.office-sheet tbody tr:hover{background:#e8f0ff}
.office-sheet .office-money{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.office-sheet .office-index{text-align:center;width:48px;color:var(--muted)}
.office-sheet .office-note{min-width:145px;max-width:290px;white-space:pre-wrap;overflow-wrap:anywhere;color:#455778}
.office-sheet tbody td:last-child{min-width:102px;overflow-wrap:anywhere}
.office-sheet tfoot :is(th,td){background:#d5ebcf;border-bottom:0;border-color:#b6d2b0;color:#214331;font-weight:750}
.office-sheet .office-empty{text-align:center;padding:27px 12px;color:var(--muted)}
.office-edit{padding:0;border:0;background:transparent;text-align:left;font-weight:730;overflow-wrap:anywhere;color:#293c98}
.office-edit:hover{text-decoration:underline}
.office-source{display:block;min-height:24px;font-size:.76rem;text-align:left;padding:0;color:#4356a7;white-space:normal}
.office-status{display:inline-block;padding:4px 9px;border-radius:999px;background:#e7edf4;color:#4e6076;font-weight:700;font-size:.76rem;white-space:nowrap}
.office-status[data-status=paid]{background:#dcefe3;color:#20573a}
.office-status[data-status=unpaid]{background:#fae2e5;color:#812d3d}
.office-status[data-status=partial]{background:#faecd4;color:#714c0b}
#office-status-message:empty{display:none}
.office-sheet :is(th,td){border-color:#b3c3da}
.office-sheet thead th{background:#a8c9e7;color:#142842;text-align:center}
.office-sheet tfoot :is(th,td){background:#a9ce94;color:#182f20;border-color:#96ba83}
.office-sheet tbody tr:nth-child(even){background:#f5f9fd}
#workspace #office-view .office-sheet select.office-status{display:block;width:100%;min-width:145px;min-height:36px;padding:4px 10px;border-color:transparent;background-color:#e5ebf3;color:#435671;font:inherit}
#workspace #office-view .office-sheet select.office-status[data-status=paid]{background-color:#176a50;color:#fff}
#workspace #office-view .office-sheet select.office-status[data-status=unpaid]{background-color:#f7d8d9;color:#812d3d}
#workspace #office-view .office-sheet select.office-status[data-status=partial]{background-color:#faecd4;color:#714c0b}
.office-sheet .office-note{font-style:italic}
.office-payer{display:inline-block;padding:4px 8px;border-radius:999px;background:#dcecf8;color:#244771}
.office-unit-hint{margin:8px 1px 13px;color:var(--muted);font-size:.78rem}
#office-months{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:2px;padding:4px;border:1px solid #bdcce9;border-radius:12px;background:#e8efffc9}
#office-months button{border:0;border-radius:8px;background:transparent;color:#334880;padding:6px 2px;font-size:.8rem;min-height:44px;white-space:nowrap}
#office-months button:hover{background:#f4f7ff}
#office-months button[aria-current=date]{background:var(--ice-action);color:#fff;font-weight:750}
.office-year{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:10px;color:var(--muted);font-size:.86rem}
#office-year{width:94px;min-height:44px}
#office-view .office-sheet table{font-size:18px;line-height:1.25}
#office-view .office-sheet thead th{padding-block:13px;background:linear-gradient(155deg,#dce5ff,#c8d7fa);color:#1f3478;font-size:14px;font-weight:650;border-right-color:#f3f6ff;border-bottom:2px solid #8fa6e2}
#office-view .office-sheet tfoot :is(th,td){font-size:18px;font-weight:400}
#office-view .office-sheet tbody :is(th,td){padding-block:4px}
#office-view .office-sheet tbody :is(th,td,button,input,select,textarea,.office-status){font:inherit;font-weight:400}
#office-view .office-sheet .office-note{font-style:normal;color:#344868}
.office-row-name{display:flex;gap:8px;align-items:center;justify-content:space-between}
.office-row-name .office-edit{min-height:32px;color:#233969;text-decoration:underline;text-decoration-color:#aabbe1;text-underline-offset:3px}
#office-view .office-sheet .office-source{font-size:.85rem}
.office-delete{min-width:30px;min-height:30px;padding:0;border:1px solid #ced9ed;background:#f9fbff;color:#8b3046;border-radius:8px}
.office-delete:hover{background:#fbe4ea;border-color:#e9bcca}
.office-editing{background:#eaf0ff!important}
#office-view .office-sheet .office-editing :is(input,select,textarea){width:100%;min-width:88px;border:1px solid #adbee8;border-radius:7px;background:#fff;min-height:38px;padding:6px 8px}
.office-editing textarea{resize:vertical}
.office-row-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
#office-view .office-sheet .office-row-actions button{min-height:36px;padding:5px 9px;font-size:.85rem}
.office-row-actions button:first-child{background:#3c4eba;border-color:#3c4eba;color:#fff}
#workspace #office-view .office-sheet select.office-status{min-height:32px;padding-block:2px}

@media(max-width:1000px){#office-months{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:560px){#office-months{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(pointer:coarse){.office-delete{min-width:44px;min-height:44px}.office-row-name .office-edit,#workspace #office-view .office-sheet select.office-status{min-height:44px}}
