/* /estimate/ only. Loaded after /styles.min.css, which supplies the tokens, topbar,
   footer, .btn, .field, .inquiry-* and .faq-* rules. Ledger palette: ink ground, cream
   type, terra as the one accent, square corners, hairlines, no shadows. */
.est [hidden] { display: none !important; }
.est {
  position: relative; z-index: 2;
  min-height: 100vh; min-height: 100svh;
  background: var(--ink);
  padding: clamp(7rem, 16vh, 10rem) var(--gutter) clamp(5rem, 12vh, 8rem);
}
.est-inner { max-width: 1180px; margin: 0 auto; }
.est-title {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(2.4rem, 5.5vw, 5.2rem);
  line-height: 0.94; text-transform: uppercase;
  color: var(--cream); max-width: 16ch;
}
.est-title em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--terra); text-transform: none; font-size: 0.94em; }
.est-answer {
  margin-top: 1.4rem; max-width: 58ch;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.55; color: var(--cream-72);
}
.est-h2 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 0.95; color: var(--cream); max-width: 24ch;
}
.est-lede { margin-top: 0.9rem; max-width: 58ch; font-size: 1rem; line-height: 1.7; color: var(--cream-72); }

/* hidden line items: a ledger */
.est-why, .est-walk, .est-faq, .est-credits, .est-codes-all { margin-top: clamp(3.5rem, 9vh, 6rem); padding-top: clamp(2rem, 5vh, 3rem); border-top: 1px solid var(--cream-14); }
.est-ledger { list-style: none; margin-top: 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 4vw, 4rem); }
.est-ledger li { display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 0.5rem; padding: 1rem 0; border-top: 1px solid var(--cream-14); }
.est-ledger-num { grid-row: span 2; font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--terra); font-size: 1.05rem; padding-top: 0.15rem; }
.est-ledger-name { font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 2.1vw, 1.65rem); line-height: 1.1; color: var(--cream); }
.est-ledger-note { font-size: 1rem; line-height: 1.55; color: var(--cream-72); margin-top: 0.2rem; }

/* walkthrough frame */
.est-walk, .est-review { scroll-margin-top: 5.5rem; }
.est-walk:focus { outline: none; }
.est-nojs { margin-top: 1.5rem; padding: 1rem 1.1rem; border: 1px solid var(--cream-25); font-size: 1rem; line-height: 1.6; color: var(--cream-72); }
.est-nojs a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.est-nojs a:hover, .est-nojs a:focus-visible { color: var(--terra); }
.est-ready .est-nojs { display: none; }
.est-bar { margin-top: 1.6rem; }
.est-status { font-family: var(--utility); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-72); }
.est-track { margin-top: 0.7rem; height: 2px; background: var(--cream-14); }
.est-track span { display: block; height: 100%; width: 0; background: var(--terra); transition: width 0.45s cubic-bezier(0.65, 0, 0.35, 1); }

.est-steps { margin-top: 1.8rem; }
.est-q { border: 0; padding: 0; margin: 0 0 clamp(2.5rem, 6vh, 4rem); min-width: 0; }
.est-ready .est-q { margin-bottom: 0; }
.est-q:focus { outline: none; }
.est-q:focus-visible { outline: 2px solid var(--terra); outline-offset: 6px; }
.est-q > legend {
  float: left; width: 100%; padding: 0;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 0.98; color: var(--cream);
  display: flex; gap: 0.9rem; align-items: baseline;
}
.est-q > legend + * { clear: both; }
.est-qn { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.05rem; color: var(--terra); text-transform: none; min-width: 1.6rem; }
.est-help { padding-top: 1.1rem; max-width: 62ch; font-size: 1rem; line-height: 1.7; color: var(--cream-72); }
.est-help a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.est-help a:hover, .est-help a:focus-visible { color: var(--terra); }
.est-warn { padding-left: 0.9rem; border-left: 2px solid var(--terra); color: var(--cream); }
.est-fig { display: block; width: 100%; max-width: 30rem; height: auto; margin-top: 1.4rem; border: 1px solid var(--cream-14); background: var(--ink-2); }
.est-sub { margin-top: 1.6rem; min-width: 0; border: 0; padding: 0; }
fieldset.est-sub > legend { padding: 0; font-family: var(--utility); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-72); }
.est-sub .field { margin-bottom: 0.8rem; max-width: 22rem; }

