:root{--blue:#173faf;--ink:#192b45;--muted:#68758a;--paper:#f5f3ed;--line:#dedfdc;--white:#fffefa}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:14px}button,input,label{touch-action:manipulation}button,.file-button{font:inherit;cursor:pointer}button{min-height:44px}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,.file-button:focus-visible{outline:3px solid #de943f;outline-offset:4px}header{max-width:1500px;margin:auto;padding:25px 5%;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{font-size:24px;font-weight:800;letter-spacing:-1.4px;color:var(--blue);text-decoration:none}.brand span{font-weight:400}.brand i{font-size:11px;font-style:normal;vertical-align:top;margin:3px}.version,.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:bold}.version{color:var(--muted)}main{max-width:1500px;margin:auto;padding:32px 5%}.intro{display:flex;flex-direction:column;gap:20px;margin-bottom:30px}.eyebrow{color:var(--blue);margin:0 0 15px}h1{font-family:Georgia,serif;font-weight:400;font-size:44px;line-height:1.06;letter-spacing:-1.7px;margin:0 0 18px}h2{font-size:16px;margin:0;font-weight:600}h3{font-size:16px;font-weight:500;margin:18px 0 9px}.lede{color:var(--muted);font-size:15px;line-height:1.7;max-width:440px;margin:0}.privacy{font-size:12px;line-height:1.8}.privacy small{display:block;font-size:11px;color:var(--muted)}.dot{display:inline-block;width:7px;height:7px;background:#648370;border-radius:50%;margin-right:6px}.workflow{display:flex;gap:22px;border-top:1px solid var(--line);padding:20px 0;font-size:11px;color:var(--muted)}.workflow b{font-weight:500;margin-left:5px}.workflow .active{color:var(--blue)}.workspace{display:grid;gap:20px;align-items:start}.panel{background:var(--white);border:1px solid var(--line);border-radius:6px;overflow:hidden}.panel-top{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:20px}.panel-top .eyebrow{font-size:9px;margin-bottom:8px}.panel-top h2{overflow-wrap:anywhere;font-size:14px}.file-button{white-space:nowrap;color:var(--blue);border:1px solid #cbd2e6;border-radius:4px;padding:13px 12px;font-size:12px}.file-button span{margin-left:8px}#file{position:absolute;width:1px;height:1px;opacity:0}body:has(#file:focus-visible) .file-button{outline:3px solid #de943f}.stage{min-height:380px;display:flex;align-items:center;justify-content:center;padding:25px;background:#eaece8;position:relative}.stage.dragging{outline:3px dashed var(--blue);outline-offset:-8px}#empty{text-align:center}#empty h3{font-family:Georgia,serif;font-size:21px}#empty p{font-size:12px;color:var(--muted)}#empty .muted{font-size:10px}.art{width:160px;height:195px;background:#183fa1;margin:0 auto 25px;position:relative;overflow:hidden;box-shadow:8px 8px 0 #dcded8;transform:rotate(-5deg)}.art span{position:absolute;bottom:12px;left:16px;font-size:7px;color:#afc5e7;letter-spacing:2px}.stem{position:absolute;left:85px;top:30px;height:145px;width:2px;background:#b6d5df;transform:rotate(12deg)}.leaf{position:absolute;background:#b6d5df;border-radius:100% 0 100% 0;width:47px;height:75px;opacity:.85}.leaf-a{left:82px;top:25px;transform:rotate(5deg)}.leaf-b{left:37px;top:57px;transform:rotate(95deg)}.leaf-c{left:77px;top:94px;width:35px;height:55px;transform:rotate(10deg)}#preview{max-width:100%;max-height:660px;object-fit:contain;width:auto;height:auto;box-shadow:0 3px 15px #14264318}#preview[hidden]{display:none}.view-bar{padding:15px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.tabs{display:flex;background:#f0f1ed;border-radius:4px;padding:3px}.tabs button{border:0;background:none;padding:8px 14px;min-height:36px;font-size:12px;color:var(--muted);border-radius:3px}.tabs button[aria-pressed=true]{background:var(--white);color:var(--blue);box-shadow:0 1px 4px #0001}#dimensions{font-size:10px;color:var(--muted)}.view-note{margin:0;padding:0 18px 17px;color:var(--muted);font-size:11px;line-height:1.5}.controls{display:grid;gap:15px}.control-panel{padding:21px}.section-title{display:flex;align-items:center;gap:10px;margin-bottom:18px}.section-title h2{font-size:14px}.step{font-size:10px;color:var(--muted)}.tag{margin-left:auto;font-size:9px;border:1px solid var(--line);padding:4px 6px;border-radius:3px;color:var(--muted)}#histogram{width:100%;height:85px;border-bottom:1px solid #bbc2cf}.hist-labels{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);margin-top:7px}.control-panel h3{font-size:14px;margin-top:20px}.control-panel p{font-size:12px;color:var(--muted);line-height:1.65}.optimize{display:flex;align-items:center;gap:9px;background:#edf1fd;border:1px solid #c6d1ef;color:var(--blue);border-radius:4px;padding:12px;width:100%;font-size:12px}.optimize[aria-pressed=true]{background:var(--blue);color:white}#optimize-state{margin-left:auto;font-size:10px}.small{font-size:10px!important;line-height:1.6;color:var(--muted)}.section-title .text-button{margin-left:auto;font-size:10px;min-height:25px}.text-button{background:none;border:0;color:var(--blue);padding:5px 0;font-size:12px}fieldset{border:0;padding:0;margin:0;min-width:0}.slider-label{display:flex;justify-content:space-between;font-size:12px;margin-top:18px}.slider-label output{font-size:10px;color:var(--muted)}input[type=range]{width:100%;margin:10px 0 4px;accent-color:var(--blue);height:22px}.contrast-buttons{display:flex;gap:7px;margin-top:12px}.contrast-buttons button{flex:1;background:transparent;border:1px solid var(--line);border-radius:4px;font-size:11px;color:var(--ink);padding:6px}.export-panel{background:#183b92;color:#fff;padding:22px;border-radius:6px}.export-panel .step{color:#b8c9f0}.export-panel p{font-size:12px;line-height:1.6;color:#c5d2ee}.export-panel button{display:flex;justify-content:space-between;width:100%;background:#fffefa;border:0;border-radius:4px;color:#14398e;padding:14px 17px;font-size:13px;font-weight:bold;margin-top:20px}.export-panel .small{font-size:9px!important;margin-bottom:0}#status{color:var(--blue);font-size:13px;line-height:1.6;margin-top:18px}#status.error{color:#a43725}footer{margin-top:35px;padding:25px 0;border-top:1px solid var(--line);color:var(--muted);display:flex;flex-direction:column;gap:15px}footer span{font-size:9px;letter-spacing:1.5px}footer p{font-size:11px;line-height:1.7;max-width:620px;margin:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(min-width:850px){main{padding-top:48px}.intro{flex-direction:row;align-items:end;justify-content:space-between;margin-bottom:36px}h1{font-size:60px}.privacy{padding-bottom:5px}.workspace{grid-template-columns:minmax(0,1fr) 350px;gap:24px}.stage{min-height:570px}.panel-top{padding:23px}.workflow{gap:50px}footer{flex-direction:row;justify-content:space-between}.viewer{position:sticky;top:20px}}@media(max-width:380px){main{padding-left:4%;padding-right:4%}h1{font-size:38px}.workflow{gap:10px}.panel-top{padding:13px}.version{font-size:8px;letter-spacing:1px}}

.mirror-bar{padding:0 18px 15px}.mirror-bar .optimize{max-width:280px}#mirror-state{margin-left:auto;font-size:10px}

.header-tools{display:flex;align-items:center;gap:20px}.languages{display:flex;gap:3px}.languages button{border:1px solid transparent;background:transparent;border-radius:5px;min-width:38px;min-height:44px;font-size:20px;padding:4px}.languages button[aria-pressed=true]{border-color:#a7b9e0;background:#e9eef9}.headline-message{font-size:.72em;display:inline-block;max-width:650px;line-height:1.15}.intro>div:first-child{min-width:0}.feedback-bar{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:28px}.feedback-bar a{display:inline-flex;align-items:center;min-height:44px;border:1px solid #c6d1ef;border-radius:4px;padding:10px 15px;color:var(--blue);text-decoration:none;font-size:13px}.feedback-bar span{color:var(--muted);font-size:11px}.slider-label{gap:10px}.slider-label output{flex-shrink:0}.contrast-buttons button{overflow-wrap:anywhere}.workflow span{min-width:0}.section-title{flex-wrap:wrap}@media(max-width:600px){header{flex-wrap:wrap;gap:12px}.header-tools{gap:8px;flex-wrap:wrap}.header-tools .version{display:none}.brand{font-size:22px}.languages button{min-width:34px}.intro h1{font-size:40px}.workflow{gap:12px}.workflow b{margin-left:0}.file-button{white-space:normal}.panel-top>div{min-width:0}.view-bar{gap:8px}}

.cyanometer{display:block;width:88px;height:88px;margin:0 0 16px auto}.mirror-bar{display:flex;flex-wrap:wrap;gap:10px}.mirror-bar .optimize{width:auto;min-width:160px}dialog{width:min(680px,94vw);max-height:92vh;overflow:auto;border:1px solid var(--line);border-radius:8px;padding:22px;background:var(--white);color:var(--ink)}dialog::backdrop{background:#13233eaa}dialog p{font-size:13px;line-height:1.5}#crop-canvas{display:block;max-width:100%;max-height:46vh;width:auto;height:auto;margin:16px auto;touch-action:none;cursor:crosshair}.crop-sliders{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px}.crop-sliders label{font-size:12px}.crop-sliders output{float:right;color:var(--muted)}.crop-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.crop-actions button{border:1px solid var(--line);border-radius:4px;background:var(--paper);padding:10px;color:var(--ink)}#crop-apply{background:var(--blue);color:white}#crop-error{color:#a43725}@media(max-width:600px){.cyanometer{width:68px;height:68px;margin:0 0 12px}.crop-sliders{gap:8px 12px}}

.tabs{flex-wrap:wrap}.tabs button{padding-left:10px;padding-right:10px}.simulation-note{background:#edf1fa;border-left:3px solid var(--blue);margin:0 18px 18px;padding:12px;line-height:1.7;color:var(--ink)}

.intro{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:22px}.intro .cyanometer{flex:0 0 88px;width:88px;height:88px;margin:0}.workspace-heading{display:grid;gap:12px;border-top:1px solid var(--line);padding:18px 0}.workspace-heading .workflow{border:0;padding:0;align-items:center}.workspace-heading .privacy{padding:0}.translation-notice{color:var(--muted);font-size:11px;line-height:1.5;margin:0 0 20px;text-align:right}.translation-notice[hidden]{display:none}@media(min-width:850px){.workspace-heading{grid-template-columns:minmax(0,1fr) 350px;gap:24px}.intro .cyanometer{flex-basis:100px;width:100px;height:100px}}@media(max-width:600px){.intro{gap:12px;align-items:flex-start}.intro .cyanometer{flex-basis:48px;width:48px;height:48px;margin-top:2px}.intro h1{font-size:34px}.translation-notice{text-align:left}}

/* Compact heading with the cyanometer aligned to the first text line. */
main{padding-top:20px}.intro{align-items:flex-start;margin-bottom:22px}.intro .cyanometer{margin-top:0}.translation-notice{margin-bottom:12px}.workspace-heading{grid-template-columns:1fr}.image-privacy{padding:0 18px 18px;font-size:11px;line-height:1.6}.image-privacy small{display:inline;font-size:11px;margin-left:5px}.viewer .view-note{padding-bottom:8px}.viewer .simulation-note{padding-bottom:12px;margin-bottom:10px}@media(min-width:850px){main{padding-top:24px}.intro{margin-bottom:24px}}

/* Allow the introduction to wrap naturally at the available page width. */
.intro>div{min-width:0;flex:1}.lede{max-width:none}.version-info{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px}.copyright{font-size:11px;color:var(--muted);white-space:nowrap}@media(max-width:600px){.header-tools .version{display:inline}.version-info{gap:8px}.header-tools{width:100%;justify-content:space-between}.version{font-size:8px;letter-spacing:1px}.copyright{font-size:10px}}

/* Version and attribution share typography and stack vertically. */
.version-info{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.version-info .version,.version-info .copyright{font-family:Arial,Helvetica,sans-serif;font-size:11px;font-weight:400;letter-spacing:0;line-height:1.4;color:var(--muted)}

select {font:inherit;padding:8px;border:1px solid #c5ccd8;border-radius:6px;max-width:100%;margin:6px 10px 12px 0} .export-panel label {display:block} #share {margin-top:8px} #crop-canvas {touch-action:none}

.contrast-labels {display:flex;justify-content:space-between;gap:12px;font-size:13px;color:#667085;margin:8px 0}
.export-choices {border:0;padding:0;margin:16px 0;min-width:0}
.export-choices legend {font-size:14px;margin-bottom:8px}
.choice-buttons {display:flex;gap:8px;flex-wrap:wrap}
.export-panel .choice-buttons button {width:auto;flex:1;padding:10px 12px;margin:0;background:transparent;color:white;border:1px solid #ffffff80;border-radius:6px}
.export-panel .choice-buttons button[aria-pressed="true"] {background:white;color:#183c90;border-color:white;font-weight:700}
.export-panel .choice-buttons button:focus-visible {outline:3px solid #9bb8ff;outline-offset:3px}
