/* A shared Readex Pro type scale for the interface and printed reports. */
:root{--type-title:28px;--type-section:18px;--type-body:14px;--type-label:13px;--type-small:11px}
body{font-family:"Readex Pro",Tahoma,Arial,sans-serif;font-size:var(--type-body);font-weight:400;line-height:1.85}
button,input,textarea,select{font-family:inherit}
h1,h2,.brand strong,.donut strong{letter-spacing:normal}
h1,.page-heading h1{font-size:var(--type-title);font-weight:700;line-height:1.65}
h2,.card-heading h2,.guide-card h2{font-size:var(--type-section);font-weight:600;line-height:1.7}
.page-heading p,.guide-card p{font-size:var(--type-body);line-height:1.95}
.eyebrow,.nav-label,.brand small,.breadcrumb,.year-badge,.sidebar-credit,.sidebar-bottom p,.main-footer{font-size:var(--type-small)}
.sidebar .nav-item{font-size:13px;font-weight:500}
.sidebar .nav-item.active{font-weight:600}
.sidebar-bottom strong{font-size:14px}
.button,.text-button,.field-label,.total-label,.field label,.field input,.search-field input,.checkbox-line,.fixed-ratios>div:not(:first-child){font-size:var(--type-label)}
.button,.field label,.field-label{font-weight:500}
.button{padding:10px 14px}
.field input,.search-field input{height:43px}
.total-control input{font-family:inherit;font-size:44px;font-weight:600}
.preset-row button{font-size:12px}
.field-hint,.local-note,.small-label,.rounding-note,.split-note,.card-heading p,.status-badge,.group-table-label small,.complete-label,.names-cta small,.quota-card small,.quota-card .quota-label,.empty-state p{font-size:var(--type-small);line-height:1.9}
.overview-banner h2{font-size:23px;font-weight:600;line-height:1.7}
.overview-banner p{font-size:12px;line-height:1.9}
.banner-eyebrow{font-size:11px}
.donut strong{font-size:29px;font-weight:600}
.donut span{font-size:10px}
.group-card-head{font-size:var(--type-label);line-height:1.8;flex-wrap:wrap}
.group-card-head .group-pill{font-size:11px;font-weight:500}
.group-value strong{font-size:32px;font-weight:600}
.group-value span,.group-card small{font-size:var(--type-small);line-height:1.9}
.levels-table th{font-size:12px;font-weight:500}
.levels-table td{font-size:var(--type-body);line-height:1.8;padding-block:12px}
.levels-table tfoot th,.levels-table tfoot td{font-size:14px;font-weight:600}
.level-number{font-size:14px;font-weight:600}
.count-stepper input,.count-static{font-size:16px;font-weight:500}
.actual-percent,.group-table-label b{font-size:14px}
.count-stepper button{font-size:16px;width:26px;height:27px}
.count-stepper{width:104px;gap:3px}
.count-stepper input{width:42px}
.count-static{width:104px}
.names-cta strong{font-size:14px;font-weight:500}
.optional-pill{font-size:10px}
.names-entry textarea{font-size:14px;line-height:2}
.roster-status,.name-row select,.source-note,.guide-example{font-size:12px}
.person-name{font-size:14px}
.name-index,.count-badge{font-size:11px}
.quota-card strong{font-size:23px;font-weight:600}
.quota-card strong span{font-size:13px}
.empty-state strong{font-size:15px}
dialog h2{font-size:21px}dialog p{font-size:14px}.toast{font-size:13px}
@media(max-width:1200px){:root{--type-title:25px;--type-section:17px}.overview-banner h2{font-size:21px}.actions .button{font-size:12px;padding:10px 12px}.group-card-head{font-size:12px}}
@media(max-width:800px){.sidebar .nav-item{font-size:11px}.sidebar .brand strong{font-size:26px}.topbar{min-height:54px;height:auto;padding-block:9px}.breadcrumb,.year-badge{font-size:10px}}
@media(max-width:650px){
  :root{--type-title:24px;--type-section:16px;--type-body:13px;--type-label:12px;--type-small:10px}
  .sidebar .brand strong{font-size:22px}.sidebar .brand-icon{width:27px;height:32px}.sidebar .nav-item{font-size:9px;padding:8px 5px;gap:4px}.sidebar nav{gap:2px}.sidebar .nav-item svg{width:12px;height:12px}
  .breadcrumb,.year-badge{font-size:8px}.year-badge{gap:4px;padding:3px 5px}
  .page-heading h1{line-height:1.75}.page-heading p{font-size:12px}.overview-banner h2{font-size:20px}.overview-banner p{font-size:11px}
  .settings{column-gap:12px}.settings .local-note{font-size:9px}.reset-button{font-size:10px}
  .group-cards{gap:7px}.group-card{padding:12px 9px}.group-card-head{font-size:10px}.group-card-head .group-pill{font-size:10px}.group-value strong{font-size:28px}.group-value span{font-size:9px}.group-card small{font-size:10px;overflow-wrap:break-word}
  .levels-table{white-space:normal;table-layout:fixed}.levels-table thead th:first-child{width:38%}.levels-table thead th:nth-child(2){width:25%}.levels-table thead th:nth-child(3){width:16%}.levels-table thead th:nth-child(4){width:21%}
  .levels-table th{font-size:10px}.levels-table td{font-size:12px;padding-inline:4px}.levels-table tfoot th,.levels-table tfoot td{font-size:12px}.level-name{gap:5px}.level-name>span:last-child{min-width:0}.level-number{font-size:13px;width:23px;flex-shrink:0}
  .count-stepper,.count-static{width:74px}.count-stepper input{width:28px;font-size:15px}.count-stepper button{width:20px;height:25px;font-size:14px}.actual-percent,.group-table-label b{font-size:12px}.group-table-label small,.complete-label{font-size:9px}
  .card-heading .section-kicker{gap:6px}.status-badge{font-size:9px}.card-heading p{font-size:10px}.names-cta strong{font-size:12px}.names-cta small{font-size:10px}.optional-pill{display:none}
  .quota-card small,.quota-card .quota-label{font-size:9px}.quota-card strong{font-size:20px}.quota-card strong span{font-size:11px}.person-name{font-size:12px}.name-row select{font-size:11px}.roster-status{font-size:11px}
  .guide-card p{font-size:13px}.main-footer{font-size:10px}
}
@media(max-width:375px){.sidebar .nav-item svg{display:none}.sidebar .nav-item{font-size:9px}.page-heading h1{font-size:22px}.group-card small{font-size:9px}.levels-table td{font-size:11px}.count-stepper,.count-static{width:76px}.count-stepper input{width:28px}.count-stepper button{width:21px}.group-table-label small{font-size:8px}}
@media print{
  body{font-family:"Readex Pro",Tahoma,Arial,sans-serif;font-size:11pt;line-height:1.8}
  .print-header h1{font-size:18pt;font-weight:700;line-height:1.6}
  .print-brand{font-size:24pt;font-weight:700}
  .print-report h2{font-size:14pt;font-weight:600;line-height:1.7}
  .print-meta,.print-report table,.print-report .signature-line{font-size:10.5pt}
  .print-report th{font-weight:600}
  .print-report .report-note,.print-report .report-warning{font-size:9.5pt;line-height:1.9}
  .print-report .print-foot{font-size:8.5pt}
}

