:root{--paper:#f7f5f0;--card:#fffefa;--ink:#252923;--muted:#777b72;--line:#e8e5dc;--accent:#647a65;--accent-dark:#405742;--gold:#b58b45;--shadow:0 8px 28px rgba(43,48,39,.06)}
*{box-sizing:border-box}html{background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body{margin:0;min-height:100vh}.app-shell{max-width:620px;margin:0 auto;min-height:100vh;padding:env(safe-area-inset-top) 20px calc(100px + env(safe-area-inset-bottom))}.topbar{display:flex;align-items:center;justify-content:space-between;padding:22px 0 24px}.eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:700;color:var(--accent);margin:0 0 7px}.topbar h1{font-family:Georgia,serif;font-weight:500;font-size:25px;letter-spacing:-.7px;margin:0}.icon-button{border:1px solid var(--line);background:var(--card);color:var(--accent-dark);width:40px;height:40px;border-radius:50%;font-family:Georgia,serif;font-size:13px}.view{display:none}.view.active{display:block}.welcome{background:#e9ede5;border-radius:22px;padding:25px 23px 24px;margin-bottom:14px}.welcome h2,.page-intro h2{font-family:Georgia,serif;font-weight:400;font-size:37px;line-height:1.04;letter-spacing:-1.1px;margin:8px 0 12px}.welcome h2 em{color:var(--accent);font-weight:400}.muted{color:var(--muted);font-size:13px;line-height:1.55;margin:0 0 19px}.primary-button,.secondary-button{border:0;border-radius:12px;padding:14px 18px;font-size:13px;font-weight:650;cursor:pointer}.primary-button{background:var(--accent-dark);color:white}.secondary-button{background:#edf0e9;color:var(--accent-dark)}.full-button{width:100%;margin-top:5px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:14px 0 29px}.stat-card{background:var(--card);border:1px solid var(--line);border-radius:15px;padding:15px 12px;box-shadow:var(--shadow)}.stat-card span{display:block;font-family:Georgia,serif;font-size:27px}.stat-card small{display:block;color:var(--muted);font-size:8px;letter-spacing:1px;margin-top:4px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:0 0 13px}.section-heading h3,.feature-card h3,.backup-card h3{font-family:Georgia,serif;font-size:22px;font-weight:400;margin:0}.text-button{border:0;background:none;color:var(--accent-dark);font-weight:650;font-size:12px;padding:8px 0}.empty-state{text-align:center;padding:31px 20px;background:var(--card);border:1px dashed #d9d8ce;border-radius:17px}.empty-icon{font-size:27px;color:var(--gold)}.empty-state h3{font-family:Georgia,serif;font-size:20px;font-weight:400;margin:8px 0}.empty-state p{font-size:12px;line-height:1.5;color:var(--muted);max-width:260px;margin:0 auto 16px}.page-intro{padding:8px 0 20px}.page-intro h2{font-size:34px;margin-bottom:8px}.page-intro .muted{margin:0}.search-input,.meal-form input:not([type=file]),.meal-form textarea{width:100%;border:1px solid var(--line);background:var(--card);border-radius:11px;padding:13px 14px;font:inherit;font-size:13px;color:var(--ink);outline:none}.search-input:focus,.meal-form input:focus,.meal-form textarea:focus{border-color:var(--accent)}.filter-row{display:flex;gap:8px;margin:13px 0 17px}.filter-chip{border:1px solid var(--line);background:transparent;border-radius:20px;padding:8px 13px;font-size:11px;color:var(--muted)}.filter-chip.selected{background:#e8ede5;border-color:#d7dfd3;color:var(--accent-dark)}.meal-list{display:grid;gap:12px}.meal-card{display:grid;grid-template-columns:104px 1fr;gap:13px;background:var(--card);border:1px solid var(--line);border-radius:15px;padding:10px;box-shadow:var(--shadow);min-width:0}.meal-thumb{width:104px;height:104px;border-radius:10px;background:#ecebe4;object-fit:cover}.meal-thumb.placeholder{display:grid;place-items:center;color:#9a9c91;font-size:25px}.meal-info{padding:4px 2px;min-width:0}.meal-info h3{font-family:Georgia,serif;font-size:18px;font-weight:400;margin:0 0 5px;overflow-wrap:anywhere}.meal-info p{font-size:11px;color:var(--muted);margin:0 0 7px}.meal-stars{color:var(--gold);letter-spacing:1px;font-size:12px}.meal-date{font-size:10px;color:#92948b;margin-top:7px}.meal-form{display:grid;gap:17px}.meal-form>label,.two-column label{display:grid;gap:7px;font-size:12px;font-weight:650;color:#50564d}.meal-form textarea{resize:vertical;line-height:1.5}.photo-picker{min-height:145px;border:1px dashed #c9cec3;background:#eff1eb;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--accent-dark);overflow:hidden;position:relative}.photo-picker .photo-symbol{font-size:25px}.photo-picker small{font-size:10px;color:var(--muted);font-weight:400}.photo-picker img{width:100%;max-height:220px;object-fit:cover}.two-column{display:grid;grid-template-columns:1fr 1fr;gap:10px}.rating-field{border:0;padding:0;margin:0}.rating-field legend{font-size:12px;font-weight:650;margin-bottom:8px}.stars{display:flex;gap:7px}.stars button{border:0;background:none;color:var(--gold);font-size:31px;padding:0 3px;line-height:1.2}.rating-field small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.privacy-note{text-align:center;font-size:10px;color:var(--muted);margin:0}.feature-card,.settings-card,.backup-card{background:var(--card);border:1px solid var(--line);border-radius:17px;padding:19px;box-shadow:var(--shadow)}.feature-icon{font-size:30px;color:var(--gold);margin-bottom:12px}.feature-card p,.backup-card p{font-size:12px;line-height:1.6;color:var(--muted)}.coming-label{font-size:8px;letter-spacing:1.2px;color:var(--accent);font-weight:700}.settings-card{margin-bottom:14px}.settings-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.settings-row:last-child{border:0}.settings-row strong{font-weight:600}.backup-card h3{font-size:20px}.backup-card .secondary-button{margin-top:3px}.import-label{display:block;margin-top:16px;color:var(--accent-dark);font-size:12px;font-weight:650}.import-label input{display:block;margin-top:9px;font-size:11px;max-width:100%}.small-print{font-size:10px;line-height:1.5;color:var(--muted);margin-top:17px}.tabbar{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,620px);padding:10px 12px calc(10px + env(safe-area-inset-bottom));display:flex;justify-content:space-around;background:rgba(255,254,250,.96);border-top:1px solid var(--line);backdrop-filter:blur(14px);z-index:5}.tab{border:0;background:none;color:#898d83;display:flex;flex-direction:column;align-items:center;gap:3px;min-width:53px;padding:3px 5px}.tab span{font-size:22px;line-height:23px}.tab small{font-size:9px}.tab.active{color:var(--accent-dark)}.tab.add-tab span{display:grid;place-items:center;background:var(--accent-dark);color:white;border-radius:50%;width:37px;height:37px;font-size:25px;margin-top:-17px;box-shadow:0 4px 12px #40574244}.tab.add-tab small{margin-top:1px}.toast{position:fixed;bottom:90px;left:50%;transform:translate(-50%,15px);opacity:0;background:#263a2a;color:white;padding:11px 16px;border-radius:22px;font-size:12px;transition:.2s;z-index:10;pointer-events:none;max-width:90%;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}@media(min-width:600px){.app-shell{padding-left:28px;padding-right:28px}.welcome{padding:32px}.meal-card{grid-template-columns:120px 1fr}.meal-thumb{width:120px;height:112px}}
/* Meal Passport 1.0 additions */
.clickable-card{cursor:pointer;position:relative;padding-right:42px;transition:transform .15s ease}.clickable-card:active{transform:scale(.99)}.card-chevron{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:28px;color:#8b9387}.restaurant-card{display:flex;align-items:center;gap:15px;background:#fffefa;border:1px solid #e9e5dc;border-radius:20px;padding:17px;margin:10px 0}.restaurant-mark{width:48px;height:48px;border-radius:15px;background:#eef1e9;color:#526b55;display:grid;place-items:center;font-size:24px;flex:none}.restaurant-info{min-width:0}.restaurant-info h3{margin:0 0 4px;font-size:18px}.restaurant-info p{margin:0 0 5px;color:#777e73}.restaurant-info small{color:#697464}.detail-overlay{position:fixed;inset:0;background:#171b16a6;z-index:30;display:flex;align-items:flex-end;justify-content:center;padding:12px}.detail-overlay[hidden]{display:none}.detail-sheet{position:relative;background:#faf8f3;border-radius:26px 26px 18px 18px;width:min(100%,620px);max-height:88dvh;overflow:auto;padding:28px 22px 32px;box-shadow:0 12px 50px #0003}.detail-close{position:absolute;right:18px;top:14px;border:0;background:#ebece5;border-radius:50%;width:38px;height:38px;font-size:26px;color:#3b473b}.detail-sheet h2{font-family:Georgia,serif;font-size:34px;line-height:1.1;margin:8px 45px 12px 0}.detail-sheet h3{margin:18px 0 6px}.detail-photo{width:100%;max-height:330px;object-fit:cover;border-radius:18px;margin:12px 0}.detail-stars{font-size:26px;color:#b27b36;letter-spacing:2px;margin:14px 0}.detail-meta,.restaurant-summary{display:flex;gap:12px;flex-wrap:wrap;padding:14px 0;border-top:1px solid #e5e1d8;color:#687164;font-size:13px}.restaurant-summary{align-items:baseline}.restaurant-summary strong{font-size:24px;color:#29332b}.detail-dish-list{display:grid;gap:8px;margin:12px 0 20px}.detail-dish{display:flex;justify-content:space-between;gap:10px;text-align:left;padding:14px;border:1px solid #e7e3da;border-radius:14px;background:#fffefa;color:#29332b}.detail-dish strong{color:#b27b36;white-space:nowrap}.modal-open{overflow:hidden}@media(min-width:700px){.detail-overlay{align-items:center}.detail-sheet{border-radius:26px}}

/* Meal Passport 1.1 — entry management */
.meal-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:20px}
.meal-actions .danger-button{grid-column:1/-1}
.danger-button{border:1px solid #e7c9c4;background:#fff4f1;color:#9b4035;border-radius:12px;padding:13px 16px;font-size:13px;font-weight:650}

/* Meal Passport 1.2 — warm editorial palette and restaurant picker */
:root{--paper:#f6f0e6;--card:#fffdf8;--ink:#292820;--muted:#777365;--line:#e9dfd0;--accent:#9a604b;--accent-dark:#704535;--gold:#c18d3d;--shadow:0 9px 28px rgba(75,54,37,.075)}
.welcome{position:relative;overflow:hidden;background:linear-gradient(125deg,#f0d9c9 0%,#f4e8d6 54%,#e5e9d8 100%);border:1px solid #ead7c7;padding:27px 23px 25px}
.welcome:after{content:"✳";position:absolute;right:12px;top:9px;font-size:104px;line-height:1;color:#a9694c18;transform:rotate(-14deg);pointer-events:none}
.welcome .eyebrow{color:#87513e}.welcome h2 em{color:#8d5742}.welcome .muted{color:#665f52;max-width:275px}.welcome .primary-button{background:#754936;box-shadow:0 5px 14px #75493625}
.stat-card:nth-child(1){background:#fffaf2}.stat-card:nth-child(2){background:#f0f1e8}.stat-card:nth-child(3){background:#f8ece5}
.stat-card span{color:#87553f}.stat-card:nth-child(2) span{color:#68734f}.stat-card:nth-child(3) span{color:#b47d39}
.section-heading .eyebrow{color:#9a604b}.meal-card,.restaurant-card{border-color:#e9dfd0}.filter-chip.selected{background:#f1e2d8;border-color:#e5c9b9;color:#754936}
.primary-button{background:#754936}.secondary-button{background:#f2e8dd;color:#754936}.tab.active{color:#754936}.tab.add-tab span{background:#754936}
.photo-picker{background:#f5ece2;border-color:#d9bca9;color:#754936}.eyebrow{color:#9a604b}
.restaurant-picker-field{display:grid;gap:7px}.restaurant-picker-field>label{font-size:12px;font-weight:650;color:#50564d}
.restaurant-entry-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.restaurant-entry-row input{min-width:0;width:100%;border:1px solid var(--line);background:var(--card);border-radius:11px;padding:13px 12px;font:inherit;font-size:13px;color:var(--ink)}
.choose-place-button{border:1px solid #e2c8b8;background:#f5e8de;color:#754936;border-radius:11px;padding:0 13px;font-size:12px;font-weight:700;white-space:nowrap}.choose-place-button span{font-size:17px;margin-right:3px}
.selected-place-note{font-size:10px;color:#827b6d;line-height:1.4}.selected-place-note.is-selected{color:#59704b;font-weight:650}
.place-sheet{padding-top:34px}.place-sheet h2{font-size:30px}.place-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0;font-size:11px;color:var(--muted)}.place-toolbar>div{display:flex;gap:5px}.place-toolbar .filter-chip{padding:7px 12px}
.place-results{display:grid;gap:7px;max-height:42dvh;overflow:auto}.place-result{display:flex;align-items:center;gap:11px;width:100%;text-align:left;border:1px solid var(--line);background:#fffdf8;border-radius:13px;padding:12px;color:var(--ink)}.place-pin{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#f2e4da;color:#8d5742;font-size:19px;flex:none}.place-result-copy{display:grid;gap:3px;min-width:0;flex:1}.place-result-copy strong{font-size:13px;font-weight:650}.place-result-copy small{font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.place-arrow{font-size:23px;color:#9b9588}.place-empty{padding:24px 12px;text-align:center;font-size:12px;color:var(--muted);background:#f8f3eb;border-radius:12px}.place-map{height:42dvh;min-height:260px;border-radius:14px;overflow:hidden;border:1px solid var(--line);z-index:1}.manual-place-button{display:block;margin:12px auto 0}.map-attribution{text-align:center;font-size:9px;color:#969083;margin:8px 0 0}.map-select-button{border:0;border-radius:8px;background:#754936;color:white;padding:7px 10px;margin-top:6px;font-weight:650}.place-overlay{z-index:40}.place-overlay .detail-sheet{max-height:92dvh}
@media(max-width:380px){.restaurant-entry-row{grid-template-columns:minmax(0,1fr) auto}.choose-place-button{padding:0 9px;font-size:11px}}

/* Meal Journal 1.3 */
:root{--accent:#849a7b;--accent-dark:#627b60}
.welcome{min-height:310px;background:linear-gradient(100deg,#f6ede0 0%,#f3e7d7 57%,#e5e8d8 100%);padding-right:18px}
.welcome:after{content:none}
.welcome-food{position:absolute;right:-110px;top:0;width:78%;height:100%;object-fit:cover;object-position:right center;opacity:.94;mask-image:linear-gradient(to right,transparent 0%,#000 35%);pointer-events:none}
.welcome>p,.welcome>h2,.welcome>button{position:relative;z-index:1}.welcome .muted{max-width:55%;text-shadow:0 1px 5px #f6ede0}.welcome h2{max-width:65%;text-shadow:0 1px 5px #f6ede0}
.primary-button,.welcome .primary-button,.tab.add-tab span,.map-select-button{background:#81977a;color:#fff;box-shadow:0 4px 12px #64785c24}.primary-button:active{background:#687f62}
.secondary-button{color:#506d4e;background:#e7eee3}.tab.active,.filter-chip.selected{color:#597457}.filter-chip.selected{background:#e5ece0;border-color:#c9d7c2}.choose-place-button{background:#e6eee1;color:#587053;border-color:#c7d7c0}.photo-picker{color:#627b60}.place-search-actions,.external-maps{display:flex;gap:8px;margin:10px 0}.place-search-actions>*{flex:1;min-width:0;padding:11px 8px}.external-maps a{flex:1;text-align:center;border:1px solid #cbd7c7;border-radius:12px;background:#f5f7f0;padding:10px 6px;color:#526c50;text-decoration:none;font-size:12px;font-weight:700}
@media(max-width:380px){.welcome-food{right:-140px;width:90%}.welcome h2{font-size:31px}}

/* 1.4 */
.photo-actions{display:flex;gap:10px;margin-bottom:12px}.photo-actions button{flex:1;font-size:13px;padding:11px 8px}.location-controls{margin:14px 0}.location-controls .filter-row{margin-top:10px;flex-wrap:wrap}.journal-map{height:370px;border-radius:18px;overflow:hidden;position:relative;margin:12px 0;background:#e6e9da}.journal-map[hidden]{display:none}.map-overlay-hint{position:absolute;z-index:500;bottom:10px;left:12px;right:12px;background:#fffdf4;padding:10px;border-radius:10px;text-align:center;font-size:12px;pointer-events:none}.map-help{font-size:12px}.journal-popup{min-width:180px}.journal-popup small{display:block;margin:4px 0}.journal-popup button{display:flex;align-items:center;gap:8px;width:100%;border:0;border-top:1px solid #ddd;background:white;text-align:left;padding:7px 0}.journal-popup img{width:44px;height:44px;object-fit:cover;border-radius:6px}.city-group{margin:20px 0}.city-group h3{margin-bottom:10px}.city-group small{font-weight:normal;color:#6b776b}.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.gallery-tile{border:0;border-radius:12px;overflow:hidden;background:#f4f0e6;padding:0;text-align:left}.gallery-tile img{display:block;width:100%;aspect-ratio:1;object-fit:cover}.gallery-tile span{display:block;padding:8px;font-size:12px;font-weight:600}.photo-picker{cursor:pointer}

/* Ensure special Passport views replace the regular meal list. */
[hidden], .meal-list[hidden], #passportExtra[hidden] { display:none !important; }
.locate-card{padding:12px;margin:9px 0;border:1px solid #d8dfd1;border-radius:12px;background:#fffefa}.locate-card button{margin-top:8px}.locate-choice{display:block;width:100%;text-align:left;margin-top:7px;padding:9px;background:#edf0e9;border:1px solid #d8dfd1;border-radius:8px;color:#304936}

/* 1.4.2: simpler photo picker and flexible location fields */
#addView .two-column {align-items:end;}

/* 1.4.3: compact Journal navigation */
#passportView>.filter-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:13px 0 17px}
#passportView>.filter-row .filter-chip{width:100%;min-width:0;min-height:44px;padding:9px 4px;white-space:normal;line-height:1.2;text-align:center;font-size:12px}
.pin-sheet{max-width:560px}.pin-map{height:min(52vh,420px);min-height:260px;border-radius:14px;overflow:hidden;margin:14px 0}.pin-sheet .primary-button:disabled{opacity:.5}.locate-card [data-manual-pin]{margin-left:8px}
@media(max-width:380px){.locate-card [data-manual-pin]{margin-left:0;display:block}}

.photo-location-status{font-size:12px;color:#526b55;margin:-5px 0 8px;min-height:0}.photo-location-status:empty{display:none}.restaurant-mark{overflow:hidden;position:relative}.restaurant-mark img{width:100%;height:100%;object-fit:contain;background:#fff;padding:5px;position:absolute;inset:0;z-index:1;box-sizing:border-box}.restaurant-mark span{z-index:0}

/* v1.5 neutral restaurant fallback and account controls */
.restaurant-mark{background:#e8dccb;color:#806d56}.restaurant-mark span{font-size:0}.restaurant-mark span:after{content:"♨";font-size:23px}.cloud-card{margin:18px 0}.cloud-card form{display:grid;gap:12px}.cloud-card label{display:grid;gap:6px;font-size:14px;color:#52604e}.cloud-card input,.cloud-card select{width:100%;box-sizing:border-box;padding:13px;border:1px solid #ddd5c8;border-radius:12px;background:#fffefa;color:#28312a;font-size:16px}.cloud-card button{margin:6px 6px 6px 0}.cloud-card [hidden]{display:none!important}#cloudStatus{font-size:13px;color:#526b55;line-height:1.5}

/* 1.5.3 account gate: never reveal cached personal content before session validation */
.auth-gate{position:fixed;inset:0;z-index:100;background:#f5f0e7;overflow-y:auto;display:flex;align-items:flex-start;justify-content:center;padding:calc(30px + env(safe-area-inset-top)) 20px 30px}.auth-gate[hidden]{display:none!important}.auth-panel{width:min(100%,430px);text-align:center}.auth-symbol{width:68px;height:68px;display:grid;place-items:center;margin:0 auto 12px;background:#e8dccb;color:#806d56;border-radius:20px;font-size:35px}.auth-panel h1{font:normal 36px Georgia,serif;color:#34342c;margin:0}.auth-tagline{color:#81796c;margin:8px 0 20px}.auth-hero{width:100%;max-height:210px;object-fit:cover;border-radius:20px}.auth-panel #authGateStatus{font-size:13px;color:#806d56;min-height:20px;margin:16px 0}.auth-panel form{display:grid;gap:13px;text-align:left}.auth-panel label{display:grid;gap:5px;font-size:13px;font-weight:600;color:#555044}.auth-panel input{width:100%;font:inherit;font-size:16px;padding:13px;border:1px solid #d8cfc0;border-radius:12px;background:white}.auth-panel button{cursor:pointer}.auth-privacy{font-size:12px;color:#81796c}.restaurant-mark span:after{content:"♨"}.restaurant-mark{background:#e8dccb;color:#806d56}

/* 1.5.4: preserve complete round plated-meal artwork */
.welcome-food{width:58%;height:auto;aspect-ratio:1;right:-8%;top:50%;transform:translateY(-50%);object-fit:contain;object-position:center;mask-image:linear-gradient(to right,transparent 0%,#000 28%);border-radius:50%}

/* v1.5.5 login gate: keep form readable on iPhone */
.auth-panel #gateSubmit{width:100%}.auth-panel #gateMode{margin:12px auto 4px;display:block}.auth-panel #gateReset{margin:8px auto}.auth-hero{object-fit:contain;background:#f5f0e7;aspect-ratio:2/1}

/* v1.6: restaurant-first cards and opt-in community */
.meal-card-v16{display:block;overflow:hidden;padding:0!important}.meal-restaurant-head{display:flex;align-items:center;gap:12px;padding:13px 15px;border-bottom:1px solid #e9dfd1;cursor:pointer}.meal-restaurant-head>div:nth-child(2){flex:1;min-width:0}.meal-restaurant-head strong{display:block;font-size:14px}.meal-restaurant-head small{display:block;color:#877e70;font-size:12px;margin-top:3px}.meal-card-body{display:flex;align-items:center;gap:13px;padding:13px 15px;cursor:pointer}.meal-card-body .meal-info{flex:1;min-width:0}.meal-restaurant-head .restaurant-mark{width:43px;height:43px;flex:none;background:#eee3d4;color:#806a53}.restaurant-mark span{font-size:14px;font-weight:700}.meal-thumb.placeholder{background:#eee3d4!important;color:#aa9172!important}.community-panel,.community-dish,.community-share-box,.community-empty{background:#fffdf9;border:1px solid #e8dfd1;border-radius:16px;padding:16px;margin-bottom:12px}.community-panel input{width:100%;margin:8px 0 12px}.community-panel .secondary-button{margin-bottom:8px}.community-results{padding-bottom:20px}.community-brand{font-size:13px;color:#76634e;font-weight:700}.community-brand small{display:block;font-weight:400;color:#8b8174;margin-top:3px}.community-dish h3{margin:12px 0 7px}.community-score{display:flex;align-items:center;gap:12px}.community-score strong{color:#b5813c}.community-score span{color:#827a70;font-size:13px}.community-share-box{margin:14px 0}.community-share-box p{margin:8px 0}.community-share-box button{margin-top:8px}.community-action-status{font-size:12px;color:#9a553d}
/* 1.6.1: Remove legacy steaming-food placeholders; retain genuine images or initials. */
.restaurant-mark span{font-size:14px!important;font-weight:700!important;position:relative;z-index:1}
.restaurant-mark span:after{content:none!important;display:none!important}
.restaurant-mark img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#eee3d4;z-index:2}
.restaurant-mark{position:relative;overflow:hidden}
.meal-thumb.placeholder{display:flex;align-items:center;justify-content:center;background:#eee3d4!important;color:#9c856c!important}
.meal-photo-fallback{font-size:28px;filter:grayscale(1);opacity:.65}

/* 1.6.2 restaurant-first detail hierarchy */
.detail-restaurant-head{display:flex;align-items:center;gap:14px;background:#fffdf9;border:1px solid #e9dfd1;border-radius:18px;padding:14px;margin:18px 0 20px;cursor:pointer;min-width:0}
.detail-restaurant-head:focus-visible{outline:3px solid #829c7d;outline-offset:2px}
.detail-restaurant-head .restaurant-mark{width:56px;height:56px;flex:none;border-radius:16px;background:#eee3d4;color:#806a53}
.detail-restaurant-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.detail-restaurant-copy strong{font-size:20px;line-height:1.2;color:#302f29;overflow-wrap:anywhere}
.detail-restaurant-copy span{font-size:14px;color:#81796c}
.detail-restaurant-chevron{font-size:28px;color:#899387}
.detail-sheet h2.detail-meal-title{margin:0 40px 14px 0;font-size:clamp(29px,8vw,39px);line-height:1.12}
.detail-meal-date{margin:10px 0}
.detail-restaurant-collection{cursor:default}

/* v1.6.4 quick navigation and Apple Maps */
.quick-links .quick-link{font:inherit;display:flex;flex-direction:column;align-items:flex-start;text-align:left;justify-content:space-between;min-width:0;min-height:108px;gap:7px;text-decoration:none;color:var(--ink);cursor:pointer;transition:transform .15s ease,box-shadow .15s ease;-webkit-tap-highlight-color:transparent}
.quick-links .quick-link:active{transform:scale(.96);box-shadow:none}
.quick-links .quick-icon{font-family:inherit;font-size:25px;line-height:1;color:#9f6a50}
.quick-links .quick-link:nth-child(2) .quick-icon{color:#b47d39}.quick-links .quick-link:nth-child(3) .quick-icon{color:#68734f}
.quick-links .quick-link strong{font-size:10px;letter-spacing:1px}.quick-links .quick-link small{font-size:10px;letter-spacing:0;margin:0;color:#7b796e}.quick-links .quick-link small span{display:inline;font:inherit;color:inherit}
.maps-action{display:block;text-align:center;text-decoration:none;margin-top:12px}
.apple-restaurant-search{display:inline-block;margin:7px 0 4px;color:var(--accent-dark);font-size:12px;font-weight:650;text-underline-offset:3px}

/* 1.6.5 restaurant-first meal entry */
.entry-step{display:block;margin-bottom:18px}
.entry-step-number{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;margin-right:8px;border-radius:50%;background:#e8ede4;color:#536d55;font-weight:800;font-size:13px}
.entry-section-label{display:flex;align-items:center;font-weight:750;margin-bottom:10px;gap:5px}
.entry-section-label small{font-weight:400;color:#837b70;margin-left:auto}
.entry-apple-link{display:flex;align-items:center;justify-content:center;text-align:center;margin-top:9px;text-decoration:none}
.entry-helper{font-size:12px;line-height:1.45;color:#77756e;margin:9px 0 12px}
#mealLocationSection{padding:14px;border:1px solid #e8dfd2;border-radius:15px;background:#fbf8f3}
#mealLocationSection .two-column{margin-top:10px}

/* 1.6.8: readable password reset confirmation only; all other typography unchanged */
.reset-notice[hidden]{display:none!important}
.reset-notice{position:fixed;inset:0;z-index:1000;background:rgba(32,33,29,.56);display:flex;align-items:center;justify-content:center;padding:24px}
.reset-notice-card{width:min(100%,390px);background:#fffcf8;border:1px solid #e5d9c8;border-radius:24px;padding:28px 24px;text-align:center;box-shadow:0 18px 50px rgba(0,0,0,.18)}
.reset-notice-icon{font-size:34px;color:#7d947a;margin-bottom:8px}
.reset-notice-card h2{font:normal 29px Georgia,serif;color:#34342c;margin:4px 0 12px}
.reset-notice-card p{font-size:16px;line-height:1.5;color:#625f56;margin:0 0 24px}
.reset-notice-card button{width:100%}

/* 1.6.9: calm restaurant-first entry, with contextual suggestions */
.restaurant-picker-field{display:block;position:relative}
.restaurant-field-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}
.restaurant-field-heading label{font-weight:700;font-size:13px;color:#53564c}
.find-restaurant-link{border:0;background:transparent;color:#617e62;font:inherit;font-size:12px;font-weight:700;padding:10px 0 10px 8px;white-space:nowrap;cursor:pointer}
.find-restaurant-link:focus-visible,.restaurant-match:focus-visible{outline:2px solid #617e62;outline-offset:2px}
.restaurant-matches[hidden],.selected-place-note[hidden]{display:none!important}
.restaurant-matches{margin-top:5px;background:#fffdf8;border:1px solid #e6d9c9;border-radius:13px;box-shadow:0 10px 25px #3b2b1b14;overflow:hidden}
.restaurant-match{display:flex;flex-direction:column;align-items:flex-start;width:100%;padding:12px 14px;background:transparent;border:0;border-bottom:1px solid #eee6dc;text-align:left;color:#34342c;cursor:pointer}
.restaurant-match:last-child{border-bottom:0}.restaurant-match:active{background:#edf0e9}
.restaurant-match strong{font-size:14px}.restaurant-match small{font-size:12px;color:#7a756a;margin-top:3px}
.selected-place-note.is-selected{font-size:12px;margin-top:6px}
#mealLocationSection{background:transparent;border:0;border-radius:0;padding:0}
#mealLocationSection .two-column{margin-top:10px}
#authGateStatus{font-size:15px;line-height:1.45}

/* v1.8 — Street-modern, calm palette; visual-only updates preserve data and account flows. */
:root{--paper:#f8f5ed;--card:#fffdf8;--ink:#202721;--muted:#697367;--line:#e5e7dc;--accent:#789378;--accent-dark:#456b4d;--gold:#cf7c2f;--shadow:0 10px 28px rgba(38,55,38,.085)}
html,body{background:var(--paper);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.topbar{padding:19px 0 21px}.topbar h1{font-family:inherit;font-size:22px;font-weight:900;letter-spacing:1px;line-height:1.03}.topbar h1 span{display:block}.topbar .eyebrow{font-size:10px;color:#a35e32;letter-spacing:1.3px}
.welcome{min-height:280px;background:linear-gradient(125deg,#f3ede1 0%,#e6eadf 100%);border-radius:25px;overflow:hidden;box-shadow:var(--shadow)}
.welcome h2,.page-intro h2,.auth-panel h1{font-family:inherit!important;font-weight:850!important;letter-spacing:-1.2px}.welcome h2{font-size:clamp(29px,8vw,39px);line-height:1.05;max-width:65%}.welcome h2 em{font-style:normal;color:#bd6a36}.welcome .eyebrow{color:#b66736}.welcome-food{border-radius:50%;opacity:.97}.welcome .muted{color:#455b48}
.primary-button,.welcome .primary-button,.tab.add-tab span,.map-select-button{background:#537758;color:white;border-radius:15px;font-size:14px;font-weight:750}.secondary-button{background:#e8efe5;color:#3d6745}.stat-card,.meal-card,.restaurant-card,.community-panel,.entry-step,.cloud-card{border-radius:19px;box-shadow:var(--shadow)}.quick-link{background:#f0eee6;border:1px solid #e8e6dd}.quick-link:nth-child(1){background:#f5e9de}.quick-link:nth-child(2){background:#f8f0de}.quick-link:nth-child(3){background:#e7ede4}.quick-icon{color:#bc7037!important}.section-heading h3{font-family:inherit;font-size:23px;font-weight:850;letter-spacing:-.5px}.eyebrow{font-family:inherit;font-weight:800;letter-spacing:1.2px}.meal-card-v16{background:#fffdf8}.meal-restaurant-head{border-color:#ecece4}.meal-card-body .meal-info h3{font-weight:800}.meal-stars,.community-score strong{color:#d47a2f}.restaurant-mark,.meal-restaurant-head .restaurant-mark{background:#f1e5d7;color:#bd703b}.tab.active,.filter-chip.selected{color:#ba6634}.filter-chip.selected{background:#f4e8d9;border-color:#ebd7c1}.tabbar{background:#fffdf8;border-top:1px solid #e6e8e1}.entry-step-number{background:#e8eee5;color:#476e4b}.meal-form input,.meal-form textarea,.meal-form select{font-size:16px;border-radius:13px}.restaurant-matches{border-radius:15px;box-shadow:0 12px 24px #2233221a;overflow:hidden}.restaurant-match{min-height:54px}.dish-picker-field{position:relative}.dish-picker-field>label{display:block;margin-bottom:8px}.dish-picker-field>input{width:100%}.dish-picker-field .restaurant-matches{position:relative;z-index:4}.auth-gate{background:#f8f5ed}.auth-symbol{background:#e8eee5;color:#527458}.auth-panel h1{font-size:33px!important}.auth-panel input{border-radius:13px}.auth-panel #authGateStatus{font-size:14px}
@media(max-width:380px){.welcome h2{font-size:29px}.welcome-food{right:-13%}.topbar h1{font-size:20px}}

/* 1.8.1 iPhone safe area and live suggestions */
@supports(padding: max(0px)){.app-shell{padding-top:max(env(safe-area-inset-top),52px)}}
.restaurant-search-info{padding:10px 13px;font-size:12px;color:#667264;background:#f3f4ee}
.meal-share-panel{margin-top:15px;padding-top:14px;border-top:1px solid #dfe3d8;display:grid;gap:10px}.meal-share-panel label{display:flex;align-items:center;gap:10px;font-size:14px}.meal-share-panel input{width:18px;height:18px;accent-color:#56785b}
/* 1.8.2 public sharing controls and community photos */
.public-options{border-top:1px solid #e7e4dc;margin-top:16px;padding-top:15px}.public-options label{display:flex;align-items:center;gap:9px;margin:12px 0;font-size:14px}.public-options input{width:18px;height:18px;accent-color:#537758}.public-options button{margin-right:8px}.community-public-content{display:grid;gap:12px;margin-top:14px}.community-public-entry{background:#f7f4ed;border-radius:12px;overflow:hidden}.community-public-entry img{display:block;width:100%;max-height:250px;object-fit:cover}.community-public-entry p{padding:12px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}

/* 1.8.3 simplified navigation and sharing */
.tabbar .tab{border-radius:13px;min-height:54px;transition:background .15s,color .15s}.tabbar .tab.active{background:#e9f0e5;color:#365e3f;font-weight:800}.tabbar .tab.active small{font-weight:800}.tabbar .tab.add-tab.active span{background:transparent;color:#365e3f;box-shadow:none;margin-top:0;width:auto;height:23px;border-radius:0;font-size:22px}.tabbar .tab.add-tab.active{background:#e9f0e5}.tabbar .tab:not(.active).add-tab span{margin-top:-10px}
.welcome{touch-action:pan-y}.welcome .carousel-arrow,.welcome .slide-arrow,.welcome .next-slide,.welcome [aria-label*="Next slide"]{display:none!important}
.discovery-share{border:1px solid #e1e4d9;border-radius:19px;background:#fffdf8;padding:20px 17px;margin:18px 0}.share-heading strong{font-size:22px;font-weight:850}.share-heading p,.share-hint{color:#737d70;font-size:13px;line-height:1.5}.share-toggles{margin:16px 0}.share-toggles label{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 2px;border-bottom:1px solid #e9e9e2}.share-toggles label span{display:grid;gap:4px}.share-toggles label b{font-size:15px}.share-toggles label small{font-size:12px;color:#788176}.share-toggles input{accent-color:#537758;width:21px;height:21px;flex-shrink:0}.share-preview{background:#f0f3ed;border-radius:15px;padding:15px}.share-preview>strong{font-size:13px}.share-preview #sharePreview{padding-top:10px}.share-preview h3{font-size:19px;margin:4px 0}.share-preview p{font-size:13px;line-height:1.5}.preview-place{color:#58705a}.preview-stars{color:#ca7a2e;font-size:22px}.share-preview img{display:block;width:100%;max-height:200px;object-fit:cover;border-radius:12px;margin:10px 0}.share-hint{margin:13px 0}.discovery-share button:disabled{opacity:.5}

/* Profile redesign 1.8.6 */
.profile-heading{display:flex;justify-content:space-between;align-items:center;padding:10px 0}.profile-heading .eyebrow{margin:0}.profile-gear{border:0;background:none;color:var(--accent-dark);font-size:18px;display:flex;align-items:center;gap:6px;padding:10px}.profile-gear span{font-size:12px;font-weight:650}.profile-identity{text-align:center;padding:18px 0 22px}.profile-avatar{width:78px;height:78px;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;background:#e4ede0;color:var(--accent-dark);font-size:40px}.profile-identity h2{font-size:27px;margin:0 0 7px;letter-spacing:-.5px}.profile-identity p{color:var(--muted);font-size:13px;margin:0 0 16px}.profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:28px}.profile-stats>div{border:1px solid var(--line);background:var(--card);border-radius:15px;text-align:center;padding:16px 4px}.profile-stats strong{display:block;color:var(--accent-dark);font-size:26px}.profile-stats span{display:block;font-size:11px;color:var(--muted);margin-top:3px}.profile-subheading{font-size:18px;margin:0 0 13px}.profile-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px}.profile-highlights button{background:var(--card);border:1px solid var(--line);border-radius:15px;text-align:left;padding:15px;color:var(--ink)}.profile-highlights strong,.profile-highlights small{display:block}.profile-highlights strong{font-size:13px}.profile-highlights small{color:var(--muted);font-size:11px;margin-top:5px}.highlight-emoji{display:grid;place-items:center;border-radius:12px;background:#e7eee4;color:var(--accent-dark);font-size:27px;height:75px;margin-bottom:12px}.profile-menu{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:0 14px;margin-bottom:18px}.profile-menu button{display:flex;align-items:center;gap:12px;width:100%;padding:17px 2px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);text-align:left;font-size:14px;font-weight:600}.profile-menu button:last-child{border-bottom:0}.profile-menu button span{color:var(--accent-dark);font-size:20px;width:24px;text-align:center}.profile-menu button b{margin-left:auto;color:var(--muted);font-size:20px}.profile-settings-panel{margin-top:18px;border-top:1px solid var(--line);padding-top:18px}.profile-settings-panel[hidden]{display:none!important}.profile-settings-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.profile-settings-head h3{margin:0;font-size:20px}.profile-settings-head button{border:0;background:transparent;padding:10px;font-size:18px}.profile-settings-section{padding:0 0 15px}.profile-settings-section p{font-size:13px;line-height:1.6;color:var(--muted)}.profile-backup{margin-top:14px}.profile-backup summary{padding:15px;background:var(--card);border:1px solid var(--line);border-radius:12px;font-size:13px;font-weight:650;cursor:pointer}.profile-backup .backup-card{margin-top:8px}.profile-settings-panel .cloud-card button{margin:5px 5px 5px 0}.profile-settings-panel .cloud-card input,.profile-settings-panel .cloud-card select{max-width:100%}

/* 1.8.7: optional local profile avatars */
.profile-avatar{border:0;cursor:pointer;line-height:1;box-shadow:0 0 0 1px #c9d9c6}.profile-avatar-edit{display:block;margin:-5px auto 14px;border:0;background:transparent;color:var(--accent-dark);font-size:12px;font-weight:700;padding:6px 12px;cursor:pointer}.avatar-picker{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:15px;margin:8px auto 17px;max-width:360px;text-align:center}.avatar-picker[hidden]{display:none!important}.avatar-picker h3{margin:0 0 5px;font-size:17px}.avatar-picker p{font-size:12px;margin:0 0 12px}.avatar-options{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin-bottom:15px}.avatar-option{aspect-ratio:1;border-radius:50%;border:2px solid transparent;background:#e4ede0;font-size:25px;display:grid;place-items:center;cursor:pointer}.avatar-option[aria-pressed="true"]{border-color:var(--accent-dark);background:#d2e5cf;box-shadow:0 0 0 2px #fff inset}.avatar-picker .secondary-button{width:100%}

/* 1.8.8: Home hero is a static banner. Hide any legacy carousel navigation. */
#homeView .welcome :is(.carousel-arrow,.slide-arrow,.next-slide,.previous-slide,.carousel-next,.carousel-prev,.hero-next,.hero-prev,[class*="carousel-control"],[data-slide-next],[data-slide-prev]){display:none!important}
#homeView .welcome{touch-action:pan-y}
/* Larger avatar selection remains scrollable on small phones. */
.avatar-options{max-height:310px;overflow-y:auto;overscroll-behavior:contain;padding:3px;grid-template-columns:repeat(5,minmax(0,1fr))}

/* 1.8.9: Hero must not expose a restaurant collection affordance.
   Cover the far-right legacy chevron hit/paint area, without covering the CTA. */
#homeView .welcome{isolation:isolate;cursor:default}
#homeView .welcome::before{content:"";position:absolute;z-index:3;right:0;top:0;bottom:0;width:23px;background:linear-gradient(to right,rgba(233,235,221,0),#e9ebdd 75%);pointer-events:auto}
#homeView .welcome .welcome-food{pointer-events:none!important}
#homeView .welcome :is([class*="arrow"],[class*="chevron"],[aria-label*="restaurant collection"],[data-restaurant]){display:none!important;pointer-events:none!important}

/* 1.9.0: Remove restaurant collection arrows and launch surfaces. */
.meal-restaurant-head{cursor:default!important;pointer-events:none!important}
.meal-restaurant-head .card-chevron,.detail-restaurant-chevron{display:none!important}
#homeView .welcome::before{background:#e9ede5!important;width:25px!important;pointer-events:auto!important}
#passportView>.filter-row{position:relative}
#passportView>.filter-row::after{content:"";position:absolute;right:-18px;top:47px;width:19px;height:45px;background:var(--paper);pointer-events:none}

/* 1.9.1: Remove the temporary right-edge cover that visibly cut off the hero. */
#homeView .welcome::before{content:none!important;display:none!important}
/* The plate illustration now sits fully within the hero instead of being pushed
   outside its right edge. Keep a gentle fade behind the headline. */
#homeView .welcome .welcome-food{
  right:1.5%!important;
  width:49%!important;
  height:auto!important;
  aspect-ratio:1!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  object-fit:contain!important;
  border-radius:50%!important;
  mask-image:linear-gradient(to right,transparent 0%,#000 23%)!important;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 23%)!important;
}
#homeView .welcome h2{max-width:60%;font-size:clamp(32px,8vw,42px);line-height:1.06}
#homeView .welcome .muted{max-width:54%}
@media(max-width:380px){#homeView .welcome .welcome-food{right:0!important;width:48%!important}}

/* 1.9.2: Final approved sushi home hero */
#homeView .welcome h2 span{color:#c65e1f!important;font-weight:850!important}
#homeView .welcome .welcome-food{right:0!important;width:52%!important;mask-image:none!important;-webkit-mask-image:none!important;border-radius:0!important;object-fit:contain!important}
#homeView .welcome{background:linear-gradient(125deg,#f3ede1 0%,#e6eadf 100%)}
@media(max-width:380px){#homeView .welcome .welcome-food{width:49%!important}}

/* 1.9.4: Dark charcoal hero headline */
#homeView .welcome h2 span{color:#202822!important}

/* 1.9.9 — readability refinement for bottom navigation */
.tabbar .tab small {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  color: #424a45;
}
.tabbar .tab.active small {
  color: #365e3f;
  font-weight: 800;
}

/* 1.9.10: eliminate excessive top whitespace on the home screen. */
.app-shell { padding-top: max(8px, env(safe-area-inset-top)); }
.topbar { padding-top: 10px; padding-bottom: 15px; }
#homeView .welcome { margin-bottom: 11px; }
#homeView .stats-grid { margin-top: 10px; margin-bottom: 18px; }
@media (display-mode: standalone) {
  .app-shell { padding-top: max(12px, env(safe-area-inset-top)); }
}

.form-title-row,.clear-field,#mealDetails summary{display:flex;align-items:center;justify-content:space-between;gap:10px}.clear-field{position:relative}.clear-field input{width:100%;padding-right:46px!important}.clear-entry{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;background:transparent;color:#646c60;font-size:25px;cursor:pointer}.clear-entry[hidden]{display:none}#mealDetails{padding:8px 0}#mealDetails summary{cursor:pointer;font-size:13px;color:#53674e}#mealDetails[open] summary{margin-bottom:12px}#ratedList{display:grid;gap:8px;margin-top:12px}

/* 1.9.13 compact discovery */
.community-dish{display:flex;align-items:flex-start;gap:10px;padding:12px 13px;margin-bottom:9px}.community-copy{flex:1;min-width:0}.community-dish .community-brand{font-size:12px;line-height:1.35}.community-dish .community-brand small{display:inline;margin:0;font-size:12px}.community-dish .community-brand small:not(:empty):before{content:" · "}.community-dish h3{font-size:17px;line-height:1.22;margin:5px 0 4px;overflow-wrap:anywhere}.community-score{gap:8px;line-height:1.3}.community-score strong{font-size:15px}.community-score span{font-size:12px}.compact-notes{font-size:13px;line-height:1.35;color:#686458;max-height:2.7em;overflow:hidden;margin-top:5px;overflow-wrap:anywhere}.compact-notes.expanded{max-height:none}.compact-notes p{margin:0 0 4px;white-space:pre-wrap}.review-more{border:0;background:none;color:#537758;font-size:13px;padding:4px 0;min-height:28px;font-weight:650}.review-thumbs{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;width:29%;max-width:108px;flex:none;border-radius:9px;align-self:center}.review-thumbs button{padding:0;border:0;background:none;flex:0 0 100%;aspect-ratio:1;scroll-snap-align:start}.review-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:9px;display:block}.review-dialog{border:1px solid #ded8c9;border-radius:22px;background:#fffdf8;color:#293329;padding:24px;width:min(90vw,380px);text-align:center;max-height:85dvh;overflow:auto}.review-dialog::backdrop{background:#20282088}.review-dialog button{margin-top:10px}.review-celebrate{background:#e1e9d9;color:#537758;font-size:34px;border-radius:50%;width:64px;height:64px;display:grid;place-items:center;margin:auto}.photo-dialog{width:min(95vw,600px);padding:12px}.photo-dialog img{display:block;width:100%;max-height:70dvh;object-fit:contain;margin-top:10px}#mealShareSubmit{margin-top:8px}

/* What's Good 2.0 */
:root{--paper:#f6f0e6;--ink:#202822;--accent:#819578;--accent-dark:#526f50}html,body,.auth-gate{background:#f6f0e6}.brand-heading{display:flex;align-items:center;gap:8px;font-size:clamp(23px,6.5vw,32px)!important;letter-spacing:-1px}.brand-heading img{width:34px;height:34px;border-radius:9px}.auth-symbol{object-fit:cover;width:80px;height:80px;border-radius:19px}.auth-panel h1{font-size:36px!important}.auth-hero{max-height:230px;background:transparent}.auth-panel #authGateStatus{font-size:14px}.primary-button,.welcome .primary-button,.tab.add-tab span,.map-select-button{background:#526f50}.welcome{background:linear-gradient(120deg,#f6f0e6,#e9ebdf)!important}.eyebrow{color:#a85f39!important}.meal-info h3,.meal-card h3,.detail-sheet h2,.reset-notice-card h2{font-family:inherit!important}.community-dish{padding:9px 11px}.review-thumbs{max-width:92px}.entry-step{background:#fffaf2}.quick-link{border-color:#e6ded0}.tab.active{color:#526f50}.map-recovery{font-size:13px;margin:8px 0}.map-recovery button{margin:5px 0}

.star-glyph{display:inline-block;color:transparent;background:linear-gradient(90deg,#c78045 var(--fill),#d8d3c8 var(--fill));background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.community-search-compact{margin:4px 0 10px}.community-search-compact input{width:100%;padding:10px 12px;border:1px solid #ded9ce;border-radius:12px;background:#fffdf8}.community-search-compact p{font-size:12px;margin:5px 0}.map-filters{display:flex;gap:5px;margin:8px 0}.map-filters button{flex:1;padding:9px 4px}.map-filters .selected{background:#627f59;color:white}.wg-map-pin{border-radius:18px;color:white;font-weight:bold;text-align:center;padding:5px 7px;border:2px solid white;box-shadow:0 1px 4px #777;white-space:nowrap}.wg-demo{border:1px dashed #aaa;padding:10px;border-radius:12px;margin:10px 0}.wg-demo small{display:block}.wg-unrated{margin-top:10px}
.rating-line{display:flex;align-items:center;justify-content:space-between;gap:5px}.rating-line>button{flex:0 0 38px;height:38px;border:0;border-radius:50%;background:#e9ebdf;color:#526f50;font-size:25px}.rating-line>button:disabled{opacity:.4}.rating-line .stars{display:flex;flex:1;justify-content:center;gap:0}.rating-line .stars button{min-width:0;padding:2px;font-size:clamp(24px,7vw,36px)}.discovery-filters,.map-filters{display:flex;gap:5px;flex-wrap:wrap}.discovery-filters button,.map-filters button{border:0;border-radius:999px!important;padding:8px 10px;background:#e9ebdf;color:#526f50}.discovery-filters button.selected,.map-filters button.selected{background:#526f50;color:white}.discovery-filters button:disabled{opacity:.5}.brand-heading img,.auth-symbol{border:0!important;box-shadow:none!important;object-fit:contain}.wg-cluster{background:#526f50;border:2px solid white;border-radius:50%;display:grid;place-items:center}.grouped-reviews{font-size:13px;margin-top:6px}.grouped-reviews summary{color:#526f50;cursor:pointer}

.wg-map-pin.wg-cluster{width:44px;height:44px;border-radius:50%;background:#526e54;color:white;border:3px solid white;box-shadow:0 0 0 5px #526e5440;display:grid;place-items:center;font-size:17px;font-weight:800}

.wg-directory-logo{width:32px;height:32px;object-fit:contain;border-radius:6px;vertical-align:middle;margin-right:7px}

.wg-report-link{display:block;background:none;border:0;color:inherit;opacity:.75;font-size:13px;text-decoration:underline;padding:8px 0;cursor:pointer}.wg-report-dialog{max-width:min(420px,90vw);text-align:left}.wg-report-dialog form{display:grid;gap:10px}.wg-report-dialog label{font-size:14px;font-weight:600}.wg-report-dialog select,.wg-report-dialog textarea{width:100%;box-sizing:border-box;font:inherit;padding:10px;border:1px solid #aaa;border-radius:8px}.wg-report-dialog button{min-height:44px}.wg-report-dialog [role=status]{font-size:14px}

.guest-actions{padding:14px;border-radius:15px;background:#e8efe5;margin-bottom:14px}.guest-actions p{margin:0 0 10px}.guest-actions button{margin:3px}.guest-mode .tabbar [data-tab="home"],.guest-mode .tabbar [data-tab="passport"],.guest-mode .tabbar [data-tab="add"]{display:none}.guest-mode .tabbar{display:flex;justify-content:space-around}.guest-mode .tabbar .tab{flex:1}.guest-mode [data-mf="mine"],.guest-mode [data-mf="all"]{display:none}

.wg22-panel{padding:14px;margin:10px 0;border:1px solid #ddd6c9;border-radius:16px;background:var(--paper,#fff);display:grid;gap:8px}.wg22-panel img{width:100%;max-height:240px;object-fit:cover;border-radius:12px}.wg22-panel input,#wgScan>input{width:100%;margin:5px 0}.wg22-panel[hidden]{display:none}.wg-wish{align-self:center;font-size:12px}
/* v2.2.2 photo-first Discovery */
#discoverView .page-intro{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 10px}#discoverView .page-intro h2{font-size:18px;letter-spacing:3px;color:#526f50;margin:0}#discoverView .page-intro p{flex:1;margin:0;font-size:12px}#discoverView .page-intro button{font-size:12px;padding:8px}#discoverView #guestActions{background:none;padding:0;margin:0 0 8px}#guestActions p,#guestMap{display:none}#guestSignIn{font-size:12px;padding:8px 12px;margin:0}.wg-discover-tools{display:flex;gap:12px;margin-bottom:8px}.wg-discover-tools button,.wg-collection-head button{border:0;background:none;color:#526f50;font-weight:700;padding:6px 0}.wg-collection{margin:20px 0}.wg-collection-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.wg-collection-head h3{font-size:19px;margin:0;letter-spacing:-.5px}.wg-rail{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;scrollbar-width:thin}.wg-rail>button,.wg-photo-card{flex:0 0 calc((100% - 20px)/3);min-width:0;scroll-snap-align:start}.wg-category,.wg-photo-open{display:flex;flex-direction:column;gap:4px;width:100%;border:0;background:none;text-align:left;padding:0;color:inherit}.wg-category strong{align-self:center}.wg-square{width:100%;aspect-ratio:1;overflow:hidden;border-radius:12px;background:#e4e5d9;display:grid;place-items:center;text-align:center;color:#526f50;font-size:12px}.wg-square img{width:100%;height:100%;object-fit:cover}.wg-photo-open strong{font-size:13px;line-height:1.25;overflow-wrap:anywhere}.wg-photo-open small{font-size:11px;line-height:1.25}.wg-gold{color:#92681e}.wg-featured{background:#344b37;border-radius:12px;color:white;overflow:hidden}.wg-featured .wg-square{border-radius:0}.wg-featured .wg-photo-open>strong,.wg-featured .wg-photo-open>small{padding:0 7px}.wg-featured .wg-photo-open{padding-bottom:8px}#discoverView:not(.wg-browsing) #communityResults,#discoverView:not(.wg-browsing) #communityStatus,#discoverView:not(.wg-browsing) #discoveryLocation,#discoverView:not(.wg-browsing) .discovery-filters{display:none!important}#discoverView.wg-browsing .wg-collections{display:none}#communitySearch{border-radius:30px;padding:12px 16px}#discoverView .community-search-compact{margin-bottom:0}

.tabbar .tab[data-tab="discover"] .discover-nav-icon{display:flex;align-items:center;justify-content:center;width:26px;height:26px;flex-shrink:0;line-height:1}.discover-nav-icon svg{display:block;width:26px;height:26px}

.wg-menu-preview img{display:block;width:100%;max-height:220px;object-fit:contain;border-radius:12px;margin-top:10px}.wg-menu-preview small{display:block;color:#526f50}.wg-menu-photo{width:100px;height:100px;object-fit:cover;border-radius:10px;flex-shrink:0}.wg-menu-preview:empty{display:none}
.rx-tabs{display:flex;gap:8px;margin:12px 0}.rx-tabs button{flex:1}.rx-tabs button[aria-pressed=true]{background:#344b37;color:white}.rx-mode> :not(.page-intro):not(.rx-tabs):not(.rx-panel){display:none!important}.rx-panel[hidden]{display:none!important}.rx-panel input{width:100%;margin-bottom:12px}.rx-restaurant{display:flex;align-items:center;gap:12px;width:100%;background:white;border:0;border-radius:12px;padding:10px;margin:8px 0;text-align:left;color:inherit}.rx-restaurant .wg-square{width:64px;flex:none}.rx-restaurant img{object-fit:contain}.rx-copy{display:grid;gap:4px}.rx-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0}.rx-tile{display:grid;gap:4px;align-content:start;text-align:left;border:0;background:none;padding:0;color:inherit;min-width:0;font-size:13px;overflow-wrap:anywhere}.rx-name{border:0;background:none;text-decoration:underline;color:inherit;font:inherit;padding:0;text-align:left;cursor:pointer}.wg-photo-card>.rx-name{font-size:12px;padding:4px}.rx-featured .rx-name{color:white}#rxProfile>.wg-square{width:100px;margin:0 auto}#rxProfile>.wg-square img{object-fit:contain}#rxMeal>button{margin:8px 0}#rxProfile input,#rxProfile select{width:100%;margin:6px 0}

/* Discovery mobile layout hotfix */
.app-shell{padding-top:max(52px,env(safe-area-inset-top))}
#discoveryLocation{display:none!important}.wg-city{border:0;background:transparent;color:#526f50;font:inherit;font-weight:800;letter-spacing:2px;padding:4px 0;cursor:pointer}
.rx-mode>.community-search-compact{display:block!important}.rx-mode .community-search-compact>:not(#communitySearch){display:none!important}.rx-mode .rx-panel{order:2}.rx-mode{display:flex;flex-direction:column}.rx-mode:not(.active){display:none}.rx-mode>.community-search-compact{order:1}.rx-mode>.rx-panel{order:2}
#communityResults .community-dish{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:8px;align-items:start;position:relative}#communityResults .community-dish:has(.wg-menu-photo),#communityResults .community-dish:has(.review-thumbs){grid-template-columns: minmax(72px,26%) minmax(0,1fr) 36px}#communityResults .community-copy{grid-column:1;min-width:0}#communityResults .community-dish:has(.wg-menu-photo) .community-copy,#communityResults .community-dish:has(.review-thumbs) .community-copy{grid-column:2;grid-row:1}#communityResults .wg-menu-photo,#communityResults .review-thumbs{grid-column:1;grid-row:1;width:100%;max-width:100%;height:auto;aspect-ratio:1;align-self:start;object-fit:cover}#communityResults .community-dish:has(.wg-menu-photo) .review-thumbs{display:none}#communityResults .wg-wish{grid-column:-2;grid-row:1;padding:0;width:36px;min-height:36px;font-size:25px;line-height:1;align-self:start}#communityResults .community-dish h3{overflow-wrap:break-word;word-break:normal}#communityResults .community-brand small{display:block}#communityResults .community-score{flex-wrap:wrap}#communityResults .rx-name{text-align:left;white-space:normal;overflow-wrap:break-word}
.receipt-batch[hidden],.meal-form [hidden],.receipt-logo[hidden]{display:none!important}.receipt-batch{display:grid;gap:12px}.receipt-entry{display:grid;gap:9px}.receipt-entry .rating-line{display:flex;align-items:center;gap:4px}.receipt-entry .stars{display:flex;flex:1;justify-content:center}.receipt-entry .stars button{padding:3px;min-width:0;background:transparent;border:0}.receipt-entry label{display:flex;align-items:center;gap:8px}.receipt-entry input[type=checkbox]{width:auto}.receipt-menu-photo{width:100%;max-height:160px;object-fit:contain;border-radius:12px}.receipt-logo{width:64px;height:64px;object-fit:contain;border-radius:10px}
#discoverView:not(.wg-browsing) #wgLocalSearch,#discoverView.rx-mode #wgLocalSearch{display:none!important}.wg-local-card .wg-sample{font-size:11px;color:#62635d;margin-top:5px;overflow-wrap:anywhere}.wg-sample summary{cursor:pointer;font-weight:600}.wg-sample p{margin:5px 0}.wg-local-card .wg-photo-open small{color:#526f50}.wg-local-card .rx-name{display:block;max-width:100%;overflow-wrap:anywhere}#wgLocalSearch .wg-photo-card{min-width:0}#wgLocalSearch:empty{display:none}

/* 2.2.9 discovery */
#discoverView .page-intro{margin-bottom:8px;padding-bottom:0}#discoverView .wg-city{font-size:1.65rem;letter-spacing:1px;line-height:1.15}#discoverView .wg-locate{font-size:.75rem;background:transparent;border:0;color:#526f50;padding:4px}#discoverView .rx-tabs{margin:8px 0;gap:6px}#discoverView .rx-tabs button{min-width:0;padding:10px 6px}#discoverView:not(.wg-browsing) .wg-discover-tools,#discoverView.rx-mode .wg-discover-tools{display:none!important}#discoverView .wg-discover-tools button:last-child{display:none}#discoverView.rx-mode>.community-search-compact{display:none!important}#discoverView .rx-panel input{padding:12px;border-radius:30px}#discoverView .community-dish{padding:8px;gap:8px;align-items:center;min-height:0}#discoverView .community-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}#discoverView .community-copy h3{order:-1;margin:0;overflow-wrap:normal}#discoverView .community-brand{margin:0}#discoverView .wg-menu-photo{width:88px;height:88px;object-fit:cover;flex:none}#discoverView .wg-report-link{align-self:flex-start;padding:0 6px;min-height:24px;text-decoration:none}#discoverView .community-empty{padding:6px;background:transparent;border:0;font-size:.85rem}#discoverView .wg-collection{margin-top:16px}#discoverView .wg-no-photo{background:#fffdf8;border-radius:10px;padding:8px;min-width:0}#discoverView .wg-no-photo .wg-photo-open{min-height:0;text-align:left}#discoverView .wg-no-photo strong{overflow-wrap:anywhere}#discoverView .rx-name{overflow-wrap:anywhere}#discoverView .wg-local-card .wg-sample{font-size:12px}

/* Swipes scroll the app without triggering page magnification. */
html, body, main, .detail-overlay, .photo-dialog, #photoViewport {
  touch-action: pan-x pan-y;
}
.photo-open {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: inherit;
}
.photo-dialog .photo-tools {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .75rem;
}
.photo-tools button {
  min-width: 44px;
  min-height: 44px;
}
#photoViewport {
  overflow: auto;
  max-height: 65vh;
  overscroll-behavior: contain;
}
#photoViewport img {
  display: block;
  box-sizing: border-box;
  max-width: none;
  max-height: 65vh;
  object-fit: contain;
}
.photo-zoom-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
