/* Workbook library styles are contained within the new sandbox screens. */
.sandbox-study{--study-ink:#263e31;--study-gold:#ab803b;max-width:1160px;margin:24px auto;color:var(--study-ink);line-height:1.65}
.sandbox-study :is(h2,h3,h4){color:var(--study-ink);line-height:1.25;text-wrap:balance}
.sandbox-study h2{margin:8px 0 14px;font:700 clamp(27px,4vw,42px)/1.15 Georgia,serif}
.sandbox-study h3{font:700 25px/1.25 Georgia,serif}
.sandbox-study h4{font-size:17px;margin:24px 0 12px}
.sandbox-study button,.sandbox-study summary,.sandbox-study input{font:inherit}
.sandbox-study :is(button,summary){cursor:pointer}
.sandbox-study :is(button,input,summary,[tabindex]):focus-visible{outline:3px solid #9e712b;outline-offset:4px}
.sandbox-study-kicker,.sandbox-study-card-label{display:block;font-size:11px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:#82602c}
.sandbox-study-intro{max-width:75ch;margin:0 0 24px;font-size:17px}
.sandbox-study-search{display:block;font-size:14px;font-weight:700;max-width:660px}
.sandbox-study-search input{display:block;width:100%;min-height:48px;margin-top:8px;border:1px solid #b9aa85;border-radius:10px;background:#fffdf6;color:var(--study-ink);padding:10px 14px;box-sizing:border-box}
.sandbox-study-count{font-size:13px;color:#665f49;margin:14px 0}
.sandbox-study-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.sandbox-study-card{border:1px solid #cdbb8d;border-radius:14px;padding:24px;background:linear-gradient(150deg,#fffdf4,#f3e9cc);box-shadow:0 3px 0 #b79b5620}
.sandbox-study-card h3{margin:9px 0 12px}
.sandbox-study-card h3 button{background:none;border:0;padding:0;text-align:left;font:inherit;color:inherit}
.sandbox-study-card h3 button:hover{text-decoration:underline;text-underline-offset:5px}
.sandbox-study-card p{margin:10px 0 18px;font-size:15px}
.sandbox-study-topics{display:flex;flex-wrap:wrap;gap:7px}
.sandbox-study-topics button{border:1px solid #d5c8a6;border-radius:6px;background:#fffaf0;color:#42553d;padding:7px 10px;min-height:38px;font-size:12px;text-align:left}
.sandbox-study-topics button:hover{background:#e9e3cb}
.sandbox-study-empty{grid-column:1/-1;padding:25px;border:1px dashed #b9aa85;border-radius:10px}
.sandbox-study-back{background:#fff9eb;border:1px solid #b9aa85;border-radius:8px;color:var(--study-ink);padding:10px 15px;min-height:44px;margin:0 0 22px}
.sandbox-study-section-nav{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-start;margin:24px 0;padding:15px 0;border-block:1px solid #cdbb8d}
.sandbox-study-section-nav button{background:#fbf6e8;border:1px solid #cdbb8d;border-radius:7px;color:var(--study-ink);padding:9px 12px;font-size:13px;min-height:42px}
.sandbox-study-section-nav button[aria-current]{background:var(--study-ink);border-color:var(--study-ink);color:#fff8dc}
.sandbox-study-section{background:#fffaf0;border:1px solid #d5c8a6;border-radius:14px;margin:20px 0 28px;padding:clamp(18px,3vw,32px)}
.sandbox-study-section>h3{margin-top:0}
.sandbox-study-quick{background:#eaf0df;border-left:4px solid #79915c;padding:16px 20px;border-radius:0 8px 8px}
.sandbox-study-quick p{margin:6px 0 0;font-size:17px}
.sandbox-study-terms{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.sandbox-study-terms>div{padding:15px 17px;border:1px solid #e0d5b7;background:#fffdf7;border-radius:8px;min-width:0}
.sandbox-study-terms dt{font-weight:800;font-size:15px}
.sandbox-study-terms dd{margin:6px 0 0;font-size:14px}
.sandbox-study-example{margin:12px 0 0;padding-top:10px;border-top:1px solid #e7dec4;color:#61583d}
.sandbox-study-example>span{font-size:10px;text-transform:uppercase;font-weight:800;letter-spacing:.08em;display:block;color:#82602c;margin-bottom:4px}
.sandbox-study-checks{margin:24px 0;padding:0 20px 18px;border:1px solid #c0c9ac;background:#f3f5eb;border-radius:10px}
.sandbox-study-checks>p{font-size:13px;color:#5c664f}
.sandbox-study-check{padding:6px 0 14px;border-top:1px solid #d8ddca}
.sandbox-study-check>p{font-size:15px}
.sandbox-study-check details{font-size:14px}
.sandbox-study-check summary{font-weight:700;color:#3a5936;min-height:32px}
.sandbox-study-check details[open]{padding:12px 15px;background:#fffef6;border-radius:7px}
.sandbox-study-overview,.sandbox-study-detail{border-top:1px solid #d5c8a6;padding:16px 0 0}
.sandbox-study :is(.sandbox-study-overview,.sandbox-study-detail)>summary{font-weight:700;min-height:40px}
.sandbox-study-overview>p,.sandbox-study-points{font-size:15px;max-width:85ch}
.sandbox-study-points{padding-left:22px}
.sandbox-study-points li{margin:12px 0}
.sandbox-study-table{max-width:100%;overflow-x:auto;margin:24px 0;border:1px solid #cdbb8d;border-radius:8px;background:#fffdf6}
.sandbox-study-table table{border-collapse:collapse;width:100%;font-size:13px;text-align:left;min-width:540px}
.sandbox-study-table caption{caption-side:top;text-align:left;font-size:15px;font-weight:700;padding:13px 15px;color:var(--study-ink);background:#eee7ce}
.sandbox-study-table th,.sandbox-study-table td{padding:11px 13px;border-right:1px solid #e1d6b8;border-top:1px solid #e1d6b8;vertical-align:top;line-height:1.55}
.sandbox-study-table thead th{background:#f2ecd9;color:#3c4e33;font-weight:800}
.sandbox-study-table tbody th{font-weight:700;min-width:110px}
.sandbox-study-table tbody tr:nth-child(even){background:#f9f5e9}
.sandbox-study-flow{margin:25px 0;padding:0 20px 20px;border:1px solid #d5c8a6;background:#f6f0df;border-radius:10px}
.sandbox-study-flow-help{font-size:13px;color:#61583d}
.sandbox-study-flow>ol{list-style:none;counter-reset:none;padding:0;margin:15px 0 0}
.sandbox-study-flow>ol>li{margin-top:12px;padding:14px 17px;background:#fffdf6;border:1px solid #ddd2b1;border-radius:7px}
.sandbox-study-step{margin:0 0 10px;font-weight:700;font-size:14px}
.sandbox-study-step>span{display:inline-block;background:#324b38;color:#fff8df;border-radius:4px;padding:2px 8px;margin-right:6px;font-size:11px}
.sandbox-study-flow ul{padding-left:20px;margin-bottom:0;font-size:14px}
.sandbox-study-flow ul li{margin:6px 0}
.sandbox-study-next{font-weight:600;color:#5e6e45}
@media(max-width:700px){.sandbox-study{margin:20px 0}.sandbox-study-grid,.sandbox-study-terms{grid-template-columns:1fr}.sandbox-study-card{padding:20px}.sandbox-study-checks,.sandbox-study-flow{padding-inline:14px}.sandbox-study-section-nav{gap:6px}}
@media(prefers-reduced-motion:reduce){.sandbox-study *{scroll-behavior:auto}}
@media print{.sandbox-study button,.sandbox-study-search{display:none}.sandbox-study{max-width:none;color:#000}.sandbox-study-grid,.sandbox-study-terms{display:block}.sandbox-study-card,.sandbox-study-terms>div{break-inside:avoid}.sandbox-study-table{overflow:visible}.sandbox-study-table table{min-width:0}.sandbox-study-section{border:0;padding:0}}
