:root{--background:#faf7ef;--surface:#fff;--surface-alt:#f5f1e4;--foreground:#1c2a22;--muted:#7c8577;--border:#ece5d3;--accent:#34503f;--accent-dark:#223629;--accent-soft:#e6ede5;--accent-contrast:#faf7ef;--success-bg:#e2efe4;--success-fg:#1f6b3a;--danger:#b3443a;--danger-bg:#f7e7e3;--warning-bg:#faf1dc;--warning-fg:#92642a;--shadow:0 1px 2px #1b241d0a, 0 8px 24px #1b241d0f;--font-serif:Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif}@media (prefers-color-scheme:dark){:root{--background:#101d17;--surface:#16251d;--surface-alt:#132019;--foreground:#f0ece0;--muted:#94a091;--border:#26362d;--accent:#7ab897;--accent-dark:#97cbab;--accent-soft:#1e3128;--accent-contrast:#0f1a14;--success-bg:#1c3223;--success-fg:#8fd19e;--danger:#e0897d;--danger-bg:#3a2420;--warning-bg:#332a17;--warning-fg:#e0b978;--shadow:0 1px 2px #0000004d, 0 8px 24px #00000059}}html{height:100%}html,body{max-width:100vw;overflow-x:hidden}body{min-height:100%;color:var(--foreground);background:var(--background);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;flex-direction:column;display:flex}*{box-sizing:border-box}body{margin:0;padding:0}h1,h2,h3,p,ul{margin:0}h1,h2,h3{font-family:var(--font-serif);letter-spacing:-.01em;font-weight:600}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}input,select{font:inherit}@media (prefers-color-scheme:dark){html{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}.authScreen{background:radial-gradient(ellipse at top, var(--accent-soft) 0%, var(--background) 60%);justify-content:center;align-items:center;width:100%;min-height:100vh;padding:24px;display:flex}.authCard{background:var(--surface);border:1px solid var(--border);width:100%;max-width:400px;box-shadow:var(--shadow);border-radius:20px;flex-direction:column;gap:18px;padding:40px 36px;display:flex}.authWordmark{font-family:var(--font-serif);letter-spacing:.08em;text-transform:uppercase;color:var(--accent);font-size:14px;font-weight:600}.authCard h1{font-size:26px;font-weight:600}.authCard p{color:var(--muted);font-size:14px;line-height:1.6}.authCard form{flex-direction:column;gap:10px;display:flex}.authCard label{color:var(--muted);font-size:13px;font-weight:500}.authCard input{border:1px solid var(--border);background:var(--surface-alt);color:var(--foreground);border-radius:12px;padding:12px 14px}.authCard input:focus{outline:2px solid var(--accent-soft);border-color:var(--accent)}.authCard button{background:var(--accent);color:var(--accent-contrast);border:none;border-radius:999px;margin-top:6px;padding:12px 16px;font-weight:600}.authCard button:disabled{opacity:.6;cursor:default}.authCard button[type=submit]:not(:disabled):hover{background:var(--accent-dark)}.errorText{color:var(--danger);font-size:13px}.appShell{min-height:100vh;display:flex}.sidebar{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;flex-shrink:0;width:232px;height:100vh;padding:24px 16px;display:flex;position:sticky;top:0}.sidebarBrand{border-bottom:1px solid var(--border);margin-bottom:20px;padding:0 10px 20px}.sidebarWordmark{font-family:var(--font-serif);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-size:12px;font-weight:600}.sidebarCoupleName{font-family:var(--font-serif);margin-top:4px;font-size:19px;font-weight:600}.sidebarNav{flex-direction:column;flex:1;gap:4px;display:flex}.sidebarLink{color:var(--muted);border-radius:12px;align-items:center;gap:12px;padding:10px 12px;font-size:14px;font-weight:500;display:flex}.sidebarLink svg{flex-shrink:0;width:18px;height:18px}.sidebarLink:hover{background:var(--surface-alt);color:var(--foreground)}.sidebarLinkActive,.sidebarLinkActive:hover{background:var(--accent);color:var(--accent-contrast)}.sidebarFooter{border-top:1px solid var(--border);margin-top:12px;padding-top:12px}.logoutButton{width:100%;color:var(--muted);background:0 0;border:none;border-radius:12px;align-items:center;gap:12px;padding:10px 12px;font-size:14px;font-weight:500;display:flex}.logoutButton svg{width:18px;height:18px}.logoutButton:hover{background:var(--surface-alt);color:var(--danger)}.content{flex-direction:column;flex:1;gap:22px;min-width:0;padding:36px 40px 64px;display:flex}.pageHeader{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.pageHeaderText h1,.content h1{font-size:26px}.subtle{color:var(--muted);font-size:13px}@media (max-width:780px){.appShell{flex-direction:column}.sidebar{flex-direction:row;align-items:center;gap:8px;width:100%;height:auto;padding:12px 16px;position:static;overflow-x:auto}.sidebarBrand{border-bottom:none;border-right:1px solid var(--border);white-space:nowrap;margin-bottom:0;padding:0 16px 0 0}.sidebarNav{flex-direction:row;flex:none}.sidebarFooter{border-top:none;margin-top:0;margin-left:auto;padding-top:0}.content{padding:24px 20px 48px}.budgetCategoryRow{grid-template-columns:1fr;gap:6px}.progressTimeline{padding:20px 18px}}.statGrid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;display:grid}.statTile{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:18px;flex-direction:column;gap:14px;padding:20px;display:flex}.statIcon{background:var(--accent-soft);width:36px;height:36px;color:var(--accent);border-radius:10px;justify-content:center;align-items:center;display:flex}.statIcon svg{width:18px;height:18px}.statValue{font-family:var(--font-serif);color:var(--foreground);font-size:28px;font-weight:600}.statLabel{color:var(--muted);font-size:13px}.sectionCard{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:18px;padding:24px}.errorBanner{background:var(--danger-bg);color:var(--danger);border:1px solid var(--danger);border-radius:12px;padding:10px 14px;font-size:13px}.toolbar{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.searchInput{border:1px solid var(--border);background:var(--surface);min-width:180px;color:var(--foreground);border-radius:999px;flex:1;padding:10px 14px}.searchInput:focus{outline:2px solid var(--accent-soft);border-color:var(--accent)}.filterButtons{background:var(--surface-alt);border:1px solid var(--border);border-radius:999px;gap:6px;padding:4px;display:flex}.filterButton{color:var(--muted);background:0 0;border:none;border-radius:999px;padding:7px 14px;font-size:13px;font-weight:500}.filterButton:hover{color:var(--foreground)}.filterButtonActive{background:var(--accent);color:var(--accent-contrast)}.filterButtonActive:hover{color:var(--accent-contrast)}.addButton{background:var(--accent);color:var(--accent-contrast);white-space:nowrap;border:none;border-radius:999px;padding:10px 18px;font-size:13px;font-weight:600}.addButton:hover{background:var(--accent-dark)}.addForm{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:18px;flex-direction:column;gap:14px;padding:22px;display:flex}.addForm h3{font-size:16px;font-weight:600}.formGrid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.formGridWide{grid-column:1/-1}.formGrid label,.messageLabel{color:var(--muted);flex-direction:column;gap:5px;font-size:13px;font-weight:500;display:flex}.formGrid input,.formGrid select,.messageLabel input{border:1px solid var(--border);background:var(--surface-alt);color:var(--foreground);border-radius:10px;padding:9px 12px;font-size:14px;font-weight:400}.formActions{gap:8px;display:flex}.table{border-collapse:separate;border-spacing:0;background:var(--surface);border:1px solid var(--border);width:100%;box-shadow:var(--shadow);border-radius:18px;font-size:14px;overflow:hidden}.table th{text-align:left;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);border-bottom:1px solid var(--border);white-space:nowrap;background:var(--surface-alt);padding:12px 14px;font-size:11px}.table td{border-bottom:1px solid var(--border);vertical-align:middle;padding:12px 14px}.table tbody tr:last-child td{border-bottom:none}.sortableHeader{cursor:pointer;-webkit-user-select:none;user-select:none}.sortableHeader:hover{color:var(--foreground)}.table input,.table select{border:1px solid var(--border);background:var(--surface-alt);width:100%;color:var(--foreground);border-radius:8px;padding:7px 9px}.expandButton{color:var(--muted);background:0 0;border:none;width:20px;font-size:14px}.statusBadge{border:none;border-radius:999px;padding:5px 12px;font-size:12px;font-weight:600}.statusBadgeYes{background:var(--success-bg);color:var(--success-fg)}.statusBadgeNo{background:var(--danger-bg);color:var(--danger)}.actionsCell{white-space:nowrap;gap:6px;display:flex}.smallButton{border:1px solid var(--border);background:var(--surface);color:var(--foreground);border-radius:999px;padding:7px 12px;font-size:12px;font-weight:500}.smallButton:hover{border-color:var(--accent);color:var(--accent)}.smallButton:disabled{opacity:.6;cursor:default}.dangerButton{color:var(--danger);border-color:var(--danger-bg)}.dangerButton:hover{border-color:var(--danger);color:var(--danger)}.companionsPanelRow td{background:var(--surface-alt);padding:8px 14px 16px 36px}.companionsTable{border-collapse:collapse;width:100%;font-size:13px}.companionsTable th{text-align:left;color:var(--muted);background:0 0;padding:6px 8px;font-weight:500}.companionsTable td{border-top:1px solid var(--border);padding:6px 8px}.editRow td{background:var(--surface-alt);padding:12px 14px 18px 36px}.messageLabel input{max-width:480px}.overviewHeader{flex-wrap:wrap;align-items:stretch;gap:20px;display:flex}.greetingCard{background:var(--surface);border:1px solid var(--border);min-width:260px;box-shadow:var(--shadow);border-radius:22px;flex-direction:column;flex:2;justify-content:center;gap:10px;padding:28px 32px;display:flex}.greetingEyebrow{letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-size:11px;font-weight:700}.greetingHeading{align-items:center;gap:10px;font-size:34px;display:flex}.greetingSubtitle{color:var(--muted);max-width:46ch;font-size:14px;line-height:1.6}.countdownCard{background:var(--accent);min-width:180px;color:var(--accent-contrast);text-align:center;box-shadow:var(--shadow);border-radius:22px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;padding:26px 28px;display:flex}.countdownLabel{letter-spacing:.16em;text-transform:uppercase;opacity:.75;font-size:11px;font-weight:700}.countdownNumber{font-family:var(--font-serif);font-size:56px;font-weight:600;line-height:1.05}.countdownUnit{letter-spacing:.16em;text-transform:uppercase;opacity:.75;margin-bottom:10px;font-size:11px;font-weight:700}.countdownDate{opacity:.85;font-size:13px}.progressTimeline{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:22px;align-items:flex-start;padding:26px 32px 22px;display:flex;overflow-x:auto}.progressStep{text-align:center;flex-direction:column;flex:1;align-items:center;gap:10px;min-width:110px;display:flex;position:relative}.progressStepRow{align-items:center;width:100%;display:flex}.progressStepLine{background:var(--border);flex:1;height:2px}.progressStepLineDone{background:var(--accent)}.progressStepDot{border:2px solid var(--border);background:var(--surface);width:30px;height:30px;color:var(--muted);border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.progressStepDot svg{width:15px;height:15px}.progressStepDotDone{background:var(--accent);border-color:var(--accent);color:var(--accent-contrast)}.progressStepDotActive{border-color:var(--accent);color:var(--accent)}.progressStepLabel{font-size:13px;font-weight:600}.progressStepMeta{color:var(--muted);font-size:11px}.previewGrid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;display:grid}.previewCard{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:20px;flex-direction:column;gap:14px;padding:22px;display:flex}.previewCardHeader{justify-content:space-between;align-items:center;display:flex}.previewCardTitle{font-family:var(--font-serif);font-size:17px;font-weight:600}.previewCardLink{color:var(--accent);font-size:12px;font-weight:600}.previewCardLink:hover{text-decoration:underline}.previewList{flex-direction:column;gap:2px;display:flex}.previewListRow{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:10px;padding:9px 0;font-size:13px;display:flex}.previewListRow:last-child{border-bottom:none}.previewListName{text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.previewEmpty{color:var(--muted);padding:8px 0;font-size:13px}.categoryChip{background:var(--accent-soft);color:var(--accent);white-space:nowrap;border-radius:999px;padding:3px 10px;font-size:11px;font-weight:600;display:inline-flex}.todoGroup{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:18px;overflow:hidden}.todoGroupTitle{background:var(--surface-alt);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:14px 20px;font-size:13px;font-weight:600;display:flex}.todoGroupCount{color:var(--muted);font-size:12px;font-weight:500}.todoRow{border-bottom:1px solid var(--border);align-items:center;gap:14px;padding:14px 20px;display:flex}.todoRow:last-child{border-bottom:none}.todoCheckbox{border:2px solid var(--border);background:var(--surface);color:#0000;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;display:flex}.todoCheckbox svg{width:13px;height:13px}.todoCheckboxDone{background:var(--accent);border-color:var(--accent);color:var(--accent-contrast)}.todoBody{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.todoTitle{font-size:14px;font-weight:500}.todoTitleDone{color:var(--muted);text-decoration:line-through}.todoMeta{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.todoDueDate{color:var(--muted);font-size:12px}.todoInput{border:1px solid var(--border);background:var(--surface-alt);color:var(--foreground);border-radius:10px;padding:8px 12px;font-size:13px}.budgetSummary{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:20px;flex-wrap:wrap;align-items:center;gap:28px;padding:26px 28px;display:flex}.budgetDonut{border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:140px;height:140px;display:flex;position:relative}.budgetDonutCenter{background:var(--surface);text-align:center;border-radius:999px;flex-direction:column;justify-content:center;align-items:center;gap:1px;width:96px;height:96px;display:flex}.budgetDonutValue{font-family:var(--font-serif);font-size:16px;font-weight:600}.budgetDonutLabel{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:10px}.budgetTotals{flex-direction:column;flex:1;gap:10px;min-width:200px;display:flex}.budgetTotalRow{align-items:baseline;gap:8px;display:flex}.budgetTotalLabel{color:var(--muted);min-width:130px;font-size:13px}.budgetTotalValue{font-family:var(--font-serif);font-size:20px;font-weight:600}.budgetTotalInput{border:1px solid var(--border);background:var(--surface-alt);color:var(--foreground);border-radius:10px;width:140px;padding:8px 12px;font-size:14px}.budgetStatusBanner{border-radius:999px;width:fit-content;padding:8px 14px;font-size:12px;font-weight:600;display:inline-flex}.budgetStatusOk{background:var(--success-bg);color:var(--success-fg)}.budgetStatusOver{background:var(--danger-bg);color:var(--danger)}.budgetLegend{flex-direction:column;gap:8px;min-width:180px;display:flex}.budgetLegendRow{align-items:center;gap:8px;font-size:12px;display:flex}.budgetLegendSwatch{border-radius:3px;flex-shrink:0;width:10px;height:10px}.budgetLegendName{color:var(--foreground);flex:1}.budgetLegendValue{color:var(--muted);white-space:nowrap}.budgetCategoryList{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:18px;overflow:hidden}.budgetCategoryRow{border-bottom:1px solid var(--border);grid-template-columns:minmax(140px,1.4fr) repeat(2,minmax(100px,.8fr)) auto;align-items:center;gap:12px;padding:12px 20px;display:grid}.budgetCategoryRow:last-child{border-bottom:none}.budgetCategoryHeader{background:var(--surface-alt);text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-size:11px;font-weight:600}.budgetAmountInput{border:1px solid var(--border);background:var(--surface-alt);color:var(--foreground);border-radius:8px;width:100%;padding:7px 10px;font-size:13px}
