.personnel-accounting-tabs{display:flex;gap:.5rem;border-bottom:1px solid var(--line,#dce3e6);padding-bottom:.75rem;margin:1rem 0;overflow:auto}
.personnel-accounting-tabs button{white-space:nowrap;flex:1}
.personnel-accounting-tabs [aria-selected="true"]{background:var(--ink,#173b31);color:white;border-color:var(--ink,#173b31)}
#editor.has-time-accounting{width:min(920px,calc(100vw - 2rem));max-width:920px}
#timeAccountingPanel[hidden],#editForm[hidden]{display:none!important}
.time-accounting-form{display:grid;gap:1rem}
.time-accounting-form>label,.time-accounting-form fieldset{margin:0}
.accounting-switches{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}
.accounting-switch{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:.75rem;padding:.9rem;border:1px solid var(--line,#dce3e6);border-radius:12px;margin:0!important;background:var(--paper,#fff)}
.accounting-switch input{width:1.15rem!important;height:1.15rem;margin:.12rem 0 0;flex:none;accent-color:var(--ink,#173b31)}
.accounting-switch span{display:grid;gap:.35rem}
.accounting-switch small{font-size:.83rem;line-height:1.45;color:var(--muted,#68786e)}
.accounting-disabled{opacity:.6}
.accounting-preview{padding:1rem;border:1px solid var(--line,#dce3e6);border-radius:12px}
.accounting-preview legend{font-weight:700;padding:0 .35rem}
.accounting-example-times{display:grid;grid-template-columns:repeat(4,1fr);gap:.65rem}
.accounting-example-times input{min-width:0;width:100%}
#timeAccountingExample{margin-top:.8rem}
.accounting-example-values{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:.6rem;margin:.75rem 0 0}
.accounting-example-values div{background:var(--surface,#f4f7f4);border-radius:8px;padding:.7rem}
.accounting-example-values dt{font-size:.8rem;color:var(--muted,#68786e)}
.accounting-example-values dd{margin:.3rem 0 0;font-weight:700}
.accounting-history-details{margin-top:1rem;padding:1rem;border:1px solid var(--line,#dce3e6);border-radius:12px}
.accounting-history-details summary{font-weight:700;cursor:pointer}
.accounting-history{padding-left:1.2rem}
.accounting-history li{padding:.5rem 0}
.accounting-history small{display:block;color:var(--muted,#68786e);margin-top:.3rem}
.accounting-history p{margin:.3rem 0}
.accounting-queue{margin-top:1.5rem;border-top:1px solid var(--line,#dce3e6);padding-top:1rem}
.accounting-extra{margin:.75rem 0}
.accounting-extra .heading{gap:1rem;align-items:flex-start;flex-wrap:wrap}
.accounting-extra h4{margin:0}
.accounting-extra p{overflow-wrap:anywhere}
.accounting-extra .accounting-extra-result{color:var(--danger,#a12c34)}
@media(max-width:600px){#editor.has-time-accounting{width:calc(100vw - 1rem);padding:1rem}.accounting-switches{grid-template-columns:1fr}.accounting-example-times{grid-template-columns:1fr 1fr}.personnel-accounting-tabs{gap:.3rem}.personnel-accounting-tabs button{font-size:.83rem;white-space:normal}}
