/* Fonts / Designs24hr. Shared theme and responsive components. */
:root{color-scheme:light;--canvas:#f7f8fa;--surface:#fff;--ink:#18202a;--muted:#58616d;--border:#e9ebee;--red:#d30000;--charcoal:#353a40;--radius:16px;--space:24px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;background:var(--canvas);color:var(--ink);font:16px/1.7 "Segoe UI",Arial,sans-serif}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent;touch-action:manipulation}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,.output:focus-visible{outline:3px solid var(--red);outline-offset:3px}button:disabled{opacity:.5;cursor:default}button{min-height:44px}h1,h2,h3{line-height:1.2;letter-spacing:-.6px}h1{font-size:clamp(36px,3.3vw,52px);font-weight:750;letter-spacing:-1.5px;margin:0 0 12px}h2{font-size:29px;margin:0 0 16px}h3{font-size:17px}p{margin:12px 0}svg{flex-shrink:0}.muted{color:var(--muted)}.small{font-size:12px;line-height:1.6}.eyebrow{color:var(--red);font-size:10px;text-transform:uppercase;font-weight:700;letter-spacing:1.6px;margin:0 0 10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.skip{position:absolute;top:-100px;left:16px;z-index:50;background:#fff;border:1px solid var(--red);border-radius:8px;padding:12px}.skip:focus{top:10px}
/* Full-screen frame and a single navigation. */
.app-shell{width:100%;min-height:100dvh}.main-panel{min-width:0}.topbar{height:76px;padding:0 28px;display:flex;align-items:center;gap:22px;background:#fff;border-bottom:0}.brand{display:flex;align-items:center;text-decoration:none;flex-shrink:0}.topbar>.brand{margin-right:auto}.brand strong{font-size:31px;font-weight:850;line-height:1;letter-spacing:-1.3px}.brand-dot{color:var(--red)}.brand small{display:block;font-size:7px;font-weight:650;letter-spacing:1.15px;line-height:1;margin-top:9px}.utility-search{display:flex;align-items:center;gap:10px;width:340px;max-width:48%;min-height:44px;padding:8px 13px;background:var(--canvas);border:1px solid var(--border);border-radius:9px;color:var(--muted)}.utility-search input{min-width:0;width:100%;font-size:13px;background:transparent;border:0;border-radius:0;padding:0;outline:0}.utility-search:focus-within{outline:2px solid var(--red);outline-offset:2px}.icon-button{border:0;border-radius:9px;background:transparent;min-width:44px;min-height:44px;font-size:22px}.page-content{padding:28px 28px 0;min-height:65vh}.breadcrumb{font-size:12px;color:var(--muted);margin:0 0 16px}.breadcrumb a{text-decoration:none}
/* White blocks establish hierarchy; internal groups have no duplicate frames. */
.page-heading,.workspace-controls,.workbench,.editorial>section,.editorial-grid>section,.faq,.end-note,.prose{border:1px solid var(--border);border-radius:var(--radius);background:#fff;padding:var(--space)}.page-heading{margin-bottom:20px}.page-heading>.eyebrow{display:none}.subtitle{font-size:16px;line-height:1.7;color:var(--muted);margin:0;max-width:75ch}.styles-section{margin-bottom:20px}.workspace-controls{padding:20px}.category-tabs{display:flex;gap:7px;flex-wrap:wrap}.chip{border:1px solid var(--border);border-radius:8px;background:#fff;min-height:40px;padding:8px 15px;font-size:12px;font-weight:500;color:var(--muted)}.chip:hover{border-color:#b8bec6;color:var(--ink)}.chip[aria-pressed=true]{background:var(--charcoal);color:#fff;border-color:var(--charcoal)}.results-toolbar{display:flex;align-items:center;gap:12px;margin:14px 0}.results-toolbar>div:first-child{margin-right:auto}.results-toolbar p{font-size:12px;color:var(--muted);margin:0}.sort-label{display:flex;align-items:center}select,input[type=text]{background:#fff;border:1px solid var(--border);border-radius:8px;min-height:44px;padding:9px 12px;font-size:13px;min-width:0;max-width:100%}select{cursor:pointer}.sort-label select{min-height:40px;font-size:12px}.restriction{background:#fff0f0;color:#8b0000;border-radius:9px;padding:11px;font-size:12px}body[data-platform] .results-toolbar{flex-wrap:wrap}
/* One composer immediately followed by actual preview cards. */
.generator{margin:0}.composer{background:var(--canvas);border:1px solid transparent;border-radius:12px;padding:10px 18px 8px}.composer:focus-within{border-color:var(--red)}.composer-head{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:32px;font-size:13px;font-weight:600}.text-button{border:0;background:transparent;min-height:44px;padding:6px 0;white-space:nowrap;color:var(--muted);font-size:12px;line-height:1.4}.text-button:hover{color:var(--red)}.composer textarea{display:block;width:100%;min-height:80px;resize:vertical;background:transparent;border:0;outline:0;padding:6px 0 12px;font-size:25px;line-height:1.5}.composer textarea::placeholder{color:#858c97}.input-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #e4e7ec;padding-top:5px;font-size:11px;color:var(--muted)}.sample-line{display:flex;align-items:center;justify-content:space-between;margin:10px 0 9px;padding:0 2px}.sample-line p{font-size:11px;margin:0;color:var(--muted)}.results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.style-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--border);border-radius:14px;background:#fff;padding:18px 20px;transition:border-color .15s ease,box-shadow .15s ease}.style-card:hover{border-color:#c4c9d0;box-shadow:0 3px 12px #18202a05}.card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-height:30px}.card-top h3{font-size:12px;font-weight:600;color:var(--muted);letter-spacing:0;line-height:1.5;margin:0}.favorite{min-width:36px;flex-shrink:0;margin:-9px -8px 0 0;color:#69727f;font-size:23px}.favorite[aria-pressed=true]{color:var(--red)}.output{font-family:"Segoe UI Symbol","Apple Symbols","Noto Sans Math",system-ui,sans-serif;font-size:30px;line-height:1.65;overflow-wrap:anywhere;white-space:pre-wrap;min-width:0;flex:1;margin:17px 0 24px}.card-meta{font-size:10px;line-height:1.5;letter-spacing:.1px;color:var(--muted);margin:0 0 12px}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.card-bottom>span{font-size:11px;color:var(--muted)}.card-actions{display:flex;align-items:center;gap:10px}.card-actions>.text-button{font-size:11px}.copy,.primary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:0;border-radius:8px;background:var(--charcoal);color:#fff;padding:11px 19px;font-size:13px;font-weight:600;line-height:1.4;white-space:nowrap;text-decoration:none}.copy{width:88px;flex-shrink:0}.copy:hover,.primary:hover{background:#202329}.secondary{border:1px solid #d8dce2;border-radius:8px;background:#fff;min-height:44px;padding:11px 21px;font-size:13px}.secondary:hover{border-color:var(--ink)}.card-caveat{border-top:1px solid var(--border);font-size:10px;margin-top:13px;padding-top:10px;color:var(--muted)}.card-caveat summary{cursor:pointer;min-height:28px}.card-caveat p{margin:8px 0 0}.load-row{display:flex;justify-content:center;margin:22px 0 14px}.compat-guide{color:var(--muted);font-size:12px;text-align:center;margin:0 auto;max-width:75ch}.compat-guide summary{cursor:pointer;min-height:36px;line-height:36px}.compat-guide p{line-height:1.7;text-align:left}.empty-state{border:1px dashed #c8cdd4;background:#fff;border-radius:14px;padding:30px;text-align:center}.empty-state h3{margin-top:0}.error{font-size:13px;color:#9b1111;margin:8px 0}.error:empty{display:none}
/* Graphic and name tools use the same components and licensed local assets. */
.workbench{margin:20px 0}.workbench p{color:var(--muted)}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:18px}.section-heading h2{font-size:27px;margin:0}.badge{font-size:10px;line-height:1.4;white-space:nowrap;border-radius:30px;padding:7px 11px;background:var(--canvas);color:var(--muted)}.workbench>label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}.workbench>select{width:100%;max-width:520px}.workbench textarea{width:100%;resize:vertical;border:1px solid #e1e5eb;border-radius:10px;background:var(--canvas);font-size:21px;padding:12px 15px;line-height:1.5}.graphic-controls,.builder-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:20px 0}.graphic-controls label,.builder-fields label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px}.graphic-controls input[type=range]{width:100%;min-height:44px;accent-color:var(--red)}.graphic-controls input[type=color]{width:100%;min-height:44px;border:1px solid var(--border);border-radius:8px;background:#fff;padding:5px;cursor:pointer}.check-label{display:flex!important;align-items:center;gap:10px;min-height:44px}.check-label input{width:18px;height:18px;accent-color:var(--red)}.canvas-wrap{aspect-ratio:1200/630;overflow:hidden;border-radius:12px;border:1px solid var(--border);margin-top:18px;background-color:#fff;background-image:linear-gradient(45deg,#f1f2f4 25%,transparent 25%),linear-gradient(-45deg,#f1f2f4 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#f1f2f4 75%),linear-gradient(-45deg,transparent 75%,#f1f2f4 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}canvas{display:block;width:100%;height:auto}.export-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:16px}.export-row p{max-width:70%}.name-builder{border:0;border-top:1px solid var(--border);border-radius:0;padding:18px 0;margin:16px 0 0}.name-builder h2{font-size:23px}.name-builder p{font-size:14px}
/* Editorial blocks are independent panels, not multiple boxes inside a box. */
.editorial{margin:20px 0}.editorial>section{margin:20px 0}.editorial>.content-block{margin-top:0}.editorial-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}.editorial-grid>section{min-width:0}.editorial-grid h2{font-size:26px}.editorial p{color:var(--muted);font-size:16px;line-height:1.8}.editorial p:last-child{margin-bottom:0}.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:23px 0 0}.steps span{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--canvas);font-size:12px;color:var(--ink)}.steps h3{font-size:16px;margin:13px 0 6px;letter-spacing:-.2px}.steps p{font-size:14px;line-height:1.7;margin:0}.related-links{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin-top:18px}.related-links a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:12px 0;border-bottom:1px solid var(--border);font-size:14px;text-decoration:none}.related-links a:hover{color:var(--red)}.related-links svg{width:16px}.faq{margin:20px 0}.faq>details{border-bottom:1px solid var(--border);padding:16px 0}.faq>details:last-child{border:0;padding-bottom:0}.faq summary{cursor:pointer;min-height:30px;font-size:15px}.faq details p{font-size:15px;line-height:1.8;color:var(--muted);margin:10px 0 0}.end-note{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:14px;color:var(--muted);margin:20px 0 0}.end-note a{font-weight:600;text-decoration:none;color:var(--ink);white-space:nowrap}.end-note a:hover{color:var(--red)}.prose{max-width:85ch;margin-bottom:20px}.prose>.page-heading{border:0;border-radius:0;padding:0;margin-bottom:26px;background:transparent}.prose h2{font-size:26px;margin:30px 0 14px}.prose p{font-size:16px;line-height:1.8;color:var(--muted)}.editorial.prose{margin:20px 0}.no-js{background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px;font-size:14px}
/* Supporting navigation, accessible dialogs and status feedback. */
footer{border-top:1px solid var(--border);background:#fff;margin-top:24px;padding:24px 28px}.footer-links{display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center;font-size:12px;color:var(--muted)}.footer-links a{text-decoration:none}.footer-links a:hover{text-decoration:underline}.footer-links .text-button{font-size:12px}.footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:16px;font-size:12px;color:var(--muted)}dialog{max-width:min(560px,calc(100% - 32px));max-height:90dvh;border:1px solid var(--border);border-radius:16px;padding:26px;color:var(--ink);background:#fff}dialog::backdrop{background:#18202a65}dialog h2{font-size:26px}dialog p{font-size:15px;color:var(--muted)}#mobile-drawer{margin:0 0 0 auto;height:100dvh;max-height:100dvh;width:320px;max-width:calc(100% - 32px);border-radius:16px 0 0 16px;padding:22px 16px}.drawer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:30px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;min-height:46px;padding:11px 13px;border-radius:8px;text-decoration:none;font-size:13px;color:var(--muted)}.nav-item.active{background:var(--red);color:#fff}.nav-item:hover{background:var(--canvas);color:var(--ink)}.nav-label{font-size:10px;font-weight:700;letter-spacing:1.4px;color:var(--muted);margin:23px 13px 10px}#status{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);max-width:calc(100% - 32px);z-index:30;background:var(--charcoal);color:#fff;border-radius:10px;padding:11px 20px;font-size:13px}#status:empty{display:none}.copy-fallback{position:fixed;left:0;top:0;opacity:0}
@media(min-width:1600px){.results-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:2100px){.results-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1100px){.results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-content{padding:24px 24px 0}.topbar{padding-inline:24px}.graphic-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){:root{--space:18px;--radius:14px}.topbar{height:64px;padding:0 16px;gap:12px}.brand strong{font-size:27px}.brand small{display:none}.topbar>.utility-search{max-width:56%;width:200px;flex:1;padding:7px 10px;min-height:40px}.utility-search input{font-size:12px}.page-content{padding:18px 16px 0}.page-heading{margin-bottom:16px}h1{font-size:34px;letter-spacing:-1px;margin-bottom:10px}h2{font-size:26px}.subtitle{font-size:15px;line-height:1.65}.workspace-controls{padding:14px}.category-tabs{gap:6px}.chip{padding:7px 12px;font-size:11px;min-height:38px}.results-toolbar{gap:8px;flex-wrap:wrap;margin:12px 0}.results-toolbar>div:first-child{flex:1;min-width:100px}.results-toolbar p{font-size:10px}.sort-label select{font-size:11px;max-width:130px;min-height:38px;padding:7px}.composer{padding:8px 13px 5px}.composer-head{font-size:12px}.composer textarea{font-size:22px;min-height:72px;padding-bottom:8px}.input-bottom{font-size:10px;gap:8px;flex-wrap:wrap}.input-bottom .text-button{font-size:11px}.sample-line{margin:9px 0}.sample-line p{font-size:10px}.results-grid{gap:14px}.style-card{padding:17px 18px}.output{font-size:27px;margin:17px 0 20px}.card-top h3{font-size:12px}.card-meta{font-size:10px}.copy{width:80px;font-size:12px;padding:10px}.card-actions{gap:8px}.workbench{margin:16px 0}.section-heading{align-items:flex-start;flex-direction:column;gap:12px}.section-heading h2{font-size:25px}.badge{white-space:normal}.graphic-controls,.builder-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.builder-fields>label:first-child{grid-column:1/-1}.export-row{align-items:flex-start;flex-direction:column;gap:8px}.export-row p{max-width:100%}.editorial,.editorial>section,.editorial-grid,.faq{margin-top:16px;margin-bottom:16px}.editorial-grid{grid-template-columns:1fr;gap:16px}.editorial-grid h2{font-size:25px}.editorial p{font-size:15px}.steps{gap:18px}.steps h3{font-size:15px}.steps p{font-size:13px}.related-links{grid-template-columns:1fr}.faq summary{font-size:15px}.faq details p{font-size:14px}.end-note{display:block;margin-top:16px;font-size:13px}.end-note a{display:block;margin-top:9px}.prose h2{font-size:25px}.prose p{font-size:16px}footer{padding:22px 16px}.footer-links{gap:8px 18px}.footer-bottom{flex-direction:column;gap:8px}}
@media(max-width:539px){.results-grid{grid-template-columns:minmax(0,1fr)}.results-toolbar>div:first-child{flex-basis:100%;margin:0}.sort-label{margin-right:auto}.steps{grid-template-columns:1fr}.steps>div{display:grid;grid-template-columns:34px 1fr;gap:4px 12px}.steps span{grid-row:1/3}.steps h3{margin:0}.steps p{grid-column:2}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* 2.1: white canvas; red actions, charcoal tags, and shared editorial heroes. */
:root{--canvas:#fff;--soft:#f7f8fa;--surface:#fff;--red:#d30000;--charcoal:#282d36;--ink:#202329}
body,.app-shell,.main-panel{background:#fff}.topbar{height:82px;border-bottom:0;padding:0 36px}.brand strong{font-size:38px;font-weight:850;letter-spacing:-1.9px}.brand small{font-size:11px;letter-spacing:.25px;font-weight:500;line-height:1.2;margin-top:5px;color:#626a76;text-transform:none}.utility-search{background:#f7f8fa;border-color:#e5e8ee;width:360px}.page-content{padding:28px 36px 0}.page-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(220px,.45fr);align-items:center;gap:32px;background:#282d36;border:0;border-radius:18px;padding:28px 32px;margin:0;min-height:194px;overflow:hidden;color:#fff}.page-hero>.hero-copy>.eyebrow{display:block;font-size:10px;letter-spacing:1.8px;color:#fff;margin:0 0 11px;font-weight:650}.page-hero>.hero-copy>.eyebrow:before{content:'';display:inline-block;width:18px;height:3px;background:#d30000;vertical-align:middle;margin-right:10px}.page-hero h1{font-size:clamp(38px,3.25vw,56px);color:#fff;line-height:1.1;margin:0 0 12px;letter-spacing:-1.7px}.page-hero .subtitle{font-size:16px;color:#e4e7ed;max-width:72ch;line-height:1.65}.hero-type{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;user-select:none}.hero-type span{font-family:Georgia,"Segoe UI Symbol",serif;font-size:clamp(42px,5vw,84px);line-height:1.2;color:#fff;letter-spacing:-5px}.hero-type span:nth-child(2){color:#ff4d4d}.hero-type span:nth-child(3){color:#c6cad2}.specialty-quicklinks{display:flex;align-items:center;gap:18px;margin:16px 0 24px;min-width:0}.specialty-quicklinks>span{font-size:11px;font-weight:650;letter-spacing:.5px;white-space:nowrap;color:#626a76}.specialty-quicklinks>div{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.specialty-quicklinks a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 16px;border-radius:8px;background:#d30000;color:#fff;text-decoration:none;font-size:12px;font-weight:600;line-height:1.35;transition:background .15s ease}.specialty-quicklinks a:hover{background:#000}.workspace-controls{border-color:#e5e8ee;background:#f7f8fa;padding:22px;border-radius:16px}.chip{background:#282d36;border-color:#282d36;color:#fff;font-weight:600;min-height:42px}.chip[aria-pressed=true]{background:#d30000;border-color:#d30000;color:#fff}.chip:hover,.chip[aria-pressed=true]:hover{background:#000;border-color:#000;color:#fff}.composer{background:#fff;border:1px solid transparent;border-radius:12px;padding:12px 18px 8px}.composer:focus-within{border-color:#d30000}.composer-head{color:#202329;font-size:14px}.results-toolbar p{color:#626a76}.sort-label select{background:#fff}.style-card{border-color:#e5e8ee;border-radius:16px;padding:20px 22px;box-shadow:none}.style-card:hover{border-color:#d30000;box-shadow:0 4px 18px #20232905}.card-top{align-items:center;min-height:44px}.card-top h3{font-size:13px;line-height:1.45;max-width:calc(100% - 58px);color:#4e5662}.output{font-size:32px;margin:18px 0 23px;line-height:1.6}.card-bottom>span{padding:5px 10px;background:#282d36;color:#fff;border-radius:6px;font-size:10px;font-weight:550;line-height:1.6}.copy,.primary,.secondary,.text-button,.icon-button{background:#d30000;color:#fff;border:1px solid #d30000;border-radius:8px;transition:background .15s ease,border-color .15s ease}.copy:hover,.primary:hover,.secondary:hover,.text-button:hover,.icon-button:hover{background:#000;border-color:#000;color:#fff}.secondary{font-weight:600}.text-button{padding:8px 12px;min-height:38px;font-size:12px}.favorite{display:grid;place-items:center;width:46px;height:46px;min-width:46px;min-height:46px;margin:-3px 0 0 0;padding:0;font-family:"Segoe UI Symbol",Arial,sans-serif;font-size:32px;line-height:1;color:#fff}.favorite[aria-pressed=true]{background:#d30000;border-color:#d30000;color:#fff}.favorite[aria-pressed=true]:hover{background:#000;border-color:#000}.workbench{background:#f7f8fa;border-color:#e5e8ee}.workbench .eyebrow{color:#d30000}#tool-workbench{background:#282d36;border:0;color:#fff}#tool-workbench h2{color:#fff}#tool-workbench .eyebrow{color:#ff6868}#tool-workbench p{color:#e4e7ed}#tool-workbench>label{color:#fff}#tool-workbench>select{background:#fff;color:#202329;border:1px solid #fff}.badge{background:#282d36;color:#fff}.steps span{background:#d30000;color:#fff}.editorial>.note{border-left:4px solid #d30000;background:#f7f8fa}.related-links a{color:#d30000}.related-links a:hover{color:#000}.faq{background:#f7f8fa}.end-note{background:#282d36;border:0;color:#fff;border-left:4px solid #d30000}.end-note a{display:inline-flex;justify-content:center;align-items:center;background:#d30000;color:#fff;border-radius:8px;padding:11px 18px;min-height:44px}.end-note a:hover{background:#000;color:#fff}.prose{max-width:none;background:#fff;border-color:#e5e8ee}.prose>p,.prose>h2,.prose>ul,.prose>ol{max-width:85ch}.prose .primary{color:#fff}.footer-links .text-button{color:#fff;padding:8px 12px}.footer-bottom{color:#626a76}footer{border-top:2px solid #282d36;background:#fff;padding-inline:36px}.nav-item.active{background:#d30000;color:#fff}.nav-item.active:hover{background:#000;color:#fff}#status{background:#282d36}.name-builder{background:transparent}
@media(min-width:1600px){.page-hero{padding:32px 40px}.hero-type{gap:20px}.hero-type span{font-size:100px}.style-card{padding:23px 25px}.output{font-size:34px}.page-content{padding-inline:40px}.topbar{padding-inline:40px}}
@media(max-width:1100px){.topbar{padding-inline:24px}.page-content{padding:24px 24px 0}.page-hero{grid-template-columns:minmax(0,1fr) 180px;gap:22px}.hero-type span{font-size:50px}.hero-type span:last-child{display:none}.specialty-quicklinks{gap:12px}.specialty-quicklinks a{padding:9px 12px}.output{font-size:29px}}
@media(max-width:767px){.topbar{height:70px;padding:0 16px;gap:10px}.brand strong{font-size:29px;letter-spacing:-1.4px}.brand small{display:block;font-size:9px;letter-spacing:0;margin-top:4px}.topbar>.utility-search{max-width:50%;min-height:40px}.page-content{padding:18px 16px 0}.page-hero{display:block;padding:22px 20px;min-height:0;border-left-width:4px;border-radius:14px}.page-hero h1{font-size:34px;letter-spacing:-1px;margin-bottom:10px}.page-hero .subtitle{font-size:15px;line-height:1.6}.page-hero>.hero-copy>.eyebrow{font-size:8px;letter-spacing:1px;margin-bottom:10px}.hero-type{display:none}.specialty-quicklinks{display:block;margin:12px 0 18px}.specialty-quicklinks>span{display:block;margin-bottom:8px;font-size:10px}.specialty-quicklinks>div{gap:6px}.specialty-quicklinks a{min-height:36px;padding:8px 11px;font-size:11px}.workspace-controls{padding:14px}.chip{font-size:11px;min-height:38px}.composer{padding:9px 13px 6px}.composer-head{font-size:12px}.composer .text-button{min-height:34px;padding:7px 10px;font-size:11px}.style-card{padding:17px 18px}.card-top h3{font-size:12px}.output{font-size:27px}.favorite{width:44px;height:44px;min-width:44px;min-height:44px;font-size:31px}.card-bottom>span{font-size:10px;padding:4px 8px}.card-actions>.text-button{padding:7px 9px}.end-note a{margin-top:12px;display:inline-flex}.footer-links .text-button{font-size:11px}footer{padding-inline:16px}}
.hero-type span{font-size:clamp(38px,4.2vw,72px);letter-spacing:-4px}
@media(min-width:1600px){.hero-type{gap:16px}.hero-type span{font-size:76px}}
@media(max-width:1100px){.hero-type span{font-size:50px}}
/* 2.1.1: consistent compact control roles; red is reserved for action/selection. */
:root{--control-height:36px;--control-radius:7px;--utility-bg:#f1f3f5;--utility-text:#353a40}
.copy,.primary{min-height:var(--control-height);padding:8px 14px;border-radius:var(--control-radius);background:#d30000;border-color:#d30000;color:#fff;font-size:12px;font-weight:600}.copy{width:72px}.copy:hover,.primary:hover{background:#000;border-color:#000;color:#fff}
.chip{min-height:34px;padding:6px 12px;border-radius:var(--control-radius);font-size:11px;background:#353a40;border-color:#353a40;color:#fff}.chip[aria-pressed=true]{background:#d30000;border-color:#d30000;color:#fff}.chip:hover,.chip[aria-pressed=true]:hover{background:#000;border-color:#000;color:#fff}
.specialty-quicklinks{gap:14px;margin:14px 0 22px}.specialty-quicklinks>div{gap:6px}.specialty-quicklinks a{min-height:32px;padding:6px 12px;border:1px solid #e5e8ee;border-radius:var(--control-radius);background:#f1f3f5;color:#353a40;font-size:11px;font-weight:550}.specialty-quicklinks a:hover{background:#282d36;border-color:#282d36;color:#fff}
.text-button,.composer .text-button,.card-actions>.text-button,.footer-links .text-button{border:0;background:transparent;color:#58616d;padding:5px 7px;min-height:32px;font-size:11px;font-weight:500;border-radius:6px}.text-button:hover,.composer .text-button:hover,.card-actions>.text-button:hover,.footer-links .text-button:hover{background:#e9ecf0;color:#000;border:0}
.secondary{min-height:36px;padding:8px 18px;border-radius:var(--control-radius);background:#353a40;border-color:#353a40;color:#fff;font-size:12px;font-weight:550}.secondary:hover{background:#000;border-color:#000;color:#fff}
.icon-button{border:0;background:#f1f3f5;color:#353a40;border-radius:8px}.icon-button:hover{border:0;background:#282d36;color:#fff}.favorite{width:40px;height:40px;min-width:40px;min-height:40px;margin:-2px -4px 0 0;padding:0;border:0;background:transparent;color:#626a76;font-size:29px}.favorite:hover{background:#f1f3f5;color:#d30000;border:0}.favorite[aria-pressed=true]{background:transparent;border:0;color:#d30000}.favorite[aria-pressed=true]:hover{background:#f1f3f5;border:0;color:#b40000}.sort-label select{min-height:36px;padding:7px 10px;font-size:12px;border-radius:var(--control-radius)}
.card-top{min-height:36px}.card-top h3{max-width:calc(100% - 46px)}.card-bottom>span{background:#f1f3f5;color:#626a76;font-size:10px;font-weight:500;padding:4px 8px;border-radius:5px}.card-meta{color:#737b87}.output{margin-top:14px}.card-actions{gap:8px}
.end-note a{min-height:36px;padding:8px 14px;font-size:12px;border-radius:var(--control-radius)}.badge{background:#f1f3f5;color:#58616d;font-size:10px}.footer-links .text-button{padding:4px 0}.footer-links .text-button:hover{background:transparent;text-decoration:underline;color:#000}
@media(max-width:767px){.copy,.primary,.secondary{min-height:40px}.copy{width:74px}.chip{min-height:38px;padding:7px 11px}.favorite{width:44px;height:44px;min-width:44px;min-height:44px;font-size:30px}.specialty-quicklinks a{min-height:36px;padding:7px 10px;font-size:10px}.composer .text-button{min-height:36px;padding:5px 6px}.card-actions>.text-button{min-height:40px}.sort-label select{min-height:38px;font-size:11px}}
/* 2.2: prioritize the ready-to-type composer and icon-labeled filters. */
.topbar{height:62px}.page-content{padding-top:16px}.page-hero{display:block;min-height:0;padding:16px 24px;border-radius:14px}.page-hero .eyebrow,.hero-type{display:none!important}.page-hero h1{font-size:36px;line-height:1.1;margin-bottom:7px}.page-hero .subtitle{font-size:14px;line-height:1.5;max-width:none}.specialty-quicklinks{margin:10px 0 14px;gap:12px}.specialty-quicklinks>div{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;min-width:0;padding-bottom:2px}.specialty-quicklinks a{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;flex-shrink:0;min-height:32px}.specialty-quicklinks svg{width:15px;height:15px}.workspace-controls{padding:14px;background:#f7f8fa}.category-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding:2px 0 7px;gap:6px}.chip{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex-shrink:0;white-space:nowrap;min-height:34px;padding:6px 11px}.chip svg{width:15px;height:15px}.compact-tools{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:2px 0 9px}.compact-tools select{min-height:32px;font-size:11px;padding:6px 10px}.platform-filter{position:relative}.platform-filter>summary{display:flex;align-items:center;gap:7px;list-style:none;cursor:pointer;font-size:11px;min-height:32px;border-radius:7px;padding:5px 10px;background:#e9edf1;color:#353a40}.platform-filter>summary::-webkit-details-marker{display:none}.platform-filter>summary svg{width:15px;height:15px}.platform-filter>summary:hover{background:#282d36;color:#fff}.platform-filter-list{position:absolute;right:0;top:calc(100% + 6px);z-index:15;display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px;width:300px;max-width:calc(100vw - 48px);border:1px solid #e5e8ee;border-radius:12px;background:#fff;box-shadow:0 8px 25px #2023290c}.composer{border:1px solid #d30000;background:#fff;padding:9px 16px 5px;border-radius:12px;box-shadow:0 0 0 3px #d3000007}.composer:focus-within{border-color:#d30000;box-shadow:0 0 0 3px #d3000010}.composer-head{min-height:28px;font-size:13px}.composer textarea{font-size:27px;min-height:66px;padding:4px 0 8px;line-height:1.4;caret-color:#d30000}.composer .input-bottom{font-size:10px}.composer .text-button{min-height:30px;padding:4px 6px;font-size:11px}.sample-line{margin-top:9px}.sample-line p{font-size:10px}.sample-line #count{margin-left:auto;white-space:nowrap}.favorite{background:transparent!important;color:#626a76;border:0;font-size:0}.favorite svg{width:26px;height:26px}.favorite:hover{color:#d30000;background:#f1f3f5!important}.favorite[aria-pressed=true]{color:#d30000}.favorite[aria-pressed=true] svg{fill:currentColor}.platform-context{border-left:3px solid #d30000;background:#f7f8fa;padding:12px 16px;border-radius:8px;margin:15px 0;font-size:13px;color:#58616d}.platform-context p{margin:0 0 6px}.editorial>.content-block,.editorial-grid>section:nth-child(2),.editorial>.note{background:#282d36;border:0;color:#fff}.editorial>.content-block h2,.editorial>.content-block h3,.editorial-grid>section:nth-child(2) h2,.editorial>.note h2{color:#fff}.editorial>.content-block p,.editorial-grid>section:nth-child(2) p,.editorial>.note p{color:#e4e7ed}.editorial>.content-block .eyebrow{color:#ff8b8b}.editorial>.content-block .steps span{background:#d30000;color:#fff}.editorial>.note a{color:#fff}.editorial>.note{border-left:4px solid #d30000}.name-builder{margin-top:14px;padding-top:14px}.name-builder h2{font-size:21px}.name-builder p{font-size:13px}.breadcrumb{margin-bottom:10px;font-size:11px}body[data-graphic] #graphic-workbench{margin-top:0;padding-top:18px}body[data-graphic] #graphic-workbench>.muted{display:none}body[data-graphic] .section-heading{margin-bottom:12px}body[data-graphic] .section-heading .eyebrow{display:none}body[data-graphic] .section-heading h2{font-size:23px}body[data-graphic] #graphic-text{border:1px solid #d30000;background:#fff;caret-color:#d30000}
@media(min-width:1600px){.page-hero{padding:18px 28px}.page-hero h1{font-size:40px}}
@media(max-width:767px){.topbar{height:56px}.brand strong{font-size:26px}.brand small{font-size:8px}.page-content{padding:12px 12px 0}.page-hero{padding:14px 16px;border-radius:12px}.page-hero h1{font-size:28px;margin-bottom:6px}.page-hero .subtitle{font-size:12px;line-height:1.45}.specialty-quicklinks{display:flex;margin:8px 0 12px}.specialty-quicklinks>span{display:none}.specialty-quicklinks>div{width:100%;gap:6px}.specialty-quicklinks a{min-height:32px;padding:6px 9px;font-size:10px}.specialty-quicklinks svg{width:14px;height:14px}.workspace-controls{padding:11px}.chip{min-height:34px;padding:6px 10px;font-size:10px;gap:5px}.chip svg{width:14px;height:14px}.compact-tools{gap:6px;margin:1px 0 7px}.compact-tools select{font-size:10px;max-width:150px;min-height:32px}.platform-filter>summary{font-size:10px;padding:5px 8px}.platform-filter-list{right:auto;left:0;width:min(290px,calc(100vw - 48px))}.composer{padding:7px 12px 4px}.composer-head{font-size:12px;min-height:27px}.composer textarea{font-size:22px;min-height:60px;padding-top:3px}.composer .input-bottom{font-size:9px}.composer .text-button{font-size:10px;min-height:30px}.sample-line{gap:10px;align-items:flex-start}.sample-line p{font-size:9px}.sample-line #count{max-width:45%;white-space:normal;text-align:right}.favorite svg{width:25px;height:25px}.breadcrumb{font-size:10px;margin-bottom:8px}.editorial>.content-block,.editorial-grid>section,.editorial>.note{padding:18px}body[data-graphic] #graphic-workbench{padding-top:15px}body[data-graphic] .section-heading{gap:7px;margin-bottom:10px}body[data-graphic] .section-heading h2{font-size:21px}body[data-graphic] .section-heading .badge{display:none}}
.editorial.prose{background:#282d36;border:0;color:#fff}.editorial.prose h2{color:#fff}.editorial.prose p{color:#e4e7ed}.editorial.prose a{color:#fff}

/* One workspace, two clear output formats. */
.primary-navigation{display:flex;gap:6px;align-items:center}.primary-navigation .nav-item{white-space:nowrap;padding:8px 12px;font-size:13px}.primary-navigation svg{width:17px;height:17px}.compact-tools{justify-content:flex-start;gap:12px}.name-options{position:relative;font-size:13px}.name-options>summary{cursor:pointer;padding:8px;color:#353a40}.name-options[open] .name-builder{position:absolute;z-index:8;top:32px;left:0;width:min(540px,80vw);background:#fff;box-shadow:0 12px 40px #0002;border:1px solid #ddd;padding:20px}.name-builder h2{font-size:18px}.studio-mode{display:flex;align-items:center;gap:12px;margin:16px 0;font-weight:600}.studio-mode select{width:auto;min-width:180px}.usage-guidance details,.secondary-tools{border-bottom:1px solid #ddd;padding:14px 0}.usage-guidance summary,.secondary-tools summary{cursor:pointer;font-weight:600}.usage-guidance p{margin-top:12px}.category-tabs{flex-wrap:wrap}.secondary-tools{margin-top:16px}@media(max-width:760px){.primary-navigation{display:none}.name-options[open] .name-builder{left:auto;right:0;width:min(520px,86vw)}.compact-tools{flex-wrap:wrap}}

/* Shared block rhythm across tools, studio and supporting pages. */
:root{--block-gap:20px;--control-gap:12px}
.page-content{display:flex;flex-direction:column;gap:var(--block-gap)}
.page-content>*{margin-block:0}
.page-content>.breadcrumb{margin:0}
.editorial:not(.prose){display:grid;gap:var(--block-gap)}
.editorial:not(.prose)>*{margin-block:0}
.editorial-grid{gap:var(--block-gap)}
.editorial-grid>section{margin:0}
.editorial.prose{display:block;margin-block:0}
.results-grid{gap:var(--block-gap)}
.category-tabs{margin-bottom:var(--control-gap)}
.sample-line{margin:8px 0}
.graphic-controls,.builder-fields{gap:var(--block-gap)}
body[data-graphic] #graphic-workbench{margin-block:0}
.page-content>.studio-mode{margin-block:0}
footer{margin-top:var(--block-gap)}
@media(max-width:767px){:root{--block-gap:16px;--control-gap:10px}}

/* All output modes share the homepage composer and category strip. */
.graphic-chip{box-shadow:inset 0 -2px 0 #747e8d}.styles-section>#graphic-workbench{margin:10px 0 0}.styles-section>#graphic-workbench .section-heading{margin-bottom:12px}.styles-section>#graphic-workbench>.muted{display:none}.styles-section>#graphic-workbench #graphic-count{margin:6px 0 12px}.styles-section>#graphic-workbench .canvas-wrap{margin-top:16px}#tool-output-hint{margin:0 0 4px;color:#626a76}.footer-links{gap:12px 22px}.topbar .utility-search{margin-left:auto}

.platform-categories{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.filter-help{margin:0 0 10px}#graphic-active-label{margin:12px 0}#graphic-active-mode{text-transform:capitalize;margin-left:10px}

.result-notice{margin:8px 0 12px;padding:10px 14px;border-left:3px solid #d30000;border-radius:8px;background:#f1f3f5;color:#353a40}

.workspace-controls>.category-tabs{margin:var(--control-gap) 0 0;padding-bottom:0}

/* Specialty functions use the existing block and control design. */
.specialty-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:12px}.specialty-controls label{font-size:12px;font-weight:600}.specialty-controls select{margin-left:8px}.specialty-controls p{margin:0}.workspace-controls>.name-builder{border:0;padding:12px 0 0;margin:0}.name-builder .builder-fields{margin:12px 0}.field-preview{margin-top:12px}.field-preview summary{cursor:pointer}.field-preview .output{margin:12px 0;font-size:24px}#field-tools label{font-size:12px;font-weight:600}#destination-field{margin-left:10px}.graphic-controls,.builder-fields{min-width:0}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Typography-led previews: one surface, expressive output, quiet controls. */
.style-card{position:relative;min-width:0;min-height:238px;padding:18px 20px 16px;border:1px solid #e5e8ed;border-radius:20px;background:#fff;box-shadow:0 2px 5px #20242b03;gap:0;transition:border-color .18s ease,box-shadow .18s ease}
.style-card:hover{border-color:#b5bcc6;box-shadow:0 8px 24px #20242b08}
.style-card:focus-within{border-color:#8b949f;box-shadow:0 0 0 2px #282d3608}
.style-card .card-top{min-height:32px;align-items:flex-start;gap:12px}
.style-card .card-top h3{flex:1;min-width:0;max-width:none;padding-top:6px;font-size:11px;line-height:1.55;font-weight:550;letter-spacing:.15px;color:#737b87;overflow-wrap:anywhere}
.style-card .favorite{flex:0 0 36px;width:36px;height:36px;min-width:36px;min-height:36px;padding:6px;margin:0 -5px 0 0;border-radius:50%;color:#9ba2ac}
.style-card .favorite svg{width:24px;height:24px;stroke-width:1.5}
.style-card .favorite:hover{color:#d30000;background:#fff0f0!important}
.style-card .favorite[aria-pressed=true]{color:#d30000}
.style-card>.output{display:block;flex:1;min-height:130px;max-height:250px;margin:8px 0 12px;padding:22px 4px 18px;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:center;font-size:clamp(30px,2.3vw,38px);line-height:1.7;color:#20242b;white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d0d5dc transparent;tab-size:4}
.style-card>.output::selection{background:#ffe1e1;color:#20242b}
.style-card>.output:focus-visible{outline-offset:4px;border-radius:6px}
.style-card .card-meta{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.style-card .card-bottom{min-height:36px;margin-top:auto;padding:0;border:0;gap:8px;flex-wrap:wrap}
.style-card .card-bottom>span{padding:0;background:transparent;border:0;border-radius:0;color:#8a929d;font-size:10px;font-weight:500;letter-spacing:.15px;line-height:1.5}
.style-card .card-actions{margin-left:auto;gap:12px}
.style-card .card-actions>.text-button{min-height:34px;padding:6px 0;background:transparent;font-size:11px;color:#626a76}
.style-card .card-actions>.text-button:hover{color:#111}
.style-card .copy{display:inline-flex;align-items:center;gap:7px;min-height:34px;width:auto;min-width:76px;padding:8px 14px;border:0;border-radius:999px;background:#d30000;color:#fff;font-size:11px;font-weight:600;line-height:1.4;box-shadow:none}
.style-card .copy::before{content:'';width:13px;height:13px;flex:none;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='8' y='8' width='12' height='13' rx='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M15 5V3H3v13h2' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.style-card .copy:hover{background:#111;color:#fff}
.style-card .card-caveat{margin:12px 0 0;padding-top:10px;border-top:1px solid #f0f1f4;font-size:10px;color:#8a929d}
.style-card .card-caveat summary{min-height:26px;color:#7d8590}
@media(max-width:767px){.style-card{min-height:226px;padding:16px 18px 15px;border-radius:18px}.style-card>.output{min-height:122px;max-height:230px;padding:20px 2px 16px;margin:6px 0 12px;font-size:32px}.style-card .card-top h3{font-size:11px}.style-card .copy{min-height:36px;padding:9px 15px}.style-card .card-bottom>span{font-size:10px}}

/* A shared header and right-side navigation at every viewport width. */
:root{--site-header-height:68px}
html{scrollbar-gutter:stable;scroll-padding-top:calc(var(--site-header-height) + 12px)}
html:has(#header-menu[open]){overflow:hidden}
.topbar{position:sticky;top:0;z-index:32;height:var(--site-header-height);gap:clamp(12px,2vw,26px);border-bottom:1px solid #e5e8ed}
.topbar>.brand{margin-right:0}
.topbar .utility-search{flex:1;width:100%;max-width:none;min-width:0;margin-left:0}
.responsive-menu{display:block;flex:none}
.responsive-menu>summary{position:relative;z-index:2;display:grid;place-items:center;width:44px;height:44px;min-height:44px;border:1px solid #e0e4e9;border-radius:9px;background:#fff;color:#282d36;cursor:pointer;list-style:none}
.responsive-menu>summary::-webkit-details-marker,.menu-presets>summary::-webkit-details-marker{display:none}
.responsive-menu>summary::marker,.menu-presets>summary::marker{content:""}
.responsive-menu>summary:hover,.responsive-menu[open]>summary{background:#282d36;border-color:#282d36;color:#fff}
.menu-close-lines,.responsive-menu[open] .menu-open-lines{display:none}
.responsive-menu[open] .menu-close-lines{display:initial}
#header-menu-scrim{position:fixed;z-index:0;inset:var(--site-header-height) 0 0;width:100%;height:auto;min-height:0;border:0;border-radius:0;padding:0;background:#151b295f;cursor:default}
#header-menu-links{position:fixed;z-index:1;inset:var(--site-header-height) 0 0 auto;width:min(372px,100%);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;background:#fff;border-left:1px solid #e5e8ed;padding:15px 16px max(28px,env(safe-area-inset-bottom));box-shadow:-10px 0 36px #151b2914}
.responsive-menu nav a{display:flex;align-items:center;min-height:44px;padding:8px 11px;border-radius:8px;font-size:14px;text-decoration:none;line-height:1.4;color:#353a40}
.responsive-menu nav a:hover{background:#f4f5f7;color:#111}
.responsive-menu nav a[aria-current=page]{background:#fff0f0;color:#a80000;font-weight:650}
.menu-group{margin:15px 0 0;padding-top:13px;border-top:1px solid #e7e9ee}
.menu-group h2{margin:0 11px 5px;color:#555e6a;font-size:12px;font-weight:750;letter-spacing:.06em;line-height:1.4}
.menu-presets{margin:5px 0 0;padding:0 6px;border-radius:8px;background:#f7f8fa}
.menu-presets>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;min-height:44px;padding:8px 6px;font-size:13px;font-weight:650;cursor:pointer}
.menu-presets>summary::after{content:"+"}
.menu-presets[open]>summary::after{content:"−"}
.menu-presets label{display:block;margin:4px 5px;color:#555e6a;font-size:12px}
.menu-presets input{width:100%;min-height:42px;padding:7px 8px;border:1px solid #cbd0d8;border-radius:7px;background:#fff}
#menu-font-count{margin:6px 5px;font-size:12px;color:#555e6a}
#menu-font-more{margin:6px 5px 10px;padding:3px 10px;border:1px solid #cbd0d8;border-radius:7px;background:#fff;font-size:13px}
@media(max-width:767px){:root{--site-header-height:60px}.topbar{padding-inline:12px;gap:9px}}
@media(max-width:380px){.topbar .brand strong{font-size:24px}.topbar .header-search .utility-search{gap:5px;padding-left:7px}}

/* Graphic editors: input left, live canvas right on desktop. */
.graphic-layout,.graphic-inputs,.graphic-preview{min-width:0}.graphic-inputs>label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}.graphic-inputs>.input-bottom{margin-top:6px}.graphic-preview{margin-top:20px}.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:600;color:#353a40;margin:0 0 12px;letter-spacing:0}.preview-heading span{font-size:10px;font-weight:400;color:#8a929d}.graphic-preview .canvas-wrap{margin-top:0}.graphic-preview .export-row{flex-wrap:wrap;gap:12px}.graphic-preview .export-row p{max-width:none;flex:1 1 160px}.graphic-preview .export-row button{margin-left:auto}.graphic-preview>.small{font-size:11px}
@media(min-width:1025px){.graphic-layout{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.15fr);gap:28px;align-items:start;margin-top:18px}.graphic-inputs .graphic-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.graphic-preview{position:sticky;top:20px;margin-top:0}.graphic-inputs textarea{min-height:110px}.graphic-preview .canvas-wrap{border-radius:14px}.graphic-preview>.small{margin-bottom:0}}
@media(min-width:1600px){.graphic-layout{grid-template-columns:minmax(320px,.8fr) minmax(0,1.2fr);gap:32px}}

/* Full-width, content-sized editorial guides. */
.tool-guide{width:100%;min-width:0;border:1px solid #e5e8ed;border-radius:16px;padding:18px 22px;background:#fff}.guide-row{display:grid;grid-template-columns:minmax(180px,.32fr) minmax(0,1fr);gap:24px;align-items:start;padding:18px 0;border-bottom:1px solid #edf0f3}.guide-row:last-child{border-bottom:0;padding-bottom:0}.guide-row h2{font-size:18px;line-height:1.4;letter-spacing:-.3px;margin:0;color:#353a40}.guide-row p{margin:0;font-size:14px;line-height:1.75;color:#626a76;overflow-wrap:anywhere}.guide-row.guide-intro{background:#282d36;color:#fff;border:0;border-radius:10px;padding:18px;margin:0 0 2px}.guide-intro h2{color:#fff}.guide-intro p{color:#e0e4eb}.guide-links{display:flex;flex-wrap:wrap;gap:12px 24px;padding-top:16px}.guide-links a{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:#555e6a;text-decoration:none}.guide-links a:hover{color:#d30000}.guide-links svg{width:15px;height:15px}.prose{max-width:none;width:100%;padding:24px}.prose h2{font-size:22px;margin:24px 0 10px}.prose h2:first-child{margin-top:0}.prose p{font-size:14px;line-height:1.8}.prose>:first-child{margin-top:0}.prose>:last-child{margin-bottom:0}.editorial>.how-to-block{padding:22px 24px}.how-to-block h2{font-size:24px;margin:0 0 16px}.how-to-block .steps{margin:0;gap:20px}.how-to-block .steps>div{display:grid;grid-template-columns:30px minmax(0,1fr);gap:4px 12px;align-content:start}.how-to-block .steps span{grid-row:1/3;width:30px;height:30px;border-radius:8px;font-size:11px}.how-to-block .steps h3{margin:0;font-size:15px;line-height:1.5;letter-spacing:0}.how-to-block .steps p{margin:0;font-size:12px;line-height:1.7}.editorial-grid{align-items:start}.editorial-grid>section{padding:22px 24px}.editorial-grid h2{font-size:23px}.editorial-grid p{font-size:14px}.editorial>section{padding:22px 24px}.editorial>section h2{font-size:24px}.editorial>section p{font-size:14px}.faq{padding:22px 24px}.faq h2{font-size:24px}.faq>details{padding:12px 0}.faq summary,.faq details p{font-size:14px}
@media(max-width:767px){.tool-guide{padding:14px 16px}.guide-row{grid-template-columns:minmax(0,1fr);gap:8px;padding:14px 0}.guide-row.guide-intro{padding:14px}.guide-row h2{font-size:17px}.guide-row p{font-size:13px}.editorial>.how-to-block,.editorial>section,.editorial-grid>section,.faq,.prose{padding:18px}.how-to-block h2,.editorial>section h2,.editorial-grid h2,.faq h2{font-size:22px}.how-to-block .steps{gap:14px}.how-to-block .steps p{font-size:12px}}
/* Search appears on every page and stays within the available header width. */
.header-search{position:relative;flex:1;width:100%;min-width:0;z-index:45}.header-search form{margin:0}.header-search .utility-search{margin:0;gap:10px;padding:5px 10px 5px 13px;min-height:42px}.header-search input{width:100%;min-width:0}.search-submit{display:flex;align-items:center;justify-content:center;flex:none;min-height:30px;width:32px;padding:4px;border:0;border-radius:6px;background:transparent;color:#69717d}.search-submit:hover{background:#e9edf2;color:#111}.search-submit svg{width:17px;height:17px}.search-panel{position:absolute;top:calc(100% + 8px);left:0;right:0;max-height:min(70dvh,560px);overflow-y:auto;background:#fff;border:1px solid #e5e8ed;border-radius:13px;padding:10px;box-shadow:0 14px 40px #20242b14}.search-panel>p{font-size:11px;color:#8a929d;margin:4px 10px 8px}.search-panel nav{display:grid;gap:3px}.search-panel a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px;border-radius:7px;text-decoration:none;color:#353a40;font-size:12px;min-height:40px}.search-panel a:hover,.search-panel a:focus-visible{background:#f1f3f5;color:#111}.search-panel a small{font-size:10px;color:#929aa5;flex:none}.search-panel .search-help{font-size:12px;color:#626a76;padding:8px 10px}@media(max-width:767px){.header-search .utility-search{padding-left:9px;gap:6px}.header-search input{font-size:11px}.search-submit{width:25px}.header-search .utility-search>svg{width:15px}.search-panel{left:auto;right:-44px;width:min(440px,calc(100vw - 24px))}}
.page-content{min-height:0}

/* Platform destinations share the same menu and do not create SEO pages. */
/* Supporting pages: concise introduction, useful anchors and readable sections. */
.support-page{width:100%;min-width:0;background:#fff;border:1px solid #e5e8ed;border-radius:16px;padding:20px 24px}.support-intro{padding:18px 20px;border-radius:11px;background:#282d36;color:#fff}.support-intro p{margin:0 0 12px;font-size:14px;line-height:1.8;color:#e4e7ed}.support-intro p:last-child{margin-bottom:0}.support-intro a{color:#fff}.support-intro .primary{margin:2px 0}.support-facts{display:flex;flex-wrap:wrap;gap:12px 32px;padding:18px 0 4px}.support-facts>div{display:flex;align-items:baseline;gap:9px}.support-facts strong{font-size:21px;color:#282d36;letter-spacing:-.4px}.support-facts span{font-size:12px;color:#7d8590}.support-toc{display:flex;flex-wrap:wrap;gap:6px;padding:16px 0}.support-toc a{display:inline-flex;align-items:center;min-height:32px;border-radius:6px;padding:6px 10px;background:#f1f3f5;color:#626a76;font-size:11px;text-decoration:none}.support-toc a:hover{background:#282d36;color:#fff}.support-section{display:grid;grid-template-columns:minmax(170px,.28fr) minmax(0,1fr);gap:24px;padding:20px 0;border-top:1px solid #edf0f3;scroll-margin-top:20px}.support-section h2{font-size:18px;line-height:1.4;letter-spacing:-.3px;color:#353a40;margin:0}.support-section p{font-size:14px;line-height:1.8;color:#626a76;margin:0 0 12px}.support-section p:last-child{margin-bottom:0}.support-section a{color:#353a40}.support-page>.guide-links{border-top:1px solid #edf0f3}.support-page .guide-links .text-button{min-height:32px;padding:0;font-size:12px;font-weight:600}@media(max-width:767px){.support-page{padding:16px}.support-intro{padding:16px}.support-intro p,.support-section p{font-size:13px}.support-section{grid-template-columns:minmax(0,1fr);gap:10px;padding:16px 0}.support-section h2{font-size:17px}.support-toc{gap:5px;padding:14px 0}.support-toc a{font-size:10px}.support-facts{gap:10px 22px}.support-facts strong{font-size:19px}.support-facts span{font-size:11px}}

/* Designs24hr discovery link: header on desktop, first menu item on mobile. */
.header-explore{display:none}.responsive-menu nav .menu-explore{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:38px;padding:10px 12px;margin-bottom:12px;border-radius:8px;background:#d30000;color:#fff;font-size:11px;font-weight:600;line-height:1.4}.responsive-menu nav .menu-explore:hover{background:#111;color:#fff}.menu-explore svg,.header-explore svg{width:15px;height:15px;flex:none}@media(min-width:1025px){.header-explore{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:none;min-height:36px;margin-right:18px;padding:9px 13px;border-radius:8px;background:#d30000;color:#fff;text-decoration:none;font-size:11px;font-weight:600;line-height:1.4;white-space:nowrap}.header-explore:hover{background:#111;color:#fff}}

@media(min-width:1025px){.header-explore{margin-right:0;margin-left:18px}}

/* Matched compact preview actions, side by side at every width. */
.style-card .card-bottom{column-gap:8px;row-gap:0}.style-card .card-bottom>.preview-field{order:1;margin-left:auto;min-height:28px;padding:4px 0;font-size:10px}.style-card .card-bottom>span{order:0}.style-card .card-actions{order:2;display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.45fr);width:100%;flex-basis:100%;gap:7px;margin:10px 0 0}.style-card .copy,.style-card .png-download{display:inline-flex;justify-content:center;align-items:center;min-width:0;width:100%;min-height:34px;padding:8px 9px;border:0;border-radius:7px;background:#d30000;color:#fff;font-size:11px;font-weight:600;line-height:1.4;white-space:nowrap;box-shadow:none}.style-card .copy::before{display:none}.style-card .copy:hover,.style-card .png-download:hover{background:#111;color:#fff}.style-card .png-download:disabled{cursor:wait;opacity:.65}@media(max-width:767px){.style-card .copy,.style-card .png-download{min-height:36px;padding:9px;font-size:11px}}

/* Three equal-style actions with enough card width to keep labels readable. */
.results-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr))}.style-card .card-actions{grid-template-columns:minmax(0,.6fr) minmax(0,1.2fr) minmax(0,1.2fr);gap:6px}.style-card .copy,.style-card .png-download,.style-card .svg-download{display:inline-flex;align-items:center;justify-content:center;min-width:0;width:100%;min-height:34px;padding:8px 6px;border:0;border-radius:7px;background:#d30000;color:#fff;font-size:11px;font-weight:600;line-height:1.4;white-space:nowrap;box-shadow:none}.style-card .copy:hover,.style-card .png-download:hover,.style-card .svg-download:hover{background:#111;color:#fff}.style-card .png-download:disabled,.style-card .svg-download:disabled{cursor:wait;opacity:.65}@media(max-width:767px){.style-card .copy,.style-card .png-download,.style-card .svg-download{min-height:36px;padding:9px 6px}}

/* Platform navigation lives in dedicated pages; compact chooser only on responsive layouts. */
.platform-picker{display:none}@media(max-width:1024px){.platform-picker{display:flex;align-items:center;gap:12px;margin:0 0 12px}.platform-picker label{font-size:12px;font-weight:600;color:#555e6a;white-space:nowrap}.platform-picker select{flex:1;min-width:0;width:100%;min-height:38px;font-size:12px;padding:7px 11px;background:#fff}.graphic-inputs .platform-picker{margin-bottom:16px}}

/* Readable supporting labels and comfortable touch controls, preserving the shared layout. */
.composer .input-bottom,.composer .text-button,.sample-line p,.card-meta,.style-card .card-bottom>span,.style-card .card-bottom>.preview-field,.platform-picker label,.search-panel a small{font-size:12px}
@media(max-width:1024px){.style-card .copy,.style-card .png-download,.style-card .svg-download,.chip,.platform-picker select,.composer .text-button,.favorite{min-height:44px}.header-search input{font-size:13px}.search-submit{min-width:32px;min-height:38px}}

/* Local favorites feedback and compact preview-only spacing controls. */
.style-card .favorite{display:inline-flex;align-items:center;justify-content:center;gap:4px;width:auto;min-width:44px;padding:3px 5px;flex:none}.heart-count,.favorites-total{font-size:12px;font-weight:650;line-height:1;color:#d30000}.chip .favorites-total{color:inherit}.style-card .card-top h3{flex:1;max-width:none}.spacing-controls{display:flex;align-items:center;gap:16px;margin-left:auto}.spacing-controls label{display:grid;grid-template-columns:auto auto;gap:0 8px;align-items:center;color:#626a76;font-size:11px;line-height:1.4}.spacing-controls output{text-align:right;min-width:30px;font-variant-numeric:tabular-nums}.spacing-controls input{grid-column:1/-1;width:110px;height:24px;margin:0;accent-color:#d30000;cursor:pointer}.composer .input-bottom{flex-wrap:wrap;gap:8px 14px}@media(max-width:767px){.spacing-controls{order:3;flex-basis:100%;margin:0;justify-content:space-between;gap:16px}.spacing-controls label{flex:1;font-size:12px}.spacing-controls input{width:100%;height:32px}.composer #plain-copy{margin-left:auto}}

/* Consistent footer navigation and an in-drawer Designs24hr invitation. */
.site-footer{margin-top:40px;padding:38px clamp(16px,3vw,48px) 20px;border-top:1px solid #dfe3e9;background:#f7f8fa}
.footer-grid{display:grid;grid-template-columns:minmax(200px,.85fr) minmax(0,1.6fr) minmax(160px,.55fr);gap:clamp(22px,4vw,64px)}
.footer-brand>.brand strong{font-size:37px}
.footer-brand p{margin:12px 0;color:#353a40;font-size:14px;font-weight:600}
.footer-brand .footer-description{max-width:36ch;color:#626a76;font-size:13px;font-weight:400;line-height:1.65}
.site-footer h2{margin:0 0 11px;font-size:13px;line-height:1.4;font-weight:750;letter-spacing:.03em}
.footer-tools .footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
.footer-info .footer-links{display:grid;gap:0}
.site-footer .footer-links a,.site-footer .footer-links .text-button{justify-content:flex-start;min-height:33px;margin:0;padding:6px 0;color:#555e6a;text-decoration:none;font-size:12px;line-height:1.4;text-align:left}
.site-footer .footer-links a:hover,.site-footer .footer-links .text-button:hover{color:#ad0000;text-decoration:underline;background:transparent}
.footer-discovery{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:5px;color:#a80000;font-size:13px;font-weight:650;text-decoration:none}
.footer-discovery:hover{color:#111}
.site-footer .footer-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 24px;margin:26px 0 0;padding-top:18px;border-top:1px solid #dfe3e9;font-size:12px}
.site-footer .footer-bottom .trademark-note{flex:1;max-width:76ch;margin:0;color:#626a76;font-size:11px;line-height:1.5}
.site-footer .footer-bottom a{display:inline-flex;align-items:center;gap:7px;color:#353a40;text-decoration:none}
.sidebar-cta{margin-top:22px;padding:18px 15px;border-radius:11px;background:#282d36;color:#fff}
.sidebar-cta h2{margin:0 0 7px;color:#fff;font-size:18px;line-height:1.25;letter-spacing:-.02em}
.sidebar-cta p{margin:0 0 13px;color:#dce0e6;font-size:13px;line-height:1.5}
.responsive-menu nav .sidebar-cta a{justify-content:space-between;gap:12px;border-radius:7px;background:#d30000;color:#fff;font-size:13px;font-weight:650}
.responsive-menu nav .sidebar-cta a:hover{background:#000;color:#fff}
.sidebar-cta a svg{width:17px;flex:none}
@media(max-width:900px){.footer-grid{grid-template-columns:minmax(0,1fr) minmax(160px,.7fr)}.footer-brand{grid-column:1/-1}.footer-brand .footer-description{max-width:60ch}}
@media(max-width:500px){.site-footer{margin-top:26px;padding-top:26px}.footer-grid{grid-template-columns:1fr;gap:22px}.footer-brand{grid-column:auto}.footer-info .footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.site-footer .footer-bottom{display:grid;gap:10px}.site-footer .footer-bottom .trademark-note{font-size:11px}}


/* A clearer, animated navigation drawer with matching line icons. */
.drawer-heading{padding:3px 10px 16px;border-bottom:1px solid #e5e8ee;margin-bottom:8px}
.drawer-heading strong{font-size:21px;letter-spacing:-.03em}
.drawer-heading p{margin:3px 0 0;color:#626a76;font-size:13px}
.responsive-menu nav a{gap:11px}
.responsive-menu nav a>svg{width:18px;height:18px;flex:none;color:currentColor}
.responsive-menu nav a>span{min-width:0}
.menu-group{margin-top:12px;padding-top:14px}
.menu-group h2{font-size:11px;text-transform:uppercase;letter-spacing:.1em}
.responsive-menu nav a:hover{background:#f0f2f5}
#header-menu-links,.fm-editor-layout,.fm-canvas-viewport{scroll-behavior:smooth}
.site-footer .footer-bottom .trademark-note{max-width:none;min-width:0;white-space:nowrap;text-align:center}
.footer-notice-compact{display:none}
@media(max-width:1100px){.footer-notice-full{display:none}.footer-notice-compact{display:inline}}
@media(prefers-reduced-motion:reduce){html,#header-menu-links,.fm-editor-layout,.fm-canvas-viewport{scroll-behavior:auto}}

/* Compact dark header and a permanent desktop navigation rail. */
:root{--site-header-height:64px;--site-sidebar-width:260px}
.main-panel{padding-top:var(--site-header-height)}
.topbar{position:fixed;inset:0 0 auto;height:var(--site-header-height);padding:0 26px;gap:20px;background:#090c10;color:#fff;border:1px solid #353a40}
.topbar .brand strong{font-size:28px;letter-spacing:-1.2px;color:#fff}
.topbar .header-search{max-width:none;margin:0}
.topbar .utility-search{background:#13171d;border-color:#30363e;color:#a9b2bd;min-height:38px}
.topbar .utility-search input{color:#fff;font-size:13px}
.topbar .utility-search input::placeholder{color:#a9b2bd;opacity:1}
.topbar .search-submit{color:#d4d9df}
.header-tagline{display:none;color:#b3b9c2;font-size:10px;font-weight:750;letter-spacing:.15em;white-space:nowrap}
.topbar .header-explore{background:#000;border:1px solid #707780;color:#fff;margin:0;min-height:36px;padding:8px 14px;font-size:12px;border-radius:8px}
.topbar .header-explore:hover{background:#d30000;border-color:#d30000;color:#fff}
.header-explore>svg{display:none}
.responsive-menu>summary{background:#161b22;border-color:#39414c;color:#fff}
#header-menu-links{width:min(280px,100%);padding:16px 12px 20px;box-shadow:none;color:#202329}
.drawer-heading{padding:0 9px 12px}
.drawer-heading strong{font-size:18px}
.drawer-heading p{font-size:12px;line-height:1.5}
.responsive-menu nav a{gap:10px;padding:8px 9px;font-size:14px;min-height:42px}
.menu-group h2{margin-left:9px;font-size:11px}
.sidebar-cta{margin-top:24px;padding:16px 13px;border:1px solid #343b44;border-radius:10px;background:#10151b}
.sidebar-cta h2{font-size:14px;font-weight:750;line-height:1.45;letter-spacing:0;margin:0 0 5px}
.sidebar-cta p{font-size:12px;line-height:1.55;margin:0 0 12px;color:#e0e5eb}
.responsive-menu nav .sidebar-cta a{min-height:36px;padding:4px 0;gap:6px;justify-content:flex-start;background:transparent;color:#fff;font-size:13px;border-radius:0}
.responsive-menu nav .sidebar-cta a:hover{background:transparent;color:#ff6c6c}
.sidebar-cta a svg{width:14px}
@media(min-width:1024px){
  .main-panel{padding-left:var(--site-sidebar-width);padding-right:0}
  .topbar .header-explore{display:inline-flex}
  .header-tagline{display:inline}
  .responsive-menu{position:absolute;top:0;right:0;width:0}
  #header-menu-toggle,#header-menu-scrim{display:none}
  #header-menu-links{top:var(--site-header-height);left:0;right:auto;bottom:0;width:var(--site-sidebar-width);padding:16px 10px 20px;overflow-y:auto;overflow-x:hidden;border-left:0;border-right:1px solid #e1e5eb;scrollbar-gutter:stable}
  html:has(#header-menu[open]):not(:has(dialog[open])){overflow-y:auto}
  .page-content{padding:24px 26px 0}
  .footer-grid{grid-template-columns:minmax(160px,.8fr) minmax(0,1.5fr) minmax(150px,.6fr);gap:24px}
  .footer-notice-full{display:none}.footer-notice-compact{display:inline}
  .fm-header h2{font-size:clamp(29px,2.65vw,40px)}
}

@media(max-width:1023px){.topbar{padding-inline:16px;gap:12px}.topbar .header-search{max-width:none}.topbar .header-explore{display:none}}
@media(max-width:500px){.topbar{padding-inline:12px;gap:10px}.topbar .brand strong{font-size:25px}.topbar .utility-search{padding-left:8px}}

/* Navigation and its bottom invitation share one inner scroll area. */
#header-menu-links{display:flex;flex-direction:column;overflow:hidden}
.sidebar-links{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:transparent transparent}

@media(prefers-reduced-motion:reduce){.sidebar-links{scroll-behavior:auto}}

#header-menu-links{left:0;right:auto;border-left:0;border-right:1px solid #e1e5eb}
.topbar .header-search{flex:1;min-width:0;max-width:none}
@media(min-width:1024px){.topbar .header-explore{margin-left:auto}}
.sidebar-links>.menu-group:first-of-type{border-top:0;margin-top:4px;padding-top:10px}

/* Contextual paths between complementary existing tools. */
.related-tools{margin:20px 0;padding:18px 20px;background:#fff;border:1px solid #e2e6ec;border-radius:12px}
.related-tools h2{margin:0 0 10px;font-size:16px;letter-spacing:0}
.related-tools .related-links{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.related-tools a{display:inline-flex;align-items:center;min-height:42px;padding:7px 12px;border:1px solid #dce1e7;border-radius:8px;color:#353a40;font-size:14px;text-decoration:none}
.related-tools a:hover{color:#fff;background:#d30000;border-color:#d30000}

/* A quiet scroll affordance that appears only while the sidebar is hovered. */
.sidebar-links:hover{scrollbar-color:#c4c9d0 transparent}
.sidebar-links::-webkit-scrollbar{width:6px;background:transparent}
.sidebar-links::-webkit-scrollbar-track{background:transparent}
.sidebar-links::-webkit-scrollbar-thumb{background:transparent;border-radius:99px}
.sidebar-links:hover::-webkit-scrollbar-thumb{background:#c4c9d0}
.responsive-menu nav a[aria-current="location"]{background:var(--red);color:#fff;font-weight:650}
.responsive-menu nav a[aria-current="location"]:hover{background:#b90000;color:#fff}
@media(forced-colors:active){.sidebar-links{scrollbar-color:auto}}
