:root{color:#1e3550;font-synthesis:none;text-rendering:optimizelegibility;--blue-900:#1e4267;--blue-700:#315b87;--blue-100:#e7f0fa;--blue-50:#f5f8fc;--green-700:#4f8b78;--green-100:#e5f2ed;--ink:#1e3550;--muted:#60758c;--line:#d9e4f0;--white:#fff;--urgent:#d95f45;--shadow:0 12px 30px #2d557d1f;background:#f5f8fc;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button{cursor:pointer}#root{min-height:100vh}.app-shell{min-height:100vh;padding-bottom:80px}.app-shell__space{width:min(100%,760px);margin:0 auto;padding:14px 20px 0}.icon-box{flex:none;justify-content:center;align-items:center;display:inline-flex}.icon-box>svg{width:20px;height:20px;display:block}.space-switcher{border:1px solid var(--line);min-height:58px;color:var(--blue-900);background:var(--white);border-radius:16px;grid-template-columns:36px minmax(0,1fr) 22px;align-items:center;gap:10px;padding:9px 12px;display:grid;position:relative;box-shadow:0 4px 16px #2d557d0f}.space-switcher--household{border-color:#b7d9cd}.space-switcher__icon{width:36px;height:36px;color:var(--blue-700);background:var(--blue-100);border-radius:11px}.space-switcher--household .space-switcher__icon{color:var(--green-700);background:var(--green-100)}.space-switcher__copy{gap:2px;min-width:0;display:grid}.space-switcher__copy small{color:var(--muted);font-size:.72rem}.space-switcher__copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:.92rem;overflow:hidden}.space-switcher__arrow{width:22px;height:22px;color:var(--muted)}.space-switcher__arrow>svg{width:16px;height:16px}.space-switcher select{cursor:pointer;opacity:0;width:100%;height:100%;position:absolute;inset:0}.space-switcher--fixed{grid-template-columns:36px minmax(0,1fr)}.space-switcher__status{color:var(--muted);margin:0;padding:14px 2px;font-size:.86rem}.home-page,.future-page{width:min(100%,760px);margin:0 auto;padding:28px 20px 36px}.home-header,.section-heading,.space-label,.priority-card,.health-card,.quick-actions{align-items:center;display:flex}.home-header,.section-heading{justify-content:space-between;gap:16px}.home-header h1,.auth-card h1,.future-page h1{color:var(--blue-900);margin:4px 0 0;font-size:clamp(1.65rem,7vw,2.25rem)}.home-page{padding-top:20px}.home-brand{color:#4b7ca8;letter-spacing:.08em;margin:0;font-size:.74rem;font-weight:800}.today-sub{color:var(--muted);margin:5px 0 0;font-size:.82rem}.home-page>.space-switcher{margin:19px 0 15px}.home-preview-note{color:#4b7ca8;background:#eef6fd;border-radius:10px;margin:10px 0 0;padding:8px 10px;font-size:.72rem}.eyebrow{color:var(--muted);letter-spacing:.04em;margin:0;font-size:.86rem;font-weight:700}.icon-button{border:1px solid var(--line);background:var(--white);border-radius:50%;width:44px;height:44px}.home-header .icon-button{color:#e5a51a}.home-notification-icon{object-fit:contain;opacity:.88;filter:sepia(.7)saturate(2.2)hue-rotate(320deg)brightness(.84)contrast(1.1)drop-shadow(0 1px 1px #9a582d2e);width:31px;height:31px;display:block}.space-label,.health-card,.priority-card,.timeline{border:1px solid var(--line);background:var(--white);box-shadow:var(--shadow);border-radius:18px;margin-top:20px}.space-label{gap:12px;padding:15px 16px}.space-label__icon{width:34px;height:34px;color:var(--blue-700);background:var(--blue-100);border-radius:10px;place-items:center;display:grid}.space-label small,.health-card span,.priority-card p{color:var(--muted);margin-top:3px;font-size:.86rem;display:block}.health-card{background:#eff6fd;border-color:#b8cee4;gap:6px;margin-top:16px;padding:16px;display:grid}section{margin-top:30px}.section-heading h2,.timeline h2{margin:0;font-size:1.08rem}.text-button{color:var(--blue-700);background:0 0;border:0;font-weight:700}.priority-card{gap:13px;padding:16px}.priority-card--urgent{border-left:5px solid var(--urgent)}.priority-card strong{font-size:.98rem}.priority-card p{margin-bottom:0}.home-reminder-list{gap:10px;margin:12px 0 0;padding:0;list-style:none;display:grid}.home-reminder{border:1px solid var(--line);width:100%;min-height:58px;color:var(--ink);background:var(--white);text-align:left;border-radius:15px;grid-template-columns:50px minmax(0,1fr) 24px;align-items:center;gap:10px;padding:10px 12px;display:grid;box-shadow:0 4px 16px #2d557d0f}.home-reminder__time{color:var(--blue-700);font-size:.84rem;font-weight:800}.home-reminder__copy{min-width:0}.home-reminder__copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:.92rem;display:block;overflow:hidden}.home-reminder__arrow{width:24px;height:24px;color:var(--muted)}.home-reminder__arrow>svg{width:16px;height:16px}.home-reminder-empty{border:1px solid var(--line);color:var(--muted);background:var(--white);border-radius:15px;margin:12px 0 0;padding:15px;font-size:.88rem}.status-dot{background:var(--urgent);border-radius:50%;width:11px;height:11px}.calendar-mark{width:38px;height:38px;color:var(--blue-700);background:var(--blue-100);border-radius:10px;place-items:center;font-weight:800;display:grid}.timeline{padding:17px}.timeline p{color:var(--muted);grid-template-columns:58px 1fr;gap:10px;margin:14px 0 0;display:grid}.timeline time{color:var(--blue-700);font-weight:800}.quick-actions{align-items:stretch;gap:12px;margin-top:26px}.primary-button,.secondary-button{border-radius:14px;min-height:48px;padding:0 18px;font-weight:800}.primary-button{border:1px solid var(--blue-700);color:var(--white);background:var(--blue-700);flex:1}.secondary-button{border:1px solid var(--line);color:var(--blue-700);background:var(--white)}.home-attention{color:var(--white);background:linear-gradient(135deg, var(--blue-700), #3d82bc);border-radius:20px;margin-top:0;padding:16px;box-shadow:0 10px 24px #2466a333}.home-attention__top{justify-content:space-between;align-items:center;gap:12px;display:flex}.home-attention__top small{opacity:.86;font-size:.78rem;font-weight:800}.home-attention__top button{color:var(--white);background:0 0;border:0;align-items:center;gap:2px;padding:0;font-size:.76rem;font-weight:800;display:inline-flex}.home-attention__top button svg{width:14px;height:14px}.home-attention__main{align-items:end;gap:10px;margin-top:12px;display:flex}.home-attention__main strong{letter-spacing:-.05em;font-size:2.5rem;line-height:.9}.home-attention__main span{opacity:.92;padding-bottom:3px;font-size:.88rem}.home-attention p{opacity:.88;margin:12px 0 0;font-size:.8rem}.home-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:11px;display:grid}.home-metric{border:1px solid var(--line);min-width:0;color:var(--ink);background:var(--white);text-align:left;border-radius:17px;padding:14px;box-shadow:0 5px 15px #20456c0a}.home-metric small{color:var(--muted);font-size:.75rem;font-weight:800;display:block}.home-metric strong{color:var(--blue-900);margin:9px 0 3px;font-size:1.55rem;line-height:1;display:block}.home-metric p{color:var(--muted);align-items:center;gap:5px;margin:0;font-size:.7rem;display:inline-flex}.home-metric__dot{background:#e9a027;border-radius:50%;width:6px;height:6px}.home-metric--urgent{background:#fffaf9;border-color:#efd2cd}.home-metric--urgent strong{color:#b24b40}.home-metric--week strong{color:var(--blue-900)}.home-reminder-section{margin-top:23px}.home-item-list{gap:8px;margin:10px 0 0;padding:0;list-style:none;display:grid}.home-item-row{border:1px solid var(--line);width:100%;min-height:62px;color:var(--ink);background:var(--white);text-align:left;border-radius:16px;grid-template-columns:43px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 11px;display:grid}.home-item-row__icon{width:43px;height:43px;color:var(--blue-700);background:var(--blue-100);border-radius:12px}.home-item-row__icon>svg{width:21px;height:21px}.home-item-row__copy{min-width:0}.home-item-row__copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;display:block;overflow:hidden}.home-item-row__copy small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;display:block;overflow:hidden}.home-item-row time{color:#a96518;white-space:nowrap;background:#fff0d7;border-radius:10px;padding:7px 8px;font-size:.7rem;font-weight:800}.home-today-list{border:1px solid var(--line);background:var(--white);border-radius:16px;gap:0;margin:10px 0 0;padding:0 13px;list-style:none;display:grid}.home-today-list li+li{border-top:1px solid #e6eef5}.home-today-list button{width:100%;min-height:43px;color:var(--ink);text-align:left;background:0 0;border:0;grid-template-columns:48px 9px minmax(0,1fr);align-items:center;gap:7px;display:grid}.home-today-list time{color:var(--blue-700);font-size:.76rem;font-weight:800}.home-today-list__dot{background:#e9a027;border-radius:50%;width:7px;height:7px}.home-today-list li:nth-child(2) .home-today-list__dot{background:#5b95c5}.home-today-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.home-page .quick-actions{grid-template-columns:minmax(0,1fr) 96px;gap:9px;margin-top:20px;display:grid}.home-page .quick-actions .primary-button,.home-page .quick-actions .secondary-button{min-width:0;padding:0 8px;font-size:.86rem}.bottom-nav{z-index:2;border-top:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff2;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav a{color:var(--muted);text-align:center;justify-items:center;gap:4px;padding:11px 8px 10px;font-size:.78rem;text-decoration:none;display:grid}.bottom-nav__icon{width:21px;height:21px}.bottom-nav__icon>svg{width:19px;height:19px}.bottom-nav a.active{color:var(--blue-700);font-weight:800}.auth-page{background:radial-gradient(circle at top right, #dceaf8, transparent 45%), var(--blue-50);min-height:100vh;padding:58px 24px 36px}.auth-card{width:min(100%,420px);margin:0 auto}.auth-card>.eyebrow{color:#4b7ca8;letter-spacing:.08em;font-size:.76rem}.auth-card h1{margin-top:8px;font-size:2rem}.auth-card>p{color:var(--muted);line-height:1.65}.auth-card .primary-button{width:100%;min-height:52px;margin-top:10px}.auth-form{gap:17px;margin-top:32px;display:grid}.auth-form h2{color:var(--blue-900);margin:0;font-size:1.08rem}.auth-form label{color:var(--ink);gap:8px;font-size:.88rem;font-weight:800;display:grid}.auth-form input{min-height:50px;color:var(--ink);background:#ffffffe6;border:1px solid #cbddec;border-radius:14px;padding:0 14px;box-shadow:0 4px 14px #2d557d0a}.auth-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px;display:grid}.auth-links .text-button{text-align:center;min-height:40px;padding:0 4px}.auth-links .text-button:only-child{grid-column:1/-1}.auth-email{margin:0;font-weight:700;color:var(--blue-900)!important}.auth-result{gap:12px;display:grid}.auth-result h1{margin-bottom:0}.auth-stack{gap:8px;margin-top:10px;display:grid}.form-message{margin:0;font-size:.86rem;color:var(--urgent)!important}.page-loading{min-height:100vh;color:var(--muted);place-items:center;display:grid}.space-unavailable{align-content:center;justify-items:start;gap:10px;width:min(100%,480px);min-height:100vh;margin:0 auto;padding:24px;display:grid}.space-unavailable h1,.space-unavailable p{margin:0}.mobile-page{width:min(100%,760px);margin:0 auto;padding:22px 20px 36px}.mobile-page__header{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}.mobile-page__back{border:1px solid var(--line);width:38px;height:38px;color:var(--blue-900);background:var(--white);border-radius:12px;text-decoration:none}.mobile-page__title{min-width:0}.mobile-page__title h1{color:var(--blue-900);margin:3px 0 0;font-size:clamp(1.55rem,7vw,2rem)}.mobile-page__actions{justify-self:end}.settings-group{border:1px solid var(--line);background:var(--white);border-radius:16px;margin-top:18px;overflow:hidden}.settings-row{border:0;border-bottom:1px solid var(--line);width:100%;min-height:66px;color:var(--ink);background:var(--white);text-align:left;grid-template-columns:38px minmax(0,1fr) auto 20px;align-items:center;gap:11px;padding:11px 14px;display:grid}.settings-row:last-child{border-bottom:0}button.settings-row{cursor:pointer}.settings-row__icon{width:38px;height:38px;color:var(--blue-700);background:var(--blue-100);border-radius:12px}.settings-row__copy{gap:3px;min-width:0;display:grid}.settings-row__copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:.94rem;overflow:hidden}.settings-row__copy small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.settings-row__action{color:var(--blue-700);font-size:.78rem;font-weight:700}.settings-row__chevron{width:20px;height:20px;color:var(--muted)}.settings-row__chevron>svg{width:16px;height:16px}.settings-row:not(button){grid-template-columns:38px minmax(0,1fr)}.sign-out-button{width:fit-content;color:var(--urgent);background:0 0;border:0;justify-content:center;align-items:center;gap:8px;margin:22px auto 0;padding:10px 4px;font-weight:800;display:flex}.sign-out-button .icon-box{width:20px;height:20px}.family-create-card{background:#f4faf7;border:1px solid #b7d9cd;border-radius:16px;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;margin-top:20px;padding:15px;display:grid}.family-create-card__icon{width:42px;height:42px;color:var(--green-700);background:var(--green-100);border-radius:13px}.family-create-card p{color:var(--muted);margin:0;font-size:.88rem;line-height:1.55}.family-create-form{gap:14px;margin-top:22px;display:grid}.family-create-form label{color:var(--ink);gap:7px;font-size:.9rem;font-weight:700;display:grid}.family-create-form input{border:1px solid var(--line);min-height:48px;color:var(--ink);background:var(--white);border-radius:12px;padding:0 13px}.family-create-form .primary-button{width:100%}.family-invite-card,.family-join-card{background:#f4faf7;border:1px solid #b7d9cd;border-radius:16px;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;margin-top:20px;padding:15px;display:grid}.family-invite-card__icon,.family-join-card__icon,.family-join-preview__icon{width:42px;height:42px;color:var(--green-700);background:var(--green-100);border-radius:13px}.family-invite-card div,.family-join-preview div{gap:3px;min-width:0;display:grid}.family-invite-card strong,.family-join-preview strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.family-invite-card small,.family-join-preview small,.family-join-card p{color:var(--muted);margin:0;font-size:.82rem;line-height:1.45}.family-invite-generate{width:100%;margin-top:20px}.family-invite-link{border:1px solid var(--line);background:var(--white);border-radius:16px;gap:14px;margin-top:20px;padding:16px;display:grid}.family-invite-link label,.family-join-form label{color:var(--ink);gap:7px;font-size:.9rem;font-weight:700;display:grid}.family-invite-link input,.family-join-form input{border:1px solid var(--line);min-height:46px;color:var(--ink);background:var(--white);border-radius:11px;padding:0 12px;font-size:.82rem}.family-invite-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.family-invite-actions .primary-button,.family-invite-actions .secondary-button{width:100%;padding:0 8px;font-size:.84rem}.family-invite-regenerate{justify-self:start;padding:4px 0}.family-invite-message{margin-top:14px}.family-join-form{gap:12px;margin-top:20px;display:grid}.family-join-form .secondary-button{width:100%}.family-join-preview{background:var(--white);border:1px solid #b7d9cd;border-radius:16px;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;margin-top:18px;padding:16px;display:grid}.family-join-preview .primary-button{grid-column:1/-1;width:100%}.family-settings-card{background:#f4faf7;border:1px solid #b7d9cd;border-radius:16px;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;margin-top:20px;padding:15px;display:grid}.family-settings-card__icon{width:42px;height:42px;color:var(--green-700);background:var(--green-100);border-radius:13px}.family-settings-card div{gap:3px;min-width:0;display:grid}.family-settings-card strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.family-settings-card small{color:var(--muted);font-size:.82rem}.family-settings-input{margin-top:0}.family-member-picker{border:1px solid var(--line);border-radius:14px;display:grid;overflow:hidden}.family-member-picker__row{border:0;border-bottom:1px solid var(--line);min-height:58px;color:var(--ink);background:var(--white);text-align:left;grid-template-columns:34px minmax(0,1fr) 20px;align-items:center;gap:10px;padding:10px 12px;display:grid}.family-member-picker__row:last-child{border-bottom:0}.family-member-picker__row>.icon-box:first-child,.household-member__icon{width:34px;height:34px;color:var(--green-700);background:var(--green-100);border-radius:50%}.family-member-picker__row>.icon-box:last-child{width:20px;height:20px;color:var(--muted)}.family-member-picker__row>.icon-box:last-child>svg{width:16px;height:16px}.family-danger-zone{margin-top:22px}.family-danger-button{color:#b13e35;background:#fff;border:1px solid #d6786d;border-radius:14px;min-height:48px;padding:0 18px;font-weight:800}.family-danger-zone .family-danger-button{width:100%}.family-members{border:1px solid var(--line);background:var(--white);border-radius:16px;margin-top:20px;display:grid;overflow:hidden}.family-members__loading,.family-members__owner-note{color:var(--muted);margin:0;padding:16px;font-size:.88rem}.household-member{border-bottom:1px solid var(--line);grid-template-columns:38px minmax(0,1fr);align-items:center;gap:11px;min-height:66px;padding:11px 14px;display:grid}.household-member:last-child{border-bottom:0}.household-member__icon{width:38px;height:38px}.household-member__copy{gap:3px;min-width:0;display:grid}.household-member__copy strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:.94rem;overflow:hidden}.household-member__copy small{color:var(--muted);font-size:.78rem}.capture-page{width:min(100%,760px);margin:0 auto;padding:28px 20px 36px}.inventory-page{padding-bottom:78px;position:relative}.inventory-search{border:1px solid var(--line);min-height:46px;color:var(--muted);background:var(--white);border-radius:13px;align-items:center;gap:7px;margin-top:20px;padding:0 13px;display:flex}.inventory-search__icon{width:19px;height:19px}.inventory-search__icon>svg{width:16px;height:16px}.inventory-search input{min-width:0;min-height:42px;color:var(--ink);background:0 0;border:0;outline:none;flex:1;padding:0}.inventory-filters{gap:12px;margin-top:16px;display:grid}.inventory-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.inventory-category-grid--private{grid-template-columns:repeat(4,minmax(0,1fr))}.inventory-category-grid button,.inventory-category-link{border:1px solid var(--line);min-height:75px;color:var(--muted);background:var(--white);border-radius:14px;align-content:center;place-items:center;gap:5px;font-size:.76rem;font-weight:700;text-decoration:none;display:grid}.inventory-category-icon{width:29px;height:29px;color:var(--blue-700);background:0 0;border-radius:10px}.inventory-category-icon>svg{width:16px;height:16px}.inventory-category-icon>img{object-fit:contain;width:25px;height:25px;display:block}.inventory-category-grid button.is-selected{border-color:var(--blue-700);color:var(--white);background:var(--blue-700);box-shadow:none}.inventory-category-grid button.is-selected .inventory-category-icon{color:var(--white);background:0 0}.inventory-category-grid button.is-selected .inventory-category-icon>img{filter:grayscale()brightness(0)invert()}.inventory-status-row button{border:1px solid var(--line);min-height:38px;color:var(--muted);background:var(--white);border-radius:999px;justify-content:center;align-items:center;font-size:.83rem;font-weight:700;display:inline-flex}.inventory-status-filter--soon{color:#a76816!important;background:#fff8e9!important;border-color:#f3c56d!important}.inventory-status-filter--expired{color:#b84a45!important;background:#fff2f1!important;border-color:#efaaa6!important}.inventory-status-filter--opened{color:var(--blue-700)!important;background:#f7fbff!important;border-color:#b9d5ee!important}.inventory-status-filter.is-selected{color:var(--white)!important}.inventory-status-filter--soon.is-selected{background:#e4a33c!important;border-color:#e4a33c!important}.inventory-status-filter--expired.is-selected{background:#d65f59!important;border-color:#d65f59!important}.inventory-status-filter--opened.is-selected{border-color:var(--blue-700)!important;background:var(--blue-700)!important}.inventory-status-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.inventory-empty{color:var(--muted);background:var(--blue-50);border-radius:14px;margin:20px 0 0;padding:16px}.inventory-list{gap:10px;margin:20px 0 0;padding:0;list-style:none;display:grid}.inventory-card{border:1px solid var(--line);min-height:82px;color:var(--ink);background:var(--white);border-radius:15px;grid-template-columns:50px minmax(0,1fr) auto 20px;align-items:center;gap:10px;padding:13px 14px;text-decoration:none;display:grid}.inventory-card__cover{width:50px;height:50px;color:var(--blue-700);background:var(--blue-100);border-radius:14px;overflow:hidden}.inventory-card__cover>img{object-fit:cover;width:100%;height:100%;display:block}.inventory-card__cover-fallback{width:100%;height:100%}.inventory-card__cover-fallback>img{object-fit:contain;width:28px;height:28px;display:block}.inventory-card__cover-fallback>svg{width:22px;height:22px}.inventory-card__copy,.inventory-card__meta{gap:5px;min-width:0;display:grid}.inventory-card__copy strong,.inventory-card__copy span,.inventory-card__meta small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.inventory-card__copy span,.inventory-card__meta small{color:var(--muted);font-size:.79rem}.inventory-card__meta{justify-items:end}.inventory-status{color:var(--blue-700);background:var(--blue-100);white-space:nowrap;border-radius:999px;padding:4px 7px;font-size:.71rem;font-style:normal;font-weight:800}.inventory-status--soon{color:#a76816;background:#fff3d7}.inventory-status--expired{color:#ae3d32;background:#fbe9e7}.inventory-status--opened{color:var(--blue-700);background:var(--blue-100)}.inventory-card__chevron{width:20px;height:20px;color:var(--muted)}.inventory-card__chevron>svg{width:16px;height:16px}.inventory-add{z-index:3;right:max(20px, env(safe-area-inset-right));bottom:calc(88px + env(safe-area-inset-bottom));min-width:110px;height:48px;color:var(--white);background:var(--blue-700);border-radius:15px;justify-content:center;align-items:center;gap:7px;padding:0 15px;font-weight:800;text-decoration:none;display:inline-flex;position:fixed;box-shadow:0 9px 22px #1d528547}.inventory-add>svg{width:17px;height:17px}.physical-detail{padding-bottom:48px}.detail-summary,.detail-facts,.detail-activity{border:1px solid var(--line);background:var(--white);border-radius:16px;margin-top:20px}.detail-summary{justify-content:space-between;align-items:center;gap:14px;padding:16px;display:flex}.detail-summary h2{color:var(--blue-900);margin:3px 0 0;font-size:1.15rem}.detail-facts{overflow:hidden}.detail-facts div{border-bottom:1px solid var(--line);gap:4px;padding:14px 16px;display:grid}.detail-facts div:last-child{border-bottom:0}.detail-facts span{color:var(--muted);font-size:.78rem}.detail-facts strong{color:var(--ink);font-size:.92rem}.detail-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px;display:grid}.detail-actions .detail-used-up{grid-column:1/-1}.detail-used-up{border-color:var(--urgent);background:var(--urgent)}.detail-activity{padding:16px}.detail-activity h2{color:var(--blue-900);margin:0;font-size:1rem}.detail-activity p{color:var(--muted);margin:11px 0 0;font-size:.88rem}.detail-empty{color:var(--muted);margin-top:22px}.recycle-empty{color:var(--muted);background:var(--blue-50);border-radius:14px;margin-top:22px;padding:16px}.recycle-list{gap:10px;margin:20px 0 0;padding:0;list-style:none;display:grid}.recycle-card{border:1px solid var(--line);background:var(--white);border-radius:15px;gap:12px;padding:14px;display:grid}.recycle-card__copy{gap:5px;min-width:0;display:grid}.recycle-card__copy strong,.recycle-card__copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.recycle-card__copy small{color:var(--muted);font-size:.78rem}.recycle-card__actions{grid-template-columns:1fr 1fr;gap:9px;display:grid}.recycle-card .secondary-button,.recycle-card .recycle-delete{min-height:38px;padding:0 11px;font-size:.8rem}.recycle-delete,.recycle-clear{color:#b13e35;background:var(--white);border:1px solid #d6786d;border-radius:11px;font-weight:800}.recycle-clear{width:100%;min-height:46px;margin-top:18px}.backup-card{border:1px solid var(--line);background:var(--white);border-radius:16px;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px;margin-top:20px;padding:15px;display:grid}.backup-card__icon{width:44px;height:44px;color:var(--blue-700);background:var(--blue-100);border-radius:13px}.backup-card>div{gap:4px;min-width:0;display:grid}.backup-card strong,.backup-card small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.backup-card strong{color:var(--ink)}.backup-card small,.backup-last-time{color:var(--muted);font-size:.82rem}.backup-last-time{margin:14px 2px 0}.backup-export{width:100%;margin-top:18px}.detail-sheet,.detail-confirm{z-index:10;background:#0d274361;align-items:end;display:grid;position:fixed;inset:0}.detail-sheet__panel,.detail-confirm__panel{max-height:min(82vh,680px);padding:22px 20px calc(22px + env(safe-area-inset-bottom));background:var(--white);border-radius:22px 22px 0 0;box-shadow:0 -10px 30px #0f30502e}.detail-sheet__panel--scroll{overflow-y:auto}.detail-sheet h2,.detail-confirm h2{color:var(--blue-900);margin:0 0 18px;font-size:1.15rem}.detail-sheet label{color:var(--ink);gap:7px;font-size:.9rem;font-weight:700;display:grid}.detail-sheet input,.detail-sheet select{border:1px solid var(--line);min-height:46px;color:var(--ink);background:var(--white);border-radius:11px;padding:0 12px}.detail-sheet__actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:20px;display:grid}.detail-sheet__message{margin-top:16px}.private-only-empty,.subscription-empty{border:1px solid var(--line);color:var(--muted);background:var(--blue-50);border-radius:16px;margin-top:22px;padding:18px}.subscription-empty{justify-items:start;gap:14px;display:grid}.subscription-empty p{margin:0}.subscription-empty .primary-button,.subscription-add{width:100%}.subscription-list{gap:10px;margin:20px 0 0;padding:0;list-style:none;display:grid}.subscription-card{border:1px solid var(--line);min-height:78px;color:var(--ink);background:var(--white);border-radius:15px;grid-template-columns:40px minmax(0,1fr) auto 18px;align-items:center;gap:10px;padding:12px;text-decoration:none;display:grid}.subscription-card__icon{width:40px;height:40px;color:var(--blue-700);background:var(--blue-100);border-radius:12px}.subscription-card__copy,.subscription-card__meta{gap:4px;min-width:0;display:grid}.subscription-card__copy strong,.subscription-card__copy small,.subscription-card__meta small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.subscription-card__copy small,.subscription-card__meta small{color:var(--muted);font-size:.78rem}.subscription-card__meta{justify-items:end}.subscription-card__meta em{color:var(--blue-700);background:var(--blue-100);white-space:nowrap;border-radius:999px;padding:4px 6px;font-size:.7rem;font-style:normal;font-weight:800}.subscription-card__chevron{width:18px;height:18px;color:var(--muted)}.subscription-card__chevron>svg{width:15px;height:15px}.subscription-add{margin-top:16px}.subscription-header{color:var(--white);background:linear-gradient(135deg, var(--blue-700), #174b78);border-radius:16px;margin-top:20px;padding:17px}.subscription-header h2{color:var(--white);margin:3px 0 12px;font-size:1.22rem}.subscription-header .eyebrow{color:#ffffffbf}.subscription-header strong{font-size:.92rem;display:block}.credit-card-header{background:linear-gradient(135deg,#23689d,#16456f)}.credit-card-paid{color:var(--green-700);background:var(--green-100);text-align:center;border:1px solid #b7d9cd;border-radius:14px;margin:0;padding:14px;font-weight:800}.subscription-actions{grid-template-columns:1fr}.check-field{align-items:center;gap:9px;min-height:44px;display:flex!important}.check-field input{width:18px;min-height:18px!important;padding:0!important}.detail-confirm{align-items:center;padding:20px}.detail-confirm__panel{border-radius:18px;width:min(100%,440px);margin:0 auto;padding-bottom:22px}.detail-confirm p{color:var(--muted);margin:0;line-height:1.55}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.add-list-item{gap:10px;display:grid}.add-list-item input{margin-top:0}.shopping-tabs{background:#dceaf5;border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-top:20px;padding:4px;display:grid}.shopping-tabs button{min-height:38px;color:var(--blue-700);background:0 0;border:0;border-radius:12px;font-size:.84rem;font-weight:800}.shopping-tabs button.is-selected{color:var(--blue-900);background:var(--white);box-shadow:0 4px 10px #20456c1a}.shopping-add-card{background:0 0;border:1px dashed #b9cfe2;border-radius:16px;margin-top:18px;padding:14px}.shopping-page .add-list-item{grid-template-columns:minmax(0,1fr) 78px}.shopping-page .add-list-item input{border:1px solid var(--line);width:100%;min-height:48px;color:var(--ink);background:var(--white);border-radius:13px;padding:0 13px}.shopping-page .add-list-item .primary-button{width:100%;padding:0 8px}.shopping-empty{color:var(--muted);text-align:center;background:0 0;border:1px dashed #c8d9e8;border-radius:14px;margin:18px 0 0;padding:15px}.shopping-section-heading{justify-content:space-between;align-items:center;gap:12px;margin-top:22px;display:flex}.shopping-section-heading h2{color:var(--blue-900);margin:0;font-size:1rem}.shopping-section-heading .text-button{color:var(--muted);font-size:.76rem}.shopping-list{gap:8px;margin:18px 0 0;padding:0;list-style:none;display:grid}.shopping-list li{border:1px solid var(--line);background:var(--white);border-radius:15px;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:11px;min-height:58px;padding:0 14px;display:grid}.shopping-list__check{width:20px;height:20px;color:var(--white);background:var(--white);border:1.5px solid #8cb4d4;border-radius:6px;justify-content:center;align-items:center;font-size:.72rem;font-weight:900;display:inline-flex}.shopping-list__check.is-complete{background:#70a8cf;border-color:#70a8cf}.shopping-list__copy{gap:3px;min-width:0;display:grid}.shopping-list__copy small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;overflow:hidden}.shopping-list strong.is-complete{color:var(--muted);text-decoration:line-through}.capture-header h1,.confirmation-form h1{color:var(--blue-900);margin:6px 0 0;font-size:clamp(1.55rem,7vw,2rem)}.capture-header>p:last-child,.form-intro,.capture-help{color:var(--muted);line-height:1.65}.capture-actions{gap:12px;margin-top:26px;display:grid}.capture-actions .primary-button,.capture-actions .secondary-button{width:100%}.file-button{place-items:center;display:grid}.file-button input{opacity:0;width:1px;height:1px;position:absolute;overflow:hidden}.scanner-panel{background:#111;border-radius:18px;margin-top:22px;overflow:hidden}.scanner-panel video{object-fit:cover;width:100%;max-height:50vh;display:block}.scanner-panel button{width:calc(100% - 24px);margin:12px}.capture-message{color:var(--blue-900);background:var(--blue-100);border-radius:12px;margin:16px 0;padding:12px 14px}.confirmation-form{gap:20px;display:grid}.form-section-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.draft-state{color:var(--blue-700);background:var(--blue-100);border-radius:999px;padding:6px 9px;font-size:.78rem;font-weight:800}.recognition-card{border:1px solid var(--line);background:var(--blue-50);border-radius:14px;padding:14px}.recognition-card--needs-review,.recognition-card--none{background:#fff9e9;border-color:#dfba58}.recognition-card p{white-space:pre-wrap;color:var(--muted)}.field-grid{gap:14px;display:grid}.field-grid label{color:var(--ink);gap:6px;font-size:.9rem;font-weight:700;display:grid}.field-grid input,.field-grid select{border:1px solid var(--line);min-height:44px;color:var(--ink);background:var(--white);border-radius:11px;padding:0 12px}.date-section{border-top:1px solid var(--line);margin-top:0;padding-top:20px}.date-section h2{color:var(--blue-900);margin:0 0 16px;font-size:1.05rem}.calculated-expiry{color:var(--blue-900);background:var(--blue-100);border-radius:12px;padding:13px}.calculated-expiry span{color:var(--muted)}.reminder-tabs{background:var(--blue-100);border-radius:14px;grid-template-columns:1fr 1fr;gap:8px;margin-top:20px;padding:4px;display:grid}.reminder-tabs button{min-height:40px;color:var(--muted);background:0 0;border:0;border-radius:10px;font-weight:800}.reminder-tabs button.is-selected{color:var(--blue-700);background:var(--white);box-shadow:0 2px 8px #1f52841a}.reminder-empty{color:var(--muted);background:var(--blue-50);border-radius:14px;margin:20px 0 0;padding:16px}.reminder-list{gap:10px;margin:20px 0 0;padding:0;list-style:none;display:grid}.reminder-card{border:1px solid var(--line);background:var(--white);border-radius:15px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:13px 14px;display:grid}.reminder-card__main{min-width:0;color:var(--ink);text-align:left;background:0 0;border:0;gap:5px;padding:0;display:grid}.reminder-card__main strong,.reminder-card__main time{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.reminder-card__main time{color:var(--muted);font-size:.8rem}.reminder-card__complete{border-radius:10px;min-height:36px;padding:0 12px;font-size:.82rem}.reminder-settings-card{border:1px solid var(--line);background:var(--white);border-radius:16px;gap:10px;margin-top:20px;padding:17px;display:grid}.reminder-settings-card h2,.reminder-settings-card p{margin:0}.reminder-settings-card h2{color:var(--blue-900);font-size:1rem}.reminder-settings-card p{color:var(--muted);font-size:.88rem;line-height:1.5}.reminder-settings-card label{color:var(--ink);gap:7px;font-size:.9rem;font-weight:700;display:grid}.reminder-settings-card input{border:1px solid var(--line);min-height:46px;color:var(--ink);background:var(--white);border-radius:11px;padding:0 12px}@media (width>=600px){body{background:#dce8f3}#root{place-items:center;min-height:100vh;padding:16px;display:grid}.app-shell,.auth-page{background:var(--blue-50);border:1px solid #c5d7e7;border-radius:22px;width:393px;min-height:min(852px,100vh - 32px);overflow:hidden;box-shadow:0 24px 56px #1d3f6038}.auth-page{padding:58px 24px 36px}.bottom-nav{border-radius:0 0 22px 22px;width:393px;left:50%;right:auto;transform:translate(-50%)}}