/* option plates */
.est-opts { margin-top: 0.9rem; display: grid; gap: 0.6rem; }
.est-chips { grid-template-columns: repeat(auto-fill, minmax(11.5rem, max-content)); }
.est-cards { grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 0.75rem; }
.est-opt { position: relative; min-width: 0; }
.est-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.est-opt label {
  display: flex; flex-direction: column; justify-content: center; height: 100%;
  min-height: 48px; padding: 0.7rem 1.1rem;
  border: 1px solid var(--mortar); color: var(--cream-72);
  font-family: var(--utility); font-weight: 500; font-size: 1rem; line-height: 1.35;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.est-opt label:hover { border-color: var(--cream-55); color: var(--cream); }
.est-opt input:checked + label { background: var(--terra); border-color: var(--terra); color: var(--ink); }
.est-opt input:focus-visible + label { outline: 2px solid var(--terra); outline-offset: 2px; }
.est-opt-ns label { border-style: dashed; }
.est-opt input:checked + label::after { content: "Selected"; margin-top: 0.3rem; font-weight: 600; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }
.est-opt.has-img label { padding: 0; justify-content: flex-start; }
.est-img { display: block; background: var(--ink-2); border-bottom: 1px solid var(--cream-14); }
.est-opt input:checked + label .est-img { border-bottom-color: var(--ink); }
.est-img img { display: block; width: 100%; height: auto; }
.est-name { display: block; padding: 0; }
.est-opt.has-img .est-name { padding: 0.7rem 0.9rem 0; font-weight: 600; }
.est-note { display: block; padding: 0.3rem 0.9rem 0.8rem; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1rem; line-height: 1.4; color: var(--cream-72); }
.est-opt input:checked + label .est-note { color: var(--ink); }
.est-opt.has-img input:checked + label::after { padding: 0 0.9rem 0.7rem; margin-top: 0; }
.est-opt.has-img .est-name:last-child { padding-bottom: 0.8rem; }

/* step nav */
.est-nav { margin-top: clamp(2rem, 5vh, 3rem); display: flex; gap: 0.75rem; justify-content: space-between; }
.est-btn {
  min-height: 48px; padding: 0.9rem 1.8rem; border-radius: 0; cursor: pointer;
  font-family: var(--utility); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.est-btn-primary { margin-left: auto; background: var(--terra); border: 1px solid var(--terra); color: var(--ink); }
.est-btn-ghost { background: transparent; border: 1px solid var(--cream-35); color: var(--cream); }
.est-btn:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.est-btn:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; background: var(--cream); border-color: var(--cream); color: var(--ink); }

/* review */
.est-review { margin-top: 1.8rem; }
.est-review-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 0.98; color: var(--cream); }
.est-review-title:focus { outline: none; }
.est-review-note { margin-top: 0.9rem; max-width: 60ch; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.15rem; line-height: 1.5; color: var(--cream-72); }
.est-review-list { margin-top: 1.5rem; border-bottom: 1px solid var(--cream-14); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 4vw, 4rem); }
.est-rv-row { padding: 0.8rem 0; border-top: 1px solid var(--cream-14); min-width: 0; }
.est-review-list dt { font-family: var(--utility); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-72); }
.est-review-list dd { margin-top: 0.2rem; display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; color: var(--cream); font-size: 0.98rem; min-width: 0; }
.est-rv-row.is-unsure dd span { color: var(--terra); font-weight: 600; }
.est-rv-change { min-width: 44px; min-height: 44px; padding: 0 0.5rem; background: transparent; border: 0; color: var(--cream-72); font: 500 0.78rem var(--utility); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.est-rv-change:hover, .est-rv-change:focus-visible { color: var(--terra); }
.est-rv-change:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
.est-send { margin-top: 2.4rem; max-width: 34rem; }
.est-scope { font-size: 1rem; line-height: 1.6; color: var(--cream); }
.est-send .est-scope { margin-bottom: 1.2rem; }
.est-scope-foot { margin-top: clamp(2.5rem, 6vh, 4rem); padding-top: 1.2rem; border-top: 1px solid var(--cream-14); color: var(--cream-72); }
.est-send .inquiry { padding-top: 1.5rem; }
.est-roofset { border: 0; padding: 0; }
.est-send-off { display: none; margin-top: 2rem; padding: 1rem 1.1rem; border: 1px solid var(--cream-25); line-height: 1.6; color: var(--cream-72); }
.est-send-off a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
body.inquiry-off .est-send { display: none; }
body.inquiry-off .est-send-off { display: block; }
.est-sent .est-review-list, .est-sent .est-review-note, .est-sent .est-review-title, .est-sent .est-nav, .est-sent .est-send > .est-scope { display: none !important; }
.est-sent .est-send { margin-top: 0; }

/* FAQ reuses the site's accordion */
.est-faq .faq-list { margin-top: 2rem; }
.est-faq .faq-item .faq-a { padding-left: calc(3rem + clamp(1rem, 3vw, 2.4rem)); }

@media (max-width: 860px) {
  .est-ledger, .est-review-list { grid-template-columns: 1fr; }
  .est-faq .faq-item .faq-a { padding-left: 0; }
}
@media (max-width: 640px) {
  .est-chips { grid-template-columns: 1fr; }
  .est-chips .est-opt label { width: 100%; }
  .est-cards { grid-template-columns: 1fr; }
  .est-opt.has-img label { display: grid; grid-template-columns: 7.5rem 1fr; align-items: center; column-gap: 0.9rem; }
  .est-opt.has-img .est-img { grid-row: 1 / span 3; border-bottom: 0; border-right: 1px solid var(--cream-14); align-self: stretch; display: flex; align-items: center; }
  .est-opt.has-img .est-name { padding: 0.7rem 0.5rem 0 0; }
  .est-opt.has-img .est-note { padding: 0.2rem 0.5rem 0.7rem 0; }
  .est-opt.has-img input:checked + label::after { padding: 0 0.5rem 0.7rem 0; }
  .est-nav { flex-direction: row; }
  .est-btn { flex: 1 1 0; padding-inline: 1rem; }
  .est-q > legend { gap: 0.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .est-track span, .est-opt label, .est-btn { transition-duration: 0.01ms; }
}

/* sent state: inline links need a 44px target */
.est .inquiry-success a { display: inline-block; padding-block: 0.8rem; }
.est [data-est-after] a { display: flex; align-items: center; min-height: 44px; padding-block: 0; }

/* photo credits and example-photo tag */
.est-credit-list { list-style: none; margin-top: 1.4rem; max-width: 66ch; display: grid; gap: 0; }
.est-credit-list li { padding: 0.8rem 0; border-top: 1px solid var(--cream-14); font-size: 1rem; line-height: 1.6; color: var(--cream-72); }
.est-credit-list strong { color: var(--cream); font-weight: 600; }
.est-credit-list a { display: inline-block; padding-block: 0.5rem; color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.est-credit-list a:hover, .est-credit-list a:focus-visible { color: var(--terra); }
.est-img { position: relative; }
.est-photo-tag { position: absolute; left: 0.5rem; bottom: 0.5rem; padding: 0.25rem 0.55rem; background: rgb(11 9 8 / 0.82); color: var(--cream); font: 500 0.62rem/1.2 var(--utility); letter-spacing: 0.14em; text-transform: uppercase; }

/* start block (JS only) */
.est-start { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.est-start .est-btn-primary { margin-left: 0; }
.est-start-note { flex-basis: 100%; max-width: 52ch; margin-top: 0.4rem; font-size: 1rem; line-height: 1.6; color: var(--cream-72); }
.est-ready:not(.est-focus) .est-bar, .est-ready:not(.est-focus) .est-steps, .est-ready:not(.est-focus) .est-nav, .est-ready:not(.est-focus) .est-review { display: none !important; }
.est-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.est-exit { min-width: 44px; min-height: 44px; padding: 0 0.5rem; background: transparent; border: 0; cursor: pointer; color: var(--cream-72); font: 500 0.78rem var(--utility); letter-spacing: 0.16em; text-transform: uppercase; }
.est-exit:hover { color: var(--terra); }
.est-exit:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; color: var(--terra); }
.est-nav-hint { display: none; }
.est-key { display: none; }

/* focused flow: one question per screen */
html.est-focus, html.est-focus body { overflow: hidden; height: 100%; }
html.est-focus .topbar, html.est-focus .footer, html.est-focus .est-title, html.est-focus .est-answer,
html.est-focus .est-why, html.est-focus .est-faq, html.est-focus .est-credits, html.est-focus .est-scope-foot,
html.est-focus .est-walk > .est-h2, html.est-focus .est-walk > .est-lede, html.est-focus .est-start { display: none !important; }
html.est-focus .est { padding: 0; min-height: 0; }
html.est-focus .est-walk {
  position: fixed; inset: 0; z-index: 1000; margin: 0; padding: 0; border: 0;
  background: var(--ink); display: flex; flex-direction: column; overflow: hidden;
}
.est-focus .est-bar { order: 0; flex: none; margin: 0; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.4rem; padding: 0.3rem var(--gutter) 0; }
.est-focus .est-track { position: absolute; left: 0; right: 0; top: 0; margin: 0; height: 3px; }
.est-focus .est-steps { order: 1; flex: 1 1 auto; min-height: 0; margin: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; padding: 1rem var(--gutter) 2rem; }
.est-focus .est-q { width: 100%; max-width: 56rem; margin: auto; }
.est-focus .est-q > legend { font-size: clamp(1.9rem, 4.6vw, 3.4rem); line-height: 1.02; gap: 1rem; }
.est-focus .est-q > legend:focus { outline: none; }
.est-focus .est-qn { font-size: 1.15rem; }
.est-focus .est-help { padding-top: 1.1rem; max-width: 60ch; font-size: 1.1rem; line-height: 1.65; }
.est-focus .est-fig { margin-top: 1.2rem; }
.est-focus .est-opts { margin-top: 1.4rem; gap: 0.65rem; }
.est-focus .est-chips { grid-template-columns: minmax(0, 36rem); }
.est-focus .est-cards { grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); gap: 0.8rem; }
.est-focus .est-opt label { min-height: 60px; padding: 0.9rem 1.1rem 0.9rem 3.6rem; font-size: 1.1rem; }
.est-focus .est-opt.has-img label { padding: 0; }
.est-focus .est-opt.has-img .est-name { font-size: 1.1rem; }
.est-focus .est-key {
  display: grid; place-items: center; position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  width: 1.75rem; height: 1.75rem; border: 1px solid var(--cream-35); color: var(--cream);
  font: 600 0.8rem/1 var(--utility); pointer-events: none;
}
.est-focus .est-opt.has-img .est-key { top: 0.6rem; left: 0.6rem; transform: none; background: var(--ink); z-index: 1; }
.est-focus .est-opt:not(.has-img) input:checked + label .est-key { border-color: var(--ink); color: var(--ink); }
.est-focus .est-nav { order: 2; flex: none; margin: 0; align-items: center; background: var(--ink); border-top: 1px solid var(--cream-14); padding: 0.75rem max(var(--gutter), calc((100% - 56rem) / 2)) calc(0.75rem + env(safe-area-inset-bottom)); }
.est-focus .est-review { order: 1; flex: 1 1 auto; min-height: 0; margin: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1.5rem max(var(--gutter), calc((100% - 56rem) / 2)) 2.5rem; }
@media (min-width: 900px) {
  .est-focus .est-nav-hint { display: block; flex: 1; padding-inline: 1.5rem; font: 500 0.72rem var(--utility); letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-72); }
}
@media (hover: none), (pointer: coarse) { .est-focus .est-key { display: none; } .est-focus .est-opt label { padding-left: 1.1rem; } .est-focus .est-opt.has-img label { padding-left: 0; } }
@media (max-width: 640px) {
  .est-focus .est-steps { padding-top: 0.6rem; }
  .est-focus .est-q { margin: 0 auto; }
  .est-focus .est-q > legend { font-size: 1.75rem; }
  .est-focus .est-help { font-size: 1.05rem; }
}

/* motion between questions: slide and fade, 110ms out then 230ms in */
@keyframes est-in-fwd { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes est-in-back { from { opacity: 0; transform: translateY(-28px); } to { opacity: 1; transform: none; } }
@keyframes est-out-fwd { to { opacity: 0; transform: translateY(-28px); } }
@keyframes est-out-back { to { opacity: 0; transform: translateY(28px); } }
.est-focus .est-in-fwd { animation: est-in-fwd 230ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.est-focus .est-in-back { animation: est-in-back 230ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.est-focus .est-out-fwd { animation: est-out-fwd 110ms ease-in both; }
.est-focus .est-out-back { animation: est-out-back 110ms ease-in both; }
@media (prefers-reduced-motion: reduce) {
  .est-focus .est-in-fwd, .est-focus .est-in-back, .est-focus .est-out-fwd, .est-focus .est-out-back { animation: none !important; transform: none !important; }
  .est-track span { transition: none; }
}

/* ordered layer picker (low-slope assembly) */
.est-order-nojs { margin-top: 1rem; font-size: 1rem; line-height: 1.6; color: var(--cream-72); }
.est-order { margin-top: 1.2rem; display: grid; gap: 0.8rem; }
.est-add { width: 100%; min-height: 48px; padding: 0.7rem 1.1rem; text-align: left; background: transparent; border: 1px solid var(--mortar); color: var(--cream-72); font: 500 1rem/1.35 var(--utility); cursor: pointer; transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.est-add:hover { border-color: var(--cream-55); color: var(--cream); }
.est-add:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; color: var(--cream); }
.est-add .est-name { display: block; }
.est-order-empty { font-size: 1rem; line-height: 1.6; color: var(--cream-72); }
.est-order-cap { font: 500 0.72rem var(--utility); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-72); }
.est-order-list { list-style: none; display: grid; gap: 0.5rem; }
.est-order-list li { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto auto auto; gap: 0.5rem; align-items: center; padding: 0.5rem 0.6rem 0.5rem 0.9rem; border: 1px solid var(--cream-25); }
.est-order-n { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--terra); }
.est-order-t { color: var(--cream); font-size: 1.05rem; line-height: 1.35; }
.est-order-btn { min-width: 44px; min-height: 44px; padding: 0 0.7rem; background: transparent; border: 1px solid var(--cream-35); color: var(--cream); font: 500 0.72rem var(--utility); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.est-order-btn:hover { border-color: var(--cream); background: var(--cream); color: var(--ink); }
.est-order-btn:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
.est-focus .est-add { min-height: 60px; padding-left: 3.6rem; font-size: 1.1rem; }
.est-focus .est-order-add { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
@media (max-width: 640px) {
  .est-order-list li { display: flex; flex-wrap: wrap; }
  .est-order-t { flex: 1 1 calc(100% - 3rem); }
}

/* local code facts: static table (all 11) and per-jurisdiction panel */
.est-table-wrap { margin-top: 1.6rem; }
.est-codes-table, .est-codes-table tbody { display: block; width: 100%; }
.est-codes-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.est-codes-table tr { display: grid; grid-template-columns: 11rem repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; padding: 1.2rem 0; border-top: 1px solid var(--cream-14); }
.est-codes-table th[scope="row"] { grid-row: span 4; text-align: left; font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1.05; text-transform: uppercase; color: var(--cream); }
.est-sub-name { display: block; margin-top: 0.3rem; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1rem; text-transform: none; color: var(--cream-72); }
.est-codes-table td { min-width: 0; padding: 0.35rem 0 0.7rem; font-size: 1rem; line-height: 1.55; color: var(--cream); overflow-wrap: anywhere; }
.est-codes-table td::before { content: attr(data-label); display: block; margin-bottom: 0.15rem; font: 500 0.7rem var(--utility); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-72); }
.est-fact-note { display: block; margin-top: 0.2rem; font-size: 0.92rem; color: var(--cream-72); }
.est-src { display: inline-block; padding-block: 0.45rem; color: var(--cream); text-decoration: underline; text-underline-offset: 3px; font-size: 0.92rem; }
.est-src:hover, .est-src:focus-visible { color: var(--terra); }
.est-src:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
.est-codes-panel { margin-top: 1.4rem; max-width: 52rem; padding: 0.4rem 1.2rem 1rem; border: 1px solid var(--cream-25); }
.est-codes-title { padding-top: 0.8rem; font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1.1; text-transform: uppercase; color: var(--cream); }
.est-codes-list > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem; padding: 0.6rem 0; border-top: 1px solid var(--cream-14); }
.est-codes-list { margin-top: 0.7rem; }
.est-codes-list dt { font: 500 0.7rem var(--utility); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-72); padding-top: 0.3rem; }
.est-codes-list dd { min-width: 0; font-size: 1rem; line-height: 1.55; color: var(--cream); overflow-wrap: anywhere; }
.est-codes-miss { color: var(--cream-72); font-style: italic; }
.est-codes-foot { margin-top: 0.6rem; font-size: 0.95rem; line-height: 1.55; color: var(--cream-72); }
.est-opt:not(.has-img) .est-note { padding: 0.15rem 0 0; font-size: 0.95rem; }
.est-code-note a { color: var(--cream); }
html.est-focus .est-codes-all { display: none !important; }
@media (max-width: 860px) {
  .est-codes-table tr { grid-template-columns: minmax(0, 1fr); }
  .est-codes-table th[scope="row"] { grid-row: auto; margin-bottom: 0.4rem; }
  .est-codes-list > div { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; }
}

.est-order-max { padding-left: 0.9rem; border-left: 2px solid var(--terra); font-size: 1rem; line-height: 1.6; color: var(--cream); }
.est-add:disabled { opacity: 0.45; cursor: not-allowed; }

.est-figwrap { position: relative; display: block; width: 100%; max-width: 30rem; margin-top: 1.4rem; }
.est-figwrap .est-fig { margin-top: 0; }
