* { box-sizing: border-box; }
:root {
  color-scheme: light;
  --ink: #1d312d;
  --muted: #596961;
  --line: #dbdfd6;
  --paper: #f7f8f3;
  --green: #214f43;
  font: 15px/1.5 "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #b38435; outline-offset: 3px; }
.skip { position: absolute; z-index: 3; left: 1rem; top: -5rem; padding: 8px; background: white; }
.skip:focus { top: 1rem; }
.shell { min-height: 100vh; display: grid; grid-template-columns: 252px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 30px 16px 16px; background: #193b34; color: #edf2e8; }
.brand { display: flex; gap: 13px; align-items: center; padding: 0 8px 26px; border-bottom: 1px solid #3a554a; }
.brand-mark { width: 43px; height: 45px; display: grid; place-items: center; background: #d7e2bb; color: #204737; border-radius: 9px; font-size: 24px; }
.brand strong { display: block; font: bold 31px/1 "PT Serif", Georgia, serif; letter-spacing: .02em; }
.brand small, .identity small { display: block; color: #c1d0c3; margin-top: 4px; font-size: 12px; }
.nav-group { padding: 28px 12px 10px; color: #b1c6b7; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.nav-group.second { padding-top: 25px; }
#side-nav { overflow-y: auto; }
#side-nav a { display: flex; gap: 12px; align-items: center; min-height: 44px; margin: 3px 0; padding: 9px 12px; border-radius: 7px; color: #e0e9df; font-size: 14px; }
#side-nav a .icon { font-size: 17px; color: #b6cbbb; }
#side-nav a:is(:hover, :focus-visible) { background: #25493f; }
#side-nav a.selected { background: #355b4c; color: white; font-weight: 600; box-shadow: inset 3px 0 #c6d6a3; }
#side-nav a.selected .icon { color: #dae8bd; }
.identity { margin-top: auto; border-top: 1px solid #3a554a; padding: 18px 8px 2px; display: flex; gap: 12px; align-items: center; }
.identity-mark { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid #5b7765; border-radius: 50%; color: #d6e5c4; font-size: 17px; }
.identity strong { font-weight: 600; font-size: 14px; }
.identity small { margin: 1px 0 0; }
.mobile-toggle { display: none; }
.workspace { min-width: 0; }
.topbar { min-height: 67px; padding: 15px clamp(20px, 3.4vw, 58px); display: flex; align-items: center; border-bottom: 1px solid var(--line); background: #fcfcf8; }
.topbar nav { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; font-size: 13px; }
.topbar a { color: var(--muted); display: inline-flex; gap: 9px; align-items: center; }
.topbar a:hover, .reset:hover { text-decoration: underline; }
.topbar b { font-weight: 600; }
.sep { color: #a4afa4; }
main { max-width: 1510px; padding: 39px clamp(20px, 3.4vw, 58px) 60px; margin: auto; }
.page-heading { margin-bottom: 26px; }
h1, h2 { margin: 0; font-family: "PT Serif", Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { font-size: clamp(36px, 3.3vw, 56px); letter-spacing: -.045em; line-height: 1.14; }
h2 { font-size: clamp(23px, 2vw, 31px); letter-spacing: -.035em; margin: 0 0 15px; line-height: 1.2; }
.page-heading p { color: var(--muted); margin: 10px 0 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 15px; margin-bottom: 36px; }
.pub-year.ois-year { width: 7em; }
.edit-field textarea { display: block; width: 100%; padding: 9px 10px; border: 1px solid #adbeaf; border-radius: 6px; font: inherit; color: var(--ink); resize: vertical; }
.ois-note { grid-column: 1/-1; white-space: pre-line; }
.journal-indexes { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 6px; }
.journal-indexes:empty { display: none; }
.journal-indexes span { border-radius: 4px; background: #edf2e8; color: #355347; font-size: 13px; padding: 1px 6px; }
.periodical-list .entry-arrow { margin-left: auto; }
.pub-year { width: 5em; padding: 8px; border: 1px solid #bac8b8; border-radius: 6px; font: inherit; }
.pub-pick-panel, .pub-authors { padding: 0 24px 20px; }
.pub-authors > p, .pub-byline small { color: var(--muted); font-size: 14px; }
.pub-byline { padding-left: 24px; }
.pub-byline li { padding: 5px 0; overflow-wrap: anywhere; }
.pub-byline a, .pub-byline small { display: block; }
.publication-editor .pub-author { margin: 0 0 14px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; }
.publication-editor .pub-author legend { padding: 0 5px; font: 600 15px "Source Sans 3", sans-serif; }
.publication-editor .pub-author .edit-grid { padding: 12px 0; }
.author-tools { display: flex; gap: 6px; flex-wrap: wrap; }
.author-tools button:disabled { opacity: .45; cursor: default; }
.lookup-results { max-height: 225px; overflow-y: auto; border: 1px solid var(--line); padding: 5px; }
.lookup-results button { width: 100%; text-align: left; background: white; color: var(--ink); overflow-wrap: anywhere; }
.lookup-results button:hover, .lookup-results button:focus-visible { background: #edf2e8; }
.lookup-results small { display: block; padding: 5px; }
.pub-fields { border-top: 1px solid var(--line); }
.pub-fields summary { padding: 15px 24px; cursor: pointer; font-weight: 600; }
.pub-fields fieldset legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.publication-editor .pub-fields fieldset { margin: 0; }
@media (max-width: 640px) {
  .pub-pick-panel, .pub-authors { padding-inline: 16px; }
}
.book-heading > div, .topbar b { min-width: 0; overflow-wrap: anywhere; }
.stat { display: block; position: relative; border: 1px solid var(--line); border-radius: 13px; padding: 20px 21px 16px; background: #edf2e5; }
.stat-units { background: #edf0f3; }
.stat-publications { background: #f3eee1; }
.stat:hover { border-color: #879d8e; }
.stat-head { display: flex; gap: 9px; align-items: center; font-weight: 600; font-size: 14px; }
.stat-icon { font-size: 18px; color: #456243; }
.stat-units .stat-icon { color: #51677a; }
.stat-publications .stat-icon { color: #886b38; }
.stat-value { display: block; margin-top: 12px; font: 45px/1.1 "PT Serif", Georgia, serif; letter-spacing: -.035em; }
.stat-go { position: absolute; right: 17px; bottom: 17px; color: #587361; font-size: 16px; }
.overview-grid { display: grid; grid-template-columns: minmax(0,1.9fr) minmax(235px,1fr); gap: 24px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.section-row { display: flex; align-items: center; gap: 15px; padding: 18px 20px; min-height: 80px; }
.section-row + .section-row { border-top: 1px solid #e8ebe3; }
a.section-row:hover { background: #f5f8f1; }
.row-icon, .empty-icon { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #eff3ea; color: #42644e; font-size: 18px; }
.row-text { min-width: 0; }
.row-text strong, .row-text small { display: block; }
.row-text strong { font-weight: 600; font-size: 15px; }
.row-text small { color: var(--muted); line-height: 1.45; margin-top: 3px; font-size: 13px; }
.row-arrow { margin-left: auto; font-size: 13px; color: #738774; }
.planned { margin-left: auto; font-size: 12px; color: #677064; }
.db-banner { display: flex; align-items: center; gap: 13px; padding: 22px 18px; color: #315a46; background: #e9eee1; border-bottom: 1px solid var(--line); }
.db-art { display: grid; place-items: center; width: 41px; height: 41px; color: #eaf3de; background: #315544; border-radius: 10px; font-size: 21px; }
.db-word { font: 25px/1.15 "PT Serif", Georgia,serif; letter-spacing: -.045em; }
.facts { padding: 3px 18px; margin: 0; }
.facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 12px 0; }
.facts div + div { border-top: 1px solid #edf0e9; }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { margin: 0; font-size: 13px; font-weight: 600; }
.connected { color: #306445; white-space: nowrap; }
.dot { display: inline-block; border-radius: 50%; width: 6px; height: 6px; margin-right: 5px; background: #478153; }
code { font: 13px Consolas, monospace; }
.toolbar, .table-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 16px 20px; }
.search-box { display: flex; align-items: center; gap: 10px; flex: 0 1 350px; padding: 0 12px; border: 1px solid #bac8b8; border-radius: 6px; color: #587162; }
.search-box input { border: 0; font: inherit; padding: 8px 0; min-width: 0; width: 100%; color: var(--ink); background: transparent; }
.search-box:focus-within { outline: 2px solid #739a78; }
.search-box input:focus { outline: 0; }
button, .button { font: inherit; color: white; border: 0; background: var(--green); border-radius: 6px; padding: 9px 16px; cursor: pointer; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 11px 20px; border-bottom: 1px solid #e8ece4; vertical-align: top; }
th { background: #f1f4ec; font-size: 12px; color: #4a6053; font-weight: 600; }
td { font-size: 14px; }
.empty { padding: 45px 20px; display: grid; gap: 11px; justify-items: center; text-align: center; }
.empty strong { font-size: 16px; font-weight: 500; }
.empty a, .table-footer a, .reset { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.table-footer { border-top: 1px solid var(--line); justify-content: space-between; font-size: 13px; color: var(--muted); }
.table-footer nav { display: flex; gap: 16px; }
.staff-search select { font: inherit; max-width: 100%; padding: 8px; border: 1px solid #bac8b8; border-radius: 6px; background: white; color: var(--ink); }
.staff-editor fieldset { margin: 20px 0 0; border: 0; padding: 0; min-width: 0; }
.staff-editor legend { padding: 0 24px; font: 22px/1.3 "PT Serif", Georgia, serif; }
.staff-editor fieldset .edit-grid { padding-top: 12px; }
.personnel-panel { margin-bottom: 16px; padding: 20px 24px; }
.personnel-panel h2 { font-size: 24px; margin: 0; }
.staff-section-heading, .job-bottom, .job-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.staff-section-heading, .job-bottom { justify-content: space-between; }
.staff-section-heading h2 small { font: 15px "Source Sans 3", sans-serif; color: var(--muted); }
.staff-facts { margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,210px),1fr)); gap: 14px 20px; }
.staff-facts dt, .job-bottom, .job-status, .staff-empty { color: var(--muted); font-size: 14px; }
.staff-facts dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.staff-job { border-top: 1px solid var(--line); margin-top: 16px; padding: 14px 0 0; overflow-wrap: anywhere; }
.staff-job h3 { font-size: 19px; margin: 6px 0 0; }
.staff-job p { margin: 1px 0 8px; }
.staff-tag { border-radius: 4px; background: #e7efdf; color: var(--green); padding: 1px 6px; }
.staff-empty { margin: 12px 0 0; }
@media (max-width: 640px) {
  .personnel-panel { padding: 16px; }
  .staff-editor legend { padding-inline: 18px; }
  .staff-search .search-box { flex-basis: 100%; }
  .staff-directory .entry-meta { font-size: 12px; }
  .book-heading h1 { overflow-wrap: anywhere; }
}
.book-group { margin: 0 0 30px; }
.book-group h2 { font-size: 24px; }
.book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.book-card { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; position: relative; }
.book-card:hover { border-color: #8ba68d; background: #fcfdf9; }
.book-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.book-count, .book-description, .entry-meta, .entry-info small { color: var(--muted); font-size: 14px; }
.book-card strong { display: block; font-size: 20px; font-weight: 600; }
.book-description { display: block; margin-right: 22px; }
.book-go { position: absolute; right: 20px; bottom: 20px; color: #647d69; }
.book-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; }
.button { display: inline-flex; gap: 5px; align-items: center; justify-content: center; }
.button:hover, button:hover { filter: brightness(.94); }
.secondary { background: #eff3ea; color: #304e41; }
.entry-list { list-style: none; margin: 0; padding: 0; }
.entry-list li { border-top: 1px solid #e8ece4; }
.entry-list a { display: flex; align-items: center; gap: 12px; padding: 13px 20px; min-height: 48px; }
.entry-list a:hover { background: #f5f8f1; }
.entry-info { min-width: 0; overflow-wrap: anywhere; }
.entry-info strong { display: block; font-weight: 600; }
.entry-info small { display: block; margin-top: 2px; }
.entry-meta { margin-left: auto; overflow-wrap: anywhere; max-width: 30%; }
.entry-arrow { color: #668070; font-size: 12px; }
.notice, .alert { padding: 12px 16px; background: #e6f0e2; border-radius: 7px; color: #29563a; }
.alert { color: #81382d; background: #fcf0ea; }
.editor { max-width: 810px; }
.editor > .alert { margin: 22px 24px 0; }
.edit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; padding: 24px; }
.wide-field { grid-column: 1/-1; }
.edit-field { min-width: 0; }
.edit-field label { display: block; font-weight: 600; margin-bottom: 5px; }
.edit-field :is(input:not([type=checkbox]), select) { width: 100%; min-width: 0; padding: 9px 10px; min-height: 43px; border: 1px solid #adbeaf; border-radius: 6px; font: inherit; background: white; color: var(--ink); }
.edit-field select:focus-visible { outline: 3px solid #b38435; outline-offset: 3px; }
.edit-field [aria-invalid=true] { border-color: #aa5146 !important; }
.required-mark, .field-error, .delete-link { color: #913e34; }
.field-error { display: block; }
.check-label input { width: 18px; height: 18px; vertical-align: middle; accent-color: var(--green); }
.edit-actions { border-top: 1px solid var(--line); display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 15px 24px; background: #fafbf7; }
.delete-link { margin-left: auto; text-decoration: underline; text-underline-offset: 3px; padding: 8px 0; }
.delete-summary { padding: 24px; overflow-wrap: anywhere; }
.delete-summary p { margin-bottom: 0; }
button.danger { background: #903e33; }
@media (max-width: 640px) {
  .book-grid, .edit-grid { grid-template-columns: 1fr; }
  .edit-grid, .delete-summary { padding: 18px; }
  .edit-actions { padding: 14px 18px; }
  .entry-list a { padding-inline: 14px; }
  .book-card { padding: 15px 18px; }
  .book-card-top { margin-bottom: 8px; }
}
@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shell { grid-template-columns: 219px minmax(0,1fr); }
  .overview-grid { grid-template-columns: minmax(0,1.65fr) minmax(215px,1fr); gap: 16px; }
  .sidebar { padding-inline: 10px; }
  .section-row { padding-inline: 14px; }
}
@media (max-width: 900px) { .overview-grid { grid-template-columns: 1fr; gap: 26px; } }
@media (max-width: 710px) {
  .shell { display: block; }
  .sidebar { position: static; height: auto; padding: 11px 16px; flex-flow: row wrap; align-items: center; justify-content: space-between; }
  .brand { border: 0; padding: 0; gap: 9px; }
  .brand-mark { width: 34px; height: 36px; font-size: 19px; }
  .brand strong { font-size: 23px; }
  .brand small { margin: 0; font-size: 10px; }
  .mobile-toggle { display: inline-flex; align-items: center; gap: 8px; background: #335848; padding: 7px 12px; }
  .identity, #side-nav { display: none; }
  .expanded #side-nav { display: block; width: 100%; }
  .topbar { min-height: 48px; }
  main { padding-top: 24px; }
  .stats { gap: 7px; margin-bottom: 26px; }
  .stat { padding: 12px 10px; border-radius: 9px; }
  .stat-head { flex-direction: column; align-items: flex-start; gap: 4px; font-size: 12px; }
  .stat-value { font-size: 34px; }
  .stat-go { right: 9px; bottom: 12px; font-size: 13px; }
  .section-row { gap: 10px; }
  .planned-row { flex-wrap: wrap; }
  .planned-row .row-text { flex: 1 1 170px; }
  .toolbar { padding: 12px; }
  .search-box { flex: 1 1 140px; }
}

.rating-tabs, .rating-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.rating-tabs { margin: 0 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.rating-tabs a { padding: .5rem .85rem; border-radius: 6px; color: var(--green); }
.rating-tabs a[aria-current], .rating-tabs a:hover { background: #e8efe7; }
.rating-heading { margin-top: 24px; }
.rating-fields { display: grid; gap: 14px; padding: 20px; }
.rating-fields input[type=number] { max-width: 12rem; display: block; }
.rating-info { padding: 14px 20px; margin-bottom: 16px; }
.rating-info summary { cursor: pointer; color: var(--green); }
.rating-formula { display: block; color: var(--muted); }
.rating-criteria td:first-child { width: 65%; }
.rating-criteria input { width: 7rem; font: inherit; border: 1px solid #adbeaf; border-radius: 5px; padding: 7px; }
.rating-unit { max-width: min(100%, 19rem); }
.rating-tabs ~ .panel .staff-search { align-items: end; }
@media (max-width: 700px) {
  .rating-tabs { gap: .2rem; }
  .rating-tabs a { padding: .5rem .6rem; }
  .rating-criteria td:first-child { min-width: 11rem; }
}

.chair-section, .chair-create { padding: 18px 22px; margin: 14px 0; }
.chair-section > :first-child { margin-top: 0; }
.chair-section h3 { margin-bottom: 10px; }
.chair-create summary, .chair-block summary { cursor: pointer; color: var(--green); font-weight: 600; }
.chair-block summary span { color: var(--muted); font-weight: 400; margin-left: .4em; }
.chair-block + .chair-block { border-top: 1px solid var(--line); }
.chair-block { padding-block: 10px; scroll-margin-top: 16px; }
.chair-block[open] > summary { margin-bottom: 12px; }
.chair-facts { display: grid; grid-template-columns: minmax(9rem, 1fr) 3fr; gap: .6rem 1rem; }
.chair-facts dt { font-weight: 600; }
.chair-facts dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.chair-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1em 0; }
.chair-unit { max-width: min(100%, 28rem); }
.chair-versions, .chair-remove { margin-top: 1rem; }
.chair-editor select[multiple] { height: auto; }
@media (max-width: 700px) {
  .chair-section, .chair-create { padding: 14px; }
  .chair-facts { display: block; }
  .chair-facts dd { margin: .2em 0 1em; }
}
@media print {
  .shell:has(.chair-section) :is(.sidebar,.topbar,.no-print,.skip,.chair-versions,.chair-actions) { display:none; }
  .shell:has(.chair-section), .shell:has(.chair-section) .workspace { display:block; margin:0; padding:0; }
  .chair-section { border:0; padding:0; }

}

.faculty-people { grid-column:1/-1; min-width:0; border:1px solid var(--line); padding:1rem; border-radius:.5rem }
.faculty-people legend { font-weight:600 }
.faculty-person-row { display:flex; flex-wrap:wrap; align-items:end; gap:.65rem; margin:.6rem 0 }
.faculty-person-row label { flex:1 1 11rem; min-width:0 }
.faculty-person-row select, .faculty-person-row input { width:100%; min-width:0 }
.faculty-people > button { margin:.4rem 0 }
.faculty-matches { grid-column:1/-1; display:grid; gap:.3rem }
.faculty-matches:empty { display:none }
.faculty-matches button { text-align:left; white-space:normal; overflow-wrap:anywhere }

.office-fields {display:grid;gap:.85rem;border:0;padding:0;min-width:0}
.office-fields label {display:block;min-width:0}
.office-fields input:not([type=checkbox]),.office-fields select,.office-fields textarea {display:block;max-width:100%;width:100%}
.office-fields button {justify-self:start}
.login-panel {max-width:28rem;margin:clamp(2rem,12vh,9rem) auto;padding:clamp(1.25rem,4vw,2.4rem)}
.login-panel h1 {margin:.5rem 0 1.5rem}
@media (max-width:32rem){.login-panel{margin:2rem .75rem}}


.data-scroll { max-width: 100%; overflow-x: auto; }
.data-scroll:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.data-table :is(th, td) { padding: 7px 9px; line-height: 1.3; text-align: left; }
.data-table th { font-size: 13px; vertical-align: bottom; border-bottom-color: #c9d4c6; }
.data-table td { vertical-align: top; white-space: pre-line; overflow-wrap: anywhere; }
.data-table a { color: var(--green); text-decoration: underline; text-decoration-color: #a4b7aa; text-underline-offset: 2px; }
.data-table a:hover { text-decoration-color: currentColor; }
.data-table tbody tr:nth-child(even) { background: #f8faf6; }
.data-table tbody tr:hover { background: #eef4ed; }
.chair-block > .data-scroll { margin-top: 6px; }
.panel:has(> .data-scroll) > :is(.toolbar, .table-footer) { padding: 8px 10px; }
.personnel-panel:has(> .data-scroll), .chair-section:has(.data-scroll) { padding: 10px 12px; }

@media screen {
  .data-table th { min-width: 5.25rem; }
  .data-table th:first-child { min-width: 12rem; }
  .data-table td { max-width: 32rem; }
  .data-table th:only-child { min-width: 0; }
}
@media print {
  .panel:has(.data-table), .panel .data-scroll { overflow: visible; }
  .chair-section .data-table { table-layout: fixed; }
  .chair-section .data-table :is(th, td) { font-size: 8pt; padding: 2pt; overflow-wrap: anywhere; }
  .chair-section .data-table tr { break-inside: avoid; }
}

.column-tools { display: inline-flex; gap: 3px; align-items: center; }
.data-table .column-sort { color: inherit; text-decoration: none; }
.data-table button.column-sort { background: transparent; padding: 0; font: inherit; text-align: inherit; }
.column-sort::after { content: "↕"; margin-left: .3em; color: #78877c; font-size: .85em; }
[aria-sort="ascending"] .column-sort::after { content: "↑"; color: var(--green); }
[aria-sort="descending"] .column-sort::after { content: "↓"; color: var(--green); }
.column-filter, a.edit-icon { display: inline-grid; place-items: center; border: 0; border-radius: 4px; background: transparent; color: var(--green); }
.column-filter { padding: 3px; min-width: 24px; min-height: 24px; }
.column-filter:hover, .edit-icon:hover { background: #e4ece1; }
.column-filter[aria-pressed=true] { color: white; background: var(--green); }
a.edit-icon { width: 30px; height: 28px; text-decoration: none; }
.page-heading a.edit-icon { width: 38px; height: 36px; border: 1px solid var(--line); background: white; }
.filter-pop { position: fixed; inset: auto; margin: 0; padding: 10px; width: min(250px, 94vw); border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: white; box-shadow: 0 4px 16px #18352c21; }
.filter-pop label, .filter-pop select { display: block; width: 100%; }
.filter-pop select { margin: 4px 0; padding: 5px; font: inherit; }
.local-table .toolbar, .local-table .grid-footer { padding: 6px 0; }
.local-table .reset { background: transparent; font-size: 13px; }
.grid-empty { margin: 10px; color: var(--muted); }
.grid-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 10px; margin-inline-start: auto; max-width: 100%; color: var(--muted); font-size: 13px; text-align: end; }
.grid-pagination nav { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; }
.grid-top nav { justify-content: flex-end; }
.grid-pagination nav :is(a,button) { min-width: 25px; padding: 2px 5px; background: transparent; color: var(--green); text-align: center; text-decoration: none; border-radius: 4px; font-variant-numeric: tabular-nums; }
.grid-pagination nav :is(a,button):hover { background: #e4ece1; }
.grid-pagination nav [aria-current=page] { background: var(--green); color: white; }
@media (max-width: 640px) {
  .toolbar > .grid-top { flex-basis: 100%; }
}
.toolbar [hidden] { display: none; }
.grid-ready .filter-pop button, .grid-ready .toolbar > button.secondary { display: none; }
@media print {
  .local-table :is(.toolbar,.grid-footer,.grid-empty), .grid-top, .column-filter, .filter-pop, .column-sort::after { display: none; }
}
