/* Comfortable defaults at 100% browser zoom; preview scaling stays independent. */
:root{--panel-width:320px;--muted:#68705f}
body{font-size:1rem}
.dark{--muted:#b2bba8}
.header-description,.header-actions,.free-badge,.google-link{font-size:.875rem}
.header-actions{gap:18px}
.sidebar h2{font-size:1rem}
.count,.library-tabs span,.list-meta,.list-meta span:last-child{font-size:.75rem}
.search-box{height:46px}
.search-box input,.library-tabs button,.library-filters select{font-size:.875rem}
.library-filters select{padding-top:9px;padding-bottom:9px}
.search-box kbd{font-size:.75rem}
.font-row{min-height:91px}
.font-row-name{font-size:1.5rem}
.font-row-meta{font-size:.8125rem;line-height:1.5}
.font-save{font-size:25px;min-width:34px}
.sidebar-bottom{font-size:.8125rem;padding:18px 16px}
.sidebar-bottom small{font-size:.75rem}
.panel-tools button,.panel-toggle{font-size:.875rem}
.panel-tools button{min-height:36px}
.intro h1{font-size:clamp(2.5rem,4vw,3.5rem);letter-spacing:-.045em}
.intro p{font-size:1rem;line-height:1.8}
.eyebrow{font-size:.75rem;letter-spacing:1.4px}
.intro-art .art-corner{font-size:10px}
.intro-art .art-bottom{font-size:10px}
.control-bar{flex-wrap:wrap;gap:16px;padding:18px}
.current-font{min-width:175px}
.current-font strong{font-size:1.125rem}
.control-label{font-size:.75rem;letter-spacing:.8px}
.category-pill{font-size:.75rem}
.weight-control select{font-size:.875rem;min-width:120px}
.size-control{width:128px}
.size-control .control-label span{font-size:.75rem}
.outline-button,.solid-button{font-size:.875rem;min-height:42px}
.control-end{gap:10px}
.specimen-toolbar{flex-wrap:wrap;row-gap:14px}
.specimen-tabs{gap:23px}
.specimen-tabs button{font-size:.875rem;padding-bottom:15px}
.edit-toggle{font-size:.875rem}
.switch{width:32px;height:20px}
.switch:after{width:16px;height:16px}
.edit-toggle input:checked+.switch:after{transform:translateX(12px)}
.section-label,.section-label span:last-child{font-size:.75rem;letter-spacing:.6px;line-height:1.6}
.section-label{gap:12px;align-items:baseline;margin-bottom:12px}
.section-label span:last-child{text-align:right}
.preview{font-size:calc(1rem * var(--scale))}
.mini-nav{font-size:.875em;flex-wrap:wrap;gap:14px}
.mini-brand{font-size:1.4em}
.mini-nav>div{gap:20px}
.hero-kicker,.hero-footer{font-size:.75em}
.hero-copy p{font-size:1em;line-height:1.8}
.hero-copy h2{font-size:3.4em}
.hero-art{min-height:300px}
.hero-art .art-label,.hero-art .art-caption{font-size:.625em}
.hero-art .art-caption{padding:0 8px}
.article-kicker,.article-kicker span{font-size:.75em;letter-spacing:.7px}
.editorial-art>span{font-size:.75em}
.editorial-content>p,.reading-body p,.reading-heading>p{font-size:1em;line-height:1.85}
.author strong,.quote-bottom strong{font-size:.875em}
.author small,.quote-bottom small,.author>span{font-size:.75em;line-height:1.5}
.author{flex-wrap:wrap}
.avatar{width:36px;height:36px;font-size:12px}
.dashboard-top .avatar{width:32px;height:32px;font-size:12px}
.dash-title h2{font-size:1.3em}
.dash-title p{font-size:.875em}
.metrics>div>span,.metrics small,.chart-title{font-size:.875em}
.metrics small{display:block;line-height:1.6}
.metrics strong{font-size:2em;overflow-wrap:anywhere}
.chart-title>span{font-size:1em}
.chart-labels,.chart-months,.dash-footer{font-size:.75em}
.chart{height:135px}
.dash-footer{flex-wrap:wrap;gap:8px;line-height:1.6}
.product-badge,.product-number{font-size:.75em}
.product-info h3{font-size:1.125em}
.product-info p{font-size:.875em;line-height:1.6}
.product-info>strong{font-size:1em}
.product-card .full-button{font-size:.875em;min-height:42px}
.quote-card blockquote{font-size:1.6em}
.quote-stars{font-size:.875em}
.quote-bottom{align-items:flex-start}
.form-card h3{font-size:1.6em}
.form-card>p{font-size:1em;line-height:1.8}
.form-card>label,.form-card input,.form-card .solid-button{font-size:.875em}
.form-card input,.form-card .solid-button{min-height:44px}
.form-card>small{font-size:.75em;line-height:1.7}
.reading-heading .eyebrow,.reading-byline{font-size:.75em}
.reading-body h3{font-size:1.125em}
.reading-tags span{font-size:.75em}
.glyph-lines p{font-size:1em;letter-spacing:1px}
.glyph-lines .glyph-language{font-size:.875em}
.main-footer,.main-footer>span:last-child{font-size:.75rem}
.footer-brand{font-size:1.125rem}
dialog p{font-size:1rem}
pre{font-size:.875rem}
.license-note{font-size:.875rem!important}
.toast{font-size:.875rem}
@media(max-width:1250px){
  :root{--panel-width:300px}
  .three-columns{grid-template-columns:1fr 1fr}
  .three-columns .specimen-section:last-child{grid-column:1/-1}
  .specimen-toolbar .edit-toggle{margin-left:auto}
  .hero-copy h2{font-size:3em}
  .hero-art{width:30%}
  .control-end{margin-left:0}
}
@media(max-width:1100px){
  .intro-art{display:none}
  .specimen-row{grid-template-columns:1fr}
  .three-columns .specimen-section:last-child{grid-column:auto}
  .hero-art{display:none}
  .size-control{display:block}
  .specimen-tabs{flex-wrap:wrap;gap:16px}
  .reading-card{grid-template-columns:1fr;gap:25px}
  .glyph-card{flex-direction:column;align-items:flex-start;gap:20px}
}
@media(max-width:700px){
  :root{--panel-width:min(320px,calc(100vw - 40px))}
  .app-header{padding:0 16px;gap:12px}
  .brand{font-size:23px}
  .header-actions{gap:5px}
  .header-actions .panel-toggle{font-size:.875rem;padding:7px 9px}
  .intro{display:block}
  .intro h1{font-size:2.5rem;line-height:1.15}
  .intro-art{display:none}
  .intro p{font-size:1rem}
  .intro .desktop-break{display:none}
  .control-bar{padding:14px 12px;gap:12px}
  .current-font{min-width:140px;flex:1}
  .current-font strong{font-size:1rem}
  .weight-control select{font-size:.875rem}
  .size-control{width:100px}
  .control-end{margin-left:auto}
  .control-end .outline-button{font-size:.875rem;padding:9px 12px}
  .control-label{font-size:.75rem}
  .specimen-tabs{flex:0 0 100%;gap:16px;overflow:visible}
  .specimen-tabs button{font-size:.875rem;padding-bottom:12px}
  .edit-toggle{font-size:.875rem;padding-top:14px}
  .section-label,.section-label span:last-child{font-size:.75rem}
  .hero-copy h2{font-size:2.6em}
  .hero-copy p{font-size:1em}
  .hero-footer{gap:15px;flex-wrap:wrap}
  .mini-nav>div{font-size:.875em}
  .editorial-content,.dashboard-card{padding:22px}
  .editorial-content h2{font-size:1.9em}
  .metrics{gap:15px;grid-template-columns:1fr 1fr}
  .metrics strong{font-size:1.7em}
  .metrics small span{display:block;margin:3px 0 0}
  .chart-title{gap:12px;flex-wrap:wrap}
  .product-info h3{font-size:1.125em}
  .product-info p{font-size:.875em}
  .form-card{padding:24px}
  .form-card h3{font-size:1.65em}
  .form-card>p{font-size:1em}
  .form-card>label,.form-card input,.form-card .solid-button{font-size:.875em}
  .form-card>small{font-size:.75em}
  .reading-heading h2{font-size:2.1em}
  .reading-card{padding:24px}
  .glyph-lines p{font-size:.875em}
  .main-footer{flex-wrap:wrap;gap:10px}
}
@media(max-width:380px){.metrics{grid-template-columns:1fr}.metrics strong{font-size:2em}.metrics small span{display:inline;margin-left:4px}.hero-copy h2{font-size:2.25em}.panel-toggle{gap:5px}.brand{font-size:21px}.brand-mark{margin-right:6px}}
