:root {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #242c26;
  background: #f4f1e8;
  font-size: 100%;
  line-height: 1.5;
  --ink: #242c26;
  --forest: #25443a;
  --clay: #a0442a;
  --line: #d7d1c5;
}
* { box-sizing: border-box; }
body { margin: 0; border-top: .45rem solid var(--forest); }
main { width: min(100% - 2rem, 69rem); margin-inline: auto; }
.intro { padding: clamp(2rem, 7vw, 4.6rem) 0 clamp(1.6rem, 4vw, 3rem); }
p, h1, h2, h3 { margin: 0; }
.studio { color: #71402f; font-weight: 700; }
h1, h2, h3 { font-family: Georgia, serif; line-height: 1.07; font-weight: 400; }
h1 { font-size: clamp(2.6rem, 8vw, 5.5rem); margin: .32em 0 .14em; letter-spacing: -.045em; }
.intro > p:last-child { max-width: 39rem; font-size: 1.1rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.38rem; }
.workbench { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; align-items: start; }
.card { min-width: 0; border: 1px solid var(--line); border-radius: 1.2rem; padding: clamp(1rem, 3.5vw, 2rem); overflow-wrap: anywhere; }
.entry { background: #fffcf6; }
.row, .kiln-heading, .actions, footer { display: flex; flex-wrap: wrap; gap: .65rem 1rem; align-items: center; }
.row, .kiln-heading, footer { justify-content: space-between; }
label { display: grid; gap: .3rem; font-weight: 600; }
.units { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .92rem; }
input, select, textarea, button { font: inherit; color: inherit; }
input, select, textarea { min-width: 0; border: 1px solid #9a998b; border-radius: .5rem; background: #fffefb; padding: .5rem .6rem; }
input, textarea { width: 100%; }
input, select, button { min-height: 2.75rem; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid #ac542e;
  outline-offset: 3px;
}
.dimensions, .extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 6.4rem), 1fr)); gap: .7rem; }
.extra { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); margin-top: .8rem; }
#measure-help { margin: .55rem 0 .9rem; }
button { padding: .4rem .8rem; background: transparent; cursor: pointer; border: 1px solid transparent; border-radius: .5rem; font-weight: 650; }
.example { padding-inline: 0; text-decoration: underline; text-underline-offset: .2em; color: #753b28; margin-top: .3rem; }
details { border-block: 1px solid var(--line); padding: .7rem 0; margin: .4rem 0 1rem; }
summary { cursor: pointer; font-weight: 650; padding: .25rem 0; }
summary span { font-weight: 400; }
.primary { color: white; background: var(--forest); }
.primary:hover:not(:disabled) { background: #193229; }
.primary:disabled { color: #494f47; background: #e1e3db; cursor: default; }
.quiet { border-color: var(--line); }
#feedback:not(:empty), #manual:not([hidden]) { margin-top: .65rem; }
[hidden] { display: none !important; }
.results { background: #e6ebe0; border-color: #ccd5c9; }
.kilns { display: grid; gap: .65rem; margin: 1rem 0; }
.kilns article { background: #f8f9f3; border: 1px solid #d0d7cb; border-radius: .85rem; padding: .85rem 1rem; }
.outcome { font-size: .88rem; color: #2e4b3b; font-weight: 700; }
.outcome[data-state="over"], .outcome[data-state="edge"] { color: #832f1c; }
.listed { margin: .35rem 0 .55rem; font-variant-numeric: tabular-nums; }
.tracks { display: grid; gap: .18rem; }
.track-row { display: grid; grid-template-columns: minmax(3.7em, auto) 1fr; align-items: center; font-size: .84rem; gap: .42rem; }
.track { height: .52rem; border-radius: 3rem; background: #dce5da; overflow: hidden; }
.track i { display: block; height: 100%; background: #527664; border-radius: inherit; }
.track i[data-state="over"], .track i[data-state="edge"] { background: var(--clay); }
.limits { margin-bottom: .6rem; }
a { color: #25483b; text-decoration-thickness: .08em; text-underline-offset: .16em; }
footer { padding: 1.3rem 0 2rem; font-size: .93rem; }
@media (max-width: 48rem) { .workbench { grid-template-columns: minmax(0, 1fr); } }
