/* Shared visual language. Palette swatches, patterns and artwork retain their own colours. */
:root {
    color-scheme: light;
    --site-bg: #f3f3ef;
    --site-surface: #fff;
    --site-ink: #252c2a;
    --site-muted: #626b67;
    --site-line: #d8ddd8;
    --site-accent: #315d50;
    --site-link: #315d50;
    --studio-soft: #eef1ed;
    --studio-selected: #e5eee7;
}
body, body.reading-page {
    background: var(--site-bg);
    color: var(--site-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font-family: inherit; }
button, a, input, select, textarea, [role="button"] { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [role="button"]:focus-visible {
    outline: 2px solid var(--site-accent);
    outline-offset: 3px;
}
::selection { background: #d1e2d7; color: #202823; }
input[type="range"], input[type="checkbox"] { accent-color: var(--site-accent); }
.skip-link { background: var(--site-ink); color: white !important; }

/* A compact identity bar leaves the workspace in charge. */
.studio > header, .studio.walkthrough > header, .reading-header, .acct-header {
    min-height: 72px;
    padding: 18px 28px;
    background: #fff;
    border-bottom: 1px solid var(--site-line);
    text-align: left;
}
.studio > header, .studio-identity { display: flex; align-items: center; gap: 24px; }
.studio > header { justify-content: space-between; }
.studio > header h1, .walkthrough-brand, .reading-brand, .footer-brand, .acct-header .wordmark {
    color: var(--site-ink) !important;
    background: none;
    -webkit-text-fill-color: currentColor;
    font-size: 29px;
    font-weight: 850;
    letter-spacing: -.06em;
    line-height: 1;
    text-decoration: none;
}
.studio-identity > p { color: var(--site-muted); font-size: 12px; padding-left: 24px; border-left: 1px solid var(--site-line); }
.studio .account-bar { position: static; margin: 0; max-width: 45%; gap: 16px; }
.acct-email, .acct-link, .acct-header p { color: var(--site-muted); }
.acct-email:hover, .acct-link:hover { color: var(--site-ink); }
.studio .acct-btn { background: var(--site-ink); border-radius: 4px; padding: 9px 15px; font-size: 12px; }
.studio .acct-btn:hover { background: #3c4641; }

/* Studio frame and tool panels. */
.studio > main {
    grid-template-columns: 230px minmax(0, 1fr) 280px;
    height: calc(100vh - 73px);
    min-height: 670px;
    padding: 20px;
    gap: 16px;
}
.studio .panel, .studio .canvas-area {
    background: #fff;
    border: 1px solid var(--site-line);
    border-radius: 5px;
    padding: 16px;
    min-width: 0;
    box-shadow: none;
}
.studio .panel h2 {
    color: var(--site-ink);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .09em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--site-line);
    padding-bottom: 12px;
    margin-bottom: 12px;
}
.studio .panel h3, .studio .upload-section h3, .studio .spec-section h4 {
    color: var(--site-ink);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .025em;
    margin: 19px 0 10px;
}
.panel-tip, .tab-tip, .color-tip, .upload-tip, .specs-empty, .colorway-empty,
.tolerance-section span, .logo-size-control label, .logo-color-control label,
.project-field label, .brush-preview-row span, .custom-draw-color span,
.checkbox-label, .pad-note, .pad-help, .pad-status, .slot-note, .slot-head span,
.photo-options, .save-status, .kmodal-tip, .kmodal-status, .kmodal-alt, .kfield i {
    color: var(--site-muted);
}
.panel-tip, .tab-tip, .color-tip { font-size: 11px; line-height: 1.5; }
.studio .panel::-webkit-scrollbar { width: 5px; }
.studio .panel::-webkit-scrollbar-track { background: transparent; }
.studio .panel::-webkit-scrollbar-thumb { background: #c8cec8; }
.studio .make-set-btn {
    color: var(--site-ink);
    background: var(--studio-soft);
    border: 1px solid var(--site-line);
    border-radius: 4px;
    font-size: 12px;
    min-height: 38px;
    margin-bottom: 24px;
}
.studio .make-set-btn:hover { color: var(--site-ink); background: #e3e8e2; }
.shoe-grid { gap: 8px; }
.studio .shoe-item, .studio .pattern-item, .studio .pattern-item-large, .studio .logo-item {
    background: #fff;
    border: 1px solid var(--site-line);
    border-radius: 4px;
    padding: 8px;
    box-shadow: none;
    transform: none;
    transition: border-color .15s;
}
.studio .shoe-item:hover, .studio .pattern-item:hover, .studio .pattern-item-large:hover, .studio .logo-item:hover {
    border-color: #7b9185;
    background: #f7f9f6;
    transform: none;
}
.studio .shoe-item.selected, .studio .shoe-item[aria-pressed="true"],
.studio .pattern-item.selected, .studio .pattern-item-large.selected {
    border-color: var(--site-accent);
    background: var(--studio-selected);
    box-shadow: 0 0 0 1px var(--site-accent);
}
.studio .shoe-preview { height: 64px; background: #fff; }
.studio .shoe-preview img, .studio .shoe-item:hover .shoe-preview img { filter: none; mix-blend-mode: multiply; }
.studio .shoe-name, .studio .pattern-item span, .studio .pattern-item-large span { color: #434c47; font-size: 11px; line-height: 1.5; margin-top: 7px; }
.studio .set-badge { background: #e7ece6; color: #46534b; border-radius: 2px; font-size: 7px; letter-spacing: .04em; padding: 2px 4px; }
.studio .my-section { margin: 24px 0; }
.drop-zone, .slot-drop { border: 1px dashed #aeb9b0; border-radius: 4px; background: #f8f9f6; }
.drop-zone:hover, .drop-zone.drag-over, .slot-drop:hover, .slot-drop.drag-over { border-color: var(--site-accent); background: var(--studio-selected); color: var(--site-ink); transform: none; }
.drop-zone span { color: var(--site-muted); font-size: 11px; }
.studio .upload-btn, .studio .small-btn { background: #fff; border: 1px solid #bcc6bc; border-radius: 3px; color: var(--site-ink); font-size: 11px; }
.studio .upload-btn:hover, .studio .small-btn:hover { background: var(--studio-soft); }

/* Uniform commands and clearly selected modes. */
.studio .canvas-area { background: #e9ece7; padding: 14px; }
.studio .canvas-controls { gap: 5px; margin-bottom: 14px; }
.studio .canvas-controls button {
    background: #fff;
    color: #434d47;
    border: 1px solid #ccd3ca;
    border-radius: 3px;
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 550;
    transition: none;
}
.studio .canvas-controls button:hover { background: #f4f7f1; color: var(--site-ink); }
.studio .canvas-controls .save-design-btn { background: var(--site-ink); border-color: var(--site-ink); color: white; }
.studio .canvas-controls .save-design-btn:hover { background: #414c43; color: white; }
.studio .canvas-controls button:disabled { background: #f3f5f0; color: #7a847b; opacity: .65; }
.studio .view-tabs { gap: 0; padding: 3px; border: 1px solid #ccd3ca; border-radius: 4px; background: #e0e5dd; margin-bottom: 10px; }
.studio .view-tab, .studio.walkthrough .view-tab {
    color: #536057;
    background: transparent;
    padding: 8px 6px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 500;
    transition: none;
}
.studio .view-tab.active, .studio.walkthrough .view-tab[aria-pressed="true"] { background: #fff; color: #263d2e; font-weight: 650; box-shadow: 0 1px 3px #263b2410; }
.studio .view-tab:hover { color: var(--site-ink); }
.studio .view-tab.available::after { display: none; }
.studio .editor-mode-switch { gap: 0; margin: 3px auto 12px; padding: 3px; border: 1px solid #cbd3c8; border-radius: 4px; background: #e1e6de; }
.studio .editor-mode-switch button { min-height: 32px; padding: 7px 28px; border: 0; background: transparent; color: #58635a; border-radius: 2px; font-size: 11px; font-weight: 550; }
.studio .editor-mode-switch button[aria-pressed="true"] { background: #fff; color: var(--site-ink); box-shadow: 0 1px 3px #263b2410; }
.studio .canvas-instruction { color: #606b61; font-size: 11px; margin-bottom: 12px; }
.studio .canvas-container { border-radius: 2px; min-height: 330px; border: 1px solid #d5dbd0; }
.studio .canvas-hint { color: #6a756b; font-size: 14px; font-weight: 450; }
.studio .design-info { background: transparent; padding: 5px 0 0; color: #59665b; font-size: 10px; gap: 18px; border-radius: 0; }
.studio .tab-bar { gap: 0; border-bottom: 1px solid var(--site-line); padding-bottom: 0; margin-bottom: 20px; }
.studio .tab-btn { background: transparent; color: #68736c; border-radius: 0; border-bottom: 2px solid transparent; padding: 10px 8px; font-size: 11px; transition: none; }
.studio .tab-btn.active { color: var(--site-ink); border-color: var(--site-ink); background: transparent; }
.studio .tab-btn:hover { background: #f3f5f0; color: var(--site-ink); }
.studio .color-grid { gap: 7px; }
.studio .color-item { border-radius: 3px; transition: none; border: 1px solid #0002; }
.studio .color-item:hover, .studio .color-item.selected, .studio .draw-color-item.active { transform: none; border-color: #fff; outline: 2px solid var(--site-ink); outline-offset: 2px; box-shadow: none; }
.studio .pantone-grid .color-item::after { color: var(--site-ink); background: #fff; padding: 2px 4px; z-index: 2; font-size: 10px; }
.studio .pattern-preview-large { border-radius: 2px; height: 52px; }
.studio .logo-item { color: var(--site-ink); }
.studio .current-selection, .studio .specs-summary, .studio .pad-panel { background: var(--studio-soft); border: 1px solid var(--site-line); border-radius: 4px; padding: 12px; }
.studio .current-selection h3 { margin-top: 0; }
.studio .selection-color { width: 36px; height: 36px; border-radius: 3px; border: 1px solid #0002; flex-shrink: 0; }
.selection-info span, .spec-details { color: var(--site-muted); }
.selection-info span:first-child, .spec-details strong, .slot-head b { color: var(--site-ink); }
.studio input:not([type="range"]):not([type="color"]):not([type="checkbox"]):not([type="file"]),
.studio select, .studio textarea, .auth-form input, .contact-form input, .contact-form select, .contact-form textarea {
    color: var(--site-ink);
    background-color: #fff;
    border: 1px solid #c6cfc6;
    border-radius: 3px;
    min-width: 0;
    font-size: 12px;
    line-height: 1.4;
}
.studio select { appearance: auto; min-height: 34px; }
.studio select option { color: var(--site-ink); background: #fff; }
.studio input::placeholder, .studio textarea::placeholder { color: #778078; }
.studio input[type="color"] { background: transparent; border: 1px solid #ccd3ca; border-radius: 3px; flex-shrink: 0; }
.studio .spec-btn, .studio .draw-action-btn, .studio .colorway-btn, .studio .add-text-btn,
.studio .kbtn, .studio .custom-color-row button, .studio .colorway-load {
    background: var(--site-ink); color: #fff; border: 1px solid var(--site-ink); border-radius: 3px; font-size: 11px;
}
.studio .spec-btn:hover, .studio .draw-action-btn:hover, .studio .colorway-btn:hover,
.studio .add-text-btn:hover, .studio .kbtn:hover, .studio .colorway-load:hover { background: #414c43; }
.studio .spec-btn.secondary, .studio .draw-action-btn.secondary, .studio .kbtn.secondary { background: #f4f6f1; color: var(--site-ink); border-color: #ccd3ca; }
.studio .draw-action-btn.danger, .studio .colorway-delete { background: #faeee9; color: #953d2b; border-color: #e6c7bd; }
.studio .tool-btn { background: #f2f5ef; color: #58665b; border: 1px solid #ccd3ca; border-radius: 3px; }
.studio .tool-btn.active, .studio .draw-action-btn.secondary.active { background: var(--studio-selected); color: var(--site-accent); border-color: var(--site-accent); }
.studio .colorway-item { background: var(--studio-soft); border-radius: 3px; }
.studio .colorway-name, .studio .size-range-row span { color: var(--site-ink); }
.studio .logo-controls, .studio .project-info, .studio .colorways-section, .studio .draw-section { border-color: var(--site-line); }
.studio .photo-options input[type="range"] { accent-color: var(--site-accent); }
.save-status.ok, .pad-status.ok { color: #315d50; }
.save-status.error, .kmodal-status.error { color: #a13929; }
.pad-status.warn, .kmodal-status.warn, .slot-note.warn { color: #83551d; }

/* Guided designer: a quiet progress strip instead of oversized cards. */
.studio.walkthrough > header h1 { font-size: 15px; font-weight: 550; letter-spacing: -.015em; line-height: 1.4; }
.walkthrough-exit { color: var(--site-muted); font-size: 12px; }
.walkthrough-guide { padding: 26px 28px 0; }
.walkthrough-steps { gap: 0; border-bottom: 1px solid #c9d1c6; }
.walkthrough-steps button { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: #606b62; padding: 12px 8px 16px; gap: 12px; font-size: 12px; }
.walkthrough-steps button span { border: 1px solid #b8c4b7; border-radius: 3px; width: 24px; height: 24px; font-size: 10px; font-weight: 500; }
.walkthrough-steps button[aria-current="step"] { background: transparent; color: var(--site-ink); border-color: var(--site-accent); }
.walkthrough-steps button[aria-current="step"] span { background: var(--site-accent); border-color: var(--site-accent); color: #fff; }
.walkthrough-steps button:disabled { color: #788276; opacity: .6; }
.walkthrough-directions { min-height: 80px; gap: 24px; padding: 18px 0 16px; }
.walkthrough-directions p { color: #5a685d; font-size: 12px; }
.walkthrough-directions button, .walkthrough-export button { background: #fff; color: var(--site-ink); border: 1px solid #c6cfc2; border-radius: 3px; padding: 10px 14px; font-size: 12px; }
.walkthrough-directions #walkthroughNext, .walkthrough-export #exportFourViews { background: var(--site-ink); border-color: var(--site-ink); color: #fff; font-weight: 550; }
.walkthrough-directions button:hover:not(:disabled), .walkthrough-export button:hover:not(:disabled) { border-color: var(--site-accent); }
.studio.walkthrough > main { height: calc(100vh - 238px); min-height: 570px; padding: 0 28px 24px; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; }
.studio.walkthrough[data-step="3"] .view-tabs { outline: 1px solid #8ba18e; outline-offset: 2px; border-radius: 4px; }
.walkthrough-export label { color: #4b594d; font-size: 11px; margin: 22px 0 8px; }
.walkthrough-export p { color: #657163; font-size: 11px; margin: 9px 0 22px; }
.walkthrough-export input { margin-bottom: 24px; }

/* Reading pages and supporting content use the same studio identity. */
.reading-header { padding-left: max(28px, calc((100vw - 1120px) / 2)); padding-right: max(28px, calc((100vw - 1120px) / 2)); }
.site-nav { gap: 8px 24px; }
.site-nav a { color: #626d64; font-size: 12px; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--site-ink); border-color: var(--site-accent); }
.reading-main { padding-top: 64px; padding-bottom: 88px; }
.eyebrow { color: #647362; font-size: 10px; letter-spacing: .12em; }
.page-heading { margin-bottom: 44px; }
.page-heading h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 600; letter-spacing: -.045em; }
.page-deck { font-size: 18px; line-height: 1.65; }
.prose { color: #414c43; }
.prose h2, .prose h3, .prose strong { color: var(--site-ink); }
.prose h2 { font-weight: 600; }
.prose code { background: #e4e9df; }
.resource-grid { gap: 16px; }
.resource-card, .feature-example { border-radius: 4px; background: #fff; border-color: var(--site-line); padding: 28px; }
.resource-card:hover { border-color: #8ca08e; }
.resource-card .number { color: #687961; font-size: 10px; }
.resource-card h2 { font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.resource-card h2 a, .studio-learn .resource-card h3 a { color: var(--site-ink); text-decoration: none; }
.resource-card h2 a:hover, .studio-learn .resource-card h3 a:hover { color: var(--site-accent); }
.resource-card p { color: #626e63; font-size: 14px; }
.site-button { background: var(--site-ink); color: #fff !important; border-radius: 3px; font-size: 13px; padding: 11px 16px; font-weight: 550; }
.article-figure img, .feature-example img { border-radius: 3px; }
.callout { background: #e9eee4; border-color: #77916f; }
.reading-page th, .reading-page td { border-color: var(--site-line); }
.reading-page th { color: var(--site-ink); background: #e8ede4; }
.reading-page details, .studio-learn details, .guide-next { border-color: var(--site-line); }
.studio-learn { padding-top: 76px; padding-bottom: 76px; }
.studio-learn h2 { font-size: 32px; font-weight: 550; letter-spacing: -.04em; }
.studio-learn > p { color: #626e63; max-width: 720px; font-size: 15px; }
.studio-learn .resource-card h3 { font-weight: 550; letter-spacing: -.02em; }
.studio-learn details { font-size: 14px; }
.studio-learn summary { font-weight: 550; }
.site-footer { background: #e9ede5; border-color: #cdd6c6; padding-top: 40px; padding-bottom: 34px; color: #5f6c5e; font-size: 12px; }
.site-footer .footer-brand { font-size: 27px; }
.site-footer p { margin: 12px 0 24px; }
.site-footer nav { gap: 10px 24px; }
.site-footer a, .site-footer button { color: #485e4b; text-decoration: none; }
.site-footer a:hover, .site-footer button:hover { text-decoration: underline; }
.site-footer .footer-note { color: #667460; font-size: 11px; padding-top: 22px; margin-top: 26px; border-top: 1px solid #cdd6c6; }

/* Forms and dialogs. */
.contact-form, .auth { border: 1px solid var(--site-line); border-radius: 4px; background: #fff; }
.contact-form label { font-size: 13px; font-weight: 550; }
.contact-form input, .contact-form textarea, .contact-form select { font-size: 15px; }
.contact-form select { background-image: linear-gradient(45deg,transparent 50%,#526b54 50%),linear-gradient(135deg,#526b54 50%,transparent 50%); }
.contact-form .field-error { color: #a13929; }
.contact-status { background: #e6f0e4; border-color: #9abb8f; color: #294b2a; }
.contact-errors { background: #fff0e9; border-color: #d5a796; color: #8c3c26; }
.studio .kmodal { background: #26312b80; }
.studio .kmodal-card { background: #fff; border: 1px solid #cbd5c7; border-radius: 5px; box-shadow: 0 18px 60px #17231a22; padding: 26px; }
.studio .kmodal-card h2 { color: var(--site-ink); font-size: 19px; font-weight: 600; letter-spacing: -.025em; }
.kmodal-close:hover { color: var(--site-ink); }
.kfield span, .auth-form label span { color: #455442; }
.kmodal-alt a, .link-btn, .auth a, .auth-legal a, .pad-help a { color: var(--site-accent); }
.photo-slot { background: #f5f7f1; border-color: #d5ddce; border-radius: 4px; }
.auth-or::before, .auth-or::after { border-color: var(--site-line); }
.acct-header p { margin-top: 8px; font-size: 11px; }
.auth { padding: 30px; margin-top: 48px; }
.auth h1, .auth h2 { color: var(--site-ink); font-weight: 600; }
.auth-sub, .auth-alt, .auth-legal, .auth section p, .terms dt { color: var(--site-muted); }
.auth section, .terms div { border-color: var(--site-line); }
.auth .btn { background: var(--site-ink); color: white; border-radius: 3px; font-size: 13px; }
.auth .btn.ghost { background: #e9eee4; color: #43563e; }
.auth .btn.danger { background: #a34530; }
.auth-msg.error { background: #fff0e9; color: #953d2b; }
.auth-msg.ok { background: #e9f2e5; color: #315d37; }
.privacy-panel { background: #fff; border-color: #c4cec0; border-radius: 5px; box-shadow: 0 6px 30px #25362318; padding: 20px 24px; font-size: 12px; }
.privacy-panel h2 { font-size: 15px; color: var(--site-ink); font-weight: 600; }
.privacy-panel a { color: var(--site-accent); }
.privacy-panel .privacy-status { color: #6a7667; font-size: 11px; }
.privacy-actions button { background: var(--site-ink); border-color: var(--site-ink); border-radius: 3px; font-size: 12px; padding: 10px 14px; }
.privacy-actions #privacyReject, .privacy-actions #privacyClose { color: var(--site-ink); background: #fff; border-color: #bdc9b7; }

@media (max-width: 1150px) {
    .studio > main { grid-template-columns: 190px minmax(0,1fr) 238px; padding: 14px; gap: 12px; }
    .studio .panel { padding: 12px; }
    .studio .canvas-controls button { font-size: 10px; padding: 7px 8px; }
}
@media (max-width: 900px) {
    .reading-header { flex-direction: row; flex-wrap: wrap; }
    .studio-identity > p { font-size: 11px; padding-left: 16px; }
    .studio-identity { gap: 16px; }
    .walkthrough-guide { padding: 22px 20px 0; }
    .studio.walkthrough > main { padding: 0 20px 20px; grid-template-columns: 220px minmax(0,1fr); gap: 14px; }
    .walkthrough-steps button { font-size: 11px; gap: 8px; }
}
@media (max-width: 800px) {
    .studio > header, .studio.walkthrough > header { padding: 18px 20px; flex-wrap: wrap; gap: 18px; }
    .studio .account-bar { max-width: 100%; font-size: 12px; }
    .studio > main { height: auto; min-height: 0; grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto auto; padding: 14px; gap: 14px; }
    .studio .left-panel { max-height: 300px; }
    .studio .right-panel { max-height: 470px; }
    .studio .canvas-area { min-height: 550px; }
    .studio .canvas-container { min-height: 300px; }
    .studio .shoe-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .studio .color-item { aspect-ratio: auto; height: 34px; }
    .studio .tab-btn { padding: 12px; }
    .studio .pattern-grid-large { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .studio.walkthrough > header h1 { order: 3; width: 100%; font-size: 17px; }
    .walkthrough-steps { grid-template-columns: 1fr 1fr; gap: 4px 12px; border: 0; }
    .walkthrough-steps button { border-bottom-color: #d1d9c9; padding: 10px 0; font-size: 11px; }
    .walkthrough-steps button[aria-current="step"] { border-color: var(--site-accent); }
    .walkthrough-directions { flex-direction: column; gap: 12px; padding: 18px 0; }
    .walkthrough-directions > div { width: 100%; justify-content: space-between; }
    .studio.walkthrough > main { height: auto; min-height: 0; grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto; padding: 0 20px 20px; }
    .studio.walkthrough .canvas-area { height: 500px; min-height: 500px; }
    .studio.walkthrough .left-panel, .studio.walkthrough .right-panel { max-height: 300px; }
    .studio.walkthrough .shoe-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .walkthrough-export { max-height: none; }
    .reading-header { gap: 20px; }
    .site-nav { gap: 8px 20px; justify-content: flex-start; }
}
@media (max-width: 480px) {
    .studio-identity > p { border: 0; padding: 0; font-size: 10px; }
    .studio-identity { gap: 14px; }
    .studio .account-bar { gap: 12px; }
    .studio > header { gap: 14px; }
    .studio > main, .studio.walkthrough > main { padding-left: 10px; padding-right: 10px; }
    .walkthrough-guide { padding-left: 14px; padding-right: 14px; }
    .studio .panel, .studio .canvas-area { padding: 12px; }
    .studio .shoe-grid, .studio.walkthrough .shoe-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .studio .pattern-grid-large { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .studio .canvas-controls button { min-height: 34px; padding: 7px 9px; }
    .studio .view-tab, .studio.walkthrough .view-tab { font-size: 10px; padding: 9px 3px; }
    .studio .editor-mode-switch button { min-height: 36px; padding: 8px 22px; }
    .studio input:not([type="range"]):not([type="color"]):not([type="checkbox"]):not([type="file"]), .studio select, .studio textarea,
    .auth-form input, .contact-form input, .contact-form select, .contact-form textarea { font-size: 16px; }
    .walkthrough-directions p { line-height: 1.6; }
    .walkthrough-directions button { min-height: 40px; padding: 10px 12px; font-size: 11px; }
    .reading-header { padding: 24px 20px; }
    .reading-main { padding-top: 38px; }
    .studio-learn { padding: 52px 22px; }
    .studio-learn h2 { font-size: 28px; }
    .site-footer { padding: 32px 22px; }
    .privacy-panel { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .studio *, .reading-page * { transition: none !important; scroll-behavior: auto !important; }
}
