/* ==========================================================================
   Sons & Daughters Academy — "The Seal"
   A classic academy identity built from the Academy's own mark.
   Green sampled from the logo (#004329); brass is reserved for rules and the seal.
   Type: Libre Caslon Display (headlines) + Libre Caslon Text (everything else).
   ========================================================================== */

:root {
  --green:      #004329;   /* Academy Green, from the logo */
  --hunter:     #00301E;   /* deepest bands, footer */
  --green-2:    #1D5A3F;   /* hover / secondary green */
  --brass:      #A8874A;   /* rules and the seal only */
  --brass-lt:   #D9C499;   /* brass on dark grounds */
  --limestone:  #EDE9DF;   /* alternate sections */
  --paper:      #FFFFFF;
  --ivory:      #F6F2E8;   /* type and mark on green */
  --ink:        #1A2420;
  --ink-soft:   #4E5A53;
  --rule:       #D8D2C4;

  /* legacy names used by inline styles in the pages */
  --forest: var(--green);
  --line:   var(--rule);

  --display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --text:    "Libre Caslon Text", Georgia, "Times New Roman", serif;

  --measure: 40rem;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  font-variant-numeric: oldstyle-nums;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }

/* ---------- Type scale (1.333, perfect fourth) ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--green);
  margin: 0 0 .5em;
  line-height: 1.08;
  letter-spacing: -.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-family: var(--text); font-weight: 700; font-size: 1.2rem; line-height: 1.3; letter-spacing: 0; }
h4 { font-family: var(--text); font-weight: 700; font-size: 1rem; margin: 0 0 .5em; }
h1 em, h2 em { font-style: inherit; color: inherit; }   /* no single-word accents */

