@font-face{font-family:'DM Sans';font-style:normal;font-weight:300 500;font-display:swap;src:url('./fonts/dm-sans-latin-v17.woff2') format('woff2')}
:root{color-scheme:dark;font-family:'DM Sans',Arial,sans-serif;color:#f6f6f4;background:#080909;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,select{cursor:pointer}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{color:inherit}button:focus-visible,a:focus-visible{outline:2px solid white;outline-offset:4px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:1px solid #fff;outline-offset:1px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.skip{position:fixed;top:-100px;left:20px;z-index:99;background:#fff;color:#111;padding:12px}.skip:focus{top:10px}.beauty-header{position:relative;z-index:15;display:flex;align-items:center;gap:3.6vw;height:58px;margin:16px 2.8vw 0;padding:0 22px;border:1px solid #ffffff25;border-radius:11px;background:#090a0a9c}.beauty-brand img{display:block;width:78px;height:auto}.beauty-header nav{display:flex;align-items:center;gap:clamp(18px,2.1vw,32px);font-size:13px;white-space:nowrap}.beauty-header-actions{margin-left:auto;display:flex;align-items:center;gap:22px;font-size:13px;white-space:nowrap}.beauty-open{display:inline-flex;border-radius:28px;padding:11px 25px;background:#fafaf8;color:#111;font-weight:500}.beauty-credits{display:flex;align-items:center;gap:7px}.beauty-credits>span{display:inline-grid;place-items:center;border:1px solid #aaa;border-radius:50%;width:21px;height:21px;font-size:17px}.beauty-signin{background:none;border:1px solid #ccc;border-radius:50%;width:33px;height:33px;padding:6px}.beauty-signin svg{fill:none;stroke:currentColor;stroke-width:1.4;width:100%;height:100%}
#beauty-workspace{position:relative;isolation:isolate;min-height:850px;padding:28px 4.3vw 24px}.beauty-art{position:absolute;z-index:-2;inset:-74px 0 100px;background:url('./visuals/beauty/beauty-veil-editorial.webp') no-repeat center top/cover;pointer-events:none}.beauty-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#08090988 0%,#08090911 50%,transparent 70%),linear-gradient(0deg,#080909 0,transparent 16%)}.beauty-content{position:relative}.beauty-breadcrumb{display:flex;align-items:center;gap:13px;font-size:12px;color:#aaa}.beauty-breadcrumb button{border:0;padding:0;background:none;color:inherit}.beauty-breadcrumb [aria-current]{color:#eee}.beauty-back{display:flex;align-items:center;gap:10px;padding:0;background:none;border:0;margin:22px 0 20px;font-size:13px}.beauty-back svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5}h1{width:max-content;max-width:100%;margin:0 0 7px;font-size:clamp(56px,6.2vw,90px);font-weight:500;line-height:1.05;letter-spacing:-.06em}.beauty-intro{margin:0 0 22px;font-size:clamp(18px,1.7vw,25px);letter-spacing:-.025em}.beauty-fields{width:min(454px,36vw)}.beauty-photo{display:flex;align-items:center;gap:24px;margin:0 0 22px;padding:0;border-radius:7px}.beauty-photo.is-dragging{outline:1px solid #fff;outline-offset:6px}.beauty-photo-tile{position:relative;display:grid;place-items:center;flex:0 0 180px;height:135px;border:1px solid #ffffff55;border-radius:6px;overflow:hidden;cursor:pointer;background:#1116}.beauty-photo-tile img{width:100%;height:100%;object-fit:cover}.beauty-photo-tile>span:not(.sr-only){font-size:38px;font-weight:300;color:#bbb}.beauty-photo strong{display:block;font-size:17px;font-weight:500}.beauty-photo small{display:block;font-size:10px;line-height:1.5;color:#9c9c9c;max-width:170px;margin-top:9px}.beauty-photo button{border:0;border-bottom:1px solid #aaa;background:none;padding:5px 0 2px;font-size:14px}.beauty-arrow{display:inline-block;position:relative;width:15px;height:10px;margin-left:6px}.beauty-arrow:before{content:'';position:absolute;left:0;right:0;top:5px;height:1px;background:currentColor}.beauty-arrow:after{content:'';position:absolute;right:1px;top:2px;width:6px;height:6px;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg)}.beauty-field{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:10px;font-size:14px;margin:0 0 14px}.beauty-field select,.beauty-generate-bar select{width:100%;min-width:0;appearance:none;border:1px solid #ffffff45;border-radius:7px;color:#f5f5f3;background:#090a0ab3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='white' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 17px center;padding:14px 36px 14px 20px;font-size:14px;line-height:1.25}.beauty-strength{display:flex;align-items:center;gap:18px;margin:24px 0;font-size:14px}.beauty-strength label{min-width:95px}.beauty-strength input{width:100%;min-width:0;accent-color:#fff;height:3px;cursor:pointer}.beauty-strength output{min-width:22px;text-align:right;color:#ccc}.beauty-direction{display:block;font-size:14px}.beauty-direction textarea{display:block;resize:vertical;min-height:82px;width:100%;margin-top:10px;padding:14px 17px;border:1px solid #ffffff55;border-radius:6px;background:#080909b8;color:#fff;line-height:1.5;font-size:14px}.beauty-direction textarea::placeholder{color:#8f9292}.beauty-example-label{position:absolute;right:3vw;top:110px;font-size:11px;letter-spacing:.06em;color:#ccc}.beauty-example-label:after{content:'';display:block;width:36px;margin:12px 0 0 auto;border-bottom:1px solid #aaa}.beauty-generate-bar{position:relative;display:flex;align-items:center;gap:28px;max-width:1160px;min-height:70px;margin:30px auto 0;padding:11px 14px 11px 24px;border:1px solid #ffffff29;border-radius:11px;background:#090a0adc;backdrop-filter:blur(12px)}.beauty-generate-bar>label:not(.sr-only){display:flex;align-items:center;gap:14px;font-size:14px;flex:0 1 330px}.beauty-generate-bar>select{flex:0 1 150px}.beauty-generate-bar select{padding:11px 35px 11px 17px;font-size:13px}.beauty-generate-bar button{margin-left:auto;flex:0 0 auto;min-width:205px;border:0;border-radius:30px;background:#fafaf8;color:#111;padding:13px 24px;min-height:43px;font-size:14px;font-weight:500}.beauty-generate-bar button:disabled{opacity:.6;cursor:wait}.beauty-status{font-size:13px;line-height:1.5;margin:9px 0 0;min-height:20px;color:#bfc2c2}.beauty-status.error{color:#ffc1b5}#beauty-check-history{font-size:13px;text-decoration:underline}.beauty-result{position:absolute;right:3vw;top:120px;left:47%;bottom:250px;display:flex;flex-direction:column;align-items:center;gap:12px;min-height:250px;z-index:-1}.beauty-result>img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;border-radius:5px}.beauty-result>a{font-size:13px;text-decoration:underline}.has-result .beauty-art{opacity:.2}.beauty-results{border-top:1px solid #ffffff35;margin-top:10px;padding:19px 0 0}.beauty-results-heading{display:flex;align-items:center;justify-content:space-between}.beauty-results h2{font-size:15px;font-weight:400;margin:0}.beauty-results-heading button{color:#ddd;background:none;border:0;font-size:12px}.beauty-history{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:13px;margin-top:14px}.beauty-history button{min-width:0;height:150px;padding:0;overflow:hidden;background:#161818;border:1px solid #ffffff25;border-radius:5px}.beauty-history img{width:100%;height:100%;object-fit:cover}.beauty-history span{display:block;padding:10px;font-size:12px}.beauty-results:has(#beauty-empty-results:not([hidden])) h2{display:none}#beauty-empty-results{display:flex;align-items:center;flex-direction:column;gap:11px;font-size:13px;color:#a2a5a5;margin:5px 0 14px}#beauty-empty-results svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.2}
@media(min-width:1650px){#beauty-workspace{max-width:1900px;margin:0 auto}.beauty-fields{width:500px}.beauty-photo{margin-bottom:30px}.beauty-field{margin-bottom:20px}.beauty-direction textarea{min-height:94px}.beauty-art{background-position:center top}}
@media(max-width:1180px){.beauty-header{gap:22px;padding-inline:18px}.beauty-header nav{gap:19px;font-size:12px}.beauty-header-actions{gap:14px}.beauty-open{display:none}.beauty-fields{width:44vw}.beauty-art{background-position:55% top}.beauty-photo-tile{flex-basis:145px;height:112px}.beauty-generate-bar{gap:14px}.beauty-generate-bar>label:not(.sr-only){flex-basis:300px}.beauty-result{left:51%}}
@media(max-width:760px){.beauty-header{margin:10px 14px 0;height:auto;min-height:55px;flex-wrap:wrap;gap:0;padding:11px 15px}.beauty-brand img{width:72px}.beauty-header-actions{gap:15px}.beauty-header nav{order:3;flex:0 0 100%;gap:23px;overflow-x:auto;scrollbar-width:none;padding:16px 0 3px;font-size:12px}.beauty-header nav::-webkit-scrollbar{display:none}.beauty-header nav>a{flex-shrink:0}.beauty-header nav>a[href*='pricing']{display:none}.beauty-credits{font-size:12px}.beauty-credits>span{width:18px;height:18px}.beauty-signin{width:29px;height:29px}#beauty-workspace{padding:24px 22px 22px}.beauty-breadcrumb{font-size:10px;gap:9px;flex-wrap:wrap}.beauty-back{margin:18px 0;font-size:12px}h1{font-size:clamp(40px,9.2vw,62px);letter-spacing:-.055em}.beauty-intro{font-size:17px;margin-bottom:24px}.beauty-art{inset:-110px 0 160px;background-position:68% top;background-size:auto 820px;opacity:.62}.beauty-art:after{background:linear-gradient(90deg,#080909a6,#08090911),linear-gradient(0deg,#080909 30%,transparent 80%)}.beauty-fields{width:100%;max-width:500px}.beauty-photo{gap:20px;margin-bottom:24px}.beauty-photo-tile{flex-basis:132px;height:104px}.beauty-photo strong{font-size:16px}.beauty-field{grid-template-columns:84px minmax(0,1fr);font-size:14px}.beauty-field select{font-size:16px;padding:12px 35px 12px 15px;background-color:#080909cf}.beauty-strength{gap:14px}.beauty-strength label{min-width:85px}.beauty-direction textarea{font-size:16px;min-height:96px;background:#080909dd}.beauty-example-label{top:100px;right:20px;font-size:9px}.beauty-generate-bar{margin:24px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px;background:#080909ef}.beauty-generate-bar>label:not(.sr-only){grid-column:1/-1;font-size:13px}.beauty-generate-bar select{font-size:16px;min-height:44px}.beauty-generate-bar>label select{flex:1}.beauty-generate-bar button{grid-column:1/-1;width:100%;margin:2px 0 0;min-height:47px;font-size:15px}.beauty-status{margin-top:12px}.beauty-result{position:relative;inset:auto;width:100%;height:460px;margin:18px 0 28px;z-index:0}.beauty-results{margin-top:18px}.beauty-history{grid-template-columns:repeat(2,minmax(0,1fr))}.beauty-history button{height:170px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.beauty-result{z-index:2}.beauty-reset-pending{display:block;margin-top:12px;padding:0;border:0;border-bottom:1px solid #999;background:none;color:#bbb;font-size:12px;cursor:pointer}
.beauty-strength label{white-space:nowrap}
.beauty-field select:focus-visible,.beauty-direction textarea:focus-visible,.beauty-generate-bar select:focus-visible{outline:none;border-color:#fff;box-shadow:none}
/* Bound the live result to the editor, independently of growing History. */
.beauty-generate-bar{z-index:3}.beauty-content>.beauty-result{bottom:120px}
@media(max-width:760px){.beauty-content>.beauty-result{bottom:auto}}
/* Keep the complete editing sequence in view on desktop, including shorter screens. */
@media(min-width:761px){
 #beauty-workspace{padding-top:16px}
 .beauty-art{background-position:right top;background-size:auto max(900px,100vh)}
 .beauty-back{margin:10px 0}
 h1{font-size:clamp(56px,min(6.2vw,9vh),90px)}
 .beauty-intro{font-size:clamp(18px,1.7vw,23px);margin-bottom:14px}
 .beauty-photo{gap:20px;margin-bottom:16px}
 .beauty-photo-tile{flex-basis:clamp(120px,16vh,170px);height:clamp(90px,12vh,128px)}
 .beauty-field{margin-bottom:10px}
 .beauty-field select{min-height:44px;padding-block:11px}
 .beauty-strength{margin:16px 0}
 .beauty-direction textarea{height:clamp(64px,8vh,88px);min-height:64px;margin-top:8px}
 .beauty-generate-bar{margin-top:16px}
}
@media(min-width:761px) and (max-height:780px){
 #beauty-workspace{padding-top:10px}
 .beauty-back{margin:6px 0}
 .beauty-intro{font-size:20px;margin-bottom:12px}
 .beauty-photo{margin-bottom:12px}
 .beauty-photo-tile{flex-basis:120px;height:90px}
 .beauty-field{margin-bottom:9px}
 .beauty-field select{min-height:40px;padding-block:10px}
 .beauty-strength{margin:14px 0}
 .beauty-direction textarea{height:64px}
 .beauty-generate-bar{margin-top:14px}
}
