*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f8fafc;color:#202a39;font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select{font:inherit}button,a,input,label{ -webkit-tap-highlight-color:transparent}button,.file-label{cursor:pointer}button:disabled,input:disabled{cursor:default;opacity:.44}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #4788bd;outline-offset:3px}a{color:inherit}h1,h2,p{margin:0}button{color:inherit}button,input,select{border-radius:7px}header,main,footer{max-width:1440px;margin:auto;padding-left:44px;padding-right:44px}.site-header{height:90px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e1e6ec}.brand{text-decoration:none;display:flex;align-items:center;gap:11px;font-size:18px;font-weight:650;letter-spacing:-.5px}.brand-mark{width:28px;height:28px;border-radius:8px;background:conic-gradient(from 30deg,#ffd362 0 25%,#ff754c 25% 50%,#889cff 50% 75%,#a9d7d6 75%)}.privacy{font-size:14px;color:#607084}.title-row{display:flex;align-items:center;justify-content:space-between;padding:28px 0 22px;gap:20px}h1{font-size:32px;line-height:1.2;font-weight:650;letter-spacing:-1.1px}.quiet-link{font-size:14px;color:#526477;text-decoration:none}.quiet-link span{margin-left:5px}.tool{background:white;border:1px solid #dce3eb;border-radius:13px;box-shadow:0 8px 32px #16243a05;overflow:hidden}.input-bar{display:flex;align-items:center;gap:10px;padding:18px 22px;border-bottom:1px solid #e5e9ee}.button{height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;border:1px solid #ccd5df;background:white;padding:0 15px;font-weight:550;font-size:14px;text-decoration:none;white-space:nowrap;line-height:1.2}.button:hover:not(:disabled){background:#f0f4f8;border-color:#a6b4c5}.primary{background:#243348;border-color:#243348;color:white}.primary:hover:not(:disabled){background:#354c68;border-color:#354c68}.file-label{position:relative;overflow:hidden}.file-label input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}.file-label:focus-within{outline:3px solid #4788bd;outline-offset:3px}.or{font-size:14px;color:#8c98a6;margin:0 5px}.url-form{display:flex;gap:8px;flex:1;max-width:490px;margin-left:auto;min-width:0}.url-form input{width:100%;min-width:0;height:42px;border:1px solid #dce3eb;padding:0 12px;background:#f8fafc;font-size:14px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 360px}.image-column{padding:18px 22px 0;min-width:0}.image-topline,.image-foot{display:flex;gap:14px;justify-content:space-between;font-size:12px;color:#6a788a;align-items:center}.image-topline{margin-bottom:12px}.image-topline #image-info{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:70%;font-weight:600;color:#4b5e74}.image-topline #dimensions{white-space:nowrap}.image-stage{height:365px;display:flex;align-items:center;justify-content:center;background-color:#f2f5f8;background-image:linear-gradient(45deg,#e7edf280 25%,transparent 25%),linear-gradient(-45deg,#e7edf280 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e7edf280 75%),linear-gradient(-45deg,transparent 75%,#e7edf280 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0;border:1px solid #dce3eb;border-radius:8px;position:relative;overflow:hidden}.image-stage.dragging{outline:3px solid #fc754c;outline-offset:-3px;background-color:#fff1e9}#empty-state{text-align:center;padding:25px;max-width:100%}#empty-state h2{font-size:23px;letter-spacing:-.6px;margin:10px 0}#empty-state p{font-size:14px;color:#6a788a;margin-bottom:20px}.empty-icon{color:#d0795d;background:#ffefe8;width:48px;height:48px;display:inline-flex;border:1px solid #f6d6c8;border-radius:12px;align-items:center;justify-content:center;font-size:33px}.canvas-wrap{position:relative;line-height:0;flex:none;max-width:100%;max-height:100%}#image-canvas{max-width:100%;max-height:363px;display:block;cursor:crosshair;touch-action:none;outline:none}#image-canvas:focus-visible{outline:3px solid #fc754c;outline-offset:-3px}#crosshair{position:absolute;width:16px;height:16px;border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #172b40,0 1px 6px #0008;transform:translate(-50%,-50%);pointer-events:none}.image-foot{margin-top:10px;align-items:flex-start}.image-foot #pixel-position{color:#334c63;white-space:nowrap;font-family:Consolas,monospace}.status{font-size:13px;color:#586c80;min-height:43px;padding:12px 0;overflow-wrap:anywhere}.status.error{color:#a53424}.result-panel{border-left:1px solid #e5e9ee;padding:20px 22px}.panel-label{display:flex;justify-content:space-between;font-size:11px;font-weight:650;letter-spacing:1.4px;color:#607084;margin-bottom:14px}.panel-label span{letter-spacing:0;font-weight:400}.color-preview{border-radius:8px;min-height:119px;background:#eef2f6;display:flex;align-items:center;justify-content:space-between;padding:18px 15px;gap:8px;color:#344054}.color-preview>div{min-width:0}.color-preview strong{display:block;font-size:29px;line-height:1.3;font-weight:600;letter-spacing:-.8px;font-family:Consolas,"SFMono-Regular",monospace}.color-preview #color-name{font-size:13px;display:block;overflow-wrap:anywhere}.color-preview canvas{width:78px;height:78px;border:2px solid #ffffffcc;box-shadow:0 1px 5px #0002;border-radius:5px;flex-shrink:0;image-rendering:pixelated;background:#ffffff24}.values{margin:15px 0}.value-row{width:100%;display:flex;align-items:center;gap:8px;padding:10px 0;background:none;border:0;border-bottom:1px solid #edf0f3;border-radius:0;text-align:left;font-size:13px;opacity:1!important}.value-row>span:first-child{width:40px;color:#77859a;flex-shrink:0;font-size:11px;letter-spacing:.4px}.value-row code{font:12px/1.5 Consolas,"SFMono-Regular",monospace;flex:1;overflow-wrap:anywhere}.value-row:hover:not(:disabled) code{color:#b54525}.copy-icon{color:#8d9aab;font-size:17px}.result-actions{display:flex;gap:8px}.result-actions .button{flex:1;padding:0 9px;font-size:13px}.small-note{font-size:12px;color:#708093;line-height:1.5;margin-top:11px}.kept-section,.palette-section{border-top:1px solid #e5e9ee;padding:20px 22px}.section-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}.section-bar h2{font-size:16px;font-weight:600;letter-spacing:-.25px}.section-bar h2 span{font-size:12px;font-weight:400;color:#8b96a6;margin-left:6px}.text-button{background:transparent;border:0;color:#67798c;font-size:13px;padding:4px}.picked-colors{display:flex;gap:9px;flex-wrap:wrap;min-height:36px}.empty-note{color:#8491a2;font-size:13px;padding:5px 0}.picked-item{display:flex;align-items:center;border:1px solid #dbe2ea;border-radius:6px;overflow:hidden}.picked-item button{border:0;background:white;display:flex;align-items:center;gap:7px;height:34px;padding:0 9px;font:12px Consolas,monospace}.picked-item button:last-child{border-left:1px solid #edf0f3;color:#7e8a9b;padding:0 7px}.mini-swatch{width:17px;height:17px;border-radius:3px;box-shadow:inset 0 0 0 1px #0001}.palette-controls{display:flex;align-items:center;gap:12px;font-size:13px}.palette-controls label{white-space:nowrap}.palette-controls output{font-family:Consolas,monospace;margin-left:6px;display:inline-block;width:17px}.palette-controls input{width:125px;accent-color:#b94c2e}.palette-controls select{height:36px;border:1px solid #d2dbe4;background:white;font-size:13px;padding:0 8px}.palette-controls .button{height:36px}.palette{display:grid;grid-template-columns:repeat(var(--palette-cols,8),minmax(0,1fr));gap:8px}.palette:has(.empty-note){display:block;border:1px dashed #e0e6ee;border-radius:6px;padding:17px}.palette-swatch{padding:0;border:1px solid #e4e9ef;background:white;overflow:hidden;min-width:0;text-align:left;border-radius:6px}.palette-swatch span{display:block;height:65px}.palette-swatch code{display:block;padding:7px 5px;text-align:center;font:11px Consolas,monospace;color:#5d6c7e}.palette-swatch:hover{border-color:#64768d;transform:translateY(-2px)}.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;padding:62px 0 48px;border-bottom:1px solid #dfe6ed}.eyebrow{font-size:11px;color:#aa533a;font-weight:650;letter-spacing:1.5px}.guide-grid h2{font-size:23px;line-height:1.3;letter-spacing:-.6px;margin:12px 0 16px}.guide-grid p{font-size:14px;line-height:1.75;color:#617186;margin-bottom:14px}.guide-grid strong{font-weight:600;color:#394c63}.faq{max-width:900px;padding:44px 0 55px}.faq h2{font-size:23px;letter-spacing:-.6px;margin-bottom:20px}.faq details{border-bottom:1px solid #dfe6ed;padding:14px 0}.faq summary{font-size:15px;font-weight:550;cursor:pointer}.faq p{font-size:14px;color:#617186;margin:12px 0 4px;line-height:1.75}footer{display:flex;justify-content:space-between;color:#7f8a9a;font-size:12px;padding-top:22px;padding-bottom:32px;border-top:1px solid #dfe6ed}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}[hidden]{display:none!important}
@media(min-width:1450px){.image-stage{height:420px}#image-canvas{max-height:418px}}
@media(max-width:1000px){header,main,footer{padding-left:24px;padding-right:24px}.workspace{grid-template-columns:minmax(0,1fr) 315px}.image-stage{height:335px}#image-canvas{max-height:333px}.image-column{padding-left:16px;padding-right:16px}.result-panel{padding:18px 16px}.color-preview strong{font-size:25px}.color-preview canvas{width:64px;height:64px}.guide-grid{gap:24px}.palette{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:740px){header,main,footer{padding-left:16px;padding-right:16px}.site-header{height:67px}.brand{font-size:16px}.privacy{font-size:11px;max-width:110px;text-align:right}.title-row{padding:21px 0 17px}.title-row h1{font-size:25px;letter-spacing:-.8px}.quiet-link{display:none}.input-bar{padding:14px;flex-wrap:wrap;gap:8px}.input-bar>.button{flex:1}.input-bar .or{display:none}.url-form{flex-basis:100%;max-width:none;margin-top:2px}.button{min-height:44px}.workspace{grid-template-columns:1fr}.image-column{padding:15px 14px 0}.image-stage{height:295px}#image-canvas{max-height:293px}.image-foot{font-size:11px;gap:12px}.image-foot>span:first-child{max-width:65%}.result-panel{border-left:0;border-top:1px solid #e5e9ee;padding:18px 14px}.color-preview{min-height:102px}.color-preview strong{font-size:32px}.color-preview canvas{width:72px;height:72px}.value-row{padding:12px 0;font-size:14px}.value-row code{font-size:14px}.value-row>span:first-child{font-size:12px;width:44px}.result-actions .button{font-size:14px}.palette-section,.kept-section{padding:18px 14px}.palette-bar{align-items:flex-start;flex-direction:column;gap:12px}.palette-controls{width:100%;flex-wrap:wrap;gap:8px}.palette-controls input{flex:1;min-width:60px;max-width:120px}.palette-controls .button{padding:0 10px;font-size:12px}.palette-controls select{height:44px}.palette{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.palette-swatch span{height:55px}.guide-grid{grid-template-columns:1fr;gap:25px;padding:38px 0 24px}.guide-grid h2{font-size:22px;margin:8px 0 12px}.guide-grid p,.faq p{font-size:16px}.faq{padding:32px 0}.faq summary{font-size:16px}.picked-item button{height:44px}.status{min-height:45px}.small-note{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media(min-width:741px){.value-row code{font-size:13px}.value-row>span:first-child{font-size:12px}.panel-label{font-size:12px;letter-spacing:1px}}

/* Support pages and shared navigation. */
footer{gap:18px;align-items:center;flex-wrap:wrap}footer nav{display:flex;flex-wrap:wrap;gap:18px}footer a{text-underline-offset:4px}.footer-brand{text-decoration:none;color:#46586c;font-weight:600}
.info-main{max-width:850px;padding-top:44px;padding-bottom:60px;min-height:calc(100vh - 190px)}.info-main h1{margin:22px 0}.info-main .intro{font-size:19px;line-height:1.65;color:#526477;margin-bottom:30px}.info-main section{margin:28px 0}.info-main h2{font-size:22px;letter-spacing:-.5px;margin:0 0 12px}.info-main p,.info-main ul{margin:12px 0;line-height:1.8;color:#526477}.info-main a{color:#344f70;text-underline-offset:4px;overflow-wrap:anywhere}.info-main .back-link{font-size:14px}.info-main .contact-address{font-size:clamp(18px,4.5vw,26px);font-weight:600}.info-main .updated{font-size:13px;color:#738296}
@media(max-width:740px){footer{gap:15px}footer nav{gap:16px;flex-basis:100%;order:3}.info-main{padding-top:26px;padding-bottom:38px}.info-main h1{font-size:29px}.info-main .intro{font-size:18px}.info-main section{margin:26px 0}.brand{font-size:15px;gap:8px}.brand-mark{width:24px;height:24px;flex-shrink:0}}
