@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:"Avenir Next","PingFang SC","Microsoft YaHei",sans-serif;--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.static{position:static}.block{display:block}.hidden{display:none}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--green:#10b981;--deep:#164b3e;--ink:#203d35;--muted:#7b8985;--line:#e7eeea;--background:#f8fafc;--font-sans:"Avenir Next","PingFang SC","Microsoft YaHei",sans-serif}*{box-sizing:border-box}body{color:var(--ink);background:var(--background);margin:0;font-family:Avenir Next,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled,.disabled{opacity:.5;cursor:not-allowed}button{transition:background .18s,transform .18s,border-color .18s}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:3px;outline:3px solid #72d9b8}button:hover:not(:disabled){filter:brightness(.98)}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button svg{flex-shrink:0}.app-shell{min-height:100vh;display:flex}.sidebar{border-right:1px solid var(--line);z-index:20;background:#fff;flex-direction:column;width:238px;padding:39px 24px 22px;display:flex;position:fixed;inset:0 auto 0 0}.brand{letter-spacing:1px;align-items:center;gap:11px;font-size:23px;font-weight:750;display:flex}.brand-icon{background:var(--green);color:#fff;border-radius:14px;place-items:center;width:44px;height:44px;display:grid;box-shadow:0 5px 12px #10b98120}.brand small{letter-spacing:2px;color:#82968c;margin-top:4px;font-size:8px;font-weight:600;display:block}.sidebar-caption{color:#9aa69f;letter-spacing:1px;margin:24px 0 31px 8px;font-size:11px}.sidebar nav{gap:9px;display:grid}.nav-item{color:#7c8c84;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;padding:15px 17px;font-weight:600;display:flex}.nav-item span{opacity:.5;margin-left:auto;font-size:10px;font-weight:400}.nav-item.active{color:#16845e;background:#eaf7f0}.sidebar-note{background:#f5f8f3;border-radius:13px;margin-top:auto;padding:30px 16px 31px;position:relative;overflow:hidden}.sidebar-note:after{content:"";border:1px solid #e1e9db;border-radius:50%;width:130px;height:130px;position:absolute;top:33px;right:-65px}.note-icon{color:#8caa75;margin-bottom:18px}.sidebar-note h3{letter-spacing:1px;font-size:19px;font-weight:500;line-height:1.8}.sidebar-note p{color:#8b9786;margin-top:11px;font-size:11px;line-height:1.9}.tiny-label{letter-spacing:1px;color:#a2ad99;margin-top:25px;font-size:7px;display:block}.family-profile{border-top:1px solid var(--line);align-items:center;gap:9px;margin-top:23px;padding-top:24px;display:flex}.avatar{color:#6d8b70;background:#edf3ec;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.family-profile div{flex:1;min-width:0}.family-profile strong{white-space:nowrap;text-overflow:ellipsis;font-size:11px;display:block;overflow:hidden}.family-profile small{color:#9aa69f;margin-top:4px;font-size:9px;display:block}.main-shell{flex:1;min-width:0;margin-left:238px}.top-header{border-bottom:1px solid var(--line);background:#ffffff80;justify-content:space-between;align-items:center;height:77px;padding:0 49px;display:flex}.breadcrumb{color:#96a099;font-size:11px}.breadcrumb span{color:#c6cfc8;padding:0 14px}.breadcrumb strong{color:#5e7267;font-weight:500}.local-badge{color:#81938a;align-items:center;gap:7px;font-size:10px;display:flex}.local-badge>span,.section-kicker>span{background:var(--green);border-radius:50%;width:6px;height:6px;display:inline-block}main{max-width:1450px;margin:auto;padding:39px 49px 30px}.page-heading{justify-content:space-between;align-items:center;margin-bottom:29px;display:flex}.eyebrow{letter-spacing:2px;color:#7f9b8d;font-size:9px;font-weight:600}.page-heading h1{letter-spacing:1.5px;margin:9px 0 10px;font-size:31px;font-weight:650}.heading-dot{color:var(--green)}.page-heading p{color:#8a9990;letter-spacing:.6px;font-size:12px}.button{white-space:nowrap;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:11px 17px;font-size:12px;font-weight:600;display:inline-flex}.primary{background:var(--green);color:#fff;box-shadow:0 4px 10px #10b98115}.secondary{color:#526e60;background:#fff;border-color:#dfe8e1}.danger{color:#fff;background:#d35252}.welcome-panel{background:#eaf4ed;border:1px solid #e1ece3;border-radius:16px;min-height:254px;display:flex;position:relative;overflow:hidden}.welcome-copy{z-index:1;flex:1;padding:30px 35px;position:relative}.section-kicker{color:#6d927b;letter-spacing:.6px;align-items:center;gap:7px;font-size:10px;display:flex}.welcome-copy h2{letter-spacing:1.5px;color:#2b6048;margin:13px 0 11px;font-size:28px;font-weight:500;line-height:1.6}.welcome-copy p{color:#8aa08e;font-size:11px;line-height:1.85}.text-link{color:#447f60;background:0 0;border:0;align-items:center;gap:7px;margin-top:20px;padding:0;font-size:11px;font-weight:600;display:flex}.medicine-art{isolation:isolate;width:43%;min-height:270px;position:relative}.art-circle{z-index:-1;border-radius:50%;position:absolute}.circle-one{background:#deebe1;width:250px;height:250px;top:24px;right:28px}.circle-two{border:1px solid #d3e3d5;width:300px;height:300px;top:0;right:4px}.art-bottle{z-index:3;background:linear-gradient(100deg,#fcfdf5,#e3e6d8);border-radius:15px 15px 20px 20px;width:92px;height:145px;position:absolute;bottom:40px;right:66px;transform:rotate(10deg);box-shadow:10px 14px 20px #53794c17}.bottle-cap{background:repeating-linear-gradient(90deg,#e8eadd 0 4px,#d9dece 5px,#e5e8d9 6px);border-radius:8px 8px 3px 3px;height:31px;position:absolute;top:-17px;left:2px;right:2px}.bottle-label{text-align:center;color:#fcfff4;background:#b3c69b;margin-top:35px;padding:13px 0}.bottle-label span{letter-spacing:2px;font-size:7px}.bottle-label i{font-size:37px;font-style:normal;font-weight:700;line-height:1.1;display:block}.bottle-label small{letter-spacing:.5px;font-size:4px}.art-box{color:#6e947d;z-index:2;background:linear-gradient(110deg,#fffef6,#f1f0df);border:1px solid #fff;width:117px;height:158px;padding:18px;position:absolute;bottom:43px;right:150px;transform:rotate(-12deg);box-shadow:7px 13px 14px #68826519}.art-box>span{letter-spacing:2px;font-size:9px;line-height:1.7;display:block}.art-box>div{color:#85ad94;font-size:52px;font-weight:700;line-height:1.2}.art-box small{white-space:nowrap;font-size:6px}.art-pill{z-index:5;background:linear-gradient(90deg,#fafbf5 50%,#b5cba3 50%);border-radius:50px;width:53px;height:22px;position:absolute;bottom:38px;right:194px;transform:rotate(-23deg);box-shadow:4px 5px 5px #48654e1a}.art-spark{color:#afc8b1;font-size:23px;font-weight:300;position:absolute}.spark-one{top:37px;right:111px}.spark-two{font-size:17px;bottom:66px;left:13px}.art-caption{letter-spacing:2px;color:#97ad97;font-size:6px;position:absolute;bottom:18px;right:50px}.stats-grid{grid-template-columns:repeat(4,1fr);gap:15px;margin:24px 0 35px;display:grid}.stat-card{border:1px solid var(--line);text-align:left;background:#fff;border-radius:12px;padding:19px 21px;box-shadow:0 3px 7px #234a3602}.stat-top{color:#8c9a92;justify-content:space-between;font-size:11px;display:flex}.stat-top svg{color:#a0b6aa}.stat-number{font-variant-numeric:tabular-nums;margin-top:8px;font-size:33px;font-weight:550;line-height:1.4}.stat-number small{color:#94a098;margin-left:9px;font-size:10px;font-weight:400}.stat-note{color:#a0aaa2;margin-top:4px;font-size:9px}.stat-expired .stat-number,.stat-expired svg{color:#d67a71}.stat-soon .stat-number,.stat-soon svg{color:#c89a4d}.stat-safe .stat-number,.stat-safe svg{color:#50a880}.inventory-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:23px;display:flex}.inventory-heading h2{letter-spacing:.3px;font-size:18px;font-weight:600}.inventory-heading h2 span{color:#84978a;vertical-align:middle;background:#edf2ee;border-radius:5px;margin-left:8px;padding:3px 7px;font-size:10px}.inventory-heading p{color:#99a59c;margin-top:7px;font-size:10px}.household-tools{align-items:center;gap:9px;display:flex}select{appearance:auto;border:1px solid var(--line);color:#62776a;background:#fff;border-radius:7px;max-width:100%;padding:10px;font-size:11px}.household-tools select{background:0 0;border:0;max-width:180px;padding:6px;font-weight:600}.invite-button{color:#8b9d90;background:0 0;border:1px dashed #d8e3db;border-radius:5px;align-items:center;gap:5px;padding:6px 8px;font-size:9px;display:flex}.inventory-toolbar{gap:12px;display:flex}.search-field{border:1px solid var(--line);color:#a6b3aa;background:#fff;border-radius:8px;flex:1;align-items:center;gap:9px;padding:0 14px;display:flex}.search-field input{outline-offset:0;background:0 0;border:0;width:100%;min-width:0;padding:12px 0;font-size:11px}.search-field input::placeholder{color:#a6b0a9}.inventory-toolbar>select{width:138px}.filter-row{flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0 22px;display:flex}.filter-pill{color:#8b9a90;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:7px;padding:7px 12px;font-size:10px;display:flex}.filter-pill.selected{color:#388060;background:#e8f4ed;border-color:#d4e9dc}.filter-pill span{opacity:.7;margin-left:3px;font-size:9px}.status-dot{background:currentColor;border-radius:50%;flex-shrink:0;width:5px;height:5px;display:inline-block}.status-dot.expired{background:#d78078}.status-dot.soon{background:#cfa251}.status-dot.safe{background:#64ac87}.sort-label{color:#a0aaa3;margin-left:auto;font-size:9px}.medicine-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;display:grid}.medicine-card{border:1px solid var(--line);background:#fff;border-top:3px solid #9bcab0;border-radius:11px;min-width:0;padding:19px 20px 0;animation:.35s both appear;box-shadow:0 4px 12px #234a3603}.medicine-card.status-expired{border-top-color:#e1aba4}.medicine-card.status-soon{border-top-color:#e5c685}.card-top{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.medicine-symbol{color:#83a58c;background:#edf4ee;border-radius:12px;place-items:center;width:47px;height:47px;display:grid}.status-expired .medicine-symbol{color:#cda18e;background:#faf0ed}.status-soon .medicine-symbol{color:#c7ad77;background:#faf4e7}.status-tag{border-radius:5px;align-items:center;gap:5px;padding:4px 7px;font-size:9px;display:flex}.status-tag.expired{color:#cb8077;background:#fbefed}.status-tag.soon{color:#b6954e;background:#fbf5e6}.status-tag.safe{color:#70a687;background:#edf7f0}.category-label{color:#94a198;letter-spacing:.5px;font-size:9px}.medicine-card h3{overflow-wrap:anywhere;margin:6px 0 9px;font-size:15px;font-weight:600;line-height:1.5}.dosage-summary{color:#9aa69d;-webkit-line-clamp:2;-webkit-box-orient:vertical;height:36px;margin-bottom:17px;font-size:10px;line-height:1.8;display:-webkit-box;overflow:hidden}.expiry-line{color:#9aa99f;align-items:center;gap:5px;font-size:9px;display:flex}.expiry-line strong{color:#758c7c;white-space:nowrap;margin-left:auto;font-weight:500}.expiry-note{margin:7px 0 17px;font-size:9px}.expiry-note.expired{color:#cb847c}.expiry-note.soon{color:#b89a60}.expiry-note.safe{color:#8daa93}.card-meta{color:#a1aba4;justify-content:space-between;gap:6px;padding-bottom:15px;font-size:9px;display:flex}.card-meta strong{color:#7a8c7d;margin:0 4px;font-weight:500}.card-actions{border-top:1px solid #f0f3ee;justify-content:space-between;align-items:center;padding:10px 0;display:flex}.card-actions button{color:#92a196;background:0 0;border:0;align-items:center;gap:5px;padding:4px;font-size:9px;display:inline-flex}.card-actions>div{gap:8px;display:flex}.card-actions .delete-action:hover{color:#c65f5f}.add-card{color:#8ba18f;background:#f6f9f5;border:1px dashed #d5e2d8;border-radius:11px;flex-direction:column;justify-content:center;align-items:center;gap:13px;min-height:260px;display:flex}.add-card>span{color:#9ab28f;background:#eaf1e7;border-radius:50%;place-items:center;width:45px;height:45px;display:grid}.add-card strong{font-size:12px;font-weight:500}.add-card small{color:#acb8ac;font-size:9px}.care-note{color:#93a58e;background:#f0f4ec;border:1px solid #e9eee3;border-radius:9px;align-items:center;gap:9px;margin-top:26px;padding:15px 17px;font-size:9px;line-height:1.8;display:flex}.care-note>svg{flex-shrink:0}.care-note>svg:last-child{margin-left:auto}.care-note strong{color:#799671;margin-right:9px;font-weight:600}.scan-fab{z-index:15;border-radius:12px;padding:15px 21px;font-size:13px;position:fixed;bottom:31px;right:36px;box-shadow:0 7px 25px #138b6630}.scan-fab>span{border:1px solid #ffffff60;border-radius:4px;margin-left:4px;padding:2px 4px;font-size:8px}footer{color:#b0bab1;gap:20px;max-width:1450px;margin:auto;padding:8px 49px 25px;font-size:9px;display:flex}footer>span{margin-left:auto;margin-right:160px}.mobile-nav{display:none}.empty-state{color:#8ba18f;text-align:center;background:#fff;border:1px dashed #dbe7df;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:15px;min-height:260px;padding:20px;display:flex}.empty-state h3{color:#627e6b;font-size:17px}.empty-state p{font-size:12px}.inline-notice{background:#edf6f0;border-radius:6px;margin-bottom:15px;padding:10px;font-size:11px}.modal{width:min(640px,100vw - 28px);max-height:90dvh;color:var(--ink);background:#fff;border:0;border-radius:16px;margin:auto;padding:0;box-shadow:0 25px 100px #193e3720}.modal::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#17392d66}.modal-inner{padding:26px}.modal-header{justify-content:space-between;align-items:center;margin-bottom:13px;display:flex}.modal-header h2{font-size:20px;font-weight:600}.icon-button{color:#78917e;background:#f2f6f2;border:0;border-radius:7px;place-items:center;padding:7px;display:grid}.modal-description{color:#8a9a8d;margin-bottom:20px;font-size:12px;line-height:1.9}.upload-area{background:#f5faf6;border:1px dashed #c8dfd1;border-radius:10px;align-items:center;gap:18px;margin-bottom:20px;padding:20px;display:flex}.upload-symbol{color:#7daa8c;background:#e9f2e9;border-radius:12px;padding:14px}.upload-area strong{font-size:12px}.upload-area p{color:#96a598;margin:6px 0 12px;font-size:10px;line-height:1.8}.upload-buttons{gap:8px;display:flex}.upload-buttons .button{padding:7px 10px;font-size:10px}.image-preview{object-fit:contain;background:#fff;border-radius:7px;width:85px;height:100px}.medicine-form fieldset{border:0;min-width:0;padding:0}.form-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.form-grid label{color:#708375;flex-direction:column;gap:7px;font-size:11px;display:flex}.form-grid label>span{display:none}.full-width{grid-column:1/-1}.form-grid input,.form-grid select,.form-grid textarea{color:#435e4c;background:#fff;border:1px solid #dfe8e1;border-radius:7px;width:100%;min-width:0;padding:10px;font-size:12px}.form-grid textarea{resize:vertical;min-height:65px}.confirm-check{color:#89998b;align-items:flex-start;gap:9px;margin:20px 0;font-size:11px;line-height:1.8;display:flex}.confirm-check input{accent-color:var(--green);margin-top:4px}.form-actions{border-top:1px solid var(--line);justify-content:flex-end;align-items:center;gap:9px;padding-top:18px;display:flex}.save-note{color:#9aac9d;align-items:center;gap:4px;margin-right:auto;font-size:9px;display:flex}.warning-banner,.error-banner{color:#9e7d3b;background:#fff8e7;border-radius:8px;margin-bottom:15px;padding:12px 15px;font-size:11px;line-height:1.9}.error-banner{color:#b36661;background:#fdf0ee}.leaflet h3{margin:8px 0 24px;font-size:23px}.leaflet section{margin-bottom:20px}.leaflet h4{color:#547c61;margin:0 0 8px;font-size:12px}.leaflet p{color:#89998c;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.9}.assistant-badge{color:#6e957a;background:#edf5ee;border-radius:7px;align-items:center;gap:7px;padding:9px 12px;font-size:10px;display:flex}.medical-disclaimer{color:#a48a51;background:#fff8e9;border:1px solid #efe5ca;border-radius:10px;align-items:center;gap:12px;margin-bottom:22px;padding:16px 19px;font-size:11px;line-height:1.9;display:flex}.medical-disclaimer svg{flex-shrink:0}.chat-panel{border:1px solid var(--line);background:#fff;border-radius:14px;overflow:hidden}.chat-top{border-bottom:1px solid var(--line);align-items:center;gap:11px;padding:20px 24px;display:flex}.assistant-avatar{color:#44a977;background:#e6f5ec;border-radius:12px;place-items:center;width:40px;height:40px;display:grid}.chat-top strong{font-size:12px;display:block}.chat-top small{color:#96a79a;margin-top:5px;font-size:10px;display:block}.chat-mode{color:#8daa93;background:#f3f7f2;border-radius:5px;margin-left:auto;padding:6px;font-size:9px}.chat-messages{overscroll-behavior:contain;scroll-behavior:smooth;height:480px;padding:26px;overflow-y:auto}.chat-welcome{text-align:center;flex-direction:column;align-items:center;padding:14px 0 0;display:flex}.chat-welcome-icon{color:#6dad8a;background:#eff7ef;border-radius:22px;place-items:center;width:66px;height:66px;margin-bottom:20px;display:grid}.chat-welcome .eyebrow{font-size:8px}.chat-welcome h2{letter-spacing:1px;margin:11px 0;font-size:25px;font-weight:500;line-height:1.6}.chat-welcome p{color:#9cab9f;font-size:11px;line-height:1.9}.suggestion-list{gap:8px;width:100%;max-width:400px;margin-top:23px;display:grid}.suggestion-list button{border:1px solid var(--line);color:#839a87;text-align:left;background:#fbfdfb;border-radius:7px;justify-content:space-between;align-items:center;gap:12px;padding:11px 13px;font-size:10px;display:flex}.chat-message{flex-direction:column;align-items:flex-start;margin-bottom:22px;display:flex}.message-label{color:#91a695;margin:0 3px 6px;font-size:9px}.message-bubble{white-space:pre-wrap;overflow-wrap:anywhere;background:#f1f6f1;border-radius:0 12px 12px;max-width:88%;padding:14px 17px;font-size:12px;line-height:1.9}.chat-message.user{align-items:flex-end}.user .message-bubble{background:#e2f3e9;border-radius:12px 0 12px 12px}.chat-message time{color:#b0bcb2;margin:6px 2px 0;font-size:8px}.chat-loading{color:#83a28c;align-items:center;gap:8px;font-size:11px;display:flex}.chat-composer{border-top:1px solid var(--line);gap:12px;padding:18px 22px;display:flex}.chat-composer textarea{resize:none;outline-offset:1px;color:#54735d;border:0;flex:1;min-width:0;padding:5px;font-size:12px;line-height:1.7}.chat-composer textarea::placeholder{color:#adbaaf}.chat-composer button{align-self:center;padding:12px}.chat-bottom{color:#a4b2a7;align-items:center;gap:5px;padding:0 24px 16px;font-size:9px;line-height:1.6;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes appear{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media (min-width:1500px){main{padding-top:48px}.welcome-panel{min-height:290px}.welcome-copy{padding:35px 43px}.medicine-art{margin-right:45px}.medicine-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:1180px){.sidebar{width:205px;padding-left:18px;padding-right:18px}.main-shell{margin-left:205px}.top-header{padding:0 30px}main{padding:30px}.medicine-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome-copy{padding:27px}.welcome-copy h2{font-size:24px}.medicine-art{transform-origin:100%;width:40%;transform:scale(.88)}.stat-card{padding:15px}.stat-note{font-size:8px}.household-tools{flex-wrap:wrap;justify-content:flex-end;gap:3px}.stats-grid{gap:10px}footer{padding-left:30px;padding-right:30px}.sidebar-note{padding:22px 14px}}@media (max-width:800px){.sidebar{display:none}.main-shell{margin-left:0}.top-header{height:59px;padding:0 23px}main{padding:27px 23px 95px}.page-heading h1{font-size:28px}.page-heading{margin-bottom:24px}.eyebrow{letter-spacing:1.6px;font-size:8px}.medicine-grid{gap:14px}.mobile-nav{z-index:30;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);border-top:1px solid var(--line);height:67px;padding-bottom:env(safe-area-inset-bottom);background:#fffffff5;display:flex;position:fixed;inset:auto 0 0}.mobile-nav button{color:#9aab9f;background:0 0;border:0;flex:1;justify-content:center;align-items:center;gap:8px;font-size:12px;display:flex}.mobile-nav button[aria-current=page]{color:#16966a}.scan-fab{padding:14px 17px;bottom:84px;right:22px}.welcome-panel{min-height:245px}.welcome-copy h2{font-size:25px}.medicine-art{width:38%;transform:scale(.85)}.stats-grid{margin-bottom:28px}.inventory-heading{align-items:flex-start}footer{display:none}.chat-messages{height:470px}.assistant-badge{display:none}}@media (max-width:520px){main{padding:24px 17px 105px}.top-header{padding:0 18px}.local-badge{font-size:8px}.breadcrumb{font-size:10px}.page-heading h1{letter-spacing:.5px;font-size:26px}.page-heading .eyebrow{font-size:6px}.page-heading p{font-size:10px}.desktop-add{padding:9px 10px;font-size:10px}.desktop-add svg{width:14px}.welcome-panel{border-radius:12px;min-height:224px}.welcome-copy{padding:23px 20px}.section-kicker{font-size:8px}.welcome-copy h2{letter-spacing:.5px;margin-top:13px;font-size:21px}.welcome-copy p{font-size:9px}.text-link{gap:3px;margin-top:15px;font-size:9px}.medicine-art{transform-origin:90% 65%;opacity:.9;width:47%;height:100%;min-height:224px;position:absolute;right:-12px;transform:scale(.58)}.welcome-copy{flex:none}.circle-two{right:-30px}.stats-grid{grid-template-columns:repeat(2,1fr);gap:10px;margin:17px 0 27px}.stat-card{padding:14px 16px}.stat-top{font-size:10px}.stat-number{margin-top:5px;font-size:29px}.stat-note{font-size:9px}.inventory-heading{margin-bottom:17px;display:block}.inventory-heading h2{font-size:17px}.inventory-heading p{font-size:9px}.household-tools{justify-content:flex-start;margin-top:14px}.household-tools select{padding-left:0;font-size:10px}.invite-button{margin-left:auto;font-size:8px}.inventory-toolbar{gap:8px}.inventory-toolbar>select{width:106px;font-size:10px}.search-field{gap:6px;padding-left:10px}.search-field input{font-size:10px}.search-field svg{width:15px}.filter-row{gap:2px;margin:13px 0 17px}.filter-pill{gap:5px;padding:7px 8px;font-size:9px}.filter-pill span{margin-left:0;font-size:8px}.sort-label{display:none}.medicine-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.medicine-card{border-radius:9px;padding:13px 12px 0}.card-top{gap:4px;margin-bottom:13px}.medicine-symbol{border-radius:10px;width:36px;height:36px}.medicine-symbol svg{width:22px}.status-tag{gap:3px;padding:4px;font-size:8px}.status-tag i{width:4px;height:4px}.medicine-card h3{min-height:36px;font-size:12px}.category-label{font-size:8px}.dosage-summary{height:32px;margin-bottom:13px;font-size:9px}.expiry-line{flex-wrap:wrap;gap:3px;font-size:8px}.expiry-line svg{width:11px}.expiry-line strong{font-size:9px}.expiry-line>span{display:none}.expiry-note{margin-bottom:12px;font-size:8px}.card-meta{gap:2px;padding-bottom:10px;font-size:8px}.card-meta strong{margin:0 2px}.card-actions{padding:8px 0}.card-actions button{gap:3px;padding:2px;font-size:8px}.card-actions button svg{width:12px}.card-actions>div{gap:5px}.add-card{gap:12px;min-height:235px;padding:10px}.add-card strong{font-size:10px}.add-card small{font-size:8px;line-height:1.7}.care-note{align-items:flex-start;margin-top:18px;padding:12px;font-size:8px}.care-note svg{width:15px}.care-note>svg:last-child{display:none}.care-note strong{margin-right:3px}.scan-fab{border-radius:10px;padding:12px 16px;font-size:12px;right:17px}.modal-inner{padding:20px 17px}.modal-header h2{font-size:18px}.upload-area{gap:12px;padding:13px}.upload-symbol{padding:10px}.upload-area strong{font-size:11px}.upload-area p{font-size:9px}.upload-buttons .button{padding:7px;font-size:9px}.form-grid{gap:13px}.save-note{display:none}.form-actions .button{font-size:11px}.medical-disclaimer{align-items:flex-start;gap:8px;padding:13px;font-size:10px}.medical-disclaimer svg{width:18px}.chat-top{gap:8px;padding:16px 13px}.chat-top strong{font-size:11px}.chat-top small{max-width:190px;font-size:8px;line-height:1.6}.chat-mode{white-space:nowrap;padding:4px;font-size:8px}.assistant-avatar{flex-shrink:0;width:32px;height:32px}.chat-messages{height:450px;padding:17px 13px}.chat-welcome h2{font-size:23px}.chat-welcome p{font-size:10px}.suggestion-list button{padding:10px;font-size:9px}.chat-composer{gap:8px;padding:13px 12px}.chat-bottom{padding:0 13px 13px;font-size:8px}.message-bubble{max-width:95%;padding:12px;font-size:11px}.chat-welcome-icon{width:52px;height:52px;margin-bottom:16px}.image-preview{width:65px;height:85px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
