.topbar{height:76px;position:sticky;top:0;z-index:40;display:grid;grid-template-columns:250px 1fr auto;align-items:center;gap:24px;padding:0 28px;background:rgba(255,254,250,.94);border-bottom:1px solid var(--border);backdrop-filter:blur(16px)}.brand-mark{width:42px;height:42px;overflow:hidden;border-radius:15px;display:grid;place-items:center;background:var(--primary);box-shadow:inset 0 0 0 1px #ffffff22}.topbar-back{width:fit-content;height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 13px;border:1px solid var(--border);border-radius:14px;background:white;color:var(--primary);text-decoration:none;font-size:12px;font-weight:800}.topbar-back svg{width:18px}.topbar-title{display:flex;align-items:center;gap:7px;font-size:15px}.topbar-title svg{width:15px;color:var(--muted-foreground)}.topbar-actions{display:flex;align-items:center;gap:10px}.invite-button{border-radius:12px;background:white}.avatar-stack{display:flex;direction:ltr;padding-left:4px}.avatar-stack span{width:34px;height:34px;margin-left:-8px;border-radius:50%;display:grid;place-items:center;border:2px solid white;color:white;font-size:12px;background:var(--apricot)}.avatar-stack span:nth-child(2){background:#7a998a}.app-shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:calc(100vh - 76px)}.sidebar{position:sticky;top:76px;height:calc(100vh - 76px);padding:28px 20px 22px;background:#fbfaf5;border-left:1px solid var(--border);display:flex;flex-direction:column}.sidebar nav{display:grid;gap:7px}.sidebar nav a{display:flex;align-items:center;gap:12px;min-height:46px;padding:0 14px;color:#66736e;border-radius:13px;text-decoration:none;font-size:14px;font-weight:700}.sidebar nav a svg{width:19px}.sidebar nav a b{margin-right:auto;min-width:24px;height:24px;padding:3px 7px;border-radius:10px;background:#e6eee9;color:var(--primary);text-align:center;font-size:12px}.sidebar nav a.active,.sidebar nav a:hover{background:#e5eee8;color:var(--primary)}.home-note{display:flex;gap:11px;margin-top:auto;margin-bottom:20px;padding:16px;border-radius:16px;background:#f3ead4;color:#614d25}.home-note svg{width:19px;flex:none;color:var(--gold-strong)}.home-note strong{font-size:13px}.home-note p{margin:5px 0 0;font-size:12px;line-height:1.8;color:#7d6b47}.profile{display:grid;grid-template-columns:38px 1fr 20px;align-items:center;gap:10px;padding-top:17px;border-top:1px solid var(--border)}.profile>span{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:var(--primary);color:white;font-weight:800}.profile div{display:grid;gap:2px}.profile strong{font-size:13px}.profile small{font-size:12px}.profile small,.profile svg{color:var(--muted-foreground)}.profile svg{width:18px}.content{width:min(1140px,calc(100% - 56px));margin:0 auto;padding:42px 0 80px}.welcome-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{margin:0 0 8px;color:var(--apricot);font-size:13px;font-weight:800}.welcome-row h1{margin:0;font-size:clamp(27px,3vw,38px);letter-spacing:-1px}.welcome-row p:last-child{margin:9px 0 0;color:var(--muted-foreground);font-size:15px}.day-badge{width:68px;height:72px;border:1px solid var(--border);border-radius:20px;background:#fffefa;display:grid;place-items:center;padding:10px;box-shadow:0 10px 25px #173f3a0a}.day-badge span{font-size:24px;font-weight:900;line-height:1}.day-badge small{color:var(--muted-foreground)}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.summary-card{position:relative;min-height:148px;display:grid;grid-template-columns:48px 1fr;gap:14px;padding:20px;border-radius:20px;border:1px solid var(--border);background:white;box-shadow:0 12px 30px #173f3a08}.summary-card .summary-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:15px}.summary-card .summary-icon svg{width:21px}.shopping-summary .summary-icon{background:#e3eee8;color:var(--primary)}.installment-summary .summary-icon{background:#f6e8df;color:#a45239}.medicine-summary .summary-icon{background:#eee6f4;color:#704c84}.summary-card p{margin:1px 0 7px;color:var(--muted-foreground);font-size:12px}.summary-card strong{display:block;font-size:14px;line-height:1.7}.summary-card span{display:block;margin-top:3px;color:var(--muted-foreground);font-size:12px}.summary-card a{position:absolute;bottom:17px;left:20px;color:var(--primary);text-decoration:none;font-size:12px;font-weight:800}.panel{border:1px solid var(--border);border-radius:24px;background:white;box-shadow:0 16px 40px #173f3a08;overflow:hidden;scroll-margin-top:96px}.shopping-panel{margin-bottom:22px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 28px 18px}.section-kicker{display:flex;align-items:center;gap:7px;color:var(--primary);font-size:12px;font-weight:800}.section-kicker svg{width:17px}.section-heading h2{margin:9px 0 5px;font-size:21px}.section-heading p{margin:0;color:var(--muted-foreground);font-size:13px}.primary-action{height:42px;border-radius:13px;padding-inline:17px}.shopping-tabs{width:100%;height:48px!important;justify-content:flex-start;gap:28px;padding:0 28px!important;border-bottom:1px solid var(--border)}.shopping-tabs button{flex:0!important;height:48px!important;padding:0 2px!important;border-radius:0!important;font-size:13px}.shopping-tabs button:after{background:var(--apricot)!important;height:3px!important;bottom:0!important;border-radius:3px 3px 0 0}.shopping-tabs em{padding:2px 6px;border-radius:8px;background:#edf1ed;font-style:normal;font-size:12px}.tab-space{padding:0 28px 24px}.list-head{grid-template-columns:1fr 180px;padding:17px 44px 9px 0;color:#93a09b;font-size:12px}.list-head,.shopping-list{display:grid}.shopping-row{display:grid;grid-template-columns:34px 1fr 180px;align-items:center;gap:12px;min-height:72px;border-top:1px solid #edf0ec}.round-check{width:26px;height:26px;display:grid;place-items:center;border:1.5px solid #aebbb5;border-radius:50%;background:white;color:transparent;cursor:pointer;transition:.2s ease}.round-check svg{width:15px}.round-check:hover{border-color:var(--primary);background:var(--primary);color:white;transform:scale(1.05)}.item-main{display:grid;gap:5px}.item-main strong{font-size:14px}.item-main span{color:var(--muted-foreground);font-size:12px}.assignee{display:flex;align-items:center;gap:7px;color:#596863;font-size:12px}.assignee>span{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#f1e1d8;color:#9c4f39;font-size:12px}.assignee small{color:#8e9a96}.completed{padding:12px 0 0;border-top:1px solid var(--border);color:var(--muted-foreground);font-size:12px}.completed summary{cursor:pointer;font-weight:700}.completed>div{display:grid;grid-template-columns:20px 1fr auto;gap:9px;padding:12px 0 0}.completed svg{width:15px;color:#628077}.empty-state{min-height:160px;display:grid;place-items:center;align-content:center;gap:8px;color:var(--muted-foreground)}.empty-state>svg{width:34px;height:34px;padding:8px;border-radius:50%;background:#e5eee8;color:var(--primary)}.empty-state strong{color:var(--foreground)}.empty-state span{font-size:12px}.shopping-empty-state{padding:28px 16px;text-align:center}.shopping-empty-state>[data-slot=button]{margin-top:5px}.previous-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding-top:18px}.previous-card{position:relative;display:grid;grid-template-columns:22px 42px minmax(0,1fr);align-items:start;align-content:start;gap:10px 10px;min-height:142px;padding:16px;border:1px solid var(--border);border-radius:16px;cursor:pointer;transition:.2s ease}.catalog-groups label.selected,.previous-card.selected{border-color:#6d968b;background:#f1f7f3}.previous-checkbox{grid-column:1;grid-row:1;margin-top:2px}.previous-product-image{grid-column:2;grid-row:1/span 2;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#eef2ee;font-size:23px}.product-artwork{overflow:hidden}.product-artwork img{display:block;width:72%;height:72%;object-fit:contain}.previous-card-content{grid-column:3;min-width:0}.previous-card-content>div{display:flex;align-items:center;flex-wrap:wrap;gap:6px 9px}.previous-card strong{display:inline-block;margin:0;font-size:14px}.previous-card p,.previous-card small{color:var(--muted-foreground);font-size:12px}.previous-card p{margin:7px 0 0}.previous-card .previous-add-button{grid-column:3;justify-self:start;min-width:0;padding:0 2px;color:var(--primary)}.sticky-action{position:sticky;bottom:12px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding:12px 14px;border:1px solid #d8e2db;border-radius:15px;background:#fcfdfbde;backdrop-filter:blur(12px);box-shadow:0 10px 30px #173f3a12}.sticky-action span{color:var(--muted-foreground);font-size:12px}.catalog-groups{display:grid;gap:20px;padding-top:18px}.catalog-groups section h3{margin:0 0 10px;font-size:13px}.catalog-groups section>div{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.catalog-groups label{display:grid;grid-template-columns:18px 1fr;gap:9px;padding:12px;border:1px solid var(--border);border-radius:13px;cursor:pointer}.catalog-groups label span{font-size:13px;font-weight:700}.catalog-groups label small{grid-column:2;color:var(--muted-foreground);font-size:12px}.lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:22px}.compact-panel{padding:24px;scroll-margin-top:96px}.compact-title{display:flex;align-items:center;gap:12px;margin-bottom:18px}.compact-title>span{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#e8f0eb;color:var(--primary)}.compact-title svg{width:19px}.compact-title h2{margin:0 0 4px;font-size:17px}.compact-title p{margin:0;color:var(--muted-foreground);font-size:12px}.installment-card{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;padding:16px;border-radius:16px;background:#f8f6f0}.bank-logo{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#c24739;color:white;font-weight:900}.grow{display:grid;gap:4px}.grow strong{font-size:13px}.grow span{color:var(--muted-foreground);font-size:12px}.installment-card>b{color:var(--primary);font-size:12px}.installment-card [data-slot=progress]{grid-column:2/-1;height:6px}.installment-card>button{grid-column:3;justify-self:end}.medicine-card{display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #edf0ec}.medicine-time{display:grid;justify-items:center;gap:3px;padding:9px 5px;border-radius:12px;background:#f0e9f3;color:#6f4c7d}.medicine-time b{font-size:13px}.medicine-time small{font-size:12px}.medicine-card button{color:var(--primary);border-color:#cbd9d1}.activity-panel{padding-bottom:18px}.section-heading.small{padding-bottom:10px}.activity-list{display:grid;padding:0 28px}.activity-list>div{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:11px;padding:12px 0;border-top:1px solid #edf0ec}.activity-avatar{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#e5eee8;color:var(--primary);font-size:12px;font-weight:800}.activity-list p{margin:0;color:#53615c;font-size:12px}.activity-list p strong{color:var(--foreground)}.activity-list time{color:#91a09a;font-size:12px}.notice{position:fixed;z-index:60;left:24px;bottom:24px;display:flex;align-items:center;gap:9px;padding:13px 16px;border-radius:14px;background:var(--primary);color:white;box-shadow:0 16px 40px #173f3a42;font-size:13px}.notice svg{width:16px}.error-banner{position:fixed;z-index:70;top:max(12px,env(safe-area-inset-top));left:50%;width:min(680px,calc(100% - 24px));margin:0;padding:13px 16px;border:1px solid #e7b9b5;border-radius:14px;background:#f8e4e2;color:#8e332e;box-shadow:0 18px 45px #54201b2e;font-size:13px;font-weight:750;line-height:1.8;text-align:right;transform:translateX(-50%)}.invite-code{display:flex;align-items:center;justify-content:space-between;padding:14px;border-radius:13px;background:var(--muted);font-weight:900;letter-spacing:2px}.rtl-dialog{direction:rtl}.rtl-dialog [data-slot=dialog-close]{right:auto;left:1rem}.loading-screen{min-height:100vh;display:grid;place-items:center;align-content:center;gap:14px;padding:30px;text-align:center;background:var(--canvas)}.loading-logo{width:60px;height:60px;display:grid;place-items:center;overflow:hidden;border-radius:20px;background:var(--primary);color:white;font-size:28px;font-weight:900}.loading-brand-mark{animation:brand-breathe 1.8s ease-in-out infinite;box-shadow:0 16px 38px #174b4326}@keyframes brand-breathe{50%{transform:scale(.95);opacity:.86}}.loading-screen h1{margin:8px 0 0;font-size:24px}.loading-screen p{margin:0 0 8px;color:var(--muted-foreground)}.brand-mark{text-decoration:none}.internal-title{color:var(--muted-foreground);font-size:12px}.internal-content{padding-top:30px}.internal-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.internal-hero h1{margin:8px 0 7px;font-size:clamp(28px,3.5vw,42px);letter-spacing:-1.2px}.internal-hero p{margin:0;font-size:14px}.back-link,.internal-hero p{color:var(--muted-foreground)}.back-link{display:inline-flex;align-items:center;gap:5px;margin-bottom:20px;text-decoration:none;font-size:12px;font-weight:700}.back-link svg{width:15px}.internal-add{min-width:138px}.shopping-detail-panel{min-height:0}.internal-tabs{height:58px!important}.detail-tab-space{padding-top:10px}.detail-list-head{display:grid;grid-template-columns:1fr 170px 230px;gap:18px;padding:12px 70px 11px 0;color:#91a09a;font-size:12px}.shopping-detail-row{display:grid;grid-template-columns:46px minmax(0,1fr) 170px minmax(210px,auto);align-items:center;gap:18px;min-height:88px;padding:12px 0;border-top:1px solid #edf0ec}.product-symbol{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#e7f0eb;color:var(--primary);font-size:22px}.product-symbol svg{width:18px}.shopping-detail-row .item-main p{margin:2px 0 0;color:#7d8985;font-size:12px}.shopping-detail-row .shopping-item-schedule{display:flex;align-items:center;gap:5px;color:#49699a;font-weight:750}.shopping-detail-row .shopping-item-schedule svg{width:14px;height:14px;flex:none}.shopping-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.shopping-row-actions [data-slot=button]{border-color:#c9d8d0;color:var(--primary)}.shopping-row-actions svg{width:16px}.medicine-edit-form,.partial-purchase-form,.pet-weight-form,.shopping-edit-form{display:grid;gap:14px}.medicine-edit-form label,.partial-purchase-form label,.pet-weight-form label,.shopping-edit-form label{display:grid;gap:7px;color:#596660;font-size:12px;font-weight:850}.medicine-edit-form label small,.partial-purchase-form label small,.pet-weight-form label small,.shopping-edit-form label small{color:var(--muted-foreground);font-weight:650}.shopping-edit-dialog{display:flex;max-height:calc(100dvh - 32px);flex-direction:column;gap:0!important;overflow:hidden;padding:0!important}.shopping-edit-dialog>[data-slot=dialog-header]{flex:none;padding:24px 26px 18px;border-bottom:1px solid var(--border);text-align:right}.shopping-edit-scroll{min-height:0;flex:1;padding:20px 24px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.shopping-edit-actions{flex:none;padding:14px 24px 20px;border-top:1px solid var(--border);background:white;box-shadow:0 -12px 28px #173f3a0c}.shopping-edit-actions button{width:100%;min-height:48px;border-radius:12px}.detail-completed{margin-top:18px;padding-bottom:5px}.detail-catalog section>div{grid-template-columns:repeat(4,1fr)}.detail-catalog button{position:relative;min-height:112px;display:grid;justify-items:start;align-content:center;gap:6px;padding:14px;border:1px solid var(--border);border-radius:15px;background:white;text-align:right;cursor:pointer;transition:.2s ease}.detail-catalog button:hover{border-color:#7ca197;background:#f3f8f5;transform:translateY(-2px)}.detail-catalog button>svg:first-child{width:20px;color:var(--primary)}.detail-catalog button>svg:last-child{position:absolute;top:12px;left:12px;width:16px;color:#71827b}.detail-catalog .product-catalog-emoji{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#eef2ee;font-size:20px}.detail-catalog button span{font-size:13px;font-weight:800}.detail-catalog button small{color:var(--muted-foreground);font-size:12px}.add-item-dialog{display:flex;flex-direction:column;width:min(1080px,calc(100% - 32px));height:min(820px,calc(100dvh - 40px));max-height:calc(100dvh - 16px);overflow:hidden;padding:0!important;gap:0!important}.add-item-dialog>[data-slot=dialog-header]{flex:none;padding:24px 26px 18px 60px;border-bottom:1px solid var(--border);text-align:right}.add-item-layout{display:grid;flex:1;grid-template-columns:minmax(0,1fr) minmax(390px,.9fr);min-height:0;overflow:hidden}.add-item-layout.has-product{grid-template-columns:minmax(0,1fr)}.product-picker{display:flex;min-height:0;flex-direction:column;gap:14px;padding:20px 24px 24px;border-left:1px solid var(--border)}.picker-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.picker-heading>div{display:grid;gap:3px}.picker-heading strong{font-size:14px}.picker-heading span{color:var(--muted-foreground);font-size:12px}.picker-heading>button{max-width:180px;padding:7px 10px;overflow:hidden;border:0;border-radius:10px;background:#edf5f1;color:var(--primary);font:inherit;font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.picker-search{position:relative}.picker-search>svg{position:absolute;top:11px;right:12px;z-index:1;width:17px;color:#82908a}.picker-search input{height:42px;padding-right:38px;border-radius:13px;background:#f8faf7}.category-pills{display:flex;gap:7px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.category-pills button{flex:none;min-height:44px;padding:7px 11px;border:1px solid var(--border);border-radius:999px;background:white;color:#65736e;font-size:12px;cursor:pointer}.category-pills button.active{border-color:var(--primary);background:var(--primary);color:white}.product-picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding-left:3px;overflow-y:auto}.product-picker-grid>button{position:relative;min-width:0;min-height:116px;display:grid;place-items:center;align-content:center;gap:5px;padding:10px 7px;border:1px solid var(--border);border-radius:14px;background:white;color:var(--foreground);cursor:pointer}.product-picker-grid>button.selected,.product-picker-grid>button:hover{border-color:#659186;background:#eff6f2}.product-picker-grid>button>span{width:44px;height:44px;display:grid;place-items:center;border-radius:11px;background:#eef2ee;color:var(--primary)}.product-picker-grid>button>span svg{width:16px}.product-picker-grid>button .product-emoji{font-size:19px}.product-picker-grid>button .product-emoji img{width:88%;height:88%}.product-picker-grid>button strong{max-width:100%;overflow-wrap:anywhere;font-size:14px;line-height:1.6}.product-picker-grid>button small{color:var(--muted-foreground);font-size:12px}.product-picker-grid>button>svg{position:absolute;top:8px;left:8px;width:15px;color:var(--primary)}.picker-empty{display:grid;flex:1;place-items:center;color:var(--muted-foreground);font-size:12px}.custom-product-trigger{display:grid;grid-template-columns:36px minmax(0,1fr) 18px;align-items:center;gap:10px;width:100%;min-height:60px;padding:10px 12px;border:1px dashed #88aa9d;border-radius:14px;background:#f4f9f6;color:var(--foreground);font:inherit;text-align:right;cursor:pointer}.custom-product-trigger:hover{border-color:var(--primary);background:#edf6f1}.custom-product-trigger>svg:first-child{width:34px;height:34px;padding:8px;border-radius:11px;background:#dfece5;color:var(--primary)}.custom-product-trigger>svg:last-child{width:16px;color:#71827b}.custom-product-trigger span{min-width:0;display:grid;gap:2px}.custom-product-trigger strong{font-size:13px}.custom-product-trigger small{overflow:hidden;color:var(--muted-foreground);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.item-details-form{min-height:0;padding:22px;overflow-y:auto;background:#faf9f4}.details-placeholder{height:100%;display:grid;place-items:center;align-content:center;gap:9px;color:var(--muted-foreground);text-align:center}.details-placeholder>svg{width:42px;height:42px;padding:10px;border-radius:15px;background:#e8eee9;color:var(--primary)}.details-placeholder strong{color:var(--foreground);font-size:14px}.details-placeholder span{max-width:230px;font-size:12px;line-height:1.8}.selected-product{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;margin-bottom:20px;padding:13px;border-radius:15px;background:white;border:1px solid var(--border)}.selected-product>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#e6f0eb;color:var(--primary)}.selected-product svg{width:17px}.selected-product div{display:grid;gap:2px}.selected-product small{color:var(--muted-foreground);font-size:12px}.selected-product strong{font-size:13px}.selected-product .selected-emoji{font-size:20px}.selected-product .selected-emoji img{width:76%;height:76%}.saved-models{display:grid;gap:7px;margin-bottom:18px;padding:12px;border:1px solid #d7e4dd;border-radius:14px;background:#f1f7f4}.saved-models>div{display:grid;gap:2px}.saved-models>div strong{font-size:13px}.saved-models>div small{color:var(--muted-foreground);font-size:12px}.saved-models>button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:9px 10px;border:1px solid #d4e1da;border-radius:10px;background:white;color:var(--foreground);font:inherit;font-size:12px;text-align:right;cursor:pointer}.saved-models>button svg{width:14px;color:var(--primary)}.guided-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}.choice-select{min-width:0;display:grid;gap:7px;color:var(--foreground);font-size:12px;font-weight:850}.choice-select>span{display:flex;align-items:center;gap:7px}.choice-select b{width:24px;height:24px;display:grid;flex:none;place-items:center;border-radius:8px;background:#e4eee8;color:var(--primary);font-size:12px}.choice-select-control{width:100%}.choice-select select{width:100%;min-width:0;height:44px;padding-block:0;padding-inline:13px 42px;border:1px solid var(--input);border-radius:11px;background:white;color:var(--foreground);font:inherit;font-size:13px;outline:none}.choice-select select:focus{border-color:var(--ring);box-shadow:0 0 0 3px #4f857b24}[data-slot=native-select-wrapper]{width:100%;min-width:0}[data-slot=native-select-wrapper]>[data-slot=native-select]{padding-inline:13px 42px}[data-slot=native-select-wrapper]>[data-slot=native-select-icon]{inset-inline-end:14px}.jalali-date-control{min-width:0}.jalali-date-control-grid{display:grid;grid-template-columns:minmax(72px,.75fr) minmax(104px,1.25fr) minmax(88px,1fr);gap:9px}.jalali-date-control-grid.has-extra{grid-template-columns:minmax(72px,.75fr) minmax(104px,1.15fr) minmax(88px,1fr) minmax(112px,1fr)}.jalali-date-control-grid>label{min-width:0;display:grid;gap:5px}.jalali-date-control legend small{color:var(--muted-foreground);font-weight:500}.guided-options .custom-model-trigger{grid-column:1/-1}.custom-model-trigger{display:grid;grid-template-columns:34px 1fr 18px;align-items:center;gap:9px;width:100%;padding:12px;border:1px dashed #9bb6aa;border-radius:13px;background:#f7fbf8;color:var(--foreground);font:inherit;text-align:right;cursor:pointer}.custom-model-trigger>svg:first-child{width:17px;color:var(--primary)}.custom-model-trigger>svg:last-child{width:15px;color:#809089}.custom-model-trigger span{display:grid;gap:3px}.custom-model-trigger strong{font-size:13px}.custom-model-trigger small{color:var(--muted-foreground);font-size:12px}.custom-model-form{display:grid;gap:12px;margin-bottom:18px;padding:14px;border:1px solid #cbded4;border-radius:15px;background:#f2f8f5}.custom-model-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.custom-model-head>div{display:flex;align-items:center;gap:9px}.custom-model-head svg{width:18px;color:var(--primary)}.custom-model-head span{display:grid;gap:2px}.custom-model-head strong{font-size:13px}.custom-model-head small{color:var(--muted-foreground);font-size:12px}.custom-model-head>button{padding:5px 8px;border:0;background:transparent;color:var(--primary);font:inherit;font-size:12px;font-weight:800;cursor:pointer}.custom-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.custom-fields label{display:grid;gap:6px;font-size:12px;font-weight:800}.custom-fields label:last-child{grid-column:1/-1}.custom-fields input{height:38px;background:white;font-size:13px}.custom-model-form>p{margin:0;color:var(--muted-foreground);font-size:12px}.custom-product-name{display:grid;gap:7px;margin-bottom:16px;font-size:12px;font-weight:850}.custom-fields label small,.custom-product-name small{color:var(--muted-foreground);font-size:12px;font-weight:500}.custom-product-name input{min-height:44px;background:white}.selection-summary{display:grid;gap:3px;margin:0 0 16px;padding:11px 13px;border-radius:12px;background:#fff4e9}.selection-summary small{color:#9a6b42;font-size:12px}.selection-summary strong{font-size:13px;line-height:1.7}.form-field{display:grid;gap:7px;margin-bottom:15px}.form-field>label{font-size:12px;font-weight:800}.form-field>label small{color:var(--muted-foreground);font-weight:400}.quantity-stepper{width:100%;min-width:0;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:10px;padding-inline:2px}.quantity-stepper [data-slot=button]{width:48px;min-width:48px;height:48px;padding:0}.quantity-stepper input{width:100%;min-width:0;height:48px;text-align:center}.toggle-field{width:100%;max-width:100%;min-width:0;display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.toggle-field-copy{min-width:0;display:flex;align-items:center;gap:9px}.toggle-field-icon{width:22px;height:22px;display:grid;flex:none;place-items:center}.toggle-field-icon svg{width:20px;height:20px}.toggle-field-text{min-width:0;display:grid;gap:2px;overflow-wrap:anywhere}.toggle-field-text strong{line-height:1.6}.toggle-field-text small{line-height:1.65}.toggle-field [data-slot=switch]{width:44px;min-width:44px;flex:none}.note-wrap,.select-wrap{position:relative}.note-wrap>svg,.select-wrap>svg{position:absolute;top:11px;right:11px;z-index:1;width:16px;color:#82908a}.select-wrap select{width:100%;height:42px;padding:0 36px 0 12px;border:1px solid var(--input);border-radius:11px;background:white;color:var(--foreground);outline:none}.select-wrap [data-slot=native-select-wrapper]>[data-slot=native-select]{padding-inline-start:36px}.select-wrap select:focus{border-color:var(--ring);box-shadow:0 0 0 3px #4f857b24}.note-wrap textarea{min-height:78px;padding-right:36px;background:white}.shopping-schedule{display:grid;gap:12px;margin-bottom:15px;padding:13px;border:1px solid var(--border);border-radius:14px;background:white}.shopping-schedule.active{border-color:#b8cbc1;background:#f5f9f6}.shopping-schedule-toggle .toggle-field-icon,.shopping-time-toggle .toggle-field-icon{color:var(--primary)}.shopping-schedule-toggle strong,.shopping-time-toggle strong{font-size:12px}.shopping-schedule-toggle small,.shopping-time-toggle small{color:var(--muted-foreground);font-size:12px}.shopping-schedule-fields{display:grid;gap:12px;padding-top:12px;border-top:1px solid #dce6e0}.shopping-schedule-fields fieldset{min-width:0;margin:0;padding:0;border:0}.shopping-schedule-fields legend,.shopping-time-field{color:#45544f;font-size:12px;font-weight:800}.shopping-schedule-fields fieldset>div{display:grid;grid-template-columns:.7fr 1.25fr 1fr;gap:7px;margin-top:7px}.shopping-schedule-fields fieldset label{display:grid;gap:5px;color:var(--muted-foreground);font-size:12px}.shopping-schedule-fields select{width:100%;height:42px;padding-inline:9px;border:1px solid var(--input);border-radius:10px;background:white;color:var(--foreground);font:inherit;outline:none}.shopping-schedule-fields select:focus,.shopping-time-field input:focus{border-color:var(--ring);box-shadow:0 0 0 3px #4f857b24}.shopping-time-field{display:grid;gap:7px}.shopping-time-field input{background:white}.shopping-schedule-fields .field-error{color:#b93434;font-size:12px}.save-item{width:100%;margin-top:4px;border-radius:12px}.domain-stats{display:grid;grid-template-columns:repeat(2,minmax(0,260px));gap:12px;margin-bottom:18px}.domain-stats article{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid var(--border);border-radius:16px;background:white}.domain-stats article>span{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#e8f0eb;color:var(--primary)}.domain-stats svg{width:18px}.domain-stats article div{display:grid;gap:3px}.domain-stats small{color:var(--muted-foreground);font-size:12px}.domain-stats strong{font-size:14px}.domain-stack{display:grid;gap:18px}.loan-list-section{display:grid;gap:14px}.loan-list-heading{display:flex;align-items:end;justify-content:space-between;gap:16px}.loan-list-heading h2{margin:0 0 5px;font-size:21px}.loan-list-heading p{margin:0;color:var(--muted-foreground);font-size:12px}.loan-list-heading>span{padding:7px 11px;border-radius:999px;background:#e8f0eb;color:var(--primary);font-size:12px;font-weight:900}.loan-list-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.loan-list-card{position:relative;display:grid;gap:16px;min-width:0;padding:20px;border:1px solid var(--border);border-radius:18px;background:white;color:var(--foreground);font:inherit;text-align:right;box-shadow:0 8px 24px #263b3320;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.loan-list-card:hover{transform:translateY(-2px);border-color:#9eb8ad;box-shadow:0 12px 30px #263b3328}.loan-list-card:focus-visible{outline:3px solid #4f857b35;outline-offset:2px}.loan-list-card-top{display:grid;grid-template-columns:50px 1fr 22px;align-items:center;gap:12px}.loan-list-card-top small{color:var(--muted-foreground);font-size:12px}.loan-list-card-top h3{margin:3px 0 0;font-size:18px}.loan-card-chevron{width:20px;color:#8c9994}.loan-list-amount{display:grid;gap:3px;padding:12px 14px;border-radius:13px;background:#f7f8f4}.loan-list-amount small{color:var(--muted-foreground);font-size:12px}.loan-list-amount strong{font-size:17px}.loan-list-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px}.loan-list-meta span{display:flex;align-items:center;gap:6px;color:var(--muted-foreground);font-size:12px}.loan-list-meta svg{width:15px;flex:none;color:var(--primary)}.loan-list-progress{display:grid;gap:8px}.loan-list-progress>div{display:flex;align-items:center;justify-content:space-between;font-size:12px}.loan-list-progress strong{color:var(--primary)}.loan-list-progress [data-slot=progress]{height:7px}.loan-due-label{width:fit-content;padding:5px 9px;border-radius:999px;background:#edf3ef;color:var(--primary);font-size:12px;font-weight:800}.loan-due-label.urgent{background:#fff0e3;color:#9a542e}.installment-detail-card{padding:28px}.loan-heading{display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:14px}.loan-bank{width:50px;height:50px;display:grid;place-items:center;border-radius:16px;background:#f2e4dc;color:#a54f36}.loan-bank svg{width:23px}.loan-amount small,.loan-heading small{color:var(--muted-foreground);font-size:12px}.loan-heading h2{margin:3px 0 0;font-size:20px}.loan-amount{display:grid;gap:4px;text-align:left}.loan-amount strong{font-size:15px}.loan-progress{margin-top:24px;padding:17px;border-radius:15px;background:#f7f7f2}.loan-progress>div{display:flex;justify-content:space-between;margin-bottom:10px;font-size:12px}.loan-progress strong{color:var(--primary)}.loan-progress [data-slot=progress]{height:8px}.payment-map{display:flex;flex-wrap:wrap;gap:7px;margin:22px 0}.payment-map span{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;font-size:12px}.payment-map span svg{width:14px}.payment-map .paid{background:var(--primary);color:white}.payment-map .next{border:2px solid var(--apricot);background:#fff4ef;color:#a34f36;font-weight:900}.payment-map .future{background:#f0f1ed;color:#8b9692}.next-payment{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:18px;border-top:1px solid var(--border)}.next-payment>div{display:flex;align-items:center;gap:10px}.next-payment svg{width:20px;color:var(--primary)}.next-payment p{display:grid;gap:2px;margin:0}.next-payment small{color:var(--muted-foreground);font-size:12px}.next-payment strong{font-size:13px}.installment-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.installment-stats article{max-width:none}.notification-stat{grid-template-columns:40px 1fr auto}.notification-stat button{font-size:12px}.push-trigger{position:relative;min-width:44px;min-height:44px}.push-trigger>span{position:absolute;top:8px;left:8px;width:8px;height:8px;border:2px solid white;border-radius:999px;background:#2fa56e;box-shadow:0 0 0 1px #2fa56e}.push-dialog{gap:16px;border-radius:22px;padding:22px}.push-state-card{display:grid;grid-template-columns:50px minmax(0,1fr);align-items:center;gap:13px;padding:16px;border:1px solid var(--border);border-radius:18px;background:#f7f8f5}.push-state-card>span{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#e5ece8;color:var(--primary)}.push-state-card>span svg{width:23px;height:23px}.push-state-card strong{display:block;margin-bottom:4px;font-size:14px}.push-state-card p{margin:0;color:var(--muted-foreground);font-size:12px;line-height:1.8}.push-state-enabled{border-color:#c5dfd1;background:#f1f8f4}.push-state-enabled>span{background:var(--primary);color:white}.push-state-denied,.push-state-error{border-color:#ead5cb;background:#fff8f4}.push-state-denied>span,.push-state-error>span{background:#ad6048;color:white}.push-notice{display:flex;align-items:center;gap:8px;padding:11px 13px;border-radius:13px;background:#edf7f1;color:#216345;font-size:12px;font-weight:800}.push-notice svg{width:17px}.push-device-note{display:flex;align-items:flex-start;gap:10px;color:var(--muted-foreground)}.push-device-note svg{width:19px;margin-top:2px;flex:0 0 auto}.push-device-note p{margin:0;font-size:12px;line-height:1.9}.push-actions{display:grid;gap:9px}.push-actions button{min-height:46px;white-space:normal}.due-alert{display:grid;grid-template-columns:42px 1fr;align-items:center;gap:12px;margin-bottom:16px;padding:15px 17px;border:1px solid #efc49b;border-radius:16px;background:#fff5e9;color:#7e4b20}.due-alert>svg{width:21px}.due-alert div{display:grid;gap:4px}.due-alert strong{font-size:14px}.due-alert span{font-size:12px;line-height:1.7}.installment-urgent{border-color:#ecc6a2}.installment-metadata{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:20px}.installment-metadata>span{display:grid;grid-template-columns:28px 1fr;align-items:center;column-gap:8px;padding:11px;border-radius:13px;background:#f7f8f4}.installment-metadata svg{grid-row:1/3;width:18px;color:var(--primary)}.installment-metadata small{color:var(--muted-foreground);font-size:12px}.installment-metadata strong{margin-top:2px;font-size:13px}.installment-note{display:flex;align-items:flex-start;gap:8px;margin:-4px 0 18px;padding:11px 13px;border-radius:12px;background:#f7f5ee;color:#65736e;font-size:12px;line-height:1.8}.installment-note svg{width:16px;flex:none;color:var(--primary)}.installment-empty{min-height:320px}.installment-empty>svg{width:46px;height:46px;padding:11px;border-radius:15px;background:#e7f0eb;color:var(--primary)}.installment-dialog,.loan-detail-dialog{max-height:calc(100vh - 32px);overflow-y:auto}.loan-detail-dialog .installment-detail-card{padding:4px 0 0}.loan-detail-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:18px;padding-top:16px;border-top:1px dashed var(--border)}.loan-detail-footer>span{color:var(--muted-foreground);font-size:12px}.loan-detail-actions{display:flex;align-items:center;gap:8px}.delete-loan-button{color:#b13f3f;border-color:#e8c5c5}.delete-loan-button:hover{background:#fff3f3;color:#962f2f}.installment-form{display:grid;grid-template-columns:1fr 1fr;gap:15px 13px;padding-top:6px}.installment-form>label{display:grid;align-content:start;gap:7px;color:var(--foreground);font-size:13px;font-weight:800}.installment-form label small{color:var(--muted-foreground);font-weight:400}.installment-form input,.installment-form select{width:100%;height:42px;border:1px solid var(--input);border-radius:11px;background:white;color:var(--foreground);font:inherit;font-size:13px;outline:none}.installment-form select{padding:0 11px}.installment-form input:focus,.installment-form select:focus{border-color:var(--ring);box-shadow:0 0 0 3px #4f857b24}.installment-form input[aria-invalid=true],.installment-form select[aria-invalid=true]{border-color:#c74646;box-shadow:0 0 0 3px #c7464617}.installment-form label em{color:var(--primary);font-size:12px;font-style:normal;font-weight:700}.installment-form .field-error{color:#b93434;font-size:12px;font-weight:700;line-height:1.6}.installment-form .wide-field{grid-column:1/-1}.jalali-date-field{display:grid;gap:8px;margin:0;padding:12px;border:1px solid #d9e3dd;border-radius:13px;background:#f7faf8}.jalali-date-field.has-error{border-color:#d79393;background:#fffafa}.jalali-date-field legend{padding:0 5px;font-size:13px;font-weight:900}.jalali-date-fields{display:grid;grid-template-columns:.75fr 1.25fr 1fr;gap:9px}.jalali-date-fields label{display:grid;gap:5px;color:var(--muted-foreground);font-size:12px;font-weight:700}.jalali-date-field>em{color:var(--primary);font-size:13px;font-style:normal;font-weight:800}.custom-lender-field{padding:12px;border:1px dashed #9bb6aa;border-radius:13px;background:#f2f8f5}.installment-form textarea{min-height:74px;background:white}.installment-form-summary{grid-column:1/-1;display:grid;gap:4px;padding:12px 14px;border-radius:12px;background:#fff4e9}.installment-form-summary span{color:#9a6b42;font-size:12px}.installment-form-summary strong{font-size:13px}.installment-validation-summary{padding:11px 13px;border:1px solid #edc0c0;border-radius:11px;background:#fff3f3;color:#a92f2f;font-size:13px;font-weight:800}.payment-hero{padding:25px 28px;border:1px solid #dce5ef;border-radius:24px;background:linear-gradient(125deg,#fbfcfe,#edf3f9)}.payment-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.payment-stats article{max-width:none}.payment-stats article>span{background:#e7eef8;color:#476b91}.payment-due-alert{border-color:#c9d9e9;background:#f1f6fb;color:#355a7d}.payments-section{display:grid;gap:14px}.payment-list-heading{display:flex;align-items:end;justify-content:space-between;gap:16px}.payment-list-heading h2{margin:0 0 5px;font-size:21px}.payment-list-heading p{margin:0;color:var(--muted-foreground);font-size:12px}.payment-list-heading>span{padding:7px 11px;border-radius:999px;background:#e7eef8;color:#476b91;font-size:12px;font-weight:900}.payment-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.payment-card{display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:14px;padding:20px;border:1px solid var(--border);border-radius:20px;background:white;box-shadow:0 10px 28px #173f3a0a}.payment-card.payment-urgent{border-color:#e9be95;box-shadow:0 10px 28px #a55f2712}.payment-category-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#e7eef8;color:#476b91}.payment-category-icon svg{width:22px}.payment-card-copy{min-width:0}.payment-card-copy>small{color:#55789b;font-size:12px;font-weight:900}.payment-card-copy h3{margin:3px 0 5px;overflow:hidden;font-size:17px;text-overflow:ellipsis;white-space:nowrap}.payment-card-copy p{display:flex;align-items:center;gap:5px;margin:0;color:var(--muted-foreground);font-size:12px}.payment-card-copy p svg{width:13px}.payment-card-copy p em{color:#a76833;font-style:normal}.payment-card-amount{display:grid;gap:3px;text-align:left}.payment-card-amount small{color:var(--muted-foreground);font-size:12px}.payment-card-amount strong{font-size:14px;white-space:nowrap}.payment-card-meta{grid-column:2/-1;display:flex;flex-wrap:wrap;gap:8px;padding:11px 13px;border-radius:12px;background:#f7f9fb}.payment-card-meta span{display:flex;align-items:center;gap:5px;color:#617079;font-size:12px}.payment-card-meta svg{width:14px;color:#476b91}.payment-note{grid-column:2/-1;margin:-3px 0 0;color:var(--muted-foreground);font-size:12px;line-height:1.8}.payment-card-actions{grid-column:2/-1;display:flex;gap:8px}.payment-card-actions>button:first-child{flex:1}.payment-card-actions svg{width:16px}.payment-empty{min-height:330px;display:grid;place-items:center;align-content:center;gap:9px;padding:32px;text-align:center}.payment-empty>svg{width:54px;height:54px;padding:14px;border-radius:18px;background:#e7eef8;color:#476b91}.payment-empty h2{margin:5px 0 0;font-size:21px}.payment-empty p{max-width:460px;margin:0 0 9px;color:var(--muted-foreground);font-size:12px;line-height:1.9}.payment-dialog{max-height:calc(100vh - 32px);overflow-y:auto}.payment-form{display:grid;grid-template-columns:1fr 1fr;gap:15px 13px;padding-top:6px}.payment-form>label{display:grid;align-content:start;gap:7px;color:var(--foreground);font-size:13px;font-weight:800}.payment-form label small{color:var(--muted-foreground);font-weight:400}.payment-form input,.payment-form select{width:100%;height:42px;border:1px solid var(--input);border-radius:11px;background:white;color:var(--foreground);font:inherit;font-size:13px;outline:none}.payment-form select{padding:0 11px}.payment-form input:focus,.payment-form select:focus{border-color:#476b91;box-shadow:0 0 0 3px #476b9120}.payment-form input[aria-invalid=true],.payment-form select[aria-invalid=true]{border-color:#c74646;box-shadow:0 0 0 3px #c7464617}.payment-form label em{color:#476b91;font-size:12px;font-style:normal;font-weight:700}.payment-form .field-error{color:#b93434;font-size:12px;font-weight:700;line-height:1.6}.payment-form .wide-field{grid-column:1/-1}.payment-form textarea{min-height:74px;background:white}.payment-form-summary{display:grid;gap:4px;padding:12px 14px;border-radius:12px;background:#edf3f9}.payment-form-summary span{color:#55789b;font-size:12px}.payment-form-summary strong{font-size:13px}.task-hero{padding:25px 28px;border:1px solid #d9e5df;border-radius:24px;background:linear-gradient(125deg,#fbfdfb,#eaf3ee)}.task-notification-banner{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:13px;margin-bottom:16px;padding:15px 17px;border:1px solid #d5e3dc;border-radius:17px;background:#f4f9f6}.task-notification-banner>span:first-child{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:var(--primary);color:white}.task-notification-banner>span:first-child svg{width:20px}.task-notification-banner>div{min-width:0}.task-notification-banner strong{display:block;margin-bottom:3px;font-size:13px}.task-notification-banner p{margin:0;color:var(--muted-foreground);font-size:12px;line-height:1.8}.task-notification-banner>button{border-color:#a9c2b7;color:var(--primary)}.task-notification-banner>button svg{width:15px}.task-notification-banner.notification-denied{border-color:#ead5cb;background:#fff8f4}.task-notification-banner.notification-denied>span:first-child{background:#ad6048}.task-notification-banner.notification-unsupported{background:#f5f5f2}.task-notification-banner.notification-unsupported>span:first-child{background:#7b8581}.notification-status{display:inline-flex;align-items:center;gap:5px;color:var(--primary);font-size:12px;font-weight:900}.notification-status svg{width:15px}.notification-denied .notification-status,.notification-unsupported .notification-status{color:#8a6153}.task-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.task-stats article{max-width:none}.task-stats article>span{background:#e5f0e9;color:var(--primary)}.task-stats .task-stat-alert>span{background:#f8e8de;color:#a45138}.task-board{display:grid;gap:15px}.task-board-head{display:flex;align-items:end;justify-content:space-between;gap:18px}.task-board-head h2{margin:0 0 5px;font-size:21px}.task-board-head p{margin:0;color:var(--muted-foreground);font-size:12px}.task-filters{display:flex;gap:5px;padding:4px;border-radius:13px;background:#e8efeb}.task-filters button{min-height:34px;padding:7px 12px;border:0;border-radius:10px;background:transparent;color:#64736d;font:inherit;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer}.task-filters button.active{background:white;color:var(--primary);box-shadow:0 4px 12px #173f3a12}.task-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.household-task-card{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr);gap:13px;padding:18px;overflow:hidden;border:1px solid var(--border);border-right:4px solid #7f9b90;border-radius:19px;background:white;box-shadow:0 10px 28px #173f3a09}.household-task-card.priority-low{border-right-color:#aebbb5}.household-task-card.priority-high{border-right-color:var(--apricot)}.household-task-card.task-completed{opacity:.72;border-right-color:#90a69d;background:#fafcfb}.task-category-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:15px;background:#e5f0e9;color:var(--primary)}.task-category-icon svg{width:21px}.task-card-copy{min-width:0}.task-card-copy small{color:#497567;font-size:12px;font-weight:900}.task-card-copy h3{margin:3px 0 6px;overflow:hidden;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.task-card-copy p{display:flex;align-items:center;gap:5px;margin:0;color:var(--muted-foreground);font-size:12px}.task-card-copy p.overdue{color:#aa5038;font-weight:800}.task-card-copy p svg{width:13px}.task-card-meta{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px;padding:10px 12px;border-radius:12px;background:#f4f7f5}.task-card-meta>span{display:flex;align-items:center;gap:5px;color:#5e6e68;font-size:12px}.task-card-meta svg{width:14px;color:var(--primary)}.task-card-meta .task-note{width:100%;padding-top:7px;border-top:1px solid #dfe6e2;line-height:1.7}.task-card-actions{grid-column:1/-1;display:flex;gap:7px}.task-card-actions>button:first-child{flex:1}.task-card-actions svg{width:16px}.task-done-mark{grid-column:1/-1;display:flex;align-items:center;gap:6px;color:var(--primary);font-size:12px;font-weight:900}.task-done-mark svg{width:16px}.task-empty{min-height:300px;display:grid;place-items:center;align-content:center;gap:9px;padding:30px;text-align:center}.task-empty>svg{width:52px;height:52px;padding:13px;border-radius:18px;background:#e5f0e9;color:var(--primary)}.task-empty h2{margin:5px 0 0;font-size:20px}.task-empty p{max-width:430px;margin:0 0 8px;color:var(--muted-foreground);font-size:12px;line-height:1.9}.task-dialog{max-height:calc(100vh - 32px);overflow-y:auto}.task-form{display:grid;grid-template-columns:1fr 1fr;gap:15px 13px;padding-top:6px}.form-presets{padding:12px;border:1px solid #d5e2db;border-radius:15px;background:#f7faf8}.form-presets legend{padding-inline:5px;color:var(--foreground);font-size:13px;font-weight:900}.form-presets legend small{color:var(--muted-foreground);font-size:12px;font-weight:500}.form-presets>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.form-presets button{min-width:0;min-height:48px;display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:9px 11px;border:1px solid #d7e3dd;border-radius:12px;background:white;color:#48685e;font:inherit;font-size:12px;font-weight:850;line-height:1.6;text-align:right;cursor:pointer}.form-presets button:hover{border-color:#8eaea1;background:#eff6f2}.form-presets button:focus-visible{outline:3px solid #174b4326;outline-offset:2px}.form-presets button[aria-pressed=true]{border-color:var(--primary);background:#e5f0e9;color:var(--primary)}.form-presets button svg{width:18px;height:18px;flex:none}.task-form>label{display:grid;align-content:start;gap:7px;color:var(--foreground);font-size:13px;font-weight:800}.task-form label small{color:var(--muted-foreground);font-weight:400}.task-form input,.task-form select{width:100%;height:42px;border:1px solid var(--input);border-radius:11px;background:white;color:var(--foreground);font:inherit;font-size:13px;outline:none}.task-form select{padding:0 11px}.task-form input:focus,.task-form select:focus{border-color:var(--primary);box-shadow:0 0 0 3px #174b431b}.task-form input[aria-invalid=true]{border-color:#c74646}.task-form .wide-field{grid-column:1/-1}.task-form textarea{min-height:74px;background:white}.task-date-fields{display:grid;grid-template-columns:.75fr 1.15fr 1fr 1fr;gap:9px}.task-date-fields label{display:grid;gap:5px;color:var(--muted-foreground);font-size:12px}.task-form .field-error{color:#b93434;font-size:12px;font-weight:700}.task-rotation-choice{grid-template-columns:20px 1fr!important;align-items:start;padding:12px 14px;border:1px solid #cfe0d7;border-radius:13px;background:#f2f8f5;cursor:pointer}.task-rotation-choice input{width:18px;height:18px;margin-top:2px;accent-color:var(--primary)}.task-rotation-choice span{display:grid;gap:3px}.task-rotation-choice strong{font-size:12px}.task-rotation-choice small{font-size:12px;line-height:1.7}.task-form-summary{display:grid;gap:4px;padding:12px 14px;border-radius:12px;background:#eaf3ee}.task-form-summary span{color:#4f776b;font-size:12px}.task-form-summary strong{font-size:13px}.medicine-timeline{display:grid;gap:16px}.medicine-detail-card{display:grid;grid-template-columns:86px minmax(0,1fr);align-items:center;gap:12px 22px;padding:24px;border-right:4px solid #80608f}.medicine-detail-card.taken{border-right-color:var(--primary);background:#fbfdfb}.timeline-time{grid-column:1;grid-row:1/span 3;display:grid;justify-items:center;gap:4px;padding:12px 8px;border-radius:15px;background:#f0e9f3;color:#6f4c7d}.timeline-time svg{width:17px}.timeline-time strong{font-size:16px}.timeline-time small{font-size:12px}.medicine-info{grid-column:2;grid-row:1;display:flex;align-items:center;justify-self:stretch;gap:12px}.medicine-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#eee6f2;color:#735484}.medicine-icon svg{width:20px}.medicine-info small{color:#7b5b89;font-size:12px}.medicine-info h2{margin:3px 0;font-size:18px}.medicine-info p{margin:0;color:var(--muted-foreground);font-size:12px}.medicine-info-button{min-width:0!important;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:right;cursor:pointer}.medicine-info-button:hover h2{color:#6f4c7d}.medicine-info-button:focus-visible{border-radius:12px;outline:3px solid #80608f2c;outline-offset:4px}.medicine-meta{grid-column:2;grid-row:2;display:flex;flex-wrap:wrap;gap:8px 18px}.medicine-meta span{display:flex;align-items:center;gap:6px;color:var(--muted-foreground);font-size:12px}.medicine-meta svg{width:15px}.medicine-detail-card>.medicine-take-button{grid-column:2;grid-row:3;justify-self:start;min-width:140px}.medicine-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.medicine-stats article{max-width:none}.medicine-tabs{gap:16px}.medicine-tabs>[data-slot=tabs-list]{width:100%;max-width:none;height:48px;display:grid;grid-template-columns:1fr 1fr;padding:4px;background:#eee8f1}.medicine-tabs [data-slot=tabs-trigger]{font-size:13px;font-weight:800}.medicine-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.medicine-library-card{display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:12px;padding:17px;border:1px solid var(--border);border-radius:17px;background:white;color:var(--foreground);font:inherit;text-align:right;box-shadow:0 7px 20px #402f4920;cursor:pointer;transition:transform .16s ease,border-color .16s ease}.medicine-library-card:hover{transform:translateY(-2px);border-color:#b8a2c2}.medicine-library-card:focus-visible{outline:3px solid #80608f2c;outline-offset:2px}.medicine-library-card small{color:#80608f;font-size:12px}.medicine-library-card h3{margin:3px 0;font-size:17px}.medicine-library-card p{margin:0;color:var(--muted-foreground);font-size:12px}.medicine-library-card>span{display:flex;align-items:center;gap:6px;color:var(--muted-foreground);font-size:12px;direction:ltr}.medicine-library-card>span svg{width:15px;color:#80608f}.medicine-empty{grid-column:1/-1;min-height:280px}.medicine-tip{display:flex;gap:12px;margin-top:16px;padding:17px;border-radius:16px;background:#f3ead4;color:#654f28}.medicine-tip>svg{width:19px;flex:none;color:#b8872e}.medicine-tip strong{font-size:12px}.medicine-tip p{margin:5px 0 0;color:#7d6b47;font-size:12px}.medicine-safety-note{display:flex;gap:12px;margin-top:18px;padding:17px;border:1px solid #d7c9dd;border-radius:16px;background:#f6f1f8;color:#5f456a}.medicine-safety-note>svg{width:20px;flex:none}.medicine-safety-note strong{font-size:13px}.medicine-safety-note p{margin:5px 0 0;color:#755d7f;font-size:12px}.medicine-detail-dialog{max-height:calc(100vh - 32px);overflow-y:auto}.medicine-detail-hero{display:flex;align-items:center;gap:13px;padding:15px;border-radius:15px;background:#f5eff7}.medicine-detail-hero small{color:#80608f;font-size:12px}.medicine-detail-hero h2{margin:3px 0;font-size:22px}.medicine-detail-hero p{margin:0;color:var(--muted-foreground);font-size:13px}.medicine-detail-metadata{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.medicine-detail-metadata>span{display:grid;grid-template-columns:27px 1fr;align-items:center;gap:2px 8px;padding:12px;border-radius:13px;background:#f7f8f4}.medicine-detail-metadata svg{grid-row:1/3;width:17px;color:#80608f}.medicine-detail-metadata small{color:var(--muted-foreground);font-size:12px}.medicine-detail-metadata strong{font-size:13px}.medicine-note{margin:0}.medicine-detail-actions{display:flex;justify-content:space-between;gap:10px;padding-top:15px;border-top:1px solid var(--border)}.medicine-add-dialog{width:calc(100% - 32px)!important;max-height:calc(100vh - 24px);overflow:hidden;padding:0}.medicine-add-dialog>[data-slot=dialog-header]{padding:24px 26px 4px}.medicine-add-layout{display:grid;grid-template-columns:1.15fr .85fr;min-height:0;overflow:hidden}.medicine-picker,.medicine-plan-form{min-height:0;padding:20px 24px 24px;overflow-y:auto}.medicine-picker{border-left:1px solid var(--border);background:#faf8fb}.medicine-form-title,.medicine-picker-head{display:grid;gap:4px}.medicine-form-title,.medicine-picker-head>div:first-child{display:grid;gap:3px}.medicine-form-title strong,.medicine-picker-head strong{font-size:15px}.medicine-form-title small,.medicine-picker-head small{color:var(--muted-foreground);font-size:12px}.medicine-search{position:relative;margin-top:12px}.medicine-search>svg{position:absolute;top:12px;right:12px;z-index:1;width:17px;color:#80608f}.medicine-search input{height:42px;padding-right:38px;background:white}.choice-chips,.medicine-category-chips{display:flex;flex-wrap:wrap;gap:7px}.medicine-category-chips{flex-wrap:nowrap;margin:14px 0;padding-bottom:5px;overflow-x:auto}.choice-chips button,.medicine-category-chips button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:7px 11px;border:1px solid #ddd5e1;border-radius:999px;background:white;color:#5e5362;font:inherit;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer}.choice-chips button svg,.medicine-category-chips button svg{width:14px}.choice-chips button.active,.medicine-category-chips button.active{border-color:#80608f;background:#80608f;color:white}.medicine-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:330px;overflow-y:auto}.medicine-catalog-grid>button{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:8px;min-width:0;padding:11px;border:1px solid #e2dce5;border-radius:13px;background:white;color:var(--foreground);font:inherit;text-align:right;cursor:pointer}.medicine-catalog-grid>button:hover{border-color:#b9a3c2}.medicine-catalog-grid>button.selected{border-color:#80608f;background:#f2eaf5}.medicine-catalog-grid>button>svg{width:17px;color:#80608f}.medicine-catalog-grid>button>svg:last-child{width:15px;color:var(--primary)}.medicine-catalog-grid span{display:grid;min-width:0;gap:2px}.medicine-catalog-grid strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.medicine-catalog-grid small{color:var(--muted-foreground);font-size:12px}.medicine-no-result{padding:26px 12px;color:var(--muted-foreground);font-size:13px;text-align:center}.custom-medicine-choice{width:100%;margin-top:12px;padding:11px;border:1px dashed #a991b4;border-radius:12px;background:#f7f1f9;color:#6d4f79;font:inherit;font-size:12px;font-weight:900;cursor:pointer}.custom-medicine-choice.selected{border-style:solid;background:#80608f;color:white}.medicine-plan-form{display:grid;align-content:start;gap:14px}.medicine-plan-form fieldset,.medicine-plan-form>label{display:grid;gap:7px;margin:0;color:var(--foreground);font-size:13px;font-weight:800}.medicine-plan-form fieldset{padding:11px;border:1px solid #e1d9e4;border-radius:13px}.medicine-plan-form fieldset.has-error,.medicine-selection-placeholder.has-error{border-color:#d79393;background:#fffafa}.medicine-plan-form legend{padding:0 4px}.medicine-plan-form label>small,.medicine-plan-form legend small{color:var(--muted-foreground);font-weight:400}.medicine-plan-form input,.medicine-plan-form textarea{background:white}.medicine-plan-form input[aria-invalid=true]{border-color:#c74646;box-shadow:0 0 0 3px #c7464617}.medicine-plan-form .field-error{color:#b93434;font-size:12px;font-weight:700;line-height:1.6}.medicine-selection-placeholder{display:grid;place-items:center;gap:7px;min-height:100px;padding:16px;border:1px dashed #cabdce;border-radius:14px;color:#806f87;text-align:center}.medicine-selection-placeholder svg{width:26px}.medicine-selection-placeholder span{font-size:13px;font-weight:800}.medicine-selection-placeholder small{color:#b93434;font-size:12px}.selected-medicine-summary{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:11px;border-radius:13px;background:#f1eaf4}.selected-medicine-summary>svg{width:20px;color:#80608f}.selected-medicine-summary div{display:grid;gap:2px}.selected-medicine-summary small{color:#80608f;font-size:12px}.selected-medicine-summary strong{font-size:14px}.selected-medicine-summary button{padding:6px;border:0;background:transparent;color:#6d4f79;font:inherit;font-size:12px;font-weight:900;cursor:pointer}.member-chips button{min-width:90px}.medicine-reminder-row{padding:12px;border:1px solid #e1d9e4;border-radius:13px}.medicine-reminder-row .toggle-field-icon{color:#80608f}.medicine-reminder-row .toggle-field-icon svg{width:17px}.medicine-reminder-row strong{font-size:13px}.medicine-reminder-row small{font-size:12px}.medicine-plan-summary{display:grid;gap:3px;padding:11px 13px;border-radius:12px;background:#fff4e9}.medicine-plan-summary small{color:#9a6b42;font-size:12px}.medicine-plan-summary strong{font-size:12px;line-height:1.8}@media (max-width:980px){.topbar{grid-template-columns:auto 1fr auto;padding:0 18px}.app-shell{grid-template-columns:84px minmax(0,1fr)}.sidebar{padding-inline:12px}.sidebar nav a{justify-content:center;padding:0}.home-note,.profile div,.profile>svg,.sidebar nav a b,.sidebar nav a span{display:none}.profile{grid-template-columns:1fr;justify-items:center}.summary-grid{grid-template-columns:1fr 1fr}.summary-card:last-child{grid-column:1/-1}.catalog-groups section>div,.detail-catalog section>div{grid-template-columns:repeat(3,1fr)}.medicine-detail-card{grid-template-columns:76px minmax(0,1fr)}.medicine-meta{grid-column:2}.medicine-detail-card>.medicine-take-button{grid-column:2;grid-row:3}}@media (max-width:720px){.topbar{height:66px;grid-template-columns:auto 1fr auto;gap:10px;padding:0 14px}.brand-mark{width:38px;height:38px}.topbar-title{font-size:13px}.invite-button{width:38px;padding:0;font-size:0}.avatar-stack{display:none}.app-shell{display:block}.sidebar{position:fixed;top:auto;bottom:0;right:0;left:0;z-index:50;width:auto;height:calc(82px + env(safe-area-inset-bottom));padding:8px 16px calc(8px + env(safe-area-inset-bottom));border:0;border-top:1px solid var(--border)}.sidebar nav{grid-template-columns:repeat(3,1fr)}.sidebar nav a{min-height:58px;flex-direction:row;gap:8px;border-radius:16px;font-size:12px}.sidebar nav a span{display:block}.sidebar nav a svg{width:22px}.profile{display:none}.content{width:calc(100% - 28px);padding:24px 0 116px}.welcome-row{margin-bottom:20px}.day-badge{display:none}.welcome-row h1{font-size:27px}.summary-grid{grid-template-columns:1fr;gap:10px}.summary-card,.summary-card:last-child{grid-column:auto;min-height:125px}.section-heading{align-items:flex-start;padding:22px 18px 16px}.section-heading p{display:none}.primary-action{width:42px;padding:0;font-size:0}.shopping-tabs{gap:18px;padding:0 18px!important;overflow-x:auto}.tab-space{padding:0 18px 20px}.list-head{display:none}.shopping-row{grid-template-columns:32px 1fr auto}.assignee small{max-width:64px;text-align:left}.previous-grid{grid-template-columns:1fr}.catalog-groups section>div{grid-template-columns:repeat(2,1fr)}.sticky-action{align-items:stretch;flex-direction:column}.lower-grid{grid-template-columns:1fr}.compact-panel{padding:20px 18px}.installment-card{grid-template-columns:42px 1fr}.installment-card>b,.installment-card>button{grid-column:2;justify-self:start}.installment-card [data-slot=progress]{grid-column:1/-1}.activity-list{padding:0 18px}.activity-list>div{grid-template-columns:34px 1fr}.activity-list time{grid-column:2}.internal-title{display:none}.internal-content{padding-top:22px}.internal-hero{align-items:flex-start}.internal-hero h1{font-size:29px}.internal-hero p{max-width:260px;line-height:1.8}.back-link{display:none}.internal-add{min-width:48px;width:48px;height:48px;padding:0!important;gap:0;font-size:0}.internal-add svg{width:22px!important;height:22px!important;margin:auto}.quantity-stepper [data-slot=button]{padding:0!important}.detail-list-head{display:none}.shopping-detail-row{grid-template-columns:40px minmax(0,1fr);gap:10px;padding:15px 0}.shopping-detail-row .assignee{grid-column:2}.shopping-detail-row .assignee small{width:100%;max-width:none;text-align:right}.shopping-row-actions{grid-column:1/-1;justify-content:stretch;padding-top:4px}.shopping-row-actions [data-slot=button]{min-width:44px;flex:1}.detail-catalog section>div{grid-template-columns:repeat(2,1fr)}.add-item-dialog{width:calc(100% - 18px)!important;max-width:none!important;height:calc(100vh - 18px)}.add-item-dialog>[data-slot=dialog-header]{padding:20px 18px 15px}.add-item-layout{display:block;overflow-y:auto}.product-picker{min-height:440px;padding:16px;border-left:0;border-bottom:1px solid var(--border)}.product-picker-grid{grid-template-columns:repeat(3,1fr);max-height:300px}.item-details-form{min-height:360px;padding:18px}.details-placeholder{min-height:300px}.domain-stats{grid-template-columns:1fr 1fr}.installment-stats{grid-template-columns:1fr}.loan-list-heading{align-items:flex-start}.loan-list-heading p{max-width:220px;line-height:1.7}.loan-list-grid{grid-template-columns:1fr}.loan-list-card{padding:17px}.loan-list-meta{grid-template-columns:1fr}.installment-detail-card{padding:19px}.loan-heading{grid-template-columns:46px 1fr}.loan-amount{grid-column:2;text-align:right}.installment-metadata{grid-template-columns:1fr}.payment-map span{width:30px;height:30px}.next-payment{align-items:stretch;flex-direction:column}.next-payment button{width:100%}.loan-detail-footer{align-items:stretch;flex-direction:column}.loan-detail-actions,.loan-detail-footer button{width:100%}.installment-dialog,.loan-detail-dialog{width:calc(100% - 18px)!important;max-width:none!important}.installment-form{grid-template-columns:1fr}.installment-form .wide-field,.installment-form-summary,.installment-form>label{grid-column:1}.payment-stats{grid-template-columns:1fr}.payment-list-heading{align-items:flex-start}.payment-list-heading p{max-width:230px;line-height:1.7}.payment-list{grid-template-columns:1fr}.payment-card{grid-template-columns:46px minmax(0,1fr);padding:17px}.payment-card-amount{grid-column:2;text-align:right}.payment-card-actions,.payment-card-meta,.payment-note{grid-column:1/-1}.payment-dialog{width:calc(100% - 18px)!important;max-width:none!important}.payment-form{grid-template-columns:1fr}.payment-form .wide-field,.payment-form-summary,.payment-form>label{grid-column:1}.medicine-detail-card{grid-template-columns:72px minmax(0,1fr);gap:12px 14px;padding:17px}.timeline-time{grid-column:1;grid-row:1/span 3;align-self:stretch;align-content:center}.medicine-info{grid-column:2;grid-row:1;justify-content:flex-start}.medicine-meta{grid-column:2;grid-row:2;display:grid;gap:7px}.medicine-detail-card>.medicine-take-button{grid-column:2;grid-row:3;width:100%}.medicine-library-grid,.medicine-stats{grid-template-columns:1fr}.medicine-library-card{grid-template-columns:42px 1fr auto}.medicine-detail-metadata{grid-template-columns:1fr}.medicine-detail-actions{flex-direction:column}.medicine-detail-actions button{width:100%}.medicine-add-dialog{width:calc(100% - 18px)!important;max-width:none!important;height:calc(100vh - 18px)}.medicine-add-dialog>[data-slot=dialog-header]{padding:20px 18px 4px}.medicine-add-layout{display:block;overflow-y:auto}.medicine-picker,.medicine-plan-form{overflow:visible;padding:16px 18px 20px}.medicine-picker{border-left:0;border-bottom:1px solid var(--border)}.medicine-catalog-grid{max-height:300px}}.topbar-profile{display:flex;align-items:center;gap:9px;min-width:142px;padding:5px 8px 5px 12px;border:1px solid var(--border);border-radius:14px;background:white;color:var(--foreground);text-decoration:none}.topbar-profile-static{cursor:default;user-select:none}.topbar-profile>span{width:32px;height:32px;display:grid;place-items:center;flex:none;border-radius:11px;background:var(--primary);color:white;font-size:12px;font-weight:900}.topbar-profile div{display:grid;gap:1px}.topbar-profile strong{font-size:12px}.topbar-profile small{color:var(--muted-foreground);font-size:12px}.primary-sidebar .home-note{margin-top:auto;margin-bottom:0}.home-note-mark{width:34px;height:34px;display:grid;place-items:center;flex:none;border-radius:12px;background:#e4d29e;color:#6b5222}.home-note-mark svg{width:17px;height:17px}.hub-content{width:min(1080px,calc(100% - 64px));padding-top:34px}.home-welcome{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:178px;margin-bottom:30px;padding:31px 36px;overflow:hidden;border:1px solid #d7e2db;border-radius:28px;background:linear-gradient(125deg,#fdfbf5,#edf4ef);box-shadow:0 18px 45px #173f3a0b}.home-welcome:after{content:"";position:absolute;left:-70px;bottom:-105px;width:260px;height:260px;border:44px solid #f1dccf70;border-radius:50%}.home-welcome>div{position:relative;z-index:1}.home-welcome h1{margin:0;font-size:clamp(28px,3.2vw,42px);letter-spacing:-1.2px}.home-welcome p:last-child{margin:10px 0 0;color:var(--muted-foreground);font-size:14px}.welcome-spark{position:relative;z-index:1;width:76px;height:76px;display:grid;place-items:center;margin-left:18px;border-radius:25px;background:var(--primary);color:#f5dfaa;box-shadow:0 18px 36px #174b4330;transform:rotate(-4deg)}.welcome-spark svg{width:31px;height:31px}.attention-section,.services-section{margin-bottom:34px}.hub-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:15px;padding:0 3px}.hub-section-heading>div>span{display:block;margin-bottom:4px;color:var(--apricot);font-size:12px;font-weight:900}.hub-section-heading h1,.hub-section-heading h2{margin:0;font-size:22px}.hub-section-heading>small{color:var(--muted-foreground);font-size:12px}.attention-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.attention-card{position:relative;display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:12px;min-width:0;min-height:112px;padding:17px;border:1px solid var(--border);border-radius:19px;background:white;color:var(--foreground);text-decoration:none;box-shadow:0 10px 28px #173f3a08;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.attention-card:hover{transform:translateY(-2px);border-color:#9fb8ae;box-shadow:0 14px 32px #173f3a12}.attention-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:14px}.attention-icon svg{width:20px}.shopping-attention .attention-icon{background:#e5f0e9;color:var(--primary)}.installment-attention .attention-icon{background:#f7e9e0;color:#a4543b}.payment-attention .attention-icon{background:#e7eef8;color:#476b91}.task-attention .attention-icon{background:#e4efe9;color:var(--primary)}.medicine-attention .attention-icon{background:#eee7f2;color:#735184}.pet-attention .attention-icon{background:#fff0d5;color:#9a6823}.attention-card>div{min-width:0}.attention-card small{display:block;margin-bottom:4px;color:var(--muted-foreground)}.attention-card strong{display:block;font-size:13px}.attention-card p,.attention-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attention-card p{margin:3px 0 0;color:var(--muted-foreground)}.attention-card>b{min-width:26px;height:26px;display:grid;place-items:center;padding:0 7px;border-radius:9px;background:#e9f1ec;color:var(--primary);font-size:12px}.attention-done{width:21px;color:#5f8a7c}.attention-alert{width:20px;color:var(--apricot-strong)}.services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.service-card{position:relative;display:grid;grid-template-columns:56px 1fr;grid-template-rows:1fr auto;gap:14px;min-height:230px;padding:22px;overflow:hidden;border:1px solid var(--border);border-radius:24px;background:white;color:var(--foreground);text-decoration:none;box-shadow:0 14px 36px #173f3a0b;transition:transform .18s ease,box-shadow .18s ease}.service-card:after{content:"";position:absolute;left:-46px;bottom:-60px;width:150px;height:150px;border-radius:50%;opacity:.42}.service-card:hover{transform:translateY(-4px);box-shadow:0 20px 40px #173f3a17}.service-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:18px}.service-icon svg{width:25px}.service-card>div{grid-column:1/-1;align-self:end;position:relative;z-index:1}.service-card h3{margin:0 0 7px;font-size:19px}.service-card p{min-height:44px;margin:0 0 14px;color:var(--muted-foreground);line-height:1.9}.service-card small{display:inline-flex;padding:6px 10px;border-radius:999px;font-weight:800}.service-card>svg{position:absolute;top:27px;left:23px;width:19px;color:#8a9893}.service-shopping .service-icon,.service-shopping small{background:#e4efe9;color:var(--primary)}.service-shopping:after{background:#cde2d7}.service-medicine .service-icon,.service-medicine small{background:#eee6f2;color:#735184}.service-medicine:after{background:#dccce3}.service-installment .service-icon,.service-installment small{background:#f6e7de;color:#a45138}.service-installment:after{background:#edcbb9}.service-payment .service-icon,.service-payment small{background:#e7eef8;color:#476b91}.service-payment:after{background:#cbdced}.service-task .service-icon,.service-task small{background:#e4efe9;color:var(--primary)}.service-task:after{background:#cde2d7}.service-pet .service-icon,.service-pet small{background:#fff0d5;color:#9a6823}.service-pet:after{background:#f3d89e}.pet-hero{align-items:center;padding:24px 28px;border:1px solid #eadfc9;border-radius:24px;background:linear-gradient(125deg,#fffdf7,#f8efe0)}.pet-hero-copy{min-width:0;max-width:620px}.pet-hero-actions{display:flex;align-items:center;gap:9px}.pet-hero-actions button{min-height:48px;border-radius:13px}.pet-stats article>span{background:#fff0d5;color:#9a6823}.pet-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr);align-items:start;gap:20px}.pet-main-column,.pet-profile-column{min-width:0}.pet-section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:13px;padding:0 3px}.pet-section-heading span{display:block;margin-bottom:3px;color:#a97026;font-size:12px;font-weight:900}.pet-section-heading h2{margin:0;font-size:20px}.pet-section-heading button{border-radius:11px}.pet-care-list,.pet-profile-list{display:grid;gap:11px}.pet-care-card{display:grid;grid-template-columns:48px 1fr 20px auto;align-items:center;gap:13px;padding:17px;border:1px solid var(--border);border-radius:19px;background:white;box-shadow:0 10px 26px #173f3a08}.pet-care-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:15px;background:#fff0d5;color:#9a6823}.pet-care-icon svg{width:21px}.care-antiparasitic,.care-medicine{background:#eee6f2;color:#735184}.care-vaccine,.care-vet{background:#e5f0e9;color:var(--primary)}.pet-care-copy{min-width:0}.pet-care-copy small{display:block;margin-bottom:3px;color:var(--muted-foreground);font-size:12px}.pet-care-copy strong{display:block;font-size:13px}.pet-care-copy p{display:flex;align-items:center;gap:5px;margin:4px 0 0;color:#66756f;font-size:12px}.pet-care-copy p svg{width:13px}.pet-care-copy p em{color:#9b7a43;font-style:normal}.pet-care-copy>span{display:block;margin-top:5px;overflow:hidden;color:var(--muted-foreground);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.pet-care-assignee{display:flex;align-items:center;gap:5px;margin-top:6px;color:#536b63;font-size:12px;font-weight:700}.pet-care-assignee svg{width:13px;height:13px}.pet-reminder{width:17px;color:#d59a31}.pet-care-card>button{border-radius:11px}.pet-care-actions{display:flex;align-items:center;gap:7px}.pet-care-actions [data-slot=button]{min-height:44px;border-radius:11px}.pet-care-actions [data-slot=button][data-size=icon]{min-width:44px}.pet-profile-card{display:grid;grid-template-columns:52px 1fr;gap:12px;padding:17px;border:1px solid var(--border);border-radius:19px;background:white;box-shadow:0 10px 26px #173f3a08}.pet-avatar{width:50px;height:50px;display:grid;place-items:center;grid-row:1/3;border-radius:17px;background:#e7f0eb;color:var(--primary)}.pet-avatar svg{width:23px}.pet-avatar-1{background:#fff0d5;color:#9a6823}.pet-avatar-2{background:#eee6f2;color:#735184}.pet-avatar-3{background:#f6e7de;color:#a45138}.pet-profile-card small{color:var(--muted-foreground);font-size:12px}.pet-profile-card h3{margin:2px 0 5px;font-size:17px}.pet-profile-card p{display:flex;align-items:center;gap:5px;margin:0;color:#64726d;font-size:12px}.pet-profile-card p svg{width:13px}.pet-profile-card>span{grid-column:1/-1;padding-top:10px;border-top:1px solid #edf0ec;color:var(--muted-foreground);font-size:12px;line-height:1.8}.pet-profile-actions{grid-column:1/-1;display:flex;align-items:center;gap:7px;padding-top:4px}.pet-profile-actions [data-slot=button]:first-child{flex:1}.pet-weight-history{display:grid;gap:8px;margin-top:4px;padding-top:14px;border-top:1px solid var(--border)}.pet-weight-history h3{margin:0 0 2px;font-size:14px}.pet-weight-history article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:12px;background:#f7f9f6}.pet-weight-history article div{display:grid;gap:2px}.pet-weight-history article strong{font-size:13px}.pet-weight-history article small,.pet-weight-history article>span{color:var(--muted-foreground);font-size:12px}.pet-empty{min-height:360px;display:grid;place-items:center;align-content:center;gap:9px;padding:35px;text-align:center}.pet-empty>svg{width:58px;height:58px;padding:15px;border-radius:20px;background:#fff0d5;color:#9a6823}.pet-empty h2{margin:4px 0 0;font-size:21px}.pet-empty p{max-width:440px;margin:0 0 8px;color:var(--muted-foreground);font-size:12px;line-height:1.9}.pet-care-empty{min-height:138px;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:14px;padding:22px;border:1px dashed #cbd8d1;border-radius:19px;background:#fbfcf9}.pet-care-empty>span{width:44px;height:44px;display:grid;place-items:center;border-radius:15px;background:#e5f0e9;color:var(--primary)}.pet-care-empty>span svg{width:20px}.pet-care-empty>div{min-width:0}.pet-care-empty strong{display:block;font-size:14px}.pet-care-empty p{margin:4px 0 0;color:var(--muted-foreground);font-size:12px;line-height:1.8}.pet-care-empty>button{border-radius:11px}.pet-dialog{display:flex;max-height:calc(100dvh - 32px);flex-direction:column;gap:0!important;overflow:hidden;padding:0!important}.pet-dialog>[data-slot=dialog-header]{flex:none;padding:24px 26px 18px;border-bottom:1px solid var(--border)}.pet-dialog>[data-slot=dialog-close]{z-index:4;width:42px;height:42px;display:grid;place-items:center;top:10px;left:10px;border-radius:12px;background:white;opacity:1}.pet-dialog-scroll{min-height:0;padding:20px 24px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.pet-dialog-actions{flex:none;padding:14px 24px 20px;border-top:1px solid var(--border);background:white;box-shadow:0 -12px 28px #173f3a0c}.pet-dialog-actions button{width:100%;min-height:44px;border-radius:12px}.pet-form{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding-top:7px}.pet-dialog-scroll .pet-form{padding-top:0}.pet-form label{display:grid;gap:7px;color:#45544f;font-size:12px;font-weight:800}.pet-form label>small{display:inline;color:var(--muted-foreground);font-size:12px}.pet-form select{width:100%;height:40px;padding:0 11px;border:1px solid var(--input);border-radius:10px;background:white;color:var(--foreground);outline:none}.pet-form select:focus{border-color:var(--ring);box-shadow:0 0 0 3px #4f857b18}.pet-form select:disabled{background:#f3f5f1;color:#89938f;cursor:not-allowed}.pet-form .wide-field{grid-column:1/-1}.pet-reminder-toggle{gap:20px;padding:13px 15px;border:1px solid var(--border);border-radius:13px;background:#fafbf8}.pet-reminder-toggle small{color:var(--muted-foreground);font-size:12px;font-weight:500}.pet-jalali-field,.pet-time-field{min-width:0;margin:0;padding:0;border:0}.pet-jalali-field legend,.pet-time-field legend{margin-bottom:7px;color:#45544f;font-size:12px;font-weight:800}.pet-jalali-field legend small{color:var(--muted-foreground);font-size:12px}.pet-jalali-field>div{display:grid;grid-template-columns:.7fr 1.25fr 1fr;gap:9px}.pet-time-field>div{display:grid;grid-template-columns:1fr 1fr;gap:9px}.pet-jalali-field label,.pet-time-field label{gap:5px;color:var(--muted-foreground);font-size:12px}.pet-jalali-field.has-error select{border-color:#c95d56}.family-hero{display:grid;grid-template-columns:82px 1fr auto;align-items:center;gap:18px;margin-bottom:22px;padding:28px 30px;border-radius:26px;background:var(--primary);color:white;box-shadow:0 18px 42px #174b4328}.profile-avatar-large{width:78px;height:78px;display:grid;place-items:center;border:2px solid #ffffff3b;border-radius:25px;background:#ffffff18;color:#f5dfaa;font-size:30px;font-weight:950}.family-hero-copy>span{color:#b9cec7;font-size:12px;font-weight:800}.family-hero-copy h1{margin:4px 0 7px;font-size:30px}.family-hero-copy p{display:flex;align-items:center;gap:6px;margin:0;color:#dce9e4;font-size:12px}.family-hero-copy svg{width:15px}.family-count{min-width:120px;display:grid;grid-template-columns:32px 1fr;align-items:center;gap:0 9px;padding:13px 15px;border:1px solid #ffffff25;border-radius:17px;background:#ffffff12}.family-count svg{grid-row:1/3;width:25px;color:#f5d997}.family-count strong{font-size:19px;line-height:1.1}.family-count small{color:#bfd1cb;font-size:12px}.family-layout{grid-template-columns:minmax(0,1.55fr) minmax(280px,.8fr);align-items:start}.family-layout,.family-main-column,.family-side-column{display:grid;gap:18px}.family-panel{overflow:hidden;border:1px solid var(--border);border-radius:22px;background:white;box-shadow:0 12px 32px #173f3a09}.family-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:21px 22px 16px}.family-panel-heading>div{display:flex;align-items:center;gap:11px}.family-panel-heading>div>span{width:39px;height:39px;display:grid;place-items:center;border-radius:13px;background:#e7f0eb;color:var(--primary)}.family-panel-heading svg{width:18px}.family-panel-heading h2{margin:0 0 3px;font-size:16px}.family-panel-heading p{margin:0;color:var(--muted-foreground);font-size:12px}.family-panel-heading>small{padding:5px 9px;border-radius:999px;background:#eef3ef;color:var(--primary);font-size:12px;font-weight:900}.family-add-member{display:grid;gap:11px;margin:0 17px 14px;padding:15px;border:1px solid #dbe6df;border-radius:16px;background:#f7faf8}.family-add-member>div:first-child{display:grid;gap:4px}.family-add-member label{font-size:13px;font-weight:900}.family-add-member small{color:var(--muted-foreground);font-size:12px;line-height:1.7}.family-add-member>div:nth-child(2){display:grid;gap:8px}.family-add-member [data-slot=button],.family-add-member [data-slot=input]{min-height:46px}.family-add-member [data-slot=input]{text-align:right}.family-add-member [data-slot=button]{white-space:nowrap}.family-add-member>p{margin:0;color:#a8433b;font-size:12px;font-weight:750}.family-issued-code{display:grid;gap:12px;margin:0 17px 14px;padding:15px;border:1px solid #d7c184;border-radius:17px;background:#fff9e9}.family-issued-code>div:first-child{display:flex;align-items:center;gap:10px}.family-issued-code>div:first-child>span{width:40px;height:40px;display:grid;place-items:center;flex:none;border-radius:13px;background:#ead8a9;color:#75591f}.family-issued-code>div:first-child svg{width:18px}.family-issued-code>div:first-child div{display:grid;gap:2px}.family-issued-code small{color:#8a6a28;font-size:12px;font-weight:850}.family-issued-code strong{font-size:12px;line-height:1.6}.family-issued-value{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:50px;padding:5px 7px 5px 12px;border:1px dashed #b99c59;border-radius:13px;background:white}.family-issued-value code{min-width:0;overflow:hidden;font-size:clamp(12px,3.5vw,15px);font-weight:900;letter-spacing:.7px;text-overflow:ellipsis;white-space:nowrap}.family-issued-code>[data-slot=button]{min-height:44px}.members-list{display:grid;padding:0 22px 10px}.members-list article{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:12px;padding:14px 0;border-top:1px solid #edf0ec}.member-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;color:white;font-size:13px;font-weight:900}.member-color-0{background:var(--primary)}.member-color-1{background:var(--apricot)}.member-color-2{background:#80608f}.member-color-3{background:#b18a37}.members-list article>div{display:grid;gap:3px}.members-list strong{display:flex;align-items:center;gap:7px;font-size:13px}.members-list strong small{padding:2px 6px;border-radius:7px;background:#eef3ef;color:var(--primary);font-size:12px}.members-list p{margin:0;color:var(--muted-foreground);font-size:12px}.member-role-icon{width:17px;color:var(--gold-strong)}.members-list article>.member-access-actions{display:flex;align-items:center;gap:2px}.member-access-actions [data-slot=button]{width:42px;min-width:42px;height:42px}.member-access-actions svg{width:17px}.member-access-actions .member-revoke-code{color:#a64c46}@media (min-width:560px){.family-add-member{margin-inline:22px}.family-add-member>div:nth-child(2){grid-template-columns:minmax(0,1fr) auto}.family-issued-code{margin-inline:22px}}.family-activity .activity-list{padding-bottom:10px}.attention-toggle,.family-activity-toggle{min-height:44px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #d8e3dc;border-radius:12px;background:#f8faf7;color:var(--primary);font:inherit;font-size:12px;font-weight:850;cursor:pointer;touch-action:manipulation;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.family-activity-toggle{width:calc(100% - 44px);margin:0 22px 18px}.attention-toggle:hover,.family-activity-toggle:hover{border-color:#9bb6aa;background:#f0f6f2}.attention-toggle:focus-visible,.family-activity-toggle:focus-visible{outline:3px solid #b7cfc3;outline-offset:2px}.attention-toggle svg,.family-activity-toggle svg{width:16px}.attention-toggle span,.family-activity-toggle span{min-width:23px;padding:2px 6px;border-radius:999px;background:#dfece5;font-size:12px}.family-empty{display:flex!important;justify-content:center;gap:8px;color:var(--muted-foreground)}.family-empty svg{width:17px}.invite-family-card{padding:24px;background:linear-gradient(145deg,#fffaf0,#f5ecd8)}.invite-family-icon{width:48px;height:48px;display:grid;place-items:center;margin-bottom:18px;border-radius:16px;background:#ead8a9;color:#75591f}.invite-family-icon svg{width:21px}.invite-family-card>small{color:#9a7631;font-size:12px;font-weight:900}.invite-family-card h2{margin:5px 0 8px;font-size:19px}.invite-family-card>p{margin:0 0 17px;color:#75684f;font-size:12px;line-height:1.9}.family-invite-code{display:flex;align-items:center;justify-content:space-between;height:52px;margin-bottom:10px;padding:0 8px 0 14px;border:1px dashed #c2a76c;border-radius:14px;background:#fffdf7b8}.family-invite-code>span{letter-spacing:2.5px;font-size:15px;font-weight:900}.copy-invite-button{width:100%;border-radius:13px}.invite-link-preview{min-width:0;display:flex;align-items:center;gap:8px;margin-bottom:10px;padding:9px 11px;border-radius:11px;background:#ffffff9c;color:#75684f}.invite-link-preview svg{width:15px;flex:none}.invite-link-preview span{min-width:0;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.invite-actions{display:grid;grid-template-columns:1fr 46px;gap:8px}.invite-actions>[data-slot=button]{min-height:46px;border-radius:13px}.family-name-form{display:grid;gap:8px;margin:0 22px 14px;padding-top:14px;border-top:1px solid #edf0ec}.family-name-form>label{color:#45544f;font-size:12px;font-weight:850}.family-name-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.family-name-control [data-slot=button],.family-name-control [data-slot=input]{min-height:44px}.family-name-control [data-slot=input]{text-align:right}.family-name-control [data-slot=button]{min-width:94px}.family-name-form>p{min-height:19px;margin:0;color:var(--muted-foreground);font-size:12px;line-height:1.6}.family-name-form>p.field-error{color:#a8433b;font-weight:700}.family-details-card dl{display:grid;margin:0;padding:0 22px 14px}.family-details-card dl>div{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-top:1px solid #edf0ec}.family-details-card dt{color:var(--muted-foreground);font-size:12px}.family-details-card dd{margin:0;font-size:12px;font-weight:800}.family-logout{min-height:43px;display:flex;align-items:center;justify-content:center;gap:7px;margin:0 18px 18px;border:1px solid #ead4d1;border-radius:12px;background:#fffafa;color:#a64c46;text-decoration:none;font-size:12px;font-weight:900}.family-logout svg{width:16px}.account-connections-card{padding-bottom:18px}.google-connection-row{min-width:0;display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:12px;margin:0 17px;padding:15px;border:1px solid #dfe5e1;border-radius:17px;background:#fbfcfa}.google-connection-logo{width:46px;height:46px;display:grid;place-items:center;border:1px solid #e0e4e1;border-radius:15px;background:white;box-shadow:0 6px 16px #173f3a0d}.google-connection-logo .google-mark{width:22px;height:22px}.google-connection-copy{min-width:0;display:grid;gap:4px}.google-connection-copy strong{font-size:13px}.google-connection-copy p{min-width:0;display:flex;align-items:center;gap:5px;margin:0;overflow:hidden;color:var(--muted-foreground);font-size:12px;line-height:1.7}.google-connection-copy p span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.google-connection-copy .google-connection-error{color:#9e453e}.google-connection-spinner{width:15px;height:15px;flex:none;animation:google-connection-spin .8s linear infinite}.google-connect-button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;grid-column:1/-1;padding:0 15px;border:1px solid #cbd5d0;border-radius:12px;background:white;color:var(--primary);font:inherit;font-size:12px;font-weight:900;text-decoration:none;cursor:pointer;touch-action:manipulation;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.google-connect-button:hover:not(:disabled){border-color:#8da99d;background:#f2f7f4;box-shadow:0 6px 16px #173f3a0d}.google-connect-button:focus-visible{outline:3px solid #b7cfc3;outline-offset:2px}.google-connect-button:disabled{border-color:#e0e5e2;background:#f1f3f1;color:#828c88;cursor:not-allowed}.google-connected-badge{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:5px;grid-column:1/-1;padding:0 10px;border-radius:999px;background:#e4f1e9;color:#27654d;font-size:12px;font-weight:900}.google-connected-badge svg{width:15px;height:15px}.google-connection-message{margin:12px 17px 0;padding:10px 12px;border-radius:12px;font-size:12px;font-weight:750;line-height:1.7}.google-connection-message.success{background:#e8f4ec;color:#245e47}.google-connection-message.error{background:#fff0ed;color:#934239}.google-connection-note{display:flex;align-items:flex-start;gap:7px;margin:12px 17px 0;color:var(--muted-foreground);font-size:12px;line-height:1.8}.google-connection-note svg{width:15px;height:15px;flex:none;margin-top:3px;color:var(--primary)}@keyframes google-connection-spin{to{transform:rotate(1turn)}}@media (min-width:560px){.google-connection-row{grid-template-columns:46px minmax(0,1fr) auto;margin-inline:22px}.google-connect-button,.google-connected-badge{grid-column:auto;min-width:92px}.google-connection-message,.google-connection-note{margin-inline:22px}}@media (max-width:980px){.hub-content{width:min(100% - 40px,900px)}.topbar-profile{min-width:0;padding-left:8px}.topbar-profile div{display:none}.attention-grid,.services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.family-layout{grid-template-columns:1fr}.family-side-column{grid-template-columns:1fr 1fr}.pet-layout{grid-template-columns:1fr}.pet-profile-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.app-topbar .topbar-profile{border:0;padding:0;background:transparent}.app-topbar .topbar-profile>span{width:36px;height:36px;border-radius:12px}.topbar-back{width:40px;height:40px;padding:0;border-radius:13px}.topbar-back span{display:none}.primary-sidebar nav{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.primary-sidebar nav a{font-size:12px}.hub-content{width:calc(100% - 28px);padding:20px 0 116px}.home-welcome{min-height:154px;margin-bottom:25px;padding:25px 22px;border-radius:23px}.home-welcome:after{left:-100px}.home-welcome h1{font-size:27px}.home-welcome p:last-child{max-width:225px;font-size:12px;line-height:1.8}.welcome-spark{width:54px;height:54px;margin-left:0;border-radius:18px}.welcome-spark svg{width:23px}.hub-section-heading{align-items:flex-start}.hub-section-heading h2{font-size:19px}.hub-section-heading>small{display:none}.attention-grid{gap:9px;grid-template-columns:1fr}.attention-card{min-height:98px;padding:14px}.services-grid{grid-template-columns:1fr 1fr;gap:10px}.service-card{grid-template-columns:46px 1fr;min-height:205px;padding:17px;border-radius:20px}.service-icon{width:46px;height:46px;border-radius:15px}.service-icon svg{width:21px}.service-card>svg{top:21px;left:16px;width:17px}.service-card h3{font-size:16px}.service-card p{min-height:59px;font-size:12px}.service-card small{padding:5px 7px;font-size:12px}.pet-hero{align-items:stretch;flex-direction:column;gap:18px;min-height:0;padding:21px 19px}.pet-hero-copy{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:8px 14px;max-width:none}.pet-hero-copy .section-kicker{grid-column:1/-1}.pet-hero h1{grid-column:1;margin:0;font-size:clamp(25px,8vw,30px);line-height:1.45}.pet-hero h1,.pet-hero p{grid-row:2;max-width:none}.pet-hero p{grid-column:2;align-self:center;line-height:1.9}.pet-hero-actions{width:100%}.pet-hero-actions button{flex:1}.pet-hero-actions .primary-action{min-width:0;width:auto;padding-inline:16px!important;gap:8px;font-size:13px}.pet-care-card{grid-template-columns:42px 1fr 18px;padding:14px}.pet-care-icon{width:40px;height:40px;border-radius:13px}.pet-care-actions,.pet-care-card>button{grid-column:2/-1}.pet-care-actions [data-slot=button]:last-child{flex:1}.pet-profile-list{grid-template-columns:1fr}.pet-dialog{width:calc(100% - 16px)!important;max-width:none!important;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:20px}.pet-dialog>[data-slot=dialog-header]{padding:18px 18px 14px 60px;text-align:right}.pet-dialog>[data-slot=dialog-close]{top:8px;left:8px;width:44px;height:44px}.pet-dialog-scroll{padding:16px 16px 12px;scrollbar-gutter:auto}.pet-dialog-actions{padding:12px 16px max(12px,env(safe-area-inset-bottom))}.pet-form{grid-template-columns:1fr}.pet-form .wide-field,.pet-time-field{grid-column:1}.pet-care-empty{grid-template-columns:42px 1fr;min-height:128px;padding:17px}.pet-care-empty>button{grid-column:2;width:fit-content}.family-hero{grid-template-columns:62px 1fr;gap:13px;padding:21px;border-radius:22px}.profile-avatar-large{width:60px;height:60px;border-radius:19px;font-size:23px}.family-hero-copy h1{font-size:23px}.family-count{grid-column:1/-1;min-width:0;grid-template-columns:27px auto 1fr;justify-content:start;padding:10px 12px}.family-count svg{grid-row:auto;width:20px}.family-count strong{font-size:15px}.family-count small{font-size:12px}.family-side-column{grid-template-columns:1fr}.family-panel-heading{padding:18px 17px 14px}.members-list{padding-inline:17px}.family-name-form{margin-inline:17px}.family-activity .activity-list{padding-inline:17px}.family-activity .activity-list>div{grid-template-columns:34px 1fr auto}.family-activity .activity-list time{grid-column:auto;font-size:12px}.invite-family-card{padding:21px}}@media (max-width:430px){.services-grid{grid-template-columns:1fr}.service-card{min-height:185px}.service-card p{min-height:auto}.family-activity .activity-list>div{grid-template-columns:32px 1fr}.family-activity .activity-list time{grid-column:2}.pet-hero-actions{display:grid;grid-template-columns:1fr}.pet-jalali-field>div{grid-template-columns:.75fr 1.15fr 1fr;gap:6px}.pet-care-empty{grid-template-columns:1fr;justify-items:center;text-align:center}.pet-care-empty>button{grid-column:1}}.auth-page{min-height:100svh;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);background:#fffefa}.auth-showcase{position:relative;min-height:100svh;display:flex;flex-direction:column;justify-content:space-between;padding:42px clamp(36px,5vw,76px) 54px;overflow:hidden;background:linear-gradient(150deg,#123f38,#1d584e 62%,#2c675a);color:white;isolation:isolate}.auth-showcase:before{content:"";position:absolute;z-index:-1;inset:0;opacity:.16;background-image:radial-gradient(#fff 1px,transparent 0);background-size:28px 28px;mask-image:linear-gradient(180deg,#000,transparent 70%)}.auth-brand,.auth-mobile-brand,.join-brand,.onboarding-brand{display:flex;align-items:center;gap:11px}.auth-brand>span,.auth-mobile-brand>span,.join-brand>span,.onboarding-brand>span{width:43px;height:43px;display:grid;place-items:center;overflow:hidden;border-radius:15px;background:#f4dfaa;box-shadow:0 8px 22px #0d2f293d}.auth-brand strong,.auth-mobile-brand strong,.join-brand strong,.onboarding-brand strong{font-size:18px;font-weight:900}.auth-showcase-copy{position:relative;z-index:2;max-width:600px;margin:auto 0 34px}.auth-kicker{display:inline-block;margin-bottom:10px;color:#d2a74a;font-size:12px;font-weight:900}.auth-showcase-copy .auth-kicker{color:#f2cc77}.auth-showcase-copy h2{margin:0;font-size:clamp(38px,4.2vw,62px);line-height:1.25;letter-spacing:-2.5px}.auth-showcase-copy p{max-width:510px;margin:19px 0 0;color:#c5d8d2;font-size:15px;line-height:2}.auth-preview{position:relative;z-index:2;width:min(590px,100%);padding:19px;border:1px solid #ffffff28;border-radius:25px;background:#ffffff12;box-shadow:0 28px 70px #08251f3a;backdrop-filter:blur(16px)}.auth-preview-head{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:11px;margin-bottom:13px}.auth-preview-head>span{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#ffffff20;color:#f1d58f}.auth-preview-head svg{width:20px}.auth-preview-head div{display:grid;gap:2px}.auth-preview-head small{color:#bad0c9;font-size:12px}.auth-preview-head strong{font-size:12px}.auth-preview-head b{min-width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:#ef8b62;font-size:12px}.auth-preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.auth-preview-grid>span{min-width:0;display:grid;grid-template-columns:27px 1fr;gap:2px 8px;align-items:center;padding:11px;border-radius:14px;background:#fff;color:var(--foreground)}.auth-preview-grid svg{grid-row:1/3;width:18px;color:var(--primary)}.auth-preview-grid small{overflow:hidden;color:#75837e;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.auth-preview-grid strong{font-size:12px}.auth-preview-task{display:grid;grid-template-columns:30px 1fr;align-items:center;gap:9px;margin-top:9px;padding:10px 12px;border-radius:13px;background:#e7f2eb;color:var(--foreground)}.auth-preview-task>svg{width:30px;height:30px;padding:7px;border-radius:10px;background:var(--primary);color:white}.auth-preview-task div{display:grid;gap:1px}.auth-preview-task strong{font-size:12px}.auth-preview-task small{color:#71807a;font-size:12px}.auth-orbit{position:absolute;z-index:-1;border:1px solid #ffffff24;border-radius:50%}.auth-orbit-one{width:340px;height:340px;top:-170px;left:-110px}.auth-orbit-two{width:190px;height:190px;top:-88px;left:-35px}.auth-panel{width:100%;min-width:0;min-height:100svh;display:grid;place-items:center;padding:40px clamp(28px,5vw,76px);background:#fffefa}.auth-card{width:100%;min-width:0;max-width:430px}.auth-card h1{margin:0;font-size:clamp(29px,3vw,39px);line-height:1.45;letter-spacing:-1.3px}.auth-card>p{margin:13px 0 28px;color:var(--muted-foreground);font-size:13px;line-height:2}.auth-error{margin:0 0 16px;padding:12px 14px;border:1px solid #efc5c2;border-radius:13px;background:#fff4f3;color:#983d38;font-size:12px;line-height:1.8}.code-auth-flow{display:grid;gap:16px}.code-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;border-radius:14px;background:#edf2ee}.code-auth-tabs button{min-height:44px;border:0;border-radius:11px;background:transparent;color:#63716c;font:inherit;font-size:13px;font-weight:850;cursor:pointer}.code-auth-tabs button[aria-selected=true]{background:white;color:var(--primary);box-shadow:0 5px 16px #173f3a12}.code-auth-input:focus-within,.code-auth-tabs button:focus-visible,.code-primary-button:focus-visible{outline:3px solid #a8c8bb;outline-offset:2px}.code-auth-form{display:grid;gap:8px}.code-auth-form>label{color:#45544f;font-size:13px;font-weight:900}.code-auth-input{height:52px;display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:8px;padding:0 13px;border:1px solid #cdd9d2;border-radius:13px;background:#fcfdfb}.code-auth-input>svg{width:19px;color:#678078}.code-auth-input input{min-width:0;height:100%;border:0;outline:0;background:transparent;color:var(--foreground);font:inherit;font-size:16px}.code-auth-input input[dir=ltr]{letter-spacing:.7px}.code-auth-form>small{color:var(--muted-foreground);font-size:12px;line-height:1.7}.code-auth-error{margin:3px 0 0;padding:10px 12px;border-radius:11px;background:#fff1f0;color:#9a423c;font-size:12px;line-height:1.7}.code-primary-button{width:100%;min-height:52px;margin-top:5px;border:0;border-radius:13px;background:var(--primary);color:white;font:inherit;font-size:14px;font-weight:900;cursor:pointer;touch-action:manipulation}.code-primary-button:hover{background:#123f38}.code-primary-button:disabled{opacity:.65;cursor:wait}.issued-code-card{display:grid;justify-items:center;gap:10px;padding:18px;border:1px solid #d8c384;border-radius:18px;background:#fff9e9;text-align:center}.issued-code-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:15px;background:var(--primary);color:white}.issued-code-icon svg{width:21px}.issued-code-card h2{margin:2px 0 0;font-size:20px}.issued-code-card>p{margin:0;color:#6f6249;font-size:13px;line-height:1.8}.issued-code-value{width:100%;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:55px;padding:5px 8px 5px 13px;border:1px dashed #af904a;border-radius:13px;background:white}.issued-code-value code{min-width:0;overflow:hidden;font-size:clamp(12px,3.6vw,15px);font-weight:900;letter-spacing:.6px;text-overflow:ellipsis;white-space:nowrap}.issued-code-value button{width:44px;height:44px;display:grid;place-items:center;flex:none;border:0;border-radius:11px;background:#edf4ef;color:var(--primary);cursor:pointer}.issued-code-value button svg{width:18px}.auth-divider{display:flex;align-items:center;gap:10px;margin:18px 0;color:#8a9691;font-size:12px}.auth-divider:after,.auth-divider:before{content:"";height:1px;flex:1;background:#dde4df}.google-signin{position:relative;height:56px;display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #747775;border-radius:14px;background:white;color:#1f1f1f;text-decoration:none;font-family:Arial,sans-serif;font-size:15px;font-weight:600;transition:box-shadow .16s ease,background .16s ease,transform .16s ease}.google-signin:hover{background:#f8faff;box-shadow:0 8px 25px #174b4317;transform:translateY(-1px)}.google-signin:focus-visible{outline:3px solid #8eb9ac;outline-offset:3px}.google-mark{width:20px;height:20px;flex:none}.auth-promise{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:17px;color:#688079;font-size:12px}.auth-promise svg{width:15px;color:#39836e}.auth-terms{display:block;max-width:340px;margin:31px auto 0;color:#5f706b;text-align:center;font-size:12px;line-height:2}.auth-terms a{min-height:32px;display:inline-flex;align-items:center;color:#4c7168;font-weight:800;text-underline-offset:3px}.auth-mobile-brand,.auth-mobile-visual{display:none}.join-page,.onboarding-page{min-height:100svh;padding:34px max(24px,env(safe-area-inset-left)) calc(42px + env(safe-area-inset-bottom));background:linear-gradient(160deg,#fbfaf4,#eef4ef)}.onboarding-page{width:100%}.onboarding-brand{width:min(880px,100%);margin:0 auto}.onboarding-brand a{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;margin-right:auto;color:var(--muted-foreground);text-decoration:none;font-size:12px;font-weight:800}.onboarding-intro{width:min(650px,100%);margin:58px auto 28px;text-align:center}.onboarding-intro>span{width:62px;height:62px;display:grid;place-items:center;margin:0 auto 15px;border-radius:21px;background:var(--primary);color:#f1d58f;box-shadow:0 16px 36px #174b432d}.onboarding-intro svg{width:27px}.onboarding-intro small,.onboarding-option>div>small{color:var(--apricot-strong);font-size:12px;font-weight:900}.onboarding-intro h1{margin:5px 0 8px;font-size:clamp(28px,4vw,40px)}.onboarding-intro p{margin:0;color:var(--muted-foreground);font-size:13px;line-height:1.9}.onboarding-error{width:min(880px,100%);margin-inline:auto}.onboarding-options{width:min(880px,100%);display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 auto}.onboarding-option{display:grid;grid-template-columns:49px 1fr;gap:15px;padding:23px;border:1px solid var(--border);border-radius:23px;background:#fff;box-shadow:0 15px 42px #173f3a0a}.onboarding-option-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:16px;background:#e5efe9;color:var(--primary)}.onboarding-option-icon.invite{background:#f4ead4;color:#8b6925}.onboarding-option-icon svg{width:22px}.onboarding-option h2{margin:3px 0 6px;font-size:18px}.onboarding-option p{min-height:43px;margin:0;color:var(--muted-foreground);font-size:12px;line-height:1.9}.onboarding-option label{grid-column:1/-1;display:grid;gap:7px;margin-top:8px;color:var(--foreground);font-size:12px;font-weight:800}.onboarding-option input{width:100%;height:49px;padding:0 14px;border:1px solid var(--input);border-radius:13px;outline:0;background:#fcfdfb;color:var(--foreground)}.onboarding-option input:focus{border-color:#70998f;box-shadow:0 0 0 3px #4f857b1c}.join-card button,.onboarding-option button{grid-column:1/-1;height:49px;display:flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:13px;background:var(--primary);color:white;font:inherit;font-size:12px;font-weight:900;cursor:pointer}.onboarding-option button.secondary{border:1px solid #c9d7d0;background:white;color:var(--primary)}.join-card button svg,.onboarding-option button svg{width:17px}.join-card button:disabled,.onboarding-option button:disabled{opacity:.62;cursor:wait}.join-page{display:grid;align-content:start;justify-items:center}.join-brand,.join-card{width:min(440px,100%)}.join-card{display:grid;justify-items:center;margin-top:clamp(52px,11vh,110px);padding:31px 26px;border:1px solid var(--border);border-radius:27px;background:white;text-align:center;box-shadow:0 22px 55px #173f3a12}.join-family-mark{width:72px;height:72px;display:grid;place-items:center;margin-bottom:15px;border-radius:24px;background:var(--primary);color:#f1d58f;box-shadow:0 15px 32px #174b4328}.join-family-mark svg{width:29px}.join-family-mark.invalid{background:#b9534d;color:white;font-size:27px;font-weight:900}.join-family-mark.pulse{animation:join-pulse 1.5s ease-in-out infinite}@keyframes join-pulse{50%{transform:scale(.94);opacity:.78}}.join-card>small{color:var(--apricot-strong);font-size:12px;font-weight:900}.join-card h1{margin:5px 0 10px;font-size:28px}.join-card>p{margin:0 0 19px;color:var(--muted-foreground);font-size:12px;line-height:2}.join-card>p strong{color:var(--foreground)}.join-meta{width:100%;justify-content:center;gap:9px;margin-bottom:18px}.join-meta,.join-meta span{display:flex;align-items:center}.join-meta span{gap:5px;padding:7px 9px;border-radius:10px;background:#f0f4f1;color:#60736c;font-size:12px;font-weight:800}.join-meta svg{width:13px}.join-card button{width:100%}.join-card>a{margin-top:15px;color:var(--muted-foreground);text-decoration:none;font-size:12px;font-weight:800}@media (max-width:840px){.auth-page{grid-template-columns:1fr}.auth-showcase{display:none}.auth-panel{position:relative;min-height:100svh;align-content:start;grid-template-rows:auto minmax(190px,.8fr) auto;padding:calc(22px + env(safe-area-inset-top)) 22px calc(24px + env(safe-area-inset-bottom));overflow-x:hidden;overflow-y:auto;background:linear-gradient(165deg,#f9f7ef,#eef4ef)}.auth-panel:before{content:"";position:absolute;top:-140px;left:-120px;width:320px;height:320px;border:48px solid #eadfbd66;border-radius:50%}.auth-mobile-brand{position:relative;z-index:1;display:flex;justify-self:start}.auth-mobile-brand>span{width:39px;height:39px;border-radius:13px;font-size:19px}.auth-mobile-brand strong{font-size:16px}.auth-mobile-visual{position:relative;width:148px;height:148px;display:grid;place-items:center;align-self:center;justify-self:center;border-radius:48px;background:var(--primary);color:#f5dfa8;box-shadow:0 24px 60px #174b4335}.auth-mobile-visual>svg{width:57px;height:57px}.auth-mobile-visual span{position:absolute;width:40px;height:40px;display:grid;place-items:center;border:4px solid #eef4ef;border-radius:14px;background:white;color:var(--primary);box-shadow:0 8px 20px #173f3a20}.auth-mobile-visual span svg{width:18px}.auth-mobile-visual span:first-of-type{right:-14px;top:18px}.auth-mobile-visual span:nth-of-type(2){left:-13px;top:45px;color:#795486}.auth-mobile-visual span:nth-of-type(3){right:21px;bottom:-17px;color:#a6543b}.auth-card{position:relative;z-index:1;align-self:end;padding:25px 22px 19px;border:1px solid #dce4de;border-radius:25px;background:#fffffff0;box-shadow:0 20px 55px #173f3a13;backdrop-filter:blur(14px)}.auth-card h1{font-size:27px}.auth-card>p{margin:10px 0 21px;font-size:13px}.google-signin{height:54px;border-radius:13px}.auth-promise{margin-top:14px;font-size:12px}.auth-terms{margin-top:19px}}@media (max-width:680px){.join-page,.onboarding-page{padding:calc(20px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom))}.join-brand>span,.onboarding-brand>span{width:39px;height:39px;border-radius:13px;font-size:18px}.onboarding-intro{margin:35px auto 21px;text-align:right}.onboarding-intro>span{width:53px;height:53px;margin:0 0 13px;border-radius:18px}.onboarding-intro h1{font-size:27px}.onboarding-intro p{font-size:12px}.onboarding-options{grid-template-columns:1fr;gap:11px}.onboarding-option{padding:19px;border-radius:20px}.onboarding-option p{min-height:0}.join-card{margin-top:42px;padding:28px 20px;border-radius:24px}}@media (max-height:700px) and (max-width:840px){.auth-panel{grid-template-rows:auto 70px auto}.auth-mobile-visual{width:76px;height:76px;border-radius:25px}.auth-mobile-visual>svg{width:32px}.auth-mobile-visual span{display:none}}@media (prefers-reduced-motion:reduce){.join-family-mark.pulse,.loading-brand-mark{animation:none}.google-signin{transition:none}.google-connection-spinner{animation:none}.google-connect-button{transition:none}}@media (max-width:820px){.task-stats{grid-template-columns:1fr 1fr}.task-board-head{align-items:flex-start;flex-direction:column}.task-filters{width:100%;overflow-x:auto}.task-filters button{flex:1}.task-list{grid-template-columns:1fr}}@media (max-width:620px){.task-hero{align-items:flex-start;flex-direction:row;padding:21px}.task-hero>div{min-width:0;flex:1}.task-hero .internal-add{width:48px;min-width:48px;height:48px;flex:none;padding:0!important;gap:0;font-size:0}.task-stats{grid-template-columns:1fr 1fr}.task-stats article{padding:12px}.task-notification-banner{grid-template-columns:42px 1fr}.task-notification-banner>.notification-status,.task-notification-banner>button{grid-column:1/-1;justify-self:stretch;justify-content:center}.task-form{grid-template-columns:1fr}.task-form .wide-field,.task-form-summary,.task-form>label{grid-column:1}.task-date-fields{grid-template-columns:1fr 1fr}}.event-attention .attention-icon,.service-event .service-icon,.service-event small{background:#e7edf8;color:#49699a}.service-event:after{background:#cedbf0}.event-hero{align-items:flex-start;flex-direction:row;padding:21px;border:1px solid #dce4f1;border-radius:22px;background:linear-gradient(145deg,#fbfcff,#edf2fa)}.event-hero>div{min-width:0;flex:1}.event-hero h1{font-size:28px}.event-hero p{max-width:100%;font-size:14px;line-height:1.9}.event-hero .internal-add{width:48px;min-width:48px;height:48px;flex:none;padding:0!important;gap:0;font-size:0}.event-stats{grid-template-columns:1fr 1fr}.event-stats article{max-width:none;min-width:0;padding:12px}.event-stats article:last-child{grid-column:1/-1}.event-stats article>span{background:#e7edf8;color:#49699a}.event-stats strong{font-size:16px}.event-stat-alert{border-color:#e7bd94!important;background:#fffaf4!important}.event-notification{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:10px;margin-bottom:16px;padding:13px;border:1px solid #d7e1ef;border-radius:17px;background:#f5f8fc}.event-notification>svg{width:40px;height:40px;padding:10px;border-radius:13px;background:#e4ecf7;color:#49699a}.event-notification div{min-width:0}.event-notification strong{display:block;font-size:14px}.event-notification p{margin:3px 0 0;color:var(--muted-foreground);font-size:12px;line-height:1.7}.event-notification button{grid-column:1/-1;width:100%;min-height:44px;font-size:14px}.event-tabs{gap:14px}.event-tabs>[data-slot=tabs-list]{width:100%;height:48px;padding:4px;border-radius:14px;background:#e9eef5}.event-tabs [data-slot=tabs-trigger]{min-height:40px;border-radius:10px;font-size:14px}.calendar-source-filters{display:grid;gap:10px;padding:13px;border:1px solid var(--border);border-radius:17px;background:white}.calendar-source-filters>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.calendar-source-filters>div:first-child strong{font-size:13px}.calendar-source-filters>div:first-child small{color:var(--muted-foreground);font-size:12px}.calendar-source-filters>div:last-child{display:flex;flex-wrap:wrap;gap:7px}.calendar-filter{min-height:40px;display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid var(--border);border-radius:11px;background:white;color:var(--muted-foreground);font:inherit;font-size:12px;font-weight:800;cursor:pointer}.calendar-filter svg{width:16px}.calendar-filter.active{border-color:#9cb3a9;background:#edf4f0;color:var(--primary);box-shadow:inset 0 0 0 1px #ffffff80}.calendar-filter-event.active{border-color:#aabbd3;background:#eef2f8;color:#49699a}.calendar-filter-medicine.active{border-color:#c8b5d0;background:#f2edf5;color:#735184}.calendar-filter-installment.active{border-color:#ddb9a8;background:#fbede5;color:#a45138}.calendar-filter-payment.active{border-color:#b4c8dd;background:#edf3f9;color:#476b91}.calendar-filter-pet.active{border-color:#e5c889;background:#fff5df;color:#946321}.persian-calendar{width:100%;overflow:hidden;padding:12px;border:1px solid var(--border);border-radius:20px;background:white;box-shadow:0 12px 32px #173f3a09}.calendar-toolbar{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;margin-bottom:12px}.calendar-toolbar button{width:44px;height:44px;border-radius:13px}.calendar-toolbar button svg{width:19px}.calendar-toolbar div{display:grid;justify-items:center;gap:2px}.calendar-toolbar strong{font-size:17px}.calendar-toolbar small{color:#49699a;font-size:12px}.calendar-grid,.calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.calendar-weekdays{margin-bottom:4px}.calendar-weekdays span{display:grid;place-items:center;min-width:0;height:28px;color:var(--muted-foreground);font-size:12px;font-weight:800}.calendar-weekdays span:last-child{color:#b84f49}.calendar-empty-cell,.calendar-grid>button{min-width:0;aspect-ratio:1}.calendar-grid>button{position:relative;display:grid;place-items:center;align-content:center;gap:4px;padding:0;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--foreground);font:inherit;cursor:pointer}.calendar-grid>button:hover{background:#f1f5fa}.calendar-grid>button.selected{border-color:#49699a;background:#e9eff8;color:#274a78;font-weight:900}.calendar-grid>button.today{outline:2px solid #d78b6e;outline-offset:-2px;color:#9e4e35;font-weight:900}.calendar-grid>button.today.selected{outline-color:#49699a}.calendar-grid>button>span:first-child{font-size:14px}.calendar-dots{display:flex;justify-content:center;gap:2px;min-height:5px}.event-dot{width:4px;height:4px;border-radius:50%}.event-dot,.event-dot-event{background:#49699a}.event-dot-task{background:#397665}.event-dot-shopping{background:#69a27e}.event-dot-medicine{background:#805891}.event-dot-installment{background:#bf6849}.event-dot-payment{background:#5e7fa1}.event-dot-pet{background:#a8782d}.event-dot-medical{background:#bf5b61}.event-dot-education{background:#7661a2}.event-dot-gathering,.event-dot-occasion{background:#d38543}.event-dot-travel,.event-dot-vehicle{background:#35878a}.event-dot-pet{background:#9a742f}.selected-day-events{margin-top:18px}.selected-day-heading{margin-bottom:11px;padding-inline:3px}.selected-day-kicker{display:flex;align-items:center;gap:8px}.selected-day-kicker>span{color:#49699a;font-size:12px;font-weight:900}.selected-day-heading h2{margin:4px 0 0;font-size:18px}.selected-day-heading b{min-width:24px;height:24px;padding-inline:7px;display:grid;place-items:center;border-radius:999px;background:#e7edf8;color:#49699a;font-size:12px;line-height:1}.events-management .selected-day-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.event-count-badge{flex:none}.selected-day-actions{display:flex;align-items:center;gap:8px}.selected-day-actions button{min-height:40px;border-radius:11px;font-size:12px}.event-list{display:grid;gap:12px}.calendar-entry-card{display:grid;grid-template-columns:46px minmax(0,1fr) 20px;align-items:center;gap:11px;min-width:0;min-height:86px;padding:15px;border:1px solid var(--border);border-radius:19px;background:white;color:var(--foreground);text-decoration:none;box-shadow:0 10px 28px #173f3a09;transition:border-color .16s ease,box-shadow .16s ease}.calendar-entry-card:hover{border-color:#9fb8ae;box-shadow:0 14px 30px #173f3a12}.calendar-entry-card.completed{opacity:.62}.calendar-entry-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:#e6f0eb;color:var(--primary)}.calendar-entry-icon svg{width:20px}.calendar-entry-medicine .calendar-entry-icon{background:#eee6f2;color:#735184}.calendar-entry-installment .calendar-entry-icon{background:#f6e7de;color:#a45138}.calendar-entry-payment .calendar-entry-icon{background:#e7eef8;color:#476b91}.calendar-entry-event .calendar-entry-icon{background:#e7edf8;color:#49699a}.calendar-entry-pet .calendar-entry-icon{background:#fff0d5;color:#9a6823}.calendar-entry-copy{min-width:0;display:grid;gap:3px}.calendar-entry-copy small{color:#49699a;font-size:12px;font-weight:850}.calendar-entry-copy strong{font-size:14px}.calendar-entry-copy strong,.calendar-entry-copy>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-entry-copy>span{color:var(--muted-foreground);font-size:12px;line-height:1.65}.calendar-entry-card>svg{width:18px;color:#86938e}.family-event-card{min-width:0;padding:16px;border:1px solid var(--border);border-radius:19px;background:white;box-shadow:0 10px 28px #173f3a09}.event-card-head{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:10px}.event-category-icon{width:45px;height:45px;display:grid;place-items:center;border-radius:14px;background:#e7edf8;color:#49699a}.event-category-icon svg{width:20px}.event-category-medical{background:#f8e7e8;color:#a94850}.event-category-education{background:#eee9f7;color:#6d5797}.event-category-gathering,.event-category-occasion{background:#fff0df;color:#a35f28}.event-category-travel,.event-category-vehicle{background:#e2f2f2;color:#287477}.event-category-pet{background:#f7efd9;color:#85621f}.event-card-head small{color:#49699a;font-size:12px;font-weight:800}.event-card-head h3{margin:3px 0 0;overflow:hidden;font-size:17px;text-overflow:ellipsis;white-space:nowrap}.event-card-tools{display:flex;gap:2px}.event-card-tools button{width:38px;height:38px}.event-card-tools svg{width:16px}.event-card-schedule{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:13px;padding:11px;border-radius:13px;background:#f7f9fc}.event-card-schedule span{min-width:0;display:flex;align-items:center;gap:6px;color:#5d6c75;font-size:12px;line-height:1.6}.event-card-schedule svg{width:15px;flex:none;color:#49699a}.event-participants{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px}.participant-stack{display:flex;padding-right:7px}.participant-stack span{width:32px;height:32px;display:grid;place-items:center;margin-right:-7px;border:2px solid white;border-radius:11px;background:#dce5ef;color:#365879;font-size:12px;font-weight:900}.participant-stack .participant-response-going{background:#dceee5;color:#25664d}.participant-stack .participant-response-not_going{background:#f5e0df;color:#9a3d39}.participant-stack .participant-response-maybe{background:#f5ead3;color:#8b621d}.event-participants p{margin:0;color:var(--muted-foreground);font-size:12px;line-height:1.6;text-align:left}.event-participants p strong{color:var(--foreground)}.event-response-row{display:grid;gap:8px;margin-top:14px;padding-top:13px;border-top:1px solid #edf0f3}.event-response-row>span{color:var(--muted-foreground);font-size:12px;font-weight:800}.event-response-row>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.event-response-row button{min-width:0;min-height:42px;padding-inline:5px;font-size:13px}.event-response-row button svg{width:14px}.event-card-note{margin:12px 0 0;padding:10px 11px;border-radius:11px;background:#faf7ef;color:#6c6659;font-size:12px;line-height:1.8}.event-day-empty,.event-empty{min-height:180px;display:grid;place-items:center;align-content:center;gap:9px;padding:25px;text-align:center}.event-day-empty>svg,.event-empty>svg{width:44px;height:44px;padding:11px;border-radius:15px;background:#e7edf8;color:#49699a}.event-day-empty p,.event-empty p{margin:0;color:var(--muted-foreground);font-size:14px}.event-empty h2{margin:3px 0 0;font-size:20px}.event-dialog{width:calc(100% - 16px)!important;max-width:none!important;max-height:calc(100svh - 16px);padding:19px!important;overflow-y:auto;border-radius:22px!important}.event-form{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;padding-top:5px}.event-form fieldset,.event-form>label{display:grid;gap:7px;min-width:0;margin:0;color:var(--foreground);font-size:14px;font-weight:800}.event-form label small,.event-form legend small{color:var(--muted-foreground);font-size:12px;font-weight:500}.event-form input,.event-form select{width:100%;height:46px;border:1px solid var(--input);border-radius:12px;background:white;color:var(--foreground);font:inherit;font-size:14px;outline:none}.event-form select{padding-inline:12px}.event-form input:focus,.event-form select:focus{border-color:#49699a;box-shadow:0 0 0 3px #49699a20}.event-form input[aria-invalid=true]{border-color:#c74646;box-shadow:0 0 0 3px #c7464617}.event-form textarea{min-height:92px;background:white;font-size:14px}.event-form .field-error{color:#b93434;font-size:12px}.event-presets{border-color:#dbe2eb;background:#f8fafc}.event-presets button{border-color:#dbe2eb;color:#49699a}.event-presets button:hover{border-color:#8ea8ca;background:#f0f4fa}.event-presets button:focus-visible{outline-color:#49699a29}.event-presets button[aria-pressed=true]{border-color:#49699a;background:#e7edf8;color:#365b88}.event-date-field,.event-participant-picker,.event-reminder-picker{padding:12px;border:1px solid #dbe2eb;border-radius:15px;background:#f8fafc}.event-date-field.has-error{border-color:#d79393;background:#fffafa}.event-date-field legend,.event-participant-picker legend,.event-reminder-picker legend{padding-inline:5px;font-size:14px;font-weight:900}.event-date-field>div{display:grid;grid-template-columns:.75fr 1.25fr 1fr;gap:7px}.event-date-field label{display:grid;gap:5px;color:var(--muted-foreground);font-size:12px}.event-all-day{padding:13px;border:1px solid #dbe2eb;border-radius:14px;background:#f8fafc}.event-participant-picker>div,.event-reminder-picker>div{display:grid;grid-template-columns:1fr 1fr;gap:7px}.event-participant-picker label,.event-reminder-picker label{min-width:0;display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 10px;border:1px solid var(--border);border-radius:11px;background:white;font-size:13px;cursor:pointer}.event-participant-picker label.selected,.event-reminder-picker label.selected{border-color:#8ea8ca;background:#eef3fa;color:#365b88}.event-participant-picker label span,.event-reminder-picker label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.event-participant-picker label small{margin-right:auto;font-size:12px}.event-form-summary{display:grid;gap:4px;padding:12px 13px;border-radius:12px;background:#edf2f9}.event-form-summary span{color:#49699a;font-size:12px}.event-form-summary strong{font-size:13px;line-height:1.8}.event-submit{min-height:48px;font-size:14px}@media (min-width:760px){.event-hero{align-items:flex-end;flex-direction:row;padding:27px 29px}.event-hero .internal-add{width:auto;min-width:150px;padding-inline:16px!important;gap:8px;font-size:14px}.event-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.event-stats article:last-child{grid-column:auto}.event-notification{grid-template-columns:42px minmax(0,1fr) auto;padding:15px 17px}.event-notification button{grid-column:auto;width:auto}.persian-calendar{padding:20px;border-radius:23px}.calendar-grid,.calendar-weekdays{gap:7px}.calendar-grid>button{max-height:72px;border-radius:15px}.calendar-grid>button>span:first-child{font-size:15px}.event-list{grid-template-columns:repeat(2,minmax(0,1fr))}.event-dialog{width:min(760px,calc(100% - 32px))!important;padding:24px!important}.event-form{grid-template-columns:1fr 1fr}.event-form .wide-field{grid-column:1/-1}.event-participant-picker>div,.event-reminder-picker>div{grid-template-columns:repeat(3,1fr)}}@media (max-width:720px){.app-topbar .topbar-actions [data-slot=button],.app-topbar .topbar-back,.app-topbar .topbar-profile,.brand-mark{min-width:44px;min-height:44px}.app-topbar .topbar-profile>span{width:44px;height:44px}.content [data-slot=button]{min-height:44px}.family-invite-code [data-slot=button],.quantity-stepper [data-slot=button],.shopping-detail-row>button{min-width:48px}.calendar-filter,.category-pills button,.choice-chips button,.choice-step button,.medicine-category-chips button,.task-filters button{min-height:44px;padding-block:9px}.rtl-dialog>[data-slot=dialog-close]{z-index:6;width:44px;height:44px;display:grid;place-items:center;top:8px;left:8px;border-radius:12px;background:white;opacity:1}.shopping-edit-dialog{width:calc(100% - 16px)!important;max-width:none!important;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:20px}.shopping-edit-dialog>[data-slot=dialog-header]{padding:18px 18px 14px 60px}.shopping-edit-scroll{padding:16px 16px 12px;scrollbar-gutter:auto}.shopping-edit-actions{padding:12px 16px max(12px,env(safe-area-inset-bottom))}.add-item-dialog,.installment-dialog,.medicine-add-dialog,.payment-dialog,.task-dialog{width:calc(100% - 16px)!important;max-width:none!important;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);display:flex;flex-direction:column;gap:0!important;overflow:hidden;padding:0!important;border-radius:20px}.add-item-dialog>[data-slot=dialog-header],.installment-dialog>[data-slot=dialog-header],.medicine-add-dialog>[data-slot=dialog-header],.payment-dialog>[data-slot=dialog-header],.task-dialog>[data-slot=dialog-header]{flex:none;padding:18px 18px 14px 60px;border-bottom:1px solid var(--border);background:white;text-align:right}.installment-dialog>.installment-form,.payment-dialog>.payment-form,.task-dialog>.task-form{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:16px 16px calc(100px + env(safe-area-inset-bottom))}.add-item-layout,.medicine-add-layout{min-height:0;flex:1;overscroll-behavior:contain}.item-details-form.ready,.medicine-plan-form{padding-bottom:calc(104px + env(safe-area-inset-bottom))}.product-picker:has(.picker-heading>button){min-height:0;padding-bottom:14px}.product-picker:has(.picker-heading>button) .category-pills,.product-picker:has(.picker-heading>button) .product-picker-grid{display:none}.add-item-dialog:has(.save-item):after,.installment-dialog:after,.medicine-add-dialog:after,.payment-dialog:after,.task-dialog:after{content:"";position:absolute;z-index:4;right:0;bottom:0;left:0;height:calc(76px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:white;box-shadow:0 -12px 28px #173f3a0c;pointer-events:none}.add-item-dialog .save-item,.installment-dialog .installment-form>[data-slot=button]:last-child,.medicine-add-dialog .medicine-plan-form>[data-slot=button]:last-child,.payment-dialog .payment-form>[data-slot=button]:last-child,.task-dialog .task-form>[data-slot=button]:last-child{position:absolute;z-index:5;right:16px;bottom:max(12px,env(safe-area-inset-bottom));left:16px;width:auto;min-height:48px;margin:0;border-radius:12px}.activity-list time,.content small,.join-meta span,.medicine-meta span,.payment-card-meta span,.rtl-dialog small,.task-card-meta>span{font-size:12px;line-height:1.6}.attention-card p,.family-panel-heading p,.medicine-tip p,.members-list p,.payment-card-copy p,.payment-note,.pet-care-assignee,.pet-care-copy p,.pet-care-copy>span,.pet-care-empty p,.pet-profile-card p,.pet-profile-card>span,.service-card p,.task-card-copy p,.task-notification-banner p{font-size:12px;line-height:1.7}}.primary-sidebar{overflow-y:auto;scrollbar-width:thin}.primary-sidebar nav{grid-template-columns:1fr}.eyebrow,.hub-section-heading>div>span{color:var(--apricot-strong)}.attention-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.attention-card small{font-size:12px}.attention-card strong{font-size:14px}.attention-card p{font-size:12px}.attention-toggle{width:calc(100% - 44px);margin:14px 22px 0}.home-all-clear{min-height:92px;display:flex;align-items:center;gap:13px;padding:18px 20px;border:1px solid #cfe0d7;border-radius:19px;background:#f3f8f5}.home-all-clear>svg{width:34px;height:34px;padding:7px;flex:none;border-radius:12px;background:#dcece4;color:var(--primary)}.home-all-clear div{display:grid;gap:3px}.home-all-clear strong{font-size:14px}.home-all-clear span{color:var(--muted-foreground);font-size:12px;line-height:1.7}.service-card{min-height:184px;padding:19px}.service-card>svg{top:23px;left:19px}.service-card h3{font-size:17px}.service-card p{min-height:38px;margin-bottom:10px;font-size:12px;line-height:1.75}.service-card small{font-size:12px}.attention-section,.services-section{margin-bottom:28px}.home-categories-section{margin-bottom:30px}.home-categories-heading{align-items:center}.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.category-card{min-width:0;min-height:106px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;padding:13px 6px;border:1px solid var(--border);border-radius:19px;background:white;color:var(--foreground);text-align:center;text-decoration:none;box-shadow:0 9px 24px #173f3a08;touch-action:manipulation;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}.category-card:hover{border-color:#a8bdb4;box-shadow:0 12px 28px #173f3a10}.category-card:active{background:#f6f8f4;box-shadow:0 5px 14px #173f3a0b}.category-card strong{width:100%;font-size:12px;line-height:1.55;overflow-wrap:anywhere}.category-icon{width:50px;height:50px;display:grid;place-items:center;flex:none;border-radius:17px}.category-icon svg{width:23px;height:23px}.category-shopping .category-icon{background:#e4efe9;color:var(--primary)}.category-medicine .category-icon{background:#eee6f2;color:#735184}.category-installment .category-icon{background:#f6e7de;color:#a45138}.category-payment .category-icon{background:#e7eef8;color:#476b91}.category-task .category-icon{background:#e5f0eb;color:#397665}.category-event .category-icon{background:#e7edf8;color:#49699a}.category-pet .category-icon{background:#fff0d5;color:#946321}.category-vehicle .category-icon{background:#e1f0ef;color:#287477}.task-date-shortcuts{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:10px}.task-date-shortcuts button{min-height:36px;padding:6px 13px;border:1px solid #bfd2c9;border-radius:999px;background:white;color:var(--primary);font:inherit;font-size:12px;font-weight:800;cursor:pointer}.task-date-shortcuts button:hover{background:#eaf3ee}.task-advanced{overflow:hidden;border:1px solid var(--border);border-radius:14px;background:#fafbf8}.task-advanced summary{min-height:48px;display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;padding:10px 14px;color:var(--primary);font-size:13px;font-weight:900;cursor:pointer}.task-advanced summary small{color:var(--muted-foreground);font-size:12px;font-weight:500}.task-advanced-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 13px;padding:4px 14px 14px;border-top:1px solid var(--border)}.task-advanced-grid>label{display:grid;align-content:start;gap:7px;color:var(--foreground);font-size:13px;font-weight:800}.task-advanced-grid .wide-field{grid-column:1/-1}.detail-catalog .product-catalog-emoji svg,.product-picker-grid>button .product-emoji svg,.selected-product .selected-emoji svg{width:19px;height:19px;color:var(--primary)}.page-skeleton{align-content:start;padding-top:clamp(90px,15vh,150px)}.skeleton-layout{width:min(720px,100%);display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:14px}.skeleton-layout span{min-height:92px;border:1px solid #e3e8e3;border-radius:18px;background:linear-gradient(100deg,#ecefe9 25%,#f9faf6 45%,#ecefe9 65%);background-size:220% 100%;animation:skeleton-pulse 1.4s ease infinite}.skeleton-layout span:first-child{grid-column:1/-1;min-height:126px}@keyframes skeleton-pulse{to{background-position-x:-220%}}@media (max-width:980px) and (min-width:721px){.primary-sidebar .home-note{display:none}}@media (min-width:721px){.category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.category-card{min-height:120px}.category-card strong{font-size:13px}}@media (min-width:1080px){.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:720px){.primary-sidebar{overflow:visible}.app-topbar .topbar-profile-static{display:none}.primary-sidebar nav{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0}.primary-sidebar nav a{min-width:0;flex-direction:column;gap:2px;padding:5px 2px;font-size:12px}.primary-sidebar nav a svg{width:20px}.primary-sidebar .nav-secondary{display:none}.attention-grid{grid-template-columns:1fr}.attention-card{min-height:82px;padding:8px 13px}.home-categories-section{margin-bottom:25px}.home-categories-heading{margin-bottom:13px}.services-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.service-card{min-height:156px;padding:16px}.service-card h3{font-size:16px}.service-card p{min-height:36px;font-size:12px;line-height:1.65}.service-card small{font-size:12px}.custom-fields input,.custom-product-name input,.installment-form input,.installment-form select,.item-details-form select,.medicine-plan-form input,.medicine-plan-form select,.payment-form input,.payment-form select,.pet-form input,.pet-form select,.picker-search input,.quantity-stepper input,.shopping-time-field input,.task-form input,.task-form select,.vehicle-form input,.vehicle-form select{min-height:48px;font-size:16px}.shopping-schedule-fields fieldset>div{grid-template-columns:.7fr 1.2fr 1fr}.selected-day-actions{justify-content:space-between}.selected-day-actions button{min-height:44px}.task-form{grid-template-columns:1fr}.task-form .wide-field,.task-form>label{grid-column:1}.task-date-fields{grid-template-columns:.72fr 1.15fr 1fr}.task-date-fields label:last-child{grid-column:1/-1}.jalali-date-control-grid.has-extra{grid-template-columns:minmax(64px,.72fr) minmax(92px,1.15fr) minmax(76px,1fr)}.task-advanced-grid{grid-template-columns:1fr}.task-advanced-grid .wide-field{grid-column:1}.event-tabs [role=tab],.medicine-tabs [role=tab],.shopping-tabs [role=tab]{min-height:44px}.event-card-tools button,.event-response-row button,.task-card-actions button{min-width:44px;min-height:44px}.guided-options,.skeleton-layout{grid-template-columns:1fr}.skeleton-layout span:first-child{grid-column:1}}@media (max-width:340px){.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.services-grid{grid-template-columns:1fr}.service-card{min-height:148px}}.vehicle-hero{align-items:flex-start;flex-direction:column;padding:22px 20px;border:1px solid #cfe2df;border-radius:24px;background:linear-gradient(135deg,#fbfdfc,#e5f2f0)}.vehicle-hero-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}.vehicle-hero-actions button{width:100%;min-height:48px;padding-inline:10px;border-radius:13px;font-size:12px}.vehicle-stats{grid-template-columns:1fr 1fr}.vehicle-stats article{max-width:none;min-width:0}.vehicle-stats article:last-child{grid-column:1/-1}.vehicle-stats article>span{background:#e1f0ef;color:#287477}.vehicle-stats strong{overflow-wrap:anywhere}.vehicle-empty{min-height:320px;display:grid;place-items:center;align-content:center;gap:9px;padding:28px;text-align:center}.vehicle-empty>span{width:58px;height:58px;display:grid;place-items:center;border-radius:19px;background:#e1f0ef;color:#287477}.vehicle-empty>span svg{width:27px}.vehicle-empty h2{margin:5px 0 0;font-size:21px}.vehicle-empty p{max-width:460px;margin:0 0 8px;color:var(--muted-foreground);font-size:13px;line-height:1.9}.vehicle-page-layout{display:grid;gap:22px}.vehicle-due-column,.vehicle-history,.vehicle-main-column{min-width:0}.vehicle-section-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}.vehicle-section-heading>div{display:grid;gap:3px}.vehicle-section-heading span{color:#287477;font-size:12px;font-weight:900}.vehicle-section-heading h2{margin:0;font-size:21px}.vehicle-section-heading button{min-height:44px}.vehicle-profile-grid{display:grid;gap:12px}.vehicle-profile-card{min-width:0;display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;padding:17px;border:1px solid var(--border);border-radius:20px;background:white;box-shadow:0 10px 28px #173f3a09}.vehicle-profile-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#e1f0ef;color:#287477}.vehicle-profile-icon-1{background:#e7eef8;color:#476b91}.vehicle-profile-icon-2{background:#fff0d5;color:#946321}.vehicle-profile-icon-3{background:#eee6f2;color:#735184}.vehicle-profile-icon svg{width:22px}.vehicle-profile-copy{min-width:0}.vehicle-profile-copy small{color:#287477;font-size:12px;font-weight:900}.vehicle-profile-copy h3{margin:3px 0 2px;overflow-wrap:anywhere;font-size:18px}.vehicle-profile-copy p{margin:0;color:var(--muted-foreground);font-size:12px}.vehicle-profile-meta{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px;padding:10px 11px;border-radius:12px;background:#f3f8f6}.vehicle-profile-meta span{display:flex;align-items:center;gap:5px;color:#5f706a;font-size:12px}.vehicle-profile-meta svg{width:14px;color:#287477}.vehicle-profile-note{grid-column:1/-1;margin:-2px 0 0;color:var(--muted-foreground);font-size:12px;line-height:1.8}.vehicle-profile-card>button{grid-column:1/-1;min-height:44px;border-color:#b8cfca;color:#287477}.vehicle-profile-actions{grid-column:1/-1;display:flex;align-items:center;gap:7px}.vehicle-profile-actions [data-slot=button]:first-child{flex:1;border-color:#b8cfca;color:#287477}.vehicle-due-list{display:grid;gap:9px}.vehicle-due-card{display:grid;grid-template-columns:42px minmax(0,1fr) 44px;align-items:center;gap:10px;padding:13px;border:1px solid #d5e4e1;border-radius:16px;background:#f8fbfa}.vehicle-due-card.overdue{border-color:#e7c1a1;background:#fff8f1}.vehicle-due-card>span{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#e1f0ef;color:#287477}.vehicle-due-card.overdue>span{background:#f7e5d6;color:#a85d30}.vehicle-due-card svg{width:18px}.vehicle-due-card div{min-width:0;display:grid;gap:2px}.vehicle-due-card small{color:#55716a;font-size:12px;font-weight:900}.vehicle-due-card strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.vehicle-due-card p{margin:0;color:var(--muted-foreground);font-size:12px}.vehicle-due-card>button{width:44px;min-width:44px;height:44px}.vehicle-due-empty{min-height:170px;display:grid;place-items:center;align-content:center;gap:5px;padding:20px;border:1px dashed #bfd2cd;border-radius:18px;background:#f8fbfa;text-align:center}.vehicle-due-empty>svg{width:28px;color:#287477}.vehicle-due-empty strong{font-size:14px}.vehicle-due-empty p{max-width:280px;margin:0;color:var(--muted-foreground);font-size:12px;line-height:1.8}.vehicle-history{margin-top:24px}.vehicle-history-list{display:grid;gap:9px}.vehicle-history-list article{min-width:0;display:grid;grid-template-columns:44px minmax(0,1fr) auto 44px;align-items:center;gap:10px;padding:13px 14px;border:1px solid var(--border);border-radius:17px;background:white}.vehicle-record-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#e1f0ef;color:#287477}.vehicle-record-icon svg{width:19px}.record-insurance{background:#e7eef8;color:#476b91}.record-repair{background:#f6e7de;color:#a45138}.record-fuel{background:#fff0d5;color:#946321}.vehicle-history-list article>div{min-width:0;display:grid;gap:2px}.vehicle-history-list small{color:#55716a;font-size:12px;font-weight:850}.vehicle-history-list strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.vehicle-history-list p{margin:0;color:var(--muted-foreground);font-size:12px}.vehicle-history-list b{color:var(--foreground);font-size:12px;white-space:nowrap}.vehicle-history-list b small{color:var(--muted-foreground);font-size:12px}.vehicle-history-list article>button{width:44px;min-width:44px;height:44px}.vehicle-form{display:grid;grid-template-columns:1fr;gap:14px}.vehicle-form fieldset,.vehicle-form>label{min-width:0;display:grid;gap:7px;margin:0;color:var(--foreground);font-size:13px;font-weight:800}.vehicle-form label>small,.vehicle-form legend small,.vehicle-optional-fields summary small{color:var(--muted-foreground);font-size:12px;font-weight:500}.vehicle-form input,.vehicle-form select{width:100%;min-height:48px;border:1px solid var(--input);border-radius:12px;background:white;color:var(--foreground);font:inherit;font-size:16px;outline:none}.vehicle-form select{padding-inline:11px}.vehicle-form input:focus,.vehicle-form select:focus{border-color:#287477;box-shadow:0 0 0 3px #28747720}.vehicle-form input[aria-invalid=true],.vehicle-form select[aria-invalid=true]{border-color:#c74646;box-shadow:0 0 0 3px #c7464617}.vehicle-form textarea{min-height:88px;background:white;font-size:16px}.vehicle-form .wide-field{grid-column:1/-1}.vehicle-form .field-error{color:#b93434;font-size:12px;line-height:1.6}.vehicle-date-field,.vehicle-record-picker,.vehicle-type-picker{padding:12px;border:1px solid #d5e4e1;border-radius:15px;background:#f8fbfa}.vehicle-date-field legend,.vehicle-record-picker legend,.vehicle-type-picker legend{padding-inline:5px;font-size:13px;font-weight:900}.vehicle-type-picker>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.vehicle-record-picker button,.vehicle-type-picker button{min-height:48px;display:flex;align-items:center;justify-content:center;gap:7px;padding:8px;border:1px solid var(--border);border-radius:12px;background:white;color:#60716b;font:inherit;font-size:12px;font-weight:850;cursor:pointer}.vehicle-record-picker button[aria-pressed=true],.vehicle-type-picker button[aria-pressed=true]{border-color:#70a39a;background:#e7f2ef;color:#1f6b62;box-shadow:0 0 0 2px #28747712}.vehicle-record-picker svg,.vehicle-type-picker svg{width:18px}.vehicle-record-picker>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.vehicle-record-picker button{min-width:0;flex-direction:column;min-height:70px}.vehicle-record-picker button span{line-height:1.5;text-align:center}.vehicle-optional-fields{overflow:hidden;border:1px solid var(--border);border-radius:14px;background:#fafbf9}.vehicle-optional-fields summary{min-height:48px;display:flex;align-items:center;gap:7px;padding:10px 13px;color:#287477;font-size:13px;font-weight:900;cursor:pointer}.vehicle-optional-fields>div{display:grid;grid-template-columns:1fr;gap:13px;padding:13px;border-top:1px solid var(--border)}.vehicle-optional-fields label{display:grid;gap:7px;font-size:12px}.vehicle-date-field.has-error{border-color:#d79393;background:#fffafa}.vehicle-date-field>div{display:grid;grid-template-columns:.72fr 1.2fr 1fr;gap:7px}.vehicle-date-field label{min-width:0;display:grid;gap:5px;color:var(--muted-foreground);font-size:12px}.vehicle-reminder-toggle{padding:13px;border:1px solid #d5e4e1;border-radius:14px;background:#f8fbfa}.vehicle-reminder-toggle strong{font-size:13px}.vehicle-reminder-toggle small{color:var(--muted-foreground);font-size:12px;line-height:1.6}@media (min-width:720px){.vehicle-hero{align-items:flex-end;flex-direction:row;padding:26px 28px}.vehicle-hero-actions{width:auto;display:flex}.vehicle-hero-actions button{width:auto;min-width:145px;font-size:13px}.vehicle-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.vehicle-stats article:last-child{grid-column:auto}.vehicle-history-list,.vehicle-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vehicle-form{grid-template-columns:1fr 1fr}.vehicle-record-picker>div{grid-template-columns:repeat(4,minmax(0,1fr))}.vehicle-optional-fields>div{grid-template-columns:1fr 1fr}}@media (min-width:980px){.vehicle-page-layout{grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);align-items:start}.vehicle-due-column{position:sticky;top:92px}}@media (max-width:430px){.vehicle-hero-actions{grid-template-columns:1fr}.vehicle-history-list article{grid-template-columns:42px minmax(0,1fr) 44px}.vehicle-history-list article>b{grid-column:2}.vehicle-history-list article>button{grid-column:3;grid-row:1/3}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:after,:before{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.visibility-picker{min-width:0;display:grid;gap:10px;margin:0;padding:13px;border:1px solid #cfded9;border-radius:16px;background:#f7faf8}.visibility-picker>legend{display:flex;align-items:center;gap:6px;padding-inline:5px;color:var(--primary);font-size:13px;font-weight:900}.visibility-picker>legend svg{width:17px}.visibility-mode-options{display:grid;gap:8px}.visibility-mode-options>label{min-width:0;min-height:58px;display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:9px;padding:10px 11px;border:1px solid var(--border);border-radius:13px;background:white;cursor:pointer}.visibility-mode-options>label.selected{border-color:#6f9f96;background:#eaf3f0;box-shadow:0 0 0 2px #376f6412}.visibility-mode-options input{width:18px;min-width:18px;height:18px;min-height:18px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;accent-color:var(--primary);box-shadow:none}.visibility-mode-options span{min-width:0;display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;column-gap:6px}.visibility-mode-options span svg{width:17px;color:var(--primary)}.visibility-mode-options strong{font-size:12px}.visibility-mode-options small{grid-column:2;margin-top:2px;color:var(--muted-foreground);font-size:12px;font-weight:500;line-height:1.65}.visibility-member-list{display:grid;grid-template-columns:1fr;gap:7px;padding-top:3px}.visibility-member-list>label{min-height:46px;display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--border);border-radius:12px;background:white;cursor:pointer}.visibility-member-list>label.selected{border-color:#9abcb5;background:#f0f7f5}.visibility-member-list input{width:18px;min-width:18px;height:18px;min-height:18px;margin:0;padding:0;border:0;background:transparent;accent-color:var(--primary);box-shadow:none}.visibility-member-list span{min-width:0;overflow:hidden;font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.visibility-member-list small{margin-right:auto;color:var(--muted-foreground);font-size:12px;font-weight:600}.visibility-picker>p{margin:0;color:var(--muted-foreground);font-size:12px;line-height:1.8}.visibility-badge{width:fit-content;min-height:26px;display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border:1px solid #d4c8e1;border-radius:999px;background:#f4eff8;color:#694e7d;font-size:12px;font-weight:850;white-space:nowrap}.visibility-badge svg{width:13px;height:13px}@media (min-width:620px){.visibility-member-list,.visibility-mode-options{grid-template-columns:repeat(2,minmax(0,1fr))}}.activity-controls{display:grid;gap:14px;margin-bottom:24px;padding:14px;border:1px solid var(--border);border-radius:20px;background:white}.activity-scope{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:5px;border-radius:15px;background:#f0f3ef}.activity-scope button{min-width:0;min-height:50px;display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:7px;padding:8px 10px;border:1px solid transparent;border-radius:12px;background:transparent;color:#61706b;font:inherit;font-size:12px;font-weight:850;cursor:pointer;touch-action:manipulation}.activity-scope button svg{width:18px}.activity-scope button b{min-width:25px;padding:3px 7px;border-radius:9px;background:#dfe7e2;color:#53625d;font-size:12px;text-align:center}.activity-scope button.active{border-color:#cfddd6;background:white;color:var(--primary);box-shadow:0 5px 16px #173f3a0b}.activity-scope button.active b{background:#dfede6;color:var(--primary)}.activity-filter-row{display:grid;gap:13px}.activity-filter-row fieldset{min-width:0;margin:0;padding:0;border:0}.activity-filter-row legend,.activity-source-filter>span{display:block;margin-bottom:7px;color:#596660;font-size:12px;font-weight:900}.activity-filter-chips{display:flex;flex-wrap:wrap;gap:7px}.activity-filter-chips button{min-height:42px;padding:8px 12px;border:1px solid #d8e1dc;border-radius:999px;background:#fbfcfa;color:#607069;font:inherit;font-size:12px;font-weight:850;cursor:pointer;touch-action:manipulation}.activity-filter-chips button.active{border-color:#78a097;background:#e8f1ed;color:var(--primary)}.activity-source-filter{min-width:0;display:grid;align-content:end}.activity-source-filter select{min-height:46px;background:#fbfcfa;font-size:12px}.activity-more-filters{min-width:0;border:1px solid #d8e1dc;border-radius:14px;background:#fbfcfa}.activity-more-filters summary{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 13px;color:#596660;font-size:12px;font-weight:900;cursor:pointer;list-style:none}.activity-more-filters summary::-webkit-details-marker{display:none}.activity-more-filters summary:after{content:"+";width:24px;height:24px;display:grid;place-items:center;border-radius:8px;background:#e8f1ed;color:var(--primary);font-size:17px}.activity-more-filters[open] summary:after{content:"−"}.activity-more-filters summary small{margin-right:auto;color:var(--muted-foreground);font-weight:650}.activity-more-filters>div{display:grid;gap:13px;padding:0 13px 13px}.activity-groups{display:grid;gap:24px}.activity-group{min-width:0}.activity-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px;padding:0 3px}.activity-group-heading h2{margin:0;font-size:16px}.activity-group-heading span{color:var(--muted-foreground);font-size:12px;font-weight:800}.activity-group-overdue .activity-group-heading h2{color:#a94d38}.activity-unified-list{overflow:hidden;border:1px solid var(--border);border-radius:20px;background:white}.activity-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr);border-bottom:1px solid #edf0ec}.activity-row:last-child{border-bottom:0}.activity-row-open{min-width:0;min-height:112px;display:grid;grid-template-columns:43px minmax(0,1fr) 18px;align-items:center;gap:11px;padding:13px;border:0;background:transparent;color:var(--foreground);font:inherit;text-align:right;cursor:pointer;touch-action:manipulation}.activity-row-open:hover{background:#fafbf8}.activity-row-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:14px;background:#e7f0eb;color:var(--primary)}.activity-row-icon svg{width:20px}.activity-row-icon.source-shopping,.activity-row.source-shopping .activity-row-icon{background:#e4efe9;color:#316d5d}.activity-row-icon.source-medicine,.activity-row.source-medicine .activity-row-icon{background:#eee6f2;color:#735184}.activity-row-icon.source-payment,.activity-row.source-payment .activity-row-icon{background:#e7eef8;color:#476b91}.activity-row-icon.source-installment,.activity-row.source-installment .activity-row-icon{background:#f6e7de;color:#a45138}.activity-row-icon.source-pet,.activity-row.source-pet .activity-row-icon{background:#fff0d5;color:#946321}.activity-row-icon.source-event,.activity-row.source-event .activity-row-icon{background:#e7edf8;color:#49699a}.activity-row-icon.source-vehicle,.activity-row.source-vehicle .activity-row-icon{background:#e1f0ef;color:#287477}.activity-row-open>.activity-row-icon{grid-column:1;grid-row:1/span 2}.activity-row-copy{min-width:0;display:grid;grid-column:2;grid-row:1;gap:3px}.activity-row-copy small{color:var(--muted-foreground);font-size:12px;font-weight:800}.activity-row-copy strong{font-size:14px;line-height:1.65;overflow-wrap:anywhere}.activity-row-copy>span{color:#66756f;font-size:12px;line-height:1.75;overflow-wrap:anywhere}.activity-row-meta{grid-column:2;grid-row:2;display:flex;flex-wrap:wrap;gap:6px 12px;color:#5f6e68;font-size:12px;line-height:1.65}.activity-row-meta>span{display:inline-flex;align-items:center;gap:4px}.activity-row-meta svg{width:13px}.activity-row-meta .overdue{color:#af5039;font-weight:850}.activity-row-chevron{width:18px;grid-column:3;grid-row:1/span 2;align-self:center;justify-self:center;color:#9aa6a1}.activity-quick-action{min-height:44px;margin:0 67px 13px 13px;font-size:12px}.activity-completed-mark{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:5px;margin:0 67px 13px 13px;border-radius:11px;background:#edf5f0;color:#437864;font-size:12px;font-weight:900}.activity-completed-mark svg{width:14px}.activity-row.completed{background:#fcfdfb}.activity-row.completed .activity-row-copy strong{color:#617069}.activity-empty{min-height:310px;display:grid;place-items:center;align-content:center;gap:9px;padding:28px 18px;text-align:center}.activity-empty>svg{width:42px;height:42px;color:#6d9988}.activity-empty h2{margin:0;font-size:18px}.activity-empty p{max-width:360px;margin:0 0 8px;color:var(--muted-foreground);font-size:12px;line-height:1.8}.activity-detail-dialog{max-height:calc(100dvh - 20px);overflow-y:auto}.activity-detail-hero{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:12px;padding:15px;border:1px solid var(--border);border-radius:18px;background:#fafbf8}.activity-detail-hero .activity-row-icon{width:52px;height:52px}.activity-detail-hero div{min-width:0;display:grid;gap:4px}.activity-detail-hero small{color:var(--muted-foreground);font-size:12px;font-weight:800}.activity-detail-hero h2{margin:0;font-size:18px}.activity-detail-hero div>span{width:fit-content;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:900}.activity-detail-hero .pending{background:#fff0dc;color:#8c5d1c}.activity-detail-hero .done{background:#e7f1eb;color:#39705c}.activity-detail-list{display:grid;margin:0}.activity-detail-list>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;padding:12px 2px;border-bottom:1px solid #edf0ec}.activity-detail-list dt{color:var(--muted-foreground);font-size:12px;font-weight:800}.activity-detail-list dd{margin:0;font-size:12px;font-weight:750;line-height:1.8}.activity-detail-actions{display:grid;gap:8px}.activity-detail-actions [data-slot=button]{min-height:46px}@media (min-width:760px){.activity-controls{padding:18px}.activity-scope{width:min(480px,100%)}.activity-filter-row{grid-template-columns:minmax(280px,.75fr) minmax(360px,1.25fr);align-items:start}.activity-more-filters>div{grid-template-columns:minmax(0,1.35fr) minmax(180px,.65fr);align-items:end}.activity-row{grid-template-columns:minmax(0,1fr) auto;align-items:center}.activity-row-open{min-height:92px;grid-template-columns:48px minmax(0,1fr) minmax(250px,.72fr) 18px;padding:14px 16px}.activity-row-open>.activity-row-icon{grid-column:1;grid-row:1}.activity-row-copy{grid-column:2;grid-row:1}.activity-row-meta{grid-column:3;grid-row:1;display:grid;gap:5px}.activity-row-chevron{grid-column:4;grid-row:1}.activity-quick-action{min-width:126px;margin:0 0 0 16px}.activity-completed-mark{min-width:110px;margin:0 0 0 16px}.activity-detail-actions{grid-template-columns:1fr 1fr}}@media (max-width:720px){.primary-sidebar nav{grid-template-columns:repeat(4,minmax(0,1fr))}.activity-scope button{grid-template-columns:18px minmax(0,1fr) auto;padding-inline:8px}.activity-scope button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-filter-chips button{min-height:44px}}@media (max-width:360px){.activity-scope button{grid-template-columns:minmax(0,1fr) auto}.activity-scope button svg{display:none}.activity-row-open{grid-template-columns:39px minmax(0,1fr) 16px;padding-inline:10px}.activity-row-icon{width:39px;height:39px}.activity-completed-mark,.activity-quick-action{margin-right:60px}}.nav-item-slot{display:contents}.quick-add-trigger{display:none}.quick-add-scrim{position:fixed;inset:0;z-index:45;border:0;background:rgb(18 37 32/.34);backdrop-filter:blur(2px);animation:quick-add-scrim-in .18s ease-out both}.quick-add-panel{z-index:80!important;width:min(500px,calc(100vw - 24px));max-height:min(68dvh,540px);padding:18px;overflow-y:auto;border:1px solid #cbd9d3;border-radius:26px;background:#fffefa;box-shadow:0 24px 70px rgb(23 63 58/.24)}.quick-add-header{gap:5px;padding:2px 3px 10px;text-align:right}.quick-add-header [data-slot=popover-title]{font-size:17px;font-weight:900}.quick-add-header [data-slot=popover-description]{font-size:12px;line-height:1.8}.quick-add-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.quick-add-option{min-width:0;min-height:82px;display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:10px;padding:11px;border:1px solid var(--border);border-radius:17px;background:white;color:var(--foreground);text-decoration:none;touch-action:manipulation;transition:border-color .15s ease,background-color .15s ease,transform .15s ease}.quick-add-option:hover{border-color:#9eb8ad;background:#f9fbf8}.quick-add-option:active{transform:scale(.98)}.quick-add-option .category-icon{grid-row:1/3;width:44px;height:44px;border-radius:14px}.quick-add-option .category-icon svg{width:20px;height:20px}.quick-add-option strong{align-self:end;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.quick-add-option small{align-self:start;color:var(--muted-foreground);font-size:12px;line-height:1.55;overflow-wrap:anywhere}.quick-add-panel[data-state=open] .quick-add-option{animation:quick-add-option-in .26s cubic-bezier(.2,.85,.25,1) both}.quick-add-panel[data-state=open] .quick-add-option:nth-child(2){animation-delay:35ms}.quick-add-panel[data-state=open] .quick-add-option:nth-child(3){animation-delay:70ms}.quick-add-panel[data-state=open] .quick-add-option:nth-child(4){animation-delay:105ms}.quick-add-panel[data-state=open] .quick-add-option:nth-child(5){animation-delay:.14s}.quick-add-panel[data-state=open] .quick-add-option:nth-child(6){animation-delay:175ms}.quick-add-panel[data-state=open] .quick-add-option:nth-child(7){animation-delay:.21s}.quick-add-panel[data-state=open] .quick-add-option:nth-child(8){animation-delay:245ms}@keyframes quick-add-scrim-in{0%{opacity:0}to{opacity:1}}@keyframes quick-add-option-in{0%{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.dashboard-overview{margin-bottom:30px}.dashboard-section-heading>a{min-height:44px;display:inline-flex;align-items:center;padding:0 12px;border-radius:12px;color:var(--primary);text-decoration:none;font-size:12px;font-weight:900}.dashboard-section-heading>a:hover{background:#eaf2ed}.dashboard-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:11px;border:1px solid var(--border);border-radius:22px;background:white;box-shadow:0 12px 32px rgb(23 63 58/.07)}.dashboard-summary-item{min-width:0;min-height:92px;display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:0 10px;padding:13px;border-radius:16px;background:#f7f9f6;color:var(--foreground);text-decoration:none;touch-action:manipulation;transition:background-color .15s ease,transform .15s ease}.dashboard-summary-item:hover{background:#eff5f1}.dashboard-summary-item:active{transform:scale(.985)}.dashboard-summary-item>span{grid-row:1/3;width:38px;height:38px;display:grid;place-items:center;border-radius:13px;background:#e3eee8;color:var(--primary)}.dashboard-summary-item svg{width:18px;height:18px}.dashboard-summary-item strong{align-self:end;font-size:20px;line-height:1.1}.dashboard-summary-item small{align-self:start;color:var(--muted-foreground);font-size:12px;font-weight:800}.dashboard-summary-overdue>span{background:#f8e8e2;color:#a54f39}.dashboard-summary-overdue.has-items{background:#fff6f2;color:#8d402f}.dashboard-categories-toggle{min-height:44px;display:inline-flex;align-items:center;gap:5px;padding:0 10px;border:0;border-radius:12px;background:transparent;color:var(--primary);font:inherit;font-size:12px;font-weight:900;cursor:pointer}.dashboard-categories-toggle:hover{background:#eaf2ed}.dashboard-categories-toggle svg{width:16px;transition:transform .18s ease}.dashboard-categories-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.dashboard-category-card{justify-content:flex-start;text-align:right}.dashboard-category-copy{min-width:0;display:grid;gap:3px}.dashboard-category-copy small{color:var(--muted-foreground);font-size:12px;font-weight:650}.dashboard-workspace{--muted-foreground:#52625b}.dashboard-workspace .topbar-title{font-size:17px}.dashboard-workspace .home-note strong,.dashboard-workspace .skip-link{font-size:15px}.dashboard-workspace .home-note p,.dashboard-workspace .topbar-profile small,.dashboard-workspace .topbar-profile strong,.dashboard-workspace .topbar-profile>span{font-size:14px}.dashboard-workspace .sidebar nav a{font-size:16px}.dashboard-workspace .hub-section-heading{align-items:center;flex-wrap:wrap;gap:4px 12px;margin-bottom:12px}.dashboard-workspace .hub-section-heading h1,.dashboard-workspace .hub-section-heading h2{color:var(--apricot-strong);font-size:14px;font-weight:900;line-height:1.6}.dashboard-workspace .dashboard-categories-toggle,.dashboard-workspace .dashboard-category-copy small,.dashboard-workspace .dashboard-section-heading>a,.dashboard-workspace .dashboard-summary-item small{font-size:14px;line-height:1.6}.dashboard-workspace .dashboard-summary-item strong{font-size:22px}.dashboard-workspace .dashboard-category-card strong{font-size:14px}@media (max-width:720px){.content{padding-bottom:calc(126px + env(safe-area-inset-bottom))}.primary-sidebar{right:12px;bottom:max(10px,env(safe-area-inset-bottom));left:12px;z-index:60;height:76px;padding:7px 8px;overflow:visible;border:1px solid rgb(195 210 203/.92);border-radius:25px;background:rgb(255 254 250/.96);box-shadow:0 15px 44px rgb(23 63 58/.18),inset 0 1px 0 rgb(255 255 255/.9);backdrop-filter:blur(18px)}body:has([data-slot=dialog-content],[data-slot=alert-dialog-content],[data-slot=sheet-content],[data-slot=drawer-content]) .primary-sidebar{display:none}.primary-sidebar nav{height:100%;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;gap:8px}.primary-sidebar nav a.nav-primary{position:relative;min-width:0;min-height:58px;justify-content:center;flex-direction:column;gap:4px;padding:5px 1px;border-radius:16px;background:transparent;color:#66746f;font-size:12px;line-height:1.15;transition:color .16s ease,background-color .16s ease,opacity .16s ease}.primary-sidebar nav a.nav-primary:hover{background:#f2f6f2}.primary-sidebar nav a.nav-primary.active{background:#e9f1ec;color:var(--primary)}.primary-sidebar nav a.nav-primary.active:after{position:absolute;bottom:3px;width:18px;height:3px;border-radius:999px;background:var(--primary);content:""}.primary-sidebar nav a.nav-primary svg{width:21px;height:21px}.primary-sidebar .nav-secondary{display:none}.quick-add-trigger{min-width:0;height:76px;display:flex;align-items:center;justify-content:flex-start;flex-direction:column;gap:4px;margin-top:-25px;padding:0 1px;border:0;background:transparent;color:var(--primary);font:inherit;font-size:12px;font-weight:900;cursor:pointer;touch-action:manipulation}.quick-add-orb{width:58px;height:58px;display:grid;place-items:center;flex:none;border-radius:20px;background:var(--primary);color:#fffaf0;box-shadow:0 0 0 6px var(--canvas),0 13px 27px rgb(23 63 58/.28),inset 0 1px 0 rgb(255 255 255/.18);transition:transform .24s cubic-bezier(.2,.85,.25,1),background-color .16s ease,box-shadow .16s ease}.quick-add-orb svg{width:25px;height:25px;stroke-width:2.4}.quick-add-label{line-height:1}.quick-add-trigger:hover .quick-add-orb{background:#24584f}.quick-add-trigger:active .quick-add-orb{transform:scale(.94);box-shadow:0 0 0 6px var(--canvas),0 7px 18px rgb(23 63 58/.22)}.quick-add-trigger[aria-expanded=true] .quick-add-orb{transform:rotate(90deg);background:#294f48}.quick-add-active nav a{opacity:.45;pointer-events:none}.dashboard-overview{margin-bottom:25px}.dashboard-section-heading{align-items:end}.dashboard-summary-grid{gap:6px;padding:7px;border-radius:19px}.dashboard-summary-item{min-height:90px;grid-template-columns:1fr;grid-template-rows:31px auto auto;justify-items:center;gap:3px;padding:9px 4px;text-align:center}.dashboard-summary-item>span{grid-row:auto;width:31px;height:31px;border-radius:11px}.dashboard-summary-item svg{width:16px;height:16px}.dashboard-summary-item strong{align-self:auto;font-size:18px}.dashboard-summary-item small{align-self:auto;font-size:12px;line-height:1.45}.home-categories-heading{align-items:end}.dashboard-categories-toggle{max-width:100%;justify-content:flex-end;padding-inline:7px;text-align:left}.dashboard-category-grid.show-preferred{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-category-grid.show-preferred .dashboard-category-card.is-primary{min-height:88px;grid-column:1/-1;align-items:center;flex-direction:row;justify-content:flex-start;gap:13px;padding:14px 16px;text-align:right}.dashboard-category-grid.show-preferred .dashboard-category-card.is-primary .category-icon{width:54px;height:54px}.dashboard-category-grid.show-preferred .dashboard-category-card.is-primary strong{font-size:14px}.dashboard-category-grid.show-all{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-workspace .primary-sidebar nav a.nav-primary{font-size:14px}.dashboard-workspace .dashboard-summary-item strong{font-size:20px}.dashboard-workspace .dashboard-category-grid.show-preferred .dashboard-category-card.is-primary strong{font-size:16px}}@media (min-width:721px){.dashboard-category-grid.show-preferred{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-category-card{min-height:120px}.dashboard-workspace .dashboard-category-card strong{font-size:15px}}@media (max-width:390px){.primary-sidebar{right:8px;left:8px;padding-inline:5px}.quick-add-orb{width:54px;height:54px;border-radius:18px}.quick-add-panel{width:calc(100vw - 16px);padding:14px;border-radius:22px}.quick-add-grid{gap:7px}.quick-add-option{min-height:82px;grid-template-columns:39px minmax(0,1fr);padding:9px}.quick-add-option .category-icon{width:39px;height:39px}}@media (prefers-reduced-motion:reduce){.quick-add-panel[data-state=open] .quick-add-option,.quick-add-scrim{animation:none!important}.dashboard-categories-toggle svg,.quick-add-orb{transition:none!important}}.egg-package-picker{min-width:0;margin:0 0 20px;padding:14px;border:1px solid var(--border);border-radius:14px;background:#f6faf7}.egg-package-picker legend{padding-inline:5px;font-size:14px;font-weight:800}.egg-package-picker p{margin:0 0 12px;color:var(--muted-foreground);font-size:13px;line-height:1.8}.egg-package-picker>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.egg-package-picker button{display:flex;min-width:0;min-height:48px;align-items:center;justify-content:center;gap:5px;padding:9px 5px;border:1px solid var(--border);border-radius:10px;background:white;color:var(--foreground);font:inherit;font-size:13px;cursor:pointer}.egg-package-picker button svg{display:none;width:15px;height:15px;flex:none}.egg-package-picker button[aria-pressed=true]{border-color:var(--primary);background:#e3eee7;font-weight:800}.egg-package-picker button[aria-pressed=true] svg{display:block}.egg-package-picker button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.egg-total{display:block;color:var(--primary);font-size:13px;line-height:1.8}@media (min-width:640px){.egg-package-picker>div{grid-template-columns:repeat(3,minmax(0,1fr))}}.shopping-header-add{width:44px;height:44px;flex:none;border-radius:14px}.shopping-detail-panel .shopping-detail-row{grid-template-columns:36px minmax(0,1fr) max-content;align-items:start;column-gap:10px;padding:8px 0;min-height:0}.shopping-detail-panel .product-symbol{width:36px;height:36px;border-radius:12px}.shopping-detail-panel .item-main{min-width:0;gap:3px;overflow-wrap:anywhere}.shopping-detail-panel .item-main strong{font-size:14px;line-height:1.8}.shopping-detail-panel .shopping-assignee{color:var(--muted-foreground);font-size:12px;margin-top:4px}.shopping-detail-panel .shopping-row-actions{grid-column:3;grid-row:1;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;padding:0}.shopping-detail-panel .shopping-row-actions [data-slot=button]{flex:none;width:auto;min-width:76px;min-height:44px;padding:0 10px;font-size:12px;border-radius:10px}.shopping-detail-panel .shopping-row-actions .shopping-delete{color:var(--destructive)}.shopping-detail-panel .shopping-row-actions .shopping-delete:hover{background:color-mix(in srgb,var(--destructive) 8%,transparent)}.shopping-detail-panel .shopping-partial{width:fit-content;min-height:44px;padding-inline:8px;margin-top:4px;font-size:12px}.shopping-undo{position:fixed;z-index:45;bottom:calc(112px + env(safe-area-inset-bottom));inset-inline:16px;margin-inline:auto;width:fit-content;max-width:calc(100% - 32px);display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--border);border-radius:16px;background:var(--background);box-shadow:0 8px 28px #173f3a22;font-size:13px}.shopping-undo>span{overflow-wrap:anywhere}.shopping-undo [data-slot=button]{flex:none;min-height:44px}@media (min-width:721px){.shopping-detail-panel .shopping-detail-row{grid-template-columns:40px minmax(0,1fr) max-content;gap:16px}.shopping-detail-panel .item-main strong{font-size:15px}.shopping-undo{bottom:24px}}