/* Grow and Eat It onboarding prototype.
 * Values are lifted from the Flutter source on `dev`; file:line refs in DEVIATIONS.md.
 * Nunito is OFL-1.1 (assets/fonts/OFL-NOTICE.md). Display styles use the system
 * stack, which is SF Pro on Apple devices. SF Pro itself is NOT bundled. */

@font-face { font-family: 'Nunito'; src: url(../assets/fonts/Nunito-Light.ttf) format('truetype'); font-weight: 300; font-display: block; }
@font-face { font-family: 'Nunito'; src: url(../assets/fonts/Nunito-Regular.ttf) format('truetype'); font-weight: 400; font-display: block; }
@font-face { font-family: 'Nunito'; src: url(../assets/fonts/Nunito-Medium.ttf) format('truetype'); font-weight: 500; font-display: block; }
@font-face { font-family: 'Nunito'; src: url(../assets/fonts/Nunito-SemiBold.ttf) format('truetype'); font-weight: 600; font-display: block; }
@font-face { font-family: 'Nunito'; src: url(../assets/fonts/Nunito-Bold.ttf) format('truetype'); font-weight: 700; font-display: block; }
@font-face { font-family: 'Nunito'; src: url(../assets/fonts/Nunito-ExtraBold.ttf) format('truetype'); font-weight: 800; font-display: block; }
@font-face { font-family: 'GAEINavBar'; src: url(../assets/fonts/GAEINavBar.ttf) format('truetype'); font-display: block; }

:root {
  --primary: #59A52C;
  --secondary: #2D903C;
  --tertiary: #58B089;
  --alternate: #D9E6E2;
  --text: #14181B;
  --text2: #57636C;
  --cream: #FBFAF7;
  --ink: #234723;
  --amber: #E19126;
  --nextup: #E7F1DE;
  --pending: #FBF3E4;
  --accent2: #979797;
  --error: #FF5963;
  --dark-green: #3C7A1E;
  --nunito: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
/* Inside the moderator frame there is no real status bar or home indicator, so
 * reserve what an iPhone would: 47/34pt on the 844pt phone, 20/0 on the SE. */
html.framed { --safe-top: 47px; --safe-bottom: 34px; }
html.framed.compact { --safe-top: 20px; --safe-bottom: 0px; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--cream); color: var(--text); }
body { position: fixed; inset: 0; font-family: var(--nunito); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: 100%; font-size: 14px; line-height: 1.25; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; line-height: inherit; }
button:disabled { cursor: default; }
input, select { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: inherit; font-size: inherit; }
img { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

#app { position: absolute; inset: 0; overflow: hidden; }
.screen { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--cream); transition: opacity 220ms var(--ease); }
.screen.enter, .screen.leaving { opacity: 0; }
.screen.leaving { pointer-events: none; }
.scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.safe-top { flex: none; height: var(--safe-top); }
.ic { display: inline-block; flex: none; vertical-align: middle; }

/* ── Material-style indeterminate spinner ───────────────────────────────── */
.cpi { display: block; animation: cpi-rot 1.4s linear infinite; color: var(--primary); }
.cpi circle { fill: none; stroke: currentColor; stroke-linecap: butt; animation: cpi-dash 1.4s ease-in-out infinite; stroke-dasharray: 1 200; stroke-dashoffset: 0; }
@keyframes cpi-rot { to { transform: rotate(360deg); } }
@keyframes cpi-dash {
  0% { stroke-dasharray: 1 200; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 89 200; stroke-dashoffset: -35; }
  100% { stroke-dasharray: 89 200; stroke-dashoffset: -124; }
}

