:root{font-family:Inter,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:#312c29;background:#f7f3ec;font-synthesis:none;text-rendering:optimizeLegibility;--paper:#fbf9f5;--ink:#312c29;--muted:#827b74;--line:#e9e3da;--lav:#7868a6;--gold:#c29b55;--shadow:0 20px 55px rgba(68,53,39,.055)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:radial-gradient(ellipse at 82% 5%,rgba(223,213,235,.36),transparent 32rem),#f7f3ec}button,input,select{font:inherit}button,a,input,select{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a495c6;outline-offset:3px}.topbar{height:72px;padding:0 max(28px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(226,219,208,.75)}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-size:10px;letter-spacing:.16em;font-weight:700}.brand-mark{display:grid;place-items:center;width:28px;height:28px;border:1px solid #c8bca9;border-radius:50%;font-family:Georgia,serif;font-size:18px;color:#a5864e}.brand-divider{color:#c9bfae;padding:0 4px}.top-link{font-size:12px;text-decoration:none;color:#6b625b}.top-link span{color:var(--gold);margin-left:5px}.shell{max-width:1180px;margin:0 auto;padding:74px 30px 24px}.intro{margin:0 auto 42px;max-width:780px;text-align:center}.eyebrow{margin:0 0 17px;color:#a48248;font-size:10px;letter-spacing:.22em;font-weight:700}.intro h1{margin:0;color:#342e2a;font-family:"Iowan Old Style",Georgia,serif;font-weight:400;font-size:clamp(38px,5vw,59px);letter-spacing:-.045em;line-height:1.15}.intro h1 span{color:#8774a5}.intro-copy{margin:19px 0 0;color:#7c746d;font-size:13px;line-height:1.85}.workspace{display:grid;grid-template-columns:minmax(0,1.58fr) minmax(290px,.82fr);gap:18px;align-items:stretch}.panel{background:rgba(255,253,249,.88);border:1px solid rgba(230,222,211,.8);border-radius:15px;box-shadow:var(--shadow)}.control-panel{padding:24px 25px 20px}.panel-heading{display:flex;align-items:center;justify-content:space-between}.panel-heading>div,.guide-title{display:flex;align-items:center;gap:10px}.section-index{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#f1ece5;color:#a7824c;font-size:10px;font-weight:700;letter-spacing:.03em}.panel h2,.guide h2{margin:0;font-family:Georgia,serif;font-size:18px;font-weight:400;letter-spacing:-.02em}.local-badge{color:#817a70;background:#f6f3ee;padding:7px 10px;border-radius:99px;font-size:10px}.local-badge span{color:#a78a56;font-size:8px;margin-right:4px}.setting-grid{display:grid;grid-template-columns:1fr 1.25fr;gap:16px;margin-top:24px}.field-block>label,.preview-controls label{display:block;color:#7a7169;font-size:11px;margin-bottom:9px}.color-entry{height:43px;display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:5px 10px}.color-entry input[type=color],.preview-controls input[type=color]{width:28px;height:28px;padding:0;border:0;border-radius:6px;background:transparent;cursor:pointer}.color-entry input[type=color]::-webkit-color-swatch-wrapper,.preview-controls input[type=color]::-webkit-color-swatch-wrapper{padding:0}.color-entry input[type=color]::-webkit-color-swatch,.preview-controls input[type=color]::-webkit-color-swatch{border:1px solid rgba(0,0,0,.12);border-radius:6px}.hex-input{min-width:0;width:100%;border:0;background:transparent;color:#4f4943;font-family:ui-monospace,Consolas,monospace;font-size:12px;letter-spacing:.05em;text-transform:uppercase}.select-wrap{height:43px;position:relative;border:1px solid var(--line);border-radius:8px;background:#fff}.select-wrap select{width:100%;height:100%;appearance:none;border:0;border-radius:8px;background:transparent;padding:0 34px 0 12px;color:#4f4943;font-size:12px}.select-wrap>span{position:absolute;right:13px;top:9px;color:#9b8c78;pointer-events:none}.field-error{margin:7px 0 0;color:#a73f3f;font-size:10px;line-height:1.5}.toolbar{display:flex;gap:8px;margin:17px 0 18px}.button{min-height:38px;padding:0 13px;border:1px solid transparent;border-radius:7px;font-size:11px;cursor:pointer;transition:transform .15s,background .15s,border-color .15s}.button:hover{transform:translateY(-1px)}.button-primary{background:#74649e;color:#fff;box-shadow:0 5px 14px rgba(116,100,158,.18)}.button-primary:hover{background:#66578f}.button-quiet{color:#6d655f;background:#f5f1eb}.button-outline{border-color:#e7dfd3;color:#655c53;background:#fff}.button-outline:hover,.button-quiet:hover{border-color:#cbbd9f;background:#faf7f1}.button span{margin-right:4px}.palette{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.swatch{min-width:0;border:1px solid rgba(65,55,48,.07);border-radius:9px;overflow:hidden;background:#fff}.swatch-color{height:115px;position:relative;display:flex;align-items:flex-end;justify-content:flex-end;padding:8px}.swatch-lock{width:27px;height:27px;border:1px solid rgba(255,255,255,.68);border-radius:50%;background:rgba(255,255,255,.86);color:#62584d;cursor:pointer;display:grid;place-items:center;font-size:13px;box-shadow:0 2px 8px #0000001a}.swatch-lock[aria-pressed="true"]{color:#6c5b90;background:#fff;border-color:#fff}.swatch-info{padding:9px 8px 8px}.swatch-hex{display:flex;align-items:center;justify-content:space-between;gap:2px;font-family:ui-monospace,Consolas,monospace;font-size:10px;color:#4b453f}.swatch-copy{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border:0;border-radius:5px;background:#f6f2eb;color:#80776d;cursor:pointer;font-size:12px}.swatch-rgb{margin-top:5px;color:#978f86;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.export-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;padding-top:15px;border-top:1px solid #eee9e1}.export-title{margin:0 0 3px;color:#554e47;font-size:11px;font-weight:600}.export-subtitle{margin:0;color:#958d83;font-size:10px}.export-buttons{display:flex;gap:7px;flex-shrink:0}.status{min-height:14px;margin:6px 0 0;color:#777067;font-size:10px}.preview-panel{padding:24px 22px 19px}.preview-heading{margin-bottom:10px}.preview-icon{font-size:20px;color:#aa9164}.preview-intro{margin:0 0 17px 37px;color:#8a8178;font-size:11px;line-height:1.7}.preview-controls{display:grid;grid-template-columns:1fr 32px 1fr 32px;align-items:center;gap:6px;margin-bottom:12px}.preview-controls label{margin:0;font-size:10px}.preview-controls input{justify-self:end}.contrast-preview{min-height:192px;padding:24px 22px;border:1px solid rgba(0,0,0,.04);border-radius:10px;display:flex;flex-direction:column;justify-content:center;gap:13px}.preview-kicker{font-size:9px;letter-spacing:.2em}.contrast-preview strong{font-family:Georgia,serif;font-size:32px;font-weight:400;line-height:1.18;letter-spacing:-.04em}.preview-small{font-size:16px}.contrast-result{display:flex;justify-content:space-between;align-items:center;margin-top:14px}.contrast-label{display:block;color:#8b837a;font-size:10px;margin-bottom:4px}.contrast-result strong{font-family:Georgia,serif;font-size:21px;font-weight:400}.contrast-badge{padding:7px 10px;border-radius:99px;background:#f1ece5;color:#89744c;font-size:10px}.contrast-badge.pass{background:#eaf2e9;color:#52734d}.contrast-badge.fail{background:#f7e9e3;color:#9a5145}.contrast-note{margin:10px 0 0;color:#a0988e;font-size:9px;line-height:1.6}.guide{margin-top:18px;padding:20px 24px 21px}.guide-title{margin-bottom:17px}.guide-items{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.guide-items article{position:relative;padding-left:34px}.guide-number{position:absolute;left:0;top:2px;font-family:Georgia,serif;font-size:12px;color:#b0915c}.guide-items h3{margin:0 0 6px;color:#554e47;font-size:11px;font-weight:600}.guide-items p{margin:0;color:#8f867e;font-size:10px;line-height:1.7}.footer{display:flex;justify-content:space-between;padding:19px 2px 0;color:#aaa196;font-size:9px;letter-spacing:.08em}.footer span+span{letter-spacing:0}
@media(max-width:850px){.shell{padding-top:58px}.workspace{grid-template-columns:1fr}.preview-panel{display:grid;grid-template-columns:1fr 1.15fr;column-gap:16px}.preview-heading,.preview-intro,.preview-controls{grid-column:1}.preview-heading{grid-row:1}.preview-intro{grid-row:2;margin:0 0 12px 37px}.preview-controls{grid-row:3;align-self:start}.contrast-preview{grid-column:2;grid-row:1/4}.contrast-result,.contrast-note{grid-column:2}.contrast-result{grid-row:4}.contrast-note{grid-row:5}.guide-items{gap:12px}}
@media(max-width:560px){.topbar{height:60px;padding:0 17px}.brand{font-size:8px;letter-spacing:.12em;gap:8px}.brand-mark{width:25px;height:25px}.top-link{font-size:11px}.shell{padding:49px 15px 18px}.intro{margin-bottom:29px}.eyebrow{font-size:9px;margin-bottom:14px}.intro h1{font-size:39px}.intro-copy{font-size:12px;margin-top:14px}.desktop-break{display:none}.control-panel,.preview-panel{padding:18px 15px 15px}.panel h2,.guide h2{font-size:16px}.local-badge{font-size:9px;padding:6px 8px}.setting-grid{grid-template-columns:1fr;gap:13px;margin-top:19px}.toolbar{margin:15px 0;gap:7px}.button{font-size:10px;padding:0 10px}.palette{gap:5px}.swatch-color{height:90px;padding:5px}.swatch-lock{width:24px;height:24px;font-size:12px}.swatch-info{padding:7px 5px}.swatch-hex{font-size:8px}.swatch-copy{width:19px;height:19px;flex-basis:19px}.swatch-rgb{font-size:8px}.export-row{align-items:flex-start;flex-direction:column}.export-buttons{width:100%;flex-wrap:wrap}.export-buttons .button{flex:1 1 100px}.preview-panel{display:block}.preview-heading{margin-bottom:9px}.preview-intro{margin:0 0 14px 37px}.preview-controls{grid-template-columns:1fr 32px 1fr 32px}.contrast-preview{min-height:166px;padding:19px}.contrast-preview strong{font-size:29px}.guide{padding:18px 16px}.guide-items{grid-template-columns:1fr;gap:15px}.guide-items article{padding-left:33px}.guide-items p{font-size:10px}.footer{font-size:8px}.footer span+span{font-size:8px}}
@media(max-width:415px){.palette{grid-template-columns:repeat(3,minmax(0,1fr))}}
