.auth-page{min-height:100vh;display:grid;place-items:center;padding:28px 18px;background:radial-gradient(ellipse at 20% 10%,#153355 0,transparent 50%),#080d14}.auth-card{width:min(100%,440px);padding:32px;background:#101c2d;border:1px solid #2b4867;border-radius:16px;box-shadow:0 20px 60px #0004;display:flex;flex-direction:column;gap:20px}.auth-brand{font-size:11px;letter-spacing:2px;color:#75b9f6;font-weight:600}.auth-card h1{font-size:26px;letter-spacing:-.5px;line-height:1.25}.auth-description{color:#abc4df;line-height:1.7;font-size:13px}.auth-card fieldset{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:20px;min-width:0}.auth-card label{display:flex;flex-direction:column;gap:8px;color:#b8d4ee;font-size:12px}.auth-card input{width:100%;height:44px;border:1px solid #355775;border-radius:7px;padding:10px 12px;background:#0b1726;color:#eef7ff;min-width:0}.auth-card button.primary{min-height:44px;background:var(--brand-gradient);border:0;font-weight:600;color:#fff}.auth-password{display:flex;position:relative}.auth-password input{padding-right:74px}.auth-password button{position:absolute;right:4px;top:4px;height:36px;background:transparent;border:0;font-size:11px;color:#9ed0ff;padding:0 9px}.auth-card .auth-link{border:0;background:transparent;padding:4px;color:#8dc9ff;font-size:12px;align-self:center}.auth-footnote{font-size:11px;line-height:1.7;color:#829db9}.auth-error{font-size:12px;line-height:1.6;color:#ffb5ad}.auth-success{font-size:12px;line-height:1.6;color:#a7e6ca}.auth-checkout{color:#9ed0ff;text-align:center;font-size:13px}.account-controls{display:flex;align-items:center;gap:10px;color:#9dbbd8;font-size:11px}.account-controls>span{display:block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-controls button{font-size:11px;padding:7px 12px}.account-controls [role=alert]{max-width:160px;color:#ffb5ad;font-size:10px}.app-header>.signed-in-account{display:flex}@media(max-width:480px){.auth-card{padding:26px 20px}}.auth-layout{width:min(100%,440px);display:flex;flex-direction:column;align-items:center;gap:24px}.auth-logo{display:flex;align-items:center;justify-content:center;gap:16px;color:#eef7ff;flex-shrink:0}.auth-logo>span{font-size:30px;line-height:1.2;font-weight:700;letter-spacing:-.5px;white-space:nowrap}.auth-logo>span>span{color:#65a8ff}.auth-logo-mark{display:grid;grid-template-columns:repeat(2,9px);gap:7px}.auth-logo-mark i{width:9px;height:9px;background:#65a8ff;border-radius:50%}:root{--brand-blue: #1877f2;--brand-blue-light: #38bdf8;--brand-gradient: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-light));--background: #080d14;--surface: #101d2f;--action-surface: #1b304c;--border: #2b4261;--text: #f1f6ff;--text-secondary: #a7cefa;--hint: #e9d993;--radius: 10px}*{box-sizing:border-box}body{margin:0;background:var(--background);color:var(--text);font-family:Segoe UI,Arial,sans-serif;font-size:14px}button,input,select{font:inherit}button{background:#14263d;border:1px solid #2b4e78;color:var(--text);border-radius:8px;padding:9px 13px;cursor:pointer;transition:background .15s,border-color .15s}button:hover:not(:disabled){border-color:#38bdf8;background:#203b5e}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[role=slider]:focus-visible{outline:2px solid #38bdf8;outline-offset:3px}button:disabled{opacity:.4;cursor:not-allowed}svg{width:23px;height:23px;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:25px;letter-spacing:-.6px}h1 span{font-weight:400;color:#72b9ff}h2{font-size:21px;letter-spacing:-.4px}h3{font-size:13px}small{display:block;font-size:11px;color:#91a9c6;line-height:1.5}.app-header{height:91px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #20334c;padding:0 30px}.brand{display:flex;align-items:center;gap:16px}.brand p{color:#7f9ab9;letter-spacing:2px;font-size:10px;margin-top:7px}.mark{display:grid;grid-template-columns:repeat(2,9px);gap:7px}.mark i{width:9px;height:9px;background:#65a8ff;border-radius:50%}.local{display:flex;align-items:center;gap:8px;color:#b1c7df;font-size:12px}.local i{width:6px;height:6px;background:#38bdf8;border-radius:50%}.local span{border:1px solid #2b4261;border-radius:20px;padding:5px 10px;margin-left:12px;color:#7892af}.workspace{display:grid;grid-template-columns:var(--sidebar-track,280px) 350px minmax(0,1fr);min-height:calc(100vh - 134px)}.sidebar{background:#0c1421;border-right:1px solid #20334c;padding:23px 12px;display:flex;flex-direction:column;gap:6px}.eyebrow{font-size:10px;letter-spacing:1.5px;color:#7899bc;font-weight:600}.sidebar>.eyebrow{padding:0 12px;margin-bottom:12px}.nav-selected{display:flex;gap:10px;align-items:center;background:var(--brand-gradient);padding:13px 12px;border-radius:9px;font-size:12px;font-weight:600;color:#fff}.future{display:flex;align-items:center;gap:12px;padding:11px 12px;color:#8b9eb6;font-size:12px;line-height:1.5}.number{font-size:10px;color:#455d7b;font-family:monospace}.future small{font-size:9px;color:#586f8d}.sidebar-footer{margin-top:auto;padding:30px 12px 0;color:#647e9e;font-size:11px;line-height:2}.sidebar-footer b{font-weight:500;border:1px solid #34465e;border-radius:4px;margin-left:8px;padding:1px 6px}.treatment{padding:27px 22px;border-right:1px solid #20334c;background:#101a2a}.treatment h2{margin-top:10px}.intro{color:#91aac8;font-size:12px;margin-top:9px;line-height:1.6}.notice{font-size:11px;line-height:1.7;color:#a8c4e6;background:#15253b;border-left:2px solid #267ef1;padding:12px;margin:23px 0 21px}.actions{display:flex;flex-direction:column;gap:10px}.action{display:flex;align-items:center;text-align:left;gap:12px;padding:14px 12px;min-height:49px}.action svg{color:#79b8ff}.action span{font-size:12px}.action small{font-size:10px;margin-top:5px}.label{font-size:10px;letter-spacing:1.3px;color:#9ebadb;margin-top:13px;font-weight:600}.three{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.three .action{flex-direction:column;gap:7px;padding:12px 4px}.three svg{width:20px;height:20px}.hint{font-size:10px;line-height:1.7;color:#809ab8}.scale{display:flex;align-items:center;gap:9px}.scale label{font-size:10px;color:#9db4d0}.scale select{display:block;width:65px;margin-top:4px}.scale .action{flex:1;justify-content:center}select,input{border:1px solid #355172;background:#0c1828;color:#fff;border-radius:6px;padding:7px}.history{border-top:1px solid #263a53;margin-top:25px;padding-top:18px}.history-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.history-head button{font-size:10px;padding:6px;margin-left:4px}.history ol{font-size:11px;color:#98b2d0;padding-left:18px;line-height:1.9;max-height:140px;overflow:auto}.limits{margin-top:21px;color:#718aa9;font-size:10px;line-height:1.7}.limits summary{cursor:pointer}.limits p{padding:10px 0}.stage-column{padding:27px 22px 15px;min-width:0;display:flex;flex-direction:column}.stage-toolbar h2{margin-top:10px}.stage-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:17px;margin-bottom:20px}.preview-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;font-size:10px}.preview-actions button{font-size:10px;padding:7px 9px}.preview-background{display:flex;align-items:center;gap:7px;color:#839cbb}.segmented{display:flex;gap:3px}.selected,.active{border-color:#258df7;background:#173961}.zoom-controls{display:flex;align-items:center;gap:5px}.zoom-controls span{color:#9dbde0;min-width:38px;text-align:center}.filebar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 15px;border:1px solid #263c57;border-radius:10px 10px 0 0;background:#101c2d}.filebar>span{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filebar small{margin-top:3px}.filebar button{font-size:11px;white-space:nowrap}.stage{position:relative;min-height:360px;flex:1;border:1px solid #263c57;border-top:0;overflow:hidden;background:#0c1320}.stage.transparent .preview-frame,.stage.transparent .split-original-frame{background-color:#fff;background-image:linear-gradient(45deg,#e0e0e0 25%,transparent 25%),linear-gradient(-45deg,#e0e0e0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e0e0e0 75%),linear-gradient(-45deg,transparent 75%,#e0e0e0 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}.stage.white .preview-frame,.stage.white .split-original-frame{background:#fff}.stage.black .preview-frame,.stage.black .split-original-frame{background:#000}.preview-viewport{position:absolute;inset:0;overflow:hidden;touch-action:none;cursor:grab}.preview-viewport.panning{cursor:grabbing}.preview-frame,.split-original-frame{position:absolute;transform-origin:center}.preview-frame canvas,.split-original-frame img{display:block;width:100%;height:100%}.split-processed-layer,.split-original-layer{position:absolute;inset:0;pointer-events:none}.split-side-label{position:absolute;top:15px;background:#0b182cdc;border:1px solid #35557b;border-radius:5px;padding:5px 9px;font-size:10px;pointer-events:none}.split-side-label.original{left:15px}.split-side-label.result{right:15px}.split-divider{position:absolute;top:0;bottom:0;width:24px;transform:translate(-50%);cursor:ew-resize;touch-action:none}.split-divider-line{position:absolute;left:11px;width:2px;background:#4fa8ff;height:100%}.split-divider-handle{position:absolute;top:50%;left:-5px;width:34px;height:34px;background:#1877f2;color:#fff;border:2px solid #9bdbff;border-radius:50%;display:grid;place-items:center}.empty-state{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column}.upload-symbol{font-size:31px;border:1px solid #2d4d75;border-radius:17px;background:#14263e;color:#56b5ff;width:70px;height:70px;display:grid;place-items:center;margin-bottom:20px}.empty-state h2{font-size:20px}.empty-state p{color:#6e8cab;letter-spacing:2px;font-size:10px;margin-top:11px}.empty-state button{margin-top:23px;border-color:#1877f2;padding:11px 24px}.empty-state small{margin-top:19px;font-size:10px}.exportbar{display:flex;align-items:center;gap:12px;padding-top:15px}.exportbar p{font-size:10px;line-height:1.8;color:#7894b5;flex:1}.exportbar small{font-size:9px}.exportbar label{font-size:10px;color:#91abca}.exportbar input{width:69px;display:block;margin-top:4px}.primary{background:var(--brand-gradient);border:0;font-weight:600;font-size:12px}.preview-scrollbar{position:absolute;background:#101d30;z-index:3;scrollbar-color:#3b648e #101d30}.horizontal{bottom:0;left:0;right:14px;height:14px;overflow-x:scroll}.vertical{top:0;right:0;bottom:14px;width:14px;overflow-y:scroll}.drop-overlay{position:absolute;inset:0;z-index:8;background:#102845ed;border:2px dashed #38bdf8;display:grid;place-items:center}footer{min-height:43px;border-top:1px solid #20334c;padding:13px 25px;color:#94b2d4;font-size:11px;display:flex;justify-content:space-between;gap:15px}footer span{color:#4f6c90;white-space:nowrap}.error{color:#ffb7ae}.busy-overlay{position:fixed;inset:0;background:#040a14dc;display:grid;place-items:center;z-index:20}.busy-card{text-align:center;border:1px solid #306199;border-radius:15px;background:#101d30;padding:35px;min-width:320px}.busy-card p{color:#9bb7d9;margin:15px 0 25px}.spinner{width:34px;height:34px;border:3px solid #264366;border-top-color:#38bdf8;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 25px}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1200px){.workspace{grid-template-columns:var(--sidebar-track,280px) 310px minmax(0,1fr)}.stage-column{padding:25px 14px}.treatment{padding:25px 16px}.sidebar{padding:23px 8px}.future{font-size:11px}.exportbar{flex-wrap:wrap}.exportbar p{flex-basis:100%}}@media(max-width:900px){.workspace{grid-template-columns:280px minmax(0,1fr)}.sidebar{display:none}.stage{min-height:470px}.local span{display:none}}@media(max-width:640px){.workspace{display:flex;flex-direction:column}.app-header{padding:0 18px;height:82px}.local{display:none}.treatment{border-right:0}.stage-column{padding:20px 16px}.stage{min-height:420px;flex:auto}.history{margin-top:20px}footer span{display:none}}.app-header{height:auto;min-height:91px;gap:24px;flex-wrap:wrap;padding-top:16px;padding-bottom:16px}.brand{flex-shrink:0}.header-preview-tools{flex:1;min-width:0}.header-preview-tools .preview-actions{justify-content:center;gap:12px}.header-preview-tools .preview-actions button{font-size:11px;padding:9px 11px}.local{flex-shrink:0}.stage-column>.stage-toolbar{margin-bottom:20px}.workspace{min-height:calc(100vh - 134px)}@media(max-width:1200px){.app-header{gap:16px}.local span{display:none}.header-preview-tools .preview-actions{gap:7px}.header-preview-tools .preview-actions button{font-size:10px;padding:8px}.brand h1{font-size:22px}}@media(max-width:1000px){.header-preview-tools{flex-basis:100%;order:3}.header-preview-tools .preview-actions{justify-content:flex-start}.local{margin-left:auto}}@media(max-width:640px){.app-header{height:auto;padding:16px 18px}.header-preview-tools .preview-actions{gap:8px}.preview-background{flex-wrap:wrap}.header-preview-tools .preview-actions button{padding:8px 9px}}.filebar{display:grid;grid-template-columns:minmax(110px,1fr) auto minmax(110px,1fr);gap:12px;padding:12px 15px;align-items:center}.file-info{min-width:0}.file-info h2{font-size:13px;letter-spacing:0;margin:0 0 4px}.file-info>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#a9c5e8}.file-info small{font-size:9px;margin-top:2px}.filebar .header-preview-tools{min-width:0;justify-self:center}.filebar .preview-actions{justify-content:center;gap:6px;flex-wrap:nowrap}.filebar .preview-actions button{font-size:10px;padding:7px 8px}.filebar .preview-background{gap:5px;font-size:9px}.filebar .zoom-controls{gap:4px}.filebar .zoom-controls span{min-width:29px;font-size:9px}.open-image-button{justify-self:end}.error-dialog{margin:auto;border:1px solid #42658c;border-radius:14px;background:#101d30;color:var(--text);padding:30px;width:min(460px,calc(100vw - 36px));text-align:center;box-shadow:0 20px 70px #0008}.error-dialog::backdrop{background:#040a14c9}.error-dialog h2{font-size:20px}.error-dialog p{font-size:13px;line-height:1.8;color:#adc5e2;margin:17px 0 23px}.error-dialog button{min-width:115px;background:var(--brand-gradient);border:0}.error-dialog-icon{width:38px;height:38px;display:grid;place-items:center;border:1px solid #ecb75a;color:#ecb75a;border-radius:50%;font-size:22px;margin:0 auto 17px}@media(max-width:1250px){.filebar{grid-template-columns:minmax(0,1fr) auto}.filebar .header-preview-tools{grid-column:1 / -1;grid-row:2;justify-self:center}.filebar .open-image-button{grid-column:2;grid-row:1}.filebar .preview-actions{flex-wrap:wrap}.stage-column{padding-top:20px}}@media(max-width:640px){.filebar{gap:12px;padding:12px}.filebar .preview-actions{gap:7px}.filebar .preview-background{flex-wrap:nowrap}.filebar .header-preview-tools{width:100%}.filebar .preview-actions button{padding:7px}}.module-nav-button{display:flex;align-items:center;gap:10px;text-align:left;font-size:12px;padding:13px 12px;min-height:49px;background:#142238}.nav-selected{border:1px solid transparent;text-align:left}.manual-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.manual-field{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#a8c5e5}.manual-field input,.manual-field select{width:100%;min-width:0}.manual-check{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.6;color:#a8c5e5;margin:19px 0}.manual-check input{margin-top:3px}.manual-apply{width:100%;padding:13px;margin-bottom:10px}@media(max-width:900px){.sidebar{display:flex;grid-column:1 / -1;flex-direction:row;flex-wrap:wrap;padding:10px 16px;gap:8px}.sidebar>.eyebrow,.sidebar .future,.sidebar-footer{display:none}.sidebar>button{flex:1;justify-content:center}.sidebar{border-bottom:1px solid #20334c}}@media(max-width:640px){.sidebar{order:0}}.split-original-frame{overflow:hidden}.levels-panel{margin-top:20px;padding:13px;background:#0c1726;border:1px solid #28425e;border-radius:9px}.levels-title{display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:.7px;color:#b1cce9;margin-bottom:12px}.levels-title button{padding:4px 6px;font-size:9px}.levels-histogram{display:block;width:100%;height:76px;background:#09121e;border:1px solid #263c57;border-radius:5px;margin:8px 0}.levels-gradient{height:7px;background:linear-gradient(90deg,#000,#fff);border:1px solid #39516b;border-radius:6px;margin:9px 0}.levels-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.levels-outputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.level-control{display:flex;flex-direction:column;gap:6px;font-size:9px;color:#9ab5d4}.level-control input{width:100%;min-width:0;font-size:11px}.level-control input[type=range]{padding:0;accent-color:#38bdf8;height:16px;cursor:pointer}.levels-curve{display:block;width:100%;height:40px;background:#08111d;border:1px solid #263c57;margin:12px 0}.levels-panel>.hint:last-child{margin-top:12px}.visual-tools{justify-self:center;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:8px;min-width:0}.mask-tabs{display:flex;gap:4px}.mask-tabs button{font-size:10px;padding:7px 8px}.mask-preview-note{color:#8ad7ff;font-weight:400}@media(max-width:1600px){.filebar{grid-template-columns:minmax(0,1fr) auto}.filebar .visual-tools{grid-column:1/-1;grid-row:2}.filebar .open-image-button{grid-column:2;grid-row:1}}@media(min-width:901px){.workspace{height:calc(100vh - 134px);min-height:0}.sidebar,.treatment{min-height:0;overflow-y:auto}.stage-column{min-height:0}.stage{min-height:180px}.sidebar-footer{padding-top:20px}}.tool-accordion{border:1px solid #28415e;border-radius:8px;background:#0c1726;margin:10px 0;overflow:hidden}.tool-accordion-heading{display:flex;align-items:center;justify-content:space-between;width:100%;padding:14px 12px;text-align:left;font-size:10px;letter-spacing:.6px;color:#b9d1ed;border:0;border-radius:0;background:#142237}.tool-accordion-heading[aria-expanded=true]{background:#173451;color:#a6dcff}.tool-accordion-content{padding:12px}.tool-accordion-content .levels-panel{border:0;background:none;margin:0;padding:0}.tool-accordion-content .levels-title{margin-bottom:10px}.tool-accordion.locked .tool-accordion-heading{opacity:.45}.cleanup-locked{margin:0 0 10px;padding:0 4px}.cleanup-field{display:block;font-size:11px;color:#afc9e7;margin:17px 0}.cleanup-field strong{float:right;font-size:10px;color:#8edbff}.cleanup-field input{display:block;width:100%;accent-color:#38bdf8;padding:0;margin-top:10px}.cleanup-apply{width:100%;margin-top:14px}.treatment>.notice{margin:17px 0}.tool-accordion-content .manual-grid{margin-top:0}.classic-cleanup{border:0;padding:0;margin:0;min-width:0}.manual-grid .manual-field{display:grid;grid-template-rows:30px auto;align-content:start;row-gap:6px;line-height:15px}.manual-grid .manual-field input,.manual-grid .manual-field select{align-self:start}.manual-field input[type=color]{height:32px;padding:4px;cursor:pointer}.manual-field input[type=color]::-webkit-color-swatch-wrapper{padding:0}.manual-field input[type=color]::-webkit-color-swatch{border:0;border-radius:3px}.stage.custom-background .preview-frame,.stage.custom-background .split-original-frame{background:var(--preview-background)}.filebar .preview-actions{gap:18px;flex-wrap:wrap;row-gap:12px}.filebar .preview-background{gap:10px;font-size:11px;flex-wrap:wrap;justify-content:center}.filebar .segmented{gap:8px;flex-wrap:wrap;justify-content:center;align-items:center}.filebar .zoom-controls{gap:8px}.filebar .zoom-controls span{font-size:11px;margin-left:4px;min-width:38px}.filebar .preview-actions button{font-size:11px;padding:8px 11px;min-height:34px}.preview-color{display:flex;align-items:center;gap:8px;padding:5px 9px;min-height:34px;border:1px solid #2b4e78;border-radius:8px;background:#14263d;color:var(--text);font-size:11px;cursor:pointer}.preview-color.active{border-color:#258df7;background:#173961}.preview-color input{width:28px;height:22px;padding:0;border:0;border-radius:4px;background:none;cursor:pointer}.preview-color input::-webkit-color-swatch-wrapper{padding:0}.preview-color input::-webkit-color-swatch{border:1px solid #7894b5;border-radius:4px}.removal-tolerance{max-width:140px;margin-bottom:14px}.removal-hint{margin:16px 0 22px}.enhancement-actions{display:flex;flex-direction:column;gap:12px}.enhancement-actions .action{width:100%}.enhancement-actions .action small{line-height:1.6}.enhancement-actions .hint{margin-top:3px}.exportbar{align-items:center;gap:14px}.exportbar>.primary{display:inline-flex;align-items:center;justify-content:center;min-height:38px;margin:0;padding:0 15px}:root{color-scheme:dark}*::-webkit-scrollbar{width:6px;height:6px}*::-webkit-scrollbar-track{background:#08101b80}*::-webkit-scrollbar-thumb{background:#97b1cf33;border-radius:999px;border:1px solid rgba(186,209,235,.08)}*::-webkit-scrollbar-thumb:hover{background:#97b1cf59}*::-webkit-scrollbar-button{display:none;width:0;height:0}*::-webkit-scrollbar-corner{background:transparent}@supports not selector(::-webkit-scrollbar){*{scrollbar-width:thin;scrollbar-color:rgba(151,177,207,.2) #0c1421}}.preview-scrollbar{scrollbar-color:auto;background:#08101b80}.assembly-hint{margin:12px 0 20px}.history-head:has(h3:first-child){gap:8px}.history-head>div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px}.ready-download{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 15px;border-radius:8px;color:#fff;text-decoration:none}.ready-download:focus-visible{outline:2px solid #38bdf8;outline-offset:3px}.simulation-settings{display:flex;flex-direction:column;gap:20px;margin:22px 0}.simulation-settings label{display:flex;align-items:center;gap:10px;font-size:12px;color:#b5cbe5}.simulation-settings input[type=checkbox]{accent-color:#36b8f4}.simulation-settings input[type=color]{width:44px;height:30px;padding:3px;margin-left:auto}.simulation-summary{margin:24px 0;display:grid;gap:12px}.simulation-summary>div{display:flex;justify-content:space-between;gap:15px;font-size:12px}.simulation-summary dt{color:#93adc9}.simulation-summary dd{margin:0;color:#e0edfc}.simulation-edit{width:100%;margin:8px 0 20px}.simulation-column{display:flex;flex-direction:column;min-width:0}.simulation-head{padding:16px 20px;border-bottom:1px solid #29405b}.simulation-head h2{font-size:16px;margin-bottom:6px}.simulation-badge{display:inline-block;font-size:11px;color:#91d8ff;margin-top:8px}.simulation-stage{flex:1;min-height:260px;overflow:auto;padding:20px;background:#080f19;display:flex;justify-content:center;align-items:flex-start}.simulation-sheet{width:auto;height:auto;max-width:100%;max-height:100%;min-height:240px;flex-shrink:1;filter:drop-shadow(0 8px 14px #0005)}.simulation-empty{text-align:center;margin:auto;padding:30px;max-width:420px}.simulation-empty p{font-size:12px;color:#9cb5d2;line-height:1.7;margin:12px 0 20px}.simulation-column>.exportbar{flex-shrink:0}.simulation-column .exportbar p{flex:1}@media(max-width:900px){.simulation-stage{height:560px;flex:none}.simulation-sheet{max-height:520px}.simulation-column .exportbar{flex-wrap:wrap}}.assembly-fixed-note{color:#eac96b;font-size:10px;line-height:1.7;margin:10px 0 17px}.assembly-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px}.assembly-buttons .action{font-size:12px;font-weight:600;line-height:1.45;gap:9px;background:#192e47;padding:13px 11px;border-color:#589add;color:#e4f0ff;min-height:64px}.assembly-buttons .assembly-alpha{grid-column:1/-1;min-height:48px}.assembly-buttons svg{width:21px;height:21px;color:#89ccfa}.assembly-buttons .ready-download{justify-content:flex-start;text-align:left}.assembly-buttons .action:disabled{border-color:#35516f}[hidden]{display:none!important}.app-mode-tabs{display:flex;gap:4px;padding:5px;background:#102034;border:1px solid #2b4668;border-radius:11px}.app-mode-tabs button{font-size:12px;font-weight:600;border:0;white-space:nowrap}.app-mode-tabs [aria-selected=true]{background:var(--brand-gradient);color:#fff}.app-header .local{margin-left:auto;margin-right:20px}@media(max-width:1050px){.app-header .local{display:none}}@media(max-width:700px){.app-header{flex-wrap:wrap;height:auto;padding:18px;gap:15px}.app-mode-tabs{width:100%;justify-content:center}.app-mode-tabs button{flex:1}}.treatment>.label+.assembly-buttons{margin-top:14px}.filebar{grid-template-columns:auto minmax(0,1fr) auto;gap:16px}.filebar .preview-tabs{width:auto;justify-self:start;flex-wrap:wrap}.preview-tabs button{font-size:11px}.filebar .visual-tools{grid-row:auto;grid-column:auto;justify-self:center}.filebar .open-image-button{grid-row:auto;grid-column:auto}.stage-column>.exportbar{display:grid;grid-template-columns:minmax(140px,1fr) minmax(0,2fr) minmax(140px,1fr);align-items:center;gap:18px}.preview-image-info{text-align:center;min-width:0;color:#f1f6ff}.preview-image-info>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#f1f6ff}.preview-image-info>small{font-size:10px;line-height:1.7;margin-top:5px;color:#f1f6ff}.preview-export-actions{display:flex;gap:14px;align-items:center;justify-content:flex-end}.preview-export-actions>.primary{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 15px}.stage-column>.exportbar .preview-instructions{font-size:10px;margin:0}@media(max-width:1600px){.filebar{grid-template-columns:minmax(0,1fr) auto}.filebar .visual-tools{grid-column:1/-1;grid-row:2}.filebar .open-image-button{grid-column:2;grid-row:1}.stage-column>.exportbar{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.preview-export-actions{grid-column:1/-1}}@media(max-width:640px){.stage-column>.exportbar{grid-template-columns:1fr}.preview-image-info{grid-row:1}.preview-export-actions{grid-column:1;justify-content:center}.filebar .preview-tabs button{padding:9px 7px}.preview-image-info>small{font-size:10px}}@media(min-width:1201px){.stage-column>.exportbar{grid-template-columns:minmax(100px,1fr) minmax(0,2fr) minmax(210px,1fr)}.preview-export-actions{grid-column:auto}}.sheet-fields .manual-field{grid-template-rows:66px auto}.sheet-fields .sheet-custom-width{grid-template-rows:30px auto}.sheet-fields .manual-field>span{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:7px;line-height:1.5}.sheet-fields svg{width:20px;height:20px;color:#9ad6ff}.sheet-custom-width{grid-column:1/-1}.sheet-create-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.sheet-create-buttons button{min-height:40px}.sheet-field-note{margin:12px 0 25px;line-height:1.7}.sheet-art-size{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:end;gap:9px;margin-bottom:20px}.sheet-art-size .manual-field{gap:10px}.sheet-art-size input{width:100%;min-width:0}.sheet-size-lock{height:32px;display:flex;align-items:center;justify-content:center;color:#a7c3e3}.sheet-size-lock svg{width:20px;height:20px}.sheet-art-size input[readonly]{color:#a6c1dd;background:#101e30}.sheet-copies-label{font-size:11px;color:#b4cfea}.sheet-copy-stepper{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;margin:10px 0 22px}.sheet-copy-stepper button{border-color:#386589;color:#9ad7ff;font-size:18px;padding:0;height:36px}.sheet-copy-stepper button:first-child{border-radius:8px 0 0 8px}.sheet-copy-stepper button:last-child{border-radius:0 8px 8px 0}.sheet-copy-stepper input{border-radius:0;text-align:center;width:100%;height:36px;-moz-appearance:textfield}.sheet-copy-stepper input::-webkit-inner-spin-button{display:none}.sheet-send{width:100%;min-height:44px;background:var(--brand-gradient);border:0;font-weight:600;color:#fff}.empty-sheet-message{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px;gap:15px}.empty-sheet-message p{font-size:12px;color:#9ebbdc;line-height:1.7;max-width:370px}.empty-sheet-message h3{font-size:16px;color:#f1f6ff}.preview-export-actions>.primary{gap:10px}.preview-export-actions .download-save-icon{width:26px;height:26px;flex-shrink:0}.sheet-restart{display:block;width:100%;margin-top:12px;min-height:39px;border:1px solid transparent;background:linear-gradient(#101a2a,#101a2a) padding-box,var(--brand-gradient) border-box;color:#a9c9e9;font-size:12px}.sheet-restart:hover:not(:disabled){background:linear-gradient(#15263b,#15263b) padding-box,var(--brand-gradient) border-box;border-color:transparent;color:#f1f6ff}.sheet-reset-actions{display:flex;justify-content:center;gap:12px}.sheet-reset-dialog .secondary{background:#142238;border:1px solid #355675;color:#bcd3ed}.preview-area{position:relative;display:flex;flex-direction:column;flex:1;min-height:0}.preview-area>.stage{flex:1;min-height:180px}.sheet-image-layer{position:absolute;top:16px;left:16px;z-index:6;width:245px;max-width:calc(100% - 32px);max-height:calc(100% - 32px);display:flex;flex-direction:column;border:1px solid #315577;border-radius:12px;background:#0e1b2deb;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);box-shadow:0 10px 25px #0003;overflow:hidden}.sheet-layer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;width:100%;padding:13px;border:0;border-radius:0;background:transparent;font-size:12px;font-weight:600;text-align:left}.sheet-layer-heading small{font-size:9px;margin-top:4px;font-weight:400}.sheet-layer-content{padding:0 10px 10px;overflow-y:auto;min-height:0}.sheet-layer-card{border:1px solid #2e5277;border-radius:9px;background:#101e30;padding:10px;margin:4px 0 10px}.sheet-layer-description{display:flex;gap:9px;align-items:center}.sheet-layer-description img{width:45px;height:52px;object-fit:contain;background:#f1f6ff;border-radius:5px;flex-shrink:0}.sheet-layer-description>div{min-width:0}.sheet-layer-description strong{font-size:10px;color:#f1f6ff;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sheet-layer-description small{font-size:9px;margin-top:6px;line-height:1.6}.sheet-layer-controls{display:flex;gap:10px;align-items:center;margin-top:12px}.sheet-layer-stepper{display:grid;grid-template-columns:30px minmax(0,1fr) 30px;flex:1;align-items:center;border:1px solid #355d81;border-radius:6px;overflow:hidden}.sheet-layer-stepper button{border:0;border-radius:0;padding:4px;height:29px;color:#9cdcff}.sheet-layer-stepper span{text-align:center;font-size:11px}.sheet-layer-trash{display:flex;align-items:center;justify-content:center;padding:5px;height:31px;width:31px;color:#a5c6e7}.sheet-layer-trash svg{width:19px;height:19px}.sheet-layer-remove-all{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;font-size:10px;min-height:34px;background:transparent}.sheet-layer-remove-all svg{width:17px;height:17px}.sheet-layer-empty{font-size:11px;color:#a8c3df;line-height:1.7;padding:9px 4px}.sheet-image-layer.collapsed{width:220px}@media(max-width:900px){.preview-area>.stage{min-height:470px}.sheet-image-layer{width:220px;max-height:65%}}@media(max-width:640px){.preview-area>.stage{min-height:420px}.sheet-image-layer{left:10px;top:10px;width:210px}}.lpi-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 17px}.lpi-presets button{padding:8px 4px;font-size:11px;min-height:33px}.lpi-presets button.active{background:#173961;border-color:#258df7;color:#f1f6ff}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;padding-left:10px}.sidebar-toggle{display:grid;place-items:center;width:32px;height:32px;padding:5px;background:transparent;border-color:#2d4d70;flex-shrink:0}.sidebar-toggle svg{width:21px;height:21px}.sidebar .sidebar-label{min-width:0;max-width:230px;overflow:hidden;white-space:nowrap;opacity:1;transform:translate(0);transition:opacity .2s ease,transform .3s ease,max-width .45s cubic-bezier(.4,0,.2,1)}.sidebar .tool-colorFabric .sidebar-label{white-space:nowrap}.sidebar.sidebar-collapsed{padding-left:8px;padding-right:8px}.sidebar.sidebar-collapsed .sidebar-label{max-width:0;opacity:0;transform:translate(-10px);pointer-events:none}.sidebar.sidebar-collapsed .sidebar-heading{padding:0;gap:0}.sidebar.sidebar-collapsed>.module-nav-button,.sidebar.sidebar-collapsed>.nav-selected{justify-content:flex-start;gap:0;padding:13px 15px;min-height:51px}.sidebar.sidebar-collapsed .sidebar-toggle svg{transform:rotate(180deg)}@media(max-width:900px){.sidebar-heading{flex-basis:100%;margin-bottom:2px;padding-left:0}.sidebar.sidebar-collapsed>.module-nav-button,.sidebar.sidebar-collapsed>.nav-selected{flex:0 0 44px;padding:10px;min-height:44px}}@media(min-width:901px){.sidebar{overflow:hidden;transition:padding .45s cubic-bezier(.4,0,.2,1)}.sidebar>.module-nav-button,.sidebar>.nav-selected{min-height:51px;justify-content:flex-start;transition:padding .45s cubic-bezier(.4,0,.2,1),gap .45s cubic-bezier(.4,0,.2,1),background .15s,border-color .15s}}.sidebar-heading{transition:padding .45s cubic-bezier(.4,0,.2,1),gap .45s cubic-bezier(.4,0,.2,1)}.sidebar-toggle svg{transition:transform .45s cubic-bezier(.4,0,.2,1)}@media(prefers-reduced-motion:reduce){.workspace,.sidebar,.sidebar-heading,.sidebar .sidebar-label,.sidebar>.module-nav-button,.sidebar>.nav-selected,.sidebar-toggle svg{transition:none}}