/* ── Shared buttons ─────────────────────────────────────────────────────── */
.pill-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; border-radius: 26px; background: var(--primary); color: #fff; font-size: 18px; font-weight: 700; }
.compact .pill-btn { font-size: 17px; }
.pill-btn:not(:disabled):active { filter: brightness(0.93); }
.pill-btn:disabled { background: #CBD8D2; }

/* ── Snackbar (Material default) ────────────────────────────────────────── */
.snack { position: absolute; left: 12px; right: 12px; bottom: calc(12px + var(--safe-bottom)); z-index: 90; background: #323232; color: #fff; border-radius: 4px; padding: 14px 16px; font-size: 14px; line-height: 1.35; box-shadow: 0 3px 8px rgba(0,0,0,0.25); opacity: 0; transform: translateY(8px); transition: opacity 200ms, transform 200ms; pointer-events: none; }
.snack.show { opacity: 1; transform: none; }

/* ── Splash (lib/components/launch_splash_widget.dart) ──────────────────── */
.s-splash { align-items: center; justify-content: center; }
.s-splash img { width: 136px; height: 97.2px; }

/* ── Welcome (lib/pages/onboarding/welcome/welcome_widget.dart) ─────────── */
.s-welcome { --edge: 24px; }
.compact .s-welcome { --edge: 20px; }
.w-body { position: relative; flex: 1; min-height: 0; }
.w-scroll { position: absolute; inset: 0; padding: 4px var(--edge) 20px; }
.compact .w-scroll { padding: 2px var(--edge) 18px; }
.w-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 20px; background: linear-gradient(rgba(251,250,247,0), var(--cream)); pointer-events: none; }
.compact .w-fade { height: 18px; }
.lockup { height: 124px; width: auto; margin: 0 auto; }
.compact .lockup { height: 104px; }
.w-gap { height: 16px; }
.compact .w-gap { height: 13px; }
.montage { position: relative; height: 150px; }
.compact .montage { height: 112px; }
.montage-canvas { position: absolute; top: 0; left: 0; width: 345px; height: 188px; transform-origin: 0 0; }
.m-card { position: absolute; background: #fff; border-radius: 14px; box-shadow: 0 3px 12px rgba(20,27,27,0.08); }
.m-tile { display: flex; align-items: center; justify-content: center; flex: none; }
.w-headline { font-size: 28px; line-height: 1.12; letter-spacing: -0.4px; font-weight: 800; color: var(--ink); text-align: center; }
.compact .w-headline { font-size: 23px; letter-spacing: -0.3px; }
.w-sub { margin-top: 9px; font-size: 14.5px; line-height: 1.4; color: var(--text2); text-align: center; }
.compact .w-sub { margin-top: 7px; font-size: 13.5px; }
.benefit { display: flex; align-items: flex-start; }
.benefit + .benefit { margin-top: 11px; }
.compact .benefit + .benefit { margin-top: 10px; }
.b-tile { width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center; flex: none; margin-right: 14px; }
.compact .b-tile { width: 44px; height: 44px; border-radius: 13px; margin-right: 12px; }
.b-tile .ic { width: 26px; height: 26px; }
.compact .b-tile .ic { width: 22px; height: 22px; }
.b-title { font-size: 17px; line-height: 1.25; font-weight: 700; color: var(--ink); }
.compact .b-title { font-size: 15px; }
.b-body { margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: var(--text2); }
.compact .b-body { font-size: 13px; }
.w-actions { flex: none; padding: 0 var(--edge) calc(18px + var(--safe-bottom)); background: var(--cream); }
.compact .w-actions { padding-bottom: calc(14px + var(--safe-bottom)); }
.link-row { display: flex; justify-content: center; margin-top: 12px; font-size: 15px; color: var(--text2); }
.compact .link-row { margin-top: 10px; font-size: 13.5px; }
.link-row button { font-weight: 700; color: var(--secondary); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }

/* ── Sign in / Sign up (lib/pages/onboarding/sign_in/sign_in_widget.dart) ─ */
.s-signIn { background: #fff; }
.si-header { flex: none; height: 196px; padding: var(--safe-top) 0 32px; background: linear-gradient(191deg, #2D903C 0%, #234723 100%); display: flex; align-items: center; justify-content: center; }
.si-header img { width: 96px; height: auto; }
.compact .si-header { height: 150px; padding-bottom: 26px; }
.compact .si-header img { width: 78px; }
.si-sheet { flex: 1; min-height: 0; margin-top: -20px; background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -3px 14px rgba(20,24,27,0.06); display: flex; flex-direction: column; position: relative; }
.si-tabs { flex: none; display: flex; padding: 18px 26px 0; }
.si-tab { position: relative; margin-right: 26px; padding: 6px 0 12px; font-family: var(--display); font-size: 27px; line-height: 1.2; letter-spacing: -0.3px; font-weight: 600; color: #A4AAB0; }
.si-tab.on { color: var(--ink); font-weight: 700; }
.si-tab.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px; background: var(--primary); }
.si-pane { padding: 14px 26px 28px; animation: pane-in 300ms ease-in-out; }
@keyframes pane-in { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
.subtitle { margin: 2px 0 18px; font-size: 13.5px; line-height: 1.45; color: var(--text2); }
.gap14 { height: 14px; }
.gap18 { height: 18px; }

.ff { position: relative; height: 56px; border-radius: 12px; background: #EEF4F1; border: 1.5px solid #D7E5DF; transition: border-color 150ms; }
.ff:focus-within, .ff.focus { border-color: var(--primary); }
.ff.err { background: #FFF7F7; border-color: var(--error); }
/* Material outlined label: floats up into a notch in the top border. */
.ff label { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); padding: 0 4px; font-size: 15px; line-height: 1.2; color: var(--text2); pointer-events: none; transition: top 150ms var(--ease), font-size 150ms var(--ease), color 150ms; background: linear-gradient(to bottom, transparent 45%, #EEF4F1 45%); }
.ff.filled label, .ff:focus-within label, .ff.focus label { top: -1.5px; font-size: 12px; font-weight: 600; letter-spacing: 0.2px; color: var(--primary); background: linear-gradient(to bottom, #fff 50%, #EEF4F1 50%); }
.ff.err label { color: var(--error); background: linear-gradient(to bottom, #fff 50%, #FFF7F7 50%); }
.ff input, .ff .fake { position: absolute; inset: 0; width: 100%; padding: 0 48px 0 16px; border: 0; background: transparent; outline: none; font-size: 15px; font-weight: 500; color: var(--text); border-radius: 12px; }
.ff input[data-pw] { letter-spacing: 2px; }
.ff-fake { cursor: text; }
.ff .eye { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text2); display: flex; }
.inline-err { display: flex; align-items: center; margin-top: 6px; font-size: 12px; color: var(--error); }
.inline-err i { width: 14px; height: 14px; margin-right: 6px; border-radius: 50%; background: var(--error); color: #fff; font-size: 9px; font-weight: 700; font-style: normal; line-height: 1; display: flex; align-items: center; justify-content: center; }
.pw-note { margin-top: 6px; font-size: 12px; line-height: 1.4; font-style: italic; color: var(--text2); }
.forgot { display: block; margin-left: auto; padding: 4px 0 0 4px; font-size: 13px; font-weight: 600; color: var(--primary); }
.green-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; border-radius: 12px; background: var(--primary); color: #fff; font-size: 15.5px; font-weight: 700; box-shadow: 0 6px 16px rgba(89,165,44,0.28); }
.green-btn:not(:disabled):active { filter: brightness(0.93); }
.or-row { display: flex; align-items: center; margin: 2px 0 16px; font-size: 12.5px; color: var(--text2); }
.or-row::before, .or-row::after { content: ''; flex: 1; height: 1px; background: rgba(20,24,27,0.1); }
.or-row span { padding: 0 12px; }
.social { display: flex; gap: 12px; }
.social button { flex: 1; min-width: 0; height: 52px; border-radius: 12px; background: #fff; border: 1px solid rgba(20,24,27,0.14); box-shadow: 0 1px 2px rgba(20,24,27,0.08); display: flex; align-items: center; justify-content: center; font-size: 14.5px; font-weight: 600; color: var(--text); }
.social button svg { margin-right: 9px; }
.social button:active { background: #F4F6F5; }
.terms { margin: 12px 0 4px; text-align: center; font-size: 11.5px; line-height: 1.5; font-weight: 300; color: var(--text2); }
.terms button { font-weight: 600; color: var(--primary); }

.banner { margin-top: 14px; display: flex; align-items: flex-start; background: #FBE9E6; border-radius: 12px; border-left: 4px solid #C94B3C; padding: 14px 16px; animation: banner-in 200ms ease-out; }
@keyframes banner-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.banner .b-ic { flex: none; width: 18px; height: 18px; margin-right: 10px; border-radius: 50%; background: #C94B3C; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; display: flex; align-items: center; justify-content: center; }
.banner .b-t { font-size: 14px; font-weight: 600; color: #902D36; }
.banner .b-b { margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--text); }
.banner .b-l { font-weight: 600; color: var(--ink); text-decoration: underline; }

/* ── Provider stand-in (prototype only, no provider branding) ───────────── */
.connect { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 36px; text-align: center; }
.connect h1 { margin-top: 22px; font-size: 18px; font-weight: 700; color: var(--ink); }
.proto-note { margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--text2); }

/* ── Check your email (lib/pages/onboarding/check_your_email/) ──────────── */
.s-checkEmail { background: #fff; }
.appbar { flex: none; height: calc(56px + var(--safe-top)); padding: var(--safe-top) 0 0 4px; display: flex; align-items: center; }
.icon-btn { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--text); }
.icon-btn:active { background: rgba(20,24,27,0.06); }
.cye-body { padding: 0 16px 24px; }
.cye-title { padding-left: 16px; font-family: var(--display); font-size: 24px; font-weight: 600; color: var(--ink); text-align: center; }
.cye-sent { padding: 4px 16px 16px; font-size: 14px; color: var(--ink); text-align: center; overflow-wrap: anywhere; }
.cye-card { display: flex; flex-direction: column; align-items: center; padding: 16px; }
.cye-wait { padding: 16px 0 8px; font-size: 14px; color: var(--text2); text-align: center; }
.resend { margin-top: 4px; font-size: 14px; color: var(--text2); text-align: center; }
.resend button { font-weight: 700; color: var(--secondary); text-decoration: underline; }
.cye-proto { padding: 8px 16px 0; }

/* ── Garden setup (lib/pages/onboarding/garden_setup/garden_setup_widget.dart) */
.s-gardenSetup, .s-growing { --edge: 24px; }
.compact .s-gardenSetup, .compact .s-growing { --edge: 20px; }
.gs-scroll { padding: 14px var(--edge) 20px; }
.compact .gs-scroll { padding-top: 8px; }
.gs-tile { width: 52px; height: 52px; padding: 8px; border-radius: 15px; background: #E7F1DE; display: flex; align-items: center; justify-content: center; }
.gs-tile img { width: 100%; height: 100%; }
.compact .gs-tile { width: 44px; height: 44px; padding: 7px; border-radius: 13px; }
.eyebrow { margin-top: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: 1.4px; color: var(--text2); }
.compact .eyebrow { margin-top: 10px; font-size: 11px; }
.gs-title { margin-top: 6px; font-size: 28px; line-height: 1.15; letter-spacing: -0.4px; font-weight: 800; color: var(--ink); }
.compact .gs-title { margin-top: 4px; font-size: 24px; }
.gs-sub { margin-top: 8px; font-size: 14.5px; line-height: 1.4; color: var(--text2); }
.compact .gs-sub { font-size: 13.5px; }
.loc { margin-top: 18px; }
.compact .loc { margin-top: 14px; }
.loc-field { position: relative; }
.loc-field input { display: block; width: 100%; height: 58px; padding: 0 44px 0 16px; border-radius: 12px; background: #EEF4F1; border: 1.5px solid #D7E5DF; font-size: 15px; color: var(--text); outline: none; -webkit-appearance: none; appearance: none; }
.loc-field input::placeholder { color: var(--text2); opacity: 1; }
.loc-field input:focus { border-color: var(--primary); }
.loc-field input:disabled { opacity: 0.6; }
.loc-field .check { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.ac { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5; background: #fff; border-radius: 12px; box-shadow: 0 8px 24px rgba(20,24,27,0.16); overflow: hidden; }
.ac button { display: flex; align-items: baseline; width: 100%; padding: 13px 16px; font-size: 15px; color: var(--text); }
.ac button + button { border-top: 1px solid #EEF0EE; }
.ac button:active, .ac button:hover { background: #F4F8F6; }
.ac small { margin-left: 8px; font-size: 13px; color: var(--text2); }
.loc-find { margin-top: 10px; }
.use-loc { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 40px; margin-top: 4px; padding: 8px; border-radius: 20px; font-size: 14px; font-weight: 600; color: var(--secondary); }
.use-loc .ic { margin-right: 6px; }
.use-loc:disabled { color: var(--text2); }
.loc-status { margin-top: 12px; font-size: 10px; font-weight: 300; line-height: 1.35; color: var(--text2); text-align: center; }

.zone-step { margin-top: 28px; }
.compact .zone-step { margin-top: 22px; }
.zs-title { font-size: 20px; font-weight: 800; color: var(--ink); }
.compact .zs-title { font-size: 18px; }
.zs-lede { margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--text2); }
.compact .zs-lede { font-size: 13px; }
.zone-list { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.compact .zone-list { margin-top: 12px; gap: 8px; }
.zone { display: flex; align-items: flex-start; width: 100%; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid #E2E0DA; text-align: left; }
.zone.sel { background: #E7F1DE; border: 2px solid var(--primary); padding: 13px; }
.compact .zone { padding: 12px; }
.compact .zone.sel { padding: 11px; }
.zone:active { filter: brightness(0.98); }
.z-main { flex: 1; min-width: 0; margin-right: 10px; }
.z-row { display: flex; align-items: center; flex-wrap: wrap; }
.z-name { font-size: 16px; font-weight: 700; color: var(--ink); }
.compact .z-name { font-size: 15px; }
.badge { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #FBF3E4; font-size: 11px; font-weight: 700; color: var(--amber); }
.z-desc { margin-top: 3px; font-size: 13px; line-height: 1.35; color: var(--text2); }
.compact .z-desc { font-size: 12.5px; }
.z-cities { margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--secondary); }
.compact .z-cities { font-size: 11.5px; }
.see-all { margin-top: 12px; padding: 6px 0; font-size: 14px; font-weight: 700; color: var(--secondary); text-decoration: underline; }
.compact .see-all { margin-top: 10px; font-size: 13.5px; }

.action-bar { flex: none; }
.ab-fade { height: 18px; margin-top: -18px; position: relative; background: linear-gradient(rgba(251,250,247,0), var(--cream)); pointer-events: none; }
.ab-inner { padding: 0 var(--edge) calc(18px + var(--safe-bottom)); background: var(--cream); }
.compact .ab-inner { padding-bottom: calc(14px + var(--safe-bottom)); }

/* ── What's growing? (NEW, not on dev; built in Garden setup's language) ── */
.grow-tile { color: var(--secondary); }
.choices { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.compact .choices { margin-top: 16px; gap: 10px; }
.choice { display: flex; align-items: center; width: 100%; padding: 16px 14px; border-radius: 14px; background: #fff; border: 1px solid #E2E0DA; text-align: left; }
.compact .choice { padding: 13px 12px; }
.choice:active { background: #F6FAF3; border-color: var(--primary); }
.c-tile { flex: none; width: 48px; height: 48px; margin-right: 14px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.compact .c-tile { width: 44px; height: 44px; margin-right: 12px; border-radius: 13px; }
.c-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.c-title { font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.compact .c-title { font-size: 15.5px; }
.c-body { margin-top: 3px; font-size: 13.5px; line-height: 1.35; color: var(--text2); }
.compact .c-body { font-size: 13px; }
.back-link { display: inline-flex; align-items: center; margin: 0 0 6px -4px; padding: 6px 8px 6px 4px; border-radius: 16px; font-size: 14px; font-weight: 700; color: var(--secondary); }
.back-link .ic { margin-right: 4px; }
.later { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; font-size: 16px; font-weight: 700; color: var(--secondary); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.compact .later { height: 48px; font-size: 15px; }

/* Search, styled after lib/pages/main_screens/find_plant/find_plant_widget.dart */
.search { position: relative; height: 44px; margin-top: 16px; }
.search input { display: block; width: 100%; height: 44px; padding: 0 36px 0 42px; border-radius: 16px; background: #fff; border: 1px solid var(--alternate); font-size: 15px; font-weight: 400; color: var(--text); outline: none; -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: var(--accent2); font-weight: 300; opacity: 1; }
.search input:focus { border: 1.5px solid var(--primary); }
.search .s-ic { position: absolute; left: 12px; top: 12px; pointer-events: none; }
.search .s-clear { position: absolute; right: 6px; top: 6px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.plist { margin-top: 8px; }
.prow { display: flex; align-items: center; width: 100%; padding: 8px 0; text-align: left; }
.prow:active { background: rgba(89,165,44,0.06); }
.thumb { flex: none; width: 48px; height: 48px; border-radius: 5px; overflow: hidden; background: #E8F5EF; display: flex; align-items: center; justify-content: center; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.prow-t { flex: 1; min-width: 0; margin-left: 12px; }
.prow-n { font-size: 16px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow-s { font-size: 13px; font-weight: 300; font-style: italic; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.not-found { padding: 24px 0; font-size: 14px; line-height: 1.45; color: var(--text2); }

.picks { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.compact .picks { margin-top: 14px; gap: 10px; }
.pick { display: flex; align-items: stretch; width: 100%; min-height: 96px; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(20,24,27,0.06); overflow: hidden; text-align: left; }
.compact .pick { min-height: 86px; }
.pick:active { box-shadow: 0 0 0 2px var(--primary); }
.pick-img { flex: none; width: 96px; background: #E8F5EF center / cover no-repeat; display: flex; align-items: center; justify-content: center; }
.compact .pick-img { width: 86px; }
.pick-b { flex: 1; min-width: 0; padding: 11px 12px; display: flex; flex-direction: column; justify-content: center; }
.pick-n { font-size: 16px; font-weight: 700; color: var(--text); }
.pick-d { margin-top: 2px; font-size: 12px; color: var(--text2); }
.chips { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px; }
.chip { padding: 2px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 700; }
.pick-add { flex: none; align-self: center; margin-right: 12px; padding: 7px 12px; border-radius: 999px; background: rgba(89,165,44,0.12); color: var(--dark-green); font-size: 13px; font-weight: 700; display: flex; align-items: center; }

/* ── Add plant modal (lib/pages/main_screens/plant_information/add_plant_modal.dart) */
.sheet-wrap { position: absolute; inset: 0; z-index: 50; display: flex; align-items: flex-end; }
.barrier { position: absolute; inset: 0; background: rgba(20,24,27,0.32); opacity: 0; transition: opacity 240ms var(--ease); }
.sheet { position: relative; width: calc(100% - 36px); margin: 0 18px var(--safe-bottom); max-height: calc(100% - var(--safe-top) - 12px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: 24px; box-shadow: 0 20px 50px rgba(20,24,27,0.22); transform: translateY(110%); transition: transform 240ms var(--ease); }
.sheet-wrap.open .barrier { opacity: 1; }
.sheet-wrap.open .sheet { transform: none; }
.ap-photo { position: relative; height: 144px; background: var(--tertiary) center 35% / cover no-repeat; }
.ap-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(20,24,27,0.05) 40%, rgba(20,24,27,0.55) 100%); }
.ap-titles { position: absolute; left: 22px; right: 22px; bottom: 14px; }
.ap-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 1.4px; line-height: 1; color: rgba(255,255,255,0.88); }
.ap-name { margin-top: 2px; font-family: var(--display); font-size: 30px; font-weight: 600; letter-spacing: -0.3px; line-height: 1.05; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.ap-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 999px; background: rgba(255,255,255,0.92); box-shadow: 0 2px 8px rgba(0,0,0,0.18); display: flex; align-items: center; justify-content: center; color: var(--text); }
.ap-body { padding: 20px 22px 22px; }
.summary { padding: 12px 14px; border-radius: 12px; background: rgba(20,24,27,0.04); border: 1px solid rgba(20,24,27,0.1); }
.srow { display: flex; align-items: flex-start; font-size: 12.5px; }
.srow + .srow { margin-top: 8px; }
.srow .ic { color: var(--text2); }
.srow .lbl { margin-left: 9px; font-weight: 500; color: var(--text2); }
.srow .val { flex: 1; margin-left: 10px; text-align: right; font-weight: 700; color: var(--text); }
.srow .val.unset { font-weight: 500; color: var(--accent2); }
.change-details { display: block; margin: 10px auto 0; padding: 6px 10px; font-size: 13px; font-weight: 700; color: var(--secondary); text-decoration: underline; text-align: center; }
.fg + .fg { margin-top: 14px; }
.fg-label { font-size: 12px; font-weight: 600; letter-spacing: 0.2px; color: var(--text); }
.fg-label small { margin-left: 6px; font-size: 11px; font-weight: 400; color: var(--text2); letter-spacing: 0; }
.fg-control { margin-top: 6px; }
.box { display: block; width: 100%; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(20,24,27,0.14); background: #fff; font-size: 14px; font-weight: 500; color: var(--text); outline: none; -webkit-appearance: none; appearance: none; }
.box::placeholder { color: var(--accent2); opacity: 1; }
.box:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(89,165,44,0.12); }
select.box { padding-right: 34px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='14' height='14'%3E%3Cpath fill='%2357636C' d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'/%3E%3C/svg%3E") no-repeat right 14px center; }
.hint-i { margin-top: 6px; font-size: 11px; font-weight: 300; font-style: italic; color: var(--text2); }
.date-row { display: flex; align-items: center; }
.date-pill { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--primary); background: rgba(89,165,44,0.08); display: flex; align-items: center; font-size: 13px; font-weight: 600; color: var(--secondary); white-space: nowrap; overflow: hidden; }
.date-pill .ic { margin-right: 6px; }
.date-change { height: 40px; margin-left: 8px; padding: 0 12px; font-size: 12px; font-weight: 600; color: var(--secondary); text-decoration: underline; }
.date-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.add-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; margin-top: 18px; border-radius: 12px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 0.3px; box-shadow: 0 4px 12px rgba(89,165,44,0.32); }
.add-btn.saving { background: var(--accent2); box-shadow: none; }
.details .add-btn { margin-top: 20px; }

/* ── Plant success (lib/pages/main_screens/plant_success/) ──────────────── */
.s-success { background: #FAFAFA; }
.sx-top { flex: none; display: flex; justify-content: flex-end; padding: calc(var(--safe-top) + 4px) 12px 4px; }
.done-btn { padding: 10px 12px; border-radius: 8px; font-size: 16px; font-weight: 700; color: var(--ink); }
.done-btn:active { background: rgba(35,71,35,0.08); }
.sx-loading { height: 100%; display: flex; align-items: center; justify-content: center; }
.sx-list { padding: 12px 20px 32px; }
.sx-head { display: flex; align-items: center; }
.sx-av { flex: none; width: 48px; height: 48px; margin-right: 12px; border-radius: 50%; background: var(--alternate); display: flex; align-items: center; justify-content: center; }
.sx-title { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.sx-sub { font-size: 13px; color: var(--text2); }
.reassure { margin-top: 20px; padding: 22px 20px; border-radius: 20px; background: #fff; border: 1px solid #EFEAE0; box-shadow: 0 2px 8px rgba(20,24,27,0.06); text-align: center; }
.r-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; color: var(--amber); }
.r-big { margin-top: 8px; font-family: var(--display); font-size: 27px; font-weight: 600; color: var(--ink); }
.r-micro { margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--text2); }
.r-bar { margin-top: 16px; display: flex; align-items: center; font-size: 11px; font-weight: 700; color: var(--text2); }
.r-track { flex: 1; height: 7px; margin: 0 8px; border-radius: 4px; background: #EDE7DC; overflow: hidden; }
.r-fill { height: 100%; background: var(--primary); }
.sec-h { font-size: 18px; font-weight: 600; color: var(--amber); }
.sx-list .sec-h.first { margin-top: 24px; }
.strip { position: relative; height: 62px; margin-top: 16px; }
.strip-track { position: absolute; left: 0; right: 0; top: 24.5px; height: 3px; border-radius: 2px; background: var(--alternate); overflow: hidden; }
.strip-fill { height: 100%; background: var(--primary); }
.pin { position: absolute; top: 0; width: 74px; display: flex; flex-direction: column; align-items: center; }
.pin-c { max-width: 100%; font-size: 11px; line-height: 15px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pin-dot { margin-top: 4px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); }
.pin-d { margin-top: 4px; max-width: 100%; font-size: 10.5px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.months { margin-top: 6px; display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #B3A89A; }
.nextup { margin-top: 24px; padding: 16px; border-radius: 18px; background: var(--nextup); }
.nu-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: 1.4px; color: var(--amber); }
.nu-title { margin-top: 6px; font-size: 19px; font-weight: 700; color: var(--text); }
.nu-sub { margin-top: 2px; font-size: 13px; color: var(--text2); }
.nu-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; margin-top: 14px; border-radius: 24px; background: var(--primary); color: #fff; font-size: 15px; font-weight: 700; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.nu-btn .ic { margin-right: 8px; }
.appear { animation: appear 320ms var(--ease); }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
.divider { height: 1px; margin: 24px 0 16px; background: #E8E8E8; }
.plan-empty { margin-top: 8px; font-size: 13px; color: var(--text2); }
.phase { padding: 12px 0 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; color: #A89E8F; }
.task-row { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #EEEAE1; }
.task-row .tt { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; color: var(--text); }
.task-row .tc { margin-left: 8px; font-size: 12px; color: var(--text2); text-align: right; }

/* ── Dialogs: celebration (lib/components/first_plant_celebration.dart) and confirm */
.dlg { position: absolute; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 0 24px; }
.dlg-scrim { position: absolute; inset: 0; background: rgba(15,20,20,0.42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; transition: opacity 320ms var(--ease); }
.dlg-card { position: relative; width: 327px; max-width: 100%; max-height: calc(100% - var(--safe-top) - var(--safe-bottom) - 24px); overflow-y: auto; padding: 28px 24px 22px; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px rgba(20,24,27,0.22), 0 2px 8px rgba(20,24,27,0.08); opacity: 0; transition: opacity 320ms var(--ease); }
.dlg.show .dlg-scrim, .dlg.show .dlg-card { opacity: 1; }
.dlg-x { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 15px; background: rgba(20,24,27,0.05); display: flex; align-items: center; justify-content: center; color: var(--text2); }
.cel-img { width: 104px; height: 104px; margin: 0 auto; border-radius: 50%; object-fit: cover; background: #EDF3EA; }
.cel-h { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.3px; line-height: 1.2; color: var(--ink); text-align: center; }
.cel-p { padding: 0 4px; font-size: 14px; line-height: 1.45; color: var(--text2); text-align: center; }
.cel-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; border-radius: 8px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 3px 6px rgba(20,24,27,0.14); transition: transform 150ms var(--ease); }
.cel-btn:active { transform: scale(0.97); }
.ring { width: 44px; height: 44px; margin: 0 auto; border-radius: 22px; display: flex; align-items: center; justify-content: center; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pills button { height: 44px; padding: 0 16px; border-radius: 19px; background: #fff; border: 1px solid #E8E8E8; font-size: 14px; font-weight: 600; color: var(--ink); transition: border-color 200ms var(--ease), color 200ms var(--ease); }
.pills button:active { border-color: var(--primary); color: var(--secondary); }
.skip-btn { display: block; width: 100%; height: 46px; margin-top: 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text2); text-align: center; }
.skip-btn:active { background: rgba(87,99,108,0.08); }
/* lib/components/confirm_dialog.dart (non-destructive) */
.cd { padding: 26px 24px 22px; text-align: left; }
.cd-x { display: flex; margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,0.05); align-items: center; justify-content: center; color: var(--text2); }
.cd-t { margin-top: 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.3px; line-height: 1.22; color: var(--ink); }
.cd-b { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--text2); }
.cd-ok { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; margin-top: 22px; border-radius: 8px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.cd-cancel { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; margin-top: 10px; border-radius: 8px; border: 1px solid rgba(0,0,0,0.12); font-size: 14px; font-weight: 600; color: var(--ink); }

/* ── Empty Home (_buildEmptyHome in lib/pages/main_screens/home/home_widget.dart) */
.home-col { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.watermark { position: absolute; inset: 0; opacity: 0.1; pointer-events: none; overflow: hidden; }
.watermark img { position: absolute; left: 50%; top: 45%; width: 120%; max-width: none; transform: translate(-50%, -50%); }
.hero { position: relative; flex: none; height: 328px; background: var(--tertiary) url(../assets/img/weather-hero.jpg) center / cover no-repeat; }
.hero-veil { position: absolute; inset: 0; padding: 0 16px 12px; background: rgba(217,217,217,0.7); display: flex; flex-direction: column; justify-content: center; }
.hero-veil > * + * { margin-top: 5px; }
.hero-icons { padding-top: var(--safe-top); display: flex; justify-content: flex-end; color: var(--text2); }
.hero-icons button { display: flex; }
.hero-brand { display: flex; align-items: center; justify-content: center; }
.hero-brand img { width: 40px; height: 40px; border-radius: 20px; margin-right: 5px; }
.hero-brand span { font-family: var(--display); font-size: 24px; font-weight: 600; color: var(--text); }
.wcard { height: 83px; padding: 0 16px; border-radius: 20px; background: rgba(151,151,151,0.29); display: flex; align-items: center; justify-content: space-between; }
.wc-l { display: flex; align-items: center; }
.wc-ic { width: 47px; height: 47px; margin-right: 2px; display: flex; align-items: center; justify-content: center; }
.wc-moon { width: 52px; font-size: 40px; line-height: 47px; text-align: center; }
.wc-t { font-size: 14px; color: var(--text); }
.wc-v { margin-top: 3px; font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--text); }
.wc-r { display: flex; flex-direction: column; align-items: flex-end; }
.wc-r .wc-v { margin: 0 0 3px; }
.wc-img { width: 47px; height: 47px; border-radius: 8px; background: #E8F5EF; display: flex; align-items: center; justify-content: center; }
.home-content { position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 16px 16px 0; }
.eh { padding: 4px 0 24px; }
.card { background: #fff; border-radius: 16px; box-shadow: 0 2px 10px rgba(20,24,27,0.06); }
.ewc { padding: 22px 20px; }
.ewc-row { display: flex; align-items: center; }
.ewc-av { flex: none; width: 52px; height: 52px; margin-right: 14px; border-radius: 50%; background: rgba(89,165,44,0.12); display: flex; align-items: center; justify-content: center; }
.ewc-t { font-size: 20px; font-weight: 700; letter-spacing: -0.2px; color: var(--text); }
.ewc-s { margin-top: 2px; font-size: 12px; color: var(--text2); }
.ewc-p { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--text2); }
.ewc-btn { display: block; width: 100%; margin-top: 16px; padding: 15px 0; border-radius: 26px; background: var(--primary); color: #fff; font-size: 17px; font-weight: 700; letter-spacing: 0.2px; text-align: center; box-shadow: 0 6px 16px rgba(89,165,44,0.28); }
.ewc-btn:active { filter: brightness(0.93); }
.sh { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 22px; }
.sh h3 { font-size: 18px; font-weight: 600; color: var(--amber); }
.sh h3::after { content: ''; display: block; width: 38px; height: 2.5px; margin-top: 4px; border-radius: 2px; background: var(--amber); }
.sh button { font-size: 13px; font-weight: 600; color: var(--amber); }
.rail-intro { margin-top: 10px; font-size: 13px; color: var(--text2); }
.rail { margin-top: 11px; height: 218px; display: flex; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.ew { flex: none; width: 140px; align-self: flex-start; margin: 0 11px 0 0; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(20,24,27,0.05); overflow: hidden; text-align: left; }
.ew:last-child { margin-right: 0; }
.ew-img { height: 92px; background: #E8F5EF center / cover no-repeat; display: flex; align-items: center; justify-content: center; }
.ew-b { display: block; padding: 10px 12px 13px; }
.ew-n { display: block; font-size: 14.5px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ew-d { display: block; margin-top: 3px; font-size: 11.5px; color: var(--text2); }
.ew-add { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 10px; padding: 7px 0; border-radius: 999px; background: rgba(89,165,44,0.12); color: var(--dark-green); font-size: 13px; font-weight: 700; }
.ew-add .ic { margin-right: 4px; }
.task-note { margin-top: 10px; display: flex; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(217,230,226,0.45); font-size: 13px; line-height: 1.45; color: var(--text2); }
.task-note .ic { margin-right: 12px; opacity: 0.85; }
.nav { flex: none; display: flex; align-items: flex-end; padding-bottom: var(--safe-bottom); background: #fff; box-shadow: 0 -2px 8px rgba(0,0,0,0.08); position: relative; z-index: 2; }
.nav button { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 6px 0 8px; font-size: 12px; color: var(--text2); }
.nav button.on { font-size: 14px; color: var(--ink); }
.nav .gi { font-family: 'GAEINavBar'; font-size: 30px; line-height: 1; font-style: normal; }
.nav .on .gi { font-size: 55px; }
.nav .l { margin-top: 2px; white-space: nowrap; }

/* ── End of prototype ───────────────────────────────────────────────────── */
.end { flex: 1; min-height: 0; overflow-y: auto; padding: calc(var(--safe-top) + 40px) 28px calc(var(--safe-bottom) + 24px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.end-mark { width: 96px; height: 69px; margin-bottom: 22px; }
.end .cel-p { margin-top: 10px; }
.end-link { margin-top: 28px; padding: 8px; font-size: 13px; font-weight: 600; color: var(--text2); text-decoration: underline; }
/* ── Notification soft-ask (lib/pages/onboarding/notification_soft_ask/) ─ */
.s-notify .na { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: calc(var(--safe-top) + 8px) 24px calc(var(--safe-bottom) + 16px); }
.na-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; align-items: center; }
.na-hero { position: relative; flex: none; width: 100%; height: 178px; margin-top: 8px; }
.push { position: absolute; left: 50%; width: 268px; margin-left: -134px; display: flex; align-items: flex-start; padding: 12px 14px; border-radius: 18px; background: #fff; box-shadow: 0 12px 16px rgba(20,27,27,0.2); }
.push.top { box-shadow: 0 12px 22px rgba(20,27,27,0.2); }
.push-ic { flex: none; width: 36px; height: 36px; margin-right: 11px; border-radius: 9px; background: linear-gradient(160deg, #6DB83A, #2D903C); display: flex; align-items: center; justify-content: center; }
.push-b { flex: 1; min-width: 0; }
.push-h { display: flex; font-size: 12.5px; font-weight: 700; color: var(--text); }
.push-h span { flex: 1; }
.push-h small { font-size: 11px; font-weight: 400; color: var(--text2); }
.push-t { margin-top: 2px; font-size: 12.5px; line-height: 1.34; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.na-title { margin-top: 16px; font-family: var(--display); font-size: 25px; font-weight: 600; letter-spacing: -0.4px; line-height: 1.2; color: var(--ink); text-align: center; }
.na-body { margin-top: 10px; padding: 0 6px; font-size: 14px; line-height: 1.5; color: var(--text2); text-align: center; }
.vrows { width: 100%; margin: 22px 0 8px; display: flex; flex-direction: column; gap: 13px; }
.vrow { display: flex; align-items: center; font-size: 13.5px; line-height: 1.34; color: var(--text); }
.vrow-ic { flex: none; width: 38px; height: 38px; margin-right: 13px; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
.vrow b { font-weight: 700; }
.vrow span span { color: var(--text2); }
.na-btn { flex: none; display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; border-radius: 12px; background: var(--primary); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 0.1px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.na-btn:active { filter: brightness(0.93); }
.na-skip { flex: none; margin: 6px auto 0; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--text2); text-align: center; }
.na-lock { flex: none; margin-top: 4px; display: flex; align-items: center; justify-content: center; font-size: 11.5px; color: var(--accent2); }
.na-lock .ic { margin-right: 5px; }
.perm-note { display: inline-block; margin-bottom: 4px; padding: 3px 9px; border-radius: 999px; background: #FBF3E4; color: var(--amber); font-size: 11px; font-weight: 700; letter-spacing: 0.4px; }

/* ── Find Plants (lib/pages/main_screens/find_plant/find_plant_widget.dart) */
.s-findPlants { background: #FAFAFA; }
.fp-bar { flex: none; height: calc(75px + var(--safe-top)); padding: var(--safe-top) 16px 14px 24px; display: flex; align-items: flex-end; justify-content: space-between; background: #fff; }
.fp-bar h1 { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--ink); }
.fp-icons { display: flex; color: var(--text2); }
.fp-icons button { display: flex; }
.fp-col { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.fp-col .watermark { opacity: 0.08; }
.fp-top { position: relative; flex: none; padding: 14px 20px 0; display: flex; align-items: center; }
.fp-top .search { flex: 1; margin-top: 0; }
.scan-btn { flex: none; width: 48px; height: 48px; margin-left: 10px; border-radius: 24px; background: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(20,24,27,0.1); }
.fp-chips { position: relative; flex: none; height: 32px; margin-top: 10px; padding: 0 20px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.fp-chips::-webkit-scrollbar { display: none; }
.fp-chip { flex: none; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--alternate); font-size: 13px; font-weight: 400; color: var(--text); }
.fp-chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.fp-scans { position: relative; flex: none; padding: 6px 20px 0; display: flex; align-items: center; font-size: 12.5px; font-weight: 500; color: var(--text2); }
.fp-scans .ic { margin-right: 6px; }
.fp-listwrap { position: relative; flex: 1; min-height: 0; margin-top: 8px; }
.fp-list { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 40px 24px 20px; scrollbar-width: none; }
.fp-list::-webkit-scrollbar { display: none; }
.fp-list.searching { padding-right: 20px; }
.fp-letter { position: sticky; top: 0; z-index: 1; height: 34px; padding-bottom: 6px; display: flex; align-items: flex-end; background: #FAFAFA; font-size: 13px; font-weight: 800; color: var(--text2); }
.fp-list .prow { height: 64px; }
.fp-list .prow-n { font-weight: 400; }
.fp-list .prow-s { font-weight: 400; }
.az { position: absolute; right: 6px; top: 0; bottom: 0; width: 16px; display: flex; flex-direction: column; justify-content: space-evenly; align-items: center; touch-action: none; user-select: none; -webkit-user-select: none; }
.az span { font-size: 9px; font-weight: 800; line-height: 1; color: var(--secondary); }
.az span.off { opacity: 0.4; }
.az-bubble { position: absolute; right: 40px; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 26px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,0.22); pointer-events: none; }

/* ── Plant page (lib/pages/main_screens/plant_information/plant_information_widget.dart) */
.s-plant { background: #fff; }
.pp-bar { flex: none; height: calc(80px + var(--safe-top)); padding: var(--safe-top) 0 14px 12px; display: flex; align-items: flex-end; background: #fff; }
.pp-back { display: flex; align-items: center; padding: 4px 8px 4px 0; color: var(--ink); font-family: var(--display); font-size: 16px; font-weight: 600; }
.pp-back .ic { width: 42px; }
.pp-col { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--cream); }
.pp-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; }
.pp-inner { width: 90%; margin: 0 auto; padding: 5px 0 5px; }
.pp-img { margin: 5px; height: 200px; border-radius: 8px; background: #E8F5EF center / cover no-repeat; display: flex; align-items: center; justify-content: center; }
.pp-plus { position: absolute; top: 0; right: 20px; z-index: 2; display: flex; border-radius: 50%; }
.pp-name { font-family: var(--display); font-size: 24px; font-weight: 600; color: var(--ink); }
.pp-latin { font-size: 10px; font-weight: 400; color: #1B1414; }
.pp-desc { padding: 6px 0; font-size: 14px; line-height: 1.35; color: var(--text); }
.pp-div { height: 1px; margin: 8px 0; background: #F1F2F6; }
.pp-sec { padding: 10px 0 5px; }
.pp-h { font-size: 18px; font-weight: 600; color: var(--amber); }
.pp-hrow { display: flex; align-items: center; justify-content: space-between; }
.pp-zone { display: flex; align-items: center; font-size: 12px; color: #5E6A72; }
.pp-zone .ic { margin-right: 4px; }
.sow-banner { margin-top: 14px; padding: 10px 12px; display: flex; align-items: center; border-radius: 8px; background: rgba(89,165,44,0.08); border: 1px solid rgba(89,165,44,0.25); }
.sow-banner.no { background: rgba(225,145,38,0.08); border-color: rgba(225,145,38,0.25); }
.sow-dot { flex: none; width: 28px; height: 28px; margin-right: 10px; border-radius: 50%; background: #236A3A; display: flex; align-items: center; justify-content: center; }
.sow-banner.no .sow-dot { background: #B5651D; }
.sow-t { font-size: 13px; font-weight: 600; color: var(--text); }
.sow-s { font-size: 11px; color: #5E6A72; }
.cal { margin-top: 12px; }
.cal-caret { position: relative; height: 6px; }
.cal-caret i { position: absolute; top: 0; width: 0; height: 0; margin-left: -6px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid var(--ink); }
.cal-grid { border: 1px solid rgba(20,24,27,0.08); border-radius: 8px; overflow: hidden; display: grid; grid-template-columns: repeat(12, 1fr); }
.cal-m { padding: 6px 0; text-align: center; font-size: 10px; font-weight: 600; color: var(--text); background: #FAFAF7; border-bottom: 1px solid rgba(20,24,27,0.08); }
.cal-m.cur { font-weight: 700; color: var(--ink); background: rgba(35,71,35,0.06); }
.cal-c { position: relative; min-height: 56px; padding: 6px 2px; display: flex; flex-direction: column; justify-content: center; background: #fff; }
.cal-m:not(:nth-child(12n+1)), .cal-c:not(:nth-child(12n+1)) { border-left: 1px solid rgba(20,24,27,0.08); }
.cal-c.cur { background: rgba(35,71,35,0.06); }
.cal-c.cur::after { content: ''; position: absolute; inset: 0; border: 1.5px solid var(--ink); border-radius: 2px; }
.cal-dot { display: block; width: 4px; height: 4px; margin: 0 auto; border-radius: 2px; background: rgba(20,24,27,0.28); }
.cal-pill { display: block; margin-bottom: 2px; padding: 1px 5px; border-radius: 4px; font-size: 9px; font-weight: 700; letter-spacing: 0.3px; color: var(--text); text-align: center; }
.cal-legend { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 11px; color: var(--text); }
.cal-legend span { display: inline-flex; align-items: center; }
.cal-legend .cal-pill { margin: 0 4px 0 0; }
.cal-legend .cal-dot { margin: 0 4px 0 0; }
.needs { display: flex; justify-content: space-evenly; }
.need { width: 114px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.need-l { font-size: 14px; font-weight: 600; color: var(--text); }
.need-c { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.need-v { font-family: var(--display); font-size: 12px; font-weight: 600; color: #1A1A1A; }
.need-s { font-size: 14px; color: #666; }
.pp-pills { padding-bottom: 10px; display: flex; flex-direction: column; gap: 5px; }
.pp-pills div { display: flex; gap: 5px; }
.pp-pill { flex: 1; min-width: 0; height: 30px; padding: 0 8px; border-radius: 20px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; white-space: nowrap; overflow: hidden; }
.acc { display: block; }
.acc-h { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 0; font-size: 16px; font-weight: 600; color: var(--amber); text-align: left; }
.acc-h .ic { color: var(--text2); transition: transform 200ms var(--ease); }
.acc.open .acc-h .ic { transform: rotate(180deg); }
.acc-b { padding-bottom: 10px; font-size: 14px; line-height: 1.4; color: var(--text); }
.pp-add { display: flex; align-items: center; justify-content: center; width: 50%; height: 46px; margin: 20px auto; border-radius: 25px; background: var(--primary); color: #fff; font-size: 16px; font-weight: 600; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.pp-add:active { filter: brightness(0.93); }

/* ── Task detail (lib/pages/main_screens/task_detail/task_detail_widget.dart) */
.s-task { background: #fff; }
.td-bar { flex: none; height: calc(58px + var(--safe-top)); padding: var(--safe-top) 44px 0; position: relative; display: flex; align-items: center; justify-content: center; background: #fff; }
.td-bar button { position: absolute; left: 12px; bottom: 13px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.td-bar h1 { font-size: 18px; font-weight: 600; color: var(--ink); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td-col { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--cream); }
.td-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 10px; }
.td-hero { height: 200px; background: #E8F5EF center / cover no-repeat; display: flex; align-items: center; justify-content: center; }
.td-top { padding: 6px 20px 14px; display: flex; flex-direction: column; gap: 8px; }
.td-tips { padding: 13px 16px; border-radius: 16px; background: var(--alternate); border: 0.68px solid var(--tertiary); font-size: 14px; line-height: 1.35; color: var(--text); }
.td-chips { display: flex; justify-content: space-evenly; gap: 6px; }
.td-chip { height: 30px; padding: 0 10px; border-radius: 20px; background: var(--primary); display: flex; align-items: center; font-size: 14px; color: var(--text); white-space: nowrap; }
.td-actions { padding: 0 15px; display: flex; align-items: center; gap: 6px; background: var(--alternate); }
.td-complete { flex: 2; height: 46px; margin: 20px 0; border-radius: 8px; background: var(--primary); color: #fff; font-size: 16px; font-weight: 600; box-shadow: 0 2px 4px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; }
.td-snooze { flex: 1; height: 46px; border-radius: 8px; background: #fff; border: 1px solid var(--primary); color: var(--primary); font-size: 16px; font-weight: 600; box-shadow: 0 2px 4px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; }
.td-complete:active, .td-snooze:active { filter: brightness(0.95); }
.td-why { padding: 12px 20px 0; }
.td-why h2 { font-size: 18px; font-weight: 600; color: var(--amber); }
.td-line { width: 80px; height: 1px; margin-bottom: 5px; background: var(--amber); }
.td-why p { font-size: 14px; line-height: 1.4; color: var(--text); }
.td-accs { padding: 8px 20px calc(28px + var(--safe-bottom)); }
.td-bullet { display: flex; align-items: center; gap: 5px; font-size: 14px; line-height: 1.5; }
.td-bullet i { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--text); }
.td-step { display: flex; align-items: center; gap: 14px; font-size: 14px; line-height: 1.35; }
.td-step + .td-step { margin-top: 16px; }
.td-step i { flex: none; width: 36px; height: 36px; border-radius: 18px; background: var(--primary); color: #fff; font-style: normal; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.td-plant { display: flex; align-items: center; gap: 12px; font-size: 14px; }

/* Session times, reachable at /app?summary=1. Unlike every other screen this
 * one is read on whatever the tester happens to be using, often a laptop, so
 * it keeps a readable column instead of stretching to the window. */
.sum { flex: 1; min-height: 0; overflow-y: auto; width: 100%; max-width: 640px; margin: 0 auto; padding: calc(var(--safe-top) + 24px) 20px calc(var(--safe-bottom) + 24px); }
.sum-h { font-family: var(--display); font-size: 24px; font-weight: 600; color: var(--ink); }
.sum-p { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--text2); }
.sum-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.sum-copy { width: auto; padding: 0 22px; }
.sum-back { padding: 8px 4px; font-size: 14px; font-weight: 600; color: var(--secondary); text-decoration: underline; }
.sum .end-summary { margin-top: 14px; max-height: none; }

.end-summary { width: 100%; margin: 12px 0 0; padding: 12px; border-radius: 10px; background: #fff; border: 1px solid #E2E0DA; font: 11px/1.45 ui-monospace, Menlo, Consolas, monospace; color: var(--text); text-align: left; white-space: pre; overflow-x: auto; max-height: 50vh; }
