:root{color:#172026;background:#f6f8fa;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400}*{box-sizing:border-box}body{margin:0;min-width:320px}a{color:#0f62fe;text-decoration:none}a:hover{text-decoration:underline}button,input,textarea{font:inherit}button{border:0;border-radius:6px;background:#0f62fe;color:#fff;padding:.72rem 1rem;cursor:pointer;font-weight:700}button.secondary{background:#e7edf5;color:#172026}button:hover{filter:brightness(.96)}.site-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:auto 1fr auto;gap:1rem;align-items:center;padding:.9rem clamp(1rem,4vw,3rem);background:#fffffff5;border-bottom:1px solid #d9e1ea}.brand{display:inline-flex;align-items:center;gap:.55rem;color:#172026;font-weight:800}.brand-mark{display:inline-grid;place-items:center;width:2rem;height:2rem;border-radius:6px;background:#172026;color:#fff;font-size:.82rem}.nav,.language-switcher{display:flex;align-items:center;gap:.85rem;flex-wrap:wrap}.nav a,.language-switcher a{color:#42515f;font-size:.95rem}main{flex:1}.hero-tool,.page,.seo-section,.faq-section{width:min(1160px,calc(100% - 2rem));margin:0 auto}.hero-tool{padding:1rem 0 2rem}.intro{margin:1rem 0}h1{margin:0 0 .65rem;font-size:clamp(2rem,5vw,3.25rem);line-height:1.08;letter-spacing:0}h2{margin-top:2rem;font-size:1.35rem}.intro p,.page>p{max-width:780px;color:#4a5a68;font-size:1.08rem}.tool-card{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:1rem;padding:1rem;background:#fff;border:1px solid #d9e1ea;border-radius:8px;box-shadow:0 8px 24px #1720260f}.tool-inputs,.result-panel{min-width:0}label{display:grid;gap:.45rem;margin-bottom:1rem;font-weight:700}input[type=text],textarea{width:100%;border:1px solid #bdc8d3;border-radius:6px;padding:.78rem .85rem;color:#172026;background:#fff}input[type=color]{width:3.1rem;min-width:3.1rem;height:3rem;border:1px solid #bdc8d3;border-radius:6px;background:#fff;padding:.2rem}.color-row{display:flex;gap:.5rem}.button-row{display:flex;gap:.65rem;flex-wrap:wrap;align-items:center}.privacy-line{color:#5f6f7d;font-size:.92rem}.ratio-box{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;padding:.95rem 1rem;border-radius:8px;background:#eef4fb}.ratio-box strong{font-size:2rem}.preview{min-height:150px;margin:1rem 0;border:1px solid #d9e1ea;border-radius:8px;padding:1.2rem;display:grid;align-content:center}.preview p{margin:0 0 .35rem;font-size:1.45rem;font-weight:800;overflow-wrap:anywhere}.status-grid,.formats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}.status-grid div,.formats div{border-radius:6px;padding:.65rem;background:#f6f8fa;min-width:0}.pass{color:#0f6848;border:1px solid #9bd9c2}.fail{color:#9f251d;border:1px solid #efb3ad}dt{color:#5f6f7d;font-size:.78rem}dd{margin:.1rem 0 0;font-weight:800;overflow-wrap:anywhere}.formats{margin:1rem 0}.copied{color:#0f6848;min-width:4rem}.recent{margin-top:1rem;display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}.recent button{display:inline-flex;align-items:center;gap:.25rem;padding:.45rem .55rem;background:#eef4fb;color:#172026;font-size:.86rem}.recent span{width:1rem;height:1rem;border:1px solid #bdc8d3;border-radius:999px}.swatch{min-height:120px;border-radius:8px;border:1px solid #d9e1ea}.ad-slot{display:grid;place-items:center;width:min(1160px,calc(100% - 2rem));min-height:90px;margin:1rem auto;border:1px dashed #a9b7c5;border-radius:8px;color:#6b7b89;background:#fff}.ad-slot.compact{width:100%;min-height:64px;margin:0 0 1rem}.content-grid,.matrix-grid,.footer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.seo-section article,.matrix-card{background:#fff;border:1px solid #d9e1ea;border-radius:8px;padding:1rem}.faq-section{margin-bottom:3rem}details{background:#fff;border:1px solid #d9e1ea;border-radius:8px;padding:.9rem 1rem;margin:.65rem 0}summary{cursor:pointer;font-weight:800}.page{padding:2rem 0 3rem}.matrix-card{display:grid;color:#172026}.matrix-card span{color:#5f6f7d}.footer{border-top:1px solid #d9e1ea;background:#fff;padding:2rem clamp(1rem,4vw,3rem)}.footer-grid{width:min(1160px,100%);margin:0 auto;grid-template-columns:1.4fr 1fr 1fr 1fr}.footer a,.footer p{display:block;margin:.35rem 0;color:#5f6f7d}.error{color:#9f251d}@media(max-width:820px){.topbar{position:static;grid-template-columns:1fr}.tool-card,.content-grid,.matrix-grid,.footer-grid,.status-grid,.formats{grid-template-columns:1fr}}
