/* Ron Zevy's 2026-09-12 grade -> time -> skill regional browse treatment. */
body.tta-region-inventory{
  --finder-ink:#172033;
  --finder-muted:#667085;
  --finder-line:#E1E5EC;
  --finder-panel:#FFFFFF;
  --finder-soft:#F7F8FB;
  --finder-accent:#EF5B4C;
  --finder-accent-soft:#FFF3F1;
  --finder-accent-ink:#A9362C;
  --finder-link:#2356C4;
  --finder-focus:#765300;
  --finder-sans:"Archivo",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  --finder-serif:"Literata",Georgia,"Times New Roman",serif;
  background:#fff;
  color:var(--finder-ink);
  font-family:var(--finder-sans);
}

body.tta-region-inventory .inventory-hero{
  padding:34px 0 18px;
  border:0;
  background:#fff;
}

body.tta-region-inventory .inventory-kicker{
  display:inline-block;
  margin:0 0 12px;
  padding:6px 10px;
  border-radius:999px;
  background:var(--finder-accent-soft);
  color:var(--finder-accent-ink);
  font-size:.8125rem;
  font-weight:700;
  letter-spacing:0;
  text-transform:none;
}

body.tta-region-inventory .inventory-hero h1{
  max-width:24ch;
  margin:0 0 10px;
  color:var(--finder-ink);
  font:700 2.5rem/1.08 var(--finder-serif);
  letter-spacing:-.025em;
  text-wrap:balance;
}

body.tta-region-inventory .inventory-intro{
  max-width:72ch;
  margin:0;
  color:var(--finder-muted);
  font-size:1.0625rem;
  line-height:1.55;
  text-wrap:pretty;
}

body.tta-region-inventory .inventory-total{
  margin:10px 0 0;
  color:var(--finder-muted);
  font-size:.9375rem;
}

body.tta-region-inventory .inventory-total strong{color:var(--finder-ink)}

body.tta-region-inventory .inventory-main{
  padding:10px 0 70px;
}

body.tta-region-inventory .plan-finder-controls{
  margin:0 0 34px;
}

body.tta-region-inventory .plan-finder-control-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

body.tta-region-inventory .plan-finder-control{
  min-width:0;
  margin:0;
  padding:18px;
  border:1px solid var(--finder-line);
  border-radius:16px;
  background:var(--finder-soft);
}

body.tta-region-inventory .plan-finder-control legend{
  float:left;
  width:100%;
  box-sizing:border-box;
  margin:0 0 11px;
  padding:0;
  color:var(--finder-ink);
  font:600 .9375rem/1.35 var(--finder-serif);
}

body.tta-region-inventory .plan-finder-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:0;
}

body.tta-region-inventory .plan-finder-control > legend + .plan-finder-buttons{
  clear:both;
}

body.tta-region-inventory .plan-finder-button{
  min-width:44px;
  min-height:44px;
  padding:9px 14px;
  border:1px solid #CDD3DE;
  border-radius:999px;
  background:#fff;
  color:var(--finder-ink);
  font:600 .9375rem/1.2 var(--finder-sans);
  cursor:pointer;
}

body.tta-region-inventory .plan-finder-button:hover{
  border-color:var(--finder-ink);
}

body.tta-region-inventory .plan-finder-button[aria-pressed="true"]{
  border-color:var(--finder-ink);
  background:var(--finder-ink);
  color:#fff;
}

body.tta-region-inventory .plan-finder-refine{
  display:grid;
  grid-template-columns:minmax(220px,.75fr) minmax(280px,1.25fr);
  gap:18px;
  align-items:end;
  margin-top:18px;
}

body.tta-region-inventory .plan-finder-field{
  display:grid;
  gap:7px;
}

body.tta-region-inventory .plan-finder-field label{
  color:var(--finder-ink);
  font-size:.875rem;
  font-weight:700;
}

body.tta-region-inventory .plan-finder-field select,
body.tta-region-inventory .plan-finder-field input{
  width:100%;
  min-height:48px;
  margin:0;
  padding:11px 13px;
  border:1px solid #CDD3DE;
  border-radius:12px;
  background:#fff;
  color:var(--finder-ink);
  font:inherit;
}

body.tta-region-inventory .plan-finder-field input::placeholder{
  color:#626D80;
  opacity:1;
}

body.tta-region-inventory .plan-finder-button:focus-visible,
body.tta-region-inventory .plan-finder-field select:focus-visible,
body.tta-region-inventory .plan-finder-field input:focus-visible,
body.tta-region-inventory .inventory-card:focus-visible{
  outline:3px solid var(--finder-focus);
  outline-offset:3px;
}

body.tta-region-inventory .plan-finder-feedback{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:8px 18px;
  margin:18px 0 0;
}

body.tta-region-inventory .plan-finder-result-count,
body.tta-region-inventory .plan-finder-source-note{
  margin:0;
  color:var(--finder-muted);
  font-size:.875rem;
  line-height:1.5;
}

body.tta-region-inventory .plan-finder-result-count{font-weight:700}
body.tta-region-inventory .plan-finder-source-note{max-width:72ch}

body.tta-region-inventory .inventory-results{
  display:grid;
  gap:42px;
}

body.tta-region-inventory .inventory-grade-group{
  min-width:0;
}

body.tta-region-inventory .inventory-grade-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:14px;
  margin:0 0 18px;
  padding-bottom:10px;
  border-bottom:2px solid var(--finder-ink);
}