/* Nisab wordmark and author line. */
:root{--brand-gold:#ad7e24}
.sidebar .brand{gap:10px;justify-content:center;margin-inline:0}
.sidebar .brand-copy{text-align:center}
.sidebar .brand strong{display:block;color:var(--brand-gold);font-size:36px;font-weight:700;line-height:1.3}
.sidebar .brand small{display:block;color:#53645d;font-size:11px;font-weight:500;line-height:1.7;margin-top:5px;white-space:nowrap;letter-spacing:0}
.footer-brand{display:inline-flex;vertical-align:middle;flex-direction:column;align-items:center;line-height:1.8}
.footer-brand b{color:var(--brand-gold);font-size:15px;font-weight:600}
.footer-brand small{font-size:10px;color:#64756c}
.main-footer{align-items:center}
@media(max-width:800px){.sidebar .brand strong{font-size:28px}.sidebar .brand small{font-size:10px;margin-top:1px}}
@media(max-width:650px){.sidebar{flex-wrap:wrap;justify-content:center;gap:8px;padding-block:10px}.sidebar .brand{width:100%;gap:9px}.sidebar .brand strong{font-size:29px}.sidebar .brand small{font-size:11px}.sidebar nav{width:100%;justify-content:center;gap:5px}.sidebar .nav-item{font-size:11px;padding:7px 12px}.sidebar .nav-item svg{display:block;width:14px;height:14px}.main-footer .footer-divider{margin-inline:5px}.footer-brand small{font-size:9px}}
@media print{.print-brand{display:flex;flex-direction:column;align-items:center;flex-shrink:0;margin-right:14px;line-height:1.5}.print-brand strong{font-size:26pt;font-weight:700;color:var(--brand-gold);-webkit-print-color-adjust:exact;print-color-adjust:exact}.print-brand small{font-size:9pt;font-weight:500;color:#53645d;white-space:nowrap}}

/* Green navigation with gold icons, including the compact mobile menu. */
.sidebar{--sidebar-gold:#e2bc68;background:var(--dark);color:#f4f7f4;border-color:#2b5148}
.sidebar .brand strong{color:var(--sidebar-gold)}
.sidebar .brand small{color:#e1ebe5}
.sidebar .brand-icon{background:#224b42;box-shadow:inset 0 0 0 1px rgba(226,188,104,.2)}
.sidebar .brand-icon span{background:#d9ae56}
.sidebar .brand-icon span:nth-child(2){background:#f2dfab}
.sidebar .brand-icon span:nth-child(3){background:#bb8f43}
.sidebar .nav-label{color:#b8ccc1}
.sidebar .nav-item{color:#e5d3ad}
.sidebar .nav-item svg{color:var(--sidebar-gold)}
.sidebar .nav-item.active{color:#f5dfb1;background:rgba(226,188,104,.14);box-shadow:inset 0 0 0 1px rgba(226,188,104,.2)}
.sidebar .nav-item:not(.active):hover{background:rgba(226,188,104,.08);color:#f5dfb1}
.sidebar .active-dot{background:var(--sidebar-gold)}
.sidebar .nav-counter{background:#34594b;color:#f5dfb1}
.sidebar .sidebar-bottom strong{color:#f4f7f4}
.sidebar .sidebar-bottom p{color:#c3d3c9}
.sidebar .sidebar-credit{color:#b8ccc1;border-color:rgba(226,188,104,.2)}
.sidebar .mini-mark i{background:var(--sidebar-gold)}
.sidebar .mini-mark i:nth-child(2){background:#f2dfab}
.sidebar .mini-mark i:nth-child(3){background:#bb8f43}
.sidebar a:focus-visible,.sidebar button:focus-visible{outline:2px solid var(--sidebar-gold);outline-offset:3px}

/* Gold frames for distribution settings, level cards, and level details. */
#page-calculator .settings.card,
#page-calculator .group-card,
#page-calculator .levels.card{
  border:2px solid var(--brand-gold);
}

/* A quieter header and a smaller gold accent in the application title. */
.topbar{justify-content:flex-end;height:52px}
.natural-title{color:var(--brand-gold);font-size:.8em;font-weight:600;display:inline-block}

.adaa-mark { display: block; width: 96px; height: auto; margin-inline: auto; }
.sidebar .adaa-mark, .access-brand .adaa-mark {
  box-sizing: content-box; padding: 7px; background: #fffdf7; border-radius: 3px;
}
.access-brand .adaa-mark { width: 88px; }
.footer-brand .adaa-mark { width: 54px; }
@media (max-width: 800px) {
  .sidebar .adaa-mark, .access-brand .adaa-mark { width: 67px; padding: 5px; }
}
@media print {
  .print-brand .adaa-mark, .review-print-brand .adaa-mark { width: 22mm; }
}
