/* Shopkeeper Math Studio - shared worksheet sheet + print styles (US Letter). */
.sheet{background:#fff;width:100%;aspect-ratio:8.5/11;padding:5.5% 6%;position:relative;box-shadow:0 5px 24px #251f2110;display:flex;flex-direction:column;overflow:hidden}
.sheet-head{display:flex;justify-content:space-between;gap:12px;border-bottom:2px solid var(--ink,#251f21);padding-bottom:10px}
.sheet-head h2{font:normal clamp(20px,2.4vw,28px)/1.1 Georgia,serif;margin:5px 0 7px;overflow-wrap:anywhere}
.eyebrow{font-size:9px;letter-spacing:.13em;text-transform:uppercase;font-weight:750}
.shopmark{width:50px;flex-shrink:0;align-self:center}
.student{display:flex;justify-content:space-between;gap:18px;font-size:11px;margin:14px 0 12px}
.name-line{flex:1}
.instructions{font-size:11px;margin:0 0 10px}
.market{border:1px solid #bbb;border-radius:7px;padding:10px 8px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 6px}
.market-item{display:flex;gap:6px;align-items:center;min-width:0;font-size:10px;line-height:1.25}
.market-item svg{width:25px;height:28px;flex-shrink:0}
.market-item b{display:block;overflow-wrap:anywhere}
.market-item span{font-variant-numeric:tabular-nums}
.question-grid{flex:1;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(3,1fr);column-gap:22px;row-gap:10px;margin-top:17px}
.question{font-size:12px;line-height:1.5;border-bottom:1px solid #ddd;display:flex;flex-direction:column;min-height:0;padding-bottom:8px}
.qtop{display:flex;gap:8px;align-items:flex-start}
.qnum{width:20px;height:20px;flex-shrink:0;border:1px solid #888;border-radius:50%;font-size:10px;display:grid;place-items:center}
.question p{margin:0}
.work{flex:1;min-height:15px}
.answer-line{font-size:10px;white-space:nowrap;margin-top:6px}
.sheet-foot{display:flex;justify-content:space-between;gap:10px;font-size:8px;color:#555;margin-top:15px;padding-top:6px;border-top:1px solid #ddd}
.key-intro{font-size:12px;margin:15px 0}
.key-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 24px;margin-bottom:18px}
.key-entry{border-bottom:1px solid #ddd;padding-bottom:8px;font-size:11px}
.key-entry strong{font-size:12px;display:block;margin-bottom:3px}
.key-entry p{margin:0}
.key .sheet-foot{margin-top:auto}
.cover{justify-content:center;text-align:center;align-items:center}
.cover .cover-eyebrow{font-size:11px;letter-spacing:.22em;text-transform:uppercase;font-weight:750;color:var(--accent,#236b60)}
.cover h1{font:normal clamp(30px,4.5vw,46px)/1.15 Georgia,serif;margin:18px 0 10px;letter-spacing:-.02em}
.cover .cover-sub{font-size:14px;color:#555;max-width:70%;margin:0 auto}
.cover .cover-rule{width:90px;height:2px;background:var(--accent,#236b60);margin:26px auto}
.cover .cover-byline{font-size:12px;color:#444}
.cover .cover-icons{display:flex;justify-content:center;gap:14px;margin-top:30px}
.cover .cover-icons svg{width:44px;height:44px}
@media(max-width:1000px){.sheet{padding:5%}.question{font-size:10px}.market-item{font-size:9px}.market-item svg{width:19px}.sheet-head h2{font-size:20px}.question-grid{column-gap:12px;row-gap:6px;margin-top:10px}.key-entry{font-size:9px}.key-entry strong{font-size:10px}.key-grid{gap:10px}.student{margin:10px 0;font-size:9px}.answer-line{font-size:8px}.sheet-foot{font-size:7px}}
@media(max-width:760px){.sheet{aspect-ratio:auto;min-height:700px;padding:24px 20px}.sheet-head h2{font-size:24px}.question{font-size:11px;min-height:128px}.market-item{font-size:10px}.market-item svg{width:23px}.question-grid{row-gap:14px;margin-top:18px}.student,.instructions{font-size:10px}.answer-line{font-size:9px}.key-entry{font-size:11px}.key-entry strong{font-size:12px}.key-grid{gap:14px}.sheet-foot{font-size:8px}.market{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media print{@page{size:letter portrait;margin:0}html,body{margin:0!important;padding:0!important;background:white!important;font-size:12pt;-webkit-print-color-adjust:exact;print-color-adjust:exact}.app-header,.intro,aside,.toolbar,.footer-note,.notice,.site-nav,.quickstart,.pack-list{display:none!important}main{display:block;margin:0;padding:0;max-width:none}.pages{display:block}.sheet{box-shadow:none;width:8.5in;height:11in;min-height:0;aspect-ratio:auto;padding:.48in .55in .4in;margin:0;break-after:page;page-break-after:always;overflow:hidden}.sheet:last-child{break-after:auto;page-break-after:auto}.sheet-head h2{font-size:26pt}.sheet-head{padding-bottom:.12in}.eyebrow{font-size:8pt}.shopmark{width:.55in}.student{font-size:10pt;margin:.18in 0 .13in}.instructions{font-size:10pt;margin-bottom:.1in}.market{grid-template-columns:repeat(3,minmax(0,1fr));padding:.12in;gap:.13in .08in}.market-item{font-size:9pt}.market-item svg{width:.31in;height:.32in}.question-grid{margin-top:.2in;gap:.14in .3in}.question{font-size:11pt;min-height:0;padding-bottom:.1in}.qnum{width:.22in;height:.22in;font-size:9pt}.answer-line{font-size:9pt;margin-top:.07in}.sheet-foot{font-size:7pt;margin-top:.14in;padding-top:.07in}.key-intro{font-size:11pt}.key-entry{font-size:10pt;padding-bottom:.1in}.key-entry strong{font-size:11pt}.key-grid{gap:.18in .3in}.key .sheet-foot{margin-top:auto}.cover h1{font-size:34pt}.cover .cover-sub{font-size:12pt}body[data-print=questions] .sheet.key{display:none}body[data-print=key] .sheet.worksheet{display:none}body[data-print=coverless] .sheet.cover{display:none}body[data-ink=mono] .sheet{color:#000}body[data-ink=mono] .sheet svg{filter:grayscale(1)}}
