@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;550;600;650;700&display=swap');
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#e1e2e4;background:#161719;font-size:12px;font-synthesis:none;--line:#303134;--muted:#85878c;--accent:#a7d1e9;--panel:#202123}
*{box-sizing:border-box;letter-spacing:0}body{margin:0}button,input,select{font:inherit}button{color:inherit;cursor:pointer;border:0;background:none}button:disabled{opacity:.3;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #91c9ec;outline-offset:3px}button,i,svg{flex-shrink:0}button{touch-action:manipulation}svg{width:17px;height:17px;stroke-width:1.6}button:hover{color:#fff}img{display:block;object-fit:cover}button,input,select{ -webkit-tap-highlight-color:transparent}button{transition:background .16s,color .16s} [hidden]{display:none!important}.topbar{height:66px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 24px;background:#202123;gap:20px}.brand{display:flex;align-items:center;gap:11px;font-size:19px;font-weight:600;white-space:nowrap}.brand-mark{background:#122934;color:#9bdafa;font-size:23px;border:1px solid #34617a;width:36px;height:36px;border-radius:7px;display:grid;place-items:center;font-weight:550}.brand-divider{width:1px;height:21px;background:#424345;margin:0 8px}.studio-label{font-size:12px;font-weight:400;color:#a4a5a8}.top-center{display:flex;gap:8px;align-items:center;color:#8f9297;font-size:11px}.status-dot{height:6px;width:6px;border-radius:50%;background:#8ba890;display:inline-block;flex-shrink:0}.top-actions{display:flex;align-items:center;gap:12px}.import-button,.export-button{display:flex;align-items:center;justify-content:center;gap:8px;padding:9px 14px;border-radius:5px;font-size:12px;white-space:nowrap}.import-button{border:1px solid #47484b}.import-button:hover{background:#303135}.export-button{background:#c0dbee;color:#18252e;font-weight:600}.export-button:hover{background:#d5e9f6;color:#13202a}.avatar{display:grid;place-items:center;background:#464b4a;color:#e7e9e6;width:29px;height:29px;border-radius:50%;margin-left:7px;font-size:11px}.app-shell{height:calc(100dvh - 66px);display:grid;grid-template-columns:208px minmax(0,1fr) 294px 54px}.library{background:#202123;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:26px 12px 0}.library-title{font-size:12px;font-weight:600;padding:0 10px 18px;display:flex;align-items:center;justify-content:space-between}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;border-radius:4px;color:#9b9da1;padding:0}.icon-button:hover,.icon-button.active{background:#36383b;color:#e1e7ed}.library-nav{display:grid;gap:5px}.nav-item{display:flex;align-items:center;gap:12px;height:39px;padding:0 12px;border-radius:5px;text-align:left;color:#acaeb2}.nav-item span{flex:1}.nav-item small{color:#82858b;font-size:10px}.nav-item.active{background:#35383d;color:#e3e8ec}.nav-item.active svg{color:#b9d9ed}.sidebar-divider{height:1px;background:var(--line);margin:24px 10px}.section-eyebrow{display:flex;justify-content:space-between;padding:0 12px;color:#aaaeb3;font-size:11px}.section-eyebrow span{font-size:10px;color:#606369}.album{display:flex;align-items:center;gap:10px;text-align:left;padding:18px 10px 12px;width:100%}.album img{width:36px;height:39px;border-radius:3px}.album>span{flex:1}.album strong{font-size:11px;font-weight:500}.album small{display:block;margin-top:6px;font-size:10px;color:#81858a}.album>svg{width:13px;color:#888}.album-note{font-size:10px;color:#6f7378;display:flex;align-items:center;gap:9px;margin:12px 12px}.tiny-line{height:1px;width:14px;background:#676e72}.sidebar-bottom{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);margin-top:auto;padding:20px 9px;color:#a2a4a9;font-size:10px}.sidebar-bottom>svg{width:19px}.sidebar-bottom small{display:block;font-size:9px;color:#70757a;margin-top:6px}.sidebar-bottom .status-dot{margin-left:auto;width:5px;height:5px}.workspace{display:flex;flex-direction:column;min-width:0;background:#161719;overflow:hidden}.workspace-toolbar{height:57px;display:flex;justify-content:space-between;align-items:center;padding:0 24px;flex-shrink:0}.breadcrumb{display:flex;align-items:center;gap:11px;font-size:10px;color:#797c82;white-space:nowrap;overflow:hidden}.breadcrumb svg{width:11px}.breadcrumb strong{color:#bdc0c6;font-weight:400;overflow:hidden;text-overflow:ellipsis}.workspace-actions{display:flex;gap:5px;align-items:center}.toolbar-divider{height:14px;width:1px;background:#35373b;margin:0 6px;display:inline-block}.photo-stage{position:relative;flex:1;min-height:0;margin:0 26px;display:flex;align-items:center;justify-content:center;overflow:hidden}.photo-wrap{position:relative;display:flex;max-width:100%;max-height:100%;box-shadow:0 12px 35px #0003;flex-shrink:0}.photo-wrap canvas{display:block;max-width:100%;max-height:100%;object-fit:contain;width:auto;height:auto}.photo-stage.zoomed{overflow:auto;display:block}.photo-stage.zoomed .photo-wrap{max-width:none;max-height:none;width:max-content;margin:auto}.photo-stage.zoomed canvas{max-width:none;max-height:none;width:auto;height:auto}.loading{color:#9a9da1;position:absolute}.preview-label{position:absolute;left:12px;top:12px;padding:6px 12px;border-radius:3px;background:#151719c9;font-size:10px;display:none}.comparing .preview-label{display:block}.photo-footer{height:55px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 26px;flex-shrink:0}.photo-meta{display:grid;gap:5px;font-size:9px;color:#aaaeb3}.photo-meta span+span{color:#62666d;font-size:9px}.rating{display:flex;gap:2px}.rating button{width:21px;height:24px;padding:2px;color:#5a5e65}.rating svg{width:13px;height:13px}.rating button.rated{color:#d2d7dd}.rating button.rated svg{fill:#d2d7dd}.view-controls{display:flex;align-items:center;gap:4px}.compare-button{display:flex;gap:7px;align-items:center;color:#94999f;font-size:10px;padding:6px}.compare-button.active{color:#c1dfef}.text-button{color:#93979e;padding:6px;font-size:10px;display:inline-flex;gap:5px;align-items:center}.text-button svg{width:12px}.filmstrip-heading{height:35px;display:flex;align-items:center;justify-content:space-between;padding:0 25px;border-top:1px solid #292b2f;font-size:10px;color:#c2c5ca}.filmstrip-heading small{color:#70757c;margin-left:10px;font-size:9px}.filmstrip-heading>span+span{font-size:9px;color:#757981}.filmstrip{height:99px;flex-shrink:0;display:flex;align-items:center;gap:9px;overflow-x:auto;padding:7px 24px;background:#1c1d20}.film-item{height:77px;width:103px;padding:4px;border:1px solid transparent;position:relative;flex-shrink:0;border-radius:4px;background:#26282c}.film-item.selected{border-color:#b5d6e9;background:#3e444b}.film-item img{width:100%;height:100%;border-radius:1px}.film-item .thumb-index{position:absolute;left:8px;top:8px;font-size:8px;padding:2px 4px;background:#16171980;color:white;border-radius:2px}.film-item .thumb-heart{position:absolute;bottom:8px;right:9px;width:11px;height:11px;fill:#fff;color:#fff}.add-tile{width:67px;height:68px;border:1px dashed #414348;border-radius:4px;display:grid;place-items:center;color:#747a81;flex-shrink:0}.add-tile:hover{background:#292c30}.bottom-status{height:28px;padding:0 25px;display:flex;align-items:center;justify-content:space-between;color:#62666c;font-size:9px;flex-shrink:0}.bottom-status>span:first-child{display:flex;align-items:center;gap:5px}.bottom-status svg{height:10px;width:10px}.adjustments{background:#232426;border-left:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden;min-height:0}.panel-heading{height:57px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;flex-shrink:0}.panel-heading>div{display:flex;align-items:center;gap:9px}.panel-heading svg{width:15px}.panel-heading h1{font-size:12px;font-weight:550;margin:0}.reset-button{font-size:10px;color:#90959c}.panel-scroll{overflow-y:auto;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#47494c transparent}#histogram-wrap{padding:0 20px;border-bottom:1px solid var(--line);flex-shrink:0}#histogram{width:100%;height:76px;display:block;background:#1d1e20}.histogram-labels{display:flex;justify-content:space-between;font-size:8px;color:#72767d;padding-top:7px}.image-details{display:flex;justify-content:space-between;font-size:9px;padding:15px 0;color:#8b9098}.image-details span:first-child{color:#b4b8bd}details.adjust-group{border-bottom:1px solid #36373a;padding:0 20px}details summary{list-style:none;display:flex;align-items:center;gap:8px;padding:17px 0;cursor:pointer;user-select:none;font-size:11px}details summary::-webkit-details-marker{display:none}details summary>svg{height:14px;width:14px;color:#a4aab1}details summary>svg:last-child{margin-left:auto;width:12px;transition:transform .2s}details[open] summary>svg:last-child{transform:rotate(180deg)}.auto-button{font-size:9px;border:1px solid #505359;border-radius:3px;padding:4px 7px;margin-left:auto;margin-right:7px;color:#b3bcc5}.slider-control{margin-bottom:15px}.slider-label{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#aaaeb4;margin-bottom:8px}.slider-value{color:#a2aab4;font-size:10px;font-variant-numeric:tabular-nums;min-width:32px;text-align:right}.slider-control input[type=range]{display:block;width:100%;height:3px;padding:0;appearance:none;background:linear-gradient(90deg,#595d63,#9ea3aa);border-radius:3px;cursor:pointer;margin:0;touch-action:pan-y}.slider-control input[type=range]::-webkit-slider-thumb{appearance:none;width:10px;height:10px;background:#bfc6ce;border:2px solid #232426;border-radius:50%;box-shadow:0 0 0 1px #8c949d}.slider-control input[type=range]::-moz-range-thumb{width:8px;height:8px;background:#bfc6ce;border:1px solid #232426;border-radius:50%}.slider-control input[data-key=temperature]{background:linear-gradient(90deg,#507bbc,#a5a5a0,#e5bb63)}.slider-control input[data-key=tint]{background:linear-gradient(90deg,#6ea47d,#a4a4a4,#bc77ae)}.slider-control input[data-key=saturation],.slider-control input[data-key=vibrance]{background:linear-gradient(90deg,#65676c,#ae9d8c,#d69c77)}.wb-row{display:flex;align-items:center;justify-content:space-between;font-size:9px;margin-bottom:17px;color:#898e96}.wb-row select{background:none;color:#b6bbc2;border:0;font-size:9px;max-width:120px}.wb-row option{background:#232426}.curve-box{height:145px;background:repeating-linear-gradient(0deg,transparent 0,transparent calc(25% - 1px),#ffffff0b calc(25% - 1px),#ffffff0b 25%),repeating-linear-gradient(90deg,transparent 0,transparent calc(25% - 1px),#ffffff0b calc(25% - 1px),#ffffff0b 25%),#1d1e20;margin-bottom:17px;border:1px solid #3f4247;position:relative}.curve-box svg{width:100%;height:100%;overflow:visible}.curve-box circle{cursor:ns-resize;touch-action:none}.curve-footnote{color:#7e858e;font-size:9px;margin-bottom:14px}.panel-bottom{height:39px;display:flex;align-items:center;gap:6px;padding:0 18px;border-top:1px solid #34363a;font-size:9px;color:#7e858c;flex-shrink:0}.panel-bottom>svg{width:11px;color:#8daba2}.panel-bottom button{margin-left:auto}.tool-rail{background:#202123;border-left:1px solid var(--line);display:flex;align-items:center;flex-direction:column;gap:10px;padding:17px 0}.tool-button{width:35px;min-height:35px;border-radius:5px;display:flex;align-items:center;justify-content:center;color:#8c9199;position:relative}.tool-button.active{color:#bcdaec;background:#384047}.tool-button span{display:none}.rail-spacer{flex:1}.tool-button:hover{background:#34373c}.preset-intro{padding:20px;color:#868d96;font-size:10px}.preset-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 18px 20px}.preset-card{padding:0;text-align:left;border:1px solid #414347;border-radius:5px;overflow:hidden;background:#292c2f}.preset-card img{width:100%;height:79px}.preset-card span{display:block;padding:10px;font-size:10px}.preset-card.active{border-color:#acd6f0}.preset-card:hover{border-color:#889aa5}.control-section{padding:18px 20px}.control-section h3{font-size:11px;font-weight:500;margin:0 0 15px}.control-section select{width:100%;padding:10px;background:#303236;color:#d4d7dc;border:1px solid #484d54;border-radius:4px;outline:none}.transform-row{display:flex;gap:12px;margin:20px 0}.transform-row button{width:40px;height:35px;border:1px solid #484d54;border-radius:4px}.transform-row button:hover{background:#41464d}.control-help{color:#7f858e;line-height:1.8;font-size:10px}.crop-overlay{position:absolute;inset:0;border:1px solid #fff9;display:none;pointer-events:none;background:linear-gradient(to right,transparent 33.1%,#ffffff70 33.1%,#ffffff70 33.5%,transparent 33.5%,transparent 66.4%,#ffffff70 66.4%,#ffffff70 66.8%,transparent 66.8%),linear-gradient(to bottom,transparent 33.1%,#ffffff70 33.1%,#ffffff70 33.5%,transparent 33.5%,transparent 66.4%,#ffffff70 66.4%,#ffffff70 66.8%,transparent 66.8%)}.cropping .crop-overlay{display:block}.history-item{display:flex;align-items:center;gap:9px;width:100%;padding:13px 20px;text-align:left;border-bottom:1px solid #303236;font-size:11px}.history-item small{margin-left:auto;color:#747d85;font-size:9px}.history-item.active{background:#354047;color:#d3e6f4}.info-list{padding:0 20px}.info-list div{border-bottom:1px solid #35383d;padding:15px 0;display:flex;justify-content:space-between;gap:12px;font-size:10px}.info-list dt{color:#8e959e;flex-shrink:0}.info-list dd{margin:0;text-align:right;overflow-wrap:anywhere}.info-note{font-size:10px;line-height:1.8;color:#8b9199;padding:20px}.favorite-action{margin:15px 20px;display:flex;align-items:center;gap:8px;font-size:11px;color:#bdcbd8}.favorite-action.liked svg{fill:#dd9d9d;color:#dd9d9d}.delete-action{margin:10px 20px;color:#c49898;font-size:10px;display:flex;gap:8px;align-items:center}.grid-view{position:absolute;inset:0;overflow-y:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));align-content:start;gap:20px;padding:10px 0}.grid-card{padding:6px;border:1px solid #383c42;border-radius:4px;text-align:left;min-width:0}.grid-card.selected{border-color:#bad8ed}.grid-card img{width:100%;aspect-ratio:4/3}.grid-card span{font-size:10px;display:block;margin:10px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty-state{text-align:center;color:#888f98}.empty-state>svg{width:36px;height:36px}.empty-state h2{font-size:16px;color:#c3ccd5}.empty-state p{font-size:11px}.empty-state button{margin:20px auto}.mobile-library{display:none}.drop-overlay{position:fixed;inset:10px;z-index:40;background:#1c252eee;backdrop-filter:blur(10px);border:2px dashed #afcfe4;display:flex;align-items:center;justify-content:center;flex-direction:column;border-radius:8px;pointer-events:none}.drop-overlay>svg{height:48px;width:48px;color:#b7d5e9}.drop-overlay h2{font-size:22px;font-weight:500}.drop-overlay p{color:#a1afbc}#toast{position:fixed;bottom:35px;left:50%;transform:translate(-50%,10px);background:#d4e3ed;color:#202d37;padding:11px 20px;box-shadow:0 5px 25px #0005;border-radius:5px;font-size:12px;z-index:50;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:90vw;text-align:center}#toast.visible{opacity:1;transform:translate(-50%,0)}dialog{color:#d9dfe5;background:#25282d;border:1px solid #50565e;border-radius:8px;width:390px;max-width:calc(100vw - 28px);padding:23px;box-shadow:0 30px 100px #0008}dialog::backdrop{background:#080a0dbb;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.dialog-heading h2{font-size:16px;font-weight:550;margin:0}#export-preview{width:100%;height:145px;object-fit:contain;background:#17191d;margin-bottom:20px;border-radius:3px}dialog label{display:block;font-size:11px;color:#acb5bf;margin-bottom:16px}dialog input:not([type=range]),dialog select{display:block;width:100%;background:#191c20;border:1px solid #454a52;border-radius:4px;padding:10px;margin-top:8px;color:#d9e1e9}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}#quality-value{float:right}#export-quality{display:block;width:100%;margin:15px 0 0;accent-color:#b4d3e8}.export-note{font-size:10px;color:#7f8b97;margin:5px 0 20px}.export-confirm{width:100%;padding:11px}.save-warning{color:#d7b67c!important}
@media(min-width:1600px){.app-shell{grid-template-columns:230px minmax(0,1fr) 325px 58px}.photo-stage{margin:0 42px}.filmstrip{height:116px}.film-item{width:123px;height:91px}.filmstrip-heading{height:39px}.topbar{height:72px}.app-shell{height:calc(100dvh - 72px)}.workspace-toolbar{height:65px}.slider-control{margin-bottom:19px}#histogram{height:90px}}
@media(max-width:1150px){.app-shell{grid-template-columns:170px minmax(0,1fr) 270px 48px}.top-center{display:none}.library{padding-left:8px;padding-right:8px}.photo-stage{margin:0 18px}.photo-footer{padding:0 18px}.photo-meta span+span{display:none}.rating{gap:0}.photo-meta{max-width:110px;overflow:hidden}.studio-label,.brand-divider{display:none}}
@media(max-width:900px){.app-shell{grid-template-columns:minmax(0,1fr) 270px 46px}.library{display:none;position:fixed;z-index:25;left:0;top:60px;bottom:0;width:230px;box-shadow:20px 0 60px #0008}.library.open{display:flex}.mobile-library{display:flex}.topbar{height:60px;padding:0 17px}.app-shell{height:calc(100dvh - 60px)}.brand{font-size:17px}.brand-mark{width:32px;height:32px;font-size:21px}.photo-footer{flex-wrap:wrap;height:65px;gap:4px}.photo-meta{width:100%;max-width:none;flex-basis:100%;padding-top:10px}.rating{margin-left:-3px}.workspace-toolbar{padding:0 16px}.filmstrip{padding-left:16px}.filmstrip-heading{padding:0 17px}.bottom-status{padding:0 17px}}
@media(max-width:600px){.topbar{height:57px;padding:0 13px;gap:8px}.brand{gap:8px;font-size:16px}.brand-mark{height:29px;width:29px;font-size:20px}.top-actions{gap:8px}.avatar{display:none}.import-button{width:30px;height:30px;padding:0;border:0}.import-button span{display:none}.export-button{padding:7px 11px;font-size:11px;gap:6px}.export-button svg{height:14px;width:14px}.mobile-library{width:25px}.app-shell{height:calc(100dvh - 57px);display:flex;flex-direction:column;overflow:hidden}.workspace{flex:1;min-height:220px;flex-shrink:1}.workspace-toolbar{height:39px;padding:0 13px}.breadcrumb{font-size:9px;gap:7px}.workspace-actions{gap:2px}.workspace-actions .icon-button{width:25px;height:25px}.workspace-actions svg{width:14px}.photo-stage{margin:0 13px}.photo-footer{height:37px;flex-wrap:nowrap;padding:0 13px}.photo-meta{width:auto;flex-basis:auto;max-width:100px;font-size:8px;padding:0}.rating button{width:17px}.rating svg{height:11px;width:11px}.compare-button{padding:4px;gap:3px}.compare-button span{display:none}.compare-button svg{width:15px}.view-controls{gap:0}.view-controls .text-button{font-size:9px}.view-controls .toolbar-divider{margin:0 3px}.filmstrip-heading,.bottom-status{display:none}.filmstrip{height:64px;padding:5px 13px;gap:6px;border-top:1px solid #2f3237}.film-item{height:51px;width:70px;padding:3px}.film-item .thumb-index{font-size:7px;left:5px;top:5px}.add-tile{height:43px;width:45px}.add-tile svg{width:15px}.adjustments{height:240px;flex-shrink:0;border-left:none;border-top:1px solid #36383c}.panel-heading{height:39px;padding:0 17px}.panel-heading h1{font-size:11px}.panel-heading svg{height:14px;width:14px}.panel-bottom,#histogram-wrap{display:none}.panel-scroll{padding-bottom:5px}.adjust-group summary{padding:12px 0}details.adjust-group{padding:0 18px}.slider-control{margin-bottom:15px}.slider-control input[type=range]{height:4px}.slider-control input[type=range]::-webkit-slider-thumb{width:15px;height:15px}.slider-label{margin-bottom:11px}.tool-rail{height:57px;padding:4px 15px max(4px,env(safe-area-inset-bottom));flex-shrink:0;flex-direction:row;justify-content:space-around;gap:10px;border-top:1px solid #373a40;border-left:0}.tool-button{height:43px;width:51px;flex-direction:column;gap:5px}.tool-button span{display:block;font-size:8px}.tool-button svg{width:17px;height:17px}.rail-spacer{display:none}.tool-button.active{background:#343b43}.library{top:57px;bottom:57px}.preset-intro{padding:5px 17px 13px}.preset-grid{grid-template-columns:repeat(3,1fr);gap:9px;padding:0 17px 14px}.preset-card img{height:56px}.preset-card span{padding:7px;font-size:9px}.control-section{padding:5px 18px}.control-section h3{margin-bottom:9px}.transform-row{margin:10px 0}.crop-controls{display:grid;grid-template-columns:1fr 1fr;column-gap:18px}.crop-controls .transform-row{grid-column:2;grid-row:1/3;align-items:center;justify-content:flex-end;gap:8px}.crop-controls .transform-row button{width:33px}.crop-controls h3{grid-column:1}.crop-controls select{grid-column:1;padding:7px}.crop-controls .slider-control{grid-column:1/-1;margin-top:9px}.crop-controls .control-help{display:none}.grid-view{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.info-list{margin:0}.info-list div{padding:8px 0}.info-note{padding:5px 20px}.favorite-action,.delete-action{margin-top:6px;margin-bottom:6px}#toast{bottom:69px}.empty-state h2{font-size:14px}.empty-state p{display:none}.empty-state button{margin:9px auto}}
@media(max-width:600px) and (max-height:740px){.adjustments{height:195px}.workspace{min-height:195px}.filmstrip{height:56px}.film-item{height:45px;width:62px}.tool-rail{height:52px}}
:root{color-scheme:dark}.filmstrip{scrollbar-width:none;overflow-y:hidden}.filmstrip::-webkit-scrollbar{display:none}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
