:root{color-scheme:dark;font:16px/1.45 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;background:#121116;color:#f7f3fb;--surface:#211f28;--surface-soft:#1c1a21;--muted:#c0bacb;--purple:#b451f1;--purple-light:#d4a5ff;--stroke:#3b3745;--selected:#3f2657;--safe-bottom:env(safe-area-inset-bottom,0px);--safe-top:env(safe-area-inset-top,0px)}
*,*::before,*::after{box-sizing:border-box}
html{min-height:100%;background:#121116}
body{margin:0;min-height:100dvh;background:radial-gradient(ellipse at 50% 0%,#3a1649 0,transparent 44%),radial-gradient(ellipse at 50% 55%,#30123d 0,transparent 40%),#121116;color:#f7f3fb}
button,select{font:inherit}
button{cursor:pointer;color:inherit}
button:disabled{opacity:.42;cursor:default}
:focus-visible{outline:3px solid #d3a9ff;outline-offset:3px}
[hidden]{display:none!important}
.shell{width:min(100%,1220px);margin-inline:auto;padding-inline:clamp(16px,4vw,44px)}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:absolute;z-index:100;left:12px;top:-100px;padding:12px;background:#231c2d;border-radius:10px}.skip:focus{top:calc(var(--safe-top) + 8px)}
.top{height:76px;padding-top:var(--safe-top);display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #ffffff16}
.brand{display:flex;align-items:center;gap:12px;background:none;border:0;padding:0;font-size:clamp(1.2rem,4.6vw,1.8rem);font-weight:580;letter-spacing:-.035em}
.brand small{font-size:.45em;font-weight:450;color:#c5bacf;letter-spacing:0}
.mark{font-size:1.32em;font-weight:850;letter-spacing:-.08em;line-height:1}.mark span{color:var(--purple)}
.icon-button{display:grid;place-items:center;width:48px;height:48px;padding:10px;border:0;background:transparent;color:var(--purple-light)}
.icon-button svg{width:27px;height:27px}
.back-button{justify-self:start}
.top:has(.back-button){display:grid;grid-template-columns:52px 1fr 52px;justify-items:center}
.top h1{max-width:100%;margin:0;text-align:center;font-size:clamp(1.15rem,4.8vw,1.8rem);line-height:1.1;font-weight:670;letter-spacing:-.03em;overflow-wrap:anywhere}
.header-spacer{width:48px;height:48px}
main{padding-block:24px 132px;min-height:calc(100dvh - 76px)}
h1,h2,h3,p,figure{margin:0}
h2{font-size:1.25rem;line-height:1.2}
h3{font-size:1rem;line-height:1.25}
p{margin:0 0 12px}
.lead{font-size:clamp(1rem,4.2vw,1.3rem);line-height:1.4;text-align:center;color:#f5edf9;margin:8px auto 24px;max-width:40ch}
.muted,small{color:var(--muted)}
.primary{background:linear-gradient(112deg,#7c29c2,#b94cf1 54%,#7c29c2);border:1px solid #d15cff;color:white!important;font-weight:720;box-shadow:0 0 28px #a23dd448}
button,.action-button{min-height:48px;border-radius:13px;border:1px solid var(--stroke);background:#24222b;padding:10px 15px;color:inherit;font-size:1rem;line-height:1.2}
button:hover:not(:disabled){border-color:#b252ef;background:#32283e}
.primary:hover:not(:disabled){background:linear-gradient(112deg,#8a39d0,#c461f7 54%,#8a39d0)}
.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.home{max-width:900px;margin:0 auto}
.home-hero{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}
.home-hero img{display:block;width:min(100%,650px);max-height:min(46vh,410px);object-fit:contain;filter:drop-shadow(0 22px 28px #0007)}
.home-hero p{max-width:32ch;font-size:clamp(1rem,4.7vw,1.45rem);line-height:1.4;color:#e9e2ef;margin:0 auto 10px}
.cta{width:min(100%,640px);min-height:76px;border-radius:27px;font-size:clamp(1.15rem,5vw,1.75rem);display:flex;align-items:center;justify-content:center;gap:16px}
.cta svg,.start-button svg{width:28px;height:28px}
.quick-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0 30px;max-width:640px;margin-inline:auto;margin-bottom:30px}
.quick-links button{min-height:132px;border-radius:24px;background:#222129cf;border-color:#5d5668;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;font-size:clamp(.82rem,3.5vw,1.1rem);padding:10px 5px}
.quick-links svg{width:42px;height:42px;color:var(--purple-light)}




.combinations{max-width:900px;margin:0 auto}.combinations .lead{margin-bottom:22px}
.combo-list{display:grid;gap:14px}
.combo-card{width:100%;min-height:124px;padding:8px 16px 8px 10px;display:grid;grid-template-columns:minmax(105px,27%) 1fr 28px;align-items:center;gap:14px;text-align:left;border:1px solid #46424d;border-radius:25px;background:#211f27e8}
.combo-card img{width:100%;height:100px;object-fit:contain;filter:drop-shadow(0 4px 8px #0008)}
.combo-card strong{font-size:clamp(1.05rem,4.6vw,1.45rem);line-height:1.2;font-weight:630}
.combo-card svg{width:26px;height:26px;color:var(--purple-light)}
.combo-card:hover{box-shadow:0 0 0 2px #bc5aff}
.combo-detail{max-width:860px;margin:auto;padding-bottom:6px}
.combo-detail-image{position:relative;margin:0 auto 12px;max-width:760px;display:grid;place-items:center}
.combo-detail-image img{width:100%;height:min(34vh,340px);object-fit:contain;filter:drop-shadow(0 18px 22px #0006)}
.anatomy-key{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:4px}
.anatomy-key span{padding:5px 10px;border:1px solid #9a52ce;border-radius:18px;color:#eee2f7;background:#28182f;font-size:.82rem}
.detail-title{font-size:clamp(1.6rem,6vw,2rem);text-align:center;margin:6px 0 18px}




.recipe-divider{padding-top:14px;border-top:1px solid #ffffff22}
.samples{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:.97rem}
.sample{display:inline-flex;align-items:center;gap:8px}.swatch{width:36px;height:27px;display:inline-block;flex:none;border-radius:9px;background:linear-gradient(155deg,#fff6 0,transparent 48%,#0004 100%),var(--resin);border:1px solid #ffffff3a}
.plus{color:var(--purple-light)}
.start-button{display:flex;align-items:center;justify-content:center;gap:14px;width:min(100%,640px);min-height:68px;margin:20px auto 0;border-radius:24px;font-size:1.25rem}
.screen-section,.consult-screen,.viewer-screen{max-width:1000px;margin:auto}
.resins-screen{max-width:940px;margin-inline:auto}

.library{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;max-width:940px;margin-inline:auto}
.resin-group{--category-accent:#ef6470;min-width:0;padding:10px 12px 12px;border:1px solid #50495a;background:#211f28df;border-radius:21px}
.resin-group-neutral{--category-accent:#ead0a6}.resin-group-strong{--category-accent:#f16a72}.resin-group-intense{--category-accent:#ef5965}.resin-group-negative{--category-accent:#f2c957}
.resin-group-header{display:grid;grid-template-columns:3px 26px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:43px;margin-bottom:7px}
.resin-accent{width:3px;height:40px;border-radius:4px;background:var(--category-accent)}
.resin-drop{display:grid;place-items:center;color:var(--category-accent)}.resin-drop svg{width:26px;height:30px}
.resin-heading{min-width:0}.resin-heading h2{margin:0;font-size:clamp(1.02rem,4vw,1.2rem);line-height:1.15;font-weight:670}.resin-heading p{margin:2px 0 0;color:#c9c2d0;font-size:clamp(.76rem,3.1vw,.91rem);line-height:1.18}
.resin-count{align-self:start;padding-top:3px;color:#ded9e5;font-size:.84rem;white-space:nowrap}
.resin-tray{display:grid;grid-template-columns:repeat(var(--sample-count),minmax(0,1fr));align-items:stretch;gap:3px;min-width:0;padding:7px 6px 8px;border:1px solid #514a5a;border-radius:19px;background:#211f28a8}
.resin-sample{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:3px;padding:3px 2px;text-align:center;line-height:1.15}
.resin-swatch{display:block;flex:none;width:34px;height:29px;border-radius:10px;background:linear-gradient(150deg,#fff7 0,transparent 48%,#0004 100%),var(--resin);border:1px solid #ffffff55;box-shadow:inset 0 1px 3px #ffffff35}
.resin-sample-name,.resin-sample-code{font-size:.75rem;overflow-wrap:anywhere}.resin-sample-code{color:#e8e0ef}
.resin-tray-single{display:flex;align-items:center;min-height:49px;padding:6px 12px}
.resin-sample-single{flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;width:100%;padding:0;text-align:left}
.resin-sample-single .resin-swatch{width:38px;height:31px;border-radius:11px}
.resin-single-label{font-size:.92rem;line-height:1.2;color:#f6f2f8}
.model-region{width:100%;max-width:1000px;margin:0 auto}
.model-view{height:clamp(300px,56vh,590px);border-radius:18px;background:transparent;overflow:hidden;display:grid;place-items:center;text-align:center;color:#f7f3fb}
.model-view canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.model-view canvas:active{cursor:grabbing}.model-view p{padding:18px;margin:0}
.model-region{position:relative}

.model-credit{margin:10px auto;max-width:55ch;text-align:center;color:var(--muted);font-size:.9rem}
.consult-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:0 auto 18px}
.consultation{display:grid;grid-template-columns:1fr;gap:10px}
.consult-step{padding:16px;border-radius:18px;border:1px solid #47414f;background:#211f28}
.consult-step summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;font-size:1.05rem}.consult-step summary::-webkit-details-marker{display:none}
.consult-step summary>span{color:var(--purple-light);font-weight:700}.consult-step summary strong{display:grid;gap:2px}.consult-step summary small{font-size:.78rem;color:var(--purple-light)}
.consult-step>p{margin-top:12px}.consult-step .samples{margin:8px 0}.consultation-model .model-view{height:clamp(230px,42vh,410px)}
.immersive-step{min-height:100%;width:100%;display:flex;flex-direction:column;gap:8px}
.step-copy{text-align:center;flex:none;max-width:700px;margin:0 auto;width:100%}
.layer-badge{display:inline-flex;align-items:center;justify-content:center;min-height:40px;margin:0 auto 4px;padding:5px 20px;border:2px solid var(--purple);border-radius:22px;background:#261833;color:#f5e8ff;font-size:1rem}
.step-copy h2{font-size:clamp(2rem,8vw,3rem);font-weight:650;letter-spacing:-.04em;margin:0 0 6px}
.step-description{max-width:50ch;margin:0 auto 12px;font-size:clamp(.98rem,3.8vw,1.28rem);line-height:1.38}
.step-copy .samples,.step-copy .material-chip{justify-content:center;margin:8px auto 0}
.step-copy>small{display:block;margin-top:7px}.material-chip{width:max-content;max-width:100%;display:flex;align-items:center;justify-content:center;gap:10px;padding:6px 16px;border:1.5px solid var(--purple);border-radius:24px;font-size:1rem}
.fiber-swatch{display:inline-grid;place-items:center;color:#ed858f}
.fiber-swatch svg{width:26px;height:23px;stroke-width:1.25}
.step-model{flex:1;min-height:250px;display:flex;align-items:center;justify-content:center}
.step-model .model-region{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.step-model .model-view{width:100%;height:100%;min-height:270px;max-height:540px}
.step-saved{display:none}.warning{color:#f5d9a4;margin-top:8px}
.final-actions{margin-top:12px}.final-actions button{min-height:42px;padding:8px 14px;background:transparent;border-color:#8f53b9;color:#ead8fb}
.complete-screen{min-height:50vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px}
.complete-screen h2{font-size:2rem}.complete-icon{width:74px;height:74px;display:grid;place-items:center;border-radius:50%;background:#7425b6;color:white}.complete-icon svg{width:38px;height:38px}
.eyebrow{color:var(--purple-light);font-weight:650}
.app-footer{position:fixed;z-index:40;left:0;right:0;bottom:0;width:min(100%,1220px);padding:8px 12px calc(8px + var(--safe-bottom));border:1px solid #4a4451;border-bottom:0;border-radius:28px 28px 0 0;background:#201e25ed;backdrop-filter:blur(18px);box-shadow:0 -10px 32px #09070d55}
.primary-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:2px;width:100%}
.primary-nav button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:72px;padding:7px 1px 0;border:0;border-radius:10px;background:transparent;color:#c3bdca;font-size:clamp(.66rem,2.7vw,.9rem);white-space:nowrap}
.primary-nav button svg{width:30px;height:30px;color:#d2b6ef;flex:none}.primary-nav button[aria-current="page"]{color:white;font-weight:650;background:transparent}
.primary-nav button[aria-current="page"]::before{content:"";position:absolute;top:-8px;width:40%;height:5px;border-radius:0 0 6px 6px;background:var(--purple)}
.primary-nav button[aria-current="page"] svg{color:var(--purple);filter:drop-shadow(0 0 8px #b451f1a8)}
.step-controls{display:grid;grid-template-columns:56px minmax(0,1fr) 56px;gap:10px;align-items:center;min-height:72px}
.round-control{width:54px;height:54px;min-height:54px;display:grid;place-items:center;padding:10px;border-radius:50%;border:2px solid #c952ff;background:linear-gradient(140deg,#8d21d1,#c042f3 56%,#7b1ac0);box-shadow:0 0 26px #a342d765}
.round-control svg{width:28px;height:28px}
.progress-dots{display:flex;align-items:center;justify-content:center;gap:clamp(6px,2.2vw,15px);min-width:0}
.progress-dots .dot{width:clamp(8px,2.6vw,14px);height:clamp(8px,2.6vw,14px);border-radius:50%;background:#735080;opacity:.62}
.progress-dots .dot.done{background:#9546c8;opacity:.86}.progress-dots .dot.active{background:#bd39f6;opacity:1;box-shadow:0 0 12px #cf63ff}
body.is-immersive{height:100dvh;min-height:0;overflow:hidden}
body.is-immersive #app-header{position:absolute;top:var(--safe-top);left:0;right:0;width:100%;height:68px;padding-inline:12px;border:0;z-index:4}
body.is-immersive #app-header h1{font-size:clamp(1.1rem,4.6vw,1.65rem)}
body.is-immersive main{width:100%;max-width:850px;height:100dvh;min-height:0;padding:calc(74px + var(--safe-top)) 18px calc(96px + var(--safe-bottom));overflow-y:auto;overscroll-behavior:contain}
body.is-immersive .app-footer{border-radius:25px 25px 0 0}
body.is-immersive .step-controls{min-height:76px}
#app-info::backdrop{background:#100c16df}
#app-info{width:min(440px,calc(100% - 24px));border:1px solid #51465d;border-radius:20px;background:#211f28;color:inherit;padding:22px}
#app-info::backdrop{background:#100c16df}#app-info h2{margin-bottom:12px}#app-info form{display:grid;gap:12px}
.foot{color:var(--muted)}
@media(min-width:700px){
 .top{height:86px}.shell{padding-inline:28px}main{padding-top:34px}.home-hero img{max-height:440px}.combo-list{gap:16px}.combo-card{min-height:142px;grid-template-columns:190px 1fr 32px}.combo-card img{height:122px}.combo-detail-image img{height:min(44vh,430px)}.consultation{grid-template-columns:repeat(2,minmax(0,1fr))}.primary-nav button{min-height:78px}.primary-nav button svg{width:32px;height:32px}
 .resins-screen{max-width:980px}.library{gap:12px}.resin-group{padding:12px 16px 14px}.resin-group-header{grid-template-columns:4px 32px minmax(0,1fr) auto;gap:12px;min-height:51px;margin-bottom:9px}.resin-accent{height:47px;width:4px}.resin-drop svg{width:30px;height:34px}.resin-heading h2{font-size:1.2rem}.resin-heading p{font-size:.92rem}.resin-count{font-size:.92rem}.resin-tray{padding:9px 10px 10px;gap:6px}.resin-sample{gap:5px;padding:4px}.resin-swatch{width:42px;height:36px;border-radius:11px}.resin-sample-name,.resin-sample-code{font-size:.88rem}.resin-tray-single{min-height:62px;padding:8px 16px}.resin-sample-single .resin-swatch{width:44px;height:36px}.resin-single-label{font-size:1.03rem}
}
@media(max-width:390px){
 .top{height:66px}.shell{padding-inline:14px}main{padding-inline:14px;padding-block:16px 116px}.combo-card{min-height:102px;grid-template-columns:92px 1fr 22px;gap:10px;padding:6px 10px}.combo-card img{height:83px}.combo-card strong{font-size:1rem}.quick-links{gap:8px}.quick-links button{min-height:110px;border-radius:18px}.quick-links svg{width:34px;height:34px}.swatch{width:28px;height:23px}.samples{font-size:.9rem;gap:5px}.primary-nav button{font-size:.62rem}.primary-nav button svg{width:27px;height:27px}.step-controls{grid-template-columns:50px minmax(0,1fr) 50px;gap:7px}.round-control{width:48px;height:48px;min-height:48px}.progress-dots{gap:6px}
 .library{gap:7px}.resin-group{padding:8px 9px 9px;border-radius:18px}.resin-group-header{grid-template-columns:3px 22px minmax(0,1fr) auto;gap:7px;min-height:38px;margin-bottom:5px}.resin-accent{height:35px}.resin-drop svg{width:23px;height:26px}.resin-heading h2{font-size:.96rem}.resin-heading p{font-size:.71rem;margin-top:1px}.resin-count{font-size:.76rem;padding-top:2px}.resin-tray{padding:5px 4px 6px;gap:1px;border-radius:16px}.resin-sample{gap:2px;padding:2px 1px}.resin-swatch{width:29px;height:24px;border-radius:8px}.resin-sample-name,.resin-sample-code{font-size:.67rem;line-height:1.12}.resin-tray-single{min-height:42px;padding:5px 9px}.resin-sample-single{gap:8px}.resin-sample-single .resin-swatch{width:32px;height:27px;border-radius:9px}.resin-single-label{font-size:.83rem}
}
@media(max-height:740px){
 body.is-immersive main{padding-top:calc(68px + var(--safe-top));padding-bottom:calc(88px + var(--safe-bottom))}
 .step-copy h2{font-size:clamp(1.8rem,7vw,2.45rem)}.step-description{font-size:.97rem;margin-bottom:6px}.step-model .model-view{min-height:215px}.layer-badge{min-height:34px;font-size:.9rem}.step-copy .samples{margin-top:5px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Mapa e receita das seis combinações */
.top.detail-header{max-width:648px;border-bottom:0}
.detail-header .back-button,.detail-mark{color:#c998f2}
.detail-mark{font-style:italic;font-size:1.36rem;font-weight:750}
main:has(.combo-detail){padding-block:2px calc(100px + var(--safe-bottom))}
.combo-detail{max-width:600px;margin:auto}
.detail-intro{padding-inline:10px}
.detail-intro h2{margin:0;font-size:clamp(1.3rem,5.2vw,2rem);line-height:1.12}
.detail-intro p{margin:3px 0 0;color:#c3bec9;font-size:clamp(.84rem,3.4vw,1.17rem)}
.combo-map{display:block;width:min(100%,530px);height:auto;margin:3px auto 4px}
.combo-map line{stroke:#fff;stroke-width:1.45;filter:drop-shadow(0 1px 1px #310)}
.combo-map circle{fill:#fff;filter:drop-shadow(0 1px 1px #310)}
.combo-map text{fill:#cf9af5;font:750 15px system-ui}
.recipe-table{padding:7px clamp(9px,3.5vw,19px);border-radius:12px;background:#201f25}
.recipe-table table{border-collapse:collapse;width:100%;font-size:clamp(.73rem,3.18vw,1.05rem);line-height:1.24}
.recipe-table th,.recipe-table td{text-align:left;padding:6px 0;vertical-align:middle}
.recipe-table thead th{border-bottom:1px solid #75717b;text-transform:uppercase;letter-spacing:.045em;font-size:.87em}
.recipe-table thead th:first-child{width:50%}
.recipe-table tbody tr+tr:not(.recipe-group) th,.recipe-table tbody tr+tr:not(.recipe-group) td{border-bottom:1px solid #ffffff32}
.recipe-table tbody:last-child tr:last-child>*{border-bottom:0}
.recipe-table .recipe-group th{padding:8px 0 2px;text-transform:uppercase;letter-spacing:.06em;color:#b9b5bf;font-size:.84em}
.recipe-number{display:inline-block;min-width:1.9em;color:#c998f2;font-weight:750}
.recipe-resin{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:clamp(4px,1.3vw,12px)}
.recipe-resin+.recipe-resin{margin-top:4px}
.recipe-resin small{color:#c3bec9;font-size:.91em}
.recipe-color{width:1.15em;height:1.15em;border-radius:50%;background:var(--resin);border:1px solid #ffffff24}
.combo-detail .start-button{position:relative;min-height:46px;margin:clamp(12px,3.5vw,25px) auto 0;padding:8px 42px;border:0;border-radius:11px;background:#c79bf1;color:#17121c;font-size:clamp(.95rem,4vw,1.28rem);font-weight:760}
.combo-detail .start-button svg{position:absolute;right:13px;width:23px;height:23px}

/* Bancada da mufla definitiva */
.top.bench-header:has(.back-button){grid-template-columns:44px minmax(0,1fr) 44px;gap:6px}
body .top.bench-header h1{font-size:clamp(1.25rem,5.3vw,1.85rem);font-weight:760;letter-spacing:-.035em;text-align:center;text-wrap:balance}
.immersive-step{display:grid;grid-template-rows:auto minmax(240px,1fr);height:100%;gap:10px}
.immersive-step .step-copy h2{font-size:clamp(1.45rem,6.5vw,2.4rem);line-height:1.12}
.immersive-step .step-description{margin-bottom:5px;font-size:clamp(.88rem,3.7vw,1.08rem)}
.immersive-step .step-copy .samples,.immersive-step .step-copy .material-chip{margin-top:5px;font-size:.87rem}
.step-model{display:grid;min-height:0;min-width:0;align-items:stretch;justify-content:stretch}
.step-model .model-region,.step-model #slot-modelo,.step-model .model-view{display:block;width:100%;height:100%;min-height:0;max-height:none}
.bench-notice{width:min(100%,450px);min-height:100%;margin:auto;padding:18px clamp(14px,4vw,26px);display:grid;align-content:center;gap:14px;text-align:center}
.bench-notice h2{margin:0;font-size:clamp(1.55rem,7vw,2.3rem);line-height:1.12;letter-spacing:-.035em}
.bench-notice p{margin:0;color:var(--muted);text-wrap:pretty}
.coverage-notes{margin:0;padding:0 0 0 1.2em;display:grid;gap:8px;text-align:left}
.coverage-notes li::marker{color:var(--purple-light)}
.bench-notice .coverage-notes{padding:14px 14px 14px 34px;border:1px solid var(--stroke);border-radius:14px;background:var(--surface-soft)}
.notice-action{margin-top:4px}
@media(max-width:560px){
 body.is-immersive main{padding-inline:8px}
 .immersive-step .step-copy{padding-inline:8px}
}

/* Seleção e mapa de combinações na mesma tela */
.combinations{max-width:960px}
.combo-picker{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0 auto 14px}
.combo-option{position:relative;min-width:0;min-height:0;padding:5px;border-radius:13px;background:#211f27;border-color:#46424d;display:grid;grid-template-rows:58px auto;align-content:center;justify-items:center;gap:3px;text-align:center}
.combo-option img{width:100%;height:58px;object-fit:contain;filter:drop-shadow(0 3px 5px #0008)}
.combo-option strong{font-size:clamp(.65rem,1.25vw,.88rem);line-height:1.1;font-weight:600}
.combo-option>span{position:absolute;top:4px;left:5px;width:19px;height:19px;display:grid;place-items:center;border-radius:50%;background:#302638;color:#d4a5ff;font-size:.72rem;font-weight:750}
.combo-option.selected{border-color:#ce7aff;background:#392448;box-shadow:0 0 0 1px #b451f1,0 5px 18px #8b38ae2b}
.combo-active{padding:10px 12px 14px;border:1px solid #ffffff1c;border-radius:18px;background:#17151bd9;scroll-margin-top:10px}
.combo-active .combo-detail{max-width:680px}
.combo-active .combo-map{width:min(100%,510px);max-height:clamp(150px,27vh,250px);object-fit:contain}
.combo-active .recipe-table{padding:5px 12px}
.combo-active .recipe-table th,.combo-active .recipe-table td{padding:4px 0}
.combo-active .recipe-table .recipe-group th{padding-top:6px}
.combo-active .start-button{min-height:48px;margin-top:10px}
@media(max-width:560px){
 .combo-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:2px;margin-bottom:8px}
 .combo-option{grid-template-rows:43px minmax(28px,auto);gap:2px;padding:4px 3px;border-radius:11px}
 .combo-option img{height:43px}
 .combo-option strong{font-size:clamp(.62rem,3.1vw,.76rem);line-height:1.08}
 .combo-active{padding:8px 8px 11px;border-radius:15px}
 .combo-active .combo-map{max-height:clamp(125px,21vh,190px)}
 .combo-active .recipe-table table{font-size:clamp(.7rem,3vw,.84rem)}
}

/* Ajuda opcional para orientações específicas de cada camada */
.layer-title-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;width:100%}
.layer-title-row h2{grid-column:2;margin:0!important;text-align:center;text-wrap:balance}
.layer-help-button{grid-column:3;justify-self:start;width:30px;min-width:30px;height:30px;min-height:30px;padding:0;display:grid;place-items:center;border:1px solid #bd79eb;border-radius:50%;background:#281a35;color:#e6c5ff;font-size:.95rem;font-weight:800;line-height:1}
.layer-help-button:hover{background:#432450}
#layer-help{width:min(440px,calc(100% - 28px));max-height:min(78dvh,640px);overflow:auto;border:1px solid #665278;border-radius:20px;background:#211f28;color:inherit;padding:20px;box-shadow:0 18px 60px #0008}
#layer-help::backdrop{background:#100c16df;backdrop-filter:blur(3px)}
.layer-help-heading{display:grid;grid-template-columns:minmax(0,1fr) 36px;align-items:start;gap:12px}
.layer-help-heading h2{margin:0;font-size:1.35rem;line-height:1.2}
.layer-help-heading form{margin:0}
.layer-help-close{width:34px;min-width:34px;height:34px;min-height:34px;padding:0;border-radius:50%;font-size:1.25rem}
.layer-help-content{display:grid;gap:14px;margin:18px 0}
.layer-help-content section+section{padding-top:12px;border-top:1px solid var(--stroke)}
.layer-help-content h3{margin:0 0 5px;color:#dfbafa;font-size:.94rem;font-weight:700}
.layer-help-content p{margin:0;color:#e8e3ed;line-height:1.48;text-wrap:pretty}
#layer-help>form:last-child{margin-top:4px}
#layer-help>form:last-child button{width:100%}

/* Dicas de bancada em fluxo imersivo */
body.is-guide{height:100dvh;min-height:0;overflow:hidden}
body.is-guide #app-header{position:absolute;z-index:42;top:var(--safe-top);left:0;right:0;width:100%;height:66px;padding-inline:12px;border:0}
body.is-guide #app-header h1{font-size:clamp(1.05rem,4vw,1.55rem)}
body.is-guide main{position:absolute;top:calc(66px + var(--safe-top));bottom:calc(78px + var(--safe-bottom));left:0;right:0;width:100%;max-width:1040px;height:auto;min-height:0;padding:10px clamp(14px,4vw,38px);overflow:hidden}
body.is-guide .app-footer{height:calc(78px + var(--safe-bottom));display:grid;align-items:center;padding:7px 12px calc(7px + var(--safe-bottom));border-radius:22px 22px 0 0}
.bench-guide{height:100%;min-height:0;width:100%;margin:auto;padding:clamp(12px,3vh,28px);border:1px solid #ffffff1e;border-radius:24px;background:linear-gradient(145deg,#211d29ed,#19171feF);overflow:hidden}
.guide-intro,.guide-summary{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(8px,2vh,18px);text-align:center}
.guide-orbit{width:clamp(64px,14vw,105px);height:clamp(64px,14vw,105px);display:grid;place-items:center;border:1px solid #b451f1;border-radius:50%;background:radial-gradient(circle,#78409a55,#24172e);box-shadow:0 0 35px #b451f133}
.guide-orbit svg{width:42%;height:42%;color:#e6c5ff}
.guide-kicker{margin:0;color:var(--purple-light);font-size:.76rem;font-weight:760;letter-spacing:.13em;text-transform:uppercase}
.bench-guide h2{font-size:clamp(1.45rem,5.6vw,2.35rem);line-height:1.08;letter-spacing:-.035em;text-wrap:balance}
.guide-intro-copy,.guide-summary>p{max-width:55ch;margin:0;color:#d8d1df;font-size:clamp(.94rem,2.5vw,1.1rem);line-height:1.45;text-wrap:pretty}
.guide-safety{width:min(100%,680px);display:grid;grid-template-columns:auto 1fr;align-items:start;gap:10px;padding:12px 14px;border:1px solid #887050;border-radius:14px;background:#342b22;color:#f3e3c7;text-align:left;font-size:.82rem;line-height:1.35}
.guide-safety strong{color:#ffdca4}
.guide-step{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.92fr);align-items:center;gap:clamp(14px,4vw,42px)}
.guide-step-copy{min-width:0;max-width:570px;margin:auto 0}
.guide-step-copy h2{margin:8px 0 16px}
.guide-step-copy ul{display:grid;gap:clamp(9px,1.8vh,16px);margin:0;padding:0;list-style:none}
.guide-step-copy li{position:relative;padding-left:23px;color:#e8e3ed;font-size:clamp(.88rem,2vw,1.05rem);line-height:1.42;text-wrap:pretty}
.guide-step-copy li::before{content:"";position:absolute;left:0;top:.48em;width:9px;height:9px;border-radius:50%;background:#cf83ff;box-shadow:0 0 12px #ad52e6}
.guide-photo{display:block;width:100%;height:100%;max-height:470px;object-fit:contain;filter:drop-shadow(0 16px 24px #0008)}
.guide-press{max-height:min(64vh,480px);animation:press-engage 4.2s ease-in-out infinite}
.guide-visual{position:relative;min-width:0;min-height:250px;height:min(58vh,430px);display:grid;place-items:center;overflow:hidden;border:1px solid #ffffff1b;border-radius:22px;background:radial-gradient(ellipse at 50% 42%,#5436638a,#221d29 69%)}
.guide-cover{grid-template-columns:1fr auto 1fr;gap:10px;padding:14px}
.guide-cover>div{width:100%;display:grid;justify-items:center;gap:14px;color:#e9d8f3;font-size:.67rem;text-align:center;letter-spacing:.07em}
.cover-surface{width:88%;height:58px;border:1px solid #e98fa4;border-radius:42% 48% 30% 36%;background:linear-gradient(150deg,#a94c64,#e9949c 48%,#663246);box-shadow:0 9px 20px #0008;animation:cover-pulse 3s ease-in-out infinite}
.cover-surface.rewet{background:linear-gradient(130deg,#763854,#db839d 50%,#bd667a)}
.cover-arrow{color:#d79aed;font-size:1.7rem}
.guide-sequence{height:100%;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:4px}
.guide-sequence>div{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.guide-sequence img{width:100%;height:clamp(74px,23vh,230px);object-fit:contain;filter:drop-shadow(0 9px 14px #0007)}
.guide-sequence>div>span{position:absolute;top:0;left:5%;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#4a255d;color:#f1d4ff;font-weight:800}
.guide-sequence strong{font-size:clamp(.65rem,1.5vw,.9rem);line-height:1.15}
.guide-sequence>i{align-self:center;color:#d8a8f0;font-size:1.4rem}
.guide-summary-sequence{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:clamp(5px,2vw,16px);padding:14px;border:1px solid #ffffff20;border-radius:17px;background:#ffffff08}
.guide-summary-sequence span{color:#f2dfff;font-weight:700}
.guide-summary-sequence i{color:#b983d3;font-style:normal}
.guide-controls{width:min(100%,900px);margin:auto;display:grid;grid-template-columns:minmax(92px,1fr) minmax(72px,1fr) minmax(92px,1fr);align-items:center;gap:10px}
.guide-controls button{min-height:46px;border-radius:14px;padding:8px 12px;font-size:.9rem}
.guide-controls .guide-primary{justify-self:end;width:100%;max-width:170px}
.guide-controls .guide-secondary{justify-self:start;width:100%;max-width:170px;background:#25222b;border-color:#64586d}
.guide-controls-intro{grid-template-columns:1fr 1fr}
.guide-controls-intro .guide-primary{grid-column:2}
.guide-progress{display:grid;justify-items:center;gap:5px;color:#ddd5e4;font-size:.78rem;font-weight:700}
.guide-progress i{position:relative;width:min(100%,110px);height:4px;border-radius:4px;background:#55495d;overflow:hidden}
.guide-progress i::before{content:"";position:absolute;inset:0 auto 0 0;width:var(--progress);border-radius:4px;background:#c16af4;transition:width .25s ease}
.guide-progress-label{text-align:center;color:#ddd5e4;font-size:.85rem;font-weight:700}
@keyframes cover-pulse{0%,100%{filter:brightness(.9)}50%{filter:brightness(1.18)}}
@keyframes press-engage{0%,100%{transform:translateY(2px) scale(.995)}50%{transform:translateY(-2px) scale(1)}}
@media(min-width:700px){
 body.is-guide #app-header{height:78px}
 body.is-guide main{top:calc(78px + var(--safe-top));bottom:calc(82px + var(--safe-bottom));padding-block:18px}
 .bench-guide{padding:clamp(24px,4vw,54px)}
 .guide-step-copy li{font-size:clamp(1rem,1.35vw,1.12rem)}
 .guide-visual{min-height:320px}
}
@media(max-width:600px){
 .guide-step{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:8px;padding:11px}
 .guide-step-copy h2{margin:5px 0 9px;font-size:clamp(1.35rem,6vw,1.75rem)}
 .guide-step-copy ul{gap:7px}
 .guide-step-copy li{font-size:clamp(.82rem,3.5vw,.95rem);line-height:1.32}
 .guide-visual{min-height:0;height:100%;max-height:260px}
 .guide-photo{max-height:100%}
 .guide-sequence img{height:clamp(68px,17vh,145px)}
 .guide-controls{grid-template-columns:minmax(78px,1fr) auto minmax(78px,1fr);gap:6px}
 .guide-controls button{padding:7px 8px;font-size:.82rem}
 .guide-controls .guide-primary,.guide-controls .guide-secondary{max-width:none}
 .guide-progress{font-size:.7rem}
 .guide-progress i{width:55px}
}
@media(max-height:680px){
 .bench-guide{padding:10px}
 .guide-step-copy h2{margin:4px 0 7px;font-size:1.34rem}
 .guide-step-copy ul{gap:5px}
 .guide-step-copy li{font-size:.8rem;line-height:1.25}
 .guide-visual{max-height:195px}
 .guide-sequence img{height:clamp(56px,14vh,96px)}
 .guide-intro,.guide-summary{gap:7px}
 .guide-safety{padding:8px 10px;font-size:.74rem}
}

/* Capa da seção Dicas de bancada */
body.is-guide.is-guide-intro #app-footer{display:none}
body.is-guide.is-guide-intro main{bottom:0;padding:calc(5px + var(--safe-top)) 12px calc(12px + var(--safe-bottom));overflow:hidden}
.guide-cover{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(7px,1.55vh,15px);width:min(100%,900px);height:100%;margin:auto;padding:5px 14px clamp(82px,11vh,118px);overflow:hidden;border:0;border-radius:0;background:transparent;text-align:center}
.guide-cover::before{content:"";position:absolute;z-index:-1;top:0;left:50%;width:min(92vw,760px);height:min(68vh,600px);transform:translateX(-50%);border-radius:50%;background:radial-gradient(ellipse at 50% 48%,#711c9d52 0%,#4b1a7040 32%,#32134016 62%,transparent 76%);filter:blur(18px);animation:cover-light 7s ease-in-out infinite}
.cover-glow{position:absolute;z-index:-1;top:2%;left:50%;width:min(72vw,540px);height:min(48vh,420px);transform:translateX(-50%);border-radius:50%;background:radial-gradient(ellipse,#ba55ee35 0%,#8239aa22 42%,transparent 73%);filter:blur(22px);pointer-events:none}
.cover-bottles{display:block;flex:none;width:min(90%,560px);height:clamp(205px,43vh,430px);object-fit:contain;filter:drop-shadow(0 20px 26px #08050d80);opacity:0;transform:translateY(18px);animation:cover-bottles-enter .85s cubic-bezier(.18,.75,.28,1) .08s forwards}
.cover-kicker{display:flex;align-items:center;justify-content:center;gap:clamp(10px,3vw,24px);margin:0;color:#e9dfea;font-size:clamp(.8rem,2.6vw,1.05rem);font-weight:580;letter-spacing:.22em;line-height:1.2}
.cover-kicker span{display:block;width:clamp(32px,8vw,76px);height:1px;background:#eee4f2;opacity:.85}
.guide-cover h2{margin:0;color:#faf7fc;font-size:clamp(2rem,6.4vw,3.6rem);font-weight:760;line-height:1.04;letter-spacing:-.045em;text-wrap:balance}
.cover-description{max-width:49ch;margin:0;color:#cbc4d1;font-size:clamp(.91rem,2.4vw,1.18rem);line-height:1.42;text-wrap:pretty}
.cover-start{z-index:1;display:flex;align-items:center;justify-content:center;gap:13px;width:min(88%,590px);min-height:clamp(56px,7.4vh,72px);margin:clamp(6px,1.8vh,17px) auto 0;padding:10px 22px;border:1px solid #dc86ff;border-radius:999px;background:linear-gradient(110deg,#8f22cf,#b143eb 52%,#8723c3);box-shadow:0 7px 28px #a83bdd4e,inset 0 1px #ffffff42;color:#fff;font-size:clamp(1.08rem,3vw,1.42rem);font-weight:720;letter-spacing:-.015em;transition:transform .22s ease,filter .22s ease,box-shadow .22s ease}
.cover-start svg{width:27px;height:27px;flex:none}
.cover-start svg path{fill:currentColor;stroke:currentColor}
.cover-start:active{transform:scale(.975);filter:brightness(1.13);box-shadow:0 2px 14px #bf59ed70,inset 0 1px #ffffff55}
.cover-wave{position:absolute;z-index:-1;left:0;right:0;bottom:0;width:100%;height:clamp(60px,10vh,118px);filter:drop-shadow(0 -3px 10px #bd56f080);pointer-events:none}
@keyframes cover-bottles-enter{to{opacity:1;transform:translateY(0)}}
@keyframes cover-light{0%,100%{opacity:.72;transform:translateX(-50%) scale(.98)}50%{opacity:1;transform:translateX(-50%) scale(1.035)}}
@media(min-width:700px){
 body.is-guide.is-guide-intro #app-header{height:78px}
 body.is-guide.is-guide-intro main{top:calc(78px + var(--safe-top));padding-inline:28px}
 .cover-bottles{width:min(62%,580px);height:min(45vh,430px)}
 .guide-cover{gap:clamp(10px,1.8vh,18px);padding-bottom:clamp(86px,10vh,115px)}
 .cover-description{font-size:clamp(1.02rem,1.4vw,1.2rem)}
}
@media(max-width:420px){
 .cover-bottles{width:min(94%,470px);height:clamp(190px,40vh,310px)}
 .guide-cover{gap:clamp(6px,1.2vh,11px);padding-bottom:clamp(76px,10vh,96px)}
 .guide-cover h2{font-size:clamp(1.9rem,9.3vw,2.4rem)}
 .cover-description{max-width:36ch}
 .cover-start{width:min(92%,390px)}
}
@media(max-height:680px){
 .cover-bottles{height:clamp(170px,36vh,250px)}
 .guide-cover{gap:6px;padding-bottom:72px}
 .cover-start{min-height:50px;margin-top:5px}
 .cover-wave{height:62px}
}
@media(prefers-reduced-motion:reduce){
 .cover-bottles{opacity:1;transform:none;animation:none}
 .guide-cover::before,.cover-glow{animation:none}
}

/* Dica 1: preparação da mufla */
body.is-guide.is-guide-prep{
 background:radial-gradient(ellipse at 50% 28%,#24152e 0,transparent 58%),#121116;
}
body.is-guide.is-guide-prep main{
 padding-block:clamp(9px,1.8dvh,18px) 8px;
 overflow:auto;
}
.mufla-prep{
 width:min(100%,680px);
 height:100%;
 margin-inline:auto;
 display:grid;
 grid-template-rows:auto minmax(200px,1fr) auto;
 gap:clamp(6px,1.45dvh,14px);
}
.mufla-prep-kicker{
 display:inline-block;
 margin:0 0 6px;
 padding:3px 9px;
 border:1px solid #8250a1;
 border-radius:999px;
 background:#342141;
 color:#f2dcff;
 font-size:.7rem;
 font-weight:750;
 letter-spacing:.065em;
}
.mufla-prep h2{
 margin:0;
 font-size:clamp(1.55rem,5.6vw,2.25rem);
 line-height:1.08;
 letter-spacing:-.035em;
}
.mufla-prep-copy ul{
 display:grid;
 gap:4px;
 margin:8px 0 0;
 padding-left:1.15em;
 color:#ebE4ee;
 font-size:clamp(.82rem,3.5vw,1rem);
 line-height:1.32;
}
.mufla-prep-copy li::marker{color:#bd71ee}
.mufla-prep-figure{
 position:relative;
 isolation:isolate;
 container-type:size;
 display:grid;
 place-items:center;
 min-height:0;
}
.mufla-prep-figure::before{
 content:"";
 position:absolute;
 z-index:-1;
 inset:8% 4% 12%;
 background:radial-gradient(ellipse at 50% 42%,#9d39d050,transparent 69%);
 pointer-events:none;
}
.mufla-prep-diagram{
 position:relative;
 width:min(100%,calc(100cqh * 1173 / 1083));
 aspect-ratio:1173 / 1083;
}
.mufla-prep-diagram img,.mufla-prep-diagram svg{
 display:block;
 width:100%;
 height:100%;
}
.mufla-prep-diagram img{object-fit:contain}
.mufla-prep-diagram svg{position:absolute;inset:0;overflow:visible}
.prep-target,.prep-leader{fill:none;stroke-linecap:round}
.prep-target{
 stroke:#9e41d5;
 stroke-width:3;
 opacity:.82;
 animation:prep-glow 1.8s ease-in-out 3 alternate;
}
.prep-leader{stroke:#f6e7ff;stroke-width:2.4}
.prep-point{fill:#b854f4;stroke:#fff;stroke-width:2.2}
.prep-label{animation:prep-label-in .28s ease-out both}
.prep-mark-isolante .prep-label{animation-delay:.1s}
.prep-label rect{fill:#1d1525;stroke:#ac65d9;stroke-width:1.6}
.prep-label text{
 fill:#fff5ff;
 text-anchor:middle;
 dominant-baseline:middle;
 font-size:21px;
 font-weight:730;
}
.mufla-prep[data-destaque="isolante"] .prep-mark-isolante .prep-target,
.mufla-prep[data-destaque="vaselina"] .prep-mark-vaselina .prep-target{
 opacity:1;
 stroke:#be58fa;
 filter:drop-shadow(0 0 5px #9e31f2);
 animation:none;
}
.mufla-prep[data-destaque="isolante"] .prep-mark-isolante rect,
.mufla-prep[data-destaque="vaselina"] .prep-mark-vaselina rect{fill:#602b82;stroke:#f1bdff}
.mufla-prep-materials{grid-template-columns:repeat(2,minmax(0,1fr))}
.mufla-prep-materials button{
 display:grid;
 grid-template-columns:minmax(30px,31%) minmax(0,1fr);
 align-items:center;
 gap:7px;
 min-height:clamp(62px,10dvh,88px);
 padding:5px 7px;
 text-align:left;
}
.mufla-prep-materials img{
 width:100%;
 height:clamp(48px,8dvh,70px);
 object-fit:contain;
}
.mufla-prep-materials [data-material="vaselina"] img{height:clamp(43px,7.3dvh,64px)}
.mufla-prep-materials strong,.mufla-prep-materials small{display:block}
.mufla-prep-materials strong{font-size:clamp(.78rem,3.5vw,1.02rem);line-height:1.16}
.mufla-prep-materials small{margin-top:3px;font-size:clamp(.68rem,2.9vw,.84rem);line-height:1.16}
@keyframes prep-glow{from{opacity:.65}to{opacity:1;filter:drop-shadow(0 0 3px #b75bef80)}}
@keyframes prep-label-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-height:690px){
 .mufla-prep-copy ul{font-size:.8rem;line-height:1.24}
}
@media(max-width:540px) and (max-height:620px){
 body.is-guide.is-guide-prep main{padding-block:6px}
 .mufla-prep{grid-template-rows:auto minmax(142px,1fr) auto;gap:5px}
 .mufla-prep-copy ul{gap:3px;margin-top:5px}
 .mufla-prep-kicker{margin-bottom:4px}
 .mufla-prep-materials button{min-height:56px}
 .mufla-prep-materials img,.mufla-prep-materials [data-material="vaselina"] img{height:42px}
 .prep-label text{font-size:28px}
 .prep-mark-vaselina .prep-label rect{x:-9px;width:214px}
 .prep-mark-isolante .prep-label rect{x:449px;width:162px}
}
@media(prefers-reduced-motion:reduce){
 .prep-target,.prep-label{animation:none}
}

/* Dica 2: controle do líquido */
body.is-guide.is-guide-liquid{
 background:radial-gradient(ellipse at 50% 28%,#24152e 0,transparent 58%),#121116;
}
body.is-guide.is-guide-liquid main{
 padding:clamp(9px,1.8dvh,18px) clamp(8px,2.4vw,24px) 8px;
 overflow:auto;
}
.resin-liquid-tip{
 display:grid;
 grid-template-rows:auto 1fr;
 gap:clamp(10px,2dvh,22px);
 width:min(100%,860px);
 min-height:100%;
 margin-inline:auto;
}
.resin-liquid-copy{
 width:min(100%,680px);
 margin-inline:auto;
 padding-inline:clamp(5px,1.5vw,13px);
}
.resin-liquid-copy h2{
 font-size:clamp(1.55rem,5.6vw,2.25rem);
 line-height:1.08;
 letter-spacing:-.035em;
}
.resin-liquid-comparison{
 position:relative;
 isolation:isolate;
 align-self:center;
 width:min(100%,102dvh);
 margin-inline:auto;
}
.resin-liquid-comparison::before{
 content:"";
 position:absolute;
 z-index:-1;
 inset:-18% 0 18%;
 background:radial-gradient(ellipse 52% 48% at 50% 43%,#9d39d050,transparent);
 pointer-events:none;
}
.resin-liquid-stage{
 overflow:clip;
 animation:liquid-platform-enter .44s ease-out both;
}
.resin-liquid-stage img{
 display:block;
 width:100%;
 height:auto;
 transform-origin:var(--resin-focus-x,50%) 44%;
 transition:transform 360ms ease;
}
.resin-liquid-tip[data-liquid-focus="liquido"]{--resin-focus-x:21.5%}
.resin-liquid-tip[data-liquid-focus="ideal"]{--resin-focus-x:50%}
.resin-liquid-tip[data-liquid-focus="seca"]{--resin-focus-x:79%}
.resin-liquid-tip[data-liquid-focus] .resin-liquid-stage img{
 transform:translateX(calc(50% - var(--resin-focus-x))) scale(1.95);
}
.resin-liquid-states{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 margin:0;
 padding:0 7%;
 list-style:none;
}
.resin-liquid-state{
 position:relative;
 display:flex;
 flex-direction:column;
 align-items:center;
 gap:5px;
 padding-inline:clamp(3px,1vw,12px);
 text-align:center;
 animation:liquid-caption-enter .32s ease-out both;
 animation-delay:.12s;
}
.resin-liquid-state:nth-child(2){animation-delay:.22s}
.resin-liquid-state:nth-child(3){animation-delay:.32s}
.resin-liquid-select{
 display:grid;
 justify-items:center;
 align-content:center;
 gap:3px;
 width:100%;
 padding:2px;
 min-height:44px;
 border:1px solid #50415b;
 border-radius:11px;
 background:#24202b;
}
.resin-liquid-select[aria-pressed="true"]{
 border-color:#bf7de3;
 background:linear-gradient(#943ebd,#6d2992);
 color:#fff;
}
.resin-liquid-state + .resin-liquid-state::before{
 content:"";
 position:absolute;
 inset:32px auto 0 0;
 width:1px;
 background:linear-gradient(transparent,#a984ba55 30%,#a984ba55 70%,transparent);
}
.resin-liquid-indicator{
 display:grid;
 place-items:center;
 width:clamp(23px,6vw,36px);
 aspect-ratio:1;
 border:1px solid #fb6b78;
 border-radius:50%;
 background:linear-gradient(#af3445,#791722);
 color:white;
}
.resin-liquid-indicator svg{width:76%;height:76%}
.resin-liquid-state.is-ideal .resin-liquid-indicator{
 border-color:#82e8a2;
 background:linear-gradient(#278e52,#136636);
 animation:liquid-ideal-emphasis .72s ease-in-out .45s;
}
.resin-liquid-state.is-ideal svg{stroke-width:2.6}
.resin-liquid-select strong{
 color:#f6ebff;
 font-size:clamp(.64rem,2.65vw,.9rem);
 line-height:1.12;
 text-wrap:balance;
}
.resin-liquid-state p{
 max-width:28ch;
 margin:0;
 color:#ded4e2;
 font-size:clamp(.7rem,2.85vw,.95rem);
 line-height:1.3;
}
@keyframes liquid-platform-enter{
 from{opacity:0;transform:translateY(-4px)}
 to{opacity:1;transform:translateY(0)}
}
@keyframes liquid-caption-enter{from{opacity:0}to{opacity:1}}
@keyframes liquid-ideal-emphasis{
 50%{box-shadow:0 0 12px #71dc9570}
}
@media(max-width:540px) and (max-height:620px){
 body.is-guide.is-guide-liquid main{padding-block:5px}
 .resin-liquid-tip{gap:4px}
 .resin-liquid-copy ul{gap:3px;margin-top:5px;line-height:1.2}
 .resin-liquid-copy .mufla-prep-kicker{margin-bottom:4px}
 .resin-liquid-comparison{width:min(96%,100dvh)}
 .resin-liquid-state{gap:3px;padding-inline:2px}
 .resin-liquid-indicator{width:21px}
 .resin-liquid-select strong{font-size:.625rem}
 .resin-liquid-state p{line-height:1.17}
}
@media(min-width:360px) and (max-width:540px) and (min-height:621px){
 .resin-liquid-comparison{padding-bottom:clamp(8px,5dvh,38px)}
 .resin-liquid-state p{font-size:.76rem}
}
@media(prefers-reduced-motion:reduce){
 .resin-liquid-stage,.resin-liquid-state,.resin-liquid-state.is-ideal .resin-liquid-indicator{animation:none}
 .resin-liquid-stage img{transition:none}
}

/* Dica 3: aplicação equilibrada */
body.is-guide.is-guide-balance{
 background:radial-gradient(ellipse at 50% 28%,#24152e 0,transparent 58%),#121116;
}
body.is-guide.is-guide-balance main{
 padding:clamp(8px,1.6dvh,16px) clamp(8px,2.5vw,25px) 8px;
 overflow:auto;
}
.application-balance{
 display:grid;
 grid-template-rows:auto auto auto;
 align-content:center;
 justify-items:center;
 width:min(100%,785px,112dvh);
 min-height:100%;
 margin-inline:auto;
 gap:clamp(10px,2.4dvh,23px);
}
.application-balance-copy{
 width:100%;
 padding-inline:clamp(4px,1.4vw,12px);
}
.application-balance-copy h2{
 font-size:clamp(1.5rem,5.4vw,2.25rem);
 line-height:1.08;
 letter-spacing:-.035em;
}
.application-balance-copy h2::after{
 content:"";
 display:block;
 width:2.8rem;
 height:2px;
 margin-top:8px;
 border-radius:2px;
 background:#bf77e4;
}
.application-balance-figure{
 position:relative;
 isolation:isolate;
 width:100%;
 margin:0;
 aspect-ratio:1672 / 915;
}
.application-balance-figure::before{
 content:"";
 position:absolute;
 inset:-15% -2% 5%;
 z-index:-1;
 background:radial-gradient(ellipse 51% 48% at 50% 45%,#8a38b64a,transparent);
}
.application-balance-image,.application-balance-figure > svg{
 display:block;
 width:100%;
 height:100%;
}
.application-balance-image{object-fit:contain;animation:balance-overlay-in .44s ease-out both}
.application-balance-figure > svg{
 position:absolute;
 inset:0;
 fill:none;
 stroke:#fff;
 stroke-width:1.6;
 stroke-linecap:round;
 stroke-linejoin:round;
 pointer-events:none;
}
.balance-arrow-shaft{
 stroke-dasharray:1;
 animation:balance-draw-arrow .26s ease-out var(--mark-delay) both;
}
.balance-arrow-head{
 animation:balance-overlay-in .16s ease-out calc(var(--mark-delay) + .21s) both;
}
.balance-guide{animation:balance-overlay-in .28s ease-out var(--mark-delay) both}
.balance-guide line{stroke-dasharray:6 4}
.balance-guide circle{fill:#20112155}
.application-balance-controls{
 grid-template-columns:repeat(3,minmax(0,1fr));
 width:100%;
}
.application-balance-controls .application-balance-control{
 display:grid;
 justify-items:center;
 align-content:center;
 gap:5px;
 min-height:clamp(54px,8dvh,78px);
 padding:5px 3px;
 text-align:center;
 font-size:clamp(.68rem,2.9vw,.91rem);
 line-height:1.12;
}
.application-balance-control svg{width:22px;height:22px;color:#ddacf7}
@keyframes balance-overlay-in{from{opacity:0}to{opacity:1}}
@keyframes balance-draw-arrow{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@media(max-width:540px) and (min-height:641px){
 .application-balance{grid-template-rows:auto 1fr auto;align-items:center;padding-bottom:clamp(8px,2.5dvh,22px)}
}
@media(max-width:540px) and (max-height:640px){
 body.is-guide.is-guide-balance main{padding-block:5px}
 .application-balance{gap:5px}
 .application-balance-copy{padding-inline:2px}
 .application-balance-copy .mufla-prep-kicker{margin-bottom:4px}
 .application-balance-copy h2::after{margin-top:4px}
 .application-balance-copy ul{margin-top:5px;gap:3px;line-height:1.2}
 .application-balance-figure{width:96%}
 .application-balance-controls .application-balance-control{min-height:48px;gap:3px;padding-block:3px}
 .application-balance-control svg{width:17px;height:17px}
}
@media(prefers-reduced-motion:reduce){
 .application-balance-image,.balance-arrow-shaft,.balance-arrow-head,.balance-guide{animation:none}
}

/* Dica 4: comparação do recobrimento com Rosa Médio */
body.is-guide.is-guide-resin-cover{
 background:radial-gradient(ellipse at 50% 28%,#24152e 0,transparent 58%),#121116;
}
body.is-guide.is-guide-resin-cover main{
 padding:clamp(9px,1.8dvh,18px) clamp(10px,2.6vw,24px) 9px;
 overflow:auto;
}
.resin-cover-tip{
 display:grid;
 grid-template-rows:auto minmax(128px,1fr) auto;
 justify-items:center;
 align-items:center;
 width:min(100%,900px);
 height:100%;
 gap:clamp(7px,1.3dvh,12px);
 margin-inline:auto;
}
.resin-cover-copy{width:min(100%,740px);padding-inline:clamp(3px,1vw,10px)}
.resin-cover-copy h2{
 font-size:clamp(1.5rem,5.2vw,2.25rem);
 line-height:1.08;
 letter-spacing:-.035em;
}
.resin-cover-figure{
 position:relative;
 isolation:isolate;
 container-type:size;
 width:100%;
 height:100%;
 margin:0;
 overflow:clip;
}
.resin-cover-figure::before{
 content:"";
 position:absolute;
 z-index:-1;
 inset:-11% -1%;
 background:radial-gradient(ellipse 51% 48% at 50% 45%,#8a38b64a,transparent);
 pointer-events:none;
}
.resin-cover-figure img{
 position:absolute;
 top:50%;
 left:50%;
 display:block;
 width:clamp(112cqw,calc(104cqh * 1672 / 941),184cqw);
 height:auto;
 transform:translate(-50%,-46%);
 filter:brightness(1.045) contrast(1.14) saturate(1.18);
}
.resin-cover-figure [data-cover-image="umedecido"]{
 opacity:0;
 transition:opacity 400ms ease;
}
.resin-cover-tip[data-cover-state="umedecido"] [data-cover-image="umedecido"]{opacity:1}
.resin-cover-comparison{width:min(100%,580px);padding-inline:clamp(2px,1vw,8px)}
.guide-segments{
 display:grid;
 padding:3px;
 border:1px solid #50415b;
 border-radius:14px;
 background:#24202b;
}
.guide-segments > button{
 border:1px solid transparent;
 border-radius:10px;
 background:#24202b;
 color:#f2eaf7;
}
.guide-segments > button:hover:not([aria-pressed="true"]){background:#302739}
.guide-segments > button[aria-pressed="true"]{
 border-color:#bf7de3;
 background:linear-gradient(#943ebd,#6d2992);
 color:white;
}
.resin-cover-switch{grid-template-columns:repeat(2,minmax(0,1fr))}
.resin-cover-button{
 min-height:46px;
 padding:5px 6px;
 font-size:clamp(.8rem,3.6vw,.98rem);
 font-weight:660;
 line-height:1.15;
}
@media(max-width:540px) and (max-height:640px){
 body.is-guide.is-guide-resin-cover main{padding-block:6px}
 .resin-cover-tip{gap:7px}
 .resin-cover-copy ul{line-height:1.24;gap:3px}
}
@media(prefers-reduced-motion:reduce){
 .resin-cover-figure [data-cover-image="umedecido"]{transition:none}
}

/* Dica 5: comparação do ponto da resina */
body.is-guide.is-guide-resin-point{
 background:radial-gradient(ellipse at 50% 38%,#251530,transparent 62%),#121116;
}
body.is-guide.is-guide-resin-point main{
 padding:clamp(8px,1.6dvh,16px) clamp(9px,2.6vw,24px) 8px;
 overflow:auto;
}
.resin-point-tip{
 display:grid;
 grid-template-rows:auto auto minmax(106px,1fr) auto;
 justify-items:center;
 width:min(100%,740px);
 height:100%;
 gap:clamp(7px,1.45dvh,14px);
 margin-inline:auto;
}
.resin-point-copy{width:100%;padding-inline:clamp(2px,1vw,10px)}
.resin-point-copy h2{
 font-size:clamp(1.4rem,5.15vw,2.25rem);
 line-height:1.08;
 letter-spacing:-.035em;
}
.resin-point-switch{
 width:min(100%,610px);
 grid-template-columns:repeat(3,minmax(0,1fr));
}
.resin-point-button{
 min-height:44px;
 padding:4px 2px;
 font-size:clamp(.68rem,2.7vw,.94rem);
 font-weight:650;
 line-height:1.13;
 text-align:center;
 text-wrap:balance;
}
.resin-point-figure{
 position:relative;
 isolation:isolate;
 width:min(100%,670px);
 height:100%;
 margin:0;
}
.resin-point-figure::before{
 content:"";
 position:absolute;
 inset:0;
 z-index:-1;
 background:radial-gradient(ellipse 49% 47% at 50% 51%,#742e9950,transparent);
 pointer-events:none;
}
.resin-point-figure img{
 position:absolute;
 inset:0;
 display:block;
 width:100%;
 height:100%;
 object-fit:contain;
 opacity:0;
 transition:opacity 400ms ease;
}
.resin-point-tip[data-resin-point="liquida"] [data-point-image="liquida"],
.resin-point-tip[data-resin-point="ideal"] [data-point-image="ideal"],
.resin-point-tip[data-resin-point="solida"] [data-point-image="solida"]{opacity:1}
.resin-point-captions{
 width:100%;
 display:grid;
 justify-items:center;
 color:#ede4f1;
 font-size:clamp(.77rem,3.45vw,1rem);
 line-height:1.25;
 text-align:center;
}
.resin-point-captions p{grid-area:1/1;margin:0}
.resin-point-caption-size{visibility:hidden}
@media(max-width:540px) and (max-height:640px){
 body.is-guide.is-guide-resin-point main{padding-block:5px}
 .resin-point-tip{gap:5px}
 .resin-point-copy .mufla-prep-kicker{margin-bottom:4px}
 .resin-point-copy ul{margin-top:5px;gap:3px;font-size:.78rem;line-height:1.21}
}
@media(prefers-reduced-motion:reduce){
 .resin-point-figure img{transition:none}
}


/* Altura útil compartilhada pelas páginas de consulta. */
body:not(.is-guide):not(.is-immersive){
 display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100dvh;min-height:0;
}
body:not(.is-guide):not(.is-immersive) main{
 min-height:0;overflow:auto;padding-block:clamp(8px,1.6dvh,18px);
}
body:not(.is-guide):not(.is-immersive) .app-footer{position:relative}
body:not(.is-guide):not(.is-immersive) .top{height:calc(clamp(50px,8dvh,72px) + var(--safe-top))}
.primary-nav button{min-height:clamp(44px,7dvh,62px);font-size:clamp(.7rem,2.7vw,.9rem)}
main:has(.home){align-content:center}
.home-hero img{max-height:clamp(90px,34dvh,350px)}
.home-hero{gap:clamp(6px,1.4dvh,14px)}
.cta{min-height:clamp(48px,8dvh,68px)}
.quick-links{margin:clamp(10px,2dvh,22px) auto 0}
.quick-links button{min-height:clamp(64px,12dvh,112px);gap:5px}
.quick-links svg{width:32px;height:32px}
.immersive-step{grid-template-rows:auto minmax(150px,1fr)}
@media(min-width:760px){
 .combo-active,.combo-detail{display:grid;grid-template-columns:1fr 1fr;gap:12px 22px;align-items:center}
 .combo-detail{max-width:900px}
 .combo-active .detail-intro,.combo-detail .detail-intro,.combo-active .start-button,.combo-detail .start-button{grid-column:1/-1}
 .library{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:759px) and (max-height:760px){
 .combo-option{grid-template-rows:30px auto}
 .combo-option img{height:30px}
 .combo-active .combo-map{max-height:clamp(78px,14dvh,104px)}
 .resin-group{padding:6px 9px}
 .library{gap:6px}
 .resin-group-header{min-height:32px;margin-bottom:3px}
 .resin-accent{height:31px}
 .resin-tray{padding:4px}
 .resin-swatch{height:21px}
 .resin-tray-single{min-height:33px}
}

/* Encerramento das dicas de bancada */
body.is-guide-ending{
 --ending-width:740px;
 background:radial-gradient(ellipse at 50% 0%,#29152f 0,transparent 58%),#0e0c12;
}
body.is-guide-ending main{max-width:var(--ending-width);padding:0 clamp(7px,2vw,16px);overflow:auto}
body.is-guide-ending .bench-guide{
 background:linear-gradient(160deg,#1c1522ee,#100e14 55%);border:0;border-radius:20px;
 padding:clamp(12px,2.8dvh,26px) clamp(16px,4.6vw,34px);overflow:visible;
}
body.is-guide-ending .guide-step{display:grid;grid-template-columns:1fr;grid-template-rows:auto minmax(140px,1fr);gap:clamp(8px,2dvh,22px);height:auto;min-height:100%;align-items:stretch}
.guide-step-copy{max-width:none}
body.is-guide-ending .guide-step-copy li{font-size:clamp(.88rem,3.8vw,1.08rem);line-height:1.34}
body.is-guide-ending .guide-step-copy h2{font-size:clamp(1.32rem,5.45vw,2rem);text-wrap:initial;margin:5px 0 12px}
body.is-guide-ending .guide-step-copy li::before{background:#bd5de9}
.press-stage{display:flex;min-height:140px;position:relative;align-items:center;justify-content:center;gap:clamp(6px,2vw,18px)}
.press-stage img{position:absolute;inset:0 28% 0 0;height:100%;width:72%;object-fit:contain}
.press-duration{margin-left:auto;width:27%;max-width:110px;align-self:flex-start;margin-top:clamp(12px,5dvh,50px);display:grid;justify-items:center;padding:12px 3px;line-height:1.25;border:1px solid #5c4269;border-radius:15px;background:#261d2d}
.press-duration svg{width:25px;height:25px;color:#de91ff}
.press-duration strong{font-weight:600;font-size:1.13rem}
.press-duration span{font-size:.85rem}
.finish-sequence,.summary-steps{list-style:none;margin:0;padding:0}
.finish-sequence{align-self:center;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-inline:clamp(-16px,-2vw,-6px);gap:8px}
.finish-sequence li{position:relative;display:grid;grid-template-rows:auto auto 2.5em;justify-items:center;align-items:start;text-align:center;gap:4px}
.finish-sequence li>span{display:grid;place-items:center;border-radius:50%;width:2em;height:2em;background:#612c78;font-weight:700}
.finish-sequence img{width:100%;height:clamp(60px,17dvh,170px);object-fit:contain}
.finish-sequence strong{font-size:clamp(.72rem,3.25vw,.98rem);line-height:1.25}
.finish-sequence li+li::before{content:"›";position:absolute;left:-7px;top:48%;color:#c590d7}
body.is-guide-ending .app-footer{max-width:var(--ending-width);background:#141019;border-color:#ffffff12}
body.is-guide-ending .guide-primary,.summary-finish{background:linear-gradient(#8c32bc,#661a91);border-color:#a755d2;border-radius:22px}
body.is-guide-ending .guide-secondary{border-radius:22px}
body.is-guide-ending .guide-summary{justify-content:space-evenly;gap:12px;min-height:min-content}
.summary-heading{display:grid;justify-items:center;gap:7px}
.summary-check{width:clamp(49px,9dvh,76px);aspect-ratio:1;display:grid;place-items:center;border-radius:50%;border:3px solid #bd56ec;color:#d773fb;box-shadow:0 0 24px #a637cb42;margin-bottom:5px}
.summary-check svg{width:65%;stroke-width:3}
.summary-steps{width:min(100%,490px);display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px 0;border:1px solid #514258;background:#221c27;border-radius:16px;padding:14px 4px}
.summary-steps li{position:relative;grid-column:span 2;display:grid;justify-items:center;gap:5px;font-size:clamp(.8rem,3vw,1rem)}
.summary-steps li:nth-child(4){grid-column:2/span 2}
.summary-steps li:is(:nth-child(1),:nth-child(2),:nth-child(4))::after{content:"→";position:absolute;right:-.45em;top:.5em;color:#ce9bdb}
.summary-steps svg{width:clamp(28px,5.5dvh,42px);height:auto;stroke-width:1.4;color:#e98fff;filter:drop-shadow(0 0 5px #9b33bc)}
.guide-summary>p{max-width:38ch}
body.is-guide-summary #app-footer{background:#100e14;border:0;box-shadow:none}
.summary-finish{display:flex;align-items:center;justify-content:center;gap:9px;width:min(90%,490px);margin:auto}
.summary-finish svg{width:20px;height:20px}
@media(orientation:landscape) and (max-height:560px){
 body.is-guide-ending .guide-step{grid-template-columns:1fr 1fr;grid-template-rows:1fr}
 body.is-guide-ending .guide-summary{display:grid;grid-template-columns:1fr 1fr;align-content:center;align-items:center}
 .guide-summary>p{grid-column:1/-1;margin-inline:auto}
}
#app:focus{outline:none}
@media(min-width:700px){
 .application-balance-figure{width:min(100%,78dvh)}
 .resin-liquid-comparison{width:min(100%,85dvh)}
}
@media(max-width:600px) and (max-height:620px){
 .combo-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}
 .combo-option{grid-template:1fr / 26px 1fr;min-height:33px;padding:2px 3px 2px 14px;gap:3px}
 .combo-option img{height:24px}
 .combo-option>span{width:13px;height:13px;left:1px;top:2px;font-size:.6rem}
 .combo-option strong{font-size:.7rem}
 .combo-active .recipe-table td,.combo-active .recipe-table th{padding-block:2px}
 .combo-active .combo-map{max-height:72px}
 .combo-active .start-button{min-height:44px;margin-top:5px}
 .resin-group-header{margin:0}
 .resin-tray:not(.resin-tray-single){border:0;background:none;padding:1px 0}
 .resin-sample{padding:1px;gap:1px}
 .resin-sample:not(.resin-sample-single) .resin-swatch{width:30px;height:12px}
 .resin-tray-single{min-height:28px;padding:2px 6px}
 .resin-group{padding-block:4px}
}
@media(orientation:landscape) and (max-height:560px){
 body.is-guide #app-header{height:44px}
 body.is-guide main,body.is-guide.is-guide-intro main{top:calc(44px + var(--safe-top));bottom:calc(54px + var(--safe-bottom));padding-block:4px}
 body.is-guide.is-guide-intro main{bottom:0}
 body.is-guide .app-footer{height:calc(54px + var(--safe-bottom));padding-block:3px calc(3px + var(--safe-bottom))}
 .home{display:grid;grid-template-columns:3fr 2fr;align-items:center;gap:20px}
 .quick-links{margin:0}
 .quick-links button{padding:8px}
 .home-hero img{height:22dvh}
 .home-hero p{font-size:.96rem}
 .cta{min-height:44px;font-size:1.05rem}
 .mufla-prep,.application-balance,.resin-cover-tip,.resin-point-tip,.resin-liquid-tip{width:100%;grid-template-columns:minmax(0,1fr) minmax(0,1fr);height:100%;min-height:0;gap:6px 14px;align-content:center}
 .mufla-prep,.resin-cover-tip,.application-balance{grid-template-rows:minmax(0,1fr) auto}
 .mufla-prep-copy{grid-column:1;grid-row:1/-1;align-self:center}
 .mufla-prep-figure,.resin-cover-figure,.application-balance-figure{grid-column:2;grid-row:1;align-self:center}
 .application-balance-figure{width:min(100%,65dvh)}
 .resin-liquid-tip{grid-template-rows:1fr}
 .resin-liquid-comparison{width:min(100%,84dvh)}
 .resin-point-tip{grid-template-rows:auto minmax(0,1fr) auto}
 .resin-point-figure,.resin-point-switch,.resin-point-captions{grid-column:2}
 .guide-cover .cover-bottles{height:24dvh;min-height:0}
 .summary-steps{padding:8px 4px;gap:6px}
 .summary-heading h2{font-size:1.55rem}
 body.is-guide-ending .guide-step-copy li{font-size:.9rem}
}
@media(orientation:landscape) and (max-height:560px){
 body:not(.is-guide):not(.is-immersive) .top{height:46px}
 .combo-active,.combo-detail{gap:4px 12px}
 .combo-detail .combo-map,.combo-active .combo-map{max-height:29dvh}
 .combo-picker{gap:4px;margin-bottom:4px}
 .combo-option{grid-template:1fr / 24px 1fr;min-height:36px;padding:4px 4px 4px 14px}
 .combo-option img{height:24px}
 .combo-option strong{font-size:.7rem}
 .combo-option>span{width:14px;height:14px;left:1px;font-size:.62rem}
 .combo-active .recipe-table td,.combo-active .recipe-table th,.combo-detail .recipe-table td,.combo-detail .recipe-table th{padding-block:1px}
 .recipe-table table{font-size:.74rem}
 .combo-active .start-button,.combo-detail .start-button{min-height:44px;margin-top:2px}
 .resin-group{padding:4px 7px}
 .library{gap:5px}
 .resin-group-header{min-height:29px;margin-bottom:2px}
 .resin-heading h2{font-size:1rem}
 .resin-heading p,.resin-sample-code,.resin-sample-name{font-size:.72rem}
 .resin-accent,.resin-drop svg{height:28px}
 .resin-tray{padding:3px}
 .resin-sample{padding:1px;gap:1px}
 .resin-swatch{height:15px}
 .resin-tray-single{min-height:28px}
 .resin-liquid-state p{font-size:.75rem}
 .resin-liquid-indicator{width:22px}
 .resin-liquid-comparison{width:min(100%,76dvh)}
 body.is-immersive main{padding-top:calc(52px + var(--safe-top));padding-bottom:calc(64px + var(--safe-bottom))}
 body.is-immersive #app-header{height:48px}
 body.is-immersive .immersive-step{grid-template:1fr / minmax(0,1fr) minmax(0,1fr);align-items:center}
 .immersive-step .step-model{height:100%}
}
@media(min-width:760px) and (max-height:560px){
 .combo-active{grid-template-areas:"title recipe" "map recipe" "start recipe"}
 .combo-active .detail-intro{grid-area:title}
 .combo-active .combo-map{grid-area:map;max-height:24dvh}
 .combo-active .recipe-table{grid-area:recipe}
 .combo-active .start-button{grid-area:start}
 .bench-notice{width:min(100%,680px);padding:5px 12px;gap:6px}
 .bench-notice .coverage-notes{padding-block:7px;gap:4px}
 .bench-notice h2{font-size:1.4rem}
}
@media(min-width:760px) and (max-height:560px){
 body:not(.is-guide):not(.is-immersive) main:has(.combinations){padding-block:2px}
 .combo-active{padding-block:4px}
}

/* R09: novos recursos preservam a paleta e os componentes da R08. */
.quick-links{grid-template-columns:repeat(3,minmax(0,1fr))}
.quick-links button{min-width:0}
.quick-links button span{max-width:12ch}
.brand-preference{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,220px);align-items:center;gap:6px 14px;margin:0 auto 14px;padding:12px 14px;border:1px solid var(--stroke);border-radius:16px;background:var(--surface-soft)}
.brand-preference label{font-weight:650}
.brand-preference select{min-height:44px;padding:8px 12px;border:1px solid #675d70;border-radius:11px;background:var(--surface);color:inherit;font:inherit}
.brand-preference p{grid-column:1/-1;margin:0;color:var(--muted);font-size:.78rem}
.settings-screen,.install-screen{max-width:760px;margin-inline:auto;display:grid;gap:14px}
.settings-screen h2,.install-screen h2{margin:0;font-size:clamp(1.45rem,5vw,2rem)}
.settings-screen>p:not(.eyebrow),.install-screen>p:not(.eyebrow){margin:0;color:#e4deea}
.settings-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.settings-actions button{display:flex;align-items:center;justify-content:center;gap:9px}
.settings-actions svg{width:22px;height:22px;color:var(--purple-light)}
.install-state{padding:12px 14px;border:1px solid var(--stroke);border-radius:12px;background:var(--surface-soft);color:var(--muted)}
.install-screen ol{margin:0;padding-left:24px;line-height:1.8}
.poly-page{width:min(100%,760px);margin:0 auto;padding-bottom:24px;display:grid;gap:14px}
.poly-intro{position:relative;padding:4px 4px 0 58px}
.poly-intro h2,.poly-summary h2{margin:0;font-size:clamp(1.55rem,6vw,2.15rem);letter-spacing:-.03em}
.poly-intro>p:last-child{max-width:55ch;margin:7px 0 0;color:var(--muted)}
.poly-icon{position:absolute;left:0;top:8px;width:44px;height:44px;display:grid;place-items:center;border:1px solid #665473;border-radius:14px;background:#271e30;color:var(--purple-light)}
.poly-icon svg,.poly-timer-open svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.poly-card,.poly-step,.poly-total,.poly-sound{border:1px solid var(--stroke);border-radius:18px;background:var(--surface-soft)}
.poly-card{padding:16px}
.poly-card fieldset{margin:0;padding:0;border:0}
.poly-card legend{margin-bottom:10px;font-weight:700}
.poly-power-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.poly-power{position:relative;min-height:54px;display:flex;align-items:center;justify-content:center;border:1px solid #504957;border-radius:13px;background:#24222b;font-weight:700;cursor:pointer}
.poly-power:has(input:checked){border-color:var(--purple);box-shadow:inset 0 0 0 1px var(--purple);background:#30233b}
.poly-power input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.poly-power:focus-within{outline:3px solid #d4a5ff;outline-offset:2px}
.text-action{border:0;background:transparent;color:var(--purple-light);padding-inline:4px;text-align:left}
.poly-save{width:100%;margin-top:14px}
.poly-help{max-width:min(560px,calc(100vw - 28px));padding:22px;border:1px solid #685b74;border-radius:20px;background:var(--surface);color:inherit}
.poly-help::backdrop{background:#09070dcc;backdrop-filter:blur(3px)}
.poly-help form{display:grid;gap:12px}
.poly-help h2,.poly-help p{margin:0}
.poly-close{justify-self:end}
.poly-summary{display:grid;grid-template-columns:1fr auto 40px;align-items:center;gap:10px}
.poly-summary>div{min-width:0}
.poly-help-trigger{width:40px;height:40px;border:1px solid var(--stroke);border-radius:50%;font-weight:800}
.poly-quantity-switch,.poly-quantity{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.poly-quantity-switch button[aria-pressed="true"]{border-color:var(--purple);background:var(--selected);box-shadow:inset 0 0 0 1px var(--purple)}
.poly-quantity-choice{min-height:76px;display:flex;align-items:center;justify-content:center;gap:9px}
.poly-quantity-choice strong{font-size:1.6rem;color:var(--purple-light)}
.poly-total{display:flex;align-items:center;justify-content:space-between;padding:12px 15px;color:var(--muted)}
.poly-total strong{color:#fff;font-size:1.1rem}
.poly-steps{display:grid;gap:9px;margin:0;padding:0;list-style:none}
.poly-step{display:grid;grid-template-columns:36px minmax(0,1fr) 46px;align-items:center;gap:10px;padding:12px}
.poly-step-number{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#352641;color:var(--purple-light);font-weight:750}
.poly-step-copy{display:grid;gap:3px;min-width:0}
.poly-step-copy strong{font-size:1rem}
.poly-step-copy span{color:var(--muted);font-size:.91rem}
.poly-step.is-pause{border-style:dashed}
.poly-step.is-pause .poly-step-number{background:#30303a;color:#d4d0df}
.poly-step.is-extra{border-color:#795494;background:#291f32}
.poly-timer-open{width:44px;height:44px;min-height:44px;padding:8px;display:grid;place-items:center;color:var(--purple-light)}
.poly-timer{grid-column:1/-1;margin-top:4px;padding:13px;border:1px solid #5c4b68;border-radius:14px;background:#17151c}
.poly-timer-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.poly-timer-head>div{display:grid;gap:4px}
.poly-timer-head>div span{color:var(--muted)}
.timer-remaining{font-variant-numeric:tabular-nums;font-size:clamp(1.75rem,8vw,2.5rem);font-weight:750;letter-spacing:.04em}
.timer-status{margin:7px 0;color:var(--muted)}
.poly-timer-actions{display:flex;flex-wrap:wrap;gap:8px}
.poly-timer-actions button{min-height:44px}
.poly-sound{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:12px 14px}
.poly-sound>div{display:grid;gap:2px}
.poly-sound>div span{color:var(--muted);font-size:.82rem}
.sound-toggle{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:.85rem}
.sound-toggle input{width:20px;height:20px;accent-color:var(--purple)}
.poly-test-sound{min-height:42px;padding:7px 10px;font-size:.88rem}
.poly-warning,.poly-error{margin:0;padding:12px 14px;border-radius:12px;font-size:.88rem}
.poly-warning{border:1px solid #665f47;background:#252319;color:#e9e3cf}
.poly-error{border:1px solid #9a4c4c;background:#321d20;color:#ffdede}
@media(max-width:480px){
 .quick-links{gap:7px;margin-top:12px}
 .quick-links button{min-height:clamp(64px,12dvh,96px);padding:7px 3px;font-size:.77rem;border-radius:16px}
 .quick-links svg{width:29px;height:29px}
 .brand-preference{grid-template-columns:1fr;gap:8px}
 .brand-preference p{grid-column:1}
 .settings-actions{grid-template-columns:1fr}
 .poly-page{gap:11px}
 .poly-step{grid-template-columns:32px minmax(0,1fr) 42px;gap:7px;padding:10px}
 .poly-step-copy span{font-size:.82rem}
 .poly-sound{grid-template-columns:1fr auto}
 .poly-sound>div{grid-column:1/-1}
}
@media(prefers-reduced-motion:reduce){.poly-step,.poly-timer{scroll-behavior:auto}}
