/* Personal palette, shared geometry and unchanged logo silhouette. */
:root[data-mimma-look=madro]{--look-bg:#f5f4ef;--look-panel:#fffefb;--look-ink:#293537;--look-muted:#657172;--look-accent:#354f54;--look-hover:#293f44;--look-soft:#e5e9e4;--look-line:#daddd7;--look-gold:#a7843e;--look-field:#fffefb}
:root[data-mimma-look=atelier]{--look-bg:#edf0f7;--look-panel:#fcfdff;--look-ink:#193650;--look-muted:#52657c;--look-accent:#274877;--look-hover:#1b355e;--look-soft:#d9e2f0;--look-line:#bac7d8;--look-gold:#a96b40;--look-field:#fcfdff}
:root[data-mimma-look=blus]{--look-bg:#faf5e9;--look-panel:#fffdf6;--look-ink:#453832;--look-muted:#77645c;--look-accent:#a5443e;--look-hover:#87352f;--look-soft:#f2dedb;--look-line:#ded5c8;--look-gold:#a77c29;--look-field:#fffdf6}
:root[data-mimma-look=afterglow]{color-scheme:light;--look-bg:#ffffff;--look-panel:#ffffff;--look-ink:#181818;--look-muted:#635b54;--look-accent:#1b1b1b;--look-hover:#353535;--look-soft:#e9e1d7;--look-line:#c9beb1;--look-gold:#777777;--look-field:#ffffff}
:root[data-mimma-look]{--atelier-paper:var(--look-bg);--atelier-panel:var(--look-panel);--atelier-ink:var(--look-ink);--atelier-muted:var(--look-muted);--atelier-line:var(--look-line);--atelier-plum:var(--look-accent);--atelier-plum-hover:var(--look-hover);--atelier-peach:var(--look-soft);--atelier-clay:var(--look-gold);--green:var(--look-accent);--green2:var(--look-soft);--cream:var(--look-bg);--ink:var(--look-ink);--muted:var(--look-muted);--line:var(--look-line);--control-border:var(--look-line);--control-focus:var(--look-accent);--ai-accent:var(--look-accent);--ai-surface:var(--look-soft)}
html[data-mimma-look] body{background:var(--look-bg)!important;color:var(--look-ink)}
html[data-mimma-look] body :is(.panel,.week-column,.day-slot,.slot-recipe,.suggestion-card,.collection-card,.setup-card,.picker-shell,.picker-head,.planner-details,.recipe-reader-dialog,.recipe-reader-head,.account-help-panel,.personal-ai-dialog,.mobile-week-tabs,.picker-footer,.mobile-picker-date-row,.setup-sticky,.setup-top,.meal-selection){background-color:var(--look-panel)!important;color:var(--look-ink);border-color:var(--look-line)!important}
html[data-mimma-look] body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select){background-color:var(--look-field)!important;color:var(--look-ink)!important;border-color:var(--look-line)!important}
html[data-mimma-look] body :is(.secondary,button.secondary,.slot-add,.mobile-week-tabs button,.settings-jump a,.recipe-tags span,.account-help summary){background-color:var(--look-soft)!important;color:var(--look-ink)!important;border-color:var(--look-line)!important}
html[data-mimma-look] body :is(.primary,button.primary,.setup-actions #next){background:var(--look-accent)!important;color:#fffefb!important;border-color:var(--look-accent)!important}
html[data-mimma-look=afterglow] body :is(.primary,button.primary,.setup-actions #next){color:var(--look-on-accent)!important}
html[data-mimma-look] body :is(.mobile-week-tabs button[aria-pressed=true],.picker-day[aria-pressed=true]){background:var(--look-accent)!important;color:var(--look-bg)!important}
html[data-mimma-look] .look-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}
html[data-mimma-look] .look-choice{position:relative;display:flex;flex-direction:column;gap:10px;padding:16px;border:1px solid var(--look-line);border-radius:14px;cursor:pointer;background:var(--look-panel);font-size:14px;line-height:1.5;min-width:0}
html[data-mimma-look] .look-choice input{position:absolute;right:14px;top:14px;width:18px;height:18px;margin:0;accent-color:var(--look-accent)}
html[data-mimma-look] .look-choice:has(input:checked){outline:2px solid var(--look-accent);outline-offset:2px}
html[data-mimma-look] .look-choice:has(input:focus-visible){outline:3px solid var(--look-accent);outline-offset:4px}
.look-choice strong{font-size:17px}.look-swatch{display:flex;gap:0;margin:8px 24px 6px 0;border-radius:8px;overflow:hidden;height:48px;flex-shrink:0}.look-swatch i{flex:1;background:#f5f4ef}.look-swatch i:nth-child(2){background:#354f54}.look-swatch i:nth-child(3){background:#a7843e}
[data-preview-look=atelier] .look-swatch i:first-child{background:#f2efe7}[data-preview-look=atelier] .look-swatch i:nth-child(2){background:#354f77}[data-preview-look=atelier] .look-swatch i:nth-child(3){background:#b6794d}
[data-preview-look=blus] .look-swatch i:first-child{background:#faf5e9}[data-preview-look=blus] .look-swatch i:nth-child(2){background:#efd7d2}[data-preview-look=blus] .look-swatch i:nth-child(3){background:#f7e7ad}
[data-preview-look=afterglow] .look-swatch i:first-child{background:#202b2b}[data-preview-look=afterglow] .look-swatch i:nth-child(2){background:#52665a}[data-preview-look=afterglow] .look-swatch i:nth-child(3){background:#ebcd8f}
.personal-look{padding:24px;margin:20px 0}.look-status{min-height:1.5em;margin-bottom:0}.personal-look .mealmeta{color:var(--look-muted)}
html[data-mimma-look=atelier] body :is(.panel,.setup-card){border-radius:6px!important}
html[data-mimma-look=atelier] body :is(h2,h3){font-family:Georgia,serif;font-weight:500}
html[data-mimma-look=blus] .personal-look .panelhead{border-left:5px solid #e9cb6f;padding-left:14px}
html[data-mimma-look=afterglow] body .mimma-wordmark,html[data-mimma-look=afterglow] body .mimma-logo img{filter:brightness(0) invert(1)}
html[data-mimma-look=afterglow] body :is(.hint,.mealmeta,.slot-date,.recipe-description,.suggestion-card p,.setup-top){color:var(--look-muted)!important}
html[data-mimma-look=afterglow] body :is(.recipe-reader-body,.recipe-reader-content,.slot-details,.picker-content,.account-section,.recipe-tags,.mimma-recipe-body){background-color:var(--look-panel);color:var(--look-ink)}
@media(max-width:800px){html[data-mimma-look] .look-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.personal-look{padding:18px}.look-choice{padding:14px!important}}
@media(prefers-reduced-motion:no-preference){html[data-mimma-look] body{transition:background-color .18s,color .18s}}
html[data-mimma-look] body :is(.own-recipe-reader,.reader-head,.reader-content,.family-modal,.family-modal-head,.ai-goals-pane,.ai-preferences-pane,.ai-results-pane,.reader-method,.reader-ingredients,.recipe-editor-dialog){background-color:var(--look-panel)!important;color:var(--look-ink)!important;border-color:var(--look-line)!important}
html[data-mimma-look] body :is(.reader-nutrition,.reader-favorite,.reader-source,.recipe-reader-actions button,.personal-ai-dialog summary,.recipe-editor-dialog summary){background-color:var(--look-soft)!important;color:var(--look-ink)!important;border-color:var(--look-line)!important}
html[data-mimma-look=afterglow] body :is(h2,h3,h4,label,summary,.account-name,.reader-personal,.recipe-reader-actions,.slot-portions,.suggestion-panel-head,.personal-ai-dialog .picker-head h2){color:var(--look-ink)!important}
html[data-mimma-look=afterglow] body :is(.slot-method-steps>li,.slot-ingredients .ingredient-state,.account-household,.ai-proposal-rating){background-color:var(--look-soft)!important;color:var(--look-ink)!important}
html[data-mimma-look] body .look-choice input[type=radio]{position:absolute!important;inset:14px 14px auto auto!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-width:18px!important;margin:0!important;padding:0!important;appearance:auto!important;transform:none!important;box-shadow:none!important;border:0!important}
/* Small product compositions show each palette independently of the active look. */
html[data-mimma-look] .look-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
html[data-mimma-look] .look-choice{padding:12px 12px 18px!important;gap:12px}
html[data-mimma-look] body .look-choice input[type=radio]{inset:auto 18px 46px auto!important}
.look-choice>strong,.look-choice>span:last-child{padding:0 10px}.look-choice>strong{padding-right:32px}.look-choice>span:last-child{padding-right:32px}
.look-preview{--pv-bg:#f5f4ef;--pv-paper:#fffefb;--pv-ink:#293537;--pv-muted:#657172;--pv-accent:#354f54;--pv-soft:#e5e9e4;--pv-line:#daddd7;display:block;overflow:hidden;border-radius:10px;border:1px solid var(--pv-line);background:var(--pv-bg);color:var(--pv-ink);padding:16px;pointer-events:none;font:12px/1.4 system-ui;text-align:left;min-height:300px}
.look-preview-nav{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid var(--pv-line);gap:12px}.look-preview-nav>img{display:block;width:80px;height:26px;object-fit:contain}.look-preview-nav>span{font-size:9px;color:var(--pv-muted)}
.look-preview-intro{display:flex;flex-direction:column;gap:5px;padding:16px 0 12px}.look-preview-intro small{font-size:8px;letter-spacing:.13em;color:var(--pv-accent)}.look-preview-intro>b{font:400 27px/1.1 Georgia,serif;letter-spacing:-.04em;color:var(--pv-ink)}
.look-preview-days{display:flex;gap:5px;margin-bottom:12px}.look-preview-days i{font-style:normal;flex:1;text-align:center;padding:5px;background:var(--pv-paper);border-radius:4px;color:var(--pv-muted);font-size:9px}.look-preview-days i:first-child{background:var(--pv-accent);color:var(--pv-paper)}
.look-preview-meals{display:grid;grid-template-columns:1fr 1fr;gap:10px}.look-preview-meals>span{display:flex;flex-direction:column;background:var(--pv-paper);border:1px solid var(--pv-line);border-radius:8px;overflow:hidden;min-width:0}.look-preview-meals img{width:100%;height:95px;object-fit:cover;display:block}.look-preview-meals b{padding:9px 9px 0;font:400 15px/1.2 Georgia,serif;color:var(--pv-ink)}.look-preview-meals small{padding:4px 9px 10px;font-size:9px;color:var(--pv-muted)}
.look-preview-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}.look-preview-bottom i{font-style:normal;font-size:9px;padding:6px 10px;border-radius:5px;background:var(--pv-accent);color:var(--pv-paper)}.look-preview-bottom small{font:italic 11px Georgia,serif;color:var(--pv-muted)}
[data-preview-look=atelier] .look-preview{--pv-bg:#f2efe7;--pv-paper:#fffdf7;--pv-ink:#273d51;--pv-accent:#354f77;--pv-muted:#65717a;--pv-line:#d6d5cb;border-radius:3px}
[data-preview-look=atelier] .look-preview-intro small{letter-spacing:.2em}
[data-preview-look=blus] .look-preview{--pv-bg:#faf5e9;--pv-paper:#fffdf6;--pv-ink:#453832;--pv-accent:#a5443e;--pv-muted:#77645c;--pv-line:#ded5c8}[data-preview-look=blus] .look-preview-meals>span:last-child{background:#f6e8e5}[data-preview-look=blus] .look-preview-bottom small{background:#f7e7ad;color:#624d30;padding:6px 8px;border-radius:5px}[data-preview-look=blus] .look-preview-days i:first-child{background:#efd7d2;color:#743b36}
[data-preview-look=afterglow] .look-preview{--pv-bg:#ffffff;--pv-paper:#fffdfa;--pv-ink:#181818;--pv-accent:#1b1b1b;--pv-muted:#635b54;--pv-line:#c9beb1}[data-preview-look=afterglow] .look-preview-nav>img{filter:brightness(0) invert(1)}[data-preview-look=afterglow] .look-preview-bottom i,[data-preview-look=afterglow] .look-preview-days i:first-child{color:#111111}
.look-analytics{margin-top:28px;padding:22px;border:1px solid var(--look-line);border-radius:14px;background:var(--look-panel);color:var(--look-ink)}.look-analytics p{font-size:13px;line-height:1.6}.look-stats-scroll{overflow:auto}.look-stats-table{width:100%;border-collapse:collapse;font-size:13px}.look-stats-table th,.look-stats-table td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--look-line);white-space:nowrap}.look-stats-table th{font-size:12px}
@media(max-width:600px){html[data-mimma-look] .look-choices{grid-template-columns:minmax(0,1fr)}.look-preview{padding:12px}.look-preview-intro>b{font-size:26px}.look-preview-nav>img{width:74px}.look-analytics{padding:14px}}

/* Editorial blue identity, distinct from Hverdagsro's warm, soft surfaces. */
html[data-mimma-look=atelier] body :is(.panel,.setup-card){border-left:3px solid #274877!important;border-radius:3px!important}
html[data-mimma-look=atelier] body h1,html[data-mimma-look=atelier] .intro h1{font-style:italic!important;letter-spacing:-.035em!important}
html[data-mimma-look=atelier] body :is(.mimma-wordmark,.mimma-logo img){filter:brightness(0) saturate(100%) invert(26%) sepia(27%) saturate(1373%) hue-rotate(177deg) brightness(90%) contrast(92%)}
[data-preview-look=atelier] .look-preview{--pv-bg:#edf0f7;--pv-paper:#fcfdff;--pv-ink:#193650;--pv-accent:#274877;--pv-muted:#52657c;--pv-line:#bac7d8;border-left:4px solid #274877;background-image:none}
[data-preview-look=atelier] .look-preview-intro>b{font-style:italic;font-size:29px;letter-spacing:-.035em}
[data-preview-look=atelier] .look-preview-nav{border-bottom:2px solid #274877}
[data-preview-look=atelier] .look-preview-nav>img{filter:brightness(0) saturate(100%) invert(26%) sepia(27%) saturate(1373%) hue-rotate(177deg) brightness(90%) contrast(92%)}
[data-preview-look=atelier] .look-preview-days i{background:#d9e2f0;color:#193650;border-radius:0}
[data-preview-look=atelier] .look-preview-days i:first-child{background:#274877;color:#fff}
[data-preview-look=atelier] .look-preview-bottom i{background:#274877;color:#fff;border-radius:0}
[data-preview-look=afterglow] .look-preview-days i{background:#e9e1d7;color:#181818;font-size:11px;font-weight:650}
[data-preview-look=afterglow] .look-preview-days i:first-child{background:#1b1b1b;color:#ffffff}
[data-preview-look=afterglow] .look-preview-bottom i{background:#1b1b1b;color:#ffffff}
html[data-mimma-look=afterglow] body :is(.mobile-week-tabs button[aria-pressed=true],.picker-day[aria-pressed=true]) :is(strong,span){color:var(--look-on-accent)!important}
.admin-resolution-mail{display:grid;gap:14px;margin-top:22px;padding-top:18px;border-top:1px solid var(--look-line,#daddd7)}.admin-resolution-mail label:not(.admin-feedback-visibility){display:grid;gap:7px;font-size:13px;font-weight:600}.admin-resolution-mail :is(select,textarea){width:100%;min-height:44px;padding:10px;font:inherit;border:1px solid #bdc9c6;border-radius:8px}.admin-mail-preview{border:1px solid var(--look-line,#daddd7);border-radius:10px;padding:16px;background:var(--look-panel,#fffefb);font:14px/1.6 system-ui;white-space:pre-wrap;overflow-wrap:anywhere}.admin-mail-preview p{margin:10px 0}.admin-mail-preview strong{display:block}
/* Keep real mobile date controls readable in the selected palette too. */
html[data-mimma-look] body.guided-planner .planning-drawer .chosen-day-nav button{background:var(--look-soft)!important;color:var(--look-ink)!important;border-color:var(--look-line)!important}
html[data-mimma-look] body.guided-planner .planning-drawer .chosen-day-nav button[aria-pressed=true]{background:var(--look-accent)!important;color:var(--look-bg)!important;border-color:var(--look-accent)!important}
html[data-mimma-look=afterglow] body.guided-planner .planning-drawer .chosen-day-nav button[aria-pressed=true] :is(strong,span,small){color:var(--look-on-accent)!important}

/* Theme readability and distinct header surfaces. All text pairs use explicit foregrounds. */
:root[data-mimma-look=madro]{--look-header:#e3e9e2;--look-header-ink:#293537;--look-header-muted:#455a51;--look-header-hover:#d1dbd0;--look-header-active:#354f54;--look-header-on-active:#ffffff;--look-on-accent:#ffffff;--look-control-line:#7e8b86}
:root[data-mimma-look=atelier]{--look-header:#233d60;--look-header-ink:#ffffff;--look-header-muted:#e1e8f3;--look-header-hover:#34537d;--look-header-active:#e5edfa;--look-header-on-active:#193650;--look-on-accent:#ffffff;--look-control-line:#73859e}
:root[data-mimma-look=blus]{--look-header:#f0d6cf;--look-header-ink:#4b2f2b;--look-header-muted:#67453d;--look-header-hover:#e8c4ba;--look-header-active:#8e3934;--look-header-on-active:#ffffff;--look-on-accent:#ffffff;--look-control-line:#a4867b}
:root[data-mimma-look=afterglow]{--look-header:#eee8df;--look-header-ink:#181818;--look-header-muted:#51483f;--look-header-hover:#e1d6c9;--look-header-active:#1b1b1b;--look-header-on-active:#ffffff;--look-on-accent:#ffffff;--look-control-line:#8a7868}
html[data-mimma-look] body.guided-planner>.app>header.top,html[data-mimma-look] body.guided-planner header.top,html[data-mimma-look] body .topbar,html[data-mimma-look] body.mimma-admin>header{background:var(--look-header)!important;color:var(--look-header-ink)!important;border-bottom:1px solid var(--look-control-line)!important}
html[data-mimma-look] body.guided-planner header.top .top-nav>button.secondary,html[data-mimma-look] body.guided-planner header.top .account-help>summary,html[data-mimma-look] body.guided-planner header.top .mobile-more>summary{background:transparent!important;color:var(--look-header-muted)!important;border-color:transparent!important;box-shadow:none!important}
html[data-mimma-look] body.guided-planner header.top .top-nav>button.secondary:hover,html[data-mimma-look] body.guided-planner header.top .account-help>summary:hover,html[data-mimma-look] body.guided-planner header.top .mobile-more>summary:hover{background:var(--look-header-hover)!important;color:var(--look-header-ink)!important}
html[data-mimma-look] body.guided-planner header.top .top-nav>button.active,html[data-mimma-look] body.guided-planner header.top .account-help[open]>summary{background:var(--look-header-active)!important;color:var(--look-header-on-active)!important;border-bottom:2px solid currentColor!important;box-shadow:none!important}
html[data-mimma-look] body.guided-planner header.top:has(.account-help[open]) .top-nav>button.active{background:transparent!important;color:var(--look-header-muted)!important;border-color:transparent!important}
html[data-mimma-look] body.guided-planner header.top .household-quick-switch select,html[data-mimma-look] body.guided-planner header.top .household-quick-switch>button,html[data-mimma-look] body.guided-planner header.top .household-quick-switch>summary{background-color:var(--look-header-hover)!important;color:var(--look-header-ink)!important;border-color:var(--look-header-muted)!important}
html[data-mimma-look=atelier] body header.top :is(.mimma-wordmark,.mobile-brand-mark),html[data-mimma-look=atelier] body .topbar .mimma-logo img,html[data-mimma-look=afterglow] body :is(.mimma-wordmark,.mobile-brand-mark,.mimma-platform-logo img,.admin-brand img){filter:brightness(0) invert(1)!important}
html[data-mimma-look] body :is(.account-help-panel,.mobile-more-panel,.household-switch-panel){background:var(--look-panel)!important;color:var(--look-ink)!important;border-color:var(--look-control-line)!important}
html[data-mimma-look] body header.top :is(.account-help-panel,.mobile-more-panel) :is(button,summary,a,strong){color:var(--look-ink)!important}
html[data-mimma-look] body header.top :is(.account-help-panel,.mobile-more-panel) :is(button,summary){background-color:var(--look-soft)!important;border-color:var(--look-control-line)!important}
html[data-mimma-look] body :is(.account-help-heading,.account-help-panel [role=status],.household-quick-switch small,.hint,.mealmeta,.slot-date,.reader-rating,.rating-note-help){color:var(--look-muted)!important}
html[data-mimma-look] body input:not([type=checkbox]):not([type=radio]):not([type=range]),html[data-mimma-look] body textarea,html[data-mimma-look] body select{border-color:var(--look-control-line)!important}
html[data-mimma-look] body :is(input,textarea)::placeholder{color:var(--look-muted)!important;opacity:1}
html[data-mimma-look] body :is(.primary,button.primary,.setup-actions #next,.pick-recipe,.shopping-add-shortcut,.slot-skipped button.secondary){background:var(--look-accent)!important;color:var(--look-on-accent)!important;border-color:var(--look-accent)!important}
html[data-mimma-look] body :is(.secondary,.slot-actions button,.reader-favorite):hover{background-color:var(--look-soft)!important;color:var(--look-ink)!important;border-color:var(--look-control-line)!important}
html[data-mimma-look] body :is(button,a,summary,input,select,textarea):focus-visible{outline:3px solid var(--look-accent)!important;outline-offset:3px}
html[data-mimma-look] body header.top :is(button,a,summary,select):focus-visible{outline-color:var(--look-header-ink)!important}
html[data-mimma-look] body :is(.mobile-week-tabs,.chosen-day-nav) button[aria-pressed=true],html[data-mimma-look] body.guided-planner .planning-drawer .chosen-day-nav button[aria-pressed=true]{background:var(--look-accent)!important;color:var(--look-on-accent)!important;border-color:var(--look-accent)!important}
html[data-mimma-look] body :is(.mobile-week-tabs,.chosen-day-nav) button[aria-pressed=true] :is(strong,span,small){color:var(--look-on-accent)!important}
html[data-mimma-look] body .mobile-current-target{background:var(--look-soft)!important;color:var(--look-ink)!important;border-color:var(--look-control-line)!important}
html[data-mimma-look=afterglow] body :is(.settings-personal-note,.taste-priority,.taste-choice,.personal-recipe-status,.ai-untried,.ingredient-state,.slot-method-steps>li,.reader-nutrition){background:var(--look-soft)!important;color:var(--look-ink)!important;border-color:var(--look-line)!important}
html[data-mimma-look=afterglow] body :is(.recipe-reader-content,.reader-content,.slot-details,.picker-content) :is(p,li,h5,dt,dd){color:var(--look-ink)!important}
html[data-mimma-look=afterglow] body :is(.recipe-reader-content,.reader-content,.slot-details,.picker-content) :is(small,.mealmeta,.hint){color:var(--look-muted)!important}
/* Preview navigation matches the actual header, independent of the chosen account look. */
.look-preview-nav{margin:-16px -16px 0;padding:13px 16px;border-radius:0}
[data-preview-look=madro] .look-preview-nav{background:#e3e9e2;color:#293537}
[data-preview-look=atelier] .look-preview-nav{background:#233d60;border-bottom-color:#73859e}
[data-preview-look=atelier] .look-preview-nav>img{filter:brightness(0) invert(1)}
[data-preview-look=atelier] .look-preview-nav>span{color:#e1e8f3}
[data-preview-look=blus] .look-preview-nav{background:#f0d6cf}
[data-preview-look=blus] .look-preview-nav>span{color:#67453d}
[data-preview-look=afterglow] .look-preview-nav{background:#eee8df;border-bottom-color:#c9beb1}
[data-preview-look=afterglow] .look-preview-nav>span{color:#51483f}
.look-preview-nav>span{font-size:11px}.look-preview-intro small{font-size:10px}.look-preview-days i{font-size:11px;line-height:1.4;font-weight:600}.look-preview-meals small,.look-preview-bottom i{font-size:11px}
@media(max-width:600px){.look-preview-nav{margin:-12px -12px 0;padding:12px}.look-preview-nav>span{font-size:10px}}
/* Native select arrows/popups and household menus need explicit dark-mode colours. */
:root[data-mimma-look=afterglow]{--select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23181818' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E")}
html[data-mimma-look=atelier] body header.top select{--select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E")}
html[data-mimma-look] body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select){border-style:solid!important;border-width:1px!important;border-radius:8px}
html[data-mimma-look] body select::picker(select){background:var(--look-panel)!important;color:var(--look-ink)!important;border-color:var(--look-control-line)!important}
html[data-mimma-look] body select option:checked,html[data-mimma-look] body select option:hover,html[data-mimma-look] body select option:focus{background:var(--look-soft)!important;color:var(--look-ink)!important}
html[data-mimma-look] body select option::checkmark{color:var(--look-ink)!important}
html[data-mimma-look] body .household-switch-list{background:var(--look-panel)!important;color:var(--look-ink)!important;border-color:var(--look-control-line)!important}
html[data-mimma-look] body header.top .household-switch-list button{background:var(--look-panel)!important;color:var(--look-ink)!important;border-color:var(--look-line)!important}
html[data-mimma-look] body header.top .household-switch-list button[aria-pressed=true],html[data-mimma-look] body header.top .household-switch-list button:hover{background:var(--look-soft)!important;color:var(--look-ink)!important}
html[data-mimma-look] body .topbar :is(.brand-payoff,a),html[data-mimma-look] body.mimma-admin>header :is(h1,a){color:var(--look-header-ink)!important}
html[data-mimma-look=atelier] body.mimma-admin>header .admin-brand img{filter:brightness(0) invert(1)!important}
html[data-mimma-look] body :is(.hint,.mealmeta,.rating-note-help){font-size:13px!important;line-height:1.6}
html[data-mimma-look] body .account-help-panel [role=status]{font-size:12px;line-height:1.5}
html[data-mimma-look=afterglow] body .settings-personal-note :is(p,strong,span){color:var(--look-ink)!important}
html[data-mimma-look] body .account-help-panel :is(strong,.account-name){color:var(--look-ink)!important}
html[data-mimma-look] body .account-help-panel button{background:var(--look-soft)!important;color:var(--look-ink)!important;border-color:var(--look-control-line)!important}
/* The compact logo includes its own light tile; keep its letter shape visible. */
html[data-mimma-look=afterglow] body header.top .mobile-brand-mark,html[data-mimma-look=atelier] body header.top .mobile-brand-mark{filter:grayscale(1)!important}
html[data-mimma-look] body .household-quick-switch small{background:var(--look-panel)!important;border:1px solid var(--look-line);color:var(--look-muted)!important}
html[data-mimma-look] body .onboarding-reminder{background:var(--look-soft)!important;border-color:var(--look-control-line)!important;color:var(--look-ink)!important}
html[data-mimma-look] body .onboarding-reminder :is(h2,p){color:var(--look-ink)!important}
html[data-mimma-look] body .onboarding-reminder a{background:var(--look-accent)!important;color:var(--look-on-accent)!important}
html[data-mimma-look=afterglow] body .personal-taste-panel :is(strong,.taste-intro){color:var(--look-ink)!important}
html[data-mimma-look=afterglow] body .personal-taste-panel :is(small,details,.taste-community-status){color:var(--look-muted)!important}
html[data-mimma-look=afterglow] body :is(.reader-tried-status,.reader-facts>span,.ai-chat-message,.first-week-guide,.guide-settings-button){background:var(--look-soft)!important;color:var(--look-ink)!important;border-color:var(--look-line)!important}
html[data-mimma-look=afterglow] body :is(.reader-tried-status,.reader-facts,.ai-chat-message,.first-week-guide) :is(p,strong,span,small){color:var(--look-ink)!important}
html[data-mimma-look=afterglow] body :is(.reader-header-actions button,.reader-tried-status button,.servings-control button,.slot-portions button,.recipe-source-list button,.fast-choice,.reset,.extra-meal-actions button,.suggestion-card button){background:var(--look-soft)!important;color:var(--look-ink)!important;border-color:var(--look-control-line)!important}
html[data-mimma-look=afterglow] body :is(.suggestion-card .primary,.suggestion-card .pick-recipe,.approve-icon.approved){background:var(--look-accent)!important;color:var(--look-on-accent)!important;border-color:var(--look-accent)!important}
/* Each logo asset already colours lettering and heart independently. */
html[data-mimma-look] body img[data-personal-brand],html[data-mimma-look] body header.top img[data-personal-brand],html[data-mimma-look] body .topbar img[data-personal-brand],html[data-mimma-look] body .mimma-logo img[data-personal-brand],html[data-mimma-look] body.mimma-admin>header .admin-brand img[data-personal-brand]{filter:none!important}
/* Shared details use the same palette as their surrounding view. */
html[data-mimma-look] body :is(.recipe-tag,.tag-type,.tag-occasion,.tag-cuisine,.tag-season){--tag-bg:var(--look-soft)!important;--tag-fg:var(--look-ink)!important;--tag-line:var(--look-control-line)!important}
html[data-mimma-look] body #recipes-view .recipe-tag,html[data-mimma-look] body .recipe-tags .recipe-tag{background:var(--look-soft)!important;color:var(--look-ink)!important;border-color:var(--look-control-line)!important}
html[data-mimma-look] body #recipes-view .recipe-tag[aria-pressed=true],html[data-mimma-look] body .collection-tags button[aria-pressed=true]{background:var(--look-accent)!important;color:var(--look-on-accent)!important;border-color:var(--look-accent)!important;box-shadow:inset 0 0 0 1px var(--look-on-accent)}
html[data-mimma-look] body :is(.count,#item-count,.today-chip,.past-day-toggle,.reader-facts>span,.reader-portions){background:var(--look-soft)!important;color:var(--look-ink)!important;border-color:var(--look-line)!important}
html[data-mimma-look] body .week-column>.week-meal-header{background:var(--look-soft)!important;color:var(--look-ink)!important;border-color:var(--look-line)!important}
html[data-mimma-look] body .week-meal-header :is(span,strong,b){color:inherit!important}
html[data-mimma-look] body .reader-steps li{background:var(--look-soft)!important;color:var(--look-ink)!important;border-color:var(--look-line)!important}
html[data-mimma-look] body .reader-step-number{background:var(--look-accent)!important;color:var(--look-on-accent)!important}
html[data-mimma-look] body :is(.reader-steps p,.reader-nutrition-reference,.reader-nutrition-edit){color:var(--look-ink)!important}
html[data-mimma-look] body #admin-view>.settings-personal-note{background:var(--look-soft)!important;color:var(--look-ink)!important;border-color:var(--look-line)!important}
html[data-mimma-look] body .slot-skipped button.secondary{background:var(--look-accent)!important;color:var(--look-on-accent)!important;border-color:var(--look-accent)!important}
html[data-mimma-look] body :is(input[type=checkbox],input[type=radio]){accent-color:var(--look-accent)}
[data-preview-look=afterglow] .look-swatch i:first-child{background:#ffffff}[data-preview-look=afterglow] .look-swatch i:nth-child(2){background:#1b1b1b}[data-preview-look=afterglow] .look-swatch i:nth-child(3){background:#777777}
html[data-mimma-look] body .account-help-panel .account-menu-secondary[open]{background:var(--look-bg)!important}
html[data-mimma-look] body .account-help-panel .account-menu-secondary>summary{background:transparent!important;color:var(--look-ink)!important}
html[data-mimma-look] body .account-help-panel button.account-household{background:var(--look-panel)!important;color:var(--look-ink)!important;border-color:var(--look-line)!important}
html[data-mimma-look] body .account-help-panel button.account-household[aria-pressed=true]{background:var(--look-accent)!important;color:var(--look-on-accent)!important;border-color:var(--look-accent)!important}
html[data-mimma-look] body .account-help-panel button.account-household[aria-pressed=true] :is(span,small,svg){color:inherit!important}
html[data-mimma-look] body .account-help-panel :is(.account-help-heading,.account-menu-heading){color:var(--look-muted)!important}
html[data-mimma-look] body .account-menu-group [data-invite-household]{background:var(--look-soft)!important;color:var(--look-ink)!important}
/* Typography varies, while content order and card geometry stay shared. */
:root[data-mimma-look=madro]{--look-body-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--look-title-font:Georgia,"Times New Roman",serif;--look-title-style:normal;--look-title-weight:500}
:root[data-mimma-look=atelier]{--look-body-font:"Avenir Next",Avenir,"Segoe UI",sans-serif;--look-title-font:"Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;--look-title-style:italic;--look-title-weight:500}
:root[data-mimma-look=blus]{--look-body-font:"Trebuchet MS","Avenir Next",sans-serif;--look-title-font:"Trebuchet MS","Avenir Next",sans-serif;--look-title-style:normal;--look-title-weight:700}
:root[data-mimma-look=afterglow]{--look-body-font:"Helvetica Neue",Helvetica,Arial,sans-serif;--look-title-font:"Helvetica Neue",Helvetica,Arial,sans-serif;--look-title-style:normal;--look-title-weight:600}
html[data-mimma-look] body,html[data-mimma-look] body :is(button,input,select,textarea,label,.account-action,.account-menu-secondary summary){font-family:var(--look-body-font)!important}
html[data-mimma-look] body :is(h1,h2,h3,.collection-copy h3,.reader-columns h3){font-family:var(--look-title-font)!important;font-weight:var(--look-title-weight)!important}
html[data-mimma-look] body h1{font-style:var(--look-title-style)!important}
[data-preview-look=madro]{--pv-body-font:system-ui,-apple-system,sans-serif;--pv-title-font:Georgia,"Times New Roman",serif;--pv-title-style:normal;--pv-title-weight:500}
[data-preview-look=atelier]{--pv-body-font:"Avenir Next",Avenir,"Segoe UI",sans-serif;--pv-title-font:"Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;--pv-title-style:italic;--pv-title-weight:500}
[data-preview-look=blus]{--pv-body-font:"Trebuchet MS","Avenir Next",sans-serif;--pv-title-font:"Trebuchet MS","Avenir Next",sans-serif;--pv-title-style:normal;--pv-title-weight:700}
[data-preview-look=afterglow]{--pv-body-font:"Helvetica Neue",Helvetica,Arial,sans-serif;--pv-title-font:"Helvetica Neue",Helvetica,Arial,sans-serif;--pv-title-style:normal;--pv-title-weight:600}
.look-preview{font-family:var(--pv-body-font)!important}.look-preview-intro>b,.look-preview-meals b{font-family:var(--pv-title-font)!important;font-weight:var(--pv-title-weight)!important}.look-preview-intro>b{font-style:var(--pv-title-style)!important}
html[data-mimma-look] body :is(.meal-grid-header,.slot-photo,.slot-skipped,.slot-leftovers[aria-pressed=true],.reader-portions,.ai-chat-pane,.ai-recipe-empty,.progress){background:var(--look-soft)!important;color:var(--look-ink)!important;border-color:var(--look-line)!important}
html[data-mimma-look] body .progress>span{background:var(--look-accent)!important}
html[data-mimma-look] body :is(.choice:has(input:checked),.cuisine-chip:has(input:checked),.pantry-chip[aria-pressed=true],.setup-step-nav button[aria-current=step]){background:var(--look-soft)!important;color:var(--look-ink)!important;border-color:var(--look-accent)!important}
html[data-mimma-look] body #shopping-view :is(.item-purchased,.manual-shopping-item.shopping-just-added){background:var(--look-soft)!important;border-color:var(--look-line)!important}
html[data-mimma-look] body #shopping-view .item-purchased .quantity{color:var(--look-muted)!important}
html[data-mimma-look] body:has(#family-status) :is(#members li,#join-request-message){background:var(--look-soft)!important;color:var(--look-ink)!important;border-color:var(--look-line)!important}
html[data-mimma-look] body:has(#family-status) button{background:var(--look-soft)!important;color:var(--look-ink)!important;border-color:var(--look-control-line)!important}
html[data-mimma-look] body:has(#family-status) :is(#invite button,#join-button,#create-household button){background:var(--look-accent)!important;color:var(--look-on-accent)!important;border-color:var(--look-accent)!important}
html[data-mimma-look] body .picker-header-days .chosen-day-nav button:not(:disabled):hover{background:var(--look-soft)!important;color:var(--look-ink)!important;border-color:var(--look-accent)!important}
html[data-mimma-look] body .picker-header-days .chosen-day-nav button[aria-pressed=true]:hover{background:var(--look-accent)!important;color:var(--look-on-accent)!important}
/* Weekly routine cards belong to the selected account palette too. */
html[data-mimma-look] body .family-routine-grid>.family-routine-day{background:var(--look-soft)!important;color:var(--look-ink)!important;border-color:var(--look-line)!important}
html[data-mimma-look] body .family-routine-day :is(h3,label){color:var(--look-ink)!important}
html[data-mimma-look] body .family-routine-day :is(small,.hint){color:var(--look-muted)!important}
/* Recipe names in the week use the same title typography as the collection. */
html[data-mimma-look] body :is(h4,.slot-title h4,.suggestion-card h4,.library-recipe h4){font-family:var(--look-title-font)!important;font-weight:var(--look-title-weight)!important;font-style:normal}
html[data-mimma-look] body :is(.slot-title h4,.suggestion-card h4,.collection-copy h3) button{font-family:inherit!important;font-weight:inherit!important}
/* A complementary quiet surface gives each palette depth. */
:root[data-mimma-look=madro]{--look-support:#f1eadc}
:root[data-mimma-look=atelier]{--look-support:#e4eaf5}
:root[data-mimma-look=blus]{--look-support:#f7edc9}
:root[data-mimma-look=afterglow]{--look-support:#f3ebdf}
html[data-mimma-look] body .personal-taste-panel .taste-choice{background:var(--look-panel)!important;border-color:var(--look-line)!important;color:var(--look-ink)!important}
html[data-mimma-look] body .personal-taste-panel .taste-priority{background:var(--look-support)!important;color:var(--look-ink)!important;border:1px solid var(--look-line)}
html[data-mimma-look] body .personal-taste-panel :is(strong,.taste-priority p){color:var(--look-ink)!important}
html[data-mimma-look] body .personal-taste-panel :is(.taste-intro,.taste-choice small,.taste-choice details,.taste-community-status){color:var(--look-muted)!important}
html[data-mimma-look] body .personal-taste-panel .taste-choice input[type=checkbox]{accent-color:var(--look-accent)!important}
html[data-mimma-look] body .personal-taste-panel :is(strong,small,details,.taste-community-title){font-family:var(--look-body-font)!important}
html[data-mimma-look] body .day-slot.active-day,html[data-mimma-look] body .day-slot:has(.today-chip){box-shadow:inset 3px 0 0 var(--look-accent)!important;border-left-color:var(--look-line)!important}
/* Tag families have coordinated variety inside each personal palette. */
:root[data-mimma-look=madro]{--look-tag-type:#e2e9dc;--look-tag-occasion:#dfeaec;--look-tag-cuisine:#eee1d4;--look-tag-season:#f1e8c9}
:root[data-mimma-look=atelier]{--look-tag-type:#dce5f4;--look-tag-occasion:#e7e0f0;--look-tag-cuisine:#eee1d3;--look-tag-season:#e7ebd8;--look-support:#eee4d7}
:root[data-mimma-look=blus]{--look-tag-type:#f2d7d2;--look-tag-occasion:#dcebe6;--look-tag-cuisine:#ebe0ef;--look-tag-season:#f6e8b7}
:root[data-mimma-look=afterglow]{--look-tag-type:#dfd3c5;--look-tag-occasion:#ece6dd;--look-tag-cuisine:#e6dac9;--look-tag-season:#f2e9d7}
html[data-mimma-look] body .tag-type{--tag-bg:var(--look-tag-type)!important}
html[data-mimma-look] body .tag-occasion{--tag-bg:var(--look-tag-occasion)!important}
html[data-mimma-look] body .tag-cuisine{--tag-bg:var(--look-tag-cuisine)!important}
html[data-mimma-look] body .tag-season{--tag-bg:var(--look-tag-season)!important}
html[data-mimma-look] body #recipes-view .recipe-tag,html[data-mimma-look] body .recipe-tags .recipe-tag{background:var(--tag-bg,var(--look-soft))!important;color:var(--look-ink)!important}
html[data-mimma-look] body #recipes-view .recipe-tag[aria-pressed=true],html[data-mimma-look] body .collection-tags button[aria-pressed=true]{background:var(--look-accent)!important;color:var(--look-on-accent)!important}
html[data-mimma-look] body button.past-day-toggle,html[data-mimma-look] body button.past-day-toggle:hover{background:transparent!important;border-color:transparent!important;box-shadow:none!important;color:var(--look-ink)!important}
:root[data-mimma-look=madro]{--look-star:#a27813}
:root[data-mimma-look=atelier]{--look-star:#a67a13}
:root[data-mimma-look=blus]{--look-star:#b17f0b}
:root[data-mimma-look=afterglow]{--look-star:#a47b0a}
html[data-mimma-look] body :is(.past-rating button,.stars .star){color:var(--look-muted)!important;background:transparent!important;border-color:transparent!important}
html[data-mimma-look] body :is(.past-rating button.on,.past-rating button:hover,.stars .star.on,.stars .star:hover){color:var(--look-star)!important;background:transparent!important}
html[data-mimma-look] body .slot-recipe>button.slot-leftovers{background:var(--look-panel)!important;color:var(--look-accent)!important;border-color:var(--look-control-line)!important}
html[data-mimma-look] body .slot-recipe>button.slot-leftovers:hover,html[data-mimma-look] body .slot-recipe>button.slot-leftovers[aria-pressed=true]{background:var(--look-soft)!important;color:var(--look-accent)!important;border-color:var(--look-accent)!important}
html[data-mimma-look] body .slot-leftovers:after{border-color:var(--look-control-line);background:radial-gradient(circle at 9px 50%,#fff 0 6px,transparent 6.5px),var(--look-control-line)}
html[data-mimma-look] body .slot-leftovers[aria-pressed=true]:after{border-color:var(--look-accent);background:radial-gradient(circle at 23px 50%,#fff 0 6px,transparent 6.5px),var(--look-accent)}
@media(max-width:800px){.mobile-date-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0 16px}.mobile-date-controls>button{margin:0!important;min-height:44px;max-width:100%}.mobile-date-controls>button[hidden]{display:none!important}}
:root[data-mimma-look=madro]{--look-star-soft:#f2e4b5}
:root[data-mimma-look=atelier]{--look-star-soft:#f0e0b4}
:root[data-mimma-look=blus]{--look-star-soft:#f8e39a}
:root[data-mimma-look=afterglow]{--look-star-soft:#eee4be}
html[data-mimma-look] body header.top>span.tag{background:var(--look-star-soft)!important;color:var(--look-ink)!important;border-color:var(--look-star)!important}
html[data-mimma-look] body #days button.past-day-toggle,html[data-mimma-look] body #days button.past-day-toggle:hover{background:transparent!important;border-color:transparent!important;box-shadow:none!important;color:var(--look-ink)!important}

[data-preview-look=afterglow] .look-swatch i:nth-child(3){background:#c4b19a}
/* Favourite glyphs must not change shape with the selected text font. */
html[data-mimma-look] body :is(.slot-brand-actions>button[data-favorite],button.past-favorite){display:inline-grid;place-items:center;flex:0 0 40px;width:40px;height:40px;padding:8px!important;font-size:0!important;line-height:1;box-sizing:border-box}
html[data-mimma-look] body :is(.slot-brand-actions>button[data-favorite],button.past-favorite)::before{content:"";display:block;width:22px;height:22px;background:currentColor;mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[data-mimma-look] body :is(.slot-brand-actions>button[data-favorite],button.past-favorite)[aria-label^="Fjern favorit"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E")}

html[data-mimma-look] body button.past-favorite{background:var(--look-panel)!important;border:1px solid var(--look-line)!important;border-radius:8px;color:#935347}
/* On narrow screens the active-day rail intersects the day heading. The selected
   date and Today badge already provide the active state, so omit that rail. */
@media(max-width:800px){html[data-mimma-look] body .day-slot.active-day,html[data-mimma-look] body .day-slot:has(.today-chip){box-shadow:none!important;border-left-color:var(--look-line)!important}}
@media(max-width:800px){html[data-mimma-look] body :is(.slot-brand-actions>button[data-favorite],button.past-favorite){flex-basis:44px;min-width:44px;width:44px;min-height:44px;height:44px}html[data-mimma-look] body .slot-portions button{min-width:44px!important;min-height:44px!important}}
@media(max-width:480px){html[data-mimma-look] body #shopping-view .shopping-period-fields{grid-template-columns:minmax(0,1fr)!important;gap:14px}html[data-mimma-look] body #shopping-view .shopping-period-fields>label{width:100%;min-width:0}html[data-mimma-look] body #shopping-view input[data-shopping-from]{width:100%;min-width:0;min-height:44px}html[data-mimma-look] body #recipes-view>.intro{display:flex;flex-direction:column;align-items:stretch;gap:16px}html[data-mimma-look] body #recipes-view>.intro>.intro-actions:empty{display:none}html[data-mimma-look] body #recipes-view .recipe-create-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}html[data-mimma-look] body #recipes-view .recipe-create-actions button{min-width:0;width:100%;min-height:44px;white-space:normal}}
.admin-feedback-delivery{margin:12px 0 0;padding:9px 12px;border:1px solid var(--look-line,#daddd7);border-radius:8px;background:var(--look-soft,#e5e9e4);color:var(--look-ink,#293537);font-size:13px;line-height:1.5}

/* Keep empty feedback invisible and preview rows aligned across themes. */
#personal-look-settings .look-status:empty{display:none}
html[data-mimma-look] .look-choices{align-items:stretch}
html[data-mimma-look] .look-choice{display:grid;grid-template-rows:1fr auto auto;align-content:start}
.look-choice .look-preview{height:100%;box-sizing:border-box;display:flex;flex-direction:column}
.look-preview-bottom{margin-top:auto;padding-top:12px}
.look-preview-meals b{min-height:2.4em}
