:root{--bg:#f6f7f4;--surface:#fff;--surface-2:#f2f4ef;--surface-3:#e9ede5;--text:#17231b;--text-2:#3c4a40;--muted:#6a776e;--green:#2d7d46;--green-2:#22633a;--green-soft:#e7f1e4;--border:#e3e7df;--border-strong:#cdd5c9;--danger:#b42318;--danger-soft:#fdecea;--warning:#9a5b00;--warning-soft:#fdf3dc;--radius-sm:4px;--radius:8px;--radius-lg:12px;--shadow-sm:0 1px 2px #17231b0d;--shadow-pop:0 12px 32px #17231b29;--sidebar-w:232px;--bottom-nav-h:60px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizelegibility;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:15px;line-height:1.5}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--text);min-width:320px;margin:0}h1,h2,h3,h4{letter-spacing:-.015em;color:var(--text);font-weight:650;line-height:1.25}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}img{max-width:100%;display:block}small{color:var(--muted)}:focus-visible{outline:2px solid var(--green);outline-offset:2px}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.muted{color:var(--muted)}.danger-text{color:var(--danger)}.primary,.secondary,.ghost,.danger-button,.logout-button{border-radius:var(--radius);white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:6px;min-height:38px;padding:0 14px;font-size:14px;font-weight:600;line-height:1;transition:background-color .15s,border-color .15s,color .15s;display:inline-flex}.primary{background:var(--green);color:#fff}.primary:hover:not(:disabled){background:var(--green-2)}.secondary{background:var(--surface);border-color:var(--border-strong);color:var(--text-2)}.secondary:hover:not(:disabled){background:var(--surface-2);border-color:#b9c3b4}.ghost{color:var(--muted);background:0 0}.ghost:hover:not(:disabled){background:var(--surface-2);color:var(--text)}.ghost.danger-text{color:var(--danger)}.ghost.danger-text:hover:not(:disabled){background:var(--danger-soft)}.primary:disabled,.secondary:disabled,.ghost:disabled,.danger-button:disabled{opacity:.5}.full{width:100%}.compact{min-height:34px;padding:0 12px}.form{gap:16px;margin-top:20px;display:grid}.form.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.full-field,.full-row{grid-column:1/-1}label{color:var(--text-2);gap:6px;font-size:13px;font-weight:600;display:grid}input,select,textarea{border:1px solid var(--border-strong);border-radius:var(--radius);background:var(--surface);width:100%;min-height:40px;color:var(--text);outline:none;padding:9px 12px;font-size:15px;font-weight:400;transition:border-color .15s,box-shadow .15s}input::placeholder,textarea::placeholder{color:#9aa59d}textarea{resize:vertical;min-height:96px}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #2d7d4624}input[type=file]{min-height:0;padding:7px}.error-box,.warning-box,.pwa-success-box{border-radius:var(--radius);overflow-wrap:anywhere;border:1px solid;padding:10px 12px;font-size:14px;font-weight:500}.error-box{background:var(--danger-soft);color:var(--danger);border-color:#f6c9c3}.error-box button{margin-left:8px}.warning-box{background:var(--warning-soft);color:var(--warning);border-color:#f1dca8}.pwa-success-box{background:var(--green-soft);color:var(--green-2);border-color:#c8dfc1}.app-shell{grid-template-columns:var(--sidebar-w) minmax(0, 1fr);min-height:100dvh;display:grid}.sidebar{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;gap:24px;height:100dvh;padding:20px 12px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:10px;padding:0 8px;display:flex}.brand strong{letter-spacing:-.02em;font-size:17px;font-weight:700}.brand-icon,.auth-logo{background:var(--green);color:#fff;border-radius:6px;flex-shrink:0;place-items:center;width:28px;height:28px;display:grid}.side-nav{gap:2px;display:grid}.side-nav a{color:var(--muted);border-radius:6px;align-items:center;gap:10px;padding:8px 10px;font-size:14px;font-weight:500;transition:background-color .15s,color .15s;display:flex;position:relative}.side-nav a:hover{background:var(--surface-2);color:var(--text)}.side-nav a.active{background:var(--green-soft);color:var(--green-2);font-weight:600}.sidebar-footer{border-top:1px solid var(--border);gap:4px;margin-top:auto;padding-top:12px;display:grid}.sidebar-user{border-radius:6px;align-items:center;gap:10px;min-width:0;padding:8px 10px;display:flex}.sidebar-user:hover,.sidebar-user.active{background:var(--surface-2)}.avatar-initial{background:var(--surface-3);width:26px;height:26px;color:var(--text-2);border-radius:50%;flex-shrink:0;place-items:center;font-size:12px;font-weight:700;display:grid}.sidebar-user-email{color:var(--text-2);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.logout-button{color:var(--muted);background:0 0;justify-content:flex-start;min-height:34px;padding:0 10px;font-weight:500}.logout-button:hover{background:var(--surface-2);color:var(--text)}.main-area{min-width:0;padding:0 clamp(16px,3.5vw,40px) 48px}.topbar{z-index:20;-webkit-backdrop-filter:saturate(1.4)blur(10px);border-bottom:1px solid var(--border);background:#f6f7f4e0;justify-content:space-between;align-items:center;gap:16px;min-height:64px;margin:0 calc(-1*clamp(16px,3.5vw,40px)) 24px;padding:12px clamp(16px,3.5vw,40px);display:flex;position:sticky;top:0}.topbar-title{align-items:center;gap:10px;min-width:0;display:flex}.topbar h1{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:20px;overflow:hidden}.mobile-brand{display:none}.topbar-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.page-content{max-width:1200px;margin:0 auto}.eyebrow{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin:0 0 4px;font-size:12px;font-weight:600;display:block}.bottom-nav{display:none}.panel,.hero-card,.stat-card,.plant-card,.catalog-card,.micro-card,.preview-card,.details-page,.details-main,.care-panel,.schedule-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.panel{min-width:0;padding:24px}.full-page-panel{min-height:50vh}.section-title{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px 16px;margin-bottom:20px;display:flex}.section-title>div{min-width:0}.section-title h2,.section-title h3{margin:0 0 4px;font-size:18px}.section-title p{color:var(--muted);margin:0;font-size:14px}.section-title a:not(.primary):not(.secondary):not(.ghost){color:var(--green);white-space:nowrap;font-size:14px;font-weight:600}.section-title a:not(.primary):not(.secondary):not(.ghost):hover{text-underline-offset:3px;text-decoration:underline}.page-grid{grid-template-columns:minmax(0,1fr);gap:20px;display:grid}.hero-card{justify-content:space-between;align-items:center;gap:20px;padding:24px;display:flex}.hero-card h2{margin:0 0 6px;font-size:24px}.hero-card p{color:var(--muted);max-width:620px;margin:0}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.stat-card{grid-template-columns:auto 1fr;grid-template-areas:"icon label""value value";align-items:center;gap:8px;padding:16px;display:grid}.stat-card svg{width:16px;height:16px;color:var(--green);grid-area:icon}.stat-card span{color:var(--muted);grid-area:label;font-size:13px;font-weight:500}.stat-card strong{letter-spacing:-.02em;font-variant-numeric:tabular-nums;grid-area:value;font-size:26px;font-weight:650}.wide{min-width:0}.cards-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:16px;display:grid}.cards-grid.three{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr))}.plant-card{flex-direction:column;transition:border-color .15s;display:flex;overflow:hidden}.plant-card:hover{border-color:var(--border-strong)}.plant-card:hover img{transform:scale(1.02)}.plant-image-wrap{aspect-ratio:4/3;background:var(--surface-2);position:relative;overflow:hidden}.plant-image-wrap img{object-fit:cover;width:100%;height:100%;transition:transform .3s}.image-placeholder{color:#5c7563;background:linear-gradient(145deg,#eff5f0 0%,#e4ede6 100%);justify-content:center;align-items:center;width:100%;height:100%;min-height:140px;font-size:13px;display:flex}.image-placeholder-inner{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:16px;display:flex}.image-placeholder-badge{color:#2d7d46;background:#2d7d461f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;display:inline-flex}.image-placeholder-text{color:#5c7563;letter-spacing:.01em;font-size:12px;font-weight:600}.plant-image-wrap .status-pill{box-shadow:var(--shadow-sm);position:absolute;top:10px;left:10px}.plant-card-body{padding:14px 16px 16px}.plant-card-body h3{margin:0;font-size:16px}.plant-card-body>.muted{text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0;font-size:13px;overflow:hidden}.plant-meta{color:var(--muted);gap:4px;margin-top:12px;font-size:13px;display:grid}.plant-meta span{align-items:center;gap:6px;min-width:0;display:flex}.plant-meta svg{flex-shrink:0}.status-pill{border-radius:var(--radius-sm);white-space:nowrap;border:1px solid #0000;align-items:center;gap:4px;padding:2px 8px;font-size:12px;font-weight:600;line-height:18px;display:inline-flex}.status-pill.success{color:#1e6b33;background:#e8f5e9;border-color:#cbe6cd}.status-pill.warning{background:var(--warning-soft);color:var(--warning);border-color:#f1dca8}.status-pill.danger{background:var(--danger-soft);color:var(--danger);border-color:#f6c9c3}.status-pill.neutral{background:var(--surface-2);border-color:var(--border);color:var(--text-2)}.tag-row{flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}.tag-row span{background:var(--surface-2);color:var(--text-2);border:1px solid var(--border);border-radius:var(--radius-sm);white-space:normal;overflow-wrap:anywhere;padding:2px 8px;font-size:12px;font-weight:500}.tag-row .care-tag{align-items:center;gap:5px;display:inline-flex}.care-tag svg{flex-shrink:0}.tag-row .care-tag-water{color:#0b5a85;background:#eef6fb;border-color:#cfe5f3}.tag-row .care-tag-light{color:#7a5a06;background:#fdf7e6;border-color:#f1e2b2}.empty-state{text-align:center;place-items:center;gap:8px;padding:48px 16px;display:grid}.empty-icon,.micro-icon{color:var(--green);display:inline-flex}.empty-state h3{margin:4px 0 0;font-size:16px}.empty-state p{color:var(--muted);max-width:420px;margin:0 0 8px;font-size:14px}.loading-card{min-height:40vh;color:var(--muted);place-content:center;justify-items:center;gap:12px;font-size:14px;display:grid}.loading-card p{margin:0}.spinner{border:2px solid var(--border);border-top-color:var(--green);border-radius:50%;width:24px;height:24px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.search-box{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius);color:var(--muted);align-items:center;gap:8px;margin-bottom:16px;padding:0 12px;transition:border-color .15s,box-shadow .15s;display:flex}.search-box:focus-within{border-color:var(--green);box-shadow:0 0 0 3px #2d7d4624}.search-box input{box-shadow:none;background:0 0;border:0;padding-left:0}.search-box input:focus{box-shadow:none}.schedule-filters{flex-wrap:wrap;gap:6px;margin-bottom:16px;display:flex}.schedule-filters button{min-height:32px;padding:0 12px;font-size:13px;font-weight:500}.schedule-filters button.primary{background:var(--text);border-color:var(--text)}.schedule-filters button.primary:hover{background:#2a3a2f}.catalog-controls{flex-wrap:wrap;align-items:flex-end;gap:16px 24px;margin:0 0 20px;display:flex}.catalog-watering-filter{border:0;flex:360px;min-width:0;margin:0;padding:0}.catalog-watering-filter legend{color:var(--text-2);margin-bottom:8px;padding:0;font-size:13px;font-weight:600}.catalog-watering-filter .schedule-filters{margin:0}.catalog-order{min-width:180px}.catalog-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:16px;display:grid}.catalog-card{transition:border-color .15s;overflow:hidden}.catalog-card:hover{border-color:var(--border-strong)}.catalog-card>a{height:100%;display:block}.catalog-card img,.catalog-card .image-placeholder{aspect-ratio:4/3;object-fit:cover;width:100%;height:auto}.catalog-card div:not(.image-placeholder){padding:12px 14px 14px}.catalog-card .tag-row{padding:0!important}.catalog-card h3,.catalog-card p{margin:0}.catalog-card h3{font-size:15px}.catalog-card p{color:var(--muted);margin-top:2px;font-size:13px;font-style:italic}.catalog-pagination{color:var(--muted);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin-top:24px;font-size:14px;display:flex}.details-page{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);display:grid;overflow:hidden}.details-image,.details-content{min-width:0}.details-image{background:var(--surface-2)}.details-image img{object-fit:cover;width:100%;height:100%;min-height:320px;max-height:640px}.details-content{overflow-wrap:anywhere;padding:32px}.details-content h2{margin:0;font-size:30px}.latin{color:var(--muted);margin:4px 0 0;font-style:italic}.catalog-back-button{margin-bottom:20px}.info-grid{background:var(--border);border:1px solid var(--border);border-radius:var(--radius);grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:24px 0;display:grid;overflow:hidden}.details-content .info-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))}.info-grid>div{background:var(--surface);overflow-wrap:anywhere;align-content:start;gap:4px;min-width:0;padding:14px;display:grid}.info-grid svg{width:16px;height:16px;color:var(--green);margin-bottom:4px}.info-grid span{color:var(--muted);font-size:12px;font-weight:500}.info-grid strong{font-size:15px;font-weight:600;line-height:1.4}.micro-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:16px;display:grid}.micro-card{overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;padding:18px;display:flex}.micro-card h3,.micro-card p{margin:0}.micro-card h3{font-size:16px}.micro-card p,.micro-data{color:var(--muted);font-size:14px}.micro-data{flex-wrap:wrap;gap:4px 14px;display:flex}.micro-card>.secondary,.micro-card>.ghost{width:100%}.micro-card>.secondary{margin-top:auto}.weather-summary{background:var(--surface-2);border-radius:var(--radius);gap:6px;width:100%;padding:12px;font-size:14px;display:grid}.weather-summary p{margin:0}.weather-summary a{color:var(--green)}.form-page{justify-items:center;display:grid}.form-panel{width:min(720px,100%)}.form-panel>h2{margin:0 0 4px;font-size:20px}.form-panel>p{color:var(--muted);margin:0}.split-form-page{grid-template-columns:minmax(0,1fr) 320px;place-items:start stretch;gap:20px}.split-form-page .form-panel{width:100%}.preview-card{overflow-wrap:anywhere;padding:16px;position:sticky;top:88px}.preview-card img{aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius);width:100%;height:auto}.preview-card h3{margin:14px 0 4px}.preview-card p{color:var(--muted);font-size:14px}.image-upload{gap:8px;display:grid}.upload-preview{object-fit:cover;border-radius:var(--radius);border:1px solid var(--border);width:140px;height:140px}.plant-details-layout{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:20px;display:grid}.details-main,.care-panel{min-width:0;padding:24px}.care-panel h3{margin:0;font-size:16px}.care-panel .form{margin-top:14px}.back-link{color:var(--muted);align-items:center;gap:6px;margin-bottom:16px;font-size:14px;font-weight:500;display:inline-flex}.back-link:hover{color:var(--text)}.details-cover{aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius);width:100%;max-height:420px;margin-bottom:20px}.details-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.details-header>div:first-child{min-width:0}.details-header h2{overflow-wrap:anywhere;margin:8px 0 2px;font-size:28px}.details-header p{color:var(--muted);margin:0}.details-actions{flex-wrap:wrap;gap:6px;display:flex}.description-text{color:var(--text-2);margin:0;line-height:1.65}.history-list{border-top:1px solid var(--border);gap:0;margin-top:24px;padding-top:20px;display:grid}.history-list h3{margin-bottom:8px}.history-item{border-bottom:1px solid var(--border);padding:10px 0}.history-item:last-child{border-bottom:0}.history-item strong{font-size:14px;display:block}.history-item span{color:var(--muted);font-size:12px;display:block}.history-item p{color:var(--text-2);margin:4px 0 0;font-size:14px}.schedule-list{gap:10px;display:grid}.schedule-card{overflow-wrap:anywhere;min-width:0;box-shadow:none;padding:16px 18px}.schedule-card-heading,.schedules-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:8px 12px;display:flex}.schedule-card h3{margin:0;font-size:16px}.schedule-card p{color:var(--muted);margin:2px 0 0;font-size:14px}.schedule-facts{border-top:1px solid var(--border);border-bottom:1px solid var(--border);grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:12px 20px;margin:14px 0;padding:12px 0;display:grid}.schedule-facts div{min-width:0}.schedule-facts dt{color:var(--muted);align-items:center;gap:5px;font-size:12px;display:flex}.schedule-facts dd{margin:2px 0 0;font-size:14px;font-weight:600}.full-page-panel>p.muted{margin:0 0 16px;font-size:13px}.watering-recalculation{margin-block:8px 20px}.watering-recalculation+.watering-recalculation{border-top:1px solid var(--border);margin-top:28px;padding-top:24px}.watering-recalculation>div:has(>button){flex-wrap:wrap;gap:8px;display:flex}.recalculation-result{margin-top:16px}.recalculation-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:10px;display:grid}.recalculation-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);overflow-wrap:anywhere;padding:14px 16px}.recalculation-card h4{margin:0;font-size:15px}.recalculation-card p{color:var(--text-2);margin:6px 0;font-size:14px;line-height:1.55}.recalculation-dates{flex-wrap:wrap;gap:8px 28px;margin:8px 0 0;display:flex}.recalculation-dates dt{color:var(--muted);font-size:12px}.recalculation-dates dd{margin:2px 0 0;font-size:14px;font-weight:600}.auth-page{background:var(--surface);grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);min-height:100dvh;display:grid}.auth-card{place-self:center;width:min(400px,100%);padding:40px 24px}.auth-card h1{margin:24px 0 6px;font-size:26px}.auth-card>p{color:var(--muted);margin:0;font-size:15px}.auth-logo{border-radius:var(--radius);width:36px;height:36px}.auth-logo svg{width:20px;height:20px}.auth-card .form{margin-top:28px}.auth-switch{color:var(--muted);margin-top:20px;font-size:14px}.auth-switch a{color:var(--green);font-weight:600}.auth-hero{border-radius:var(--radius-lg);color:#fff;background:linear-gradient(#10241700 30%,#102417d1),url(https://images.unsplash.com/photo-1416879595882-3373a0480b5b?auto=format&fit=crop&w=1600&q=80) 50%/cover;flex-direction:column;justify-content:flex-end;margin:12px;padding:40px;display:flex;position:relative}.auth-hero.alt{background-image:linear-gradient(#10241700 30%,#102417d1),url(https://images.unsplash.com/photo-1520412099551-62b6bafeb5bb?auto=format&fit=crop&w=1600&q=80)}.auth-hero span{text-transform:uppercase;letter-spacing:.1em;opacity:.8;font-size:12px;font-weight:600}.auth-hero h2{color:#fff;max-width:560px;margin:8px 0 0;font-size:clamp(26px,3vw,40px);font-weight:600}.auth-hero p{opacity:.85;max-width:520px}.profile-page{gap:20px;max-width:880px;margin:0 auto;display:grid}.profile-summary{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px 24px;padding:20px 24px;display:flex}.profile-identity{align-items:center;gap:14px;min-width:0;display:flex}.profile-avatar{background:var(--green);color:#fff;border-radius:50%;flex-shrink:0;place-items:center;width:48px;height:48px;font-size:18px;font-weight:650;display:grid}.profile-meta{min-width:0}.profile-meta h2{overflow-wrap:anywhere;margin:0;font-size:17px}.profile-sub{color:var(--muted);margin:2px 0 0;font-size:13px}.profile-stats{gap:28px;margin:0;display:flex}.profile-stats div{display:grid}.profile-stats dt{color:var(--muted);font-size:12px}.profile-stats dd{font-variant-numeric:tabular-nums;margin:0;font-size:20px;font-weight:650}.settings-section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden}.settings-section-header{border-bottom:1px solid var(--border);padding:18px 24px 14px}.settings-section-header h3{margin:0;font-size:15px}.settings-section-header p{color:var(--muted);margin:2px 0 0;font-size:13px}.settings-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 24px;margin:0;padding:18px 24px;display:grid}.settings-row+.settings-row{border-top:1px solid var(--border)}.settings-row-info{min-width:0}.settings-row-info>p{color:var(--muted);max-width:560px;margin:4px 0 0;font-size:14px}.settings-row-title{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.settings-row-title svg{color:var(--muted);flex-shrink:0}.settings-row-title strong{font-size:14px;font-weight:600}.settings-row-action{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.settings-state{color:var(--green-2);align-items:center;gap:6px;font-size:13px;font-weight:500;display:inline-flex}.settings-feedback{color:var(--warning)!important;margin:8px 0 0!important;font-size:13px!important}.settings-feedback.success{color:var(--green-2)!important}.settings-feedback.error{color:var(--danger)!important}.inline-steps{color:var(--text-2);gap:2px;margin:8px 0 0;padding-left:18px;font-size:13px;display:grid}.settings-form-row{grid-template-columns:minmax(0,220px) minmax(0,1fr);align-items:start}.settings-row-fields{align-items:flex-start;gap:8px;display:flex}.settings-row-fields label{flex:1}.settings-row-fields.stacked{flex-direction:column;align-items:stretch;max-width:420px}.settings-row-fields.stacked button{align-self:flex-start}.settings-section.danger{border-color:#f2d0cb}.danger-button{background:var(--surface);color:var(--danger);border-color:#eab8b1}.danger-button:hover:not(:disabled){background:var(--danger-soft)}.danger-button.solid{background:var(--danger);color:#fff;border-color:var(--danger)}.danger-button.solid:hover:not(:disabled){background:#941c13}.modal-backdrop{z-index:1000;background:#10181273;place-items:center;padding:16px;animation:.15s fade-in;display:grid;position:fixed;inset:0}.modal-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);width:100%;max-width:420px;box-shadow:var(--shadow-pop);padding:24px;animation:.18s pop-in}.modal-heading{align-items:center;gap:8px;display:flex}.modal-heading h3{margin:0;font-size:17px}.modal-description{color:var(--muted);margin:8px 0 0;font-size:14px}.modal-card .form{margin-top:16px}.modal-actions{justify-content:flex-end;gap:8px;margin-top:4px;display:flex}@keyframes fade-in{0%{opacity:0}}@keyframes pop-in{0%{opacity:0;transform:translateY(6px)scale(.98)}}@media (width<=1100px){.plant-details-layout,.split-form-page{grid-template-columns:minmax(0,1fr)}.preview-card{position:static}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=900px){.app-shell{grid-template-columns:minmax(0,1fr)}.sidebar{display:none}.main-area{padding:0 16px calc(var(--bottom-nav-h) + env(safe-area-inset-bottom) + 24px)}.topbar{min-height:56px;padding:8px 16px;padding-top:calc(8px + env(safe-area-inset-top));margin:0 -16px 16px}.topbar h1{font-size:17px}.mobile-brand{display:block}.btn-label{display:none}.topbar-actions .primary{width:36px;min-height:36px;padding:0}.bottom-nav{z-index:50;height:calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);-webkit-backdrop-filter:blur(10px);border-top:1px solid var(--border);background:#fffffff5;grid-template-columns:repeat(6,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav a{min-width:0;color:var(--muted);-webkit-tap-highlight-color:transparent;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:10.5px;font-weight:500;display:flex;position:relative}.bottom-nav a span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.bottom-nav a.active{color:var(--green-2);font-weight:600}.bottom-nav a.active:before{content:"";background:var(--green);border-radius:0 0 2px 2px;width:24px;height:2px;position:absolute;top:0;left:50%;transform:translate(-50%)}.details-page{grid-template-columns:minmax(0,1fr)}.details-image img{aspect-ratio:4/3;min-height:0;max-height:360px}.auth-page{grid-template-columns:minmax(0,1fr)}.auth-hero{display:none}}@media (width<=640px){:root{font-size:15px}.panel,.details-main,.care-panel{padding:16px}.details-content{padding:20px 16px}.details-content h2,.details-header h2{font-size:24px}.hero-card{flex-direction:column;align-items:stretch;padding:18px}.hero-card h2{font-size:20px}.hero-card .primary{width:100%}.stats-grid{gap:8px}.stat-card{padding:12px 14px}.stat-card strong{font-size:22px}.form.two-columns{grid-template-columns:minmax(0,1fr)}.info-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.info-grid>div:last-child:nth-child(odd){grid-column:1/-1}.schedule-filters{scrollbar-width:none;flex-wrap:nowrap;margin-inline:-16px;padding-inline:16px;overflow-x:auto}.schedule-filters::-webkit-scrollbar{display:none}.schedule-filters button{flex-shrink:0}.catalog-watering-filter .schedule-filters{margin-inline:-16px}.catalog-order{width:100%}.section-title>.primary,.section-title>.secondary{min-height:34px}.schedule-card{padding:14px}.schedule-card>.secondary{width:100%}.details-header{flex-direction:column}.details-actions{width:100%}.details-actions>*{flex:1}.details-cover{aspect-ratio:4/3}.cards-grid,.cards-grid.three{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.plant-card-body{padding:10px 12px 12px}.plant-card-body h3{font-size:14px}.plant-meta{margin-top:8px;font-size:12px}.plant-image-wrap .status-pill{padding:1px 6px;font-size:11px;top:6px;left:6px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.catalog-card div:not(.image-placeholder){padding:10px}.catalog-card .tag-row{display:none}.profile-summary{padding:16px}.profile-stats{border-top:1px solid var(--border);width:100%;padding-top:12px}.settings-section-header{padding:14px 16px 12px}.settings-row,.settings-form-row{grid-template-columns:minmax(0,1fr);padding:16px}.settings-row-action{justify-content:flex-start}.settings-row-action>*{flex:1}.settings-row-fields{flex-direction:column;align-items:stretch}.settings-row-fields.stacked{max-width:none}.settings-row-fields button,.settings-row-fields.stacked button{align-self:stretch}.modal-backdrop{place-items:end center;padding:0}.modal-card{border-radius:var(--radius-lg) var(--radius-lg) 0 0;max-width:none;padding-bottom:calc(24px + env(safe-area-inset-bottom))}.modal-actions>*{flex:1}.auth-card{align-self:start;margin-top:6vh;padding:32px 20px}}@media (width<=360px){.cards-grid,.cards-grid.three,.catalog-grid{grid-template-columns:minmax(0,1fr)}.bottom-nav a span{font-size:9.5px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.notification-bell-wrapper{align-items:center;display:inline-flex;position:relative}.notification-bell-btn{border:1px solid var(--border-strong);background:var(--surface);width:38px;height:38px;color:var(--text);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;padding:0;transition:background .15s,border-color .15s;display:inline-flex;position:relative}.notification-bell-btn:hover{background:var(--surface-2)}.notification-bell-badge{color:#fff;text-align:center;background:#dc2626;border-radius:999px;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:700;line-height:18px;position:absolute;top:-5px;right:-5px;box-shadow:0 1px 3px #0003}.notification-dropdown{background:var(--surface);border:1px solid var(--border-strong);z-index:60;border-radius:14px;flex-direction:column;width:min(360px,100vw - 24px);max-height:min(70vh,420px);display:flex;position:absolute;top:calc(100% + 8px);right:0;overflow:hidden;box-shadow:0 12px 32px #17231b24}@media (width<=640px){.notification-dropdown{width:auto;max-height:min(72vh,440px);position:fixed;top:64px;left:12px;right:12px}}.notification-dropdown-header{border-bottom:1px solid var(--border);background:var(--surface-2);justify-content:space-between;align-items:center;gap:8px;padding:12px 14px;display:flex}.notification-read-all-btn{color:#2d7d46;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:4px;padding:4px 6px;font-size:12px;font-weight:600;display:inline-flex}.notification-read-all-btn:hover{background:var(--surface-3)}.notification-dropdown-list{flex-direction:column;display:flex;overflow-y:auto}.notification-item{text-align:left;border:none;border-bottom:1px solid var(--border);background:var(--surface);cursor:pointer;flex-direction:column;gap:4px;width:100%;padding:12px 14px;transition:background .12s;display:flex}.notification-item:last-child{border-bottom:none}.notification-item.unread{background:#f3faf5}.notification-item:hover{background:var(--surface-2)}.notification-item-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.notification-item-title{color:var(--text);font-size:13px;font-weight:600}.notification-unread-dot{background:#2d7d46;border-radius:50%;flex-shrink:0;width:8px;height:8px}.notification-item-body{color:var(--text-2);margin:0;font-size:12.5px;line-height:1.4}.notification-item-time{color:#6b7280;font-size:11px}.notification-empty{text-align:center;color:var(--text-2);margin:0;padding:24px 16px;font-size:13px}
