.kit-privacy{font-size:14px!important;color:#a1bddf!important;margin-top:18px!important}
.field-kit .tool-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.field-kit .tool-tabs button{min-height:68px;padding:20px 24px;font-size:14px;gap:15px;border-bottom:1px solid var(--line)}
.field-kit .tool-tabs button:nth-child(3n){border-right:0}
.field-kit .tool-tabs button:nth-child(n+4){border-bottom:0}
.field-kit .tool-tabs button span{font-size:12px}
.field-kit label,.field-kit legend{font-size:14px}
.field-kit .tool-explanation{font-size:16px;line-height:1.7}
.photo-tool{min-height:640px;grid-template-columns:1.1fr 1fr}
.photo-tool [hidden]{display:none!important}
.photo-tool .tool-controls{min-width:0;padding:36px}
.photo-tool .tool-kicker{font-size:12px}
.photo-tool input{font-size:16px}
.photo-picker{display:flex!important;position:relative;flex-direction:column;gap:7px;align-items:flex-start;justify-content:center;border:1px dashed #476184;background:#0b1522;min-height:110px;padding:22px;cursor:pointer;transition:border-color .2s,background .2s;overflow:hidden}
.photo-picker strong{font-weight:500;font-size:16px;color:#d7e6fb}
.photo-picker span{font-size:14px;line-height:1.5;color:#8fa7c6;overflow-wrap:anywhere}
.photo-picker:hover,.photo-picker:focus-within,.photo-picker.is-dragging{background:#101f33;border-color:#91bdf4;outline:none}
.photo-file-input{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;margin:0!important;padding:0!important;opacity:0;border:0!important;overflow:hidden}
.photo-file-note{font-size:13px;line-height:1.7;color:#91a3bb;margin:12px 0 21px;overflow-wrap:anywhere}
.photo-tool .range-label{margin-block:22px}
.app-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:23px}
.photo-tool .outline-button{font-size:14px;min-height:45px}
.photo-tool .quiet-button{font-size:14px}
.photo-tool button:disabled{opacity:.42;cursor:default}
.photo-tool input:disabled{opacity:.5}
.app-status{min-height:22px;font-size:14px;color:#a9c9f2;line-height:1.6;margin-top:16px;overflow-wrap:anywhere}
.app-status.is-error{color:#f0b6a8}
.photo-results{padding:36px;background:#090f18;min-width:0;display:flex;flex-direction:column;justify-content:center}
.app-empty{text-align:center;padding:50px 10px;color:#a0b3ce}
.app-empty>span{font-size:12px;letter-spacing:.12em;color:#89a7cd}
.app-empty h4{font-size:clamp(30px,3vw,46px);font-family:Instrument Serif,Georgia,serif;font-weight:400;line-height:1.1;color:#d4e5fa;margin:21px 0}
.app-empty p{font-size:16px;line-height:1.8;color:#8c9fb8}
.photo-metadata{display:grid;grid-template-columns:1fr 1fr;gap:20px 16px;padding:0;margin:27px 0 0}
.photo-metadata div{min-width:0;border-bottom:1px solid var(--line);padding-bottom:13px}
.photo-metadata dt{font-size:12px;color:#8b9eb8;margin-bottom:5px}
.photo-metadata dd{margin:0;color:#d5e1f2;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.photo-preview{width:100%;display:grid;gap:12px;justify-items:center;background:#05090f;padding:12px}
.photo-preview img{max-width:100%;max-height:290px;width:auto;height:auto;object-fit:contain}
.photo-preview figcaption{font-size:13px;color:#9eafc6;max-width:100%;overflow-wrap:anywhere;text-align:center}
.histogram-heading{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#95afd2;gap:14px;margin:30px 0 17px}
.histogram-legend{display:flex;gap:5px;align-items:center;color:#98a8bc}
.histogram-legend i{width:5px;height:5px;margin-left:6px;border-radius:50%;display:inline-block}
.histogram-legend .red{background:#f58b8b}.histogram-legend .green{background:#8ccfb5}.histogram-legend .blue{background:#83b6ff}
#photo-histogram{display:block;background:#080e17;border-bottom:1px solid #335079;width:100%;height:auto}
.tone-values{display:flex;gap:20px;justify-content:space-between;margin-top:16px}
.tone-values p{font-size:13px;color:#8fa5c0}.tone-values output{display:block;color:#e1e9f5;font-size:21px;margin-top:6px}
.export-results{justify-content:flex-start;padding-top:36px}
.export-results .app-empty{margin-block:auto}
.export-output-list{display:grid;gap:12px}
.export-item{display:grid;grid-template-columns:64px 1fr auto;align-items:center;gap:13px;border:1px solid var(--line);padding:13px;min-width:0;background:#0b1523}
.export-item img{width:64px;height:50px;object-fit:contain;background:#070b11}
.export-item>div{min-width:0}.export-item strong{display:block;font-size:14px;font-weight:500;line-height:1.5;overflow-wrap:anywhere;color:#dce8f8}
.export-item p{font-size:12px;line-height:1.7;color:#99adc8;margin-top:5px}.export-item a{font-size:13px;color:#b5d4fe;border-bottom:1px solid #5e85b4;padding:6px 0}
.export-item.is-error{grid-template-columns:1fr;border-color:#775149}.export-item.is-error p{color:#efb7ac}
#download-photo-zip{align-self:flex-start;margin-top:24px}
.compare-tool{display:block;padding:36px;min-height:700px}
.compare-header{display:flex;align-items:flex-start;justify-content:space-between;gap:35px}
.compare-header h3{font-size:clamp(28px,2.5vw,41px);font-weight:400;letter-spacing:-.035em;line-height:1.2;margin-bottom:14px}
.compare-header .tool-explanation{max-width:650px;margin-bottom:25px}
.compare-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;max-width:280px}
.compare-pickers{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:24px}
.compare-pickers .photo-picker{min-height:95px;padding:18px 22px}
.compare-empty{border:1px solid var(--line);padding:70px 20px;background:#080e17}
.compare-empty p{margin-top:22px}
.compare-stage{position:relative;aspect-ratio:3/2;width:100%;max-height:520px;overflow:hidden;background:#05080d;touch-action:none;--reveal:50;--zoom:1;--pan-x:0px;--pan-y:0px;border:1px solid var(--line);user-select:none}
.compare-stage>img,.compare-after-layer img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;max-width:none;transform:translate(var(--pan-x),var(--pan-y)) scale(var(--zoom));transform-origin:center;pointer-events:none}
.compare-after-layer{position:absolute;inset:0;clip-path:inset(0 0 0 calc(var(--reveal)*1%));pointer-events:none}
.compare-divider{position:absolute;left:calc(var(--reveal)*1%);top:0;bottom:0;width:2px;transform:translateX(-50%);background:#dce9fc;cursor:ew-resize;z-index:3;padding-inline:12px;margin-left:-12px;background-clip:content-box}
.compare-divider span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;background:#e1ecfa;color:#182b46;width:31px;height:43px;border-radius:3px;font-size:15px;font-weight:500;box-shadow:0 0 0 1px #14315b4a}
.compare-tag{position:absolute;top:17px;z-index:2;font-size:12px;background:#080e19b0;padding:5px 10px;color:#c3d6f0;letter-spacing:.1em;pointer-events:none}.before-tag{left:15px}.after-tag{right:15px}
.compare-stage.is-zoomed{cursor:grab}.compare-stage.is-panning{cursor:grabbing}
.compare-sliders{display:grid;grid-template-columns:1fr 1fr;gap:35px}
.compare-sliders .range-label{margin-bottom:0}
@media(max-width:1100px){.photo-tool .tool-controls,.photo-results,.compare-tool{padding:26px}.compare-header{display:block}.compare-actions{max-width:none;justify-content:flex-start;margin-bottom:24px}.export-item{grid-template-columns:48px 1fr;gap:11px}.export-item img{width:48px;height:40px}.export-item a{grid-column:2;justify-self:start}}
@media(max-width:760px){.field-kit .tool-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.field-kit .tool-tabs button{padding:17px 16px;min-height:61px;flex-direction:row;align-items:center;gap:12px;font-size:14px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.field-kit .tool-tabs button:nth-child(3n){border-right:1px solid var(--line)}.field-kit .tool-tabs button:nth-child(2n){border-right:0}.field-kit .tool-tabs button:nth-child(n+4){border-bottom:1px solid var(--line)}.field-kit .tool-tabs button:nth-child(n+5){border-bottom:0}.photo-tool{grid-template-columns:1fr}.photo-tool .tool-controls,.photo-results{padding:25px 20px}.photo-results{min-height:300px}.photo-tool .tool-controls{border-right:0;border-bottom:1px solid var(--line)}.photo-tool .tool-explanation{font-size:16px}.photo-picker{padding:20px;min-height:112px}.photo-metadata{gap:20px 16px}.app-empty{padding:45px 10px}.photo-preview img{max-height:340px}.export-item{grid-template-columns:60px 1fr auto}.export-item img{width:60px;height:45px}.export-item a{grid-column:auto}.compare-tool{padding:25px 20px}.compare-pickers{grid-template-columns:1fr;gap:12px}.compare-header h3{font-size:31px}.compare-stage{min-height:240px;max-height:420px}.compare-sliders{gap:21px}.compare-tag{font-size:12px}.kit-privacy{font-size:14px!important}}
@media(max-width:380px){.field-kit .tool-tabs button{padding:16px 12px;gap:8px}.export-item{grid-template-columns:45px 1fr}.export-item img{width:45px}.export-item a{grid-column:2;justify-self:start}.compare-sliders{grid-template-columns:1fr;gap:0}}
@media print{.photo-tool{display:none!important}}
