.cost-panel16{margin:16px 0;border:1px solid var(--line,#ddd);border-radius:14px;background:var(--panel,#fff);color:var(--text,#202434)}
.cost-panel16>summary{padding:18px;cursor:pointer;font-weight:600}.cost-body16{padding:0 18px 18px;display:grid;gap:16px}.summary16{display:grid;gap:8px;padding:16px;border-radius:12px;background:var(--soft,#f5f5f8)}.summary16>strong{font-size:26px;font-variant-numeric:tabular-nums}
.cost-lines16{max-height:360px;overflow:auto}.cost-row16{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:center;border-bottom:1px solid var(--line,#ddd);padding:12px 0;font-variant-numeric:tabular-nums}.cost-row16>span:first-child{overflow-wrap:anywhere}.muted16{font-size:13px;line-height:1.6;color:var(--muted,#677085)}.warning16{color:#935d05}.error16{color:#b42336;white-space:pre-wrap}.error16:empty{display:none}.form16{display:grid;gap:16px}.form16 input,.form16 textarea{box-sizing:border-box;max-width:100%;width:100%}.history16{margin-top:20px}.history-row16{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:12px 0;border-top:1px solid var(--line,#ddd)}
[data-theme=dark] .cost-panel16{background:#191c28;border-color:#343747;color:#eee}[data-theme=dark] .summary16{background:#222636}[data-theme=dark] .warning16{color:#edc16c}
@media(max-width:600px){.cost-row16{grid-template-columns:1fr auto;gap:8px}.cost-row16>span:first-child{grid-column:1/-1}.cost-panel16>summary{padding:14px}.cost-body16{padding:0 14px 14px}.form16 button{width:100%}}

/* Pending reviews: compact cards and distinct, restrained actions. */
#time-review28 .review28[data-time-id]{display:block;padding:18px;margin:14px 0;background:var(--ui-surface,#fff);border:1px solid #dcd7e8;border-radius:12px}
#time-review28 .review28[data-time-id] h3{margin:0 0 10px;font-size:16px}
#time-review28 .review28[data-time-id] p{margin:10px 0;line-height:1.5}
#time-review28 .review28[data-time-id]>button{display:inline-flex;width:auto;min-height:40px;margin:6px 8px 0 0;padding:9px 15px;border-radius:8px;background:#f1eef8;border:1px solid #d3c9e8;color:#4f367d;font-weight:600}
#time-review28 .review28[data-time-id]>button:first-of-type,.audit28 button,#attendance-requests-button{background:#e6def5;color:#432a72;border:1px solid #baa7da;font-weight:600}
#attendance-requests .correction-actions{display:flex;flex-wrap:wrap;gap:8px}
#attendance-requests .correction-actions button{width:auto;min-height:40px;margin:0;padding:9px 14px;border-radius:8px;background:#eee9f7;border:1px solid #c9bbdf;color:#4f367d;font-weight:600}
#attendance-requests .correction-actions button.primary{background:#69509f;color:#fff;border-color:#69509f}
#attendance-requests .correction-actions button.correction-danger{background:#fbefef;color:#9a343f;border-color:#e6bfc4}
#time-review28 button:hover,.audit28 button:hover,#attendance-requests-button:hover,#attendance-requests .correction-actions button:hover{filter:brightness(.95)}
[data-theme=dark] #time-review28 .review28[data-time-id]{background:#202231;border-color:#494057}
[data-theme=dark] #time-review28 .review28[data-time-id]>button,[data-theme=dark] .audit28 button,[data-theme=dark] #attendance-requests-button,[data-theme=dark] #attendance-requests .correction-actions button{background:#39304d;color:#eee5ff;border-color:#796392}
[data-theme=dark] #attendance-requests .correction-actions button.primary{background:#7556b2;color:#fff}
[data-theme=dark] #attendance-requests .correction-actions button.correction-danger{background:#432b32;color:#ffc4cb;border-color:#87525e}
@media(max-width:550px){#time-review28 .review28[data-time-id]>button,#attendance-requests .correction-actions button{flex:1 1 auto;min-height:44px}}
