/* Plus customer UI. Local overrides only: no shared/Pro styling or data changes. */
:root {
    --plus-bg: #f6f3ea;
    --plus-card: #fffef9;
    --plus-text: #26352d;
    --plus-muted: #59675e;
    --plus-green: #486b57;
    --plus-soft: #dfeadd;
    --plus-button: #486b57;
    --plus-button-text: #ffffff;
    --plus-panel-height: clamp(200px, 15rem, 44dvh);
    --plus-nav-height: 4.5rem;
}
html.plus-dark, body.dark-mode {
    --plus-bg: #151a17;
    --plus-card: #222a24;
    --plus-text: #edf2ed;
    --plus-muted: #b1beb4;
    --plus-green: #b4d1ba;
    --plus-soft: #34483a;
    --plus-button: #b4d1ba;
    --plus-button-text: #17251c;
}
body.plus-ui {
    --bg-color: var(--plus-bg);
    --modal-bg: var(--plus-card);
    --text-main: var(--plus-text);
    --text-sub: var(--plus-muted);
    --primary-sage: var(--plus-green);
    --primary-sage-deep: var(--plus-green);
    --garden-bg: var(--plus-bg);
    --garden-text: var(--plus-text);
    --garden-muted: var(--plus-muted);
    --garden-sage-deep: var(--plus-green);
    --acid: #9d4521;
    --neutral: #715600;
    --alkaline: #67448f;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Pretendard', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}
body.plus-ui.dark-mode { --acid: #ffb894; --neutral: #efda82; --alkaline: #d6b8f4; }
.plus-ui *, .plus-ui *::before, .plus-ui *::after { box-sizing: border-box; }
.plus-ui [hidden] { display: none !important; }
.plus-ui button, .plus-ui input, .plus-ui textarea { font-family: inherit; }
.plus-ui button, .plus-ui a { -webkit-tap-highlight-color: transparent; }
.plus-ui :is(button, a, input, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--plus-green); outline-offset: 3px; }
.plus-ui :lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }
.plus-ui :lang(en) { word-break: normal; overflow-wrap: anywhere; }