body.tta-region-inventory .inventory-grade-head h2{
  margin:0;
  color:var(--finder-ink);
  font:700 1.75rem/1.15 var(--finder-serif);
  letter-spacing:-.015em;
}

body.tta-region-inventory .inventory-grade-count{
  color:var(--finder-muted);
  font-size:.875rem;
}

body.tta-region-inventory .inventory-duration-group{
  margin:26px 0 34px;
}

body.tta-region-inventory .inventory-duration-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 12px;
}

body.tta-region-inventory .inventory-duration-head h3{
  flex:none;
  margin:0;
  color:var(--finder-ink);
  font:600 1.0625rem/1.35 var(--finder-serif);
}

body.tta-region-inventory .inventory-duration-count{
  flex:none;
  color:var(--finder-muted);
  font-size:.8125rem;
}

body.tta-region-inventory .inventory-duration-rule{
  height:1px;
  flex:1;
  background:var(--finder-line);
}

body.tta-region-inventory .inventory-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

body.tta-region-inventory .inventory-card{
  min-width:0;
  min-height:0;
  display:flex;
  flex-direction:column;
  padding:17px;
  border:1px solid var(--finder-line);
  border-radius:15px;
  background:var(--finder-panel);
  color:var(--finder-ink);
  box-shadow:0 2px 8px rgba(15,23,42,.04);
  text-decoration:none;
  transform:none;
}

body.tta-region-inventory .inventory-card:hover{
  border-color:#AEB7C5;
  box-shadow:0 3px 8px rgba(15,23,42,.08);
  transform:none;
}

body.tta-region-inventory .inventory-card-copy{
  min-width:0;
  display:block;
}

body.tta-region-inventory .inventory-plan-type{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  margin:0 0 9px;
  padding:4px 8px;
  border-radius:999px;
  background:#EEF2FF;
  color:#3F51B5;
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.025em;
  line-height:1.2;
  text-transform:uppercase;
}

body.tta-region-inventory .inventory-card[data-category^="math"] .inventory-plan-type{
  background:#FFF4D9;
  color:#805700;
}

body.tta-region-inventory .inventory-card[data-category="tumblelit"] .inventory-plan-type{
  background:#F0EAFB;
  color:#5F3B8C;
}

body.tta-region-inventory .inventory-card[data-category="text-sets"] .inventory-plan-type{
  background:#E8F5EC;
  color:#24613A;
}

body.tta-region-inventory .inventory-card-title{
  display:block;
  margin:0 0 7px;
  color:var(--finder-ink);
  font:700 1.0625rem/1.35 var(--finder-serif);
  overflow-wrap:anywhere;
  text-wrap:pretty;
}

body.tta-region-inventory .inventory-card-book{
  display:block;
  margin:0 0 7px;
  color:var(--finder-muted);
  font-size:.9375rem;
  font-weight:600;
  line-height:1.45;
  overflow-wrap:anywhere;
}

body.tta-region-inventory .inventory-card-subtitle{
  display:block;
  margin:4px 0 0;
  color:var(--finder-muted);
  font-size:.875rem;
  line-height:1.5;
  overflow-wrap:anywhere;
}

body.tta-region-inventory .inventory-card-foot{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  margin-top:auto;
  padding-top:13px;
  border-top:1px solid var(--finder-line);
  color:#475467;
  font-size:.8125rem;
  line-height:1.45;
}

body.tta-region-inventory .inventory-card-status{
  color:#475467;
  font-size:.8125rem;
  font-weight:500;
  line-height:1.45;
}

body.tta-region-inventory .inventory-card-open{
  color:var(--finder-link);
  font-size:.875rem;
  font-weight:800;
}

body.tta-region-inventory .inventory-empty{
  margin:0;
  padding:22px;
  border:1px solid var(--finder-line);
  border-radius:14px;
  background:var(--finder-soft);
  color:var(--finder-muted);
  line-height:1.55;
}

@media(max-width:960px){
  body.tta-region-inventory .inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:850px){
  body.tta-region-inventory .plan-finder-control-grid{grid-template-columns:1fr}
}

@media(max-width:680px){
  body.tta-region-inventory .inventory-hero h1{font-size:2rem}
  body.tta-region-inventory .plan-finder-refine{grid-template-columns:1fr}
  body.tta-region-inventory .inventory-grid{grid-template-columns:1fr}
  body.tta-region-inventory .inventory-grade-head{align-items:flex-start;flex-direction:column;gap:4px}
  body.tta-region-inventory .inventory-duration-head{align-items:flex-start;flex-wrap:wrap}
  body.tta-region-inventory .inventory-duration-rule{min-width:100%;order:3}
}

@media(max-width:420px){
  body.tta-region-inventory .plan-finder-control{padding:14px}
  body.tta-region-inventory .plan-finder-button{flex:1 1 68px}
  body.tta-region-inventory .inventory-card{padding:15px}
}

@media(prefers-reduced-motion:reduce){
  body.tta-region-inventory *{scroll-behavior:auto!important;transition:none!important}
}

@media print{
  body.tta-region-inventory .plan-finder-controls{display:none!important}
  body.tta-region-inventory .inventory-grid{display:block}
  body.tta-region-inventory .inventory-card{break-inside:avoid;margin-bottom:10px;box-shadow:none}
}
