:root{--bg:#F7F6F3;--surface:#fff;--soft:#F1EFEB;--line:#E3DFD8;--text:#1F1F1F;--muted:#6E6E73;--accent:#D98A5F;--accent-soft:#F3E7DE;--success:#5C8A72;--warning:#C58B39;--danger:#C96A5B;--shadow:0 18px 50px rgba(31,31,31,.06)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,Segoe UI,sans-serif}button,input{font:inherit;color:inherit}button{cursor:pointer}button:disabled{opacity:.38;cursor:not-allowed}body{overscroll-behavior-y:none}.shell{max-width:960px;margin:0 auto;padding:24px 24px 120px}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:34px}.brand-lock{display:flex;align-items:center;gap:10px;border:0;background:transparent;font-weight:750;font-size:18px}.brand-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;overflow:hidden;background:var(--accent-soft)}.brand-mark img{width:100%;height:100%;object-fit:cover;display:block}.top-actions{display:flex;gap:10px}.pill,.icon-btn{border:1px solid var(--line);background:rgba(255,255,255,.78);backdrop-filter:blur(16px);border-radius:999px;padding:11px 17px;font-weight:700}.icon-btn{width:46px;height:46px;padding:0}.eyebrow,.step-count{font-size:12px;font-weight:800;letter-spacing:.13em;color:var(--accent);text-transform:uppercase}.home-hero{display:grid;grid-template-columns:1.1fr .9fr;gap:30px;align-items:center;margin:18px 0 48px}.home-hero h1,.wizard h1,.ready h1,.live h1,.finish h1{font-size:clamp(42px,6vw,72px);line-height:.98;letter-spacing:-.055em;margin:10px 0 14px}.home-hero p,.wizard-hero p,.ready p,.live-head p,.finish p{font-size:18px;line-height:1.5;color:var(--muted)}.hero-art{height:340px;border-radius:36px;overflow:hidden;background:linear-gradient(145deg,#fff,#f5e9dc);box-shadow:var(--shadow)}.hero-art img{width:100%;height:100%;object-fit:contain;object-position:center;background:#F7F1EA}.primary,.secondary{border:0;border-radius:16px;padding:15px 20px;font-weight:750}.primary{background:var(--accent);color:#fff}.secondary{background:var(--soft)}.wide{width:100%}.section-head{display:flex;justify-content:space-between;align-items:end;margin:28px 0 12px}.section-head h2{font-size:24px;margin:0}.section-head span{color:var(--muted);font-size:14px}.plan-card{width:100%;display:flex;justify-content:space-between;align-items:center;padding:20px;border:1px solid var(--line);border-radius:22px;background:var(--surface);margin:10px 0;box-shadow:0 8px 30px rgba(31,31,31,.03);text-align:left}.plan-card div{display:grid;gap:5px}.plan-card span{color:var(--muted);font-size:14px}.featured{border-color:#ebc3a9;background:linear-gradient(135deg,#fff,#fbf1e9)}.empty{padding:28px;border:1px dashed var(--line);border-radius:20px;color:var(--muted);text-align:center}
.wizard,.ready,.live,.finish{max-width:760px;margin:0 auto}.wizard-meter{height:4px;border-radius:999px;background:#e8e5e0;overflow:hidden}.wizard-meter span{display:block;height:100%;background:var(--accent);border-radius:999px}.step-count{margin:14px 0 12px}.wizard-hero,.ready-hero,.live-head{display:grid;grid-template-columns:1fr 180px;gap:20px;align-items:center;margin-bottom:24px}.wizard-hero h1,.ready h1,.live h1{font-size:clamp(38px,5vw,58px)}.wizard-hero img,.ready-hero img,.live-head img{width:170px;height:170px;object-fit:cover;border-radius:32px;background:#fff;box-shadow:var(--shadow)}label{display:block;font-weight:700;margin:22px 0 9px}.big-input{width:100%;padding:18px;border:1px solid var(--line);background:#fff;border-radius:18px;font-size:19px;outline:none}.seg{display:grid;grid-template-columns:repeat(2,1fr);gap:4px;background:#ece9e5;padding:4px;border-radius:16px}.seg.three{grid-template-columns:repeat(3,1fr)}.seg button{border:0;background:transparent;border-radius:12px;padding:12px;font-weight:700;color:var(--muted)}.seg button.on{background:#fff;color:var(--text);box-shadow:0 2px 8px rgba(31,31,31,.06)}.recommend{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;padding:22px;border-radius:24px;background:linear-gradient(135deg,#fff7f1,#fff);margin:20px 0}.recommend span,.plan-summary span{display:block;text-transform:uppercase;letter-spacing:.08em;font-size:11px;color:var(--muted);font-weight:700}.recommend b{font-size:28px;display:block;margin:4px 0}.recommend small{color:var(--muted)}.metric{text-align:right}.metric b{font-size:34px}.stepper,.temp-step,.mini-step{display:grid;grid-template-columns:auto 1fr auto;align-items:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:6px}.stepper b,.temp-step b,.mini-step b{text-align:center;font-size:22px}.stepper button,.temp-step button,.mini-step button{border:0;background:var(--soft);width:42px;height:42px;border-radius:12px;font-size:22px}.two-inputs{display:grid;grid-template-columns:1fr 1fr;gap:14px}.two-inputs>div{min-width:0}.two-inputs small,.wizard small{display:block;color:var(--muted);margin-top:7px}.inline-note{padding:15px 16px;border-radius:16px;background:#f4f3f1;color:var(--muted);line-height:1.45;margin:12px 0}.inline-note.ok{background:#edf5f0;color:#3e6c56}.inline-note.warn{background:#fbf1df;color:#865d1d}.temp-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.temp-chips button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 13px}.temp-chips button.on{background:var(--accent);color:#fff;border-color:var(--accent)}.wizard-footer{display:grid;grid-template-columns:.4fr 1fr;gap:10px;margin-top:30px;position:sticky;bottom:12px;background:linear-gradient(180deg,transparent,var(--bg) 30%);padding-top:22px}.mascot-tip{display:flex;align-items:center;gap:14px;padding:16px;border-radius:20px;background:#fff5ed;margin:16px 0}.mascot-tip img{width:84px;height:84px;object-fit:cover;border-radius:18px}.mascot-tip div{display:grid;gap:4px}.mascot-tip b{color:var(--accent)}.mascot-tip span{color:var(--muted)}
.plan-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0}.plan-summary>div{padding:16px;border-radius:18px;background:#fff;border:1px solid var(--line)}.plan-summary b{font-size:18px;display:block;margin-top:4px}.timeline-preview,.full-timeline{background:#fff;border:1px solid var(--line);border-radius:22px;padding:8px 18px;margin:18px 0}.timeline-preview>div,.full-timeline>div{display:grid;grid-template-columns:82px 1fr auto;gap:12px;padding:14px 0;border-bottom:1px solid #efede9;align-items:center}.timeline-preview>div:last-child,.full-timeline>div:last-child{border-bottom:0}.timeline-preview span,.full-timeline span{color:var(--muted);font-size:13px}.timeline-preview em,.full-timeline em{font-size:11px;color:var(--accent);font-style:normal}.full-timeline .current b{color:var(--accent)}.full-timeline .done{opacity:.5}.split-card{display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid var(--line);border-radius:24px;padding:20px;margin:18px 0;gap:20px}.split-card>div+div{border-left:1px solid var(--line);padding-left:20px}.split-card h3{margin:0 0 12px}.split-card ul{list-style:none;padding:0;margin:0;display:grid;gap:10px;color:var(--muted)}.split-card li::before{content:'•';color:var(--accent);margin-right:8px}.ready-hero{margin-top:12px}
.live-head{margin-bottom:8px}.timer-wrap{display:grid;place-items:center;padding:16px 0 22px}.ring{--p:0;width:min(330px,78vw);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--accent) calc(var(--p)*1%),#ebe8e3 0);position:relative}.ring::after{content:'';position:absolute;inset:14px;background:var(--bg);border-radius:50%}.ring>div{z-index:1;text-align:center;display:grid;gap:8px}.ring span{font-size:12px;color:var(--muted);letter-spacing:.08em}.ring b{font-size:48px;letter-spacing:-.04em}.ring small{color:var(--muted)}.quick-actions{display:grid;gap:10px}.quick-actions>.primary{width:100%;font-size:17px}.quick-actions>div{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.quick-actions>div button{border:1px solid var(--line);background:#fff;border-radius:13px;padding:12px}.photo-capture-card{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);padding:16px;border-radius:20px;margin:18px 0}.photo-capture-card>div{display:grid;gap:4px}.photo-capture-card span{color:var(--muted);font-size:13px}.photo-button{margin:0;background:var(--soft);border-radius:12px;padding:10px 12px;font-weight:700;cursor:pointer}.photo-strip{grid-column:1/-1;display:flex;gap:8px;overflow:auto}.photo-strip figure{position:relative;margin:0;flex:0 0 92px}.photo-strip img{width:92px;height:92px;object-fit:cover;border-radius:14px}.photo-strip button{position:absolute;top:4px;right:4px;border:0;background:#fff;border-radius:50%;width:24px;height:24px}.mini-status{text-align:center;color:var(--muted);margin:18px}.mini-status b{color:var(--text);font-size:22px;margin-right:6px}.tabbar{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(760px,100%);display:grid;grid-template-columns:repeat(4,1fr);background:rgba(247,246,243,.94);backdrop-filter:blur(20px);border-top:1px solid var(--line);padding:8px 12px max(8px,env(safe-area-inset-bottom));z-index:5}.tabbar button{border:0;background:transparent;display:grid;gap:2px;justify-items:center;color:var(--muted);font-size:11px}.tabbar button span{font-size:20px}.tabbar button.on{color:var(--accent)}.tip-list{display:grid;gap:12px}.tip-list>div{padding:18px;border-radius:18px;background:#fff;border:1px solid var(--line);display:grid;gap:5px}.tip-list span{color:var(--muted);line-height:1.45}.finish{text-align:center}.finish>img{width:220px;height:220px;object-fit:cover;border-radius:36px;margin:10px auto 20px}.modal-bg{position:fixed;inset:0;background:rgba(0,0,0,.25);backdrop-filter:blur(8px);display:grid;place-items:center;padding:24px;z-index:100;overflow:auto}.modal{position:relative;width:min(560px,100%);max-height:calc(100dvh - 48px);overflow-y:auto;overscroll-behavior:contain;background:#fff;border-radius:26px;padding:26px;display:grid;gap:10px;box-shadow:0 24px 80px rgba(0,0,0,.18)}.modal button,.modal input,.modal textarea{padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff}.modal textarea{width:100%;resize:vertical}.modal .danger{color:var(--danger)}.modal-x{position:sticky;top:0;margin-left:auto;z-index:3;width:42px;height:42px;padding:0!important;border-radius:50%!important;font-size:25px;line-height:1;background:#fff!important;box-shadow:0 4px 14px rgba(0,0,0,.08)}
@media(max-width:700px){.shell{padding:16px 16px 100px}.topbar{margin-bottom:24px}.home-hero{grid-template-columns:1fr;margin-top:0}.home-hero h1,.wizard h1,.ready h1,.live h1,.finish h1{font-size:44px}.hero-art{height:280px}.wizard-hero,.ready-hero,.live-head{grid-template-columns:1fr 118px;gap:12px}.wizard-hero img,.ready-hero img,.live-head img{width:116px;height:116px;border-radius:24px}.two-inputs,.split-card{grid-template-columns:1fr}.split-card>div+div{border-left:0;border-top:1px solid var(--line);padding-left:0;padding-top:18px}.plan-summary{grid-template-columns:repeat(2,1fr)}.quick-actions>div{grid-template-columns:repeat(2,1fr)}.timeline-preview>div,.full-timeline>div{grid-template-columns:62px 1fr auto}.brand-lock span:last-child{font-size:16px}.top-actions .pill{display:inline-flex;align-items:center;justify-content:center}.seg button{font-size:13px;padding:11px 7px}.ring b{font-size:40px}}

/* v0.13 - edição segura e datas multi-dia */
.text-action{margin-top:10px;border:0;background:transparent;color:var(--accent,#D98A5F);font-weight:700;padding:6px 0;min-height:36px}
.ready-actions{display:grid;gap:10px;margin-top:18px}
.timeline-preview>div span,.full-timeline>div span{font-variant-numeric:tabular-nums;white-space:normal;line-height:1.25}
@media(max-width:680px){.timeline-preview>div span,.full-timeline>div span{font-size:12px;max-width:105px}}

/* v0.16 — official opening artwork */
.hero-art{height:auto;aspect-ratio:3/2;border-radius:36px;overflow:hidden;padding:0;background:#F7F1EA;box-shadow:var(--shadow)}
.hero-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;background:transparent;border-radius:0}
@media(max-width:700px){.hero-art{aspect-ratio:3/2;border-radius:28px}}

.step-kind{display:inline-flex;margin:6px 0 10px;padding:6px 10px;border-radius:999px;background:#f1efeb;color:#6e6e73;font-size:11px;font-weight:800;letter-spacing:.08em}.step-kind.action{background:#f3e7de;color:#a85f38}.step-kind.condition{background:#fff1cf;color:#8b641d}.step-kind.maturation{background:#e7f0ec;color:#456d5a}.timer-explain{max-width:620px;margin:14px auto 0;padding:14px 16px;border:1px solid var(--line);background:#fff;border-radius:18px;display:grid;gap:4px}.timer-explain b{font-size:12px;letter-spacing:.08em}.timer-explain span{color:var(--muted);line-height:1.4}.full-timeline b small{display:block;margin-top:4px;font-size:10px;color:var(--muted);font-weight:700;letter-spacing:.04em}

.schedule-alert{display:inline-flex;margin:8px 0 12px;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.04em}.schedule-alert.late{background:#fff0e8;color:#a54d27}.decision-card{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border:1px solid #e3dfd8;border-radius:16px;margin:14px 0}.decision-card span,.timing-grid span{font-size:12px;color:#6e6e73;text-transform:uppercase;letter-spacing:.06em}.decision-card b{font-size:22px}.timing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0}.timing-grid>div{padding:12px;border:1px solid #e3dfd8;border-radius:14px}.timing-grid b{display:block;margin-top:4px;font-size:18px}.bio-hint{background:#f3e7de;padding:12px 14px;border-radius:14px}

/* v0.29 — modal primary CTA contrast fix */
.modal button.primary{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
  font-weight:700;
}
.modal button.primary:hover,
.modal button.primary:focus{
  background:var(--accent);
  color:#fff;
}

/* v0.30 — execution schedule */
.full-timeline span small{display:block;font-size:11px;color:#8b8b90;margin-top:2px;font-weight:500}

/* v0.40 — nova arquitetura */
:root{--orange:#df895c;--orange2:#f3e7de;--ink:#1f1f1f;--muted:#6e6e73;--line:#e3dfd8;--paper:#f7f6f3;--card:#fff;--green:#5c8a72}
body{background:var(--paper)}.new-shell{padding-bottom:92px}.new-top{position:sticky;top:0;z-index:20;background:rgba(247,246,243,.92);backdrop-filter:blur(16px);border-bottom:1px solid rgba(227,223,216,.7)}.page-title{font-weight:700}.mini-home{border:0;background:transparent;font-size:13px;color:var(--muted)}
.global-nav{position:fixed;z-index:30;left:50%;bottom:0;transform:translateX(-50%);width:min(1100px,100%);display:grid;grid-template-columns:repeat(8,1fr);gap:2px;background:rgba(255,255,255,.95);backdrop-filter:blur(18px);border:1px solid var(--line);border-bottom:0;border-radius:20px 20px 0 0;padding:8px 10px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -10px 35px rgba(0,0,0,.05)}.global-nav button{border:0;background:transparent;color:var(--muted);font-size:11px;padding:5px 2px;display:flex;flex-direction:column;align-items:center;gap:3px}.global-nav button span{font-size:18px}.global-nav button.on{color:var(--orange);font-weight:700}.global-nav svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.global-nav .nav-label{font-size:10px;line-height:1.1}
.premium-hero.revolution{min-height:430px}.install-home{margin-top:10px}.microcopy{text-align:center;font-size:12px!important;margin-top:6px!important}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0}.quick-grid button{background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px;text-align:left;display:grid;grid-template-columns:54px 1fr;grid-template-rows:auto auto;column-gap:12px}.quick-grid img{width:54px;height:54px;object-fit:contain;grid-row:1/3}.quick-grid b{font-size:17px}.quick-grid span{font-size:13px;color:var(--muted)}.quick-grid.text-only{grid-template-columns:1fr;gap:10px}.quick-grid.text-only button{grid-template-columns:1fr;padding:14px 16px;border-radius:18px}.quick-grid.text-only img{display:none}
.wizard-progress{display:flex;align-items:center;gap:12px;margin-bottom:24px;color:var(--orange);font-weight:700;font-size:13px}.wizard-progress>span{height:5px;background:#ece8e2;border-radius:10px;flex:1;overflow:hidden}.wizard-progress i{display:block;height:100%;background:var(--orange);border-radius:10px}.wizard-hero.compact{align-items:center}.wizard-hero.compact img{width:130px;height:130px;object-fit:contain}.choice-grid{display:grid;gap:12px}.choice-grid.two{grid-template-columns:1fr 1fr}.choice-stack{display:grid;gap:10px}.choice{padding:18px;text-align:left;border:1px solid var(--line);background:#fff;border-radius:18px;display:flex;flex-direction:column;gap:5px;color:var(--ink)}.choice span{font-size:13px;color:var(--muted)}.choice.selected{border:2px solid var(--orange);background:#fffaf7}.choice:disabled{opacity:.42}.coach-note{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:14px 16px;margin:16px 0}.coach-note img{width:64px;height:64px;object-fit:contain}.coach-note p{margin:3px 0 0;color:var(--muted);font-size:14px;line-height:1.35}.subtle-card,.recommend-card,.optional-next,.adjust-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;margin:16px 0}.recommend-card{background:#fff8f3}.recommend-card span{display:block;color:var(--muted);margin:6px 0 12px}.recommend-card button{border:1px solid var(--orange);color:var(--orange);background:white;border-radius:12px;padding:10px 14px}.switch-row{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid var(--line);padding:14px 16px;border-radius:16px;margin:12px 0}.switch-row span{display:block;color:var(--muted);font-size:12px;margin-top:3px}.switch{position:relative;width:50px;height:30px}.switch input{display:none}.switch i{position:absolute;inset:0;border-radius:20px;background:#d7d3cd;transition:.2s}.switch i:after{content:'';position:absolute;width:24px;height:24px;top:3px;left:3px;background:white;border-radius:50%;box-shadow:0 2px 5px #0002;transition:.2s}.switch input:checked+i{background:var(--orange)}.switch input:checked+i:after{left:23px}
.page-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:22px 0}.page-hero img{width:150px;height:150px;object-fit:contain}.page-hero.small img{width:110px;height:110px}.page-hero.no-mascot{display:block}.page-hero.no-mascot>div{max-width:40rem}.plan-summary.six{grid-template-columns:repeat(3,1fr)}.shopping-preview{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.shopping-preview>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px}.shopping-preview span{display:block;color:var(--muted);font-size:12px}.three-actions{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:10px}.fade-row{opacity:.6}
.flavor-list{display:grid;gap:12px}.flavor-card{display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:14px}.flavor-card.on-order{border-color:var(--orange);background:#fffaf7}.flavor-card.flash-order{box-shadow:0 0 0 3px rgba(223,137,92,.35)}.flavor-icon{font-size:38px}.flavor-copy{display:flex;flex-direction:column;gap:3px}.flavor-copy span{font-size:13px;color:var(--muted)}.flavor-copy button{border:0;background:transparent;color:var(--orange);padding:4px 0;text-align:left;width:max-content}.flavor-stepper{display:flex;align-items:center;gap:10px}.flavor-stepper button{width:34px;height:34px;border:1px solid var(--line);border-radius:10px;background:white}.sticky-action{position:sticky;bottom:78px;background:rgba(247,246,243,.94);backdrop-filter:blur(10px);padding:14px 0;margin-top:20px;border-top:1px solid var(--line);display:flex;align-items:center;gap:12px}.sticky-action>div{margin-right:auto}.sticky-action span{display:block;color:var(--muted);font-size:12px}.sticky-action.menu-sticky{flex-wrap:wrap;align-items:stretch;min-width:0;width:100%;box-sizing:border-box;gap:8px}.order-pill{display:flex;align-items:center;gap:10px;width:100%;box-sizing:border-box;border:1px solid var(--line);background:#fff;border-radius:14px;padding:10px 12px;text-align:left;color:var(--ink)}.order-pill span{font-size:12px;font-weight:800;color:var(--orange);margin-right:auto}.order-pill b{font-size:13px;font-weight:700;color:var(--ink);white-space:nowrap}.order-pill em{font-style:normal;color:var(--muted);font-size:18px;line-height:1}.order-chips{display:flex;flex-direction:column;gap:8px;min-width:0;max-height:min(52vh,420px);overflow-y:auto;padding:2px 0 8px}.order-chip{display:flex;align-items:center;width:100%;max-width:100%;min-width:0;box-sizing:border-box;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}.order-chip [data-order-jump]{border:0;background:transparent;padding:8px 12px;font-weight:700;white-space:normal;text-align:left;line-height:1.25;color:var(--ink);min-width:0;flex:1}.order-chip [data-delta]{flex:0 0 36px;width:36px;height:36px;border:0;border-left:1px solid var(--line);background:#fffaf7;color:var(--ink);align-self:stretch}.order-empty{padding:18px 8px;text-align:center;color:var(--muted);font-size:14px}.menu-order-sheet .order-chips{margin:8px 0 14px}.sticky-action-main{display:flex;align-items:center;gap:12px;width:100%}.sticky-action-main>div{margin-right:auto}
.shopping-group{background:#fff;border:1px solid var(--line);border-radius:20px;padding:6px 18px 12px;margin:12px 0}.shopping-row{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #eee}.shopping-row:last-child{border-bottom:0}.shopping-row button{border:0;background:transparent;color:var(--orange);font-size:12px}.shopping-row label{display:flex;gap:8px;align-items:center}.shopping-row input{width:18px;height:18px}
.execution-hero{display:flex;justify-content:space-between;align-items:center;gap:22px}.execution-hero img{width:180px;height:180px;object-fit:contain}.execution-hero.no-mascot{display:block}.execution-hero.no-mascot>div{max-width:40rem}.text-tip{margin:16px 0;padding:12px 14px;border-left:3px solid var(--orange);color:var(--muted);font-size:14px;line-height:1.4}.text-tip b{display:block;color:var(--ink);margin-bottom:4px}.text-tip p{margin:0}.step-badge{display:inline-block;padding:6px 11px;border-radius:18px;background:var(--orange2);color:#985d3d;font-size:11px;font-weight:800}.timer-card{max-width:460px;margin:24px auto;text-align:center;background:#fff;border:8px solid #efede9;border-radius:50%;aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:35px}.timer-card span{font-size:12px;letter-spacing:.12em;color:var(--muted)}.timer-card strong{font-size:52px;margin:8px 0}.timer-card small{color:var(--muted)}.execution-actions{display:grid;grid-template-columns:1fr auto;gap:10px}.mini-timeline{margin-top:18px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:8px 16px}.mini-timeline>div{display:grid;grid-template-columns:110px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid #eee}.mini-timeline>div:last-child{border-bottom:0}.mini-timeline span{color:var(--muted);font-size:12px}
.bake-phase{background:#fff;border:1px solid var(--line);border-radius:26px;padding:28px;text-align:center}.bake-phase>span{color:var(--orange);font-weight:800;font-size:12px}.bake-phase strong{display:block;font-size:72px;margin:14px 0}.bake-controls,.bake-actions{display:flex;justify-content:center;gap:10px}.adjust-card .inline-control{margin:8px 0}.text-action.wide{display:block;width:100%;text-align:center;margin-top:16px}.history-card{width:100%;display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;margin:10px 0;text-align:left}.history-card span{display:block;color:var(--muted);font-size:13px;margin-top:4px}.empty-state,.finish-card{text-align:center;padding:42px 20px}.empty-state img,.finish-card img{width:180px;height:180px;object-fit:contain}.buy-modal p{line-height:1.5}
@media(max-width:760px){.global-nav{overflow-x:auto;grid-template-columns:repeat(8,76px);justify-content:start}.premium-hero.revolution{min-height:auto}.quick-grid{grid-template-columns:1fr}.choice-grid.two{grid-template-columns:1fr}.wizard-hero.compact img{width:95px;height:95px}.plan-summary.six{grid-template-columns:1fr 1fr}.shopping-preview{grid-template-columns:1fr 1fr}.three-actions{grid-template-columns:1fr}.page-hero img{width:110px;height:110px}.execution-hero img{width:110px;height:110px}.timer-card{width:min(86vw,390px)}.timer-card strong{font-size:42px}.execution-actions{grid-template-columns:1fr}.sticky-action{bottom:72px;flex-wrap:wrap}.sticky-action .primary{width:100%}.sticky-action-main{flex-wrap:wrap}.bake-phase strong{font-size:56px}.shopping-row{grid-template-columns:1fr auto}.shopping-row button{grid-column:1/3;text-align:left}.flavor-card{grid-template-columns:48px 1fr}.flavor-stepper{grid-column:2}.page-hero{align-items:flex-start}.page-hero h1{font-size:38px}}

.menu-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;background:#ece9e5;padding:5px;border-radius:16px;margin:12px 0 16px}
.menu-tabs button{border:0;background:transparent;padding:11px 8px;border-radius:12px;color:var(--muted);font-weight:700}
.menu-tabs button.on{background:#fff;color:var(--text);box-shadow:0 2px 8px rgba(31,31,31,.06)}
.add-recipe{margin:0 0 14px}
.flavor-title{display:flex;align-items:center;gap:8px}
.fav-btn{border:0!important;background:transparent!important;padding:0!important;font-size:22px;color:#aaa}
.fav-btn.on{color:var(--orange)}
.bake-context-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 16px}
.flavor-modal h3{margin:14px 0 4px}.flavor-modal p{margin:4px 0;line-height:1.45}
@media(max-width:640px){.modal-bg{padding:12px}.modal{max-height:calc(100dvh - 24px);padding:20px}.menu-tabs{grid-template-columns:1fr}.bake-context-actions{grid-template-columns:1fr}}

.inline-link{border:0;background:transparent;color:var(--orange);padding:0;font-weight:700;text-decoration:underline}

/* v0.42 — timer mais compacto + categorias de cardápio */
.timer-card{max-width:330px;margin:18px auto;border-width:7px;padding:24px}
.timer-card strong{font-size:44px;margin:6px 0}
.bake-phase strong{font-size:44px}
.category-tabs{display:flex;gap:8px;overflow-x:auto;padding:4px 0 12px;scrollbar-width:none}
.category-tabs::-webkit-scrollbar{display:none}
.category-tabs button{white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 13px;font-weight:700;color:var(--muted)}
.category-tabs button.on{border-color:var(--accent);background:var(--accent-soft,#f3e7de);color:var(--accent)}
@media(max-width:760px){.timer-card{width:min(74vw,300px);padding:20px}.timer-card strong{font-size:36px}.bake-phase strong{font-size:42px}}

.timeline-preview .timeline-toggle{
  width:100%;
  border:0;
  background:transparent;
  color:var(--accent);
  font-weight:750;
  padding:15px 8px 11px;
  cursor:pointer;
  font-size:15px;
}
.timeline-preview .timeline-toggle:hover{background:var(--accent-soft)}
.timeline-preview .current{background:var(--accent-soft);border-radius:12px;padding-left:10px;padding-right:10px}
.timeline-preview .current b{color:var(--accent)}
.timeline-preview .next b{color:var(--text)}
.timeline-preview .next em{color:var(--accent)}
.timeline-preview .done{opacity:.48}
.timeline-preview .future em{color:var(--muted)}

/* v0.48 — controles do wizard e resumo de ingredientes */
.new-wizard .inline-control,
.adjust-card .inline-control,
.settings-advanced .inline-control{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto 42px 42px;
  gap:8px;
  align-items:center;
  width:100%;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:10px 12px;
  margin:10px 0;
}
.new-wizard .inline-control>span,
.adjust-card .inline-control>span,
.settings-advanced .inline-control>span{
  min-width:0;
  color:var(--text);
}
.new-wizard .inline-control>b,
.adjust-card .inline-control>b,
.settings-advanced .inline-control>b{
  white-space:nowrap;
  font-size:18px;
}
.new-wizard .inline-control>button,
.adjust-card .inline-control>button,
.settings-advanced .inline-control>button{
  width:42px;
  height:42px;
  border:0;
  border-radius:12px;
  background:var(--soft);
  font-size:20px;
  cursor:pointer;
}
.ingredient-summary{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:20px;
  margin:20px 0;
}
.ingredient-summary .section-head{margin-bottom:12px}
.ingredient-summary-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.ingredient-summary-grid>div{
  padding:12px 14px;
  border-radius:14px;
  background:var(--soft);
}
.ingredient-summary-grid span{display:block;color:var(--muted);font-size:12px}
.ingredient-summary-grid b{display:block;margin-top:3px;font-size:17px}
.ingredient-phase{
  display:grid;
  gap:4px;
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid var(--line);
}
.ingredient-phase span{color:var(--muted);line-height:1.4}
@media(max-width:600px){
  .new-wizard .inline-control,
  .adjust-card .inline-control{
    grid-template-columns:minmax(0,1fr) auto 38px 38px;
    padding:9px 10px;
  }
  .new-wizard .inline-control>button,
  .adjust-card .inline-control>button{width:38px;height:38px}
  .ingredient-summary-grid{grid-template-columns:1fr 1fr}
}

/* v0.49 — apoio humano / Maestro Giba */
.mentor-card{
  display:grid;
  grid-template-columns:56px minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:18px 20px;
  margin:20px 0;
}
.mentor-card.compact{
  grid-template-columns:46px minmax(0,1fr) auto;
  border-radius:20px;
  padding:14px 16px;
  margin:14px 0;
}
.mentor-badge{
  width:56px;height:56px;border-radius:18px;
  display:grid;place-items:center;
  background:var(--accent-soft);
  font-size:28px;
}
.mentor-card.compact .mentor-badge{width:46px;height:46px;border-radius:15px;font-size:23px}
.mentor-copy h3{margin:2px 0 4px;font-size:20px}
.mentor-card.compact .mentor-copy h3{font-size:17px}
.mentor-copy p{margin:0;color:var(--muted);line-height:1.45}
.mentor-copy small{display:block;margin-top:5px;color:var(--muted)}
.mentor-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.mentor-actions button{white-space:nowrap}
@media(max-width:760px){
  .mentor-card,.mentor-card.compact{
    grid-template-columns:46px minmax(0,1fr);
  }
  .mentor-card .mentor-badge{width:46px;height:46px;border-radius:15px;font-size:23px}
  .mentor-actions{grid-column:1/-1;justify-content:stretch}
  .mentor-actions button{flex:1}
}

/* v0.50 — disponibilidade permanente do apoio humano */
.mentor-anytime{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  background:var(--accent-soft);
  border:1px solid var(--line);
  border-radius:22px;
  padding:16px 18px;
  margin:18px 0;
}
.mentor-anytime h3{
  margin:3px 0 4px;
  font-size:18px;
}
.mentor-anytime p{
  margin:0;
  color:var(--muted);
  line-height:1.45;
  max-width:700px;
}
.mentor-anytime button{
  white-space:nowrap;
  flex:0 0 auto;
}
@media(max-width:700px){
  .mentor-anytime{
    align-items:stretch;
    flex-direction:column;
  }
  .mentor-anytime button{width:100%}
}

/* v0.51 — transparência de cálculo e atalho global do Giba */
.giba-shortcut{font-size:17px}
.calc-details{
  margin-top:14px;
  border-top:1px solid var(--line);
  padding-top:12px;
}
.calc-details summary{
  cursor:pointer;
  color:var(--accent);
  font-weight:750;
  list-style:none;
}
.calc-details summary::-webkit-details-marker{display:none}
.calc-details summary::after{content:' ▾'}
.calc-details[open] summary::after{content:' ▴'}
.calc-body{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px 14px;
  margin-top:12px;
  padding:12px;
  background:var(--soft);
  border-radius:14px;
}
.calc-body>div{display:flex;justify-content:space-between;gap:12px}
.calc-body span{color:var(--muted)}
.calc-body b{text-align:right}
.calc-body .calc-result{grid-column:1/-1;border-top:1px solid var(--line);padding-top:8px}
.calc-body p{grid-column:1/-1;margin:2px 0;color:var(--muted);line-height:1.4}
.calc-body .temp-rule{margin-top:6px;color:var(--text)}
.temp-adjusted{
  display:grid;
  gap:4px;
  padding:12px 14px;
  margin:12px 0;
  background:var(--accent-soft);
  border-radius:16px;
  border:1px solid var(--line);
}
.temp-adjusted b{color:var(--accent)}
.temp-adjusted span{color:var(--muted);line-height:1.4}
.giba-help-modal .mentor-badge{margin-bottom:10px}
.giba-help-modal small{display:block;color:var(--muted);margin:8px 0 14px}
@media(max-width:620px){
  .calc-body{grid-template-columns:1fr}
  .calc-body .calc-result,.calc-body p{grid-column:1}
  .top-actions{gap:4px}
  .giba-shortcut{width:38px;height:38px}
}

/* v1.0 — dica do atalho global do Giba */
.mentor-shortcut-hint{
  margin-top:8px !important;
  font-size:14px;
  color:var(--text) !important;
}
.mentor-shortcut-hint b{
  font-size:16px;
}

/* v1.01 — timeline adaptativa */
.timeline-recalculated,
.timeline-warning{
  display:grid;
  gap:4px;
  margin:14px 0 10px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--line);
}
.timeline-recalculated{background:var(--soft)}
.timeline-warning{background:#fff4df}
.timeline-recalculated b{color:var(--accent)}
.timeline-warning b{color:#9a6518}
.timeline-recalculated span,
.timeline-warning span{color:var(--muted);line-height:1.4}

/* v1.02 — alertas universais */
.timer-alert-bg{z-index:9999}
.timer-alert-modal{text-align:center}
.timer-alert-modal img{
  width:78px;
  height:78px;
  object-fit:contain;
  margin:0 auto 10px;
}
.timer-alert-modal h2{margin:4px 0 8px}
.timer-alert-modal p{color:var(--muted);line-height:1.5}

/* v1.03 — pausar / retomar / encerrar execução */
.execution-control-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  width:100%;
  margin-top:4px;
}
.danger-control{
  border:1px solid #c96b5d;
  background:#fff;
  color:#a94f43;
  border-radius:16px;
  padding:14px 16px;
  font-weight:750;
  cursor:pointer;
}
.danger-control:hover{background:#fff3f0}
.pause-notice{
  display:grid;
  gap:4px;
  padding:12px 14px;
  margin:14px 0 10px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#f4efe8;
}
.pause-notice b{color:var(--accent)}
.pause-notice span{color:var(--muted);line-height:1.4}
.execution-actions button:disabled{
  opacity:.42;
  cursor:not-allowed;
}
.end-execution-modal{text-align:center}
.end-execution-modal img{
  width:88px;
  height:88px;
  object-fit:contain;
  margin:0 auto 8px;
}
.bake-global-controls{margin-top:10px}
@media(max-width:560px){
  .execution-control-row{grid-template-columns:1fr}
}

/* v1.04 — retomar execução a partir do Plano */
.resume-plan-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:18px 0;
  padding:18px;
  border:1px solid var(--line);
  border-radius:20px;
  background:var(--soft);
}
.resume-plan-card h2{margin:4px 0 6px}
.resume-plan-card p{margin:0;color:var(--muted);line-height:1.45}
.resume-plan-card .primary{white-space:nowrap}
@media(max-width:680px){
  .resume-plan-card{align-items:stretch;flex-direction:column}
  .resume-plan-card .primary{width:100%}
}

/* v1.07 — fotos por etapa */
.step-photos{
  margin:18px 0;
  padding:16px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
}
.step-photos-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
}
.step-photos-head h3{margin:4px 0 4px}
.step-photos-head p{margin:0;color:var(--muted);line-height:1.4}
.photo-step-btn{white-space:nowrap}
.step-photo-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}
.step-photo-card{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--soft);
}
.step-photo-open{
  display:block;
  width:100%;
  padding:0;
  border:0;
  border-radius:0;
  overflow:hidden;
  background:#eee;
}
.step-photo-open img{
  display:block;
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
}
.step-photo-card>div{
  display:grid;
  gap:3px;
  padding:9px 10px;
}
.step-photo-card b{font-size:12px}
.step-photo-card span{
  font-size:12px;
  color:var(--muted);
  line-height:1.35;
}
.step-photo-empty{
  margin-top:12px;
  padding:12px;
  border-radius:14px;
  background:var(--soft);
  color:var(--muted);
  font-size:13px;
}
.photo-modal{text-align:center}
.photo-modal>img{width:86px;height:86px;object-fit:contain}
.photo-saving-mark{font-size:42px;line-height:1;margin:8px 0 12px}
.photo-view-modal{text-align:left}
.photo-view-full{
  display:block;
  width:100%;
  max-height:58dvh;
  object-fit:contain;
  border-radius:16px;
  background:#111;
  margin-bottom:14px;
}
.history-photo-diary{
  margin:18px 0 30px;
}
.history-photo-diary h2{margin:5px 0 8px}
.history-photo-list{
  display:grid;
  gap:16px;
}
.history-photo-step{
  padding:14px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
}
.history-photo-step h3{margin:0 0 10px}
.history-photo-step .step-photo-card{max-width:320px}
.history-photo-diary .gallery-grid{margin-top:4px}
@media(max-width:640px){
  .step-photos-head{flex-direction:column}
  .photo-step-btn{width:100%}
  .step-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* v1.08 Diario de Pizza — galeria foto-first (PR #1 + sheet Filtrar) */
.home-gallery-card{
  width:100%;
  display:flex;
  align-items:center;
  gap:12px;
  text-align:left;
  padding:15px 16px;
  margin:12px 0;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
}
.home-gallery-card span:nth-child(2){display:grid;gap:2px;flex:1}
.home-gallery-card small{color:var(--muted)}
.home-gallery-icon{font-size:26px}

.gallery-hero{margin:2px 0 4px}
.gallery-hero h1{
  font-size:clamp(34px,5vw,52px);
  letter-spacing:-.045em;
  line-height:1.02;
  margin:8px 0 10px;
}
.gallery-hero p{color:var(--muted);margin:0;max-width:36rem;line-height:1.45}
.gallery-hero.photos-hero{margin:0 0 2px}
.gallery-hero.photos-hero h1{
  font-size:clamp(32px,4.5vw,44px);
  margin:4px 0 0;
}
.gallery-hero.compact-hero h1{font-size:clamp(22px,5vw,28px);margin:6px 0 8px}
.gallery-hero.compact-hero p{margin:0 0 4px}
.photo-note-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}

.gallery-controls{
  display:grid;
  gap:10px;
  margin:2px 0 4px;
}
.gallery-search-compact{
  display:flex;
  align-items:center;
  gap:8px;
  padding:0;
}
.gallery-search-compact input{
  flex:1;
  min-width:0;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  font-size:15px;
}
.gallery-filters-details{
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  padding:0 12px;
}
.gallery-filters-details>summary{
  list-style:none;
  cursor:pointer;
  font-weight:750;
  font-size:13px;
  padding:12px 2px;
  color:var(--muted);
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.gallery-filters-details>summary::-webkit-details-marker{display:none}
.gallery-filters-details>summary::after{
  content:'▾';
  font-size:12px;
  color:var(--accent);
}
.gallery-filters-details[open]>summary{
  color:var(--text);
  border-bottom:1px solid var(--line);
  margin-bottom:10px;
}
.gallery-filters-details[open]>summary::after{content:'▴'}
.gallery-filter-row{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  align-items:end;
  padding-bottom:12px;
}
.gallery-filter{
  display:grid;
  gap:4px;
  margin:0;
  font-weight:700;
}
.gallery-filter>span{
  font-size:10px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:800;
}
.gallery-filter select{
  width:100%;
  padding:10px 11px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  font-size:13px;
}
.gallery-fav-toggle{
  display:flex!important;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin:0;
  min-height:42px;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  font-weight:750;
  font-size:13px;
  color:var(--muted);
  cursor:pointer;
}
.gallery-fav-toggle input{position:absolute;opacity:0;pointer-events:none;width:0;height:0}
.gallery-fav-toggle.on{
  border-color:var(--accent);
  background:var(--accent-soft);
  color:var(--accent);
}
.gallery-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}
.gallery-filters label{display:grid;gap:5px;font-size:12px;color:var(--muted)}
.gallery-filters select{padding:11px;border:1px solid var(--line);border-radius:12px;background:#fff}
.gallery-check{display:flex!important;align-items:center;gap:8px}
.gallery-filters.in-sheet{grid-template-columns:1fr;margin:12px 0 16px}
.gallery-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin:6px 0 14px;
  flex-wrap:wrap;
}
.gallery-toolbar-actions{display:flex;gap:8px;flex-wrap:wrap}
.gallery-toolbar .on-filter{border-color:var(--accent);color:var(--accent)}
.gallery-toolbar>div{
  display:flex;
  align-items:baseline;
  gap:6px;
  color:var(--muted);
}
.gallery-toolbar b{color:var(--text);font-size:20px;letter-spacing:-.03em}
.gallery-month{margin:0 0 22px}
.gallery-month-head{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  margin:0 0 10px;
}
.gallery-month-head h2{
  margin:0;
  font-size:16px;
  letter-spacing:-.02em;
  text-transform:capitalize;
}
.gallery-month-head span{color:var(--muted);font-size:12px;font-weight:700}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.gallery-card{
  position:relative;
  overflow:hidden;
  border:0;
  border-radius:16px;
  background:#1a1a1a;
  box-shadow:0 8px 22px rgba(31,31,31,.07);
}
.gallery-thumb{
  position:relative;
  display:block;
  width:100%;
  padding:0;
  border:0;
  background:transparent;
  overflow:hidden;
  border-radius:inherit;
}
.gallery-thumb img{
  display:block;
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  transition:transform .4s ease;
}
.gallery-thumb:hover img,
.gallery-thumb:focus-visible img{transform:scale(1.035)}
.gallery-caption{
  position:absolute;
  inset:auto 0 0 0;
  display:grid;
  gap:1px;
  padding:28px 10px 10px;
  text-align:left;
  color:#fff;
  background:linear-gradient(180deg,transparent 0%,rgba(18,14,10,.72) 70%);
  pointer-events:none;
}
.gallery-caption b{
  font-size:13px;
  font-weight:750;
  letter-spacing:-.01em;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.gallery-caption span{
  font-size:11px;
  color:rgba(255,255,255,.8);
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.gallery-badge{
  position:absolute;
  top:8px;
  z-index:2;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.94);
  color:var(--text);
  font-size:10px;
  font-weight:800;
  letter-spacing:.02em;
  backdrop-filter:blur(8px);
}
.gallery-badge.fav{right:8px;color:var(--accent)}
.gallery-badge.best{left:8px;background:var(--accent);color:#fff}

.gallery-lightbox-bg{align-items:stretch;padding:16px}
.gallery-photo-modal{
  max-width:860px;
  width:min(860px,100%);
  padding:0;
  gap:0;
  overflow:hidden;
  background:#111;
  color:#fff;
}
.gallery-photo-modal .modal-x{
  position:absolute;
  top:12px;
  right:12px;
  margin:0;
}
.gallery-lightbox-frame{
  background:#0b0b0b;
  display:grid;
  place-items:center;
  min-height:min(62dvh,560px);
}
.gallery-photo-full{
  width:100%;
  max-height:min(68dvh,620px);
  object-fit:contain;
  background:transparent;
  border-radius:0;
}
.gallery-lightbox-meta{
  display:grid;
  gap:10px;
  padding:20px 22px 24px;
  background:#fff;
  color:var(--text);
}
.gallery-lightbox-meta h2{margin:0;font-size:24px;letter-spacing:-.03em}
.gallery-lightbox-meta>p{margin:0;color:var(--muted)}
.gallery-lightbox-meta .eyebrow{margin:0}
.gallery-modal-actions,
.gallery-context-links{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:4px 0;
}
.sequence-nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin:4px 0 8px;
  padding:10px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.sequence-nav button{
  border:1px solid var(--line);
  background:var(--soft);
  border-radius:12px;
  padding:10px 12px;
  font-weight:700;
}
.link-btn{
  border:0;
  background:transparent;
  color:var(--accent);
  text-decoration:underline;
  font-weight:700;
  padding:6px 0;
}
.compare-head{margin-bottom:12px}
.compare-head h1{margin:6px 0 8px;font-size:clamp(28px,4vw,40px)}
.compare-head p{margin:0;color:var(--muted)}
.compare-picker{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.compare-pick{position:relative;display:block;cursor:pointer}
.compare-pick>input{
  position:absolute;
  z-index:3;
  top:10px;
  left:10px;
  width:20px;
  height:20px;
  accent-color:var(--accent);
}
.compare-pick.selected .gallery-card{outline:3px solid var(--accent);outline-offset:2px}
.compare-side{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin:20px 0;
}
.round-photo-grid{margin-top:8px}
.gallery-empty{padding:48px 20px;border:1px dashed var(--line);border-radius:24px;background:rgba(255,255,255,.55)}

@media(max-width:760px){
  .gallery-filters{grid-template-columns:1fr 1fr}
  .gallery-filter-row{grid-template-columns:1fr 1fr}
  .gallery-fav-toggle{grid-column:1/-1}
  .gallery-grid,
  .compare-picker{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gallery-lightbox-bg{padding:0;align-items:end}
  .gallery-photo-modal{
    max-height:96dvh;
    border-radius:22px 22px 0 0;
  }
  .gallery-lightbox-frame{min-height:42dvh}
  .gallery-photo-full{max-height:48dvh}
}
@media(max-width:520px){
  .gallery-filters{grid-template-columns:1fr}
  .compare-side{grid-template-columns:1fr}
  .gallery-caption{padding:22px 8px 8px}
  .gallery-caption b{font-size:12px}
}

/* v1.09 — Diário no menu inferior + tempo passado/faltante */
.timer-dual{
  margin:12px 0 4px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.timer-dual>div{
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--soft);
  display:grid;
  gap:2px;
}
.timer-dual span{
  font-size:11px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.04em;
}
.timer-dual b{
  font-variant-numeric:tabular-nums;
  font-size:16px;
}
.global-nav{
  overflow-x:auto;
  scrollbar-width:none;
}
.global-nav::-webkit-scrollbar{display:none}
.global-nav button{min-width:72px}

/* v1.10 — Foto na nav (peso igual aos demais) */
.global-nav .nav-camera-action{min-width:0;font-weight:inherit;color:inherit}
.global-nav .nav-camera-action span{width:auto;height:auto;display:inline;margin:0;border-radius:0;background:transparent;color:inherit;font-size:inherit;box-shadow:none;border:0}
.photo-sheet-bg{align-items:flex-end}
.photo-source-sheet{width:min(100%,620px);max-height:85dvh;border-radius:24px 24px 0 0;padding-bottom:max(20px,env(safe-area-inset-bottom))}
.sheet-handle{width:42px;height:5px;border-radius:999px;background:var(--line);margin:0 auto 16px}
.photo-source-option{width:100%;display:flex;align-items:center;gap:12px;padding:14px 4px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left}
.photo-source-option>span{font-size:25px;width:38px;text-align:center}.photo-source-option>div{display:grid;gap:2px;flex:1}.photo-source-option small{color:var(--muted);font-weight:400}.photo-source-option>strong{font-size:22px;color:var(--muted)}
.photo-source-sheet>.secondary{margin-top:14px}

/* v1.11 — navegação agrupada + associação de fase */
.global-nav.compact-five{display:grid!important;grid-template-columns:repeat(5,1fr);overflow:visible!important}
.global-nav.compact-five button{min-width:0!important;width:100%;padding-left:4px;padding-right:4px}
.global-nav.compact-five .nav-camera-action span{width:auto;height:auto;margin:0}
.phase-list{display:grid;gap:6px;max-height:54dvh;overflow:auto;margin:12px 0}
.phase-choice{width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:11px 12px;border:1px solid var(--line);border-radius:13px;background:#fff}
.phase-choice>span{width:24px;text-align:center;color:var(--accent)}
.phase-choice>div{display:grid;gap:2px}.phase-choice small{color:var(--muted)}
.phase-choice.selected{border-color:var(--accent);background:#F3E7DE}

/* v1.12 — Diário central + timeline real */
.diary-tabs{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px;
  padding:5px;
  margin:14px 0 18px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--soft);
}
.diary-tabs button{
  border:0;
  border-radius:12px;
  padding:10px 8px;
  background:transparent;
  font-weight:700;
}
.diary-tabs button.on{
  background:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
  color:var(--accent);
}
.round-list{display:grid;gap:10px}
.round-card{
  width:100%;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:12px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  text-align:left;
}
.round-card>div:nth-child(2){display:grid;gap:3px}
.round-card span,.round-card small{color:var(--muted)}
.round-card-status{
  align-self:start;
  padding:5px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  background:var(--soft);
}
.round-card-status.active{background:#eef6f0;color:#397153}
.round-card-status.finished{background:#eef6f0;color:#397153}
.round-card-status.stopped{background:#fff3e8;color:#9a5d1d}
.round-detail-hero{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  margin-bottom:16px;
}
.round-detail-hero h1{margin:4px 0}
.round-detail-hero p{margin:0;color:var(--muted)}
.round-detail-status{
  white-space:nowrap;
  padding:7px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  background:var(--soft);
}
.round-detail-status.finished,.round-detail-status.active{background:#eef6f0;color:#397153}
.round-detail-status.stopped{background:#fff3e8;color:#9a5d1d}
.round-recipe-card,.round-conditions,.round-real-timeline,.round-detail-actions{
  margin:14px 0;
  padding:16px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
}
.round-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.round-metrics.compact{grid-template-columns:repeat(4,minmax(0,1fr))}
.round-metrics>div{
  display:grid;
  gap:3px;
  padding:11px;
  border-radius:13px;
  background:var(--soft);
}
.round-metrics span{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}
.real-timeline{display:grid}
.timeline-day{
  margin:16px 0 8px;
  padding:6px 9px;
  border-radius:999px;
  background:var(--soft);
  width:max-content;
  font-size:11px;
  font-weight:900;
  letter-spacing:.05em;
}
.real-event{
  position:relative;
  width:100%;
  display:grid;
  grid-template-columns:18px 1fr;
  gap:10px;
  padding:12px 0;
  border:0;
  border-bottom:1px solid var(--line);
  background:transparent;
  text-align:left;
}
.real-event:last-child{border-bottom:0}
.real-dot{
  width:11px;height:11px;border-radius:50%;
  margin-top:5px;
  background:#5C8A72;
  box-shadow:0 0 0 4px #eef6f0;
}
.real-dot.skip{background:#C58B39;box-shadow:0 0 0 4px #fff3e8}
.real-dot.stop{background:#9a5d1d;box-shadow:0 0 0 4px #fff3e8}
.real-event-body{min-width:0}
.real-event-top{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.real-event-top time{white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--muted);font-size:12px}
.real-event-meta{display:flex;gap:8px;align-items:center;margin-top:5px;color:var(--muted);font-size:12px}
.status-pill{display:inline-block;padding:3px 7px;border-radius:999px;font-size:10px;font-weight:800}
.status-pill.done{background:#eef6f0;color:#397153}
.status-pill.skipped,.status-pill.stopped{background:#fff3e8;color:#9a5d1d}
.round-timeline-photos{display:flex;gap:6px;align-items:center;margin-top:9px}
.round-timeline-photos button,.history-step-pics button{padding:0;border:0;background:transparent}
.round-timeline-photos img,.history-step-pics img{
  width:52px;height:52px;object-fit:cover;border-radius:10px;border:1px solid var(--line)
}
.round-timeline-photos>span{font-size:12px;color:var(--muted)}
.empty-inline{padding:14px;border-radius:14px;background:var(--soft);color:var(--muted)}
.history-step-real{
  display:grid;gap:3px;
  margin:12px 0;
  padding:14px;
  border-radius:15px;
  background:var(--soft);
}
.history-step-real span{font-size:11px;color:var(--muted);text-transform:uppercase}
.history-step-real b{font-size:20px}
.history-step-pics{display:flex;gap:8px;overflow:auto;margin:12px 0}
.history-plan-detail{
  margin:14px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:10px 0;
}
.history-plan-detail summary{font-weight:800;cursor:pointer}
.history-plan-detail>div{display:grid;gap:3px;padding:9px 0}
.history-plan-detail span{font-size:11px;color:var(--muted);text-transform:uppercase}
.phase-compare-list{display:grid;gap:8px;margin-top:12px}
.phase-compare-list button{
  display:flex;justify-content:space-between;align-items:center;
  padding:13px 14px;border:1px solid var(--line);border-radius:14px;background:#fff;text-align:left
}
@media(max-width:700px){
  .round-metrics,.round-metrics.compact{grid-template-columns:1fr 1fr}
  .round-card{grid-template-columns:1fr auto}
  .round-card-status{grid-column:1/-1;width:max-content}
}

/* v1.13 — consulta rápida de ingredientes durante a execução */
.execution-quick-tools{
  display:flex;
  justify-content:flex-end;
  margin:-2px 0 10px;
}
.exec-ingredients-btn{
  width:auto;
  min-height:40px;
  padding:9px 13px;
  border-radius:999px;
  font-weight:800;
}
.execution-ingredients-modal{
  max-width:680px;
}
.execution-ingredients-modal>p{
  color:var(--muted);
  margin-top:0;
}
.exec-dough-list,.exec-topping-list,.exec-flavor-summary,.exec-ingredient-phase{
  margin:14px 0;
}
.exec-dough-list h3,.exec-topping-list h3,.exec-flavor-summary h3{
  margin:0 0 8px;
}
.exec-dough-list>div,.exec-topping-list>div{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:9px 0;
  border-bottom:1px solid var(--line);
}
.exec-dough-list>div:last-child,.exec-topping-list>div:last-child{
  border-bottom:0;
}
.exec-dough-list span,.exec-topping-list span{
  color:var(--muted);
}
.exec-ingredient-phase{
  display:grid;
  gap:8px;
}
.exec-ingredient-phase>div{
  display:grid;
  gap:4px;
  padding:12px;
  border-radius:14px;
  background:var(--soft);
}
.exec-ingredient-phase span{
  font-size:11px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.04em;
}
.exec-ingredient-phase b{
  font-size:13px;
  line-height:1.4;
}
.exec-flavor-summary{
  padding-top:10px;
  border-top:1px solid var(--line);
}
.exec-flavor-summary button{
  width:100%;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:10px;
  padding:10px 0;
  border:0;
  border-bottom:1px solid var(--line);
  background:transparent;
  text-align:left;
}
.exec-flavor-summary button>span{
  min-width:34px;
  font-size:12px;
  font-weight:800;
  color:var(--accent);
}
.exec-flavor-summary button>strong{
  font-size:12px;
  color:var(--muted);
}
.exec-ingredient-note{
  margin:14px 0;
  padding:12px;
  border-radius:14px;
  background:var(--soft);
  color:var(--muted);
  font-size:13px;
  line-height:1.4;
}
@media(max-width:520px){
  .execution-quick-tools{
    justify-content:stretch;
  }
  .exec-ingredients-btn{
    width:100%;
  }
}

/* v1.15 — busca de receitas por ingrediente */
.ingredient-search-card{
  margin:12px 0 16px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
}
.ingredient-search-card>label{
  display:block;
  margin-bottom:7px;
  font-size:13px;
  font-weight:800;
}
.ingredient-search-row{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:8px;
  min-height:46px;
  padding:0 11px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--soft);
}
.ingredient-search-row>span{
  font-size:20px;
  color:var(--muted);
}
.ingredient-search-row input{
  width:100%;
  min-width:0;
  padding:11px 0;
  border:0;
  outline:0;
  background:transparent;
  font:inherit;
}
.ingredient-search-clear{
  width:30px;
  height:30px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#fff;
  font-size:20px;
  line-height:1;
}
.ingredient-quick-chips{
  display:flex;
  gap:6px;
  overflow-x:auto;
  padding:10px 0 2px;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.ingredient-quick-chips::-webkit-scrollbar{display:none}
.ingredient-quick-chips button{
  flex:0 0 auto;
  padding:7px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  font-size:12px;
  font-weight:700;
}
.ingredient-quick-chips button.on{
  border-color:var(--accent);
  background:var(--accent-soft, #F3E7DE);
  color:var(--accent);
}
.ingredient-search-result,.ingredient-search-hint{
  margin-top:9px;
  font-size:12px;
  color:var(--muted);
}
.ingredient-search-result b{
  color:var(--text);
}
.ingredient-empty{
  min-height:auto;
  padding:26px 14px;
}
.ingredient-empty img{
  max-width:90px;
}

/* v1.16 — categorias expandidas */
.category-tabs{
  display:flex;
  gap:7px;
  overflow-x:auto;
  padding-bottom:5px;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.category-tabs::-webkit-scrollbar{display:none}
.category-tabs button{flex:0 0 auto}

/* v1.17 — busca global por ingrediente */
.ingredient-search-scope{
  margin:8px 0 10px;
  padding:9px 12px;
  border-radius:12px;
  background:var(--soft);
  color:var(--muted);
  font-size:12px;
}
.recipe-category-badge{
  display:inline-flex;
  align-items:center;
  margin-left:7px;
  padding:3px 7px;
  border-radius:999px;
  background:var(--soft);
  color:var(--muted);
  font-size:10px;
  font-weight:800;
  vertical-align:middle;
}

/* v1.18 — busca por ingrediente somente após ação explícita */
.ingredient-search-form{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:9px;
  align-items:stretch;
}
.ingredient-search-submit{
  min-width:108px;
  padding-inline:16px;
  border-radius:14px;
}
@media (max-width:520px){
  .ingredient-search-form{
    grid-template-columns:1fr;
  }
  .ingredient-search-submit{
    width:100%;
  }
}

/* Advanced method + editable plan */
.settings-modal{max-height:min(88dvh,720px);overflow:auto}
.settings-modal .settings-tip{color:var(--muted);font-size:14px;line-height:1.45;margin:0 0 12px}
.settings-advanced{margin:14px 0 18px;padding:14px;border:1px solid var(--line);border-radius:18px;background:#fff}
.settings-advanced .eyebrow{margin-bottom:6px}
.settings-help{color:var(--muted);font-size:13px;line-height:1.4;margin:0 0 12px}
.settings-advanced .inline-control{margin:8px 0}
.settings-advanced .secondary.wide{margin-top:12px}
.plan-edit-hint{color:var(--muted);font-size:13px;margin:8px 0 0}
.plan-edits-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 0;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:#fff;font-size:13px}
.plan-step-row{display:grid;grid-template-columns:110px 1fr;gap:12px;padding:14px 0;border-bottom:1px solid #efede9;align-items:start}
.plan-step-row:last-child{border-bottom:0}
.timeline-preview .plan-step-row{grid-template-columns:110px 1fr}
.plan-step-main{display:grid;gap:6px;min-width:0}
.plan-step-main>em{font-size:11px;color:var(--accent);font-style:normal}
.plan-step-edits{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.plan-edit-group{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:2px;background:#fff}
.plan-edit-group button{border:0;background:var(--soft);width:30px;height:28px;border-radius:999px;font-weight:700}
.plan-edit-group em,.plan-dur-label{font-style:normal;font-size:12px;color:var(--muted);min-width:4.5rem;text-align:center}
.plan-delay-btn,.plan-remove-btn{border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700}
.plan-remove-btn{color:#a14b4b;border-color:#efd0d0;background:#fff7f7}
@media(max-width:700px){
  .plan-step-row,.timeline-preview .plan-step-row{grid-template-columns:72px 1fr}
  .plan-edits-bar{flex-wrap:wrap}
}

.method-sub{font-size:13px;margin:16px 0 6px;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}
.method-label{display:block;margin:12px 0 6px;font-size:13px;font-weight:700}
.method-panel .seg{margin-bottom:8px}
.plan-step-sheet label{margin-top:8px}
.plan-step-sheet input[type=datetime-local]{width:100%;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff;font-size:16px;margin-bottom:12px}
.settings-modal .version-build{color:var(--muted);font-weight:600;font-size:13px}
.flour-card{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:12px 0;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff}
.flour-card-copy{display:grid;gap:2px;text-align:left}
.flour-card-copy span{color:var(--ink);font-size:14px}
.flour-card-copy small{color:var(--muted);font-size:12px}
.flour-sheet label{display:block;margin:10px 0 6px;font-weight:700;font-size:13px}
.flour-sheet input[type=text]:not(.flour-pct-input){width:100%;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff;font-size:16px;margin-bottom:4px}
.flour-selected{display:grid;gap:8px;margin:12px 0}
.flour-selected-row{
  display:grid;gap:10px;padding:12px;
  border:1px solid var(--line);border-radius:14px;background:#fafafa;
}
.flour-selected-row>div:first-child{min-width:0}
.flour-selected-actions{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  flex-wrap:nowrap;
}
.flour-pct-stepper{
  display:inline-flex;align-items:center;gap:4px;
  flex:0 0 auto;
}
.flour-pct-input{
  width:3.5rem!important;min-width:3.5rem;max-width:3.5rem;
  height:40px;box-sizing:border-box;flex:0 0 3.5rem;
  padding:0 4px;margin:0;border:1px solid var(--line);border-radius:10px;
  text-align:center;font-weight:800;font-size:16px;line-height:38px;
  background:#fff;color:var(--ink);
  -webkit-appearance:none;appearance:textfield;
}
.flour-pct-input::-webkit-outer-spin-button,
.flour-pct-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.flour-pct-unit{font-weight:800;color:var(--muted);font-size:13px;padding:0 2px}
.flour-flex-tag{display:block;color:var(--muted);font-size:11px;font-weight:600;margin-top:2px}
.flour-pct-stepper>button{
  border:1px solid var(--line);background:#fff;border-radius:10px;
  width:40px;height:40px;padding:0;font-weight:700;flex:0 0 40px;
}
.flour-selected-actions>.flour-remove-btn{
  border:0;background:transparent;color:var(--muted);
  font-weight:700;font-size:13px;padding:8px 4px;min-height:40px;
  text-decoration:underline;
}
.flour-pantry-head{display:flex;justify-content:space-between;align-items:center;margin:16px 0 8px}
.flour-pantry-list{display:grid;gap:8px;margin-bottom:14px;max-height:40vh;overflow:auto}
.flour-pantry-item{display:flex;gap:10px;align-items:flex-start;text-align:left;width:100%;padding:12px;border:1px solid var(--line);border-radius:14px;background:#fff}
.flour-pantry-item.on{border-color:var(--orange);background:#fff8f2}
.flour-pantry-item span{font-weight:800;color:var(--orange)}
.flour-pantry-item small{display:block;color:var(--muted);margin-top:2px}
.diary-search{margin:0 0 16px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff}
.diary-search label{display:block;font-weight:800;font-size:13px;margin-bottom:8px}
.diary-search-row{display:flex;gap:8px;align-items:center}
.diary-search-row input{flex:1;padding:14px;border:1px solid var(--line);border-radius:14px;font-size:16px;background:#fafafa}
.flour-blend-hint{color:var(--muted);font-size:12px;margin:0 0 10px;line-height:1.4}
.flour-blend-total{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-radius:12px;background:#f3f1ec;font-size:13px}
.flour-blend-total.ok{background:#eef6f0}
.flour-blend-total.warn{background:#fff3e8}
.flour-blend-total b{font-weight:800}
.pantry-cards{display:grid;gap:0;margin:8px 0 4px}
.pantry-cards .flour-card{margin:8px 0}
.round-ficha{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:16px;
  margin:14px 0;
}
.round-ficha h3{margin:4px 0 12px;font-size:18px}
.round-ficha-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.round-ficha-grid>div{
  padding:10px 12px;
  border-radius:12px;
  background:var(--soft);
}
.round-ficha-grid span{display:block;font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.round-ficha-grid b{display:block;margin-top:3px;font-size:14px;line-height:1.3;font-weight:700}
.round-ficha.compact{padding:12px;margin:12px 0;border-radius:16px}
.round-ficha.compact .round-ficha-grid{gap:8px}
.gallery-ficha-micro{display:block;color:var(--muted);font-size:12px;margin-top:4px;line-height:1.3}
.gallery-photo-modal .round-ficha{margin:10px 0 12px}
@media(max-width:600px){
  .round-ficha-grid{grid-template-columns:1fr}
}

.install-steps{margin:8px 0 14px;padding-left:1.2rem;line-height:1.55;color:var(--muted)}
.install-steps li{margin:0 0 8px}

@media (display-mode: standalone), (display-mode: window-controls-overlay), (display-mode: minimal-ui), (display-mode: fullscreen){
  .install-home,.install-home-tip{display:none!important}
}
