@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&display=swap');
[hidden]{display:none!important}
.shade-option-search{width:100%;padding:11px 12px;font:inherit;font-size:12px;border:1px solid #dfd1ca;border-radius:6px;margin:10px 0}.option-stock-badge{font-size:9px!important;color:#9b858b!important;margin:0!important}.shade-options button{flex-wrap:wrap;text-align:left}
.shade-option-heading{font-size:13px;font-weight:500;margin:24px 0 10px}.shade-selection-preview{display:flex;align-items:center;gap:14px;padding:17px;background:#f6eeeb;border-radius:8px;margin:20px 0}.shade-selection-preview>span{width:48px;height:48px;border-radius:50%}.shade-selection-preview small{margin:0;color:#ab8490;font-size:10px}.shade-selection-preview .shade-summary{margin:5px 0 0;font-size:16px}
.shade-back{border:0;padding:8px 0;font-size:12px;color:#895969}.shade-product{display:flex;gap:22px;align-items:center;margin:20px 0}.shade-product img{width:120px;height:120px;object-fit:contain;border-radius:8px}.shade-product h3{font-size:16px;line-height:1.7;font-weight:500}.shade-product a{font-size:12px;color:#7d6268;text-underline-offset:3px}.shade-help{font-size:12px;line-height:1.9;color:#937d83;background:#f6eeeb;padding:15px;border-radius:8px}.shade-options{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.shade-options button{display:flex;align-items:center;gap:9px;font-size:12px;padding:10px 13px}.shade-options button span{display:block;width:22px;height:22px;border-radius:50%}.shade-options button[aria-pressed=true]{border-color:#895969;background:#f3e8e6}.shade-custom{display:flex;gap:20px;margin:25px 0}.shade-custom label{display:flex;flex-direction:column;gap:10px;flex:1;font-size:12px}.shade-custom label span{font-size:10px;color:#ac949c}.shade-custom input[type=color]{width:90px;height:44px;padding:3px;border:1px solid #dfd1ca;border-radius:5px;background:white}.shade-custom input[type=text]{padding:11px 12px;border:1px solid #dfd1ca;border-radius:5px;font:inherit;min-width:0;width:100%}.shade-summary{font-size:12px;color:#805f69;line-height:1.8}.shade-apply{width:100%;margin:10px 0 20px}.selected-product-label{font-size:10px;color:#986b7c;margin:8px 0}.shade-product>div{min-width:0}@media(max-width:800px){.shade-product{gap:12px}.shade-product img{width:80px;height:80px}.shade-product h3{font-size:13px}.shade-custom{flex-direction:column}}
.catalog-image{position:relative!important;background:#f4eeea!important}.catalog-image img{position:absolute;inset:0;background:white}.catalog-image-fallback{padding:14px;text-align:center;font-size:13px;color:#9b737e}.catalog-image-fallback small{font-size:8px;letter-spacing:2px;color:#b499a0}
.catalog-modes{display:flex;gap:8px;margin:20px 0}.catalog-modes button{font-size:12px}.catalog-modes button[aria-pressed=true]{background:#7e4858;color:#fff;border-color:#7e4858}.catalog-explanation,.catalog-attribution{font-size:11px;line-height:1.8;color:#927e82}.catalog-filters{display:flex;gap:15px}.catalog-filters label{display:flex;flex:1;flex-direction:column;gap:7px;font-size:11px;color:#927e82}.catalog-filters input,.catalog-filters select{width:100%;min-width:0;padding:10px;border:1px solid #e0d6d0;border-radius:6px;background:#fff;color:#352b2d;font:inherit}.catalog-image{height:160px;display:flex;align-items:center;justify-content:center;background:white}.catalog-image img{width:100%;height:100%;object-fit:contain}.catalog-card h3{min-height:44px;line-height:1.6;font-size:13px}.catalog-pager{display:flex;align-items:center;justify-content:center;gap:18px;margin:25px 0;font-size:12px}#catalog-count{font-size:12px;color:#7e6269}.catalog-attribution a{color:inherit}@media(max-width:800px){.catalog-card .catalog-image{height:100%;min-height:150px}.catalog-filters{flex-direction:column;gap:10px}}
html body .stage canvas{width:auto;max-width:100%;height:auto;max-height:650px}
.range-row{white-space:nowrap}.range-row input{min-width:0}.range-row output{min-width:34px;text-align:right}
.viewer-bottom{flex-wrap:wrap}.viewer-bottom #detect{margin-left:auto}.viewer-bottom #save{margin-left:0}.stage[aria-busy=true]{cursor:progress}
.control-actions{display:flex;gap:10px;align-items:center}.product-open{font-size:10px;padding:5px 8px;border:0;color:#845264;text-decoration:underline;text-underline-offset:3px}.product-modal{width:min(1040px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid #dfd1ca;border-radius:15px;background:#fffdfa;color:#352b2d;overflow:auto;box-shadow:0 25px 90px #38202c44}.product-modal::backdrop{background:#29202588;backdrop-filter:blur(3px)}.product-modal .product-section{margin:0;border:0;padding-top:55px}.modal-close{position:absolute;right:18px;top:12px;font-size:12px;background:#fffdfa;z-index:1}.product-modal .product-title{gap:15px}body:has(.product-modal[open]){overflow:hidden}@media(max-width:800px){.product-modal{max-height:calc(100dvh - 24px);width:calc(100vw - 24px)}.product-modal .product-section{padding-top:52px}.control-actions{gap:5px}}
.product-section{margin-top:46px;padding:32px;background:#fffdfa;border:1px solid #e3dad4;border-radius:15px}.product-title{display:flex;align-items:center;justify-content:space-between;gap:15px}.product-title h2{font-size:26px;font-weight:500;letter-spacing:-1px;margin:10px 0}.retailer-badge{font-size:11px;padding:8px 12px;border-radius:20px;color:#526338;background:#eff2e6}.product-description{font-size:13px;color:#8d7778}.product-tools{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:25px 0 18px}.product-tabs{display:flex;gap:8px}.product-tabs button{min-width:70px;font-size:12px}.product-tabs button[aria-pressed=true]{color:#fff;background:#7e4858;border-color:#7e4858}.product-search-label{font-size:11px;color:#8d7778;display:flex;gap:12px;align-items:center}.product-search-label input{border:1px solid #e0d6d0;background:#fff;padding:10px 12px;border-radius:6px;max-width:220px;min-width:0}.product-context{display:flex;align-items:center;gap:8px;font-size:11px;color:#7e6269}.product-context>span:last-child{margin-left:auto;color:#a18d91}.current-color{width:16px;height:16px;border-radius:50%;display:inline-block}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px}.product-card{border:1px solid #e8dfd9;border-radius:10px;overflow:hidden}.product-art{height:150px;display:flex;position:relative;align-items:center;justify-content:center;background:#f4eeea}.product-art-label{position:absolute;top:13px;left:15px;font-size:9px;letter-spacing:2px;color:#a58d90}.sample-caption{position:absolute;bottom:10px;right:12px;font-size:9px;color:#9f878d}.product-sample{display:block;background:var(--product-color);box-shadow:10px 12px 20px #5f333519}.product-sample.lip{width:35px;height:82px;border-radius:10px 10px 5px 5px;border-bottom:27px solid #d5c0b9}.product-sample.cheek{width:80px;height:80px;border-radius:50%;border:8px solid #e1d3ce}.product-sample.eye{width:116px;height:68px;border:8px solid #e1d3ce;border-radius:8px;background:linear-gradient(90deg,var(--product-color) 33%,#d5b9a9 33%,#d5b9a9 66%,#ad8580 66%)}.product-details{padding:18px}.product-brand{font-size:11px;color:#a0747e}.product-details h3{font-size:15px;font-weight:500;margin:8px 0}.product-shade{font-size:12px;margin:8px 0}.match-label{font-size:10px;color:#a28b90;margin:14px 0}.apply-product{width:100%;font-size:12px;background:#f3e8e6}.shop-link,.brand-link{display:block;text-align:center;font-size:12px;color:#655c45;margin-top:13px;text-underline-offset:3px}.brand-link{font-size:10px;color:#a18d91}.product-disclaimer{font-size:11px;line-height:1.8;color:#927e82;margin:24px 0 8px}.catalog-date{font-size:10px;color:#a79296}.no-products{grid-column:1/-1;color:#927e82;padding:25px 0;font-size:13px}@media(max-width:800px){.product-section{padding:20px}.product-title{align-items:start}.product-title h2{font-size:22px}.retailer-badge{white-space:nowrap;font-size:9px}.product-tools{align-items:stretch;flex-direction:column;gap:13px}.product-search-label input{flex:1;max-width:none}.product-context{flex-wrap:wrap}.product-context>span:last-child{width:100%;margin:0}.product-grid{grid-template-columns:1fr}.product-card{display:grid;grid-template-columns:110px 1fr}.product-art{height:100%;min-height:210px}.product-sample.eye{width:90px}.product-art-label{font-size:7px;letter-spacing:1px}.product-details h3{font-size:14px}}
:root{font-family:'Noto Sans KR',sans-serif;color:#352b2d;background:#f8f5f1}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;border:1px solid #ded4d0;background:transparent;border-radius:6px;padding:9px 13px;color:inherit}button:hover{background:#f1e3de}button:disabled{opacity:.4;cursor:default}button:focus-visible,input:focus-visible{outline:3px solid #b76b79;outline-offset:3px}header{height:88px;border-bottom:1px solid #e8dfd9;display:flex;align-items:center;justify-content:space-between;padding:0 6%;font-size:12px;color:#8d7778}.brand{font-size:29px;font-weight:700;color:#54363e;text-decoration:none;display:flex;gap:14px;align-items:center}.brand span{font-size:10px;letter-spacing:2px}main{max-width:1300px;margin:auto;padding:52px 40px}.eyebrow,.panel-heading,.viewer-top{font-size:10px;letter-spacing:2px;color:#a06c77}.intro{position:relative;margin-bottom:35px}h1{font-size:42px;line-height:1.4;letter-spacing:-2px;font-weight:500;margin:12px 0}.intro>p{position:absolute;right:0;bottom:0;font-size:14px;line-height:1.9;color:#8d7b7b}.workspace{display:grid;grid-template-columns:1fr 380px;border:1px solid #e3dad4;border-radius:15px;overflow:hidden;background:#fffdfa}.viewer{padding:22px;background:#f0eae4}.viewer-top,.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.viewer-top button,.panel-heading button{font-size:11px;letter-spacing:0;border:0;padding:4px}.stage{position:relative;background:#e8dfd6;min-height:480px;display:flex;align-items:center;justify-content:center;border-radius:9px;overflow:hidden}canvas{display:block;width:100%;max-height:650px;object-fit:contain;touch-action:none}#empty{position:absolute;text-align:center;padding:25px}#empty h2{font-size:21px;font-weight:500}#empty p{font-size:12px;color:#8a7b74;line-height:1.9}.upload-icon{font-size:36px;color:#ab7b7f}small{display:block;font-size:10px;color:#94847f;margin-top:20px}.primary{background:#7e4858;color:white;border:0;padding:13px 28px;margin-top:14px}.primary:hover{background:#623744}.viewer-bottom{display:flex;align-items:center;gap:16px;font-size:11px;margin-top:16px}.viewer-bottom button{margin-left:auto;font-size:11px;background:#fff9f5}.hint{font-size:11px;color:#89756d;margin:13px 0 0}aside{padding:28px}aside h2{font-size:25px;font-weight:500;letter-spacing:-1px;margin:10px 0}.muted{font-size:12px;color:#9e8989}.presets{display:flex;gap:7px;margin:23px 0}.presets button{flex:1;font-size:12px}.control{border-top:1px solid #ece3df;padding:20px 0}.control-head{display:flex;align-items:center;justify-content:space-between;font-size:14px}.control-head span{font-size:10px;color:#a68d91}.colors{display:flex;gap:10px;margin:14px 0}.swatch{width:25px;height:25px;border-radius:50%;padding:0;border:3px solid white;box-shadow:0 0 0 1px #e5ddd7}.swatch.selected{box-shadow:0 0 0 2px #795361}.range-row{display:flex;align-items:center;gap:10px;font-size:10px;color:#947c81}.range-row input{width:100%;accent-color:#915469}.note{background:#f6eeeb;padding:16px;border-radius:8px;font-size:11px;color:#8d7378;line-height:1.8}.note p{margin-bottom:0}footer{display:flex;justify-content:space-between;margin-top:27px;font-size:10px;letter-spacing:1px;color:#aa9390}@media(max-width:800px){main{padding:30px 18px}.intro>p{position:static}.workspace{grid-template-columns:1fr}.stage{min-height:350px}h1{font-size:34px}header{height:70px}header>span{display:none}.viewer{padding:15px}aside{padding:24px}.viewer-bottom{gap:8px}footer span{letter-spacing:0}}
.catalog-verified-filter{display:flex!important;align-items:center;gap:8px;align-self:end;padding:12px 0}.catalog-verified-filter input{width:auto!important;margin:0}.shade-option-search{width:100%;padding:12px 14px;margin-bottom:12px;border:1px solid #d7c9cd;border-radius:12px}.option-stock-badge{display:block;font-size:11px;color:#876c73}.shade-options button[hidden]{display:none!important}
.shade-product img{cursor:crosshair;object-fit:contain;background:#fff}.shade-selection-preview+input[type=color]{width:80px;height:42px;cursor:pointer}
#preview-mode{display:none}
:root{background:#fcf5f7;color:#503944}header{background:#fffafc;border-color:#f0dce4}.brand{color:#8b4661}.eyebrow{color:#bd7893}.intro h1{color:#623d50}.workspace{position:relative;grid-template-columns:76px minmax(0,1fr);background:#fffafd;border-color:#eed8e3;border-radius:24px;box-shadow:0 12px 45px #b8738a0d}.workspace.panel-open{grid-template-columns:76px 300px minmax(0,1fr)}.part-nav{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:12px;padding:24px 10px;background:#fff8fb;border-right:1px solid #f0dce4}.part-nav>span{font-size:8px;letter-spacing:1px;color:#bb829a;text-align:center;margin-bottom:12px}.part-nav button{display:flex;flex-direction:column;align-items:center;gap:8px;border:0;padding:14px 7px;border-radius:15px;font-size:12px;color:#996c80}.part-nav button>span{font-size:23px;line-height:1}.part-nav button[aria-expanded=true]{color:#9b476c;background:#f5dce7;box-shadow:0 4px 14px #b7779215}.viewer{grid-column:2;grid-row:1;background:#f8edf2;padding:22px}.panel-open .viewer{grid-column:3}.stage{background:radial-gradient(ellipse at top,#fff7fa,#efdde5);border-radius:18px}.primary{background:#a9577d;border-radius:12px}.primary:hover{background:#8d4366}button:focus-visible,input:focus-visible{outline-color:#bd7698}.photo-actions,.upload-actions{display:flex;align-items:center;justify-content:center;gap:10px;letter-spacing:0}.photo-actions button{background:#fff8fb;border:1px solid #ebcfdb;border-radius:9px;padding:7px 11px}.upload-actions{margin-top:20px}.upload-actions .primary{margin:0}.camera-button{border-color:#dbaabc;color:#9c5273;border-radius:12px;padding:12px 18px;background:#fff7fa}.upload-icon{color:#c285a0}#empty h2{color:#774b60}#color-panel{grid-column:2;grid-row:1;background:#fffafd;padding:24px;border-right:1px solid #f0dce4;min-width:0}.color-panel-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.color-panel-title h2{font-size:22px}.color-panel-title button{border:0;font-size:25px;padding:2px 6px;color:#a8758d}.presets button{background:#fff4f8;border-color:#ebd4e0;border-radius:10px}.note{background:#fcf0f5}.control{border-color:#f1dfe8}.control-head{flex-wrap:wrap;gap:10px}.colors{gap:12px}.swatch{width:30px;height:30px}.range-row input{accent-color:#af6287}.hint{line-height:1.8}.viewer-bottom{gap:12px}.viewer-bottom button{border-radius:9px;background:#fff9fc}.product-modal{background:#fffafd;border-color:#edcfdc}.product-modal::backdrop{background:#482a3b66}.product-section{background:#fffafd}.shade-help,.shade-selection-preview{background:#fcf0f5}.apply-product{background:#f9e6ef}.catalog-modes button[aria-pressed=true]{background:#a9577d;border-color:#a9577d}
@media(max-width:900px){main{padding:30px 18px}.workspace,.workspace.panel-open{grid-template-columns:66px minmax(0,1fr)}.part-nav{padding:20px 6px}.part-nav button{padding:14px 5px}.viewer,.panel-open .viewer{grid-column:2;padding:14px}.workspace.panel-open #color-panel{position:absolute;left:66px;top:0;width:min(300px,calc(100% - 66px));max-height:100%;overflow:auto;z-index:3;box-shadow:15px 0 30px #84506922;grid-column:auto;border-radius:0 18px 18px 0}.viewer-top{flex-wrap:wrap;gap:10px}.viewer-top>span{font-size:8px}.photo-actions{gap:5px}.photo-actions button{font-size:10px;padding:6px 8px}.upload-actions{flex-direction:column}.upload-actions button{width:100%;font-size:12px;padding:11px}.stage{min-height:410px}#empty{padding:16px}#empty h2{font-size:17px}#empty p{font-size:11px}.viewer-bottom{gap:9px;font-size:10px}.viewer-bottom button{font-size:10px}.intro>p{position:static}.intro h1{font-size:34px}}
/* Bookmark tabs rest on the photo edge; the color card floats inside it. */
.workspace,.workspace.panel-open{display:block;overflow:visible;border:0;background:transparent;box-shadow:none;padding-left:22px}.viewer,.panel-open .viewer{padding:18px;background:#f8edf2;border:1px solid #eed8e3;border-radius:24px;box-shadow:0 14px 44px #9c62781a}.part-nav{position:absolute;left:-12px;top:105px;width:62px;z-index:5;display:flex;gap:12px;padding:0;background:none;border:0}.part-nav>span{display:none}.part-nav button{position:relative;min-height:74px;width:62px;border-radius:4px 12px 12px 4px;padding:13px 9px 16px 7px;color:#92536e;background:#edc7d7;box-shadow:3px 5px 12px #70405218;clip-path:polygon(0 0,100% 0,100% 100%,50% 89%,0 100%);transition:width .18s,background .18s}.part-nav button:nth-of-type(2){background:#efd5c9;color:#9b695a}.part-nav button:nth-of-type(3){background:#d9cadf;color:#82618e}.part-nav button>span{font-size:17px}.part-nav button[aria-expanded=true]{width:72px;background:#b9698e;color:white;box-shadow:none}.workspace #color-panel,.workspace.panel-open #color-panel{position:absolute;left:76px;top:100px;z-index:4;width:300px;max-height:calc(100% - 125px);overflow:auto;padding:20px;border:1px solid #ecd8e2;border-radius:18px;background:#fffafdF5;box-shadow:0 12px 38px #71405224;backdrop-filter:blur(14px);grid-column:auto}.color-panel-title h2{font-size:19px}.panel-heading{margin-bottom:6px}.panel-heading>span{display:none}.panel-heading{justify-content:flex-end}.workspace #color-panel .note{display:none}.workspace #color-panel .presets{margin:18px 0}.workspace #color-panel .control{padding:16px 0 5px}.stage{min-height:540px}.viewer-top{padding-left:24px}.viewer-bottom,.hint{padding-left:24px}
@media(max-width:900px){.workspace,.workspace.panel-open{display:block;padding-left:15px}.viewer,.panel-open .viewer{padding:12px}.part-nav{left:-4px;top:98px;width:46px;gap:10px}.part-nav button{width:46px;min-height:64px;font-size:11px;padding:11px 5px 14px}.part-nav button[aria-expanded=true]{width:53px}.part-nav button>span{font-size:16px}.workspace #color-panel,.workspace.panel-open #color-panel{left:54px;top:93px;width:min(290px,calc(100% - 65px));max-height:calc(100% - 115px);padding:16px;border-radius:16px}.stage{min-height:480px}.viewer-top{padding-left:12px}.viewer-bottom,.hint{padding-left:12px}.upload-actions{flex-direction:row;flex-wrap:wrap}.upload-actions button{width:auto}.colors{gap:9px}.color-panel-title h2{font-size:18px}}
.workspace,.workspace.panel-open{padding-left:0;padding-right:22px}.part-nav{left:auto;right:-12px}.part-nav button{border-radius:12px 4px 4px 12px;padding:13px 7px 16px 9px}.workspace #color-panel,.workspace.panel-open #color-panel{left:auto;right:76px}.workspace #color-panel .range-row{display:none}.viewer-top{padding-left:0;padding-right:24px}.viewer-bottom,.hint{padding-left:0}.stage{position:relative}#edge-adjustments{position:absolute;right:18px;bottom:18px;z-index:2;width:258px;padding:14px 16px;background:#fffafd;opacity:1;border:1px solid #ead3df;border-radius:14px;box-shadow:0 5px 22px #61334820;color:#654353}#edge-adjustments .edge-heading{display:flex;gap:8px;align-items:center;margin-bottom:10px;font-size:12px}.edge-heading>span{width:16px;height:16px;border-radius:50%}#edge-adjustments label{display:flex;align-items:center;gap:8px;margin:7px 0;font-size:11px}#edge-adjustments input{min-width:0;flex:1;width:100%;accent-color:#a9577d}#edge-adjustments output{min-width:35px;text-align:right;font-size:10px}.viewer .stage #empty{padding-bottom:100px}
@media(max-width:900px){.workspace,.workspace.panel-open{padding-left:0;padding-right:15px}.part-nav{left:auto;right:-4px}.workspace #color-panel,.workspace.panel-open #color-panel{left:auto;right:54px;max-height:calc(100% - 240px)}.viewer-top{padding-left:0;padding-right:12px}.viewer-bottom,.hint{padding-left:0}#edge-adjustments{right:10px;bottom:10px;width:calc(100% - 20px);max-width:258px;padding:12px 14px}.stage{min-height:530px}}
#edge-adjustments{background:rgba(255,250,253,.62);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-color:rgba(255,255,255,.7)}
#photo-source-dialog{position:relative;width:min(360px,calc(100vw - 36px));border:1px solid #edd2df;border-radius:24px;background:#fffafd;padding:30px 26px;color:#694655;box-shadow:0 20px 70px #5b314333}#photo-source-dialog::backdrop{background:#44263755;backdrop-filter:blur(4px)}#photo-source-dialog h2{font-size:22px;margin:0 0 10px}#photo-source-dialog p{font-size:12px;color:#9b7a8a}#photo-source-close{position:absolute;right:12px;top:10px;border:0;font-size:24px;padding:4px 8px}.photo-source-options{display:flex;gap:14px;margin-top:24px}.photo-source-options button{flex:1;display:flex;flex-direction:column;align-items:center;gap:14px;padding:24px 12px;background:#fcf0f6;border:1px solid #efd8e4;border-radius:18px;color:#a45b80;font-size:13px}.photo-source-options button:hover{background:#f6e0ec}.photo-source-options svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.viewer-top #replace{background:#fff8fb;border:1px solid #ebcfdb;border-radius:9px;padding:7px 13px}
.view-ribbons{position:absolute;top:0;left:22px;z-index:3;display:flex;gap:10px}.view-ribbon{position:relative;display:block;cursor:pointer}.view-ribbon input{position:absolute;opacity:0;width:1px;height:1px}.view-ribbon span{display:flex;align-items:center;justify-content:center;min-width:94px;min-height:54px;padding:10px 15px 16px;background:#e9cedb;color:#805269;font-size:11px;clip-path:polygon(0 0,100% 0,100% 100%,50% 87%,0 100%);transition:background .15s,color .15s}.view-ribbon input:checked+span{background:#a9587d;color:white}.view-ribbon input:focus-visible+span{outline:3px solid #5f3650;outline-offset:-4px}.view-ribbon:hover span{filter:brightness(.96)}@media(max-width:900px){.view-ribbons{left:12px;gap:7px}.view-ribbon span{min-width:82px;min-height:48px;font-size:10px;padding:9px 10px 14px}}
#crop-dialog{width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #ecd5e0;border-radius:22px;padding:22px;background:#fffafd;color:#694655}#crop-dialog::backdrop{background:#38253299;backdrop-filter:blur(4px)}#crop-dialog h2{font-size:21px;margin:0 0 8px}#crop-dialog p{font-size:12px;color:#9b7a8a;line-height:1.7}.crop-frame{display:flex;justify-content:center;background:#352632;border-radius:12px;overflow:hidden;margin-top:16px}#crop-canvas{width:auto;max-width:100%;height:auto;max-height: min(46dvh,440px);object-fit:contain;touch-action:none;cursor:grab}.crop-ratios{display:flex;gap:6px;justify-content:center;margin:14px 0}.crop-ratios button{font-size:11px;padding:7px 10px}.crop-ratios button[aria-pressed=true]{background:#a9587d;border-color:#a9587d;color:#fff}.crop-zoom{display:flex;gap:10px;align-items:center;font-size:12px}.crop-zoom input{flex:1;min-width:0;accent-color:#a9587d}.crop-zoom output{width:42px;text-align:right}.crop-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.crop-actions .primary{margin:0;padding:11px 20px}
html body .viewer .stage{height:clamp(320px,calc(100dvh - 190px),720px);min-height:0}html body .stage canvas#canvas{max-width:100%;max-height:100%;object-fit:contain;flex:none}#empty{max-width:100%;max-height:100%;overflow:auto}.viewer .stage #empty{padding-bottom:20px}@media(max-width:900px){html body .viewer .stage{height:clamp(350px,calc(100dvh - 170px),660px)}.viewer .stage #empty{padding-bottom:100px}}