p { margin: 0 0 1em; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--green-2); text-decoration-thickness: 2px; }
ul { padding-left: 1.1em; }
li { margin-bottom: .45em; }
strong, b { font-weight: 700; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.measure { max-width: var(--measure); }
.container.measure { max-width: var(--container); }          /* keep the column aligned with the page */
.container.measure > * { max-width: calc(var(--measure) + 4rem); }

/* Small contextual label: italic brass, sentence case — never caps */
.eyebrow {
  font-family: var(--text); font-style: italic; font-size: 1rem;
  color: var(--brass); margin: 0 0 .6rem; letter-spacing: 0;
}
.lede { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.65; color: var(--ink-soft); max-width: var(--measure); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.section--paper { background: var(--paper); }
.section--khaki { background: var(--limestone); }
.section--forest { background: var(--green); color: var(--ivory); }
.section--forest h2, .section--forest h3 { color: var(--ivory); }
.section--forest .eyebrow { color: var(--brass-lt); }
.section--forest .lede, .section--forest p { color: #D3DFD8; }
.section--forest a { color: var(--ivory); }
.section--forest strong { color: #fff !important; }
.section--forest .btn--light, .section--forest a.btn--light { color: var(--green); }
.section--forest .btn--light:hover { color: var(--hunter); }

/* Inner-page title band: the first section of every page except the homepage */
main > .section:first-child:not(.hero) {
  background: var(--green);
  color: var(--ivory);
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
  border-bottom: 3px double var(--brass);
  position: relative; overflow: hidden;
}
main > .section:first-child:not(.hero)::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 340px; height: 300px;
  background: url("/assets/img/sda-mark-ivory.png") no-repeat center / contain;
  opacity: .05; pointer-events: none;
}
main > .section:first-child:not(.hero) h1 { color: var(--ivory); font-size: clamp(2.4rem, 5vw, 3.8rem) !important; }
main > .section:first-child:not(.hero) .eyebrow { color: var(--brass-lt); }
main > .section:first-child:not(.hero) .lede,
main > .section:first-child:not(.hero) p { color: #D3DFD8; }
main > .section:first-child:not(.hero) .btn--primary { background: var(--ivory); color: var(--green); border-color: var(--ivory); }
main > .section:first-child:not(.hero) .btn--ghost { color: var(--ivory); border-color: rgba(246,242,232,.55); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--text); font-weight: 700; font-size: .98rem; line-height: 1.2;
  padding: .9rem 1.5rem; border: 1px solid transparent; border-radius: 2px;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--green); color: var(--ivory); border-color: var(--green); }
.btn--primary:hover { background: var(--hunter); color: #fff; }
.btn--ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn--ghost:hover { background: var(--green); color: var(--ivory); }
.btn--light { background: var(--ivory); color: var(--green); border-color: var(--ivory); }
.btn--light:hover { background: #fff; color: var(--hunter); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* ---------- Header ---------- */
.utility { background: var(--hunter); color: #BFCFC6; font-size: .86rem; }
.utility .container { display: flex; justify-content: space-between; gap: 1rem; padding-top: .45rem; padding-bottom: .45rem; }
.utility a { color: var(--ivory); text-decoration: none; }
.utility a:hover { text-decoration: underline; color: #fff; }
@media (max-width: 560px) { .utility { font-size: .76rem; } .utility .container { gap: .6rem; } }

.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--green); }
.brand__mark { height: 50px; width: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; padding-left: .85rem; border-left: 1px solid var(--rule); }
.brand__name { font-family: var(--display); font-size: 1.45rem; color: var(--green); }
.brand__sub { font-family: var(--text); font-size: .82rem; letter-spacing: .32em; color: var(--brass); margin-top: .35rem; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a { color: var(--ink); text-decoration: none; font-size: 1rem; padding: .35rem 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); border-bottom-color: var(--brass); }
.nav .btn { border-bottom: 1px solid var(--green); padding: .7rem 1.2rem; font-size: .92rem; color: var(--ivory); }
.nav .btn:hover { color: #fff; border-bottom-color: var(--hunter); }
.nav .lang { display: none; }               /* Español lives in the utility bar */
.nav-toggle { display: none; background: none; border: 0; color: var(--green); padding: .4rem; cursor: pointer; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.5rem 1.5rem;
    border-bottom: 3px double var(--brass);
  }
  .nav[hidden] { display: none; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--rule); }
  .nav .lang { display: block; }
  .nav .btn { margin-top: 1rem; border: 0; }
  .brand__name { font-size: 1.2rem; }
  .brand__mark { height: 42px; }
}

/* ---------- Homepage hero with the seal ---------- */
.hero { background: var(--green); color: var(--ivory); padding: clamp(4rem, 9vw, 7.5rem) 0; border-bottom: 3px double var(--brass); }
.hero__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.25fr .75fr; } }
.hero h1 { color: var(--ivory); font-size: clamp(2.8rem, 6.2vw, 5rem); margin-bottom: .4em; }
.hero .eyebrow { color: var(--brass-lt); }
.hero .lede { color: #D3DFD8; font-size: clamp(1.15rem, 1.9vw, 1.38rem); }
.hero .btn--primary { background: var(--ivory); color: var(--green); border-color: var(--ivory); }
.hero .btn--primary:hover { background: #fff; color: var(--hunter); }
.hero .btn--ghost { color: var(--ivory); border-color: rgba(246,242,232,.55); }
.hero .btn--ghost:hover { background: rgba(246,242,232,.1); color: #fff; }

.seal { width: min(100%, 400px); margin: 0 auto; }
.seal svg { width: 100%; height: auto; display: block; }
.seal text { font-family: var(--text); font-size: 15px; letter-spacing: 3.1px; fill: var(--brass-lt); }
@media (prefers-reduced-motion: no-preference) {
  .seal__ring { transform-origin: 200px 200px; animation: seal-in 1.4s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes seal-in { from { transform: rotate(-24deg); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* The five commitments, presented as a framed charter under the hero */
.charter { background: var(--limestone); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.hero-card {
  border: 3px double var(--brass); background: var(--paper);
  padding: clamp(1.8rem, 4vw, 2.8rem) clamp(1.5rem, 4vw, 3.2rem);
}
.hero-card h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--green); margin-bottom: 1.2rem; }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 3rem; }
@media (min-width: 760px) { .hero-card ul { grid-template-columns: 1fr 1fr; } }
.hero-card li { padding: .85rem 0 .85rem 1.6rem; border-top: 1px solid var(--rule); margin: 0; position: relative; color: var(--ink); }
.hero-card li::before { content: ""; position: absolute; left: .1rem; top: 1.45rem; width: .55rem; height: .55rem; border: 1px solid var(--brass); transform: rotate(45deg); }

/* ---------- Grids and prospectus entries (formerly cards) ---------- */
.grid { display: grid; gap: 2.4rem 3rem; }
.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card { border-top: 2px solid var(--brass); padding-top: 1.3rem; background: none; }
.card h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--green); margin-bottom: .55rem; }
.card p { color: var(--ink-soft); font-size: 1rem; }
.card p:last-child { margin-bottom: 0; }
.card__num { font-family: var(--display); font-size: 2.4rem; color: var(--brass); line-height: 1; margin-bottom: .4rem; }
.section--forest .card { border-top-color: var(--brass-lt); }
.section--forest .card h3 { color: var(--ivory); }

/* ---------- Mastery Map domains ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.chip { margin: 0; padding: .45rem 1rem; border: 1px solid var(--green); color: var(--green); font-size: .95rem; background: var(--paper); }
.section--forest .chip { border-color: var(--brass-lt); color: var(--ivory); background: transparent; }

/* The six levels: a real sequence, so it is numbered, drawn as rising steps */
.ladder { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .5rem; counter-reset: rung; max-width: 46rem; }
.ladder li {
  counter-increment: rung; margin: 0; display: grid; grid-template-columns: 3rem 9.5rem 1fr; align-items: baseline;
  gap: 1rem; padding: .85rem 1rem; background: var(--paper); border-left: 3px solid var(--green);
}
.ladder li:nth-child(1) { margin-left: 0; }   .ladder li:nth-child(2) { margin-left: .8rem; }
.ladder li:nth-child(3) { margin-left: 1.6rem; } .ladder li:nth-child(4) { margin-left: 2.4rem; }
.ladder li:nth-child(5) { margin-left: 3.2rem; } .ladder li:nth-child(6) { margin-left: 4rem; border-left-color: var(--brass); }
.ladder li::before { content: counter(rung); font-family: var(--display); font-size: 1.6rem; color: var(--brass); line-height: 1; }
.ladder b { font-family: var(--display); font-weight: 400; font-size: 1.3rem; color: var(--green); }
.ladder span { color: var(--ink-soft); font-size: .98rem; }
.section:not(.section--khaki):not(.section--forest) .ladder li { background: var(--limestone); }
@media (max-width: 640px) {
  .ladder li { grid-template-columns: 2.2rem 1fr; margin-left: 0 !important; }
  .ladder span { grid-column: 2; }
}

/* ---------- The daily rhythm, set as a printed timetable ---------- */
.rhythm { margin-top: 2rem; border-top: 3px double var(--brass); border-bottom: 1px solid var(--brass); }
.rhythm__row { display: grid; gap: .3rem 2rem; padding: 1.3rem 0; border-top: 1px solid var(--rule); }
.rhythm__row:first-child { border-top: 0; }
@media (min-width: 780px) { .rhythm__row { grid-template-columns: 13rem 8rem 1fr; align-items: baseline; } }
.rhythm__name { font-family: var(--display); font-size: 1.45rem; color: var(--green); line-height: 1.2; }
.rhythm__time { font-variant-numeric: lining-nums tabular-nums; color: var(--brass); font-style: italic; }
.rhythm__what { color: var(--ink-soft); }

/* ---------- Enrollment paths ---------- */
.tier { background: var(--paper); border-top: 2px solid var(--green); padding: 1.8rem 0 0; }
.tier--accent { border-top: 3px double var(--brass); }
.tier__label { font-style: italic; color: var(--brass); margin-bottom: .5rem; font-size: 1rem; }
.tier h3 { font-family: var(--display); font-weight: 400; font-size: 1.85rem; color: var(--green); }
.tier ul { margin: 1.1rem 0 0; padding-left: 1.1em; color: var(--ink-soft); }
.section--paper .tier, .section--khaki .tier { background: transparent; }

/* ---------- Callout ---------- */
.callout { border-left: 3px solid var(--brass); padding: .4rem 0 .4rem 1.6rem; margin: 2.4rem 0 0; max-width: 48rem; }
.callout p { font-size: 1.08rem; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--green); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.2rem; max-width: 38rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 700; font-size: .98rem; color: var(--ink); }
.field .hint { font-weight: 400; font-style: italic; font-size: .9rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: var(--text); font-size: 1rem; color: var(--ink); width: 100%;
  padding: .85rem .9rem; border: 1px solid #BFB8A8; border-radius: 2px; background: var(--paper);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  border-color: var(--green); outline: 2px solid var(--brass); outline-offset: 1px;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field--hp { position: absolute; left: -9999px; }
.form__note { font-size: .92rem; font-style: italic; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { border-top: 3px double var(--brass); margin-top: 1.8rem; }
.faq details { border-bottom: 1px solid var(--rule); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 1.35rem; color: var(--green); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brass); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: .8rem 0 0; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--hunter); color: #BFCFC6; padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; border-top: 3px double var(--brass); }
.site-footer h4 { font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: var(--ivory); margin-bottom: 1rem; }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer__grid { display: grid; gap: 2.4rem; }
@media (min-width: 780px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1.2fr; } }
.footer__crest { width: 64px; height: auto; margin-bottom: 1rem; opacity: .9; }
.footer__tag { max-width: 28rem; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer__bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(217,196,153,.3); font-size: .9rem; color: #9DB2A6; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.6rem; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--green); color: var(--ivory); padding: .8rem 1.2rem; }
.skip:focus { left: 0; }

/* A lone enrollment path spans the row at a readable measure */
.grid--2 > .tier:only-child { grid-column: 1 / -1; max-width: 46rem; }

/* ==========================================================================
   Academy hub (/hub/): parent, guide and admin views
   ========================================================================== */
.hub-band { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.hub-body { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.hub-signin { max-width: 30rem; }
.hub-notice { padding: .9rem 1.1rem; border-left: 3px solid var(--brass); background: var(--limestone); max-width: 46rem; }
.hub-notice--error { border-left-color: #8A2C2C; background: #F6E9E7; }
.hub-notice--ok { border-left-color: var(--green); }
.hub-muted { color: var(--ink-soft); font-size: .95rem; }
.hub-btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.hub-topbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid var(--rule); padding-bottom: 1rem; margin-bottom: 2rem; }
.hub-topbar p { margin: 0; }

.hub-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 2rem; border-bottom: 1px solid var(--rule); }
.hub-tab { font: inherit; background: none; border: 0; border-bottom: 2px solid transparent; padding: .6rem 1rem; color: var(--ink); cursor: pointer; }
.hub-tab[aria-current="true"] { border-bottom-color: var(--brass); color: var(--green); font-weight: 700; }
.hub-tab:hover { color: var(--green); }

.hub-student { margin-bottom: 4rem; padding-bottom: 3rem; border-bottom: 3px double var(--brass); }
.hub-two-col { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .hub-two-col { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.hub-grid-2, .hub-grid-3 { display: grid; gap: 0 1.2rem; }
@media (min-width: 640px) { .hub-grid-2 { grid-template-columns: 1fr 1fr; } .hub-grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
.hub-grid-tool { display: grid; gap: .6rem; grid-template-columns: 1fr; margin-bottom: .8rem; align-items: center; }
@media (min-width: 900px) { .hub-grid-tool { grid-template-columns: 1fr 1.4fr 1.6fr auto auto; } }
.hub-grid-tool input, .hub-pick select, .hub-table input, .hub-table select {
  font: inherit; font-size: .95rem; padding: .55rem .7rem; border: 1px solid #BFB8A8; border-radius: 2px; background: var(--paper); width: 100%;
}
.hub-pick { display: flex; gap: .6rem; align-items: center; }
.hub-num-input { max-width: 6rem; text-align: right; }

.hub-map { border-top: 3px double var(--brass); padding-top: 1.4rem; margin-bottom: 1.6rem; }
.hub-map__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.hub-map__head h2 { margin: 0 0 .2rem; }
.hub-total { text-align: right; }
.hub-total__num { display: block; font-family: var(--display); font-size: 2.8rem; line-height: 1; color: var(--green); font-variant-numeric: lining-nums; }
.hub-total__label { font-style: italic; color: var(--brass); }
.hub-level { margin: 1.2rem 0; }
.hub-level p { margin: 0 0 .5rem; }
.hub-bar { height: 8px; background: var(--limestone); min-width: 6rem; }
.hub-bar span { display: block; height: 100%; background: var(--green); }
.hub-bar--lg { height: 12px; margin: .4rem 0 .5rem; }

.hub-table { width: 100%; border-collapse: collapse; margin: .6rem 0 1.4rem; font-size: .98rem; }
.hub-table th, .hub-table td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.hub-table thead th { font-style: italic; font-weight: 400; color: var(--brass); border-bottom: 1px solid var(--brass); }
.hub-table tbody th { font-weight: 700; color: var(--green); }
.hub-table .num { text-align: right; font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 640px) { .hub-table { font-size: .9rem; } .hub-table th, .hub-table td { padding: .5rem .3rem; } }

.hub-list { list-style: none; padding: 0; margin: .4rem 0 1.4rem; }
.hub-list li { display: grid; gap: .1rem 1rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); margin: 0; }
@media (min-width: 720px) { .hub-list li { grid-template-columns: 10rem 1fr auto; align-items: baseline; } }
.hub-date { font-variant-numeric: lining-nums; color: var(--ink-soft); font-size: .92rem; }
.hub-tag { color: var(--brass); font-style: italic; font-size: .92rem; }

.hub-panel { margin: 1.4rem 0; }
.hub-panel h3 { font-family: var(--display); font-weight: 400; font-size: 1.45rem; color: var(--green); margin-bottom: .4rem; }
.hub-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .8rem; }
.hub-row .btn-row { margin-top: 0; }
article.hub-panel { border-top: 2px solid var(--brass); padding-top: 1.2rem; }

.hub-inline-form { background: var(--limestone); padding: 1.4rem 1.5rem; margin-bottom: 1.6rem; max-width: none; }
.hub-inline-form h3 { font-family: var(--display); font-weight: 400; font-size: 1.45rem; color: var(--green); margin: 0 0 .4rem; }
.hub-inline-form .btn-row { margin-top: .4rem; }

.hub-report { border-bottom: 1px solid var(--rule); padding: .8rem 0; }
.hub-report summary { cursor: pointer; font-weight: 700; color: var(--green); }
.hub-report__body { padding: .8rem 0 0; max-width: 46rem; }
.hub-status { font-weight: 400; font-style: italic; font-size: .88rem; margin-left: .8rem; color: var(--brass); }
.hub-status--shared { color: var(--green); }

.hub-chip { display: inline-flex; align-items: center; gap: .3rem; border: 1px solid var(--green); padding: .15rem .3rem .15rem .7rem; margin: 0 .4rem .4rem 0; font-size: .95rem; }
.hub-chip__x { background: none; border: 0; font-size: 1.1rem; line-height: 1; cursor: pointer; color: var(--ink-soft); padding: 0 .3rem; }
.hub-chip__x:hover { color: #8A2C2C; }

.hub-tools { list-style: none; padding: 0; }
.hub-tools li { padding: .5rem 0; border-bottom: 1px solid var(--rule); margin: 0; }

.hub-dialog { border: 3px double var(--brass); padding: 2rem; max-width: 34rem; width: calc(100% - 2rem); }
.hub-dialog::backdrop { background: rgba(0, 48, 30, .45); }

/* Privacy consent checkbox (forms) */
.check { display:flex; gap:.6rem; align-items:flex-start; font-weight:400 !important; line-height:1.5; }
.check > span { flex:1; }
.check input { margin-top:.3rem; width:1.1rem; height:1.1rem; flex:none; accent-color: var(--green, #004329); }
.req { font-size:.85em; opacity:.75; font-style:italic; }
