@font-face{font-family:Montserrat;src:url('assets/fonts/Montserrat-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Montserrat;src:url('assets/fonts/Montserrat-Medium.ttf') format('truetype');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:Montserrat;src:url('assets/fonts/Montserrat-SemiBold.ttf') format('truetype');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:Montserrat;src:url('assets/fonts/Montserrat-Bold.ttf') format('truetype');font-style:normal;font-weight:700 800;font-display:swap}
@font-face{font-family:Playfair;src:url('assets/fonts/PlayfairDisplay-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Playfair;src:url('assets/fonts/PlayfairDisplay-SemiBold.ttf') format('truetype');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:Playfair;src:url('assets/fonts/PlayfairDisplay-Bold.ttf') format('truetype');font-style:normal;font-weight:700 800;font-display:swap}
:root{--bg:#fffcfa;--surface:#fff;--surface-soft:#f8f3ef;--surface-alt:#f2ebe6;--text:#1a1520;--muted:#816c68;--accent:#a56951;--accent-soft:#f4e8e0;--rose:#c9947e;--border:#e9e1db;--positive:#34725b;--positive-bg:#e8f2eb;--danger:#aa3e49;--shadow:0 12px 40px #32201807;--nav-bg:#fffcfaf2;color-scheme:light;font-family:Montserrat,system-ui,sans-serif;font-size:14px}
:root[data-theme=dark]{--bg:#09090b;--surface:#131316;--surface-soft:#1a1a1e;--surface-alt:#242125;--text:#f0eeec;--muted:#aaa1a0;--accent:#dfa98f;--accent-soft:#352924;--rose:#c9947e;--border:#ffffff20;--positive:#93ccad;--positive-bg:#1d3227;--danger:#f39ba1;--shadow:0 12px 40px #0002;--nav-bg:#131316f2;color-scheme:dark}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);line-height:1.6;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
button,input,select,textarea{font:inherit;color:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button{border:0;background:none}
a{color:inherit;text-decoration:none}
button:disabled{opacity:.5;cursor:default}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
button{touch-action:manipulation}
img,svg{display:block;max-width:100%}
input,select,textarea{min-width:0}
input,select,textarea,button{border-radius:0}
input[type=number]{appearance:textfield;-moz-appearance:textfield}
input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
h1,h2,h3,p{margin-top:0}
h1,h2{font-family:Playfair,Georgia,serif;font-weight:400;line-height:1.22}
h1{font-size:clamp(30px,3.1vw,43px);letter-spacing:-1.1px;margin-bottom:10px}
h2{font-size:25px;letter-spacing:-.35px;margin-bottom:12px}
h3{line-height:1.4}
p{margin-bottom:16px}
strong{font-weight:600}
.muted{color:var(--muted)}
.small{font-size:12px}
.centered{text-align:center}
.positive{color:var(--positive)}
.negative{color:var(--danger)!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;top:8px;left:8px;z-index:30;padding:12px;background:var(--surface);transform:translateY(-200%)}
.skip-link:focus{transform:translateY(0)}
.icon{width:21px;height:21px;flex-shrink:0}
.icon-button{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:50%;background:var(--surface);flex-shrink:0}
.icon-button:hover{background:var(--accent-soft)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 22px;border-radius:12px;font-size:12px;font-weight:600;line-height:1.5;transition:background .15s,transform .15s;border:1px solid transparent;text-align:center}
.button:hover{transform:translateY(-1px)}
.button.primary{background:var(--accent);color:#fff}
[data-theme=dark] .button.primary{color:#201612}
.button.secondary{border-color:var(--border);background:var(--surface)}
.button.secondary:hover{background:var(--accent-soft);border-color:var(--rose)}
.button.danger{background:var(--surface);border-color:var(--border);color:var(--danger)}
.text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;color:var(--accent);font-size:11px;font-weight:600;padding:6px 0;letter-spacing:.2px;white-space:nowrap}
.text-button .icon{width:16px;height:16px}
.subtle{color:var(--muted)}
.full{width:100%}
.grow{flex:1}
.button-row{display:flex;gap:12px;align-items:center;margin-top:22px;flex-wrap:wrap}
.eyebrow{font-family:Montserrat,sans-serif;font-size:10px;line-height:1.5;letter-spacing:1.8px;color:var(--muted);font-weight:600;text-transform:uppercase;margin-bottom:12px}
.sample-label{font-size:9px;font-weight:600;letter-spacing:1px;display:inline-block;border-radius:5px;color:var(--muted);background:var(--surface-alt);padding:5px 8px;white-space:nowrap}
.fine-print{font-size:10px;color:var(--muted);line-height:1.8;margin:18px 0 0}
.card{border:1px solid var(--border);background:var(--surface);border-radius:22px;padding:28px;box-shadow:var(--shadow);min-width:0}
.app-shell{max-width:1600px;margin:auto;display:flex;min-height:100dvh}
.sidebar{width:232px;padding:34px 24px 24px;border-right:1px solid var(--border);display:flex;flex-direction:column;position:fixed;top:0;bottom:0;background:var(--bg);z-index:4}
.wordmark{display:flex;align-items:center;gap:10px;margin-bottom:64px}
.wordmark>.icon{width:35px;height:35px;color:var(--accent)}
.wordmark>span{font-family:Playfair,Georgia,serif;letter-spacing:4px;font-size:24px;line-height:1.4}
.wordmark small{font:400 6px Montserrat,sans-serif;display:block;letter-spacing:1.4px;white-space:nowrap}
.sidebar-label{font-size:9px;letter-spacing:1.7px;color:var(--muted);margin-left:14px;margin-bottom:16px}
.nav-item{display:flex;width:100%;min-height:52px;align-items:center;gap:15px;text-align:left;padding:12px 16px;border-radius:12px;color:var(--muted);margin:5px 0;font-size:12px}
.nav-item.active{background:var(--accent-soft);color:var(--accent);font-weight:600}
.nav-item:hover{background:var(--surface-alt)}
.nav-dot{width:5px;height:5px;border-radius:50%;background:var(--accent);margin-left:auto}
.sidebar-bottom{margin-top:auto;padding-top:40px}
.demo-note{display:flex;align-items:flex-start;gap:10px;margin:0 4px 22px}
.demo-note>.icon{width:16px;height:16px;color:var(--accent);margin-top:3px}
.demo-note strong{font-size:10px}
.demo-note p{font-size:10px;color:var(--muted);line-height:1.8;margin:6px 0}
.sidebar-bottom>.text-button{margin:10px auto 0;display:flex}
.workspace{margin-left:232px;flex:1;min-width:0}
.topbar{height:94px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);padding:0 42px}
.demo-badge{display:inline-flex;align-items:center;gap:8px;font-size:8px;letter-spacing:1.6px;font-weight:600;color:var(--muted)}
.demo-badge>span{width:5px;height:5px;border-radius:50%;background:var(--rose);box-shadow:0 0 0 4px var(--accent-soft)}
.topbar-actions{display:flex;align-items:center;gap:12px}
.topbar-actions .icon-button{border:0;background:transparent;width:34px}
.avatar{font-family:Playfair,serif;background:var(--accent-soft);color:var(--accent);font-size:17px;border-radius:50%;width:36px;height:36px;border:1px solid var(--border)}
.mobile-wordmark{display:none}
main{max-width:1210px;padding:36px 42px 22px;margin:auto;outline:0}
.page-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:30px}
.page-heading .eyebrow{font-size:9px;letter-spacing:1.7px;margin-bottom:10px}
.page-heading .muted{font-size:12px;margin:0;line-height:1.8}
.page-heading>.button{flex-shrink:0}
.app-footer{display:flex;justify-content:space-between;gap:16px;padding:32px 42px;color:var(--muted);font-size:9px;letter-spacing:.1px;max-width:1210px;margin:auto}
.bottom-nav{display:none}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(245px,1fr);gap:26px}
.dashboard-main,.dashboard-aside{min-width:0}
.value-card{position:relative;overflow:hidden;border:1px solid var(--border);border-radius:24px;background:linear-gradient(125deg,var(--surface),var(--surface-alt));padding:28px 28px 0}
.value-top{display:flex;justify-content:space-between;align-items:center}
.value-top .eyebrow{margin:0;font-size:10px}
.value-top>.icon{color:var(--rose);width:28px;height:28px}
.big-value{font-family:Playfair,Georgia,serif;font-size:clamp(34px,3.7vw,51px);font-weight:600;letter-spacing:-1.3px;line-height:1.3;margin:20px 0 12px}
.big-value>small{font-family:Montserrat,sans-serif;font-size:15px;color:var(--accent);font-weight:400;letter-spacing:0}
.gain{display:inline-flex;align-items:center;gap:5px;color:var(--positive);font-size:11px;font-weight:600;background:var(--positive-bg);padding:5px 9px;border-radius:7px}
.gain span{font-weight:400;font-size:9px}
.hero-chart{height:88px;margin:20px -28px 0}
.hero-chart svg{height:100%;width:100%}
.value-bottom{display:flex;justify-content:space-between;align-items:center;position:relative;padding:4px 0 10px;gap:10px}
.value-bottom>span{color:var(--muted);font-size:9px}
.value-bottom .text-button{font-size:9px}
.stats-row{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--border);border-radius:16px;background:var(--surface);padding:18px 0;margin:18px 0 24px}
.stats-row>div{text-align:center;border-right:1px solid var(--border)}
.stats-row>div:last-child{border:0}
.stats-row strong{font-family:Playfair,serif;font-size:24px;display:block;line-height:1.25}
.stats-row strong small{font-weight:400;font-size:18px}
.stats-row span{font-size:8px;letter-spacing:1.4px;color:var(--muted)}
.market-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.market-heading .eyebrow{font-size:9px;margin:0}
.market-rates{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:30px}
.market-rates>div{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px 12px;display:flex;align-items:center;gap:10px}
.market-rates>div>.icon{color:var(--accent);width:20px;height:20px}
.market-rates>div>span:not(.rate-change){font-size:8px;letter-spacing:.6px;color:var(--muted)}
.market-rates strong{display:block;color:var(--text);font-size:11px;letter-spacing:0;white-space:nowrap}
.market-rates strong small{color:var(--muted);font-weight:400;font-size:9px}
.rate-change{color:var(--positive);font-size:9px;white-space:nowrap;margin-left:auto}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 18px}
.section-heading h2{margin:0;font-size:23px}
.recent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.piece-card{text-align:left;display:flex;flex-direction:column;min-width:0;padding:9px;background:var(--surface);border:1px solid var(--border);border-radius:21px;transition:box-shadow .18s,border-color .18s}
.piece-card:hover{border-color:var(--rose);box-shadow:0 6px 25px #aa776611}
.piece-art{position:relative;aspect-ratio:1/1;background:radial-gradient(ellipse at 50% 40%,#fffefa,#f3eee8);border-radius:14px;overflow:hidden;width:100%;display:flex;align-items:center;justify-content:center}
[data-theme=dark] .piece-art{background:radial-gradient(ellipse at 50% 40%,#2e2824,#1b191a)}
.jewelry{width:100%;height:100%;pointer-events:none;filter:drop-shadow(0 7px 5px #3a2c1718)}
.piece-art>.jewelry{width:87%;height:87%;transition:transform .3s}
.piece-card:hover .piece-art>.jewelry{transform:translateY(-3px) rotate(-3deg)}
.material-tag{position:absolute;left:9px;bottom:9px;font-size:8px;padding:3px 7px;color:#765b3c;background:#fffdf1c9;border-radius:5px;letter-spacing:.3px}
[data-theme=dark] .material-tag{background:#201b17cf;color:#dec9a1}
.piece-info{padding:12px 6px 8px}
.piece-info h3{font-size:11px;font-weight:600;margin:0 0 6px;line-height:1.5}
.piece-info p{font-size:9px;color:var(--muted);margin:0 0 10px}
.piece-info p>span{padding:0 3px}
.piece-info>strong{font-family:Playfair,serif;color:var(--accent);font-size:18px;font-weight:400}
.compact .piece-info h3{font-size:10px}
.compact .piece-info{padding:10px 3px 5px}
.compact .material-tag{font-size:7px;padding:2px 5px;left:5px;bottom:5px}
.compact .piece-info>strong{font-size:16px}
.guide-card{background:var(--surface);border:1px solid var(--border);border-radius:22px;padding:24px}
.guide-card>.eyebrow{font-size:8px;letter-spacing:1.1px}
.guide-card h2{font-size:29px;margin:14px 0 12px;max-width:240px}
.guide-card>.muted{font-size:11px;line-height:1.9}
.tasks{margin:14px 0}
.task{display:flex;align-items:center;gap:11px;width:100%;padding:17px 0;text-align:left;border-bottom:1px solid var(--border)}
.task:last-child{border:0}
.task>.icon{width:14px;margin-left:auto;color:var(--muted)}
.task-number{font-size:10px;flex:0 0 30px;height:30px;border:1px solid var(--border);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--accent)}
.task-number .icon{width:15px}
.task.done .task-number{background:var(--positive-bg);border-color:transparent;color:var(--positive)}
.task strong{display:block;font-size:10px;margin-bottom:5px}
.task small{display:block;font-size:9px;color:var(--muted);max-width:160px;line-height:1.7}
.guide-progress{height:3px;background:var(--surface-alt);border-radius:3px;overflow:hidden;margin-top:20px}
.guide-progress span{display:block;height:100%;background:var(--rose)}
.guide-card>small{font-size:9px;color:var(--muted);display:block;margin-top:8px}
.stylist-teaser{position:relative;text-align:left;width:100%;padding:24px;border:1px solid var(--border);border-radius:22px;background:var(--surface-soft);overflow:hidden;margin-top:22px;min-height:242px}
.stylist-teaser>.eyebrow{font-size:8px;letter-spacing:1.2px}
.stylist-teaser h2{position:relative;z-index:1;font-size:28px;margin:16px 0 30px}
.stylist-teaser .text-button{position:relative;z-index:1}
.teaser-jewelry{position:absolute;width:70%;height:190px;right:-20px;bottom:-5px;transform:rotate(-15deg);opacity:.9}
.teaser-jewelry>.jewelry:first-child{position:absolute;width:100%;right:0;bottom:0}
.teaser-jewelry>.jewelry:last-child{position:absolute;width:47%;height:100px;right:-5%;top:-20px}
.tools-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:30px}
.tool-card{border:1px solid var(--border);background:var(--surface);border-radius:15px;padding:20px 16px;display:flex;gap:12px;align-items:center;text-align:left;min-width:0;width:100%}
.tool-card:hover{border-color:var(--rose)}
.tool-icon{display:flex;align-items:center;justify-content:center;width:37px;height:37px;flex-shrink:0;background:var(--accent-soft);color:var(--accent);border-radius:10px}
.tool-icon>.icon{width:19px}
.tool-card strong{display:block;font-size:10px;margin-bottom:4px}
.tool-card small{display:block;font-size:9px;color:var(--muted);line-height:1.7}
.tool-card>.icon{width:14px;margin-left:auto;color:var(--muted)}
.vault-toolbar{display:flex;gap:15px;align-items:center;margin-bottom:20px}
.search-box{display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:0 14px;flex:1;min-width:0;color:var(--muted)}
.search-box>input{border:0;background:transparent;padding:14px 0;width:100%;font-size:12px;outline-offset:0}
.search-box>.icon{width:18px}
.sort-label>select{background:var(--surface);border:1px solid var(--border);padding:14px 12px;border-radius:12px;font-size:11px;max-width:180px}
.filter-chips{display:flex;gap:9px;overflow:auto;padding:3px 2px 10px;scrollbar-width:none}
.chip{padding:8px 18px;border:1px solid var(--border);border-radius:100px;color:var(--muted);background:var(--surface);font-size:11px;min-height:40px;white-space:nowrap}
.chip.selected{color:var(--accent);border-color:var(--rose);background:var(--accent-soft)}
#result-count{margin:6px 0 16px;font-size:10px}
.vault-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.vault-grid .piece-info{padding:16px 10px 10px}
.vault-grid .piece-info h3{font-size:12px}
.vault-grid .piece-info>strong{font-size:22px}
.vault-grid .piece-info p{font-size:10px}
.empty-state{padding:40px 20px;text-align:center;grid-column:1/-1;width:100%}
.empty-state>.icon{width:38px;height:38px;color:var(--rose);margin:0 auto 20px}
.empty-state>h2{font-size:26px}
.empty-state>h3{font-size:13px}
.empty-state>.muted{font-size:12px}
.add-layout{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.3fr);gap:24px;align-items:start}
.art-picker{position:sticky;top:24px}
.art-picker>.eyebrow{font-size:8px}
#chosen-art{aspect-ratio:1;max-height:320px;background:radial-gradient(ellipse,#fffcf5,var(--surface-alt));border-radius:14px;margin:20px 0}
[data-theme=dark] #chosen-art{background:radial-gradient(ellipse,#393025,#1a191b)}
#chosen-art .jewelry{padding:10px}
.art-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.art-option{border:1px solid var(--border);border-radius:9px;aspect-ratio:1;background:var(--surface-soft);padding:3px;min-width:0}
.art-option.selected{border-color:var(--rose);background:var(--accent-soft)}
.art-picker>.button{margin-top:20px}
.field{display:flex;flex-direction:column;gap:8px;margin-bottom:20px;min-width:0}
.field>span{font-size:11px;font-weight:600}
.field input,.field select,.field textarea{width:100%;background:var(--surface-soft);border:1px solid var(--border);border-radius:10px;padding:13px 14px;font-size:13px;min-height:47px}
.field input::placeholder,.field textarea::placeholder{color:var(--muted);opacity:.85;font-size:11px}
.field textarea{resize:vertical;line-height:1.7}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--rose)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:18px}
.form-card .section-heading h2{font-size:25px}
.form-card .section-heading .sample-label{font-size:7px}
.form-error{color:var(--danger);font-size:11px}
.form-error:empty{display:none}
.looks-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.look-card{padding:12px;border:1px solid var(--border);border-radius:22px;background:var(--surface);text-align:left;min-width:0;overflow:hidden}
.look-card>.look-stage{border-radius:13px;max-height:380px}
.look-stage{position:relative;isolation:isolate;aspect-ratio:1/1.1;width:100%;overflow:hidden;background:radial-gradient(ellipse at 50% 35%,#fefcf8,#e9e2dc);border-radius:16px}
.mannequin{position:absolute;width:91%;height:94%;object-fit:contain;bottom:0;left:4.5%;pointer-events:none;user-select:none}
.placed-piece{position:absolute;transform:translate(-50%,-50%);padding:0;aspect-ratio:1;display:block;z-index:1;touch-action:none;user-select:none;border:0;border-radius:8px}
.placed-piece .jewelry{filter:drop-shadow(0 2px 1px #0003)}
.placed-piece.selected-placement{outline:1px dashed #b58552;background:#d2a56a10}
.editable-stage{min-height:320px}
.editable-stage .placed-piece{cursor:grab}
.editable-stage .placed-piece:active{cursor:grabbing}
.look-card-info{display:flex;justify-content:space-between;align-items:center;padding:20px 10px 12px;gap:10px}
.look-card-info h2{font-size:25px;margin:0 0 5px}
.look-card-info p{color:var(--muted);font-size:10px;margin:0}
.look-card-info>.icon{color:var(--accent);width:18px}
.new-look-card{border:1px dashed var(--rose);border-radius:22px;min-height:350px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px;background:var(--surface-soft)}
.new-look-card>.icon{width:40px;height:40px;color:var(--accent);margin-bottom:20px}
.new-look-card h2{font-size:30px}
.new-look-card p{font-size:12px;line-height:1.8}
.look-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:start}
.stage-card{padding:14px}
.stage-card .fine-print{font-size:9px;margin:14px 0}
.resize-label{display:flex;gap:15px;align-items:center;color:var(--muted);font-size:10px;padding:8px 12px}
.resize-label>input{flex:1;min-width:0;accent-color:var(--accent)}
.look-controls .section-heading h2{font-size:22px}
.look-piece-list{max-height:430px;overflow:auto;padding:3px}
.look-choice{display:flex;align-items:center;gap:12px;text-align:left;width:100%;border:1px solid var(--border);border-radius:12px;padding:8px;margin-bottom:8px;background:var(--surface)}
.look-choice>.jewelry{width:52px;height:52px;background:var(--surface-soft);border-radius:8px;flex-shrink:0}
.look-choice strong{font-size:10px;display:block}
.look-choice small{font-size:9px;display:block;color:var(--muted);margin-top:5px}
.choice-check{margin-left:auto;width:20px;height:20px;border:1px solid var(--border);border-radius:50%;color:transparent;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.choice-check>.icon{width:12px}
.look-choice.selected{border-color:var(--rose);background:var(--accent-soft)}
.look-choice.selected .choice-check{color:#fff;background:var(--accent);border-color:var(--accent)}
.profile-layout{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.3fr);gap:26px;align-items:start}
.profile-card{text-align:center}
.profile-avatar{font-family:Playfair,serif;font-size:33px;color:var(--accent);background:var(--accent-soft);width:82px;height:82px;border:1px solid var(--border);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:3px auto 20px}
.profile-card h2{font-size:27px}
.profile-card>.muted{font-size:11px}
.profile-stats{display:grid;grid-template-columns:1fr 1fr;margin:28px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:20px 0}
.profile-stats>div+div{border-left:1px solid var(--border)}
.profile-stats strong{font-family:Playfair,serif;display:block;font-size:27px;line-height:1.3}
.profile-stats small{font-size:10px;color:var(--muted)}
.preference-row{display:flex;justify-content:space-between;align-items:center;margin-top:20px;font-size:11px;gap:15px}
.preference-row>.chip{display:flex;gap:8px;align-items:center;padding:8px 14px}
.preference-row>.chip .icon{width:14px}
.preference-row>select{padding:8px 12px;border:1px solid var(--border);background:var(--surface-soft);border-radius:10px}
.profile-tools .tool-card{border:0;border-bottom:1px solid var(--border);border-radius:0;padding:20px 0;background:transparent}
.profile-tools .tool-card:last-child{border:0;padding-bottom:0}
.profile-tools .tool-card strong{font-size:12px}
.profile-tools .tool-card small{font-size:10px}
.reset-card{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:24px}
.reset-card h2{font-size:22px;margin:0 0 8px}
.reset-card .muted{font-size:10px;margin:0}
.reset-card .icon{display:none}
.reset-card>.button{padding:10px 14px;white-space:nowrap;font-size:10px}
.insight-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:25px}
.insight-stats .card{padding:22px}
.insight-stats .eyebrow{display:block;font-size:8px;letter-spacing:1.1px}
.insight-stats strong{font-family:Playfair,serif;font-size:27px;line-height:1.4;white-space:nowrap}
.insights-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:25px}
.insights-layout>.card>h2{font-size:25px}
.donut{width:210px;height:210px;margin:32px auto;border-radius:50%;display:grid;place-items:center}
.donut>div{width:156px;height:156px;background:var(--surface);border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center}
.donut strong{font-family:Playfair,serif;font-size:45px;font-weight:400;line-height:1.2}
.donut span{color:var(--muted);font-size:9px;margin-top:9px}
.legend>div{display:flex;align-items:center;gap:10px;margin:15px 0;font-size:11px}
.legend-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.legend strong{margin-left:auto;font-weight:400}
.legend small{color:var(--muted);font-size:9px;width:35px;text-align:right}
.ranked-pieces>button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:14px 0;border-bottom:1px solid var(--border)}
.ranked-pieces>button:last-child{border:0}
.ranked-pieces .jewelry{width:50px;height:50px;background:var(--surface-soft);border-radius:10px;flex-shrink:0}
.ranked-pieces>button>span{min-width:0}
.ranked-pieces>button>span strong{font-size:10px;display:block}
.ranked-pieces small{color:var(--muted);display:block;font-size:9px;margin-top:4px}
.ranked-pieces>button>strong{margin-left:auto;font-size:10px;white-space:nowrap;color:var(--accent)}
.calculator-layout,.feedback-layout{display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:start}
.segmented{display:flex;background:var(--surface-alt);padding:4px;border-radius:12px;margin-bottom:24px;gap:4px}
.segmented>button{flex:1;min-height:42px;font-size:11px;border-radius:9px;padding:8px}
.segmented>button.selected{background:var(--surface);color:var(--accent);box-shadow:0 2px 8px #0000000a}
.sample-rate{display:flex;align-items:center;gap:12px;padding:16px;background:var(--accent-soft);border-radius:12px;margin:16px 0 26px}
.sample-rate>.icon{color:var(--accent);width:25px;height:25px}
.sample-rate>span{font-size:10px;color:var(--muted)}
.sample-rate strong{display:block;font-size:15px;color:var(--accent);font-weight:600;margin-top:3px}
.sample-rate .sample-label{margin-left:auto;background:var(--surface);font-size:7px}
.calculator-result{text-align:center;padding:34px 28px}
.result-icon{display:flex;align-items:center;justify-content:center;width:60px;height:60px;background:var(--accent-soft);color:var(--accent);border-radius:50%;margin:0 auto 25px}
.result-icon>.icon{width:26px;height:26px}
.calculator-result h2{font-size:40px;letter-spacing:-.8px;margin-bottom:10px;color:var(--accent)}
.calculator-result .eyebrow{font-size:9px;letter-spacing:1.4px}
.calculator-result>.muted{font-size:10px}
.result-breakdown{margin:30px 0 20px}
.result-breakdown>div{display:flex;justify-content:space-between;text-align:left;gap:18px;padding:13px 0;border-bottom:1px solid var(--border);font-size:11px}
.result-breakdown>div>span{color:var(--muted)}
.result-breakdown>div>strong{font-size:11px;text-align:right}
.estimate-verdict{background:var(--accent-soft);color:var(--accent);border-radius:10px;padding:12px;font-size:11px}
.info-note{display:flex;align-items:flex-start;gap:12px;margin-top:24px;background:var(--surface-soft);padding:18px 22px;border-radius:14px}
.info-note>.icon{color:var(--accent);width:18px;margin-top:2px}
.info-note>p{font-size:10px;color:var(--muted);margin:0;line-height:1.9}
.check-row{display:flex;align-items:flex-start;gap:10px;margin:24px 0;font-size:11px}
.check-row input{width:16px;height:16px;accent-color:var(--accent);flex-shrink:0}
.alert-row{display:flex;align-items:center;gap:12px;padding:22px 0;border-bottom:1px solid var(--border)}
.alert-row>.icon{color:var(--accent)}
.alert-row strong{font-size:11px;display:block}
.alert-row small{font-size:9px;color:var(--muted);display:block;margin-top:7px}
.alert-row>.icon-button{margin-left:auto;width:32px;height:32px}
.alert-row>.icon-button .icon{width:15px}
.discussion-card{background:var(--surface-soft)}
.discussion-card .eyebrow{font-size:8px}
.discussion-card>h2{font-size:31px;max-width:220px;line-height:1.4}
.discussion-card ol{padding-left:22px;margin-bottom:0}
.discussion-card li{font-size:12px;padding:14px 0 14px 6px;border-bottom:1px solid var(--border);line-height:1.8}
.discussion-card li:last-child{border:0}
.discussion-card li::marker{color:var(--accent);font-family:Playfair,serif}
dialog{border:1px solid var(--border);border-radius:23px;background:var(--bg);color:var(--text);width:min(540px,calc(100% - 28px));max-height:calc(100dvh - 50px);padding:0;box-shadow:0 24px 100px #0003;overscroll-behavior:contain}
dialog::backdrop{background:#18101670;backdrop-filter:blur(5px)}
body:has(dialog[open]){overflow:hidden}
.modal-header{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--border);position:sticky;top:0;background:var(--nav-bg);backdrop-filter:blur(12px);z-index:3}
.modal-header h2{font-size:24px;margin:0}
.modal-header .icon-button{width:32px;height:32px;border:0;background:var(--surface-alt)}
.modal-header .icon-button>.icon{width:16px}
.modal-body{padding:24px}
.modal-body>.muted{font-size:12px;line-height:1.9}
.passport-art{height:210px;background:radial-gradient(ellipse,#fefbf4,#eee6da);border-radius:15px;position:relative;display:flex;align-items:center;justify-content:center;margin-bottom:24px}
.passport-art>.jewelry{height:200px;width:200px}
.passport-art>.sample-label{position:absolute;right:12px;top:12px;background:#ffffffa1;color:#755f4b;font-size:7px}
.passport-name{font-family:Playfair,serif;font-size:29px;font-weight:400;line-height:1.4;margin:0 0 22px}
.passport-value{padding:18px 20px;border:1px solid var(--border);border-radius:13px;background:var(--surface);margin-bottom:23px}
.passport-value>span{display:block;font-size:10px;color:var(--muted)}
.passport-value>strong{display:block;font-family:Playfair,serif;font-weight:400;font-size:31px;color:var(--accent);margin:5px 0}
.passport-value>small{font-size:10px}
.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px 12px}
.details-grid>div{min-width:0}
.details-grid dt{font-size:9px;color:var(--muted);margin-bottom:5px}
.details-grid dd{margin:0;font-size:12px;overflow-wrap:anywhere}
.span-two{grid-column:1/-1}
.notes-card{background:var(--surface-soft);padding:16px;border-radius:12px;margin-top:24px}
.notes-card>.eyebrow{font-size:8px;margin-bottom:8px}
.notes-card>p{font-size:11px;line-height:1.9;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.receipt-button{display:flex;align-items:center;gap:12px;width:100%;padding:18px 0;text-align:left;border-bottom:1px solid var(--border);margin-top:8px}
.receipt-button>.icon{color:var(--accent)}
.receipt-button>span{font-size:11px}
.receipt-button small{display:block;color:var(--muted);font-size:9px;margin-top:4px}
.receipt-button>.icon:last-child{width:15px;margin-left:auto}
.look-inventory{margin:12px 0}
.look-inventory>button{display:flex;align-items:center;gap:12px;text-align:left;padding:8px 0;border-bottom:1px solid var(--border);width:100%;font-size:11px}
.look-inventory .jewelry{width:48px;height:48px;background:var(--surface-soft);border-radius:8px;flex-shrink:0}
.look-inventory>button>.icon{margin-left:auto;width:15px;color:var(--accent)}
.welcome-dialog{max-width:500px}
.welcome-dialog .modal-header{border:0;padding-top:28px;gap:5px}
.welcome-dialog .modal-header h2{font-size:29px;line-height:1.35;max-width:340px}
.welcome-dialog .modal-body{padding-top:0}
.welcome-art{display:flex;height:160px;justify-content:center;gap:0;margin:4px 0 20px;border-radius:15px;background:radial-gradient(ellipse,#fefbf5,#f1e9dc)}
.welcome-art>.jewelry{width:33%;height:100%}
.welcome-intro{font-size:12px;color:var(--muted);line-height:1.9}
.welcome-intro strong{color:var(--accent)}
.welcome-points{display:flex;flex-direction:column;gap:12px;font-size:11px;margin:24px 0}
.welcome-points>span{display:flex;align-items:center;gap:12px}
.welcome-points .icon{color:var(--accent);width:17px;height:17px}
#toast{position:fixed;bottom:30px;left:calc(50% + 116px);transform:translate(-50%,18px);background:var(--text);color:var(--bg);border:1px solid var(--border);box-shadow:0 8px 28px #0002;border-radius:12px;padding:14px 20px;font-size:11px;max-width:min(460px,calc(100% - 40px));z-index:20;opacity:0;visibility:hidden;transition:opacity .15s,transform .15s;pointer-events:none;text-align:center}
#toast.visible{opacity:1;visibility:visible;transform:translate(-50%,0)}
@media(min-width:1600px){.sidebar{left:calc((100vw - 1600px)/2)}}
@media(min-width:1350px){.vault-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1150px){.sidebar{width:195px;padding:28px 16px}.workspace{margin-left:195px}.wordmark>span{font-size:21px;letter-spacing:3px}.wordmark>.icon{width:28px}.wordmark small{font-size:5px}.topbar{padding:0 26px}main{padding:30px 26px 20px}.app-footer{padding:30px 26px}.dashboard-grid{gap:20px;grid-template-columns:minmax(0,1.5fr) minmax(225px,1fr)}.guide-card,.stylist-teaser{padding:20px}.tools-strip{gap:10px}.tools-strip .tool-card{padding:16px 12px;gap:10px}.tools-strip .tool-icon{width:30px;height:30px}.tools-strip .tool-card>span>small{display:none}.market-rates>div>.icon{display:none}.rate-change{font-size:8px}.card{padding:23px}.art-picker{padding:18px}.stage-card{padding:12px}.look-controls{padding:20px}#toast{left:calc(50% + 97.5px)}.insight-stats strong{font-size:23px}.ranked-pieces>button{gap:8px}.ranked-pieces>button>strong{font-size:9px}}
@media(max-width:950px) and (min-width:761px){.dashboard-grid{grid-template-columns:1fr}.dashboard-aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.stylist-teaser{margin:0}.guide-card h2{font-size:24px;max-width:none}.guide-card>.muted{display:none}.guide-card .task{padding:10px 0}.guide-card .task small{max-width:none}.guide-card .guide-progress,.guide-card>small{display:none}.recent-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.add-layout{grid-template-columns:1fr}.art-picker{position:static;display:grid;grid-template-columns:1fr 1fr;column-gap:20px}.art-picker>.eyebrow{grid-column:1/-1}.art-picker>#chosen-art{grid-row:2/5;margin:0}.art-options{align-self:start}.art-picker>.fine-print{margin:0}.art-picker>.button{margin:0}.look-layout,.calculator-layout,.insights-layout,.profile-layout,.feedback-layout{grid-template-columns:1fr}.stage-card{max-width:480px;width:100%;margin:auto}.look-card-info h2{font-size:22px}.reset-card{margin-top:20px}.insight-stats{gap:10px}.insight-stats .card{padding:16px}.insight-stats strong{font-size:20px}}
@media(max-width:760px){.sidebar{display:none}.workspace{margin:0}.app-shell{display:block}.topbar{height:73px;padding:0 22px}.mobile-wordmark{display:flex;gap:8px;align-items:center;font-family:Playfair,serif;font-size:20px;letter-spacing:2.8px}.mobile-wordmark>.icon{color:var(--accent);width:24px;height:24px}.topbar>.demo-badge{margin-left:auto;margin-right:14px;font-size:7px;letter-spacing:1px}.topbar-actions{gap:5px}.topbar-actions>.avatar{display:none}.topbar-actions>.icon-button{width:28px;height:34px}.topbar-actions>.icon-button>.icon{width:18px;height:18px}main{padding:26px 22px 18px;max-width:650px}h1{font-size:34px}.page-heading{margin-bottom:25px;align-items:flex-start;gap:15px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.3px;max-width:270px}.page-heading .muted{font-size:11px}.page-heading>.button{font-size:9px;padding:8px 12px;min-height:40px;margin-top:25px;gap:6px}.page-heading>.button>.icon{width:16px;height:16px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:5;display:flex;justify-content:center;background:var(--nav-bg);backdrop-filter:blur(18px);border-top:1px solid var(--border);padding:7px 10px max(7px,env(safe-area-inset-bottom));height:calc(72px + env(safe-area-inset-bottom))}.bottom-nav>button{flex:1;max-width:110px;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;color:var(--muted);font-size:8px;letter-spacing:.2px;min-width:0;padding:4px}.bottom-nav>button>.icon{width:22px;height:22px}.bottom-nav>.active{color:var(--accent)}.bottom-nav>.add-nav>.icon{border:1px solid var(--rose);border-radius:50%;width:31px;height:31px;padding:4px;margin-top:-6px;background:var(--surface)}.bottom-nav>.add-nav.active>.icon{color:var(--bg);background:var(--accent)}.app-footer{padding:22px 22px calc(95px + env(safe-area-inset-bottom));font-size:8px;max-width:650px}.dashboard-grid{grid-template-columns:1fr;gap:24px}.dashboard-aside{display:none}.big-value{font-size:45px;margin-top:16px}.value-card{padding:23px 23px 0}.hero-chart{margin-left:-23px;margin-right:-23px;height:85px}.value-top>.icon{width:24px;height:24px}.gain{font-size:11px}.stats-row{margin:16px 0 25px}.market-rates{margin-bottom:27px}.market-rates>div>.icon{display:block;width:17px}.market-rates>div{padding:14px 12px;gap:8px}.market-rates strong{font-size:11px}.rate-change{font-size:8px}.section-heading h2{font-size:23px}.section-heading>.text-button{font-size:9px}.tools-strip{grid-template-columns:1fr;margin-top:25px;gap:10px}.tools-strip .tool-card{padding:16px}.tools-strip .tool-card>span>small{display:block}.tools-strip .tool-icon{width:36px;height:36px}.tools-strip .tool-card strong{font-size:11px}.recent-grid{gap:10px}.piece-card.compact{padding:7px;border-radius:16px}.compact .piece-art{border-radius:10px}.compact .material-tag{font-size:6px;bottom:4px;left:4px}.compact .piece-info h3{font-size:9px}.compact .piece-info>strong{font-size:15px}.compact .piece-info p{font-size:8px}.piece-info p>span{padding:0 1px}.vault-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.vault-grid .piece-info{padding:12px 7px 8px}.vault-grid .piece-info h3{font-size:11px}.vault-grid .piece-info>strong{font-size:21px}.vault-grid .piece-info p{font-size:9px}.vault-toolbar{gap:10px;align-items:stretch}.search-box{padding:0 10px}.search-box>input{font-size:11px;padding:13px 0}.search-box>input::placeholder{font-size:10px}.sort-label>select{max-width:120px;font-size:10px;padding:14px 8px;height:100%}.filter-chips{gap:8px;margin-right:-22px;padding-right:22px}.chip{padding:8px 17px;font-size:10px}.card{padding:22px;border-radius:20px}.add-layout{grid-template-columns:1fr;gap:20px}.art-picker{position:static;display:grid;grid-template-columns:1fr 1fr;column-gap:18px;padding:18px}.art-picker>.eyebrow{grid-column:1/-1;font-size:8px;margin-bottom:15px}.art-picker>#chosen-art{grid-row:2/4;margin:0;align-self:center}.art-picker>.art-options{gap:6px}.art-picker>.fine-print{font-size:8px;line-height:1.7;margin:12px 0 0}.art-picker>.button{grid-column:1/-1;margin-top:18px}.form-card .section-heading h2{font-size:25px}.field input,.field select,.field textarea{font-size:16px;padding:12px;min-height:48px}.field>span{font-size:11px}.field input::placeholder,.field textarea::placeholder{font-size:11px}.form-grid{gap:0 15px}.looks-grid{grid-template-columns:1fr;gap:20px}.look-card>.look-stage{max-height:470px}.look-card-info h2{font-size:27px}.new-look-card{min-height:220px}.new-look-card>.icon{width:27px;height:27px;margin-bottom:15px}.new-look-card h2{font-size:27px}.new-look-card p{margin-bottom:8px;font-size:11px}.look-layout{grid-template-columns:1fr}.stage-card{padding:12px;max-width:470px;width:100%;margin:auto}.editable-stage{min-height:0}.look-piece-list{max-height:none}.look-choice strong{font-size:11px}.look-choice small{font-size:9px}.look-choice>.jewelry{width:50px;height:50px}.look-controls .sample-label{font-size:7px}.profile-layout,.insights-layout,.calculator-layout,.feedback-layout{grid-template-columns:1fr;gap:22px}.profile-card{padding:28px 24px}.profile-avatar{width:72px;height:72px}.profile-stats{margin:22px 0}.profile-tools .tool-card strong{font-size:11px}.profile-tools .tool-card small{font-size:9px}.reset-card{margin-top:20px;padding:20px}.reset-card h2{font-size:23px}.reset-card>.button{padding:10px 12px;font-size:9px}.insight-stats{gap:10px;margin-bottom:22px}.insight-stats .card{padding:15px 10px;border-radius:13px}.insight-stats .eyebrow{font-size:6px;letter-spacing:.6px;margin-bottom:8px;line-height:1.7}.insight-stats strong{font-size:20px;white-space:normal;display:block;line-height:1.4}.insights-layout>.card>h2{font-size:25px}.ranked-pieces>button>span strong{font-size:10px}.ranked-pieces>button>strong{font-size:10px}.donut{width:210px;height:210px}.legend>div{font-size:11px}.calculator-result{padding:30px 22px}.calculator-result h2{font-size:39px}.calculator-layout>.form-card>h2{font-size:26px}.calculator-layout>.form-card>.muted{font-size:12px}.check-row{font-size:11px}.button-row>.text-button{font-size:10px}.info-note{padding:17px 18px}.info-note>p{font-size:9px}.discussion-card>h2{font-size:29px}.feedback-layout .button-row{gap:10px}.feedback-layout .button{padding:11px 15px;font-size:10px}.alert-row strong{font-size:11px}.app-footer>span:first-child{max-width:50%}#toast{left:50%;bottom:calc(90px + env(safe-area-inset-bottom));font-size:10px;width:max-content;max-width:calc(100% - 36px);padding:13px 18px}.modal-header{padding:18px 20px}.modal-header h2{font-size:23px}.modal-body{padding:20px}dialog{max-height:calc(100dvh - 30px);border-radius:20px}.welcome-dialog .modal-header{padding:23px 20px 16px}.welcome-dialog .modal-header h2{font-size:29px;max-width:280px}.welcome-art{height:145px}.welcome-intro{font-size:11px}.welcome-points{font-size:10px}.passport-art{height:190px}.passport-name{font-size:28px}.passport-value>strong{font-size:30px}}
@media(max-width:370px){main{padding-left:17px;padding-right:17px}.topbar{padding:0 17px}.mobile-wordmark{font-size:17px;letter-spacing:2px}.mobile-wordmark>.icon{width:21px}.topbar>.demo-badge{font-size:6px;margin-right:7px}.topbar-actions{gap:0}.page-heading h1{font-size:30px}.page-heading>.button{font-size:8px;padding:8px 10px}.big-value{font-size:40px}.recent-grid{gap:7px}.compact .piece-info h3{font-size:8px}.compact .piece-info>strong{font-size:14px}.compact .piece-info p{font-size:7px}.compact .material-tag{font-size:5px}.market-rates>div>.icon{display:none}.market-rates strong{font-size:10px}.vault-grid{gap:10px}.vault-grid .piece-info h3{font-size:10px}.vault-grid .piece-info>strong{font-size:19px}.field>span{font-size:10px}.insight-stats strong{font-size:18px}.ranked-pieces>button>strong{font-size:9px}.ranked-pieces .jewelry{width:42px;height:42px}.welcome-dialog .modal-header h2{font-size:26px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.sidebar,.topbar,.bottom-nav,.app-footer,#toast,.page-heading>.button{display:none}.workspace{margin:0}main{padding:0}.card{break-inside:avoid}dialog{position:static;max-height:none;width:100%}body:has(dialog[open]) #app{display:none}}