/* Home: photos first, calm surfaces, readable supporting information. */
.plus-ui .garden-header { gap: 12px; padding-top: calc(20px + env(safe-area-inset-top)); }
.plus-ui .garden-header > div:first-child { min-width: 0; flex: 1; }
.plus-ui .garden-eyebrow { color: var(--plus-muted); font-size: .8125rem; letter-spacing: .04em; }
.plus-ui .gallery-title { font-family: inherit; font-size: 1.75rem; letter-spacing: -.03em; }
.plus-ui .gallery-subtitle { font-size: .875rem; }
.plus-header-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.plus-ui .header-round-btn { text-decoration: none; box-shadow: none; position: relative; }
.plus-ui .plus-unread-badge { position: absolute; top: -5px; right: -5px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 12px; background: #b83d47; color: #fff; border: 2px solid var(--plus-bg); font-family: inherit; font-weight: 700; font-size: .75rem; line-height: 18px; text-align: center; }
.plus-ui .garden-main { padding-bottom: calc(var(--plus-nav-height) + 30px + env(safe-area-inset-bottom)); }
.plus-ui .garden-summary { background: var(--plus-soft); color: var(--plus-text); min-height: 0; padding: 12px 16px; margin-bottom: 16px; border-radius: 16px; border: 0; box-shadow: none; flex-wrap: wrap; }
.plus-ui .garden-summary::after { display: none; }
.plus-ui .garden-summary[hidden] { display: none; }
.plus-ui .summary-copy { max-width: none; flex: 1 1 180px; gap: 5px; }
.plus-ui .summary-copy strong { font-family: inherit; font-size: 1rem; line-height: 1.5; letter-spacing: 0; }
.plus-ui .plant-card { border-radius: 20px; box-shadow: 0 4px 14px rgba(38,53,45,.06); }
.plus-ui .plant-card-name, .plus-ui .record-plant-name, .plus-ui .plant-name-line h2 { font-family: inherit; white-space: normal; overflow-wrap: anywhere; line-height: 1.4; }
.plus-ui .plant-card-name { min-height: 2.8em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.plus-ui .plant-card-meta, .plus-ui .plant-meta, .plus-ui .record-date, .plus-ui .record-note-preview { font-size: .875rem; line-height: 1.5; white-space: normal; }
.plus-ui .ph-badge, .plus-ui .count-chip { font-size: .875rem; white-space: normal; }
.plus-ui .section-kicker, .plus-ui .plant-hero-label { display: none; }
.plus-ui .section-heading { flex-wrap: wrap; }
.plus-ui .section-heading h3 { font-size: 1.125rem; font-family: inherit; }
.plus-ui .chart-note { font-size: .875rem; white-space: normal; }
.plus-ui .chart-date-label { font-size: 14px; }
.plus-ui .chart-hit-target { pointer-events: all; cursor: pointer; }
.plus-ui .ph-chart [role='button']:focus-visible { outline: none; }
.plus-ui .ph-chart [role='button']:focus-visible .chart-point { stroke: var(--plus-text); stroke-width: 4px; }
.plus-ui .more-records-btn, .plus-ui .soft-back-btn, .plus-ui .sheet-close, .plus-ui .icon-text-btn, .plus-ui .record-nav-btn { min-height: 48px; min-width: 48px; font-size: .9375rem; }
.plus-ui .empty-garden strong { font-family: inherit; }
.plus-ui .empty-garden > span:last-child { font-size: 1rem; }
.plus-ui .empty-measure-btn { min-height: 52px; padding: 12px 22px; border: 0; border-radius: 16px; background: var(--plus-button); color: var(--plus-button-text); font-size: 1rem; font-weight: 750; cursor: pointer; }
.plus-ui .guest-banner-content { flex-wrap: wrap; }
.plus-ui .guest-title { font-size: .9375rem; }
.plus-ui .guest-desc { font-size: .875rem; line-height: 1.5; }
.plus-ui .btn-guest-login { min-height: 48px; font-size: .875rem; background: var(--plus-button); color: var(--plus-button-text); }
/* Anchor the complete sheet above the keyboard, not only its max-height.
   The body shrinks and scrolls independently while the close button stays visible. */
.plus-ui .record-modal { top: var(--plus-visible-top, 0px); bottom: auto; height: var(--plus-visible-h, 100vh); }
.plus-ui .record-sheet { display: flex; flex-direction: column; max-height: min(90vh, var(--plus-visible-h, 90vh)); max-height: min(90dvh, var(--plus-visible-h, 90dvh)); }
.plus-ui .record-sheet > .sheet-handle, .plus-ui .record-sheet > .sheet-header { flex-shrink: 0; }
.plus-ui .record-sheet > .sheet-scroll { flex: 0 1 auto; min-height: 0; max-height: none; -webkit-overflow-scrolling: touch; }
.plus-ui .record-sheet h2, .plus-ui .photo-source-menu h2, .plus-ui .cover-photo-menu h2 { font-family: inherit; }
.plus-ui .sheet-actions { flex-wrap: wrap; }
.plus-ui .sheet-actions button, .plus-ui .photo-tabs button { min-height: 48px; font-size: .9375rem; }
.plus-ui .record-note-preview { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.plus-ui .record-note-actions button { min-width: 48px; min-height: 48px; }
.plus-ui .record-note-editor-actions button { min-height: 48px; font-size: .9375rem; }
.plus-ui .record-note-editor-actions button.save { background: var(--plus-button); color: var(--plus-button-text); }
.plus-ui .care-edit-options label { min-height: 48px; font-size: .875rem; }
.plus-ui .cover-photo-menu > p, .plus-ui .photo-caption { font-size: .875rem; }
.plus-ui .cover-photo-menu > button { min-height: 48px; font-size: .9375rem; }
.plus-ui .quiet-danger-btn, .plus-ui .sheet-actions button.danger, .plus-ui .record-note-actions .danger { color: var(--acid); }
.plus-ui .quiet-danger-btn { min-height: 48px; font-size: .9375rem; }

/* Persistent navigation replaces the floating measurement button. */
.plus-bottom-nav { position: fixed; z-index: 2000; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, 760px); display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; min-height: var(--plus-nav-height); padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); background: var(--plus-card); border-top: 1px solid rgba(72,107,87,.2); }
.plus-bottom-nav a, .plus-bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; min-width: 0; border: 0; border-radius: 14px; padding: 6px 4px; background: transparent; color: var(--plus-muted); font: inherit; font-size: .8125rem; font-weight: 750; text-align: center; text-decoration: none; line-height: 1.3; cursor: pointer; }
.plus-bottom-nav .ico { width: 23px; height: 23px; }
.plus-bottom-nav [aria-current='page'] { color: var(--plus-green); background: var(--plus-soft); }
.plus-bottom-nav .plus-nav-measure { color: var(--plus-button-text); background: var(--plus-button); }
.plus-bottom-nav button:disabled { cursor: default; }
.plus-ui .fab-new-measure { display: none; }
.plus-ui.admin-gallery-mode .plus-bottom-nav, .plus-ui.admin-gallery-mode .plus-header-actions { display: none; }
.plus-ui.admin-gallery-mode .garden-main { padding-bottom: 30px; }

