:root { color-scheme: light; --ink: #243d34; --green: #26604e; --muted: #737b72; }
* { box-sizing: border-box; }
body { margin: 0; background: #f6f5f0; color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; }
.site-header, main, .site-footer { max-width: 1160px; margin: auto; }
.site-header { padding: 28px 36px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e4e6dc; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 25px; font-weight: 750; letter-spacing: -1px; text-decoration: none; }
.brand-mark { background: var(--green); color: #fff; border-radius: 11px; width: 37px; height: 37px; display: grid; place-items: center; }
.brand-dot { color: #c58136; margin-left: -5px; }
.header-note { font-size: 12px; color: var(--muted); }
main { padding: 0 36px; }
.hero { padding: 55px 0 35px; }
.eyebrow, .section-label { font-size: 10px; font-weight: 700; letter-spacing: 1.7px; color: #7c8276; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--green); }
.tiny-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; background: #c58136; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px, 5vw, 61px); font-weight: 400; line-height: 1.1; letter-spacing: -1.7px; margin: 17px 0; }
h1 span { color: var(--green); }
h1:focus { outline: none; }
.hero p { font-size: 15px; line-height: 1.8; color: var(--muted); }
.maker-grid { display: grid; grid-template-columns: 390px 1fr; gap: 65px; align-items: start; padding-bottom: 55px; }
.settings-card { padding: 30px !important; border: 1px solid #e0e4d9; border-radius: 16px !important; }
h2 { font-family: Georgia, serif; font-weight: 400; font-size: 27px; line-height: 1.25; margin: 12px 0 8px; letter-spacing: -.5px; }
.muted { font-size: 12px; color: var(--muted); margin-bottom: 23px; }
.settings-card .mud-select { margin-top: 17px; }
.field-hint { color: var(--muted); font-size: 11px; margin: 7px 0 0 2px; }
.settings-card .mud-switch { margin-top: 17px; }
.answer-hint { margin: -3px 0 23px 2px; }
.generate-button { text-transform: none !important; box-shadow: none !important; font-weight: 600 !important; min-height: 49px; }
.print-note { display: flex; justify-content: center; align-items: center; gap: 7px; font-size: 10px; color: var(--muted); border-top: 1px solid #e8ebe3; margin-top: 23px; padding-top: 18px; }
.download-note { font-size: 11px; text-align: center; color: var(--green); margin-top: 10px; }
.worksheet-layout { font-size: 12px; color: var(--muted); margin-top: 20px; }
.preview-navigation { display: flex; justify-content: space-between; align-items: center; font-size: 12px; margin-bottom: 15px; }
.final-answer-space { font-size: 10px; text-align: center; margin: 8px 0 10px; color: var(--ink); }
.sample-puzzle .final-answer-space { font-size: 12px; }
.preview-panel { padding: 0 13px; }
.preview-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 10px; }
.page-tag { font-size: 10px; border-radius: 5px; background: #e9ebe3; color: var(--muted); padding: 5px 9px; }
.paper-preview { max-width: 410px; min-height: 530px; margin: auto; background: #fff; padding: 30px; border: 1px solid #e3e4dc; box-shadow: 0 8px 25px #253a3010, 5px 5px 0 #eceee6; transform: rotate(1deg); color: #343c34; }
.paper-title { font-size: 20px; font-weight: 800; letter-spacing: 2px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.paper-title span { font-size: 7px; letter-spacing: 1px; background: #eff0eb; padding: 5px 7px; }
.paper-subtitle { font-size: 8px; color: var(--muted); margin-top: 5px; }
.paper-name { font-size: 8px; color: var(--muted); border-bottom: 1px solid #e3e6dc; padding: 16px 0 12px; }
.sample-puzzle { width: 270px; max-width: 100%; margin: 20px auto 5px; color: #385746; }
svg { width: 100%; display: block; }
svg text { text-anchor: middle; font-family: Arial, sans-serif; }
.svg-label { font-size: 9px; font-weight: 700; }
.svg-number { font-size: 12px; }
.svg-final { font-size: 7px; font-weight: 700; }
.svg-slot { font-size: 6px; }
.sample-caption { font-family: Georgia, serif; font-size: 17px; line-height: 1.5; text-align: center; color: #607057; }
.sample-caption strong { font-weight: 400; color: var(--green); }
.sample-note { font-size: 8px; color: var(--muted); text-align: center; margin-top: 20px; }
.actual-puzzles { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 17px; }
.preview-puzzle { border: 1px solid #e4e7df; border-radius: 5px; padding: 5px; }
.preview-puzzle > span { font-size: 8px; }
.preview-footnote { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 22px; font-size: 10px; color: var(--muted); }
.how-section { padding: 32px 0 42px; border-top: 1px solid #e0e4d9; display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 28px; }
.how-section h2 { font-size: 25px; }
.how-step > span { display: grid; place-items: center; width: 24px; height: 24px; background: #e5ebe1; color: var(--green); border-radius: 50%; font-size: 11px; margin-bottom: 10px; }
h3 { font-size: 13px; font-weight: 650; margin-bottom: 7px; }
.how-step p { font-size: 12px; color: var(--muted); line-height: 1.7; }
.site-footer { padding: 23px 36px; border-top: 1px solid #e0e4d9; display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); }
#blazor-error-ui { display: none; position: fixed; bottom: 0; width: 100%; padding: 15px; background: #fff3cb; z-index: 1000; }
@media (max-width: 900px) { .maker-grid { grid-template-columns: 340px 1fr; gap: 25px; } .paper-preview { padding: 20px; } .preview-panel { padding: 0; } .how-section { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .site-header { padding: 20px; } .header-note { display: none; } main { padding: 0 20px; } .hero { padding-top: 35px; } .desktop-break { display: none; } .maker-grid { grid-template-columns: 1fr; gap: 35px; } .settings-card { padding: 24px !important; } .paper-preview { padding: 25px; } .how-section { gap: 23px; } .how-section > div:first-child { grid-column: 1 / -1; } .site-footer { padding: 20px; gap: 12px; flex-wrap: wrap; } }
