.profile-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.profile-actions button:not(.primary){border:1px solid var(--line);background:var(--surface-alt);color:var(--ink);border-radius:7px;padding:6px 10px}
.entry-card input{width:100%}
.entry-card #entry-error{margin:0}
.workspace-search{width:min(36rem,calc(100vw - 2rem))}
.workspace-search .search-results{display:grid;gap:.4rem;margin:.6rem 0;max-height:45vh;overflow:auto}
.workspace-search .search-results button{text-align:left;min-height:2.75rem}
#workspace-search-open{align-self:end;min-height:2.75rem}
.table-wrap:has(tbody tr:nth-child(18)){max-height:min(65vh,38rem);overflow:auto}
.table-wrap:has(tbody tr:nth-child(18)) th{position:sticky;top:0;z-index:1;background:var(--surface)}
.pending-notices div[data-rows]{display:grid;gap:.5rem;margin-block:1rem}
.pending-notices div[data-rows] button{text-align:left}
.month-grid{max-height:66vh;overflow:auto;border:1px solid var(--line);border-radius:10px}
.month-grid table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0}
.month-grid td,.month-grid th{padding:.5rem}
.month-grid th:first-child{position:sticky;left:0;background:var(--surface);z-index:2;min-width:8rem}
.month-grid thead th{position:sticky;top:0;z-index:3;background:var(--surface)}
.month-grid thead th:first-child{z-index:4}
.month-grid td input{width:7rem;padding:.4rem}
.month-grid td input:focus{outline:2px solid var(--accent);outline-offset:2px}
.accounting-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:1rem;align-items:end;margin-block:1rem}
.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0}
#content:has(#admin-feedback)>section.panel+section.panel{margin-top:14px}
.admin-grid .panel{min-width:0}
#admin-feedback{color:var(--notice-ink)}
#password-dialog{max-width:min(480px,calc(100% - 24px));width:100%}
#password-error{color:var(--error-ink)}
#admin-create,#admin-grant,#admin-reset,#admin-settings,#password-form{display:grid;gap:12px}
#admin-create label,#admin-grant label,#admin-reset label,#admin-settings label,#password-form label{display:grid;gap:6px;min-width:0}
.admin-grid select,.admin-grid input,#admin-reset input,#admin-reset select{min-width:0;width:100%}
@media(max-width:760px){.admin-grid{grid-template-columns:1fr}#admin-reset .two,#admin-settings .two{grid-template-columns:1fr}}
