.designer-page { --muted: #66695f; }
.designer-page .site-header { height: 76px; padding: 0 32px; gap: 28px; }
.studio-home { font-size: 14px; text-decoration: none; color: var(--muted); }
.designer-page .studio { grid-template-columns: 390px minmax(0, 1fr); }
.designer-page .controls { padding: 26px 26px 20px; min-width: 0; display: block; }
.designer-intro h1 { font-size: 38px; margin: 8px 0 24px; }
.designer-intro .eyebrow { color: var(--accent); font-size: 11px; }
.designer-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 5px; background: #edece4; border-radius: 6px; }
.designer-tabs button { display: flex; flex-direction: column; gap: 6px; align-items: center; border: 0; background: transparent; border-radius: 3px; padding: 12px 4px; font-size: 14px; }
.designer-tabs button span { font-size: 11px; color: var(--muted); }
.designer-tabs button[aria-selected="true"] { background: var(--paper); box-shadow: 0 1px 4px #292a2715; color: var(--accent); }
.designer-tabs button[aria-selected="true"] span { color: var(--accent); }
.designer-page .control-section { border: 0; padding: 26px 0 20px; }
.designer-page .control-section h2 { font: 400 27px/1.15 "Instrument Serif", Georgia, serif; margin: 0 0 8px; }
.panel-description { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0 0 20px; }
.designer-page .helper { font-size: 13px; }
.designer-page .setting-row { flex-direction: row; align-items: center; gap: 10px; }
.designer-page .setting-row select { font-size: 13px; max-width: 185px; }
.designer-page .toggle-row { font-size: 14px; }
.designer-page .toggle-row span:first-child { max-width: none; }
.designer-page .paper-sizes span { font-size: 12px; }
.designer-page .orientation button { font-size: 14px; padding: 12px 5px; }
.fine-tuning { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 16px; }
.fine-tuning summary { cursor: pointer; font-size: 14px; font-weight: 500; padding: 5px 0; }
.fine-tuning summary span { font-weight: 400; font-size: 12px; color: var(--muted); margin-left: 8px; }
.fine-tuning summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.fine-tuning .place-marker-setting { border: 0; padding: 0; background: transparent; }
.fine-tuning .marker-heading { display: none; }
.fine-tuning .paper-colors { margin-top: 16px; }
.designer-page .paper-colors button { font-size: 12px; }
.step-footer { border-top: 1px solid var(--line); padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.step-footer > span { font-size: 12px; color: var(--muted); }
.step-footer button { color: var(--accent); min-height: 36px; }
.style-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.style-card { padding: 7px; border: 1px solid var(--line); background: transparent; position: relative; text-align: left; border-radius: 4px; overflow: hidden; }
.style-card img { display: block; width: 100%; height: 106px; object-fit: cover; object-position: center 45%; background: #eae8df; }
.style-card strong { display: block; padding: 10px 3px 4px; font-size: 13px; font-weight: 500; }
.style-card[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.style-card:hover { background: #eeece3; }
.style-check { display: none; position: absolute; top: 10px; right: 10px; background: var(--accent); color: white; border-radius: 50%; width: 21px; height: 21px; place-items: center; font-size: 12px; }
.style-card[aria-pressed="true"] .style-check { display: grid; }
.classic-card { grid-column: 1/-1; display: flex; gap: 14px; align-items: center; padding: 12px; }
.classic-card strong { padding: 0 0 4px; font-size: 14px; }
.classic-card small { font-size: 12px; color: var(--muted); }
.classic-symbol { font: 40px/1 Georgia, serif; color: var(--accent); }
.designer-page .artistic-choice { margin: 0; }
.design-note { flex: none; width: min(560px, 100%); margin: 0 auto; padding: 10px 0 12px; text-align: center; font-size: 13px; line-height: 1.6; color: var(--muted); overflow-wrap: anywhere; }
.design-note[hidden] { display: none; }
.design-note h3 { font: 400 21px/1.2 "Instrument Serif", Georgia, serif; color: var(--ink); margin: 0 0 4px; }
.design-note p { margin: 0 0 8px; }
.design-note .design-note-lede { margin: 0; }
.design-note summary { display: inline-block; margin-top: 6px; font-size: 12px; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.design-note summary::-webkit-details-marker { display: none; }
.design-note details[open] { text-align: left; }
.design-note details[open] summary { display: block; width: max-content; margin: 6px auto 10px; }
.design-note strong { color: var(--ink); font-weight: 500; }
.mobile-preview-link, .mobile-edit-link { display: none; }
.designer-page .workspace { height: calc(100dvh - 76px); min-height: 720px; top: 0; padding: 24px 42px 0; background: #eaece5; }
.designer-page .workspace-toolbar .eyebrow { font-size: 11px; }
.designer-page .workspace-toolbar h2 { font-size: 34px; }
.designer-page .preview-label { background: transparent; border-color: #c9cdc2; }
.designer-page .export-panel { padding: 18px 0; }
.designer-page .export-copy p { font-size: 13px; }
.designer-page .drawing-meta { padding: 10px 0 16px; font-size: 12px; }
.designer-page .workspace-foot { padding-bottom: 16px; }
.designer-page .artboard { min-height: 300px; }
@media (min-width: 1200px) { .designer-page .controls { min-height: calc(100dvh - 76px); } }
@media (max-width: 1100px) {
  .designer-page .studio { grid-template-columns: 355px minmax(0, 1fr); }
  .designer-page .workspace { padding: 24px 24px 0; }
  .studio-home { display: none; }
  .designer-page .site-header { gap: 20px; }
}
@media (max-width: 730px) {
  .designer-page .site-header { padding: 0 18px; height: 70px; gap: 12px; }
  .designer-page .brand { font-size: 27px; white-space: nowrap; }
  .designer-page .brand-mark { margin-right: 6px; }
  .designer-page .site-header > .text-button, .designer-page #signup-link, .designer-page .header-nav > a:first-child { display: none; }
  .designer-page .controls { display: block; padding: 24px 20px; }
  .designer-page .designer-intro h1 { font-size: 34px; margin-bottom: 20px; }
  .mobile-preview-link, .mobile-edit-link { display: inline-block; font-size: 13px; color: var(--accent); text-underline-offset: 4px; }
  .mobile-preview-link { margin-top: 18px; }
  .designer-page .workspace-toolbar .preview-label { display: none; }
  .designer-page .workspace { position: static; height: 800px; min-height: 760px; padding: 24px 20px 0; }
  .designer-page .control-section { grid-column: auto; padding-top: 22px; }
  .designer-page .export-panel { flex-direction: column; }
  .designer-page .style-card img { height: 125px; }
  .designer-page .artboard { padding-left: 26px; padding-right: 26px; }
}
@media (max-width: 400px) {
  .designer-page .export-actions { flex-direction: column; }
  .designer-page .export-actions button { width: 100%; }
  .designer-page .workspace { height: 870px; }
}
.designer-page #panel-place .orientation { margin: 12px 0 10px; }
