/* Materials page only. Extends styles.css: the tag, the grey panel, the orange, and Barlow all come from there. */

main h2{margin-bottom:.5rem}
.after{margin:1.5rem 0 0;color:var(--muted)}

/* ---------- cut, engrave, mark: three side views in a grey panel, each in a dark viewing window ---------- */
.depths{list-style:none;margin:1.75rem 0 0;padding:clamp(1rem,3vw,1.75rem);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem clamp(1rem,3vw,2rem);
  background:linear-gradient(180deg,var(--panel-hi),var(--panel) 30%,var(--panel));border-radius:8px;color:#16181A;
  box-shadow:inset 0 0 0 1px var(--panel-edge),0 24px 40px -30px rgba(0,0,0,.6)}
.depths h3{margin:1rem 0 .3rem}
.depths p{margin:0;max-width:none}
@media (prefers-color-scheme:dark){.depths{color:#EDEFEE}}
@media (max-width:760px){.depths{grid-template-columns:1fr}}
.xs{display:block;width:100%;height:auto;background:#16181A;border-radius:4px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
.xs .slab{fill:#EDEDE5;stroke:#8B9290;stroke-width:1}
.xs .coat{fill:#1F4E8C}
.xs .lens{fill:#6E7478}
.xs .beam{fill:none;stroke:#F99F38;stroke-width:2;stroke-dasharray:3 3}
.xs .ld{fill:#FFE2B0;filter:drop-shadow(0 0 2px #F99F38) drop-shadow(0 0 5px #F99F38)}

/* ---------- the two material lists: the shared tag rows ---------- */
.make h3.tag{margin:0}
.second{margin-top:clamp(2.5rem,6vw,3.5rem)}
#materials .make{margin-top:1rem}
#materials h2 + p{margin-bottom:0}

/* ---------- what fits the bed ---------- */
.fit{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(1.5rem,4vw,3.5rem);align-items:start}
.fit figure{margin:0}
.bed svg{display:block;width:100%;height:auto}
.bed figcaption{margin-top:.6rem;font-size:.9rem;color:var(--muted)}
.bed .area{fill:var(--surface)}
.bed .outline{fill:none;stroke:var(--orange);stroke-width:2}
.bed .gridfill{fill:url(#bedgrid)}
.bed .gridline{stroke:var(--line);stroke-width:1;fill:none}
.bed .dim{stroke:var(--muted);stroke-width:1;fill:none}
.bed text{font-family:var(--display);font-weight:600;letter-spacing:.03em}
.bed .dimtxt{fill:var(--ink);font-size:15px}
.bed .sheet{fill:#EDEDE5;stroke:#6E7478;stroke-width:1;stroke-dasharray:4 3}
.bed .sheettxt{fill:#1B2023;font-size:15px}
.bed .tg{fill:var(--t-black);stroke:#8B9290;stroke-width:.5}
.bed .tgin{fill:none;stroke:var(--t-white);stroke-width:1.5}
.bed .pin{fill:#8D9492}
.bed .tgtxt{fill:var(--t-white);font-size:15px}
.bed .outtxt{fill:var(--ink);font-size:15px}
@media (max-width:860px){.fit{grid-template-columns:1fr}}

/* ---------- what a CO2 laser cannot safely process: a red tag, like a lockout tag ---------- */
h2.warn{display:inline-flex;max-width:100%;margin:0 0 1.1rem;font-size:clamp(1.3rem,3.6vw,2rem);font-weight:700;line-height:1.1;padding:.5em 1.5em;overflow-wrap:anywhere}
h2.warn .hole{width:.3em;height:.3em}
.nope{display:grid;grid-template-columns:minmax(0,15rem) minmax(0,1fr);max-width:64rem;column-gap:clamp(1.5rem,4vw,3rem);margin:1.75rem 0 0;border-top:1px solid var(--line)}
.nope dt,.nope dd{padding-block:1rem;border-bottom:1px solid var(--line)}
.nope dt{display:flex;align-items:baseline;gap:.6rem;font-family:var(--display);font-weight:600;font-size:1.12rem;line-height:1.2;letter-spacing:.035em}
.nope dt::before{content:"";flex:none;width:.8rem;height:.8rem;border-radius:2px;background:var(--t-red);box-shadow:inset 0 0 0 2px var(--t-red),inset 0 0 0 3px var(--t-white);translate:0 .08em}
.nope dd{margin:0;color:var(--muted)}
@media (max-width:700px){
  .nope{grid-template-columns:1fr}
  .nope dt{border-bottom:0;padding-bottom:.15rem}
  .nope dd{padding-top:0}
}

/* ---------- if your material is not listed: the closing plate answers the header plate ---------- */
.plate.ask{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.75rem clamp(1.5rem,5vw,4rem);align-items:start}
.plate.ask h2{margin-top:0}
.plate.ask p{color:#16181A}
.plate.ask .btn.quiet{color:#16181A;box-shadow:inset 0 0 0 2px #16181A}
.tell{list-style:none;margin:.5rem 0 0;padding:0;border-top:1px solid var(--panel-edge)}
.tell li{padding-block:.7rem;border-bottom:1px solid var(--panel-edge)}
.tell b{font-family:var(--display);font-weight:600;letter-spacing:.03em}
@media (prefers-color-scheme:dark){.plate.ask p,.plate.ask .btn.quiet{color:#EDEFEE}.plate.ask .btn.quiet{box-shadow:inset 0 0 0 2px #EDEFEE}}
@media (max-width:760px){.plate.ask{grid-template-columns:1fr}}
