*{box-sizing:border-box}body{margin:0;background:#f5f2ff;color:#15133f;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}button,a,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible{outline:3px solid #7150eb;outline-offset:4px}a{color:inherit;text-decoration:none}button{border:0;color:inherit}main{max-width:650px;margin:auto;padding:22px 18px 34px;min-height:100dvh;background:radial-gradient(ellipse at 90% 0,#e7deff 0,transparent 42%),radial-gradient(ellipse at 0 70%,#fff 0,transparent 65%),#f6f3ff}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;font-size:13px;color:#71668f}.back{display:inline-flex;align-items:center;gap:7px;min-height:40px;background:#ffffffb8;border-radius:14px;padding:7px 12px}.badge{padding:8px 12px;border-radius:24px;background:#eee7ff;color:#8263ce;font-size:11px}.badge.green{background:#eafaf4;color:#2aab8a}h1{font-size:clamp(30px,7.2vw,48px);line-height:1.25;letter-spacing:-1px;margin:18px 0 9px;font-weight:850}h2{font-size:21px;margin:0 0 14px}h3{font-size:17px;margin:0 0 6px}p{line-height:1.6;margin:0;color:#7e7b9e}.sub{font-size:14px}.hero{position:relative}.handwriting{position:absolute;right:0;top:0;transform:rotate(-9deg);font-size:12px;color:#8666eb;line-height:1.6;text-align:center}.hero h1{padding-right:95px}.steps{display:flex;align-items:center;justify-content:space-between;margin:26px 13px 22px}.step{text-align:center;font-size:13px;color:#8d86b0;white-space:nowrap}.step b{display:grid;place-items:center;width:36px;height:36px;border:1.5px solid white;border-radius:50%;background:#e6e0fc;color:#8174b1;margin:0 auto 6px;font-size:18px}.step.active{color:#7e55ee;font-weight:700}.step.active b,.step.done b{color:white;background:linear-gradient(135deg,#ba9aff,#7953f4);box-shadow:0 0 0 5px #eae2ff}.step-line{height:2px;background:#ddd5f7;flex:1;margin:0 8px 22px}.card{border:1px solid #fff;background:#ffffffc9;border-radius:24px;padding:17px;box-shadow:0 12px 28px #7052b208;margin-bottom:14px}.photo{position:relative;overflow:hidden;border-radius:18px;aspect-ratio:1.28;background:#ede7f8;display:grid;place-items:center}.photo>img{width:100%;height:100%;position:absolute;inset:0;object-fit:contain;background:#e9e2f4}.photo.empty>img{object-fit:cover;opacity:.35}.upload-prompt{position:relative;text-align:center;background:#ffffffd9;padding:18px;border-radius:20px;color:#7e60d7}.upload-prompt i{font-size:32px}.upload-prompt strong{display:block;margin:5px}.photo .tag{position:absolute;top:12px;right:10px;padding:8px 11px;background:#ffffffdf;border-radius:25px;font-size:12px;color:#8563d0}.layers{display:flex;gap:7px;margin:12px 0 8px}.layers button{flex:1;min-width:0;white-space:nowrap;padding:10px 2px;background:#f1ecff;color:#696091;border-radius:24px;font-size:13px}.layers button.active{background:linear-gradient(120deg,#ef8ebd,#be75dd);color:#fff}.layers i{margin-right:3px}.note{font-size:12px;line-height:1.6;background:#faf0fa;color:#8e79b2;padding:12px;border-radius:15px;display:flex;gap:10px}.note i{font-size:20px}.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.two .card{padding:14px 12px}.feature{display:flex;gap:9px;margin:16px 0 4px;align-items:center}.feature i,.large-icon{display:grid;place-items:center;background:#f0eaff;color:#8967ff;width:38px;height:38px;border-radius:50%;font-size:24px;flex-shrink:0}.feature strong{font-size:13px}.feature p{font-size:11px}.pink .feature i{color:#e467a4;background:#fce8f3}.pink{background:#fff7facc}.primary,.secondary{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:12px;border-radius:35px;font-size:17px;font-weight:700;gap:10px;margin:12px 0;background:linear-gradient(110deg,#d495f4,#8060ef);color:#fff}.secondary{color:#9580ce;border:1px solid #b8a0ff;background:transparent;font-weight:500}.primary i{font-size:22px}.scanline{position:absolute;width:100%;height:3px;background:#e4caff;box-shadow:0 0 18px 6px #f3dcff;animation:scan 3s ease-in-out infinite;left:0;top:10%}@keyframes scan{50%{top:90%}}.scan-label{position:absolute;font-size:13px;background:#ffffffe8;border:1px solid white;border-radius:25px;padding:9px 14px}.scan-label:nth-of-type(1){top:22%;left:6%}.scan-label:nth-of-type(2){top:45%;right:5%}.scan-label:nth-of-type(3){bottom:18%;left:8%}.progress-row{display:flex;gap:12px;align-items:center;padding:15px 0 0;color:#62558e}.progress-row strong{color:#8a65ef;white-space:nowrap}progress{width:100%;height:12px;appearance:none;border:0;border-radius:20px;overflow:hidden;background:#eee8fc}progress::-webkit-progress-bar{background:#eee8fc}progress::-webkit-progress-value{background:linear-gradient(90deg,#bc84f6,#b7cdfd);border-radius:20px}.status-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}.status-card{display:flex;align-items:center;gap:10px;background:#ffffffd9;border-radius:18px;padding:16px 12px}.status-card h3{font-size:14px}.status-card p{font-size:11px}.status-card em{font-size:11px;font-style:normal;color:#9675e0}.status-card.complete em{color:#49bba8}.status-card.running .large-icon i{animation:spin 2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.card-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.card-title h2{margin:0;font-size:20px}.skin-summary{display:flex;gap:16px;align-items:center;background:#fbf7ff}.skin-summary .large-icon{width:56px;height:56px;border-radius:20px;font-size:35px}.skin-summary h2{font-size:26px;margin:4px 0}.score-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:12px 0}.score{background:#fffc;border:1px solid #eae2ff;border-radius:18px;text-align:center;padding:14px 0;color:#8a7da6;font-size:12px}.score strong{display:block;font-size:27px;margin-bottom:3px;color:#8563d0}.score:nth-child(2) strong{color:#82a4e3}.score:nth-child(3) strong{color:#e19c9e}.score:nth-child(5) strong{color:#73b7ae}.next{display:flex;gap:12px;align-items:center}.next p{font-size:12px}.plan-profile{display:grid;grid-template-columns:1fr 1fr;gap:15px}.plan-profile>div+div{border-left:1px solid #e7def7;padding-left:15px}.plan-profile h2{font-size:24px;margin:6px 0}.chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.chips span{background:#eee8fb;border-radius:18px;padding:4px 9px;font-size:11px;color:#736290}.plan-heading{display:flex;align-items:center;justify-content:space-between;margin:20px 5px 12px}.plan-heading h2{margin:0}.plan-heading small{font-size:11px;color:#8b80a3}.routine{padding:0;overflow:hidden}.routine-head{display:flex;align-items:center;gap:14px;padding:17px;background:linear-gradient(120deg,#fff8f0,#ffe9e1)}.routine-head .large-icon{width:50px;height:50px;background:#ffd378;color:white;font-size:32px}.routine-head h2{margin:0 0 4px;font-size:23px}.routine-head p{font-size:13px;color:#686086}.routine.pm .routine-head{background:linear-gradient(120deg,#f7f3ff,#d6c7fc)}.routine.pm .large-icon{background:#9067f5}.routine-body{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:14px 9px 16px;gap:6px}.product{position:relative;text-align:center}.product img{width:100%;height:92px;object-fit:contain;mix-blend-mode:multiply}.product b{position:absolute;left:4px;top:0;background:#8c67f6;color:white;border-radius:50%;width:21px;height:21px;font-size:13px;line-height:21px}.product strong{display:block;font-size:13px;margin:6px 0}.product p{font-size:11px}.list{padding:0;list-style:none;margin:12px 0 0}.list li{display:flex;gap:9px;color:#736b94;font-size:13px;margin:10px 0;line-height:1.5}.list i{color:#9873ee}.list .right{margin-left:auto;white-space:nowrap}.muted{font-size:11px;color:#8e83aa}.compact-button{background:#f0e8ff;color:#8b64d9;border-radius:20px;padding:7px 10px;font-size:11px}.empty-state{text-align:center;padding:40px 15px}.empty-state>i{font-size:52px;color:#b895eb}.empty-state h2{margin:14px 0}.toolbar{display:flex;gap:8px}.toolbar>*{flex:1}#skin-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90%;padding:12px 18px;background:#302546e8;color:white;border-radius:14px;z-index:20;display:none}dialog{border:1px solid white;border-radius:22px;width:min(90vw,420px);background:#faf7ff;padding:22px;color:#272047}dialog::backdrop{background:#2c205466}dialog label{display:block;font-size:14px;margin:15px 0}dialog input,dialog textarea{width:100%;border:1px solid #d8c8f1;border-radius:10px;padding:10px;margin-top:6px;background:white}dialog .checks label{display:flex;gap:8px;align-items:center}dialog .checks input{width:auto;margin:0}.demo-note{margin:12px 0;font-size:12px;color:#8e73b0}.result-photo{aspect-ratio:1.35}.empty-state p{font-size:13px}.file-error{color:#bd527f;margin:8px 0;font-size:13px}@media(min-width:600px){main{padding:30px 28px 40px}.photo{aspect-ratio:1.3}.product img{height:120px}.sub{font-size:17px}.feature strong{font-size:16px}.feature p{font-size:13px}.feature i{width:44px;height:44px}.step{font-size:16px}.step b{width:42px;height:42px}.card{padding:20px}.routine{padding:0}.status-card h3{font-size:17px}.status-card{padding:20px 14px}.product strong{font-size:15px}.product p{font-size:13px}}@media(max-width:360px){main{padding:16px 12px}.handwriting{display:none}.hero h1{padding:0}.two .card{padding:12px 9px}.feature{gap:6px}.feature i{width:30px;height:30px;font-size:20px}.feature strong{font-size:12px}.layers{gap:4px}.layers button{font-size:12px}.status-card{gap:6px;padding:12px 8px}.plan-profile{gap:8px}.product strong{font-size:11px}.product p{font-size:10px}.plan-heading small{display:none}}@media(prefers-reduced-motion:reduce){.scanline,.status-card.running .large-icon i{animation:none}}

.two .card-title{gap:6px;align-items:flex-start}.two .card-title h3{font-size:14px;white-space:nowrap}.two .card-title .compact-button{font-size:10px;padding:6px 7px;white-space:nowrap}.product img{border-radius:8px}.routine.am .badge{background:#ffebcd;color:#de9d48}@media(max-width:360px){.two .card-title{flex-wrap:wrap}}

.report-hero .handwriting{display:none}.report-hero h1{padding-right:0}.report-hero h1{font-size:clamp(28px,7.2vw,46px)}

.return-home{display:block;text-align:center;padding:12px;color:#9682ba;font-size:12px;margin-top:12px}.progress-row>span{white-space:nowrap}main:not([data-view="report"])>.topbar{display:none}
@media(max-width:599px){main{padding:24px 12px 22px}h1{font-size:30px;margin:12px 8px 6px}.hero .sub{margin-left:8px}.sub{font-size:12px}.handwriting{right:4px;top:2px;font-size:10px}.hero h1{padding-right:90px}.steps{margin:20px 16px 16px}.step{font-size:12px}.step b{width:29px;height:29px;font-size:16px;box-shadow:none!important}.card{border-radius:20px;padding:13px;margin-bottom:10px}main[data-view="upload"]>.card,main[data-view="analyzing"]>.card{padding:6px}.photo{border-radius:15px}.photo .tag{font-size:10px;padding:7px 10px}.layers{gap:6px;margin:10px 0 7px}.layers button{font-size:11px;padding:9px 2px}.note{font-size:10px;padding:10px}.note i{font-size:18px}.two .card{padding:12px 10px}.two h3{font-size:13px}.feature{margin:10px 0 2px;gap:8px}.feature strong{font-size:12px}.feature p{font-size:10px}.feature i{width:30px;height:30px;font-size:22px}.primary,.secondary{min-height:44px;padding:10px;font-size:15px;margin:10px 0}.demo-note{font-size:10px;margin:8px 5px}.status-grid{gap:8px;margin:8px 0 12px}.status-card{padding:11px 10px;gap:8px}.status-card .large-icon{width:32px;height:32px;font-size:21px}.status-card h3{font-size:12px}.status-card p,.status-card em{font-size:10px}.progress-row{padding:12px 10px;font-size:13px;gap:10px}.progress-row strong{font-size:17px}.scan-label{font-size:11px;padding:7px 11px}.skin-summary .large-icon{width:45px;height:45px;font-size:30px}.skin-summary h2{font-size:22px}.skin-summary p{font-size:11px}.card-title h2{font-size:17px}.card-title{margin-bottom:12px}.score{padding:12px 0;border-radius:16px}.score strong{font-size:24px}.next h3{font-size:14px}.next p{font-size:11px}.badge{font-size:10px;padding:7px 9px}.plan-profile{gap:12px;padding:13px}.plan-profile>div+div{padding-left:12px}.plan-profile h2{font-size:20px}.plan-profile .sub{font-size:11px}.plan-profile .muted{font-size:10px}.chips{gap:4px;margin:6px 0}.chips span{font-size:9px;padding:3px 6px}.plan-profile .compact-button{font-size:9px;padding:6px 8px}.plan-heading{margin:16px 5px 10px}.plan-heading h2{font-size:19px}.plan-heading small{font-size:9px}.routine{padding:0}.routine-head{padding:11px 14px;gap:10px}.routine-head .large-icon{width:39px;height:39px;font-size:28px}.routine-head h2{font-size:20px}.routine-head p{font-size:11px}.routine-head .badge{font-size:9px;padding:4px 7px}.routine-body{padding:11px 8px 12px;gap:5px}.product img{height:65px}.product strong{font-size:11px;margin:5px 0}.product p{font-size:9px;line-height:1.5}.product b{width:17px;height:17px;line-height:17px;font-size:11px;left:3px}.list li{font-size:11px;margin:8px 0;gap:6px}.two .card-title h3{font-size:12px}.two .card-title .compact-button{font-size:9px;padding:5px 6px}.two .card-title{margin-bottom:6px}.topbar{margin-bottom:18px;font-size:12px}.topbar .back{min-height:34px}.report-hero h1{margin-left:3px;font-size:28px}main[data-view="report"] .steps{margin:18px 5px}main[data-view="report"] .skin-summary{padding:14px}.return-home{margin-top:4px}}

main[data-view="plan"]>header{background:url('/assets/skin/lotus.webp') right top/150px auto no-repeat;padding-top:8px}main[data-view="plan"]>header>h1{position:relative;z-index:1}.plan-profile>div:first-child{position:relative;padding-left:55px}.profile-drop{position:absolute;left:0;top:3px;background:linear-gradient(130deg,#ffceec,#dd82d9);color:white;border-radius:50%;width:43px;height:43px;display:grid;place-items:center;font-size:28px}.product>.ri-arrow-right-s-line{position:absolute;right:-8px;top:40%;color:#b3a1d0;font-size:19px}@media(max-width:599px){.plan-profile>div:first-child{padding-left:39px}.profile-drop{width:31px;height:31px;font-size:22px}.product>.ri-arrow-right-s-line{right:-7px;font-size:15px}main[data-view="plan"]>header{background-size:120px auto}.plan-profile h2{font-size:18px}}

.result-label{position:absolute;background:#ffffffed;border-radius:30px;padding:9px 10px;color:#9670d5;font-size:11px;min-height:36px}.result-label-0{left:7px;top:35%;color:#ce6eaa}.result-label-1{right:7px;top:32%}.result-label-2{left:7px;top:68%;color:#dc947f}.result-label-3{right:7px;top:68%;color:#7298cd}.result-photo>.tag{display:none}@media(min-width:600px){.result-label{font-size:15px;padding:12px 16px}}
.report-hero h1{padding-right:0!important}@media(max-width:360px){.report-hero h1{font-size:24px}}

/* Real analysis controls retain the existing lavender layout. */
.real-layers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.real-layers button{min-height:44px;white-space:normal;padding:6px 2px;font-size:12px}.real-layers button:nth-child(n+6){grid-column:span 2}.more-analysis{min-height:44px;margin:0 0 10px}.visual-controls{margin:8px 0 14px;padding:12px;background:#f5f0ff;border-radius:15px}.visual-controls label{display:flex;justify-content:space-between;color:#786195;font-size:13px}.visual-controls input[type=range]{width:100%;min-height:44px;accent-color:#9c6be5;margin:4px 0}.visual-controls .toolbar{gap:10px}.visual-controls .secondary{font-size:13px;margin:0;min-height:44px}.layer-explanation{padding:12px;background:#fbf7ff;border-radius:14px}.layer-explanation h3{font-size:15px}.layer-explanation p{font-size:12px;line-height:1.7}.layer-explanation .muted{margin-top:8px;font-size:11px}.quality-notes{margin-top:14px}.quality-notes h3{font-size:15px}.quality-notes p{font-size:12px;line-height:1.7;margin-top:8px}.photo>canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.photo.zoomed{display:block;overflow:auto;overscroll-behavior:contain}.photo.zoomed>canvas{position:static;width:200%;height:auto;max-width:none;object-fit:initial;display:block}.score strong small{font-size:12px}.score{font-size:12px}.score strong{font-size:25px}.more-analysis,.compact-button{min-height:36px}.product p{overflow-wrap:anywhere}.feature p{line-height:1.6}.plan-profile h2{font-size:21px}.file-error{background:#fff0f5;padding:12px;border-radius:12px;line-height:1.7}.real-layers i{display:none}@media(max-width:599px){.plan-profile h2{font-size:16px}.layer-explanation p,.quality-notes p{font-size:12px}.score strong{font-size:23px}.visual-controls .toolbar{flex-wrap:wrap}.routine-body{gap:6px}.product p{font-size:10px;line-height:1.6}.routine-body{padding-bottom:15px}.demo-note{font-size:11px;line-height:1.7}.note{font-size:11px}.plan-profile .sub{font-size:11px}.plan-profile{grid-template-columns:1fr 1fr}.real-layers button{font-size:12px}.feature p{font-size:11px}.two .feature{align-items:flex-start}.card-title h2{font-size:17px}main[data-view="report"] .card-title{gap:6px}.report-hero h1{font-size:clamp(23px,6.8vw,28px)}.primary,.secondary{min-height:48px}.list li{font-size:12px}.two .card-title{flex-wrap:wrap}}

/* Native input receives the actual touch, preserving mobile picker activation. */
.photo-picker{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;text-align:center;overflow:hidden}
.native-photo-picker{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;font-size:16px;z-index:2}
.photo-picker:focus-within{outline:3px solid #9575e8;outline-offset:4px}
.upload-prompt.photo-picker{display:flex;flex-direction:column;gap:8px;border-radius:20px;padding:20px;color:#8055db;background:#ffffffd9}
.upload-prompt.photo-picker .muted{font-size:12px;margin:0}.photo-picker.primary,.photo-picker.secondary{box-sizing:border-box}
.skin-feel-questionnaire{padding:clamp(18px,4vw,28px);margin-top:20px;background:linear-gradient(145deg,#fff,#fbf9ff)}
.skin-feel-header{display:flex;align-items:center;gap:12px;margin-bottom:24px}.skin-feel-header h2{margin:0;font-size:clamp(20px,4.5vw,25px);line-height:1.35}.skin-feel-header p{margin:6px 0 0;color:#84749d;font-size:13px;line-height:1.6}.skin-feel-icon{display:grid;place-items:center;flex:0 0 44px;height:44px;background:#eee7ff;border-radius:15px;color:#8255ed;font-size:24px}.skin-feel-count{margin-left:auto;flex-shrink:0;padding:6px 10px;border-radius:20px;background:#eee7ff;color:#7952db;font-size:13px;font-weight:700;white-space:nowrap}
.skin-feel-questions{display:grid;gap:24px}.skin-feel-questions fieldset{min-width:0;border:0;padding:0;margin:0}.skin-feel-questions legend{padding:0;color:#17234c;font-size:16px;font-weight:700;line-height:1.6}.skin-feel-questions legend>span{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:9px;background:#eee7ff;color:#8659e7;margin-right:9px;font-size:13px}.skin-feel-questions fieldset>p{margin:6px 0 12px 34px;font-size:12px;color:#8a7d9f}.skin-feel-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.skin-feel-options label{position:relative;display:flex;align-items:center;gap:6px;min-height:48px;box-sizing:border-box;padding:10px 12px;border:1px solid #e4ddf3;border-radius:14px;cursor:pointer;background:#fff;color:#625577;font-size:14px;line-height:1.5;transition:background .15s,border-color .15s}.skin-feel-options input{position:absolute;inset:0;margin:0;width:100%;height:100%;opacity:0;cursor:pointer}.skin-feel-options label>span{flex:1;min-width:0}.skin-feel-options label>i{color:#8759e7;opacity:0}.skin-feel-options label:has(input:checked){border-color:#956ce9;background:#f0eaff;color:#7146c8;box-shadow:0 2px 8px #8b62da0d}.skin-feel-options label:has(input:checked)>i{opacity:1}.skin-feel-options label:focus-within{outline:3px solid #bba4f6;outline-offset:2px}.skin-feel-status{margin:22px 0 0;padding:10px 12px;border-radius:12px;background:#f2edfc;color:#7b5eab;font-size:13px;line-height:1.6}.skin-feel-footnote{color:#9385a5;font-size:12px;line-height:1.7;margin:10px 0 0}button.primary:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}
@media(max-width:420px){.skin-feel-header{gap:9px;flex-wrap:wrap}.skin-feel-header>div{flex:1;min-width:0}.skin-feel-icon{flex-basis:36px;height:36px;border-radius:12px;font-size:21px}.skin-feel-header h2{font-size:19px}.skin-feel-header p{font-size:12px}.skin-feel-count{font-size:12px;padding:5px 8px}.skin-feel-options label{padding:10px;font-size:13px}.skin-feel-questions legend{font-size:15px}.skin-feel-questions fieldset>p{margin-left:0}}
/* Ingredient plans extend the existing purple card language. */
.ingredient-hero{padding:16px 4px 22px}.ingredient-hero h1{font-size:clamp(28px,5vw,40px);margin:14px 0 10px}.ingredient-hero>p{color:#88779d;line-height:1.7}.ingredient-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 0}.ingredient-actions button{margin:0;min-height:42px}.ingredient-overview .chips{margin:16px 0}.ingredient-overview p{line-height:1.8}.ingredient-mode{padding:12px 14px;background:#f4efff;border-radius:14px;color:#7855ae}.ingredient-section{margin:28px 0}.ingredient-section>.muted{font-size:13px;line-height:1.8}.ingredient-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ingredient-card{margin:0;min-width:0}.ingredient-card h3{margin:14px 0 8px;font-size:20px;line-height:1.5}.ingredient-card p{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.ingredient-card small{font-size:12px;color:#8f7ca4;line-height:1.7}.ingredient-range{font-weight:700;color:#8054c8}.ingredient-card details{margin-top:14px;padding-top:12px;border-top:1px solid #eee8fa;font-size:12px;line-height:1.8}.ingredient-card summary{cursor:pointer;color:#7c57ba}.ingredient-card a,.ingredient-dialog a{color:#8055cc}.ingredient-card ul,.ingredient-safety ul{padding-left:20px;line-height:1.9}.ingredient-routine article{display:flex;gap:14px;margin:22px 0}.ingredient-routine article>b{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:11px;color:#885bcf;background:#eee5ff;font-size:13px}.ingredient-routine h3{margin:0 0 8px;font-size:17px;line-height:1.5}.ingredient-routine p{font-size:13px;line-height:1.8;margin:0 0 8px}.ingredient-routine small{font-size:12px;color:#8b7a9f;overflow-wrap:anywhere}.ingredient-product{border-top:1px solid #ede5f7;margin-top:18px;padding:16px 0 0}.ingredient-product h3{font-size:17px}.ingredient-product p{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.ingredient-product button{margin:8px 6px 0 0}.ingredient-dialog{max-height:88dvh;width:min(760px,calc(100% - 28px));box-sizing:border-box;overflow:auto}.ingredient-dialog label{display:grid;gap:7px;margin:14px 0;font-size:14px;line-height:1.6}.ingredient-dialog input:not([type=checkbox]):not([type=file]),.ingredient-dialog textarea,.ingredient-dialog select{box-sizing:border-box;width:100%;min-width:0;padding:11px;border:1px solid #ddd2ee;border-radius:10px;background:#fff;color:#293356;font:inherit}.ingredient-dialog textarea{resize:vertical}.ingredient-dialog fieldset{border:1px solid #e7dff3;border-radius:14px;margin:18px 0;padding:12px}.ingredient-dialog p{font-size:13px;line-height:1.8;color:#867496}.ingredient-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.ingredient-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ingredient-checks label{display:flex;align-items:center;gap:7px;font-size:13px;margin:4px 0}.ingredient-checks input{accent-color:#8b5bdd}.ingredient-dialog details{margin:14px 0;padding:12px;border:1px solid #ebe2f7;border-radius:12px;line-height:1.8}.real-layers{grid-template-columns:repeat(auto-fit,minmax(80px,1fr))!important}
@media(max-width:600px){.ingredient-grid,.ingredient-routines,.ingredient-form-grid{grid-template-columns:minmax(0,1fr)}.ingredient-hero h1{font-size:28px}.ingredient-dialog{padding:18px}.ingredient-actions{gap:8px}.ingredient-actions button{font-size:12px}.ingredient-card h3{font-size:19px}.ingredient-checks{grid-template-columns:minmax(0,1fr)}}

.ingredient-selected-product{background:#f4efff;border-radius:12px;padding:12px;margin:12px 0;font-size:13px;line-height:1.8}.ingredient-selected-product p{margin:5px 0 0}

.ingredient-photo-signals{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}.ingredient-photo-signals>div{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid #e5ddff;border-radius:16px;background:#faf8ff}.ingredient-photo-signals span,.ingredient-photo-signals small{font-size:13px;line-height:1.6;color:#776997}

.ingredient-photo-signals{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-top:18px}.ingredient-signal{min-width:0;padding:18px;border:1px solid #e5ddff;border-radius:20px;background:#faf8ff}.ingredient-signal .card-title{align-items:flex-start;flex-wrap:wrap;gap:8px}.ingredient-signal h3{margin:0}.ingredient-signal .badge{font-size:12px;white-space:normal}.ingredient-signal p{margin:10px 0;overflow-wrap:anywhere}.ingredient-signal .signal-value{font-size:28px;font-weight:700;color:#7652d9}.signal-value small{display:block;font-size:12px;font-weight:400}.ingredient-signal>small{display:block}.ingredient-signal .compact-button{margin-top:12px}.ingredient-signal.signal-hot{border-color:#ad94f5;background:#f3eeff}.signal-method{margin-top:16px;padding:14px;border:1px solid #e5ddff;border-radius:16px}.signal-method summary{cursor:pointer;font-weight:600}@media(max-width:400px){.ingredient-photo-signals{grid-template-columns:minmax(0,1fr)}}

.assessment-to-care article{padding:16px 0;border-bottom:1px solid #e5ddff}.assessment-to-care article:last-of-type{border-bottom:0}.ingredient-linked-evidence{padding:14px;border-radius:16px;background:#f0eaff;margin:12px 0;border-left:3px solid #9870e4}.ingredient-linked-evidence p{margin:7px 0;font-size:13px}.routine-basis{padding:12px;border-radius:12px;background:#f3eeff;font-size:13px!important;line-height:1.7}.routine-decision{margin-top:24px}.assessment-to-care .compact-button{margin-top:8px}

/* Local review: a quieter, user-facing skincare plan. */
.care-plan-page{--care-ink:#252345;--care-muted:#77738b;--care-accent:#8055cf;color:var(--care-ink)}
.care-plan-hero{padding:8px 4px 26px;background:none}.care-plan-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.care-eyebrow{font-size:11px;letter-spacing:.14em;color:#927cae;font-weight:600}.care-plan-hero h1{font-size:clamp(28px,4.7vw,36px);line-height:1.3;letter-spacing:-.02em;margin:20px 0 10px}.care-plan-hero>p{font-size:14px;color:var(--care-muted);margin:0;line-height:1.7}.care-hero-actions{display:flex;gap:10px;margin-top:22px}.care-hero-actions .compact-button{padding:10px 17px;background:#fff9;border:1px solid #e5ddf2;color:#76608e;font-size:13px}.care-text-button{background:none;border:0;color:#805cb5;padding:7px 0;font-size:13px;cursor:pointer}.care-plan-page .card{border:1px solid #eae4f2;box-shadow:0 6px 24px #30204403;background:#ffffffd9;border-radius:24px}.care-plan-page h2{font-size:20px;line-height:1.5;margin:0}.care-summary{padding:23px 25px!important;margin:0 0 22px}.care-summary>.card-title{align-items:center;gap:12px}.care-summary p{font-size:13px;line-height:1.9;color:var(--care-muted);margin:14px 0 4px}.care-summary .badge{background:#f1ebfa;color:#896ba7;padding:7px 12px;white-space:nowrap}.care-goals{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.care-goals span{font-size:12px;color:#7d6a92;background:#f7f3fc;padding:6px 10px;border-radius:9px}.care-plan-page .care-routines{gap:18px;align-items:start}.care-plan-page .care-routine-card{padding:23px!important;margin:0}.care-routine-title{display:flex;align-items:center;gap:12px;padding-bottom:20px;border-bottom:1px solid #eee9f4}.care-routine-title>i{width:43px;height:43px;border-radius:15px;background:#f5eddf;display:grid;place-items:center;font-size:23px;color:#bd9657}.care-routine-card:nth-child(2) .care-routine-title>i{background:#eee8f9;color:#8d6bc3}.care-routine-title>div>span{font-size:9px;letter-spacing:.15em;color:#9488a2}.care-routine-title h2{font-size:18px;margin:3px 0 0}.care-step-count{font-size:11px;color:#9b90a8;margin-left:auto;white-space:nowrap}.care-steps{list-style:none;margin:0;padding:3px 0}.care-steps li{display:flex;gap:12px;margin:23px 0}.care-step-number{font-size:12px;color:#a28bbd;line-height:25px;flex:0 0 23px;font-weight:600}.care-steps li>div{min-width:0}.care-steps h3{font-size:15px;margin:0 0 8px;line-height:1.6}.care-steps p{font-size:12px;line-height:1.9;color:var(--care-muted);margin:0}.care-steps small{display:block;margin-top:9px;font-size:11px;line-height:1.8;color:#896b9e}.care-inline-label{display:inline-block;font-size:10px;margin-top:9px;background:#f3edf9;padding:4px 7px;border-radius:6px;color:#9775b5}.care-routine-card>.primary{width:100%;font-size:13px;padding:12px;border-radius:14px;margin:0;background:#9270cd;color:white}.care-routine-card:nth-child(2)>.primary{background:#eee8f6;color:#79599f}.care-section-intro{font-size:13px;line-height:1.8;color:var(--care-muted);margin:9px 0 18px}.care-ingredients{margin:30px 0}.care-plan-page .care-focus-card{padding:22px}.care-focus-card h3{font-size:20px;margin:15px 0 10px}.care-focus-card>p{font-size:13px;line-height:1.9;color:var(--care-muted)}.care-owned{padding:13px;background:#f6f2fb;border-radius:13px;margin-top:14px;font-size:12px;line-height:1.8}.care-owned p{margin:5px 0}.care-owned small{color:#8d7a9e}.care-plan-page .care-card-details{border:0;border-top:1px solid #eee8f5;margin-top:16px;padding:14px 0 0;font-size:12px;line-height:1.8}.care-card-details summary{color:#8a739f;cursor:pointer}.care-moisture{padding:22px!important;margin:16px 0 0}.care-moisture-heading{display:flex;gap:12px;align-items:center}.care-moisture-heading>i{font-size:24px;color:#a28abb}.care-moisture h3{font-size:16px;margin:0 0 5px}.care-moisture p{font-size:12px;color:var(--care-muted);line-height:1.8;margin:0}.care-ingredient-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.care-ingredient-chips span{font-size:12px;line-height:1.6;padding:8px 11px;border:1px solid #e9e0f2;border-radius:10px;color:#88719f;background:#fcfaff}.care-checkin{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:25px!important;margin:25px 0;background:#f5effc!important}.care-checkin .care-eyebrow{letter-spacing:.04em}.care-checkin h2{font-size:18px;margin:8px 0}.care-checkin p{font-size:12px;line-height:1.8;color:var(--care-muted);margin:0}.care-checkin .primary{white-space:nowrap;font-size:13px;padding:13px 20px;border-radius:14px;background:#9371cc;margin:0}.care-more{padding:16px 3px;border-bottom:1px solid #e6dff0}.care-more>summary{font-size:13px;color:#8d799e;cursor:pointer}.care-more-body{font-size:13px;line-height:1.9;margin-top:18px;color:var(--care-muted)}.care-more-body h3,.care-more-body h4{color:var(--care-ink)}.care-more-body .ingredient-photo{margin-top:24px}.care-footer-actions{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;margin:20px 0 10px}.care-footer-actions .care-text-button{font-size:12px;color:#8d799e}.care-disclaimer{text-align:center;font-size:11px;color:#a397ae;line-height:1.7;margin:0 0 12px}
@media(max-width:600px){.care-plan-hero h1{font-size:29px}.care-summary{padding:20px!important}.care-plan-page .care-routines{gap:14px}.care-plan-page .care-routine-card{padding:20px!important}.care-checkin{display:block;padding:22px!important}.care-checkin .primary{margin-top:18px;width:100%}.care-steps li{margin:21px 0}.care-summary>.card-title{flex-wrap:wrap}.care-plan-page .care-focus-card{padding:20px}.care-footer-actions{gap:16px}.care-plan-hero{padding-bottom:23px}}
/* Reference: user-supplied daily skincare overview, with live assessment state. */
main:has(.care-plan-page){max-width:1000px;padding:24px 30px 28px;background:radial-gradient(ellipse at 100% 0,#e9deff 0,transparent 37%),linear-gradient(120deg,#faf7ff,#f6f2ff)}
.reference-hero{position:relative;isolation:isolate;min-height:215px;padding:8px 20px 24px;overflow:hidden}.reference-hero .care-plan-top{position:relative;z-index:2}.reference-hero .care-eyebrow{font-size:14px;color:#8868c0;letter-spacing:.02em}.reference-reassess{border:0;background:#ffffffb5;padding:8px 17px;color:#8b68bf;font-size:13px;border-radius:30px}.care-hero-copy{position:relative;z-index:1;max-width:68%}.reference-hero h1{font-size:clamp(30px,4.5vw,44px);font-weight:850;margin:15px 0 8px;color:#111b39;letter-spacing:-1px}.reference-hero .care-hero-copy>p{font-size:17px;line-height:1.6;color:#7b7895;white-space:nowrap}.care-hero-illustration{position:absolute;right:-12px;bottom:-12px;width:44%;height:210px;object-fit:contain;z-index:0;pointer-events:none}.care-hero-goals{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.care-hero-goals>span{padding:8px 16px;border-radius:22px;background:#ece4fe;color:#8971c5;font-size:13px;font-weight:600;line-height:1.5}.care-hero-goals .hero-goal-1{background:#e0f3f0;color:#38968e}.care-hero-goals .hero-goal-2{background:#e8e8ff;color:#7066b9}
.care-plan-page .care-status-overview{padding:20px;margin-bottom:17px}.reference-section-title{display:flex;align-items:center;gap:14px;margin-bottom:18px}.reference-section-title>i{display:grid;place-items:center;width:46px;height:46px;background:#f0e8ff;border-radius:50%;font-size:26px;color:#9368d5;flex:0 0 46px}.reference-section-title h2{font-size:22px;line-height:1.4;color:#151c38}.reference-section-title p{font-size:13px;color:#9290a8;margin-top:4px}.care-state-layout{display:grid;grid-template-columns:1fr 1.85fr;gap:14px}.care-type-tile{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;border:0;border-radius:17px;background:linear-gradient(135deg,#f6f2ff,#f7f3fc);padding:25px;min-width:0}.care-type-icon{display:grid;place-items:center;width:65px;height:65px;border-radius:50%;background:#eee6fc;color:#66a586;font-size:37px;margin-bottom:14px}.care-type-caption{font-size:12px;color:#9390a8;line-height:1.6}.care-type-tile strong{font-size:23px;line-height:1.5;color:#151b3a;margin:6px 0 12px}.care-type-description{font-size:13px;color:#8d89a3;line-height:1.9}.care-type-edit{font-size:11px;margin-top:18px;color:#9b7bbe}.care-state-signals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.care-state-signal{display:flex;align-items:center;text-align:left;gap:10px;min-width:0;border:1px solid #eee5fc;border-radius:14px;background:#fff9;padding:10px;transition:background .15s}.care-state-signal:hover{background:#f8f4ff}.care-state-signal>i{width:36px;height:36px;flex:0 0 36px;border-radius:50%;display:grid;place-items:center;background:#fbf0f8;color:#df8baf;font-size:22px}.care-signal-content{flex:1;min-width:0}.care-signal-heading{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-wrap:wrap}.care-signal-heading strong{font-size:14px;color:#252443}.care-state-badge{font-style:normal;font-size:10px;padding:4px 8px;border-radius:15px;background:#e8f6ef;color:#5b9b88;line-height:1.4;white-space:nowrap}.care-state-badge.attention{background:#fff0e5;color:#d39463}.signal-oiliness .care-state-badge.attention{background:#fde9ef;color:#d47c98}.care-state-badge.uncertain{background:#f0eaf9;color:#9e86bd}.care-signal-desc{display:block;margin-top:5px;font-size:11px;line-height:1.65;color:#9690a7;overflow-wrap:anywhere}.signal-oiliness>i,.signal-pores>i{color:#b28bd8;background:#f6f0ff}.signal-texture>i{color:#8c9ee4;background:#f0f5ff}.signal-pigment>i{color:#d79c82;background:#fff5f1}.signal-hydration{grid-column:1/-1}.signal-hydration>i{color:#ac8bd7;background:#f5f0ff}.signal-hydration .care-state-badge{background:#f2eafa;color:#a084bd}
.care-plan-page .reference-summary{position:relative;padding:22px 26px!important;margin-bottom:17px}.reference-summary .card-title h2{display:flex;align-items:center;gap:12px;font-size:21px}.reference-summary h2>i{display:grid;place-items:center;width:43px;height:43px;background:#f1e9fc;border-radius:50%;font-size:26px;color:#9770cf}.reference-summary .care-goals{margin:4px 0 0 55px}.reference-summary .care-goals>span{border-radius:22px;background:#f3edfe;color:#967bc5}.reference-summary .care-goals>span:first-child{background:#e8f6ef;color:#5a9d88}.reference-summary>p{margin-left:55px}.reference-summary>.care-text-button{margin-left:55px}.care-plan-page .care-routines{gap:17px;align-items:stretch}.care-plan-page .care-routine-card{border-radius:24px;padding:24px!important;display:flex;flex-direction:column}.care-routine-title{gap:13px;padding-bottom:16px}.care-routine-title h2{font-size:22px;font-weight:750;color:#17203b}.care-routine-title>div>span{font-size:13px;letter-spacing:0;color:#9a95ad}.care-routine-title>i{width:50px;height:50px;border-radius:50%;font-size:30px;background:#fff6df;color:#dfb45f}.care-routine-card:nth-child(2) .care-routine-title>i{background:#f1e8ff;color:#9976d5}.care-step-count{border-radius:18px;padding:7px 12px;background:#f5efff;color:#9b7bc6;font-size:12px}.care-steps{flex:1;padding:0}.care-steps li{gap:13px;margin:16px 0}.care-step-number{display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;border-radius:50%;background:#f5effe;font-size:16px;color:#9675cb}.care-steps h3{font-size:16px;color:#262340;margin:2px 0 5px}.care-steps p{font-size:13px;color:#8f89a2;line-height:1.7}.care-routine-card:nth-child(2){background-image:linear-gradient(#ffffff95,#ffffff95),url('/assets/skin/care/night-decoration.webp');background-position:bottom right;background-size:100% 100%,190px auto;background-repeat:no-repeat}.care-routine-card>.primary,.care-routine-card:nth-child(2)>.primary,.care-checkin .primary{background:linear-gradient(110deg,#a48bda,#b490ed);color:#fff;font-size:15px;min-height:45px;border-radius:15px;gap:12px}.care-routine-card>.primary{margin-top:10px}.care-routine-card>.primary i{font-size:18px}
.care-plan-page .reference-ingredients{padding:18px 20px;margin:17px 0}.reference-ingredients>.card-title h2{font-size:21px;display:flex;align-items:center;gap:12px}.reference-ingredients h2>i{font-size:26px;color:#63aa8b;background:#edf8f1;border-radius:50%;padding:7px}.reference-ingredients>.care-section-intro{margin:0 0 15px 48px;font-size:12px}.reference-ingredient-layout{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:stretch}.reference-ingredient-layout.no-focus{grid-template-columns:1fr}.reference-ingredient-layout>.ingredient-grid{display:block}.reference-ingredient-layout .care-focus-card{padding:18px;border:1px solid #eee5f8;border-radius:18px;box-shadow:none;margin-bottom:10px}.reference-ingredient-layout .care-focus-card:last-child{margin-bottom:0}.care-plan-page .reference-ingredient-layout>.care-moisture{margin:0;padding:18px!important;border-radius:18px;box-shadow:none}.reference-ingredient-layout .care-focus-card h3{margin:9px 0 6px;font-size:19px}.reference-ingredient-layout .care-focus-card>p{font-size:12px;line-height:1.7}.reference-ingredient-layout .care-owned{margin-top:12px;padding:10px;font-size:11px}.reference-ingredient-layout .care-moisture-heading h3{font-size:17px}.reference-ingredient-layout .care-moisture-heading>i{color:#8b9fe0;font-size:26px}.care-ingredient-chips{gap:8px}.care-ingredient-chips span{border:0;border-radius:19px;background:#f6f0ff;color:#9b80c6;font-size:13px;padding:7px 12px}.care-plan-page .reference-checkin{margin:17px 0 0;padding:18px 22px!important;background:#ffffffd9!important;border-radius:24px}.reference-checkin h2{display:flex;align-items:center;gap:11px;font-size:19px;margin:0 0 4px}.reference-checkin h2 i{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#f4edff;color:#9979d0;font-size:25px;flex-shrink:0}.reference-checkin p{margin-left:51px;font-size:12px}.reference-checkin .primary{min-width:205px}.care-more{font-size:11px;padding:13px 6px;border:0}.care-more>summary{font-size:11px;color:#a395b4}.care-footer-actions{margin:3px 0 10px;gap:0;align-items:center}.care-footer-actions:before,.care-footer-actions:after{content:'';height:1px;flex:1;background:#ded2ef}.care-footer-actions button{padding:0 16px;line-height:1.3;border-right:1px solid #d9cbea;color:#9a7ac5}.care-footer-actions button:last-child{border:0}.care-disclaimer{font-size:10px}
@media(max-width:700px){main:has(.care-plan-page){padding:18px 18px 25px}.reference-hero{padding:5px 5px 22px;min-height:210px}.reference-hero h1{font-size:32px}.reference-hero .care-hero-copy>p{font-size:14px;white-space:normal}.care-hero-copy{max-width:69%}.care-hero-illustration{width:43%;right:-15px;height:170px;bottom:5px;opacity:.8}.care-hero-goals{gap:7px}.care-hero-goals>span{font-size:11px;padding:6px 10px}.care-state-layout{grid-template-columns:1fr}.care-type-tile{display:grid;grid-template-columns:53px 1fr;padding:15px 18px;column-gap:12px;align-items:center}.care-type-icon{grid-row:1/4;width:50px;height:50px;font-size:30px;margin:0}.care-type-caption{font-size:11px}.care-type-tile strong{font-size:21px;margin:3px 0}.care-type-description{grid-column:2;font-size:12px;line-height:1.7}.care-type-edit{display:none}.reference-section-title{gap:10px}.reference-section-title h2{font-size:20px}.reference-section-title p{font-size:11px}.care-plan-page .care-status-overview{padding:16px}.care-state-signals{gap:7px}.care-state-signal{padding:9px;gap:8px;align-items:flex-start}.care-state-signal>i{width:29px;height:29px;flex-basis:29px;font-size:19px}.care-signal-heading strong{font-size:13px}.care-state-badge{font-size:9px;padding:3px 6px}.care-signal-desc{font-size:10px}.care-plan-page .reference-summary{padding:17px!important}.reference-summary .card-title h2{font-size:18px;gap:8px}.reference-summary h2>i{width:35px;height:35px;font-size:22px}.reference-summary .care-goals{margin-left:43px}.reference-summary>p,.reference-summary>.care-text-button{margin-left:43px}.reference-ingredient-layout{grid-template-columns:1fr}.reference-checkin p{margin-left:0}.care-footer-actions button{padding:0 10px;font-size:11px}.care-plan-page .reference-checkin{padding:18px!important}.reference-checkin .primary{min-width:0}.care-routine-title h2{font-size:21px}}
@media(min-width:601px) and (max-width:700px){.care-type-tile{display:flex;align-items:flex-start}.care-state-layout{grid-template-columns:1fr 1.8fr}.care-type-icon{margin-bottom:10px}.reference-ingredient-layout{grid-template-columns:1fr 1fr}}
@media(max-width:360px){main:has(.care-plan-page){padding:15px 12px}.reference-hero h1{font-size:28px}.care-state-signals{grid-template-columns:1fr}.signal-hydration{grid-column:auto}.care-signal-heading{flex-wrap:nowrap}.care-type-description{grid-column:1/-1;margin-top:9px}.care-hero-copy{max-width:77%}.care-hero-illustration{opacity:.45;width:47%}.care-footer-actions button{padding:0 7px}}

.care-focus-illustration{position:absolute;right:16px;bottom:10px;width:135px;height:135px;object-fit:contain;pointer-events:none;opacity:.75}.reference-summary>p{max-width:calc(100% - 190px)}.reference-summary>.card-title,.reference-summary>.care-goals,.reference-summary>.care-text-button{position:relative;z-index:1}.reference-checkin>div{flex:1;min-width:0}.reference-checkin .primary{width:auto;flex:0 0 35%;min-width:190px}.care-routine-card:nth-child(2){background-position:bottom right,right 10px bottom 72px;background-image:linear-gradient(#ffffffa8,#ffffffa8),url('/assets/skin/care/night-decoration.webp')}@media(min-width:701px){.care-type-tile{display:grid;grid-template-columns:65px 1fr;align-content:center;justify-content:initial;gap:5px 12px}.care-type-icon{grid-row:1/3;margin:0}.care-type-caption,.care-type-tile strong{grid-column:2}.care-type-tile strong{margin:0;font-size:22px}.care-type-description{grid-column:1/-1;margin-top:14px}.care-type-edit{grid-column:1/-1;margin-top:14px}}@media(max-width:600px){.care-focus-illustration{width:95px;height:95px;right:5px;bottom:5px;opacity:.45}.reference-summary>p{max-width:calc(100% - 105px)}.reference-checkin .primary{width:100%;min-width:0;flex:none}}

.care-plan-page .care-routine-card{position:relative;overflow:hidden}.care-routine-card:nth-child(2){background-image:none}.care-night-illustration{position:absolute;right:6px;bottom:76px;width:190px;height:140px;object-fit:contain;opacity:.45;mix-blend-mode:multiply;mask-image:radial-gradient(ellipse,#000 30%,transparent 75%);pointer-events:none}.care-routine-card>.care-steps,.care-routine-card>.primary{position:relative;z-index:1}
/* Reference report layout: actual image and assessment data remain authoritative. */
main[data-view="report"]{max-width:1000px;padding:18px 32px 24px;background-image:linear-gradient(90deg,#f7f3ff 12%,#f7f3ff88 54%,#f7f3ff22),url('/assets/skin/care/report-hero-lavender-v1.webp'),radial-gradient(ellipse at 85% 0,#e5d9ff,transparent 45%);background-repeat:no-repeat;background-position:top right;background-size:100% 300px,500px auto,100% 100%;background-color:#f6f3ff}
main[data-view="report"] .topbar{position:relative;margin-bottom:20px;z-index:1}main[data-view="report"] .topbar>.badge{display:none}main[data-view="report"] .back{border-radius:30px;background:#ffffffe0;padding:9px 16px;font-size:15px;color:#7163a0;min-height:42px}
main[data-view="report"] .report-hero{max-width:720px}main[data-view="report"] .report-hero h1{font-size:clamp(26px,4.8vw,44px);padding:0;margin:0 0 6px;letter-spacing:-1px;line-height:1.3}main[data-view="report"] .report-hero .sub{font-size:17px;color:#777099}main[data-view="report"] .steps{max-width:580px;margin:25px 8% 26px}main[data-view="report"] .step b{width:42px;height:42px}main[data-view="report"] .step-line{background:#cdb5fa}main[data-view="report"] .step{color:#73689e;font-size:15px}
.skin-report-page>.card{padding:22px 25px;margin-bottom:16px;border-radius:27px;background:#ffffffd9;border:1px solid #fff;box-shadow:0 7px 25px #9877d309}.skin-report-page .card-title{gap:14px;margin-bottom:18px}.skin-report-page .card-title h2{font-size:22px;line-height:1.4}.skin-report-page .card-title h2>i,.quality-notes h3>i{color:#8153ff;margin-right:8px}.skin-report-page .badge{font-size:13px;white-space:nowrap;padding:7px 14px}
.report-visual-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:stretch}.report-photo-column{min-width:0;display:flex;flex-direction:column}.report-visual .result-photo{aspect-ratio:3/4;min-height:440px;flex:1;border-radius:22px;background:#eee8f5}.report-visual .result-photo>canvas{object-fit:contain}.report-visual .photo.zoomed{max-height:620px}.report-control-column{min-width:0;display:flex;flex-direction:column;gap:14px}.report-control-column .real-layers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;margin:0;gap:8px}.report-control-column .real-layers button{grid-column:auto;min-height:48px;font-size:16px;padding:10px}.report-control-column .real-layers button:last-child{grid-column:1/-1}.report-control-column .real-layers button.active{background:linear-gradient(110deg,#da7bc8,#a665ff)}.report-control-column .visual-controls{margin:0;padding:15px;background:#f6f1ff;border-radius:19px}.report-control-column .visual-controls label{font-size:14px;color:#72619c}.report-control-column .visual-controls input{accent-color:#9555f4;margin:2px 0 6px;min-height:38px}.report-control-column .secondary{border-color:#a482fa;color:#8958ee;font-size:14px;gap:5px}.report-control-column .layer-explanation{padding:16px 18px;background:linear-gradient(125deg,#fbf8ff,#f3edfc);border-radius:19px;flex:1}.report-control-column .layer-explanation h3{font-size:17px}.report-control-column .layer-explanation p{font-size:13px;color:#7e719e;line-height:1.7}.report-control-column .layer-explanation .muted{font-size:11px;color:#9484af}
.skin-report-page .joint-skin-type{display:flex;align-items:center;gap:16px;position:relative}.report-type-copy{flex:1;min-width:0}.report-type-heading{display:flex;align-items:center;gap:7px;color:#83749e;font-size:15px}.report-type-heading>i{font-size:24px;color:#8053ff}.report-type-heading strong{font-size:20px;color:#17143d}.report-type-body{display:flex;align-items:center;gap:18px;margin-top:10px}.report-type-icon{display:grid;place-items:center;width:74px;height:74px;flex-shrink:0;border-radius:50%;background:#f1eaff;color:#8053ff;font-size:38px}.report-type-body h2{font-size:32px;line-height:1.3;margin:0 0 5px}.report-type-body p{font-size:13px;color:#80739d}.joint-skin-type>.compact-button{flex-shrink:0;align-self:flex-start;margin-top:6px;font-size:13px;padding:10px 14px}
.skin-report-page .report-scores{padding:20px 14px 10px}.report-scores>.card-title{padding:0 10px;margin-bottom:12px}.report-scores .joint-metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.report-scores .joint-metric{display:flex;align-items:flex-start;gap:18px;text-align:left;padding:18px 16px;margin:0;border-radius:22px;border:1px solid white;background:#fff;min-width:0;box-shadow:0 6px 20px #7960a205}.metric-icon{display:grid;place-items:center;flex-shrink:0;width:60px;height:60px;border-radius:50%;background:#f2eaff;color:#8b53ff;font-size:30px}.joint-metric:nth-child(3) .metric-icon{background:#fcf0ff;color:#b963ef}.metric-copy{display:flex;flex-direction:column;min-width:0}.metric-name{font-weight:700;font-size:17px;color:#18143e}.report-scores .joint-metric strong{font-size:38px;color:#8151ff;line-height:1.2;font-weight:750;margin:4px 0}.report-scores .joint-metric strong small{font-size:14px;color:#8074a7;font-weight:500}.metric-explanation{font-size:13px;line-height:1.65;color:#7d729c}.report-scores .joint-metric em{display:block;color:#8753ee;font-size:13px;font-style:normal;margin-top:6px}.report-scores .metric-wide{grid-column:1/-1}.report-scores .metric-wide .metric-copy{display:grid;grid-template-columns:140px 1fr;column-gap:20px;width:100%}.metric-wide .metric-name{grid-column:1;grid-row:1}.report-scores .metric-wide strong{grid-column:1;grid-row:2}.metric-wide .metric-explanation{grid-column:2;grid-row:1/3;align-self:center}.report-scores .metric-wide em{grid-column:2}.report-scores .demo-note{font-size:10px;margin:10px 12px 0;color:#9b8bae}
.skin-report-page .quality-notes h3{font-size:20px;margin-bottom:9px}.skin-report-page .quality-notes p{font-size:13px}.skin-report-page .quality-notes .note{margin-top:12px;color:#a35891;background:#fff0fa;font-size:13px;align-items:center}.report-actions>.primary{background:linear-gradient(110deg,#d979f2,#7451ff);margin:10px 0;font-size:18px}.report-secondary-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.report-secondary-actions .secondary{font-size:13px;min-height:46px;margin:0;padding:10px 8px;color:#8d64e7;border-color:#ac8bf4;gap:6px}.report-secondary-actions i{font-size:20px}.report-local-note{text-align:center;font-size:11px;color:#9786b2;margin:12px 0}.report-local-note i{font-size:17px;margin-right:6px}main[data-view="report"]>.return-home{display:none}
@media(max-width:700px){main[data-view="report"]{padding:18px 16px 24px;background-size:100% 290px,340px auto,100% 100%}main[data-view="report"] .report-hero h1{font-size:29px;max-width:380px}main[data-view="report"] .report-hero .sub{font-size:13px;max-width:340px}main[data-view="report"] .steps{margin:24px 12px}.skin-report-page>.card{padding:18px 16px;border-radius:24px}.skin-report-page .card-title h2{font-size:19px}.skin-report-page .badge{font-size:10px;padding:7px 9px}.report-visual-grid{grid-template-columns:1fr;gap:16px}.report-visual .result-photo{min-height:0;aspect-ratio:3/4;max-height:540px;flex:initial}.report-control-column{gap:12px}.report-control-column .real-layers button{min-height:44px;font-size:14px}.report-type-heading{flex-wrap:wrap;font-size:12px;gap:5px}.report-type-heading strong{font-size:17px}.report-type-heading>i{font-size:21px}.skin-report-page .joint-skin-type{display:block}.joint-skin-type>.compact-button{position:absolute;right:16px;top:15px;margin:0;font-size:11px;padding:8px 10px}.report-type-heading{padding-right:110px}.report-type-heading>span{display:block;width:100%;padding-left:26px}.report-type-body{gap:12px}.report-type-icon{width:58px;height:58px;font-size:31px}.report-type-body h2{font-size:28px}.report-type-body p{font-size:11px}.report-scores>.card-title{padding:0;gap:5px}.report-scores .joint-metric-grid{gap:9px}.report-scores .joint-metric{display:block;padding:13px 11px;border-radius:18px}.metric-icon{width:42px;height:42px;font-size:24px;margin-bottom:8px}.metric-name{font-size:14px}.report-scores .joint-metric strong{font-size:32px}.report-scores .joint-metric strong small{font-size:11px}.metric-explanation{font-size:11px}.report-scores .joint-metric em{font-size:11px}.report-scores .metric-wide{display:flex;gap:12px}.report-scores .metric-wide .metric-copy{grid-template-columns:1fr;gap:0}.metric-wide .metric-name,.report-scores .metric-wide strong,.metric-wide .metric-explanation,.report-scores .metric-wide em{grid-column:1;grid-row:auto}.skin-report-page .quality-notes h3{font-size:18px}.skin-report-page .quality-notes p,.skin-report-page .quality-notes .note{font-size:11px}.report-secondary-actions{grid-template-columns:1fr 1fr;gap:8px}.report-secondary-actions>.secondary:last-child{grid-column:1/-1}.report-secondary-actions .secondary{font-size:11px}.report-actions>.primary{font-size:16px}.report-local-note{font-size:10px}}
@media(max-width:360px){main[data-view="report"]{padding:14px 12px}.skin-report-page .card-title{flex-wrap:wrap}.report-scores .joint-metric-grid{grid-template-columns:1fr}.report-scores .joint-metric{display:flex;gap:12px}.report-type-heading{padding-right:0;margin-bottom:38px}.joint-skin-type>.compact-button{top:62px}}
.skin-report-page .joint-metric{flex-direction:row;min-height:0}.skin-report-page .joint-metric>.metric-icon{font-size:30px;font-weight:400}.skin-report-page .joint-metric>.metric-copy{font-size:inherit;font-weight:400}.skin-report-page .joint-metric .metric-icon i{font-size:30px}.report-visual .photo.result-photo{aspect-ratio:3/4}.report-visual .photo.result-photo>canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.report-visual .photo.result-photo.zoomed>canvas{position:static;width:200%;height:auto;object-fit:initial}.skin-report-page .report-type-heading{font-size:15px}.skin-report-page .report-type-body p{font-size:13px}@media(max-width:700px){.skin-report-page .joint-metric{flex-direction:column}.skin-report-page .metric-wide{flex-direction:row}.skin-report-page .joint-metric>.metric-icon,.skin-report-page .joint-metric .metric-icon i{font-size:24px}.skin-report-page .report-type-heading{font-size:12px}.skin-report-page .report-type-body p{font-size:11px}}@media(max-width:360px){.skin-report-page .joint-metric{flex-direction:row}}
.report-visual .photo.result-photo>canvas{position:static;inset:auto;width:100%;height:auto;object-fit:initial}.report-visual .photo.result-photo.zoomed>canvas{width:200%;max-width:none}

/* Shared, visible navigation across the skin module. */
main>.topbar.skin-navigation{display:flex;justify-content:flex-start;margin:0 0 18px;position:relative;z-index:1}main>.skin-navigation .back{display:inline-flex;align-items:center;gap:5px;min-height:44px;padding:9px 14px;border:1px solid #ece4fa;border-radius:24px;background:#ffffffe0;color:#75619c;font-size:14px;font-weight:500;white-space:nowrap}main>.skin-navigation .back i{font-size:21px}main>.skin-navigation .back:hover{background:#fff}main>.skin-navigation .back:focus-visible{outline:3px solid #8965df;outline-offset:3px}