/* Measurement: stable panel and controls in every camera state. */
.plus-ui .compact-btn-group { top: calc(12px + env(safe-area-inset-top)); gap: 8px; }
.plus-ui .compact-btn-group.left { left: max(12px, env(safe-area-inset-left)); }
.plus-ui .compact-btn-group.right { right: max(12px, env(safe-area-inset-right)); }
.plus-ui .compact-btn { min-height: 48px !important; padding: 10px 12px !important; font-size: .875rem; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.plus-ui #user-info { max-width: 112px; }
.plus-ui #user-info span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.plus-ui .header-area { top: calc(80px + env(safe-area-inset-top)) !important; padding: 0 16px; }
.plus-ui .brand-line { color: #fff; font-size: .8125rem; letter-spacing: .04em; text-transform: none; }
.plus-ui .main-title { font-size: 1.25rem; }
.plus-ui .header-area .brand-line { display: none; }
.plus-ui .main-title { display: inline-block; padding: 5px 12px; border-radius: 12px; background: rgba(31,50,39,.85); }
.plus-ui #result-overlay #scan-overlay { position: static; inset: auto; width: 100%; height: auto; flex: 0 0 56px; padding: 12px; border: 0; border-radius: 16px; background: var(--plus-button); color: var(--plus-button-text); font: inherit; line-height: 1.35; cursor: pointer; justify-content: center; align-items: center; backdrop-filter: none; -webkit-backdrop-filter: none; }
.plus-ui #result-overlay #scan-overlay.hidden { display: none; }
.plus-ui #result-overlay #capture-btn[hidden] { display: none; }
.plus-ui #result-overlay,
.plus-ui #result-overlay.scan-in-progress,
.plus-ui #result-overlay.result-review {
    position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(12px + env(safe-area-inset-bottom)); width: min(calc(100% - 24px), 440px); height: var(--plus-panel-height); padding: 18px; border-radius: 24px; background: var(--plus-card); border: 1px solid rgba(72,107,87,.18); box-shadow: 0 8px 24px rgba(0,0,0,.12); gap: 8px; backdrop-filter: none; -webkit-backdrop-filter: none;
}
.plus-ui #status-msg { color: var(--plus-green) !important; font-size: .9375rem; line-height: 1.4; letter-spacing: 0; }
.plus-ui #status-msg[data-state='error'] { color: var(--acid) !important; }
.plus-ui #ph-result, .plus-ui #result-overlay.scan-in-progress #ph-result { display: block; flex: 1 1 auto; overflow-y: auto; align-content: center; padding: 6px 0; font-family: inherit; font-size: 1.0625rem; line-height: 1.5; letter-spacing: 0; color: var(--plus-text) !important; white-space: pre-line; text-wrap: pretty; }
.plus-ui #result-overlay.result-review #ph-result { font-size: 1.375rem; font-weight: 800; }
.plus-ui #capture-btn, .plus-ui #result-overlay.scan-in-progress #capture-btn { flex: 0 0 56px; padding: 12px; font-size: 1rem; line-height: 1.35; background: var(--plus-button); color: var(--plus-button-text); border-radius: 16px; box-shadow: none; }
.plus-ui #result-decision { flex: 0 0 56px; gap: 10px; }
.plus-ui #result-decision button { min-height: 56px; padding: 10px; font-size: .9375rem; line-height: 1.35; border-radius: 16px; }
.plus-ui #record-result-btn { background: var(--plus-button); color: var(--plus-button-text); }
.plus-ui #capture-btn:not(.disabled) { background: var(--plus-button) !important; color: var(--plus-button-text) !important; }
.plus-ui #retake-result-btn { background: var(--plus-soft); color: var(--plus-text); }

/* Optional fields can be skipped; the save action stays outside the scrolling form. */
.plus-ui #memo-modal { top: var(--plus-visible-top, 0px); bottom: auto; height: var(--plus-visible-h, 100vh); }
.plus-ui .measurement-log-modal { max-height: min(90dvh, calc(var(--plus-visible-h, 100dvh) - 24px)); }
.plus-ui .measurement-modal-header { padding: 20px 20px 10px; }
.plus-ui .measurement-modal-header h3 { font-family: inherit; font-size: 1.25rem; }
.plus-ui .measurement-form-scroll { padding: 8px 20px 16px; -webkit-overflow-scrolling: touch; }
.measurement-selected-plant { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; margin-bottom: 12px; border-radius: 16px; background: var(--plus-soft); }
.measurement-selected-plant > div { min-width: 0; }
.measurement-selected-plant span { display: block; font-size: .875rem; color: var(--plus-muted); }
.measurement-selected-plant strong { display: block; overflow-wrap: anywhere; color: var(--plus-text); }
.measurement-selected-plant button { flex: 0 0 auto; min-width: 48px; min-height: 48px; border: 0; border-radius: 12px; padding: 10px 12px; font-size: .9375rem; background: var(--plus-card); color: var(--plus-green); }
.plus-ui .field-label-text, .plus-ui .measurement-section-label { font-size: 1rem; color: var(--plus-text); }
.plus-ui .field-label-help, .plus-ui .measurement-photo-copy small, .plus-ui .photo-source-menu > p { font-size: .875rem; line-height: 1.5; }
.plus-ui .plant-picker-name { font-size: .875rem; }
.plus-ui .care-tag { min-height: 48px; font-size: .875rem; }
.plus-ui #memo-input, .plus-ui .note-input, .plus-ui .email-input-style, .plus-ui textarea { font-size: 1rem !important; min-height: 48px; }
.plus-ui .measurement-modal-actions .btn-skip { flex: 1; white-space: normal; }
.plus-ui .measurement-modal-actions .btn-save { flex: 1.3; background: var(--plus-button); color: var(--plus-button-text); }
.plus-ui .measurement-modal-actions button { min-height: 52px; font-size: .9375rem !important; padding: 12px 10px; line-height: 1.35; }
.plus-ui .plus-inline-status { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px; margin: 8px 0 16px; border: 1px solid var(--border-color); border-radius: 16px; background: var(--plus-card); color: var(--plus-text); font-size: .9375rem; line-height: 1.5; overflow-wrap: anywhere; }
.plus-ui .plus-inline-status[hidden] { display: none; }
.plus-ui .plus-inline-status > span { flex: 1 1 100%; min-width: 0; word-break: keep-all; overflow-wrap: anywhere; }
.plus-ui .plus-status-actions { display: flex; flex: 1 1 100%; flex-wrap: wrap; gap: 8px; min-width: 0; }
.plus-ui .plus-status-actions button { flex: 1 1 120px; min-width: 0; white-space: normal; word-break: keep-all; overflow-wrap: anywhere; }
.plus-ui .plus-inline-status button, .plus-ui .plus-notification-settings { min-height: 48px; padding: 12px 16px; border: 0; border-radius: 12px; font: inherit; background: var(--plus-soft); color: var(--plus-green); }
.plus-ui .plus-chart-help { color: var(--plus-muted); font-size: .875rem; line-height: 1.5; margin: 12px 0 0; text-wrap: pretty; }
.plus-ui .measurement-photo-busy { border-radius: 8px; padding: 8px; background: var(--plus-card); color: var(--plus-text); font-size: .875rem; line-height: 1.5; }
.plus-ui .plus-notification-settings { display: flex; gap: 10px; align-items: center; width: 100%; margin: 16px 0; }
.plus-ui .login-account-sheet > .ccpa-row { align-items: flex-start; margin: 16px 0; padding: 12px; border-radius: 12px; background: var(--plus-soft); }
.plus-ui .login-account-sheet > .ccpa-row input { flex: 0 0 24px; width: 24px; height: 24px; margin: 0 8px 0 0; }
.plus-ui .login-account-sheet > .ccpa-row label { line-height: 1.5; color: var(--plus-text); }
.plus-ui .memo-result-summary { flex-wrap: wrap; justify-content: center; color: var(--plus-text); font-size: .875rem; }
.plus-ui .memo-result-summary strong { font-size: 1rem; }
.plus-ui.dark-mode .memo-result-summary { color: var(--plus-text); background: var(--plus-soft); }
.memo-extras { margin: 12px 0 2px; border-top: 1px solid var(--border-color); }
.memo-extras > summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--plus-green); font-weight: 750; cursor: pointer; list-style: none; }
.memo-extras > summary::-webkit-details-marker { display: none; }
.memo-extras > summary::after { content: '+'; font-size: 1.5rem; }
.memo-extras[open] > summary::after { content: '−'; }
.plus-ui .optional-label { font-size: .8125rem; }
.plus-ui .bottom-sheet-content { max-height: calc(var(--plus-visible-h, 100dvh) - 12px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.plus-ui .bottom-sheet-overlay { top: var(--plus-visible-top, 0px); height: var(--plus-visible-h, 100dvh); }
.plus-ui .bottom-sheet-handle { height: 20px; margin-bottom: 12px; background: transparent; position: relative; touch-action: none; }
.plus-ui .bottom-sheet-handle::after { content: ''; position: absolute; top: 7px; left: 0; width: 40px; height: 5px; border-radius: 3px; background: var(--border-color); }
.plus-ui .photo-source-menu, .plus-ui .cover-photo-menu { max-height: calc(var(--plus-visible-h, 100dvh) - 24px); overflow-y: auto; }
.plus-ui .btn-back, .plus-ui .btn-kebab, .plus-ui .noti-delete-btn { min-width: 48px; min-height: 48px; }
.plus-ui .uid-copy-action, .plus-ui .btn-lang-toggle { min-height: 48px; display: inline-flex; align-items: center; font-size: .875rem; }
.plus-ui .login-btn { height: auto; min-height: 54px; padding: 12px; }
.plus-ui .login-account-sheet .sheet-desc-centered { font-size: 1rem; }
.plus-ui .btn-save, .plus-ui .btn-half.btn-mint, .plus-ui .toggle-btn-confirm { background: var(--plus-button); color: var(--plus-button-text); box-shadow: none; }
.plus-ui .modal-btns button { min-height: 48px; font-size: .9375rem; }
.plus-ui .user-settings-label, .plus-ui .user-id-details summary small, .plus-ui #sheet-user-email, .plus-ui .uid-label-text { font-size: .8755rem; }
.plus-ui #camera-error-modal { background: var(--plus-bg); color: var(--plus-text); overflow-y: auto; }
.plus-ui .camera-error-title, .plus-ui .camera-error-desc-text { color: var(--plus-text); font-family: inherit; }
.plus-ui .camera-error-retry-btn { min-height: 52px; background: var(--plus-button); color: var(--plus-button-text); }
.plus-ui #install-banner-plus, .plus-ui #ios-install-bubble { background: var(--plus-card); color: var(--plus-text); }
.plus-ui #ios-install-bubble { bottom: calc(var(--plus-nav-height) + 12px + env(safe-area-inset-bottom)); }
.plus-ui .ios-bubble-text { color: var(--plus-text); font-size: .9375rem; }
.plus-ui .install-banner-desc { color: var(--plus-muted); font-size: 1rem; }
.plus-ui .install-banner-title { color: var(--plus-text); font-family: inherit; padding-right: 30px; }
.plus-ui .push-modal-desc { color: var(--plus-muted); white-space: pre-line; }
.plus-ui .install-banner-btn { min-height: 52px; background: var(--plus-button); color: var(--plus-button-text); }
.plus-ui .install-banner-close-btn, .plus-ui .ios-bubble-close-btn { min-width: 48px; min-height: 48px; }
.plus-ui #update-toast { bottom: calc(var(--plus-nav-height) + 12px + env(safe-area-inset-bottom)); max-width: calc(100% - 24px); white-space: normal; flex-wrap: wrap; justify-content: center; }
.plus-ui .update-toast-btn { min-height: 48px; }
.plus-ui .ccpa-label { font-size: .875rem; }
.plus-ui .ccpa-label a { color: var(--plus-green) !important; }
.plus-ui .user-sheet-btn-delete { min-height: 48px; font-size: .875rem; color: var(--acid); }
.plus-ui .plus-account-landing { position: fixed; top: 0; bottom: calc(var(--plus-nav-height) + env(safe-area-inset-bottom)); width: min(100%, 600px); max-height: calc(var(--plus-visible-h, 100dvh) - var(--plus-nav-height) - env(safe-area-inset-bottom)); margin: 0 auto; padding: calc(24px + env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 28px max(20px, env(safe-area-inset-left)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; text-align: left; }
.plus-ui .plus-account-landing h1 { font-size: 1.75rem; margin: 0 0 20px; }
.plus-ui .plus-account-landing p { color: var(--plus-muted); font-size: .9375rem; }
.plus-account-guest { padding: 18px; margin-bottom: 24px; border-radius: 20px; background: var(--plus-card); }
.plus-account-guest h2 { font-size: 1.125rem; margin: 0 0 8px; }
.plus-ui #plus-account-login, .plus-ui .plus-account-landing .plus-install-link { min-height: 52px; width: 100%; padding: 12px 20px; border: 0; border-radius: 16px; font-size: 1rem; font-weight: 750; line-height: 1.4; }
.plus-ui #plus-account-login { background: var(--plus-button); color: var(--plus-button-text); }
.plus-ui .plus-account-landing .plus-install-link { margin-top: 16px; background: var(--plus-soft); color: var(--plus-green); }
.plus-account-content .user-profile-card { flex-wrap: wrap; background: var(--plus-card); }
.plus-account-content .user-profile-copy strong, .plus-account-content #sheet-user-email { white-space: normal; overflow-wrap: anywhere; }
.plus-account-content .user-settings-label { font-size: 1rem; }
.plus-account-content .lang-theme-row { flex-wrap: wrap; gap: 12px; }
.plus-account-content .switch { height: 48px; }
.plus-account-content .switch .slider { top: 12px; bottom: 12px; }
.plus-account-content .display-user-uid-text { overflow-wrap: anywhere; }
.plus-ui .login-account-sheet :is(.lang-theme-row, .guest-id-details, .app-version-display) { display: none; }
.plus-ui .login-account-sheet .sheet-title-centered { padding-right: 42px; }
.plus-login-close { position: absolute; right: 12px; top: 12px; min-height: 48px; min-width: 48px; border: 0; border-radius: 12px; background: var(--plus-soft); color: var(--plus-text); font-size: 1.125rem; cursor: pointer; }
html[data-plus-view='account'] body { background: var(--plus-bg); }
html[data-plus-view='account'] #camera-wrapper, html[data-plus-view='account'] #result-overlay, html[data-plus-view='account'] .header-area { display: none; }
html[data-plus-view='account'] .compact-btn-group { display: none; }
.plus-ui .account-bottom-nav { display: none; }
.account-bottom-nav { display: none; }
html[data-plus-view='account'] .account-bottom-nav { display: grid; }
.plus-ui.plus-account-view .account-bottom-nav { display: grid; }
/* A notification entry has its own screen; avoid an intermediate Account flash. */
html[data-plus-notification-entry='1'] .plus-account-landing,
html[data-plus-notification-entry='1'] .account-bottom-nav { visibility: hidden; }
.plus-ui.plus-keyboard-open .plus-bottom-nav { display: none; }
.plus-ui .plus-toast { width: max-content; max-width: calc(100% - 32px); white-space: normal !important; overflow-wrap: anywhere; text-align: center; }

@media (max-width: 359px) {
    .plus-ui .plant-grid { grid-template-columns: 1fr; }
    .plus-ui .plant-card-photo { aspect-ratio: 1.4 / 1; }
    .plus-ui .garden-header { padding-left: 14px; padding-right: 14px; }
    .plus-ui .summary-copy { flex-basis: 100%; }
    .plus-ui .compact-btn { padding: 8px 10px !important; }
    .plus-ui #user-info { max-width: 88px; }
}
@media (max-height: 560px) {
    :root { --plus-panel-height: clamp(172px, 12.5rem, 58dvh); }
    .plus-ui .header-area { top: calc(66px + env(safe-area-inset-top)) !important; }
    .plus-ui #scan-overlay { align-items: flex-start; padding-top: calc(108px + env(safe-area-inset-top)); }
}
@media (orientation: landscape) and (max-height: 560px) {
    .plus-ui #result-overlay, .plus-ui #result-overlay.scan-in-progress, .plus-ui #result-overlay.result-review { left: auto; right: max(12px, env(safe-area-inset-right)); transform: none; width: min(44%, 360px); }
    .plus-ui #scan-overlay { justify-content: flex-start; padding-right: calc(46% + 12px); padding-bottom: 18px; }
    .plus-ui .header-area { width: 52%; }
}
@media (prefers-reduced-motion: reduce) {
    .plus-ui *, .plus-ui *::before, .plus-ui *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.plus-ui .record-thumb img { object-fit: contain; background: var(--plus-card); }
.plus-ui .record-thumb.photo-unavailable { display: grid; place-items: center; padding: 4px; box-sizing: border-box; }
.plus-ui .record-thumb.photo-unavailable > span { font-size: 10px; line-height: 1.3; color: var(--plus-muted); text-align: center; overflow-wrap: anywhere; }
.plus-ui .record-sample-badge { width: fit-content; max-width: 100%; font-size: 11px; line-height: 1.4; color: var(--plus-muted); overflow-wrap: anywhere; }
