/* Complete dark palettes. Shared color tokens animate together on explicit selection. */
@property --gold{syntax:'<color>';inherits:true;initial-value:#e7e7e7}
@property --gold-bright{syntax:'<color>';inherits:true;initial-value:#ffffff}
@property --gold-on-navy{syntax:'<color>';inherits:true;initial-value:#111111}
@property --on-accent{syntax:'<color>';inherits:true;initial-value:#111111}
@property --navy{syntax:'<color>';inherits:true;initial-value:#e7e7e7}
@property --navy-2{syntax:'<color>';inherits:true;initial-value:#ffffff}
@property --on-navy{syntax:'<color>';inherits:true;initial-value:#111111}
@property --ink-900{syntax:'<color>';inherits:true;initial-value:#0b0b0b}
@property --ink-800{syntax:'<color>';inherits:true;initial-value:#222222}
@property --ink-700{syntax:'<color>';inherits:true;initial-value:#2b2b2b}
@property --ink-600{syntax:'<color>';inherits:true;initial-value:#343434}
@property --paper{syntax:'<color>';inherits:true;initial-value:#f2f2f2}
@property --paper-dim{syntax:'<color>';inherits:true;initial-value:#ababab}
@property --line{syntax:'<color>';inherits:true;initial-value:#363636}
@property --line-strong{syntax:'<color>';inherits:true;initial-value:#363636}
@property --icon-bg{syntax:'<color>';inherits:true;initial-value:#111111}
@property --icon-bg-hover{syntax:'<color>';inherits:true;initial-value:#343434}
@property --field-bg{syntax:'<color>';inherits:true;initial-value:#111111}
@property --page-base{syntax:'<color>';inherits:true;initial-value:#0b0b0b}
@property --press{syntax:'<color>';inherits:true;initial-value:#343434}
@property --glass-bg{syntax:'<color>';inherits:true;initial-value:#222222}
@property --glass-bg-hover{syntax:'<color>';inherits:true;initial-value:#343434}
@property --glass-modal{syntax:'<color>';inherits:true;initial-value:#222222}
@property --glass-border{syntax:'<color>';inherits:true;initial-value:#363636}
@property --ee-entry-field{syntax:'<color>';inherits:true;initial-value:#111111}
@property --ee-card-start{syntax:'<color>';inherits:true;initial-value:#222222}
@property --ee-card-end{syntax:'<color>';inherits:true;initial-value:#151515}
@property --ee-window-start{syntax:'<color>';inherits:true;initial-value:#2b2b2b}
@property --ee-window-end{syntax:'<color>';inherits:true;initial-value:#222222}
@property --ee-surface-hover{syntax:'<color>';inherits:true;initial-value:#343434}
:root.ee-accent-changing{transition:--gold .65s cubic-bezier(.32,.72,0,1),--gold-bright .65s cubic-bezier(.32,.72,0,1),--gold-on-navy .65s cubic-bezier(.32,.72,0,1),--on-accent .65s cubic-bezier(.32,.72,0,1),--navy .65s cubic-bezier(.32,.72,0,1),--navy-2 .65s cubic-bezier(.32,.72,0,1),--on-navy .65s cubic-bezier(.32,.72,0,1),--ink-900 .65s cubic-bezier(.32,.72,0,1),--ink-800 .65s cubic-bezier(.32,.72,0,1),--ink-700 .65s cubic-bezier(.32,.72,0,1),--ink-600 .65s cubic-bezier(.32,.72,0,1),--paper .65s cubic-bezier(.32,.72,0,1),--paper-dim .65s cubic-bezier(.32,.72,0,1),--line .65s cubic-bezier(.32,.72,0,1),--line-strong .65s cubic-bezier(.32,.72,0,1),--icon-bg .65s cubic-bezier(.32,.72,0,1),--icon-bg-hover .65s cubic-bezier(.32,.72,0,1),--field-bg .65s cubic-bezier(.32,.72,0,1),--page-base .65s cubic-bezier(.32,.72,0,1),--press .65s cubic-bezier(.32,.72,0,1),--glass-bg .65s cubic-bezier(.32,.72,0,1),--glass-bg-hover .65s cubic-bezier(.32,.72,0,1),--glass-modal .65s cubic-bezier(.32,.72,0,1),--glass-border .65s cubic-bezier(.32,.72,0,1),--ee-entry-field .65s cubic-bezier(.32,.72,0,1),--ee-card-start .65s cubic-bezier(.32,.72,0,1),--ee-card-end .65s cubic-bezier(.32,.72,0,1),--ee-window-start .65s cubic-bezier(.32,.72,0,1),--ee-window-end .65s cubic-bezier(.32,.72,0,1),--ee-surface-hover .65s cubic-bezier(.32,.72,0,1)}
@media(prefers-reduced-motion:reduce){:root.ee-accent-changing{transition:none}}

:root[data-app-theme="dark"]{color-scheme:dark;--page-gradient:linear-gradient(var(--page-base),var(--page-base));--ee-window-bg:linear-gradient(145deg,var(--ee-window-start),var(--ee-window-end));--ee-window-shadow:0 24px 72px #0005;--ee-card-bg:linear-gradient(145deg,var(--ee-card-start),var(--ee-card-end));--amber:#e4ad49;--teal:#4fb08d}
:root .home-grid .home-tile .home-tile-icon{color:var(--gold)!important}
:root .ee-standard-field:focus-within{border-color:var(--gold)!important;outline-color:var(--gold)!important}
:root .ee-primary,:root .ee6-plus{color:var(--on-accent)}
:root .home-grid .home-tile,:root .cat-tile,:root .tab-panel .card:not(.ee-product-identity),:root .tab-panel :is(.spend-card,.group-card,.alert-card,.next-card){background:var(--ee-card-bg)!important}
:root .home-grid .home-tile:is(:hover,:active),:root .cat-tile:is(:hover,:active){background:var(--ee-surface-hover)!important}
:root .home-grid .home-tile .home-tile-label,:root .cat-tile .cat-tile-name{color:var(--paper)}
:root .cat-tile-add{background:var(--ink-700)!important;color:var(--gold)}
:root button.cat-tile[type="button"]:is(:hover,:active,:focus-visible) .cat-tile-icon{background:var(--gold)!important;color:var(--on-accent)!important}
:root .modal-overlay .modal-box{--field-bg:var(--ee-entry-field)}
:root .ee-auth-screen{background:var(--page-base);--ee-entry-field:var(--field-bg)}
:root .ee-auth-content .ee-standard-field{border-color:var(--line-strong)!important}
:root .ee-auth-content .ee-standard-field:focus-within{border-color:var(--gold)!important;outline-color:var(--gold)!important}
:root .ee-auth-content .form-input{border-color:var(--line-strong)}
:root .ee-entry-signup{border-color:var(--line)}
:root .ee-choice-modal .ee-choice-card,:root .ee-group-menu-modal .ee-choice-card,:root .ee-plan-list .ee-plan-row,:root #eeItemTrash :is(.ee-trash-item,.ee-swipe-face,.reset-btn),:root #ee-device-copies-list .ee-device-copy{background:var(--ee-card-bg);color:var(--paper)}
:root .ee-plan-list .ee-plan-ico{color:var(--gold)}
:root .ee-saved-overview,:root .ee-session-current{color:var(--paper)}
:root .tab-panel :is(.ee-invest-graph,.ee-inc-chip,.ee-scn),:root .ee-device-copy-icon,:root .ee-device-copy-current{background:color-mix(in srgb,var(--paper) 6%,transparent)}
:root .tab-panel .ee-scn.on{background:color-mix(in srgb,var(--gold) 12%,var(--ink-800));box-shadow:inset 3px 0 0 var(--gold)}
:root button.ee-analysis-charge{background:color-mix(in srgb,var(--paper) 4%,transparent);color:var(--paper)}
:root button.ee-analysis-charge:is(:hover,:focus-visible){background:color-mix(in srgb,var(--paper) 8%,transparent)}
:root :is(.ee-analysis-charge-date,.ee-analysis-charge-info>small,.ee-analysis-charge-total small,.ee-analysis-charge-more>summary,.ee-analysis-billing-notice>small){color:var(--paper-dim)}
:root .ee-first-start{background:var(--ink-800);border-color:var(--line-strong);color:var(--paper)}
:root .ee-first-start h2{color:var(--paper)}:root .ee-first-start p{color:var(--paper-dim)}
:root .ee-first-actions button{background:var(--ink-700);border-color:var(--line);color:var(--gold)}
:root .ee-visual-dialog,:root .ee-visual-toolbar{background:var(--ink-800)}
:root .ee-visual-dialog :is(p,li){color:var(--paper-dim)}
:root .ee-visual-dialog select,:root .ee-visual-actions button,:root .ee-visual-toolbar button{background:var(--ink-700);color:var(--paper)}
:root .ee-visual-actions .copy-btn{background:var(--gold);color:var(--on-accent)}
.ee-palette-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}
.ee-palette-option{min-width:0;padding:12px;border:2px solid transparent;border-radius:16px;background:var(--preview-bg);color:var(--preview-text);text-align:left;cursor:pointer;font:inherit}
.ee-palette-option.on{border-color:var(--preview-accent)}
.ee-palette-option:focus-visible{outline:2px solid var(--paper);outline-offset:3px}
.ee-palette-option>strong{display:block;margin-top:12px;font-size:14px;font-weight:600;color:var(--preview-text)}
.ee-palette-option>small{display:block;margin-top:5px;font-size:11px;line-height:1.5;color:var(--preview-muted)}
.ee-palette-preview{display:grid;gap:7px;min-height:67px;padding:10px;border-radius:10px;background:var(--preview-card)}
.ee-palette-preview-heading{display:block;width:42%;height:4px;border-radius:3px;background:var(--preview-text);opacity:.8}
.ee-palette-preview-card{display:block;width:100%;height:21px;border-radius:5px;border-left:3px solid var(--preview-accent);background:color-mix(in srgb,var(--preview-accent) 13%,var(--preview-bg))}
.ee-palette-preview-line{display:block;width:65%;height:4px;border-radius:3px;background:var(--preview-muted);opacity:.6}
@media(max-width:350px){.ee-palette-grid{gap:8px}.ee-palette-option{padding:9px}.ee-palette-option>strong{font-size:12px}}

/* All loading eyes follow the chosen palette, including restored sessions. */
.ee-loading-eye{color:var(--gold)}

.ee-release-overlay{z-index:20010}
.ee-release-box{width:min(100%,500px);max-height:85dvh;display:flex;flex-direction:column}
.ee-release-body{overflow-y:auto;min-height:0}
.ee-release-version{font-size:11px;color:var(--paper-dim)}
.ee-release-entry{margin-top:22px}
.ee-release-entry h4{margin:6px 0 12px;color:var(--gold);font-size:17px}
.ee-release-entry ul{margin:0;padding-left:19px;display:grid;gap:12px;font-size:14px;line-height:1.6;color:var(--paper)}
.ee-release-box>.modal-foot{flex-shrink:0}
.ee-release-box>.modal-foot .copy-btn{width:100%;min-height:46px}

/* Resolve this gradient in the authentication scope, where Black/Gold tokens live.
   Inheriting --ee-window-bg from the root would keep the account's previous palette. */
:root .ee-auth-screen .ee-auth-content{background:linear-gradient(145deg,var(--ee-window-start),var(--ee-window-end))}

/* An allow-discrete modal exit can otherwise keep the old account palette
   above the login for 200 ms. Authentication is a hard visual boundary. */
body[data-auth-screen="true"] :is(#confirmModal,#ee-account-backdrop){display:none!important;visibility:hidden!important;transition:none!important;animation:none!important;pointer-events:none}

/* Compact category tiles keep the name available to assistive technology. */
:root #catGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
:root :is(#catGrid>.cat-tile,.cat-tile.ee-floating-ghost){display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:86px;padding:12px 8px;border-radius:18px}
:root :is(#catGrid>.cat-tile,.cat-tile.ee-floating-ghost) .cat-tile-name{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
:root :is(#catGrid>.cat-tile,.cat-tile.ee-floating-ghost) .cat-tile-total{width:100%;text-align:center;color:var(--paper)}
:root .ee-category-toolbar>.ee-category-search-field{border:0!important;box-shadow:none!important;background:var(--ee-card-bg)!important}
:root .ee-category-toolbar>.ee-category-search-field:focus-within{outline:2px solid var(--paper-dim)!important;outline-offset:2px}
.ee-category-actions .ee-category-create{color:var(--paper)}
/* The headline opens the explanation; the figures remain visible and unambiguous. */
#eeCategorySalaryAllocation{padding:12px 16px 16px;border-radius:18px}
.ee-category-summary .ee-salary-head{display:block;margin-bottom:4px}
.ee-category-summary-toggle{display:block;width:100%;min-height:44px;padding:6px 0;border:0;background:none;color:var(--paper);font:inherit;font-size:14px;line-height:1.4;font-weight:600;text-align:left;cursor:pointer}
.ee-category-summary-toggle:focus-visible{outline:2px solid var(--paper);outline-offset:2px;border-radius:4px}
.ee-category-summary.is-over .ee-category-summary-toggle{color:var(--coral)}
.ee-category-summary :is(.ee-salary-legend,.ee-salary-share)[hidden]{display:none!important}
.ee-category-summary .ee-salary-track{height:6px;margin:0}
.ee-category-summary .ee-salary-segment{transition:width .42s cubic-bezier(.22,1,.36,1)}
.ee-category-summary-amount{margin:10px 0 0;font-size:12px;line-height:1.5;color:var(--paper-dim);font-variant-numeric:tabular-nums}
.ee-category-summary-details{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .3s ease,opacity .22s ease}
.ee-category-summary-details.is-open{grid-template-rows:1fr;opacity:1}
.ee-category-summary-clip{min-height:0;overflow:hidden}
.ee-category-summary .ee-salary-note{margin-top:12px;color:var(--paper-dim);font-size:12px;line-height:1.5}
@media(prefers-reduced-motion:reduce){.ee-category-summary-details,.ee-category-summary .ee-salary-segment{transition:none}}

/* Author readings follow the same white-action / gray-detail hierarchy. */
.ee-mag-card.ee-mag-editorial{
 color:var(--paper);background-color:var(--ee-card-end);
 background-image:linear-gradient(90deg,color-mix(in srgb,var(--ee-card-start) 96%,transparent) 0%,color-mix(in srgb,var(--ee-card-start) 84%,transparent) 40%,color-mix(in srgb,var(--ee-card-end) 23%,transparent) 100%),linear-gradient(180deg,color-mix(in srgb,var(--ee-card-start) 45%,transparent) 0%,color-mix(in srgb,var(--ee-card-end) 5%,transparent) 32%,color-mix(in srgb,var(--ee-card-end) 92%,transparent) 70%,var(--ee-card-end) 100%),linear-gradient(color-mix(in srgb,var(--ee-card-end) 20%,transparent),color-mix(in srgb,var(--ee-card-end) 20%,transparent)),var(--ee-editorial-image,none);
}
.ee-mag-card.ee-mag-editorial>h3{font-size:13px;font-weight:400;line-height:1.45;letter-spacing:normal;color:var(--paper-dim);margin:10px 0 16px}
.ee-mag-editorial>blockquote{color:var(--paper)}
.ee-mag-card.ee-mag-editorial :is(.ee-mag-kicker,.ee-mag-credit){color:var(--paper-dim)}
.ee-mag-card.ee-mag-editorial .ee-mag-credit{font-weight:400}
.ee-mag-card.ee-mag-editorial details>summary{color:var(--paper);font-size:16px;font-weight:600;line-height:1.35;padding-block:12px}
.ee-mag-card.ee-mag-editorial details>p{color:var(--paper-dim);font-size:13px;font-weight:400;line-height:1.6}
:root .ee-mag-editorial details>summary::before,:root .ee-mag-editorial details>summary::after{background:var(--paper-dim)}

/* The magazine and finance sections use the account's complete palette. */
.ee-mag-card:not(.ee-mag-editorial){background:var(--ee-card-bg)}
.ee-mag-editorial a{color:var(--paper)}
:root .tab-panel:is([data-panel="emergencia"],[data-panel="investimento"],[data-panel="renda"],[data-panel="simulador"]) .card{border:0!important;box-shadow:none!important;color:var(--paper)}
:root .tab-panel:is([data-panel="emergencia"],[data-panel="investimento"],[data-panel="renda"],[data-panel="simulador"]) :is(.ee-standard-field,.ee-plan-input){border:0!important;box-shadow:none!important;background:var(--field-bg);color:var(--paper)}
:root .tab-panel:is([data-panel="emergencia"],[data-panel="investimento"],[data-panel="renda"],[data-panel="simulador"]) :is(.ee-standard-field,.ee-plan-input):focus-within{outline:2px solid var(--paper-dim);outline-offset:2px}
:root .tab-panel:is([data-panel="emergencia"],[data-panel="investimento"],[data-panel="renda"],[data-panel="simulador"]) :is(.form-input,.money-input,select){border:0!important;background:var(--field-bg);color:var(--paper);box-shadow:none!important}
:root .tab-panel:is([data-panel="emergencia"],[data-panel="investimento"],[data-panel="renda"],[data-panel="simulador"]) :is(.ee-choice-segment button,.ee-chip,.ee-scn,.ee-inc-chip,.ee-invest-graph){border:0!important;box-shadow:none;background:color-mix(in srgb,var(--paper) 6%,transparent);color:var(--paper)}
:root .tab-panel:is([data-panel="emergencia"],[data-panel="investimento"],[data-panel="renda"],[data-panel="simulador"]) :is(.ee-choice-segment button[aria-pressed=true],.ee-chip.on,.ee-scn.on){background:var(--gold);color:var(--on-accent);box-shadow:none}
:root .tab-panel:is([data-panel="emergencia"],[data-panel="investimento"],[data-panel="renda"],[data-panel="simulador"]) :is(.ee-choice-segment button[aria-pressed=true],.ee-chip.on,.ee-scn.on) :is(strong,small,b){color:var(--on-accent)}
:root .tab-panel:is([data-panel="emergencia"],[data-panel="investimento"],[data-panel="renda"],[data-panel="simulador"]) :is(.ee-chip,.ee-scn,.ee-choice-segment button):focus-visible{outline:2px solid var(--paper);outline-offset:3px}
:root #investGraphGradient stop{stop-color:var(--gold)}

/* Category cards: one value, with semantic color independent of palette. */
:root :is(#catGrid>.cat-tile,.cat-tile.ee-floating-ghost)[data-budget-state="surplus"] .cat-tile-total{color:#86c49a}
:root :is(#catGrid>.cat-tile,.cat-tile.ee-floating-ghost)[data-budget-state="deficit"] .cat-tile-total{color:#ed9292}

/* Compact category-only salary indicator; home allocation remains unchanged. */
:root #eeCategorySalaryAllocation.ee-category-summary{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0 2px!important;margin:2px 0 8px!important;min-height:0}
#eeCategorySalaryAllocation .ee-salary-head{margin:0}
#eeCategorySalaryAllocation .ee-category-summary-toggle{display:flex;align-items:center;gap:12px;min-height:44px;padding:0;border:0;background:none;box-shadow:none}
#eeCategorySalaryAllocation .ee-salary-track{flex:1;min-width:0;height:6px;margin:0;box-shadow:none;background:var(--line)}
#eeCategorySalaryAllocation .ee-salary-share{font-size:12px;font-weight:500;color:var(--paper-dim);white-space:nowrap}
#eeCategorySalaryAllocation .ee-salary-categories{background:var(--paper-dim)}
#eeCategorySalaryAllocation.is-over :is(.ee-salary-share,.ee-salary-note){color:var(--coral)}
#eeCategorySalaryAllocation.is-over .ee-salary-categories{background:var(--coral)}
#eeCategorySalaryAllocation .ee-category-summary-amount{margin:0;font-size:12px}
#eeCategorySalaryAllocation .ee-salary-note{margin:4px 0 8px;font-size:11px}

#eeCategorySalaryAllocation .ee-category-summary-amount{margin:0 0 8px}

/* Stronger outline language for navigation and category controls, not illustrations or charts. */
:root svg.icon{stroke-width:2.25}
:root :is(.cat-tile-icon,.detail-icon,.home-tile-icon) svg.icon{stroke-width:2.35}
:root :is(.ee-category-action,.ee6-trash,.ee-category-back,.ee-folder-back,.ee-item-sort,.ee-back-arrow-flight,.ee-account-entry,.ee-plan-ico,.ee-cash-icon,.ee-move-category,.ee-meta-toggle) svg{stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
:root .ee-perspective-section>summary>svg.icon{stroke-width:2.25}

/* Product photos and titles share the same information action. Preserve image palette on press. */
:root .ee-product-overview>.ee-product-photo-open{display:block;flex:0 0 auto;width:96px;max-width:30%;aspect-ratio:1;padding:0;margin:0;border:0;border-radius:10px;background:transparent;box-shadow:none;cursor:pointer;overflow:hidden;touch-action:manipulation}
:root .ee-product-photo-open>.ee-product-photo-frame,:root .ee-product-photo-open>img{width:100%;max-width:none;height:100%;aspect-ratio:1}
:root .ee-product-photo-open:focus-visible{outline:2px solid var(--product-value,var(--paper));outline-offset:3px}
:root .ee6-sub-card.ee-purchase-card:not(.dragging):not(.ee6-dragging):not(:has(.ee-product-photo-open:active)):active{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--product-value,var(--paper)) 35%,transparent)!important;transition-duration:.08s!important}
:root .ee-purchase-card.ee-product-identity:not(.dragging):not(.ee6-dragging):not(:has(.ee-product-photo-open:active)):active{--product-glow:34%;--product-glow-low:22%;--product-wash:14%}
:root .ee-product-photo-open:active{filter:brightness(1.06)}
@media(prefers-reduced-motion:no-preference){:root .ee6-sub-card.ee-purchase-card:not(.dragging):not(.ee6-dragging):not(:has(.ee-product-photo-open:active)):active{transform:scale(.99)!important}}

/* A single stable product header; only the area below it expands. */
:root .ee6-sub-card.ee-purchase-card{padding:0!important;min-height:0}
:root .ee-purchase-card>.ee-swipe-face{display:block;min-height:0;padding:0}
:root .ee-purchase-card .ee-product-overview{box-sizing:border-box;padding:14px 12px!important;margin:0!important;gap:10px;min-height:108px;align-items:center}
:root .ee-purchase-card .ee-product-overview>.ee-product-photo-open{width:80px;max-width:30%;flex-shrink:0}
:root .ee-purchase-card .ee-product-overview .drag-handle{padding:6px 1px!important;font-size:12px;opacity:.5;align-self:center}
:root .ee-purchase-card .ee-product-overview-info .ee-product-name{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-decoration:none;line-height:1.4}
:root .ee-purchase-card .ee-product-overview-info{border-left:0;padding-left:0;gap:4px;align-self:center}
:root .ee-purchase-card .ee-product-price{font-size:17px;line-height:1.4}
:root .ee-product-more{display:grid;place-items:center;flex:0 0 32px;width:32px;min-height:44px;padding:6px;border:0;background:none;box-shadow:none;color:var(--paper-dim);cursor:pointer}
:root .ee-product-more:focus-visible{outline:2px solid var(--paper);outline-offset:1px;border-radius:8px}
:root .ee-product-state{display:flex;gap:6px;color:var(--product-value,var(--paper-dim))}
:root .ee-product-state[hidden]{display:none!important}
:root .ee-product-state-icon{display:flex;align-items:center}
:root .ee-product-state-icon svg{width:13px;height:13px;fill:currentColor;stroke:currentColor;stroke-width:1.8}
:root .ee-purchase-card:not(.ee6-expanded) :is(.ee-product-tools,.ee6-sub-summary,.ee-quantity-caption){display:none!important}
:root .ee-purchase-card.ee6-expanded:has(.ee-product-overview) .ee6-detail-content{margin-top:0}
:root .ee-purchase-card .ee-product-tools{display:flex;justify-content:space-evenly;align-items:center;gap:4px;min-height:44px}
:root .ee-purchase-card .ee-product-tools>button{position:relative;inset:auto;flex:0 0 44px;width:44px;height:44px;margin:0;padding:10px;border-radius:12px}
:root .ee-purchase-card .ee-product-tools>button svg{width:22px;height:22px;stroke-width:2.1}
:root .ee-purchase-card .ee6-detail-pad>.ee6-sub-summary{padding:0;margin:0;font-size:13px}
:root .ee-purchase-card .ee6-detail-pad>.ee-quantity-caption{font-size:12px;color:var(--paper-dim)}
:root .ee-purchase-card:not(.ee-reference-card):not(.ee-capital-complete):not(.ee-capital-ready) .ee6-detail-pad>.ee6-sub-summary{display:none!important}

/* Optical normalization: star has more internal SVG whitespace than heart. */
:root .ee-product-state-icon[aria-label="Prioridade"] svg{scale:1.12;transform-origin:center}
:root .ee-purchase-card .ee-product-tools>.ee-priority-toggle svg{scale:1.12;transform-origin:center}

/* Press feedback must not replace the product surface or restart its glow. */
:root .ee-purchase-card.ee-plan-pulse.ee-product-identity:active::before{filter:brightness(1.08)}
:root .ee-purchase-card .ee-product-more{-webkit-tap-highlight-color:transparent}

/* Progressive purchase intentions, with independent explicit state controls. */
:root .ee-product-more svg{transition:transform .2s ease}
:root .ee6-expanded .ee-product-more svg{transform:rotate(180deg)}
:root .ee-product-tools>.ee-intent-selector{display:grid;place-items:center;color:var(--product-value,var(--paper));background:transparent;border:0;box-shadow:none}
:root .ee-product-tools>.ee-intent-selector[aria-expanded=true]{background:color-mix(in srgb,var(--product-value,var(--paper)) 16%,transparent)}
:root .ee-intent-content[hidden],:root .ee-intent-panel [hidden]{display:none!important}
.ee-intent-panel{display:grid;gap:12px;min-width:0}
.ee-intent-panel h4,.ee-intent-panel p{margin:0}
.ee-intent-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--paper-dim)}
:root .ee-intent-setting>button{position:relative;inset:auto;margin:0;flex:none}
.ee-intent-timing{display:flex;flex-wrap:wrap;gap:6px}
.ee-intent-timing button{flex:1;font-size:12px}
:root .ee-intent-history .ee-price-history h4{display:none}
:root .ee-history-chart{padding:4px 0;background:transparent;border-radius:0}
:root .ee-history-chart .ee-history-line{stroke-width:1.6}
:root .ee-history-chart .ee-history-guide{stroke-dasharray:none;stroke-width:.7;opacity:.18}
:root .ee-history-chart circle{stroke:none}
:root .ee-history-chart .ee-history-axis{fill:var(--paper-dim);font-size:9px;font-family:inherit}

/* Photo feedback is independent of card feedback; product name is part of the expansion surface. */
:root .ee-product-photo-open{transition:transform .16s ease; -webkit-tap-highlight-color:transparent}
:root .ee-product-photo-open:active{transform:scale(.94);filter:none}
:root .ee-purchase-card:has(.ee-product-photo-open:active){transform:none!important;box-shadow:none!important}
:root .ee-purchase-card.ee-plan-pulse.ee-product-identity:has(.ee-product-photo-open:active)::before{filter:none}
:root .ee-product-photo-empty{display:grid!important;place-items:center;background:color-mix(in srgb,var(--paper) 6%,transparent)}
.ee-product-photo-fallback{font-size:22px;color:var(--paper-dim)}
:root .ee-product-state-icon.ee-watch-indicator{width:9px;height:9px;border-radius:50%;align-self:center;background:currentColor;animation:ee-watch-blink 1.8s ease-in-out infinite}
@keyframes ee-watch-blink{0%,100%{opacity:1}50%{opacity:.25}}
@media(prefers-reduced-motion:reduce){:root .ee-watch-indicator{animation:none!important}:root .ee-product-photo-open{transition:none}:root .ee-product-photo-open:active{transform:none}}
:root .ee-intent-panel[hidden],:root .ee-intent-content[hidden]{display:none!important}
:root .ee-intent-panel .ee-intent-action{border:0;box-shadow:none;border-radius:10px;background:color-mix(in srgb,var(--product-tint,var(--paper)) 12%,var(--ink-700));color:var(--paper);min-height:38px;padding:8px 12px}
:root .ee-intent-panel .ee-intent-action:is([aria-pressed=true],[aria-expanded=true]){background:color-mix(in srgb,var(--product-value,var(--paper)) 25%,var(--ink-700))}
:root .ee-intent-panel .ee-intent-action:focus-visible{outline:2px solid var(--paper);outline-offset:2px}
.ee-intent-purchase-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ee-intent-purchase-summary>div{display:grid;gap:4px;min-width:0}
.ee-intent-purchase-summary small,.ee-intent-label{font-size:11px;color:var(--paper-dim)}
.ee-intent-purchase-summary strong{font-size:14px;overflow-wrap:anywhere}
.ee-intent-quantity:empty{display:none}
.ee-intent-quantity{display:grid;gap:6px;max-width:160px}
.ee-intent-quantity label{font-size:12px!important}
.ee-intent-date{font-size:13px;color:var(--paper-dim)}
:root .ee-product-tools>.ee-intent-selector[aria-label="Prioridade"] svg{scale:1.12}
:root .ee-intent-setting>.ee-priority-toggle svg{scale:1.12}

/* Expanded planning cards must never expose the destructive swipe action. */
:root .ee6-sub-card.ee6-expanded>.ee-swipe-act{visibility:hidden;pointer-events:none}

/* Choose purchase timing first; reveal only the controls that fit that intent. */
:root .ee-purchase-card:not(.ee-reference-card):not(.ee-capital-complete):not(.ee-capital-ready) .ee6-sub-summary{display:none!important}
:root .ee-purchase-intent-body[hidden],:root .ee-purchase-intent-future[hidden],:root .ee-purchase-intent-capital[hidden],:root .ee-intent-panel .ee-card-bag-toggle[hidden]{display:none!important}
.ee-purchase-intent-body{display:grid;gap:12px;min-width:0}
.ee-purchase-intent-body .ee-intent-quantity{display:flex;align-items:center;justify-content:space-between;max-width:none;font-size:13px}
.ee-intent-stepper{display:flex;align-items:center;gap:12px}
:root .ee-intent-stepper button{width:36px;min-height:36px;padding:4px;font-size:18px}
.ee-purchase-intent-future{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ee-purchase-intent-future:has(>[hidden]){grid-template-columns:minmax(0,1fr)}
.ee-intent-draft-field{display:grid;gap:6px;color:var(--paper-dim);font-size:12px;min-width:0}
.ee-intent-draft-field input{min-width:0;width:100%;box-sizing:border-box}
.ee-purchase-intent-metric{display:grid;gap:4px;padding:12px 14px;border-radius:12px;background:color-mix(in srgb,var(--ink-900) 55%,transparent);color:var(--product-value,var(--paper))}
.ee-purchase-intent-metric small{font-size:12px;color:var(--paper-dim)}
.ee-purchase-intent-metric strong{font-size:24px;font-variant-numeric:tabular-nums}
:root .ee-purchase-intent-body .ee-intent-action:disabled{opacity:.65;cursor:default}

/* Uniform status slots; compensate the star's internal SVG whitespace. */
:root .ee-product-state{align-items:center;gap:5px;line-height:0}
:root .ee-product-state-icon{display:grid;place-items:center;width:16px;height:16px;flex:0 0 16px;box-sizing:border-box}
:root .ee-product-state-icon svg{display:block;width:15px;height:15px}
:root .ee-product-state-icon[aria-label="Prioridade"] svg{scale:1;transform:translateY(-.2px)}
:root .ee-product-state-icon.ee-watch-indicator{width:16px;height:16px;align-self:center;background:none;border-radius:0}
:root .ee-product-state-icon.ee-watch-indicator::before{content:'';width:12px;height:12px;border-radius:50%;background:currentColor}
:root .ee-intent-draft-field .ee-reserved-input:focus::placeholder{color:transparent}
:root .ee-intent-draft-field .ee-reserved-input::placeholder{opacity:.55}
:root .ee-intent-stepper button:disabled{opacity:.4}
