/* Workshop shell: graphite type, blue drafting ink, pale drawing stock. */
:root{--st-ink:#233e50;--st-blue:#1c5874;--st-paper:#f2f6f7;--st-rule:#b2c5cc}
@media screen{
 body:has(#worksheet,#app,#go,.v2home){background:var(--st-paper);color:var(--st-ink)}
 nav:is(.sitebar,[aria-label="RoomMath"]){display:flex;align-items:center;gap:.25rem .85rem;flex-wrap:wrap;padding:.3rem clamp(.8rem,4vw,3rem);background:#fff;border-bottom:1px solid var(--st-rule);color:var(--st-ink)}
 nav:is(.sitebar,[aria-label="RoomMath"]) a,.studio-key a,#field-order-guide>a,.v2home article h3 a,.pageintro a,.sitefoot a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;box-sizing:border-box;color:var(--st-blue);text-underline-offset:.2em}
 nav:is(.sitebar,[aria-label="RoomMath"]) a:first-child:not([hreflang]){font-weight:700;color:var(--st-ink)}
 nav [aria-current="page"],nav [aria-current="true"]{font-weight:700;text-decoration:underline;text-decoration-thickness:2px}
 .sitebar .langs{display:flex;gap:.35rem;align-items:center;flex-wrap:wrap}
 body:has(#go) main>header:has(>b:only-child){display:none} /* Identical wordmark remains in the rail. */
 .v2home article[data-tool-card]:not([hidden]){display:grid;grid-template-columns:clamp(3.6rem,12vw,6rem) minmax(0,1fr);gap:clamp(.8rem,2vw,1.6rem);align-items:center;background:white;border:1px solid var(--st-rule);border-radius:.35rem;padding:.8rem 1rem;margin:.6rem 0;color:var(--st-ink)}
 .v2home article[data-tool-card] .rm-tool-icon{width:100%;max-width:100%;height:auto;background:#eaf2f5;border-radius:.2rem}
 .v2home article[data-tool-card] :is(h3,p){margin:0}.v2home article[data-tool-card] p{max-width:68ch;padding-bottom:.4rem}
 .v2home h1,.pageintro h1,main:has(#go,#worksheet)>h1{color:var(--st-ink);font-size:clamp(2rem,4.4vw,3.75rem);letter-spacing:-.035em;line-height:1.08;text-wrap:balance}
 header.pageintro{text-align:start} .pageintro p,.boundary,.scope{max-width:72ch;line-height:1.55}
 body :is(button,select,summary,input:not([type=checkbox],[type=radio],[type=hidden])),.bench .field-help{box-sizing:border-box;min-height:44px;min-width:44px}
 .bench label.check{min-height:44px}.tools{flex-wrap:wrap}.tools output{font-variant-numeric:tabular-nums}
 .studio-key{display:flex;gap:.3rem .6rem;flex-wrap:wrap;margin:.6rem 0 1.2rem}.studio-key a{padding:0 .7rem;border:1px solid var(--st-rule);border-radius:.25rem;background:white}
 body :focus-visible{outline:3px solid #006bb2;outline-offset:2px}
 @media(max-width:40rem){nav:is(.sitebar,[aria-label="RoomMath"]){gap:0 .55rem}.sitebar .langs{gap:.25rem}.tool-filter>*{min-width:0}.pageintro{margin-block:1rem}.v2home h1{max-width:22ch}}
}
@media print{nav.sitebar,nav[aria-label="RoomMath"],#field-order-guide,.report22-controls,.studio-restored,.studio-key,.sitefoot,.tool-filter{display:none!important}.v2home [data-tool-card],figure{break-inside:avoid}h1,h2,h3{break-after:avoid}}

.rm-purchase-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px;margin:0 0 1.25rem}.rm-order-summary{border:2px solid #385b48;border-radius:8px;padding:14px;background:#f4f8f3;min-width:0}.rm-order-summary h3{margin:0 0 10px}.rm-order-summary .metric{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:7px 0;border-bottom:1px solid #d1ddd3;overflow-wrap:anywhere}.rm-order-summary .metric strong{font-size:1.25rem;text-align:right}.studio-key a{min-width:44px;min-height:44px;display:inline-flex;align-items:center;padding:8px;box-sizing:border-box} @media print{.rm-purchase-cards{display:none!important}}
