:root{color-scheme:dark;--bg:#101313;--panel:#161b1b;--raised:#1d2423;--line:#293331;--line-soft:#222b28;--text:#e6eeea;--muted:#8a9992;--dim:#62736a;--mint:#65f5b4;--mint-dark:#153c2c;--radius:10px;font-family:"Segoe UI","Microsoft JhengHei UI","Microsoft JhengHei",sans-serif;font-size:13px;color:var(--text);background:var(--bg)}
*{box-sizing:border-box}body{margin:0;min-width:1000px;height:100vh;overflow:hidden}button,input,select{font:inherit}button,select,input[type=color],input[type=checkbox]{cursor:pointer}button{color:inherit}button:disabled{cursor:default;opacity:.35}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--mint);outline-offset:3px}button{transition:background .15s,border-color .15s,color .15s,box-shadow .15s}button:active:not(:disabled){transform:translateY(1px)}h1,h2,h3,p{margin:0}button svg,span svg{pointer-events:none}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.rail{position:fixed;inset:0 auto 0 0;width:76px;border-right:1px solid var(--line-soft);background:#0c100f;display:flex;flex-direction:column;align-items:center;padding:23px 9px 16px;z-index:2}.brand-mark{font-size:29px;font-weight:800;line-height:1;letter-spacing:-3px;color:var(--mint);padding-right:4px}.brand-mark span{color:#e6eeea}.rail-divider{height:1px;width:30px;background:var(--line);margin:25px 0 20px}.rail-item{width:58px;min-height:63px;border:0;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border-radius:9px;color:var(--muted);font-size:10px;letter-spacing:.2px}.rail-item .icon{width:22px;height:22px}.rail-item.is-active{background:var(--mint-dark);color:var(--mint);box-shadow:inset 0 0 0 1px #22573e}.rail-item:hover:not(.is-active){background:#1c2520;color:var(--text)}.rail-spacer{flex:1}.offline-label{display:flex;align-items:center;gap:5px;font-size:8px;letter-spacing:.7px;color:var(--dim);transform:rotate(-90deg);white-space:nowrap;margin-bottom:31px}.offline-label>span{width:4px;height:4px;border-radius:50%;background:var(--mint)}.rail-version{font-family:Consolas,monospace;font-size:9px;color:var(--dim);margin-top:17px}.workspace{margin-left:76px;height:100vh;display:flex;flex-direction:column}.app-header{height:94px;flex-shrink:0;border-bottom:1px solid var(--line-soft);padding:0 28px;display:flex;align-items:center;justify-content:space-between;gap:22px;background:#111615}.eyebrow{font-family:Consolas,monospace;font-size:9px;letter-spacing:2px;color:var(--dim);margin-bottom:5px}.app-heading h1{font-size:24px;letter-spacing:-.8px;font-weight:650;line-height:1.2}.app-heading h1 span{font-weight:350;color:#aebeb5}.header-actions{display:flex;align-items:center;gap:10px}.status-pill{display:flex;align-items:center;gap:7px;font-size:11px;color:#9db0a5;white-space:nowrap;margin-right:8px}.status-dot,.preview-indicator>span:first-child{width:6px;height:6px;border-radius:50%;background:var(--mint);box-shadow:0 0 9px #65f5b433}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:38px;border:1px solid transparent;border-radius:7px;padding:0 14px;font-weight:600;font-size:12px;white-space:nowrap}.button .icon{width:17px;height:17px}.button-primary{color:#082417;background:var(--mint);border-color:var(--mint)}.button-primary:hover:not(:disabled){background:#94ffce;border-color:#94ffce;box-shadow:0 0 20px #65f5b414}.button-secondary{color:#cee5d8;background:#1b2620;border-color:#33473b}.button-secondary:hover:not(:disabled){background:#263b2d;border-color:#50705b}.button-quiet{background:transparent;color:var(--muted);padding-inline:10px}.button-quiet:hover:not(:disabled){background:var(--raised);color:var(--text)}.button-small{min-height:29px;padding:0 10px;font-size:11px;font-weight:500}.button-icon{width:38px;min-width:38px;padding:0;background:var(--raised);border-color:var(--line)}.button-icon:hover:not(:disabled){background:#2b3931;border-color:#526859}.studio-layout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 330px}.monitor-column{min-height:0;display:flex;flex-direction:column;padding:22px 28px 0;overflow:auto;scrollbar-width:thin;scrollbar-color:#35443b transparent}.section-heading{display:flex;align-items:center;justify-content:space-between;min-height:28px;margin-bottom:17px;gap:10px}.section-heading>div,.settings-header>div{display:flex;align-items:center;gap:10px}.section-index{font-family:Consolas,monospace;color:#526c5c;font-size:10px;letter-spacing:1px}.section-heading h2,.settings-header h2{font-size:13px;letter-spacing:.7px;font-weight:600}.section-subtitle{font-family:Consolas,monospace;font-size:9px;color:var(--dim);letter-spacing:1.5px;margin-left:2px}.demo-toggle{border-color:#344038;color:#a5baac;background:#18211b}.demo-toggle[aria-pressed=true]{color:#b4e2c8;border-color:#3f5a49;background:#1c3024}.demo-toggle .icon{width:13px;height:13px}.preview-shell{position:relative;background:#050807;border:1px solid #304037;border-radius:10px;flex-shrink:0;overflow:hidden}.preview-topline,.preview-bottomline{position:absolute;left:0;right:0;display:flex;justify-content:space-between;align-items:center;z-index:1;pointer-events:none}.preview-topline{top:0;padding:14px 17px;background:linear-gradient(#050a08b0,transparent)}.preview-indicator{font-family:Consolas,"Microsoft JhengHei",monospace;display:flex;align-items:center;gap:7px;font-size:10px;color:#b7d0c2;letter-spacing:.6px}.preview-indicator>span:first-child{width:5px;height:5px}.monitor-caption{font-family:Consolas,monospace;font-size:8px;letter-spacing:1.8px;color:#577364}.preview-bottomline{bottom:0;padding:16px 17px 12px;background:linear-gradient(transparent,#050a08b0);color:#6f8a7b;font-size:9px;letter-spacing:.5px}.canvas-frame{aspect-ratio:16/9;width:100%;background-color:#070c09;background-image:linear-gradient(45deg,#101a12 25%,transparent 25%),linear-gradient(-45deg,#101a12 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#101a12 75%),linear-gradient(-45deg,transparent 75%,#101a12 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}#previewCanvas{display:block;width:100%;height:100%;object-fit:contain}.corner{position:absolute;width:10px;height:10px;border-color:#70d79e;border-style:solid;opacity:.5;z-index:2;pointer-events:none}.corner-tl{left:6px;top:6px;border-width:1px 0 0 1px}.corner-tr{right:6px;top:6px;border-width:1px 1px 0 0}.corner-bl{left:6px;bottom:6px;border-width:0 0 1px 1px}.corner-br{right:6px;bottom:6px;border-width:0 1px 1px 0}.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:14px;flex-shrink:0}.quick-action{display:flex;align-items:center;gap:10px;padding:14px 12px;border:1px solid var(--line);background:#171f1a;border-radius:8px;text-align:left;min-height:66px;min-width:0}.quick-action>.icon{color:#9fb8a8;width:20px;height:20px}.quick-action>span{display:flex;flex-direction:column;gap:5px;flex:1}.quick-action strong{font-weight:600;font-size:12px;white-space:nowrap}.quick-action small{font-size:9px;color:var(--dim);white-space:nowrap}.quick-action kbd{font-family:Consolas,monospace;font-size:9px;border:1px solid #36463b;color:#8ba393;padding:2px 4px;border-radius:3px;align-self:flex-start}.quick-action:hover{background:#223027;border-color:#49614f}.quick-action[aria-pressed=true]{background:#214230;border-color:#4b986d}.quick-action[aria-pressed=true]>.icon{color:var(--mint)}.camera-card{padding:16px 17px 13px;background:var(--panel);border:1px solid var(--line-soft);border-radius:9px;margin-top:19px;flex-shrink:0}.card-heading{display:flex;align-items:center;gap:8px;margin-bottom:11px}.card-heading>.icon{color:#8fae9b;width:15px;height:15px}.card-heading h2{font-size:12px;font-weight:600}.local-badge{margin-left:auto;border:1px solid #304538;background:#18281e;color:#8cb69b;border-radius:4px;padding:3px 6px;font-size:9px}.camera-selector{display:flex;gap:8px}.camera-selector select{flex:1;min-width:0}.helper-text{color:var(--muted);font-size:10px;line-height:1.7;margin-top:9px}.message-box{font-size:11px;line-height:1.6;color:#a9beb1;background:#17271e;border:1px solid #2c4735;border-radius:7px;padding:11px 13px;margin-top:12px;flex-shrink:0;overflow-wrap:anywhere}.message-box:empty{display:none}.message-box.error,.message-box[data-kind=error],.message-box[data-type=error]{color:#ffb9af;background:#351f1c;border-color:#674039}.message-box.warning,.message-box[data-kind=warning],.message-box[data-type=warning]{color:#ebd398;background:#332e1d;border-color:#625839}.message-box.success,.message-box[data-kind=success],.message-box[data-type=success]{color:#a9e4bf;background:#17301f;border-color:#346443}.obs-tip{display:flex;gap:12px;align-items:center;padding:18px 2px 17px;flex-shrink:0}.obs-tip-mark{border:1px solid #38463d;font-family:Consolas,monospace;font-size:10px;letter-spacing:1px;color:#90a395;border-radius:6px;width:39px;height:35px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.obs-tip p{font-size:10px;line-height:1.8;color:#a6b6aa}.obs-tip p span{color:#6e8376;font-size:9px}.obs-tip strong{font-weight:500;color:#bdd2c3}.telemetry{display:flex;gap:26px;align-items:center;min-height:65px;margin-top:auto;border-top:1px solid var(--line-soft);flex-shrink:0;padding:12px 0}.telemetry>div{display:flex;flex-direction:column;gap:6px}.telemetry-label{font-size:9px;color:var(--dim);letter-spacing:.5px}.telemetry strong{font-family:Consolas,"Microsoft JhengHei",monospace;font-size:11px;color:#abc2b2;font-weight:500}.telemetry strong small{font-size:8px;color:var(--dim);margin-left:5px}.telemetry .output-telemetry{margin-left:auto;text-align:right}
.settings-panel{border-left:1px solid var(--line-soft);background:#141a16;display:flex;flex-direction:column;min-height:0}.settings-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:25px 21px 22px;border-bottom:1px solid var(--line-soft)}.save-status{font-size:9px;color:#829a89;display:flex;align-items:center;gap:5px;white-space:nowrap}.save-status>span{width:4px;height:4px;border-radius:50%;background:#548665}.settings-scroll{overflow:auto;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#34493b transparent}.setting-section{padding:19px 21px;border-bottom:1px solid var(--line-soft)}.setting-section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.setting-section-title h3{font-size:12px;font-weight:600;letter-spacing:.3px}.setting-section-title>span{font-family:Consolas,monospace;font-size:8px;color:#5e7867;letter-spacing:1.3px}.field-label{display:block;font-size:10px;color:#8ca593;margin-bottom:7px}select{color:#ccded2;background:#1a241e;border:1px solid #34443a;border-radius:6px;min-height:35px;width:100%;padding:0 10px;font-size:11px;outline:none}select:hover{border-color:#516c58}select option{background:#1a241e;color:var(--text)}.mode-switch{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:12px 0 15px;padding:4px;border:1px solid #2a392f;background:#101912;border-radius:7px}.mode-button{border:1px solid transparent;background:transparent;border-radius:5px;color:#8aa392;display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;min-height:34px}.mode-button.active,.mode-button[aria-pressed=true]{color:#baffd5;background:#21412d;border-color:#3a6248}.mode-button:hover{background:#263c2d;color:#d2eada}.mode-glyph{font-family:Consolas,monospace;line-height:1;font-size:19px}.matrix-glyph{font-size:11px;font-weight:bold}.color-row{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#abc0b2;margin:4px 0 17px}.color-row>div{display:flex;align-items:center;gap:8px}.color-row>div>span{font-family:Consolas,monospace;font-size:10px;color:#759982;letter-spacing:.3px}input[type=color]{width:29px;height:24px;border:1px solid #455c4b;border-radius:5px;padding:3px;background:#1e2a21}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:0;border-radius:2px}.range-field{margin:15px 0 0}.range-field>label{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#afc3b6;margin-bottom:9px}.range-field output{font-family:Consolas,monospace;font-size:10px;color:#94caa7;font-variant-numeric:tabular-nums}input[type=range]{appearance:none;-webkit-appearance:none;width:100%;height:4px;display:block;background:#314236;border-radius:4px;margin:12px 0;cursor:pointer;accent-color:var(--mint)}input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;background:#aae6bd;border:3px solid #293f2e;height:14px;width:14px;border-radius:50%;box-shadow:0 0 0 1px #658d6e}input[type=range]::-webkit-slider-thumb:hover{background:var(--mint);box-shadow:0 0 0 3px #65f5b429}.range-endpoints{display:flex;justify-content:space-between;font-size:8px;letter-spacing:.3px;color:#627f6b;margin-top:6px}.switch-row{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;font-size:11px;color:#adc1b3;cursor:pointer}.switch-row>span:first-child{display:flex;flex-direction:column;gap:5px}.switch-row small{font-size:9px;color:#668570}.switch-row input{position:absolute;right:0;width:30px;height:20px;opacity:0;margin:0;cursor:pointer}.switch-track{width:29px;height:16px;border-radius:10px;background:#2a382e;border:1px solid #435d4a;position:relative;flex-shrink:0;pointer-events:none}.switch-track:after{content:"";position:absolute;top:3px;left:3px;width:8px;height:8px;border-radius:50%;background:#718e7b;transition:transform .15s,background .15s}.switch-row input:checked+.switch-track{background:#2b6e43;border-color:#4b9f64}.switch-row input:checked+.switch-track:after{background:#b6ffd1;transform:translateX(12px)}.switch-row input:focus-visible+.switch-track{outline:2px solid var(--mint);outline-offset:3px}.setting-section .range-field+.switch-row{margin-top:16px}.switch-row:has(small){min-height:47px}.position-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.position-fields .range-field label{font-size:10px}.output-fields{display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:9px;margin-top:14px}.output-fields select{font-size:10px;padding:0 7px}.profile-buttons{display:flex;gap:8px}.profile-buttons .button{flex:1;font-weight:500;font-size:11px;min-height:33px}.profile-buttons .icon{width:14px;height:14px}.text-button{border:0;background:none;color:#7d9986;font-size:10px;text-decoration:underline;text-underline-offset:4px;margin:15px 0 0;padding:0}.text-button:hover{color:#c4ddcd}.profile-section{border-bottom:0;padding-bottom:25px}
.help-dialog{width:570px;max-width:calc(100vw - 80px);max-height:calc(100vh - 70px);padding:28px;border:1px solid #43594b;border-radius:14px;background:#151e18;color:var(--text);box-shadow:0 24px 90px #000b;scrollbar-width:thin;scrollbar-color:#425d49 transparent}.help-dialog::backdrop{background:#030806bd;backdrop-filter:blur(6px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.dialog-heading h2{font-size:22px;font-weight:500;letter-spacing:-.5px}.dialog-heading .eyebrow{color:#779d83;margin-bottom:9px}.dialog-heading .button-icon{background:#223027;width:31px;min-width:31px;min-height:31px}.help-step{display:flex;gap:17px;margin-top:23px}.help-step>span{font-family:Consolas,monospace;font-size:12px;color:var(--mint);width:31px;height:31px;border:1px solid #3c6149;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:7px;background:#213f2a}.help-step h3{font-size:13px;margin-bottom:7px;font-weight:600}.help-step p{font-size:11px;color:#98b3a1;line-height:1.9}.help-step code{color:#d5e9dc;font-size:11px;background:#29392e;padding:2px 5px;border-radius:3px}.shortcut-help{border-top:1px solid #304637;margin-top:27px;padding-top:20px}.shortcut-help h3{font-size:12px;font-weight:600;display:flex;justify-content:space-between;margin-bottom:14px}.shortcut-help h3>span{font-size:9px;color:#749a80;font-weight:400}.shortcut-help>div{display:grid;grid-template-columns:repeat(3,1fr);gap:13px 9px}.shortcut-help>div>span{font-size:10px;color:#a2bdab;display:flex;gap:8px;align-items:center}.shortcut-help kbd{font-family:Consolas,monospace;font-size:10px;border:1px solid #45634e;background:#24372b;padding:3px 7px;border-radius:4px;color:#cff0da}.privacy-note{border-top:1px solid #304637;margin-top:23px;padding-top:17px;font-size:10px;line-height:1.7;color:#70947d}
@media(min-width:1500px){.studio-layout{grid-template-columns:minmax(0,1fr) 354px}.monitor-column{padding:25px 34px 0}.app-header{padding-inline:34px}.settings-header{padding-inline:25px}.setting-section{padding-inline:25px}.quick-action{padding:17px}.quick-action small{font-size:10px}.camera-card{padding:18px 20px}.obs-tip p{font-size:11px}.preview-shell{max-height:calc(100vh - 365px)}.canvas-frame{max-height:calc(100vh - 365px)}.canvas-frame canvas{object-fit:contain}}
@media(max-width:1190px){.rail{width:62px;padding-inline:3px}.workspace{margin-left:62px}.app-header{padding-inline:20px;gap:12px;height:84px}.app-heading h1{font-size:22px}.eyebrow{font-size:8px;letter-spacing:1.5px}.header-actions{gap:7px}.status-pill{font-size:10px;margin-right:3px}.button{padding-inline:11px}.button-icon{padding:0}.studio-layout{grid-template-columns:minmax(0,1fr) 302px}.monitor-column{padding:18px 20px 0}.section-subtitle{display:none}.quick-actions{gap:7px}.quick-action{padding:11px 9px;gap:8px;min-height:60px}.quick-action>.icon{width:17px;height:17px}.quick-action strong{font-size:11px}.quick-action small{font-size:8px}.quick-action kbd{display:none}.settings-header,.setting-section{padding-left:18px;padding-right:18px}.settings-header{padding-top:22px;padding-bottom:20px}.telemetry{gap:19px}.preview-bottomline{font-size:8px}.obs-tip{padding-top:14px;padding-bottom:14px}.camera-card{margin-top:15px}.header-actions #stopCamera{padding-inline:5px}}
@media(max-height:770px){.app-header{height:78px}.monitor-column{padding-top:16px}.section-heading{margin-bottom:12px}.quick-actions{margin-top:10px}.quick-action{min-height:57px;padding-top:11px;padding-bottom:11px}.camera-card{margin-top:13px;padding-top:12px;padding-bottom:10px}.camera-card .card-heading{margin-bottom:8px}.message-box{padding-top:9px;padding-bottom:9px;margin-top:9px}.obs-tip{padding-top:11px;padding-bottom:11px}.telemetry{min-height:58px}.preview-shell{max-height:calc(100vh - 387px);min-height:235px}.canvas-frame{max-height:calc(100vh - 387px);min-height:235px}.canvas-frame canvas{object-fit:contain}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Reserve room for the camera and live status; contain any output aspect ratio inside
   the remaining monitor space instead of letting its width dictate height. */
.section-heading{flex-shrink:0}
.preview-shell{flex:1 1 0;min-height:220px;max-height:none}
.canvas-frame{height:100%;min-height:0;max-height:none;aspect-ratio:auto}
#previewCanvas{width:100%;height:100%;object-fit:contain}
.canvas-frame{background:#000}
body[data-background="transparent"] .canvas-frame{background-color:#101813;background-image:linear-gradient(45deg,#1b2920 25%,transparent 25%),linear-gradient(-45deg,#1b2920 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#1b2920 75%),linear-gradient(-45deg,transparent 75%,#1b2920 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}
.telemetry{margin-top:0}
@media(max-height:940px){
  .obs-tip{display:none}
  .telemetry{margin-top:10px;min-height:57px;padding:10px 0}
  .camera-card{margin-top:14px;padding-top:13px;padding-bottom:11px}
  .camera-card .card-heading{margin-bottom:9px}
}
@media(max-height:770px){
  .preview-shell{min-height:190px}
  .camera-card{margin-top:11px;padding:10px 13px}
  .camera-card .card-heading{margin-bottom:7px}
  .camera-card .helper-text{margin-top:6px;font-size:9px}
  .message-box{margin-top:8px;padding:8px 11px;font-size:10px}
  .telemetry{margin-top:7px;min-height:49px;padding:8px 0}
}

/* Three original materials above two equal-width photographic styles. */
.mode-switch{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin-bottom:10px}
.mode-button{grid-column:span 2;flex-direction:column;gap:6px;min-height:62px;padding:9px 3px;font-size:10px;line-height:1.3;white-space:nowrap}
.mode-button[data-mode="halftone"],.mode-button[data-mode="glitch"]{grid-column:span 3;flex-direction:row;gap:10px;min-height:48px}
.mode-glyph{height:20px;min-width:20px;display:inline-flex;align-items:center;justify-content:center}
.mode-description{font-size:10px;line-height:1.7;color:#88a792;padding:0 2px 13px;margin-bottom:14px;border-bottom:1px solid #2a392f}
.effect-strength-field{padding:0 2px 15px;margin:0 0 15px;border-bottom:1px solid #2a392f}
.effect-strength-field[hidden]{display:none}
.halftone-glyph{display:grid;grid-template-columns:7px 7px;grid-template-rows:7px 7px;gap:3px;place-content:center}
.halftone-glyph i{width:7px;height:7px;background:currentColor;border-radius:50%}
.halftone-glyph i:nth-child(2){transform:scale(.7)}
.halftone-glyph i:nth-child(3){transform:scale(.5)}
.glitch-glyph{display:flex;flex-direction:column;gap:3px;width:20px;min-width:20px}
.glitch-glyph i{display:block;height:3px;width:16px;background:currentColor}
.glitch-glyph i:nth-child(2){transform:translateX(3px);width:13px}
.glitch-glyph i:nth-child(3){transform:translateX(-2px);width:18px}

/* Dimensions are applied explicitly; the monitor always contains the full canvas. */
.custom-size-fields{margin-top:12px;padding:12px;border:1px solid #344b3b;border-radius:7px;background:#111b15}
.custom-size-fields[hidden],.custom-size-error[hidden]{display:none}
.custom-size-inputs{display:grid;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr);gap:7px;align-items:end}
.custom-size-inputs>div{min-width:0}
.custom-size-inputs .field-label{display:flex;justify-content:space-between;gap:5px}
.custom-size-inputs .field-label span{font-family:Consolas,monospace;color:#688a73}
.custom-size-inputs input{width:100%;min-width:0;min-height:35px;padding:7px 8px;border:1px solid #3b5544;border-radius:5px;background:#1a261f;color:#d2e5d9;font:12px Consolas,monospace;outline:none}
.custom-size-inputs input:hover{border-color:#5f816b}
.custom-size-inputs input:focus-visible{border-color:var(--mint);box-shadow:0 0 0 2px #65f5b41a}
.custom-size-inputs input[aria-invalid=true]{border-color:#c37868}
.dimension-separator{font-size:13px;text-align:center;color:#769682;line-height:35px}
.custom-size-fields .helper-text{font-size:9px;line-height:1.65;margin-top:9px}
.custom-size-error{color:#ffc0b4;font-size:10px;line-height:1.7;margin:9px 0 0;overflow-wrap:anywhere}
.apply-size-button{width:100%;min-height:32px;margin-top:10px;font-size:10px}
.output-dimensions-label{margin-top:12px;color:#a0c4ad;font:10px Consolas,"Microsoft JhengHei",monospace;line-height:1.5}
.preview-dimensions{font-family:Consolas,monospace;margin-left:9px;color:#99b8a4;font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:1190px){.custom-size-fields{padding:10px}.custom-size-inputs{gap:5px}.output-fields{grid-template-columns:minmax(0,1fr) 80px}.preview-dimensions{margin-left:6px}}
