:root {
  --ink: #10233f;
  --ink-soft: #263a58;
  --muted: #71809a;
  --line: #e5eaf1;
  --bg: #f4f7fb;
  --card: #ffffff;
  --blue: #4778bd;
  --blue-soft: #eaf2fc;
  --coral: #fa6e61;
  --coral-soft: #fff0ee;
  --amber: #e7a52f;
  --amber-soft: #fff6df;
  --mint: #4caf96;
  --mint-soft: #eaf8f4;
  --purple: #8774c7;
  --purple-soft: #f2effc;
  --shadow: 0 12px 32px rgba(31, 59, 94, .07);
  font-family: "Aptos", "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--ink); }
button, input { font: inherit; }
button { border: 0; cursor: pointer; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 244px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 25px 14px 16px; color: #dce8f7; background: #10233f; overflow: hidden; }
.sidebar::after { content: ""; position: absolute; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; right: -150px; bottom: 100px; box-shadow: 0 0 0 24px rgba(255,255,255,.025), 0 0 0 52px rgba(255,255,255,.018); pointer-events: none; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 12px 27px; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; color: #fff; background: #f27669; border-radius: 10px; box-shadow: 0 5px 15px rgba(242,118,105,.25); }
.brand-mark svg { width: 18px; height: 18px; stroke-width: 2; }
.brand strong, .brand span { display: block; }
.brand strong { letter-spacing: -.02em; color: #fff; font-size: 17px; }
.brand span { margin-top: 2px; color: #8fa8c9; font-size: 11px; }
.workspace-switcher { display: flex; align-items: center; gap: 9px; padding: 10px; margin: 0 5px 25px; background: #1b3457; border: 1px solid rgba(173,207,243,.13); border-radius: 12px; }
.workspace-avatar { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; color: #163253; background: #f1c66e; border-radius: 9px; font-weight: 800; }
.workspace-copy { min-width: 0; flex: 1; }
.workspace-copy span, .workspace-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-copy span { color: #fff; font-size: 12px; }
.workspace-copy small { margin-top: 3px; color: #8fa8c9; font-size: 10px; }
.chevron { color: #8fa8c9; font-size: 17px; transform: translateY(-2px); }
.nav-label { margin: 0 13px 8px; color: #7793b8; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.nav-label-spaced { margin-top: 29px; }
.primary-nav, .shortcut-list { display: grid; gap: 4px; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 11px; min-height: 41px; padding: 0 12px; text-align: left; color: #9fb4d1; background: transparent; border-radius: 9px; font-size: 13px; transition: .2s ease; }
.nav-item:hover, .nav-item.is-active { color: #fff; background: #1d3b63; }
.nav-item.is-active { box-shadow: inset 3px 0 #fb796e; }
.nav-item svg { width: 17px; height: 17px; }
.nav-item span { flex: 1; }
.nav-item em { min-width: 18px; padding: 2px 5px; color: #b9cbe2; background: rgba(255,255,255,.09); border-radius: 20px; font-size: 10px; font-style: normal; text-align: center; }
.shortcut-item { display: flex; align-items: center; gap: 9px; min-height: 33px; padding: 0 13px; color: #9fb4d1; background: transparent; border-radius: 8px; font-size: 12px; text-align: left; transition: .2s ease; }
.shortcut-item:hover { color: #fff; background: rgba(255,255,255,.07); }
.shortcut-dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-coral { background: var(--coral); }.dot-amber { background: #f2bb52; }.dot-mint { background: #64c5aa; }.dot-blue { background: #6b9ee5; }
.sidebar-bottom { margin-top: auto; }
.settings-item { margin-bottom: 13px; }
.profile-card { display: flex; align-items: center; gap: 9px; padding: 10px 9px; border-top: 1px solid rgba(169,196,226,.13); }
.profile-avatar, .top-avatar { display: grid; place-items: center; color: #153459; background: #b7d8f4; border-radius: 50%; font-weight: 800; }
.profile-avatar { width: 30px; height: 30px; font-size: 12px; }.profile-card > div:nth-child(2) { flex: 1; }.profile-card strong, .profile-card span { display: block; }.profile-card strong { color: #f6f9fe; font-size: 12px; font-weight: 600; }.profile-card span { margin-top: 2px; color: #7f9abe; font-size: 10px; }.profile-card button { padding: 3px; color: #89a2c3; background: transparent; }.profile-card button svg { width: 16px; }

.main-content { min-width: 0; background: var(--bg); }
.topbar { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(25px, 4vw, 58px); background: rgba(255,255,255,.84); border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: #8a97aa; font-size: 12px; }.breadcrumbs svg { width: 14px; height: 14px; }.breadcrumbs strong { color: var(--ink); font-weight: 700; }
.topbar-actions { display: flex; align-items: center; gap: 15px; }.local-save-status { display: inline-flex; align-items: center; gap: 6px; color: #739486; font-size: 10px; white-space: nowrap; }.save-dot { width: 6px; height: 6px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 3px rgba(113,197,168,.12); }.date-chip { display: flex; align-items: center; gap: 7px; padding: 8px 11px; color: #5f708a; background: #f3f6fa; border: 1px solid #e7ecf3; border-radius: 8px; font-size: 11px; }.online-dot { width: 7px; height: 7px; background: var(--mint); border-radius: 50%; }.date-caret { margin-left: 2px; color: #a3afbf; font-size: 15px; }.icon-button { position: relative; padding: 5px; color: #71829a; background: transparent; }.icon-button i { position: absolute; right: 3px; top: 3px; width: 5px; height: 5px; background: var(--coral); border: 1.5px solid #fff; border-radius: 50%; }.top-avatar { width: 32px; height: 32px; font-size: 12px; }
.topbar { position: relative; }
.notif-panel, .calendar-pop { position: absolute; top: 66px; right: clamp(17px, 4vw, 58px); z-index: 40; width: min(320px, calc(100vw - 34px)); padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(24,53,91,.16); }
.calendar-pop { width: min(300px, calc(100vw - 34px)); }
.notif-heading strong { display: block; margin-top: 4px; color: var(--ink); font-size: 14px; }
.notif-list { display: grid; gap: 8px; margin-top: 12px; }
.notif-item { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; background: #f8fafc; border: 1px solid #edf1f6; border-radius: 9px; }
.notif-item .notif-ico { flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; font-size: 14px; }
.notif-item strong { display: block; color: #4c607c; font-size: 12px; }
.notif-item p { margin: 3px 0 0; color: #8b98a8; font-size: 11px; line-height: 1.55; }
.notif-item.is-live .notif-ico { color: var(--mint); background: var(--mint-soft); }
.notif-item.is-backup .notif-ico { color: var(--amber); background: var(--amber-soft); }
.notif-item.is-empty .notif-ico { color: #8190a2; background: #f1f4f7; }
.notif-item.is-empty { background: #fff; border-style: dashed; }
.calendar-head { display: flex; align-items: center; justify-content: space-between; }
.calendar-head strong { color: var(--ink); font-size: 13px; }
.cal-nav { width: 26px; height: 26px; display: grid; place-items: center; padding: 0; color: #6d7f99; background: #f3f6fa; border: 1px solid #e7ecf3; border-radius: 7px; font-size: 15px; line-height: 1; }
.cal-nav:hover { background: var(--blue-soft); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin-top: 12px; }
.cal-grid .cal-dow { color: #9aa7b5; font-size: 9px; text-align: center; padding: 4px 0; }
.cal-grid button { position: relative; min-height: 32px; padding: 2px; color: #5f708a; background: #f8fafc; border: 1px solid transparent; border-radius: 7px; font-size: 11px; }
.cal-grid button:disabled { color: #c3ccd7; background: transparent; }
.cal-grid button.is-other { color: #b7c1cd; }
.cal-grid button.is-today { border-color: #9fb8dc; color: #44608a; font-weight: 700; }
.cal-grid button.has-records { background: var(--blue-soft); }
.cal-grid button small { display: block; margin-top: 1px; color: #7d94b6; font-size: 8px; line-height: 1; }
.cal-hint { margin: 10px 0 0; color: #a0aaba; font-size: 9px; text-align: center; }
.content-wrap { max-width: 1450px; margin: 0 auto; padding: 31px clamp(25px, 4vw, 58px) 50px; }
.welcome-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }.eyebrow, .panel-overline { margin: 0 0 7px; color: #8492a7; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }.welcome-row h1 { margin: 0; letter-spacing: -.045em; font-size: clamp(24px, 3vw, 32px); line-height: 1.1; }.welcome-row h1 span { display: inline-block; margin-left: 4px; font-size: 23px; transform: translateY(-2px); }.welcome-copy { margin: 9px 0 0; color: var(--muted); font-size: 13px; }.outline-button { display: flex; align-items: center; gap: 7px; padding: 9px 13px; color: var(--ink-soft); background: transparent; border: 1px solid #cfd9e6; border-radius: 8px; font-size: 12px; }.outline-button:hover { background: #fff; border-color: #aabbd0; }.outline-button svg { width: 15px; }
.hero-card { position: relative; min-height: 182px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; padding: 27px 35px; color: #fff; background: linear-gradient(112deg, #152d50 0%, #1a3a66 62%, #255889 100%); border-radius: 17px; box-shadow: 0 16px 32px rgba(24,53,91,.16); }.hero-card::before { content: ""; position: absolute; width: 520px; height: 520px; right: -170px; top: -275px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; box-shadow: 0 0 0 37px rgba(255,255,255,.025), 0 0 0 75px rgba(255,255,255,.02); }.hero-main { position: relative; z-index: 1; }.hero-kicker { display: flex; align-items: center; gap: 13px; margin-bottom: 15px; }.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 8px; color: #a9edcf; background: rgba(104,210,177,.12); border: 1px solid rgba(121,226,190,.2); border-radius: 20px; font-size: 10px; }.pulse { width: 6px; height: 6px; background: #71d9b3; border-radius: 50%; box-shadow: 0 0 0 4px rgba(113,217,179,.12); }.hero-date { color: #8ea8ca; font-size: 10px; letter-spacing: .1em; }.hero-card h2 { margin: 0; font-size: 28px; letter-spacing: -.04em; }.hero-card h2 span { color: #f1bd65; }.hero-card p { margin: 8px 0 19px; color: #b1c5df; font-size: 12px; }.hero-links { display: flex; gap: 21px; }.hero-links button { display: flex; align-items: center; gap: 7px; padding: 0; color: #f9fbff; background: transparent; font-size: 11px; }.hero-links button + button { color: #f1bf6b; }.hero-links svg { width: 14px; height: 14px; }.hero-orbit { position: relative; width: 210px; height: 150px; margin-right: 25px; }.orbit-ring { position: absolute; left: 29px; top: 0; width: 150px; height: 150px; border: 1px solid rgba(157,206,245,.26); border-radius: 50%; }.ring-two { transform: rotate(60deg) scaleX(.45); border-color: rgba(241,191,107,.5); }.orbit-core { position: absolute; left: 73px; top: 42px; width: 64px; height: 64px; display: grid; place-items: center; color: #17345b; background: #f4c76e; border-radius: 50%; box-shadow: 0 0 0 8px rgba(244,199,110,.09), 0 8px 20px rgba(7,24,50,.22); font-size: 17px; font-weight: 800; line-height: 1.05; text-align: center; }.orbit-core small { display: block; margin-top: -17px; color: #87652a; font-size: 7px; font-weight: 500; }.orbit-star { position: absolute; color: #f8d58c; font-size: 15px; }.star-one { left: 8px; top: 40px; }.star-two { right: 6px; bottom: 22px; color: #86cbd0; font-size: 11px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }.stat-card { position: relative; display: flex; align-items: center; gap: 11px; min-width: 0; padding: 17px 17px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 5px 16px rgba(38,62,92,.025); }.stat-icon { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; }.stat-icon svg { width: 16px; }.stat-blue .stat-icon { color: var(--blue); background: var(--blue-soft); }.stat-purple .stat-icon { color: var(--purple); background: var(--purple-soft); }.stat-coral .stat-icon { color: var(--coral); background: var(--coral-soft); }.stat-amber .stat-icon { color: var(--amber); background: var(--amber-soft); }.stat-card div:nth-child(2) { min-width: 0; }.stat-card span, .stat-card strong, .stat-card small { display: block; }.stat-card div:nth-child(2) > span { color: #8290a4; font-size: 10px; }.stat-card strong { margin-top: 5px; color: var(--ink); font-size: 17px; letter-spacing: -.025em; white-space: nowrap; }.stat-card strong small { display: inline; color: #8090a4; font-size: 11px; font-weight: 500; }.stat-card div:nth-child(2) > small { margin-top: 4px; overflow: hidden; color: #8b98aa; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.trend { margin-left: auto; align-self: flex-start; font-size: 13px; }.trend.up { color: var(--mint); }.trend.neutral { color: #b3bfce; }.trend.stable { color: var(--mint); font-size: 9px; }.temperature-dot { width: 10px; height: 10px; border: 2px solid #edb14c; border-radius: 50%; box-shadow: 0 0 0 4px #fff4d5; }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(345px, .92fr); gap: 16px; }.left-column, .right-column { display: grid; gap: 16px; align-content: start; }.panel { background: var(--card); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); }.quick-panel, .timeline-panel, .assistant-panel, .tasks-panel { padding: 21px 22px; }.panel-heading, .assistant-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }.panel-heading h3, .assistant-heading h3 { margin: 0; color: var(--ink); font-size: 16px; letter-spacing: -.025em; }.panel-overline { margin-bottom: 6px; }.hotkey { padding: 4px 7px; color: #9aa6b7; background: #f5f7fa; border: 1px solid #e8edf3; border-radius: 5px; font-size: 9px; }.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 17px; }.quick-action { position: relative; display: flex; min-height: 109px; flex-direction: column; align-items: flex-start; padding: 12px 11px; text-align: left; background: #fafbfd; border: 1px solid #edf0f4; border-radius: 10px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }.quick-action:hover { border-color: #cad7e8; box-shadow: 0 7px 18px rgba(50,83,121,.09); transform: translateY(-2px); }.quick-icon { width: 27px; height: 27px; display: grid; place-items: center; margin-bottom: 10px; border-radius: 8px; }.quick-icon svg { width: 15px; height: 15px; }.feed-action .quick-icon { color: var(--blue); background: var(--blue-soft); }.sleep-action .quick-icon { color: var(--purple); background: var(--purple-soft); }.diaper-action .quick-icon { color: var(--coral); background: var(--coral-soft); }.note-action .quick-icon { color: var(--amber); background: var(--amber-soft); }.quick-action strong { color: var(--ink-soft); font-size: 12px; }.quick-action small { margin-top: 4px; color: #929dad; font-size: 9px; }.quick-plus { position: absolute; right: 11px; top: 14px; color: #c1cad6; font-size: 17px; font-weight: 300; }
.text-button { display: flex; align-items: center; gap: 5px; padding: 2px 0; color: #6083af; background: transparent; font-size: 11px; }.text-button:hover { color: var(--ink); }.text-button svg { width: 13px; height: 13px; }.day-tabs { display: flex; gap: 21px; margin: 20px 0 3px; border-bottom: 1px solid #edf0f4; }.day-tab { position: relative; display: flex; gap: 5px; padding: 0 0 9px; color: #99a5b6; background: transparent; font-size: 11px; }.day-tab small { color: #bcc4cf; font-size: 9px; }.day-tab.is-active { color: var(--ink); font-weight: 700; }.day-tab.is-active::after { content: ""; position: absolute; height: 2px; right: 0; bottom: -1px; left: 0; background: var(--coral); border-radius: 3px; }.timeline { padding-top: 5px; }.timeline-row { display: grid; grid-template-columns: 38px 18px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 53px; }.timeline-row time { color: #8d9aae; font-size: 10px; }.timeline-line { position: relative; height: 100%; display: grid; place-items: center; }.timeline-line::before { content: ""; position: absolute; width: 1px; top: 0; bottom: 0; background: #e8edf3; }.timeline-row:first-child .timeline-line::before { top: 50%; }.timeline-row:last-child .timeline-line::before { bottom: 50%; }.tl-dot { position: relative; z-index: 1; width: 7px; height: 7px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px currentColor; }.timeline-content { min-width: 0; }.timeline-content strong, .timeline-content span { display: block; }.timeline-content strong { color: var(--ink-soft); font-size: 12px; }.timeline-content span { margin-top: 3px; overflow: hidden; color: #919dad; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.timeline-tag { padding: 4px 7px; border-radius: 5px; font-size: 9px; }.tag-coral { color: #d35e56; background: var(--coral-soft); }.tag-blue { color: #5a81b8; background: var(--blue-soft); }.tag-amber { color: #b47a1d; background: var(--amber-soft); }.tag-mint { color: #3c947d; background: var(--mint-soft); }
.assistant-panel { position: relative; overflow: hidden; background: linear-gradient(145deg, #fff 0%, #fbfbff 100%); }.assistant-panel::after { content: ""; position: absolute; width: 150px; height: 150px; right: -80px; top: -77px; border: 1px solid #e8e2fb; border-radius: 50%; box-shadow: 0 0 0 17px #faf9ff, 0 0 0 34px #f7f5fd; pointer-events: none; }.assistant-heading { position: relative; z-index: 1; justify-content: flex-start; align-items: center; }.assistant-heading h3 { font-size: 14px; }.assistant-avatar { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto; color: #7964c5; background: var(--purple-soft); border-radius: 11px; }.assistant-avatar svg { width: 18px; }.ai-badge { margin-left: auto; padding: 4px 5px; color: #8b79c6; background: #f1edfd; border-radius: 5px; font-size: 9px; font-weight: 700; }.assistant-intro { margin: 14px 0 13px 45px; color: #7e8ca0; font-size: 11px; line-height: 1.6; }.assistant-suggestions { display: grid; gap: 7px; margin-left: 45px; }.assistant-suggestions button { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; color: #506582; background: #fff; border: 1px solid #e9eaf1; border-radius: 7px; font-size: 11px; text-align: left; }.assistant-suggestions button:hover { color: var(--ink); border-color: #c8bdf0; }.assistant-suggestions svg { width: 13px; height: 13px; color: #ae9bdd; }.assistant-response { margin: 16px 0 12px 45px; padding: 11px; background: #f8f7fd; border: 1px solid #ece8f8; border-radius: 8px; }.response-label { display: flex; align-items: center; gap: 6px; color: #9184ba; font-size: 10px; }.response-dot { width: 5px; height: 5px; background: #71c5a8; border-radius: 50%; }.assistant-response p { margin: 6px 0 0; color: #68778d; font-size: 11px; line-height: 1.5; }.assistant-input { display: flex; align-items: center; gap: 7px; margin-left: 45px; padding: 5px 5px 5px 11px; background: #fff; border: 1px solid #dfe3ed; border-radius: 8px; }.assistant-input:focus-within { border-color: #a696df; box-shadow: 0 0 0 3px rgba(135,116,199,.1); }.assistant-input input { min-width: 0; flex: 1; padding: 4px 0; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 11px; }.assistant-input input::placeholder { color: #aeb8c7; }.assistant-input button { width: 26px; height: 26px; display: grid; place-items: center; color: #fff; background: #8876c9; border-radius: 6px; }.assistant-input button svg { width: 14px; }
.add-button { width: 25px; height: 25px; display: grid; place-items: center; color: #7893b5; background: #f3f6fa; border-radius: 6px; }.add-button svg { width: 14px; }.task-progress { margin: 17px 0 8px; }.task-progress > div:first-child { display: flex; justify-content: space-between; color: #8e9aac; font-size: 10px; }.task-progress strong { color: #617b9e; font-size: 10px; }.progress-track { height: 5px; margin-top: 8px; overflow: hidden; background: #edf1f5; border-radius: 6px; }.progress-track span { display: block; height: 100%; background: linear-gradient(90deg, #f18577, #f2b252); border-radius: inherit; transition: width .3s ease; }.task-list { border-top: 1px solid #edf0f4; }.task-row { position: relative; display: flex; align-items: center; gap: 8px; min-height: 47px; border-bottom: 1px solid #f0f2f5; cursor: pointer; }.task-row input { position: absolute; opacity: 0; pointer-events: none; }.fake-check { width: 15px; height: 15px; display: grid; place-items: center; flex: 0 0 auto; color: transparent; border: 1px solid #cbd5e2; border-radius: 50%; }.fake-check svg { width: 10px; height: 10px; stroke-width: 2.3; }.task-row:hover .fake-check { border-color: #f19a85; }.task-row.is-done .fake-check { color: #fff; background: var(--coral); border-color: var(--coral); }.task-copy { min-width: 0; flex: 1; }.task-copy strong, .task-copy small { display: block; }.task-copy strong { overflow: hidden; color: #4e6079; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }.task-copy small { margin-top: 3px; color: #9ba6b4; font-size: 9px; }.task-row.is-done .task-copy strong { color: #98a2b0; text-decoration: line-through; }.task-meta { padding: 3px 6px; color: #a0acbb; background: #f6f8fa; border-radius: 4px; font-size: 9px; }
.bottom-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }.strip-block { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 13px 15px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }.strip-icon { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; font-size: 17px; }.icon-mint { color: var(--mint); background: var(--mint-soft); }.icon-amber { color: var(--amber); background: var(--amber-soft); }.strip-block > div { min-width: 0; flex: 1; }.strip-block span, .strip-block strong { display: block; }.strip-block div span { color: #8d9bae; font-size: 10px; }.strip-block strong { margin-top: 4px; overflow: hidden; color: #4c607c; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.strip-block .text-button { flex: 0 0 auto; }.safety-note { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 19px 0 0; color: #a0aaba; font-size: 10px; }.safety-note > span { color: #92a3b9; }.local-reset-button { padding: 0; color: #8d9bad; background: transparent; border: 0; font: inherit; text-decoration: underline; text-underline-offset: 2px; }.local-reset-button:hover { color: var(--coral); }

.modal-backdrop { position: fixed; z-index: 10; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(16,35,63,.38); backdrop-filter: blur(4px); }.modal-backdrop[hidden] { display: none; }.modal { position: relative; width: min(470px, 100%); padding: 28px; background: #fff; border-radius: 16px; box-shadow: 0 22px 65px rgba(15,35,63,.22); }.modal-close { position: absolute; top: 17px; right: 17px; display: grid; place-items: center; padding: 5px; color: #8a98aa; background: transparent; }.modal-close svg { width: 16px; }.modal h2 { margin: 0; color: var(--ink); font-size: 22px; letter-spacing: -.035em; }.modal-subtitle { margin: 7px 0 22px; color: #8b98a9; font-size: 12px; }.field-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: 11px; }.field-row label { display: grid; gap: 7px; color: #687a93; font-size: 11px; }.field-row input { width: 100%; padding: 10px; color: var(--ink); background: #fafbfd; border: 1px solid #e1e7ef; border-radius: 7px; outline: 0; font-size: 12px; }.field-row input:focus { border-color: #9fb8dc; box-shadow: 0 0 0 3px rgba(71,120,189,.1); }.choice-row { display: flex; gap: 7px; margin: 14px 0 20px; }.choice { padding: 6px 10px; color: #8e9bad; background: #f3f6fa; border: 1px solid transparent; border-radius: 6px; font-size: 10px; }.choice.is-selected { color: #5d7ca5; background: var(--blue-soft); border-color: #cfe0f5; }.primary-button { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; padding: 11px; color: #fff; background: var(--ink); border-radius: 8px; font-size: 12px; }.primary-button:hover { background: #1b3c67; }.primary-button svg { width: 15px; }.toast { position: fixed; z-index: 20; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 9px; padding: 10px 13px; color: #fff; background: #143154; border-radius: 9px; box-shadow: 0 10px 25px rgba(13,34,61,.22); opacity: 0; pointer-events: none; transform: translateY(8px); transition: .25s ease; font-size: 12px; }.toast.is-visible { opacity: 1; transform: translateY(0); }.toast-check { width: 18px; height: 18px; display: grid; place-items: center; color: #17395e; background: #75d1ae; border-radius: 50%; }.toast-check svg { width: 11px; height: 11px; stroke-width: 2.5; }

@media (max-width: 1120px) { .app-shell { grid-template-columns: 214px minmax(0, 1fr); }.stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.workspace-grid { grid-template-columns: 1fr; }.right-column { grid-template-columns: 1fr 1fr; }.quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 780px) { .app-shell { display: block; }.sidebar { position: fixed; z-index: 5; left: 0; right: 0; bottom: 0; top: auto; height: 67px; display: block; padding: 0 10px; border-top: 1px solid rgba(255,255,255,.1); }.sidebar::after, .brand, .workspace-switcher, .nav-label, .shortcut-list, .sidebar-bottom { display: none; }.primary-nav { height: 100%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }.nav-item { height: 100%; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 4px 2px; text-align: center; border-radius: 7px; font-size: 9px; }.nav-item.is-active { box-shadow: inset 0 3px #fb796e; }.nav-item svg { width: 16px; height: 16px; }.nav-item em { display: none; }.topbar { height: 62px; padding: 0 17px; }.breadcrumbs > span, .breadcrumbs > svg { display: none; }.topbar-actions { gap: 8px; }.local-save-status { display: none; }.date-chip { padding: 7px 8px; font-size: 10px; }.content-wrap { padding: 24px 17px 93px; }.welcome-row { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 18px; }.welcome-row h1 { font-size: 25px; }.outline-button { align-self: stretch; justify-content: center; }.hero-card { min-height: 205px; padding: 23px; }.hero-orbit { position: absolute; opacity: .55; right: -31px; bottom: -14px; transform: scale(.78); }.hero-card p { max-width: 245px; line-height: 1.5; }.stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }.stat-card { padding: 13px 12px; }.stat-card strong { font-size: 15px; }.right-column { grid-template-columns: 1fr; }.quick-panel, .timeline-panel, .assistant-panel, .tasks-panel { padding: 18px 15px; }.quick-grid { gap: 7px; }.quick-action { min-height: 105px; padding: 10px 8px; }.quick-action small { font-size: 8px; }.bottom-strip { grid-template-columns: 1fr; gap: 8px; } }
@media (max-width: 430px) { .topbar-actions .date-chip { max-width: 137px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }.hero-card h2 { font-size: 25px; }.stats-grid { grid-template-columns: 1fr; }.quick-grid { grid-template-columns: repeat(2, 1fr); }.day-tabs { gap: 15px; }.day-tab { font-size: 10px; }.timeline-row { grid-template-columns: 35px 15px minmax(0, 1fr) auto; gap: 6px; }.timeline-tag { display: none; }.field-row { grid-template-columns: 1fr; } }

.section-view { max-width: 1120px; margin: 0 auto; padding: 38px clamp(20px, 4vw, 58px) 88px; }.section-view[hidden] { display: none; }.view-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 25px; }.view-intro h1 { margin: 0; color: var(--ink); font-size: clamp(25px, 3vw, 35px); letter-spacing: -.045em; }.view-intro p:not(.eyebrow) { max-width: 590px; margin: 9px 0 0; color: #8290a3; font-size: 13px; line-height: 1.65; }.view-intro .outline-button, .view-intro .primary-button { flex: 0 0 auto; }.view-intro-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }.local-only-pill, .coming-badge, .setting-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; color: #739486; background: #eef8f3; border: 1px solid #d9eee5; border-radius: 7px; font-size: 10px; white-space: nowrap; }.view-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow); }.toolbar-title { display: flex; align-items: center; gap: 11px; }.toolbar-title .panel-overline { margin: 0; }.toolbar-title strong { color: var(--ink-soft); font-size: 13px; }.select-field { display: flex; align-items: center; gap: 9px; color: #8997a8; font-size: 11px; }.select-field select { padding: 7px 27px 7px 9px; color: #60738e; background: #f8fafc; border: 1px solid #e3e9f0; border-radius: 7px; outline: 0; font: inherit; }.records-list { display: grid; gap: 8px; }.record-card { display: grid; grid-template-columns: 66px 12px minmax(0, 1fr) auto; align-items: center; gap: 13px; min-height: 78px; padding: 14px 17px; background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow); }.record-card time { color: #8c9aac; font-size: 12px; }.record-dot { width: 9px; height: 9px; border-radius: 50%; }.record-main strong, .record-main span { display: block; }.record-main strong { color: var(--ink-soft); font-size: 13px; }.record-main span { margin-top: 5px; color: #8d9aaa; font-size: 11px; }.record-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }.record-card .timeline-tag { justify-self: end; }.record-delete { width: 24px; height: 24px; display: grid; place-items: center; padding: 0; color: #a5afbd; background: transparent; border: 1px solid transparent; border-radius: 6px; font-size: 18px; line-height: 1; }.record-delete:hover { color: #d26b60; background: var(--coral-soft); border-color: #f0d4d0; }.empty-state { padding: 35px 20px; color: #96a3b3; background: #fff; border: 1px dashed #dce3eb; border-radius: 11px; text-align: center; font-size: 12px; }.compact-button { width: auto; min-width: 116px; padding: 10px 14px; }.task-overview-card { margin-bottom: 12px; padding: 17px 18px; background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow); }.task-overview-card > div:first-child { display: flex; justify-content: space-between; color: #8997a8; font-size: 11px; }.task-overview-card strong { color: #617b9e; }.task-overview-card .progress-track { margin-top: 10px; }.full-task-list { display: grid; gap: 8px; }.full-task-list .task-row { min-height: 66px; padding: 0 17px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }.library-toolbar { display: grid; gap: 13px; margin-bottom: 16px; padding: 15px; background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow); }.library-search { display: flex; align-items: center; gap: 9px; padding: 9px 11px; color: #9aa7b5; background: #f8fafc; border: 1px solid #e3e9f0; border-radius: 8px; }.library-search svg { width: 16px; flex: 0 0 auto; }.library-search input { min-width: 0; flex: 1; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 12px; }.library-filters { display: flex; flex-wrap: wrap; gap: 7px; }.library-filter { padding: 7px 11px; color: #8190a2; background: #f4f7fa; border: 1px solid transparent; border-radius: 7px; font-size: 11px; }.library-filter:hover, .library-filter.is-active { color: #5e789c; background: var(--blue-soft); border-color: #d5e2f2; }.library-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }.library-card { display: flex; min-height: 224px; flex-direction: column; padding: 17px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }.library-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.library-card-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; font-size: 15px; }.library-card-category { color: #8d9aaa; font-size: 10px; }.library-card h3 { margin: 16px 0 8px; color: var(--ink); font-size: 15px; letter-spacing: -.025em; }.library-card > p { margin: 0; color: #8795a5; font-size: 11px; line-height: 1.7; }.library-card details { margin-top: auto; padding-top: 12px; border-top: 1px solid #edf0f4; }.library-card summary { color: #6882a3; cursor: pointer; font-size: 11px; }.library-card details p { margin: 10px 0 0; color: #718095; font-size: 11px; line-height: 1.7; }.favorite-button { padding: 4px; color: #b4bfcb; background: transparent; font-size: 16px; }.favorite-button.is-favorite { color: #efae4d; }.family-grid, .settings-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 14px; }.family-status-card, .member-panel, .setting-card { padding: 21px; }.family-status-card .assistant-avatar { margin-bottom: 14px; }.family-status-card h3, .member-panel h3, .setting-card h3 { margin: 0; color: var(--ink); font-size: 17px; }.family-status-card > p:not(.panel-overline), .setting-card p:not(.panel-overline) { color: #8391a2; font-size: 12px; line-height: 1.7; }.family-steps { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 21px; color: #8f9cac; font-size: 10px; }.family-steps span { width: 22px; height: 22px; display: grid; place-items: center; color: #8b9aaa; background: #f1f4f7; border-radius: 50%; }.family-steps span.is-done { color: #fff; background: var(--mint); }.family-steps i { width: 26px; height: 1px; background: #dde4eb; }.member-panel .panel-heading { margin-bottom: 11px; }.member-row { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-top: 1px solid #edf0f4; }.member-avatar { width: 30px; height: 30px; display: grid; place-items: center; color: #fff; background: #ec897c; border-radius: 9px; font-size: 11px; }.avatar-blue { background: #7f9fcb; }.avatar-mint { background: #75bda9; }.member-row > div { min-width: 0; flex: 1; }.member-row strong, .member-row small { display: block; }.member-row strong { color: #576b85; font-size: 12px; }.member-row small { margin-top: 3px; color: #9aa6b4; font-size: 10px; }.member-state { color: #a0acb9; font-size: 10px; }.state-active { color: #5eae91; }.member-muted { opacity: .72; }.settings-grid { grid-template-columns: 1fr; }.setting-card { display: flex; align-items: center; gap: 14px; }.setting-card > div { min-width: 0; flex: 1; }.setting-card p:not(.panel-overline) { margin: 6px 0 0; }.setting-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; font-size: 16px; font-weight: 700; }.icon-blue { color: var(--blue); background: var(--blue-soft); }.setting-danger .setting-icon { color: var(--coral); background: var(--coral-soft); }.small-button { width: auto; padding: 8px 11px; white-space: nowrap; }.danger-button { color: #d26b60; background: #fff; border-color: #f0d4d0; }.danger-button:hover { background: var(--coral-soft); }

.setting-card.setting-profile { align-items: flex-start; }
.setting-icon.icon-amber { color: var(--amber); background: var(--amber-soft); }
.profile-fields { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 13px; }
.profile-fields label { display: grid; gap: 6px; flex: 1 1 150px; color: #687a93; font-size: 11px; }
.profile-fields input, .profile-fields select { width: 100%; padding: 9px 10px; color: var(--ink); background: #fafbfd; border: 1px solid #e1e7ef; border-radius: 7px; outline: 0; font: inherit; font-size: 12px; }
.profile-fields input:focus, .profile-fields select:focus { border-color: #9fb8dc; box-shadow: 0 0 0 3px rgba(71,120,189,.1); }
.setting-profile .small-button { margin-top: 13px; }
.setting-buttons { display: flex; flex-direction: column; gap: 8px; flex: 0 0 auto; }
.yesterday-toggle { display: inline-flex; align-items: center; gap: 7px; margin: 4px 0 12px; color: #687a93; font-size: 11px; cursor: pointer; }
.yesterday-toggle input { width: 14px; height: 14px; accent-color: #4778bd; }

@media (max-width: 780px) { .section-view { padding: 25px 17px 94px; }.view-intro { align-items: flex-start; flex-direction: column; gap: 15px; }.view-intro h1 { font-size: 26px; }.view-intro .outline-button, .view-intro .primary-button { width: 100%; justify-content: center; }.view-toolbar { align-items: flex-start; flex-direction: column; }.select-field { width: 100%; justify-content: space-between; }.select-field select { flex: 1; }.record-card { grid-template-columns: 47px 10px minmax(0, 1fr); gap: 9px; padding: 13px; }.record-card .timeline-tag { grid-column: 3; justify-self: start; margin-top: 4px; }.library-grid { grid-template-columns: 1fr; }.library-card { min-height: 190px; }.family-grid { grid-template-columns: 1fr; }.setting-card { align-items: flex-start; flex-wrap: wrap; }.setting-card .small-button { margin-left: 48px; }.setting-badge { margin-left: 48px; } }
.icon-purple { color: var(--purple); background: var(--purple-soft); }.record-dot.dot-coral { background: var(--coral); }.record-dot.dot-blue { background: var(--blue); }.record-dot.dot-amber { background: var(--amber); }.record-dot.dot-mint { background: var(--mint); }.library-card-top > div { display: flex; align-items: center; gap: 7px; }.library-card-category { display: inline-block; }

@media (max-width: 780px) {
  .view-intro-actions { width: 100%; justify-content: flex-start; }
  .view-intro-actions .outline-button { width: auto; }
  .record-actions { grid-column: 3; justify-content: flex-start; margin-top: 4px; }
}

.babybuddy-connection-card { align-items: flex-start; }
.babybuddy-connector { min-width: 0; flex: 1; }
.babybuddy-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.babybuddy-fields label { display: grid; gap: 6px; color: #687a93; font-size: 11px; }
.babybuddy-fields input, .babybuddy-actions select { min-width: 0; padding: 9px 10px; color: var(--ink); background: #f8fafc; border: 1px solid #e3e9f0; border-radius: 7px; outline: 0; font: inherit; }
.babybuddy-fields input:focus, .babybuddy-actions select:focus { border-color: #a9c5e5; box-shadow: 0 0 0 3px rgba(126, 163, 205, .12); }
.babybuddy-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.babybuddy-actions [hidden] { display: none !important; }
.babybuddy-actions select { max-width: 280px; }
.babybuddy-status { color: #8997a8; font-size: 11px; line-height: 1.5; }
.babybuddy-status.is-success { color: #4e9b7c; }
.babybuddy-status.is-error { color: #c76f67; }
.babybuddy-security-note { margin: 11px 0 0; color: #9aa6b4 !important; font-size: 10px !important; line-height: 1.6 !important; }
.timeline-source { display: block; margin-top: 3px; color: #9ab5ad; font-size: 9px; }.record-source { display: block; margin-top: 3px; color: #7eaa9b !important; font-size: 9px !important; }.babybuddy-last-sync { color: #9aa6b4; font-size: 10px; }
@media (max-width: 780px) { .babybuddy-fields { grid-template-columns: 1fr; } .babybuddy-actions { align-items: flex-start; flex-direction: column; } .babybuddy-actions select, .babybuddy-actions .small-button { width: 100%; } }
