/* Brand colours sampled from the supplied Mishmaya storefront screenshot. */
:root[data-theme=light]{color-scheme:light;--mm-bg:#f0efeb;--mm-paper:#f7f6f3;--mm-ink:#2f1720;--mm-muted:#75635f;--mm-line:#e0d3d0;--mm-accent:#965e5c;--mm-gold:#965e5c;--mm-soft:#e9e4e0;--mm-olive:#53694b;--mm-dark:#601917}
.mm-theme-switch{display:flex;gap:3px;padding:4px;border:1px solid var(--mm-line);border-radius:15px;flex-shrink:0}
.mm-theme-switch button{display:flex;align-items:center;justify-content:center;gap:6px;background:none;border:0;border-radius:11px;min-height:32px;padding:5px 9px;font-size:13px;color:var(--mm-muted)}
.mm-theme-switch button[aria-pressed=true]{background:var(--mm-soft);color:var(--mm-ink);box-shadow:0 1px 5px #0001}
.mm-theme-switch svg{width:16px;height:16px}
.mm-cover-edit{position:absolute;top:18px;left:18px;z-index:2;width:40px;height:40px;display:grid;place-items:center;border:1px solid #ffffff59;border-radius:15px;background:#24131c80;backdrop-filter:blur(12px);color:#fff7f3;box-shadow:0 2px 12px #0002;transition:background .2s}
.mm-cover-edit:hover{background:#601917d9}.mm-cover-edit svg{width:18px;height:18px}
.mm-cover-upload{display:block;padding:0;border:0;background:none}
.mm-cover-upload .mm-upload-preview{display:block;width:100%;height:auto;max-height:300px;aspect-ratio:16/9;object-fit:cover;padding:0;margin-bottom:20px;border:1px solid var(--mm-line)}
.mm-card-photo.is-scene{padding:0;height:auto;aspect-ratio:1/1;background:var(--mm-paper)}
.mm-card-photo.is-scene img{object-fit:contain;filter:none;transform:none}
.mm-card-photo.is-scene .mm-card-arrow{color:#fff5f0;filter:drop-shadow(0 1px 3px #000)}
.mm-detail-photo.is-scene{display:block;height:auto;padding:0;background:var(--mm-paper)}
.mm-detail-photo.is-scene>img{display:block;width:100%;height:auto;max-width:none;aspect-ratio:1/1;object-fit:contain;filter:none}
.mm-detail-photo.is-scene .mm-bottle-caption{top:12px;font-size:12px;right:12px;left:auto;padding:4px 9px;letter-spacing:0;border-radius:8px;background:#24131c80;color:#fff7f3;backdrop-filter:blur(6px)}
.mm-detail-photo.is-scene .mm-photo-edit{position:static;width:calc(100% - 24px);margin:12px}
.mm-mini-photo{width:76px;height:76px;overflow:hidden}.mm-mini-photo img{height:100%;padding:0;object-fit:contain}
.mm-shelf-photo{width:80px;height:80px;overflow:hidden}.mm-shelf-photo img{padding:0;object-fit:contain}
.mm-list-photo{width:72px;height:72px;padding:0;object-fit:contain}
.mm-location-cover,.mm-location-scene{position:relative}.mm-location-cover{height:210px}
.mm-image-caption{position:absolute;bottom:12px;right:12px;font-size:12px;padding:4px 9px;color:#fff8f4;background:#27171ba8;backdrop-filter:blur(5px);border-radius:8px}
/* Light palette: neutral limestone, oxblood and dusty rose. */
[data-theme=light] body:before{opacity:.22;background:radial-gradient(ellipse at 80% 0%,#965e5c12,transparent 55%)}
[data-theme=light] :is(h1,h2,h3){color:#601917}
[data-theme=light] .mm-top{background:linear-gradient(155deg,#f7f6f3,#e9e4e0);box-shadow:none}
[data-theme=light] :is(.mm-brand img,.mm-login-logo){filter:none}
[data-theme=light] :is(.mm-nav-label,.mm-nav button,.mm-side-bottom>p,.mm-app-title,.mm-top-date,.mm-dashboard-heading p,.mm-heading-detail){color:#75635f}
[data-theme=light] .mm-nav button:hover{background:#e0d3d0}
[data-theme=light] .mm-nav button[aria-current=page]{background:#601917;border-color:#601917;color:#f7f6f3;box-shadow:0 5px 14px #60191714}
[data-theme=light] .mm-side-ornament{color:#965e5c}[data-theme=light] .mm-side-ornament span{background:#965e5c55}
[data-theme=light] .mm-avatar{background:#e0d3d0;border-color:#c3a7a3;color:#601917}
[data-theme=light] .mm-appbar{background:#f7f6f3b8}
[data-theme=light] :is(.mm-header-add,.mm-modal-close){background:#e9e4e0;border-color:#e0d3d0;color:#601917}
[data-theme=light] .mm-mobile-menu{color:#601917}
[data-theme=light] .mm-theme-switch button[aria-pressed=true]{background:#fff;color:#601917}
[data-theme=light] .mm-hero{background:#dbdad5;border-color:#e0d3d0;box-shadow:0 16px 35px #60191709}
[data-theme=light] .mm-hero:before{filter:brightness(.95) saturate(.72)}
[data-theme=light] .mm-hero:after{background:linear-gradient(270deg,#f0efeb 0%,#f0efebf7 23%,#f0efebba 44%,#f0efeb00 76%)}
[data-theme=light] .mm-hero h2{color:#601917}[data-theme=light] .mm-hero p{color:#4c3439}
[data-theme=light] .mm-hero .mm-link{color:#601917}
[data-theme=light] .mm-hero-caption{color:#fff8f4;text-shadow:0 1px 10px #000}
[data-theme=light] .mm-button{background:#f7f6f3;border-color:#d8c6c2;color:#601917;box-shadow:none}
[data-theme=light] .mm-button:hover{background:#e9e4e0;border-color:#965e5c}
[data-theme=light] .mm-primary{background:#965e5c;border-color:#965e5c;color:#fff;box-shadow:0 5px 16px #60191712}
[data-theme=light] .mm-primary:hover{background:#7e4846;border-color:#7e4846;color:#fff}
[data-theme=light] .mm-link{color:#7e4846}[data-theme=light] .mm-link:hover{color:#601917}
[data-theme=light] :is(.mm-stat,.mm-panel,.mm-card,.mm-loc-card,.mm-story-card,.mm-shelf-wine){background:#f7f6f3;box-shadow:0 8px 24px #60191704;border-color:var(--mm-line)}
[data-theme=light] :is(.mm-stat,.mm-card,.mm-loc-card):hover{border-color:#c2a6a1}
[data-theme=light] :is(.mm-stat-icon,.mm-loc-icon){background:#ede2df;color:#965e5c;border-color:#e0d3d0}
[data-theme=light] :is(.mm-stat-body strong,.mm-ring-center strong,.mm-collection-count strong,.mm-card-count strong,.mm-value-strip strong,.mm-detail-count strong,.mm-loc-meta strong,.mm-location-title>p strong,.mm-conditions strong,.mm-knowledge-facts strong){color:#601917}
[data-theme=light] :is(.mm-stat-body>span,.mm-stat>svg,.mm-section-sub,.mm-mini-copy>span,.mm-mini-window>span,.mm-ring-center span,.mm-composition-legend button>span:last-of-type,.mm-chart-hint,.mm-shelf-copy>span,.mm-empty-compact,.mm-card-info>p,.mm-card-count,.mm-status.unknown,.mm-card-location,.mm-list-footer,.mm-wine-name small,.mm-place small,.mm-qty small,.mm-detail-sub,.mm-value-strip span,.mm-value-strip small,.mm-detail-count>span,.mm-holding p,.mm-note,.mm-knowledge-facts span,.mm-knowledge-facts small,.mm-knowledge-footer,.mm-story-meta,.mm-loc-meta,.mm-capacity>div,.mm-location-title>p,.mm-conditions span,.mm-field small,.mm-upload p,.mm-reading,.mm-info-note,.mm-modal-heading>p,.mm-login-form>p){color:#75635f}
[data-theme=light] :is(.mm-mini-window,.mm-legend-label,.mm-knowledge-paragraph,.mm-event-text,.mm-location-notes,.mm-field,.mm-checkbox,.mm-empty-story){color:#4c3439}
[data-theme=light] :is(.mm-mini-wine>svg,.mm-ring-center>svg,.mm-composition-legend button>svg,.mm-shelf-copy small,.mm-search svg,.mm-card-winery,.mm-year,.mm-qty,.mm-wine-row>svg,.mm-detail-year,.mm-event-move,.mm-event-title>svg,.mm-location-overview,.mm-loc-number,.mm-loc-link,.mm-conditions svg,.mm-dialog summary,.mm-knowledge-footer summary,.mm-updated){color:#965e5c}
[data-theme=light] :is(.mm-mini-wine,.mm-composition-legend button,.mm-wine-row):hover{background:#e9e4e0}
[data-theme=light] :is(.mm-mini-photo,.mm-shelf-photo,.mm-list-photo,.mm-card-photo,.mm-detail-photo,.mm-upload-preview){background:#e9e4e0;border-color:#e0d3d0}
[data-theme=light] .mm-ring{background:radial-gradient(circle,#965e5c0d 20%,transparent 68%);color:#965e5c}
[data-theme=light] .mm-ring-segment{filter:drop-shadow(0 2px 3px #60191718)}
[data-theme=light] .mm-legend-label i{box-shadow:none}
[data-theme=light] .mm-search{background:#f7f6f3}
[data-theme=light] :is(.mm-search input,.mm-field input,.mm-field textarea)::placeholder{color:#877672;opacity:1}
[data-theme=light] .mm-chip{background:#f7f6f3;color:#75635f;border-color:#e0d3d0}
[data-theme=light] .mm-chip[aria-pressed=true]{background:#601917;border-color:#601917;color:#fff}
[data-theme=light] .mm-layout-switch button{color:#75635f}
[data-theme=light] .mm-layout-switch button[aria-pressed=true]{background:#e0d3d0;color:#601917}
[data-theme=light] .mm-filter-location{color:#601917}
[data-theme=light] .mm-wine-type{background:#f7f6f3eb;color:#601917;border-color:#e0d3d0}
[data-theme=light] .mm-wine-type.white i{background:#aaa79b}
[data-theme=light] .mm-status{background:#e6ebe1;border-color:#d6dfcf;color:#49603e}
[data-theme=light] .mm-status.wait{background:#ede2df;border-color:#e0d3d0;color:#7e4846}
[data-theme=light] .mm-status.unknown{background:none;border-color:transparent;color:#75635f}
[data-theme=light] .mm-photo-edit{background:#e9e4e0;color:#601917;border-color:#d8c6c2}
[data-theme=light] .mm-knowledge-card{background:linear-gradient(125deg,#eee5e2,#f7f6f3);border-color:#d8c6c2}
[data-theme=light] .mm-story-timeline:before{background:linear-gradient(#965e5c77,#e0d3d0)}
[data-theme=light] .mm-story-dot{background:#e9e4e0;color:#965e5c;border-color:#c3a7a3}
[data-theme=light] .mm-event-title{color:#601917}
[data-theme=light] :is(.mm-story-event.is-highlighted,.mm-story-event:focus) .mm-story-card{border-color:#965e5c;background:#ede2df}
[data-theme=light] .is-undone .mm-story-meta{color:#965e5c}
[data-theme=light] :is(.mm-empty-story>svg,.mm-empty>svg){color:#965e5c}
[data-theme=light] .mm-empty-story h3{color:#601917}
[data-theme=light] .mm-loc-bins>span{background:#eee5e2;border-color:#e0d3d0;color:#601917}
[data-theme=light] .mm-loc-bins>span>span{background:none;border:0;color:inherit}
[data-theme=light] .mm-capacity-track{background:#e0d3d0}
[data-theme=light] .mm-capacity-track i{background:linear-gradient(90deg,#965e5c,#601917)}
[data-theme=light] .mm-new-location-card{background:#e9e4e066;border-color:#c3a7a3}
[data-theme=light] .mm-new-location-card:hover{background:#ede2df}
[data-theme=light] .mm-new-location-card>span{border-color:#c3a7a3;color:#965e5c}
[data-theme=light] :is(.mm-new-location-card h2,.mm-new-location-card strong){color:#601917}
[data-theme=light] .mm-new-location-card p{color:#75635f}
[data-theme=light] :is(.mm-field input,.mm-field select,.mm-field textarea){background:#f0efeb;border-color:#d8c6c2;color:#2f1720}
[data-theme=light] :is(.mm-field input,.mm-field select,.mm-field textarea):focus{outline-color:#965e5c44;border-color:#965e5c}
[data-theme=light] .mm-error{color:#992b35}
[data-theme=light] .mm-upload{background:#e9e4e066;border-color:#c3a7a3}
[data-theme=light] .mm-cover-upload{background:none;border:0}
[data-theme=light] .mm-info-note{border-color:#965e5c}
[data-theme=light] :is(.mm-confirm,.mm-modal-context){background:#ede2df;border-color:#d8c6c2;color:#601917}
[data-theme=light] .mm-confirm p{color:#75635f}
[data-theme=light] .mm-empty{border-color:#c3a7a3;color:#75635f}[data-theme=light] .mm-empty h2{color:#601917}
[data-theme=light] .mm-toast{background:#e6ebe1;color:#385331;border-color:#bfceb6;box-shadow:0 4px 16px #6019170d}
[data-theme=light] .mm-toast.error{background:#f0dfe0;color:#8a2531;border-color:#d8adb3}
[data-theme=light] .mm-dialog{background:#f7f6f3;border-color:#cdb4af;box-shadow:0 20px 75px #2f172045;scrollbar-color:#b79893 #f0efeb}
[data-theme=light] .mm-modal-footer{background:#f7f6f3f5}
[data-theme=light] .mm-checkbox input{accent-color:#965e5c}
[data-theme=light] .mm-login{background:#f0efeb}
[data-theme=light] .mm-bottom-nav{background:#f7f6f3f5;border-color:#e0d3d0;box-shadow:0 -4px 18px #60191708}
[data-theme=light] .mm-bottom-nav button{color:#75635f}
[data-theme=light] .mm-bottom-nav button[aria-current=page]{background:#ede2df;color:#601917}
@media(max-width:760px){.mm-appbar{gap:10px}.mm-top-date{display:none}.mm-theme-switch{margin-inline-start:auto}.mm-theme-switch button{width:31px;padding:4px}.mm-theme-switch button span{display:none}.mm-header-add{margin-inline-start:0}.mm-app-title{white-space:nowrap}.mm-cover-edit{top:13px;left:13px}}
@media(max-width:560px){.mm-mini-photo{width:65px;height:65px}.mm-shelf-photo{width:100%;height:auto;aspect-ratio:1/1;padding:0}.mm-list-photo{width:55px;height:55px}.mm-wine-row>.mm-place{padding-right:67px}.mm-detail-photo.is-scene{max-width:430px;margin:auto}.mm-cover-upload .mm-upload-preview{height:auto;max-height:220px}.mm-cover-upload .mm-link{display:inline-flex;margin-top:14px}.mm-cover-upload p{margin-top:12px}.mm-cover-edit{width:36px;height:36px;border-radius:13px}[data-theme=light] .mm-hero:after{background:linear-gradient(270deg,#f0efebf5,#f0efebdf 42%,#f0efeb55 100%),linear-gradient(0deg,#f0efeb75,transparent)}[data-theme=light] .mm-hero-caption{color:#601917;text-shadow:none}.mm-appbar{padding:0 17px}.mm-app-title{font-size:13px}}
.mm-loc-card{display:flex;flex-direction:column;align-items:stretch}.mm-location-cover{flex-shrink:0}.mm-loc-link{margin-top:24px}
