/* dough-hydration-calculator - page styles. Loads after /css/tokens.css, /css/components.css and /css/tools.css.
   Moved here from the page's <style> block with values converted to Ledger tokens. */

.page.tool-shell { max-width: 920px; padding-top: 28px; }
.tool-controls { display: flex; justify-content: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.net-band { max-width: 920px; margin: 56px auto 0; padding: 0 28px; }
.net-band h2 { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); display: flex; align-items: baseline; gap: 12px; }
.net-band h2 .lbl { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--accent); }
.net-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.net-grid .gear-img-wrapper { height: 120px; }

/* onboarding steps */
.onboarding-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-col h3, .step-col h4 { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin: 0 0 6px; color: var(--ink); }
.step-col p { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0; }
.ix svg { width: 18px; height: 18px; display: block; }

@media (max-width: 760px) {
  .net-grid { grid-template-columns: 1fr; }
  .onboarding-steps { grid-template-columns: 1fr; gap: 16px; }
}
/* ---- Reference tables ---- */
.ref-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ref-table th { text-align: left; font-family: var(--font-ui); font-weight:600; font-size: 11px; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--muted); padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line-2); }
.ref-table td { padding: 8px 12px 8px 0; line-height: 1.5; color: var(--ink); border-bottom: 1px solid var(--line); }

/* ---- Results rows: the kit results list look on the studio rows. They stay divs with .anatomy-row
   (the script finds the yeast row by that class and shows it with display: flex). ---- */
.studio-tool .results__list > .anatomy-row {
  display: flex; align-items: center; gap: var(--space-4);
  padding: .75em 0; border: 0; border-radius: 0; background: transparent;
  transform: none; transition: none;
}
.studio-tool .results__list > .anatomy-row + .anatomy-row { border-top: 1px solid var(--hairline); }
.studio-tool .results__list > .anatomy-row > div:not(.ix) { flex: 1 1 auto; min-width: 0; }
.studio-tool .results__list > .anatomy-row h2 { font: 600 var(--text-sm)/1.3 var(--font-sans); color: var(--text); margin: 0 0 2px; }
.studio-tool .results__list > .anatomy-row p { font: 400 var(--text-xs)/1.4 var(--font-sans); color: var(--text-muted); margin: 0; }
.studio-tool .results__list > .anatomy-row code.num { flex: 0 1 auto; font-size: var(--text-base); white-space: normal; text-align: right; }
/* phone width: the value takes its own line under the label, so the label is not squeezed to one word a line */
@media (max-width: 560px) {
  .studio-tool .results__list > .anatomy-row { flex-wrap: wrap; row-gap: var(--space-2); }
  .studio-tool .results__list > .anatomy-row code.num { flex-basis: 100%; text-align: left; padding-left: calc(34px + var(--space-4)); }
}
/* the results panel sits under the configuration panel (.glass is position: relative), so it needs its own
   stacking position or the panel above casts its card shadow over its top edge */
.studio-tool .results { position: relative; }
/* At a glance: the studio drops the last row's rule on the th only and the kit keeps it on the td (where the
   table-wrap's rounded corner clips it); no rule under the last row, as on the studio table */
.studio-tool .glance .table tr:last-child :is(th, td) { border-bottom: 0; }
