/* Screen-only workspace. Artwork and print styles remain in style.css. */
body { background:#fffaf0; font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; }
main { overflow:visible; }
.hero,.workspace,.templates-section,.guide,.faq { width:min(1440px,calc(100% - 48px)); }
.hero { min-height:0; padding:28px 0 24px; grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr); gap:40px; align-items:center; border:0; }
.eyebrow { font-size:11px; letter-spacing:.11em; font-weight:700; margin-bottom:10px; }
.hero h1 { font-size:clamp(30px,3.2vw,44px); line-height:1.12; letter-spacing:-.035em; margin-bottom:12px; }
.hero>div>p { font-size:16px; line-height:1.55; margin-bottom:16px; max-width:670px; }
.hero aside { background:transparent; border:0; box-shadow:none; padding:0; }
.hero aside strong { font-size:17px; line-height:1.5; font-weight:600; }
.hero aside ul { margin:12px 0 0; font-size:14px; color:#57635e; }
.hero aside li { padding:6px 0; border:0; }
.primary-link { border:1px solid #245bd3; border-radius:8px; box-shadow:none; padding:10px 16px; font-size:14px; font-weight:650; }
.workspace { padding:16px 0 32px; scroll-margin-top:90px; }
.workspace-head { align-items:center; gap:20px; margin-bottom:16px; }
.workspace-head .eyebrow { display:none; }
.workspace-head h2 { font-size:20px; line-height:1.4; letter-spacing:-.02em; max-width:650px; }
.history button,#downloadJump,.slot-actions button,.upload button,.upload-button,#resetColors,.layout-actions button { border:1px solid #b8c0c5; border-radius:7px; font-weight:600; }
.workspace-grid { grid-template-columns:minmax(0,1fr) 390px; min-height:0; align-items:start; border:1px solid #cbd2d4; border-radius:12px; box-shadow:0 6px 22px #253b4810; }
.editor-panel { grid-column:2; grid-row:1; border:0; border-left:1px solid #d1d7d8; }
.preview-panel { grid-column:1; grid-row:1; position:sticky; top:80px; background:#edf0ed; border-radius:12px 0 0 12px; overflow:hidden; }
.preview-toolbar { padding:14px 18px; }
.preview-stage { min-height:0; padding:24px; background:#edf0ed; overflow:hidden; }
.status { font-size:12px; line-height:1.5; font-weight:500; padding:12px 18px; }
.tabs { top:70px; border-radius:0 12px 0 0; overflow:hidden; }
.tabs button { font-size:12px; font-weight:650; min-height:48px; }
.tabs button[aria-selected=true] { background:#eaf0ff; color:#174da9; box-shadow:inset 0 -3px #2d5ddd; }
.panel { padding:20px; }
.field>span,.panel legend,.upload strong,.check { font-weight:600; }
.field input,.field select,.field textarea { min-height:44px; padding:10px 12px; border:1px solid #bdc6cb; border-radius:7px; }
.slot-editor,.upload,.advanced-colors,.layout-controls,.output-summary { border-color:#cfd6d8; border-radius:8px; }
.slot-head { border-radius:8px 8px 0 0; background:#f4f6f7; }
.slot-head select { max-width:150px; min-height:36px; border:1px solid #bdc6cb; border-radius:6px; padding:5px 8px; background:#fff; }
.slot-body>button { min-height:38px; padding:8px 12px; margin-bottom:12px; border:1px solid #bdc6cb; border-radius:6px; background:#fff; }
.upload-button,.qr-upload label { background:#f1f5ff!important; border:1px dashed #8c9eae!important; border-radius:7px; }
.output-actions button { border:1px solid #bac5cb; background:#fff; box-shadow:none; border-radius:8px; font-weight:650; }
.output-actions button:first-child,.output-actions button:nth-child(2) { background:#2d5ddd; border-color:#2d5ddd; color:#fff; }
.output-actions button:last-child { background:#fff; }
.templates-section { padding:28px 0; border:0; background:transparent; scroll-margin-top:90px; }
.section-heading { align-items:center; gap:24px; margin-bottom:20px; }
.section-heading h2,.guide>h2,.faq>h2 { font-size:28px; line-height:1.25; letter-spacing:-.025em; }
.section-heading>p { font-size:14px; line-height:1.6; }
.template-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; }
.template-card { border:1px solid #bcc5ca; border-radius:10px; overflow:hidden; padding:8px; box-shadow:0 3px 9px #26323b09; transition:box-shadow .2s,transform .2s; }
.template-card:hover { transform:translateY(-3px); box-shadow:0 6px 18px #26323b24; }
.template-thumb { height:210px; background:#e4ede8; border-radius:5px; }
.thumbnail-sign { transform:scale(.27); }
.template-copy strong { font-size:15px; font-weight:650; }
.template-copy small { font-size:12px; }
.guide { padding:28px 0; }
.steps { margin-top:22px; border-color:#cbd2d4; border-radius:10px; overflow:hidden; }
.steps li { padding:22px; border-color:#cbd2d4; }
.steps h3 { font-size:18px; margin:16px 0 8px; }
.steps p,.guide-copy p { font-size:14px; }
.guide-copy { margin-top:28px; gap:24px; }
.guide-copy h2 { font-size:21px; line-height:1.3; }
.faq { padding:28px 0 40px; border:0; }
.faq>h2 { margin-bottom:20px; }
.faq details { border:1px solid #cbd2d4; border-radius:8px; }
.faq summary { font-size:16px; font-weight:600; padding:17px 48px 17px 18px; }
.faq details p { font-size:14px; }
@media(max-width:1100px) { .workspace-grid { grid-template-columns:minmax(0,1fr) 350px; } .template-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:900px) { .hero { gap:24px; } .workspace-head,.section-heading { flex-direction:column; align-items:flex-start; } .template-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:760px) {
 .hero,.workspace,.templates-section,.guide,.faq { width:calc(100% - 28px); padding-left:0; padding-right:0; }
 .hero { grid-template-columns:1fr; padding-top:22px; gap:16px; }
 .hero h1 { font-size:32px; } .hero aside { display:none; }
 .workspace-head h2 { font-size:18px; } .history { width:100%; }
 .workspace-grid { display:flex; box-shadow:none; border-radius:0 0 10px 10px; }
 .preview-panel { position:static; width:100%; border-radius:0; } .editor-panel { border:0; width:100%; }
 .preview-stage { min-height:0; padding:20px 12px; } .tabs { border-radius:0; }
 .mobile-tabs { border:1px solid #cbd2d4; border-radius:9px 9px 0 0; overflow:hidden; }
 .mobile-tabs button[aria-selected=true] { background:#eaf0ff; color:#174da9; }
 .template-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .template-thumb { height:180px; } .thumbnail-sign { transform:scale(.23); }
 .section-heading h2,.guide>h2,.faq>h2 { font-size:25px; }
 .guide-copy { grid-template-columns:1fr; } .steps li { border-color:#cbd2d4; }
}
@media(prefers-reduced-motion:reduce) { .template-card { transition:none; } .template-card:hover { transform:none; } }
