:root {
  color-scheme: light;
  --ink: #26352e;
  --muted: #718078;
  --line: #e3e9e4;
  --canvas: #e8f2ec;
  --green: #287d64;
  --green-deep: #287d64;
  --green-soft: #e8f3ec;
  --coral: #ed765f;
  --yellow: #f3c556;
  --blue: #6595d4;
  --purple: #a17ac7;
  --mint: #72b69a;
  --sky: #78a8dc;
  --lilac: #ad88d1;
  --peach: #f1a47a;
  font-family: 'DM Sans', sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }

.auth-screen { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); background: #fff; }
.auth-intro { position: relative; min-height: 100vh; overflow: hidden; display: flex; flex-direction: column; padding: 43px clamp(32px, 7vw, 105px); background-color: #e8f2ec; background-image: linear-gradient(#dce9e1 1px, transparent 1px), linear-gradient(90deg, #dce9e1 1px, transparent 1px); background-size: 42px 42px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 800 19px 'Manrope', sans-serif; text-decoration: none; }
.auth-brand { position: relative; z-index: 1; width: max-content; margin: 0; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; color: var(--green); }
.brand-mark svg { width: 30px; height: 30px; }
.brand-light { color: #63716b; font-weight: 500; }
.auth-intro-copy { position: relative; z-index: 1; max-width: 480px; margin: auto 0; padding: 65px 0 110px; }
.eyebrow { margin: 0 0 10px; color: #9aa59e; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.auth-intro-copy .eyebrow, .auth-form-wrap > .eyebrow { color: var(--green); }
.auth-intro-copy h1 { margin: 0; color: #233b31; font: 800 clamp(34px, 4.2vw, 56px)/1.15 'Manrope', sans-serif; }
.auth-intro-copy h1 span { color: var(--green); }
.auth-intro-copy > p:last-child { max-width: 355px; margin: 20px 0 0; color: #65756c; font-size: 14px; line-height: 1.7; }
.auth-calendar-art { position: absolute; right: 12%; bottom: 18%; width: 245px; height: 150px; display: flex; align-items: center; gap: 20px; padding: 22px; border: 1px solid #e0e9e2; border-radius: 11px; background: #fff; box-shadow: 0 15px 38px #263c3217; transform: rotate(4deg); }
.art-date { width: 55px; height: 68px; flex: 0 0 auto; display: grid; align-content: center; justify-items: center; gap: 4px; border-radius: 7px; background: #e7f4ed; color: var(--green-deep); }
.art-date span { font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.art-date strong { font: 800 25px 'Manrope', sans-serif; }
.art-lines { flex: 1; display: grid; gap: 11px; }
.art-lines i { height: 7px; border-radius: 6px; background: #e8eee9; }
.art-lines i:first-child { width: 82%; background: #a8d1b7; }
.art-lines i:last-child { width: 65%; }
.art-check { position: absolute; top: 15px; right: 17px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: #f7e6b6; color: #9b7728; font-size: 12px; }
.auth-intro-footer { position: absolute; right: 38px; bottom: 26px; left: 38px; display: flex; justify-content: space-between; gap: 12px; color: #829188; font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.auth-panel { display: grid; place-items: center; padding: 40px 30px; background: white; }
.auth-form-wrap { width: min(100%, 370px); }
.auth-form-wrap h2 { margin: 0; color: #293a33; font: 700 25px 'Manrope', sans-serif; }
.auth-subtitle { margin: 8px 0 25px; color: #89958e; font-size: 12px; line-height: 1.5; }
.auth-mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-bottom: 21px; padding: 4px; border-radius: 7px; background: #f1f4f1; }
.auth-mode { min-height: 34px; border: 0; border-radius: 5px; background: transparent; color: #849088; font-size: 11px; font-weight: 600; }
.auth-mode.active { background: #fff; color: var(--green-deep); box-shadow: 0 1px 4px #2f443719; }
.auth-form .field-label { margin-bottom: 15px; font-size: 11px; }
.auth-form .field-label input { min-height: 42px; font-size: 12px; }
.auth-submit { width: 100%; min-height: 42px; display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 0 14px; }
.auth-submit span { font-size: 17px; font-weight: 400; }
.auth-error { min-height: 18px; margin: 12px 0 0; color: #c24e44; font-size: 10px; line-height: 1.5; }
.auth-footnote { margin: 17px 0 0; color: #9ca69f; font-size: 9px; }
.copyright-line { color: #77847c; font-size: 10px; line-height: 1.5; text-align: center; }
.auth-panel { position: relative; }
.auth-panel > .copyright-line { width: min(100%, 520px); margin: 24px auto 0; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; z-index: 4; height: 100vh; display: flex; flex-direction: column; padding: 27px 17px 16px; border-right: 1px solid var(--line); background: #fff; }
.sidebar .brand { margin: 0 5px 29px; }
.create-button { width: 100%; height: 45px; display: flex; align-items: center; gap: 9px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--green); color: white; font-weight: 700; box-shadow: 0 4px 12px #15966b38; transition: .18s; }
.create-button:hover, .primary-button:hover { background: var(--green-deep); transform: translateY(-1px); }
.plus-icon { font-size: 22px; line-height: 1; }
.mini-calendar-wrap { margin-top: 29px; }
.mini-calendar-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 14px; font: 700 13px 'Manrope', sans-serif; }
.mini-controls { display: flex; gap: 2px; }
.icon-button { width: 34px; height: 34px; display: inline-grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: #61716b; font-size: 21px; line-height: 1; }
.icon-button:hover { background: #f0f4f0; color: var(--ink); }
.icon-button.small { width: 25px; height: 25px; font-size: 20px; }
.mini-weekdays, .mini-days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.mini-weekdays { margin-bottom: 5px; color: #a1aaa5; font-size: 9px; font-weight: 700; }
.mini-days { row-gap: 2px; }
.mini-day { width: 27px; height: 27px; justify-self: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #64716c; font-size: 10px; }
.mini-day:hover { background: #edf5ef; }
.mini-day.outside { color: #c3cbc6; }
.mini-day.today { background: var(--green); color: white; font-weight: 700; box-shadow: 0 2px 7px #15966b45; }
.mini-day.selected:not(.today) { outline: 1px solid var(--green); color: var(--green-deep); font-weight: 700; }
.primary-nav { margin-top: 31px; }
.nav-caption { padding-left: 11px; }
.nav-item { width: 100%; min-height: 41px; display: flex; align-items: center; gap: 11px; padding: 0 11px; border: 0; border-radius: 7px; background: transparent; color: #65726c; text-align: left; font-size: 12px; font-weight: 600; }
.nav-item:hover { background: #f6f8f6; color: var(--ink); }
.nav-item.active { background: #e1f3e8; color: var(--green-deep); box-shadow: inset 3px 0 #1a9c6e; }
.nav-icon { width: 18px; display: grid; place-items: center; font-size: 16px; }
.calendar-icon { color: #5e9b82; }.task-icon { color: #e39b51; }.reminder-icon { color: #df8174; }.note-icon { color: #7397ce; }
.nav-count { margin-left: auto; color: #9aa59e; font-size: 10px; }
.sidebar-bottom { margin-top: auto; }
.sidebar-tip { display: flex; gap: 10px; padding: 12px 10px; margin-bottom: 16px; border-radius: 8px; background: #f1f7f2; }
.tip-spark { color: #daa842; font-size: 18px; }
.sidebar-tip strong { font-size: 10px; }
.sidebar-tip p { margin: 4px 0 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.profile { display: flex; align-items: center; gap: 9px; padding-top: 14px; border-top: 1px solid var(--line); }
.avatar { flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #ed9272, #c55e55); color: white; font-weight: 700; }
.avatar-profile { width: 31px; height: 31px; font-size: 12px; }
.profile-copy { display: grid; gap: 2px; min-width: 0; }
.profile-copy strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.profile-copy span { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.profile-actions { display: flex; gap: 2px; margin-left: auto; }
.profile-actions .icon-button { width: 29px; height: 29px; font-size: 16px; }
.main-content { width: 100%; max-width: 1600px; min-width: 0; margin: 0 auto; padding: 0 37px 18px; }
.topbar { min-height: 67px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e9ede9; }
.breadcrumb { display: flex; align-items: center; gap: 9px; color: #9aa49f; font-size: 11px; }.breadcrumb strong { color: #56645e; font-weight: 600; }.crumb-separator { color: #c8d0ca; }
.topbar-actions { display: flex; align-items: center; gap: 16px; }
.live-clock { min-width: 98px; display: grid; gap: 2px; text-align: right; font-variant-numeric: tabular-nums; }
.live-clock time { color: #35564a; font: 700 16px 'Manrope', sans-serif; line-height: 1; }
.live-clock span { color: #849189; font-size: 10px; }
.search-box { width: 222px; height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 9px; border: 1px solid #e9ede9; border-radius: 7px; background: white; color: #8b9791; }
.search-box > span { font-size: 20px; transform: rotate(-20deg); }.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); font-size: 10px; }.search-box input::placeholder { color: #a7b0ab; }.search-box kbd { flex: 0 0 auto; padding: 2px 4px; border: 1px solid #e9ede9; border-radius: 4px; color: #a0aaa4; font-size: 8px; }
.notification-button { position: relative; font-size: 18px; }.notification-button i { position: absolute; top: 7px; right: 7px; width: 6px; height: 6px; border: 1px solid white; border-radius: 50%; background: var(--coral); }
.avatar-top { width: 30px; height: 30px; padding: 0; border: 0; font-size: 11px; cursor: pointer; }
.account-settings-top { flex: 0 0 auto; font-size: 17px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; padding: 27px 0 21px; }
.page-heading .eyebrow { margin-bottom: 6px; color: var(--green); }
.page-heading h1 { margin: 0; font: 700 25px 'Manrope', sans-serif; }
.page-heading h1 span { color: var(--green); }
.heading-subtitle { margin: 6px 0 0; color: #8b9790; font-size: 11px; }
.reminder-banner { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; margin: -5px 0 17px; padding: 15px 18px; border: 1px solid color-mix(in srgb, var(--banner-color, #15966b) 38%, white); border-left: 5px solid var(--banner-color, #15966b); border-radius: 9px; background: color-mix(in srgb, var(--banner-color, #15966b) 17%, white); }
.reminder-banner-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--banner-color, #15966b) 27%, white); color: var(--banner-color, #15966b); font-size: 23px; }
.reminder-banner-copy { min-width: 0; display: grid; gap: 3px; }
.reminder-banner-eyebrow { color: var(--banner-color, #15966b); font-size: 10px; font-weight: 800; letter-spacing: .7px; }
.reminder-banner-copy strong { overflow: hidden; color: #2b3b34; font: 700 16px 'Manrope', sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.reminder-banner-copy > span:last-child { color: #6e7c74; font-size: 12px; }
.reminder-banner-countdown { color: var(--banner-color, #15966b) !important; font-size: 12px !important; font-weight: 700; font-variant-numeric: tabular-nums; }
.reminder-banner-action, .reminder-banner-dismiss { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid transparent; border-radius: 6px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.reminder-banner-action { border-color: color-mix(in srgb, var(--banner-color, #15966b) 34%, white); background: white; color: var(--banner-color, #15966b); }
.reminder-banner-action:hover { background: color-mix(in srgb, var(--banner-color, #15966b) 8%, white); }
.reminder-banner-dismiss { border-color: #c83d45; background: #c83d45; color: white; }
.reminder-banner-dismiss:hover { border-color: #ad3039; background: #ad3039; }
.reminder-banner-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.primary-button, .secondary-button, .danger-button { padding: 10px 14px; border: 0; border-radius: 7px; font-size: 11px; font-weight: 700; transition: .18s; }
.primary-button { background: var(--green); color: white; }
.page-heading .primary-button { height: 37px; display: flex; align-items: center; gap: 7px; }
.page-heading .primary-button span { font-size: 17px; font-weight: 400; }
.secondary-button { background: #f1f4f1; color: #52625a; }.secondary-button:hover { background: #e7ece7; }
.danger-button { background: #fff0ed; color: #d46151; }.danger-button:hover { background: #ffe2dc; }
.calendar-panel { overflow: hidden; border: 1px solid #e5ebe6; border-radius: 9px; background: white; box-shadow: 0 7px 24px #3c654b12; }
.holiday-section { margin: 13px 0 21px; padding: 12px 15px; border: 1px solid #f0d7d7; border-left: 4px solid #b42332; border-radius: 7px; background: #fffafa; }
.holiday-heading { display: flex; align-items: center; gap: 9px; }
.holiday-heading-mark { width: 23px; height: 23px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #b42332; color: #fff; font-size: 13px; font-weight: 800; }
.holiday-heading h2 { margin: 0; color: #7c2932; font: 700 12px 'Manrope', sans-serif; }
.holiday-heading p { margin: 2px 0 0; color: #816c6d; font-size: 10px; }
.holiday-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 0 32px; }
.holiday-list:empty { display: none; }
.holiday-item { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid #f0dada; border-radius: 5px; background: #fff; color: #74343a; font-size: 10px; }
.holiday-item time { color: #b42332; font-weight: 800; white-space: nowrap; }
.holiday-empty { margin: 9px 0 0 32px; color: #857b7b; font-size: 10px; }
.holiday-error { color: #8f5656 !important; }
.calendar-toolbar { min-height: 57px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 17px; }
.calendar-nav-group, .month-controls, .toolbar-right { display: flex; align-items: center; }
.month-controls { gap: 2px; margin-right: 10px; }
.calendar-nav-group h2 { min-width: 140px; margin: 0 15px 0 0; font: 700 14px 'Manrope', sans-serif; }
.today-button { padding: 6px 9px; border: 1px solid #e6ebe6; border-radius: 5px; background: white; color: #68766f; font-size: 9px; font-weight: 600; }
.today-button:hover { background: #f6f8f6; }.toolbar-right { gap: 9px; }
.view-switch { display: flex; padding: 3px; border-radius: 6px; background: #f2f5f2; }
.view-option { min-width: 43px; padding: 5px 9px; border: 0; border-radius: 4px; background: transparent; color: #85918a; font-size: 9px; font-weight: 600; }
.view-option.active { background: white; color: var(--green-deep); box-shadow: 0 1px 3px #21352716; }
.filter-button { border: 1px solid #e7ece7; font-size: 16px; }
.calendar-legend { display: flex; gap: 15px; padding: 0 18px 12px; color: #89958e; font-size: 9px; }
.calendar-legend > span { display: flex; align-items: center; gap: 5px; }.legend-dot { width: 7px; height: 7px; border-radius: 50%; }
.category-legend-item { display: flex; align-items: center; gap: 5px; }
.category-manage-button { margin-left: auto; padding: 2px 0; border: 0; background: transparent; color: var(--green-deep); font-size: 9px; font-weight: 700; }
.category-manage-button:hover { text-decoration: underline; }
.dot-work { background: var(--green); }.dot-personal { background: var(--coral); }.dot-health { background: var(--blue); }.dot-creative { background: var(--yellow); }
.calendar-scroll { overflow-x: auto; }
.calendar-grid { min-width: 690px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; padding: 10px; background: #f3f5f2; }
.day-header { height: 32px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--weekday-color, #52645a); border-radius: 4px; background: var(--weekday-color, #52645a); color: #fff; font-size: 9px; font-weight: 700; }
.day-cell { position: relative; min-width: 0; min-height: 91px; overflow: hidden; padding: 7px 6px 5px; border: 1px solid #e5e9e5; border-radius: 4px; background: #fff; cursor: pointer; transition: background .15s, box-shadow .15s; }
.day-cell:hover { z-index: 1; background: #f8faf8; box-shadow: 0 2px 8px #26363218; }.day-cell.outside-month { background: #fbfcfb; }.day-cell.outside-month .day-number { color: #9da8a1; }.day-cell.is-today { border-color: #60a876; background: #e4f5e9; box-shadow: inset 0 0 0 1px #60a87635; }
.day-number { width: 22px; height: 22px; display: grid; place-items: center; margin: -2px 0 4px; border-radius: 50%; color: #63716b; font-size: 10px; }
.is-today .day-number { background: var(--green); color: white; font-weight: 700; box-shadow: 0 2px 7px #15966b45; }
.day-cell.is-sunday:not(.is-today) .day-number { color: #b42332; font-weight: 700; }
.day-cell.is-holiday .day-number, .day-cell.is-today.is-holiday .day-number { background: #b42332; color: white; font-weight: 800; box-shadow: 0 2px 6px #b4233235; }
.day-cell.is-sunday.is-holiday .day-number { color: #fff; }
.mini-day.sunday:not(.today) { color: #b42332; font-weight: 700; }
.mini-day.holiday, .mini-day.today.holiday { background: #b42332; color: white; font-weight: 800; }
.mini-day.sunday.holiday { color: #fff; }
.mini-day.today.holiday { outline: 2px solid #dba4a7; }
.mini-day.selected.holiday { color: #fff; outline: 2px solid #7f1722; outline-offset: 1px; }
.event-chip { width: 100%; max-width: 100%; display: block; overflow: hidden; margin: 3px 0 0; padding: 4px 5px; border: 0; border-left: 4px solid var(--event-color, #21805a); border-radius: 4px; background: color-mix(in srgb, var(--event-color, #21805a) 23%, white); color: color-mix(in srgb, var(--event-color, #21805a) 78%, #18251f); font-size: 8px; line-height: 1.35; text-align: left; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.more-events { padding: 2px 4px; color: #87948c; font-size: 8px; }
.week-grid .day-cell { min-height: 194px; }.week-grid .day-cell .event-chip { padding: 6px 5px; font-size: 9px; white-space: normal; }
.lower-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(230px, .88fr); gap: 20px; margin-top: 24px; }
.content-section { min-width: 0; scroll-margin-top: 20px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.section-heading .eyebrow { margin-bottom: 4px; }.section-heading h2 { display: flex; align-items: center; gap: 8px; margin: 0; font: 700 15px 'Manrope', sans-serif; }
.section-counter { min-width: 19px; height: 19px; display: inline-grid; place-items: center; border-radius: 50%; background: #e2f3e9; color: var(--green-deep); font: 600 9px 'DM Sans', sans-serif; }
.tasks-section > .section-heading .eyebrow { color: #c48b28; }
.tasks-section .section-counter { background: #fff1cf; color: #aa7417; }
.reminders-section > .section-heading .eyebrow { color: #d16f61; }
.notes-section > .section-heading .eyebrow { color: #8270b5; }
.approvals-section > .section-heading .eyebrow { color: #557db5; }
.text-button { border: 0; background: transparent; color: var(--green); font-size: 10px; font-weight: 700; }.text-button:hover { color: var(--green-deep); }
.task-list, .reminder-list, .notes-list { border-top: 1px solid var(--line); }
.task-item { min-height: 45px; display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-bottom: 1px solid #eef1ee; }
.task-item.priority-high { border-left: 3px solid var(--task-color, #df725e); padding-left: 7px; background: color-mix(in srgb, var(--task-color, #df725e) 9%, white); }
.task-item.priority-normal { border-left: 3px solid var(--task-color, #5788c7); padding-left: 7px; background: color-mix(in srgb, var(--task-color, #5788c7) 9%, white); }
.task-item.priority-low { border-left: 3px solid var(--task-color, #4a9b67); padding-left: 7px; background: color-mix(in srgb, var(--task-color, #4a9b67) 9%, white); }
.task-check { width: 16px; height: 16px; flex: 0 0 auto; margin: 0; appearance: none; border: 1.5px solid #c7d0c9; border-radius: 5px; cursor: pointer; }
.task-check:checked { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 3px white; }
.task-copy { flex: 1; min-width: 0; }.task-copy strong { display: block; overflow: hidden; color: #46544e; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.task-copy span { display: block; margin-top: 3px; color: #9aa59e; font-size: 8px; }.task-item.completed .task-copy strong { color: #a6b0aa; text-decoration: line-through; }
.priority-pill { padding: 3px 6px; border-radius: 4px; background: #fff0e7; color: #cb7850; font-size: 8px; }.priority-pill.normal { background: #eaf1fc; color: #547bb6; }.priority-pill.low { background: #e7f3eb; color: #4d8a68; }
.task-status-pill { flex: 0 0 auto; padding: 4px 6px; border-radius: 4px; background: #fff2d7; color: #9b6c19; font-size: 8px; font-weight: 600; }
.task-status-pill.done { background: #e7f3eb; color: #4d8a68; }
.task-actions { display: flex; flex: 0 0 auto; gap: 3px; }
.task-row-action { width: 26px; height: 26px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 5px; background: #edf4ef; color: var(--green-deep); font-size: 14px; }
.task-row-action:hover { background: #deeee3; }
.task-row-action.task-delete { background: #fff0ed; color: #bd594d; font-size: 17px; }
.task-row-action.task-delete:hover { background: #ffe2dc; }
.quick-task-form { display: flex; align-items: center; gap: 8px; padding: 9px 4px; }.quick-plus { color: #a2ada6; font-size: 17px; }
.quick-task-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 10px; }.quick-task-form input::placeholder { color: #a4aea8; }
.quick-task-form button { padding: 5px 8px; border: 0; border-radius: 5px; background: #fff2d7; color: #9b6c19; font-size: 9px; font-weight: 700; }
.reminder-actions { display: flex; gap: 3px; }.reminder-item { display: flex; align-items: flex-start; gap: 9px; padding: 10px 2px; border-bottom: 1px solid #eef1ee; }
.reminder-item { margin: 4px 0; padding: 10px 8px; border: 0; border-left: 3px solid var(--reminder-color, #d16e5d); border-radius: 6px; background: color-mix(in srgb, var(--reminder-color, #d16e5d) 12%, white); }
.reminder-clock { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; background: color-mix(in srgb, var(--reminder-color, #d16e5d) 23%, white); color: color-mix(in srgb, var(--reminder-color, #d16e5d) 80%, #17231d); font-size: 16px; }
.reminder-copy { min-width: 0; }.reminder-copy strong { display: block; overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.reminder-copy span { display: block; margin-top: 3px; color: #94a098; font-size: 8px; }
.note-card { position: relative; width: 100%; display: block; padding: 10px; border: 0; border-bottom: 1px solid #eef1ee; background: white; text-align: left; }.note-card:hover { filter: saturate(1.08); }
.note-card-open { width: 100%; display: block; padding: 0 18px 0 0; border: 0; background: transparent; color: inherit; text-align: left; }
.note-card-open:focus-visible, .note-card-action:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.note-card-actions { display: flex; justify-content: flex-end; gap: 6px; margin-top: 8px; }
.note-card-action { padding: 4px 8px; border: 0; border-radius: 4px; background: #edf4ef; color: var(--green-deep); font-size: 9px; font-weight: 700; }
.note-card-action.delete { background: #fff0ed; color: #bd594d; }
.note-card.note-tone-0 { background: #fff4d8; }
.note-card.note-tone-1 { background: #e5f3e9; }
.note-card.note-tone-2 { background: #eee7f8; }
.note-card strong { display: block; color: #526159; font-size: 9px; }.note-card p { display: -webkit-box; overflow: hidden; margin: 5px 20px 0 0; color: #8b9790; font-size: 8px; line-height: 1.45; line-clamp: 2; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.note-card time { display: block; margin-top: 5px; color: #b0b9b3; font-size: 8px; }.note-color { position: absolute; top: 11px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.empty-state { padding: 15px 5px; color: #9aa59e; font-size: 9px; text-align: center; }
.page-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 20px; color: #89968f; font-size: 9px; }
.page-footer .copyright-line { flex-basis: 100%; padding-top: 6px; border-top: 1px solid #e8ece8; text-align: left; }
.event-dialog, .note-dialog, .category-dialog, .password-dialog { width: min(460px, calc(100% - 28px)); max-height: min(90vh, 760px); padding: 0; border: 1px solid #e7ece7; border-radius: 12px; color: var(--ink); box-shadow: 0 20px 60px #1c302633; }
.event-dialog::backdrop, .note-dialog::backdrop, .category-dialog::backdrop, .password-dialog::backdrop { background: #26363269; backdrop-filter: blur(3px); }.event-dialog form, .note-dialog form, .password-dialog form { padding: 23px; }
.category-dialog-content { padding: 23px; }
.category-create-form { display: grid; grid-template-columns: minmax(0, 1fr) 105px auto; align-items: end; gap: 9px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.category-create-form .field-label { margin-bottom: 0; }
.category-create-form .field-label input, .category-create-form .field-label select { min-height: 38px; padding: 8px; font-size: 10px; }
.category-create-form .primary-button { min-height: 38px; padding: 0 11px; font-size: 10px; }
.category-manager-list { max-height: 350px; overflow-y: auto; }
.category-manager-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) 115px auto auto; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid #eef1ee; }
.category-manager-swatch { width: 9px; height: 9px; border-radius: 50%; }
.category-manager-name { min-width: 0; padding: 7px 8px; border: 1px solid #e4eae4; border-radius: 5px; color: var(--ink); font-size: 10px; }
.category-manager-color { width: 100%; min-width: 0; padding: 7px 5px; border: 1px solid #e4eae4; border-radius: 5px; background: white; color: #58665f; font-size: 9px; }
.category-row-button { padding: 6px 8px; border: 0; border-radius: 5px; background: #edf4ef; color: var(--green-deep); font-size: 9px; font-weight: 700; }
.category-row-button.delete { background: #fff0ed; color: #bd594d; }
.category-row-button:disabled { cursor: not-allowed; opacity: .45; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }.dialog-heading .eyebrow { margin-bottom: 3px; color: var(--green); }.dialog-heading h2 { margin: 0; font: 700 19px 'Manrope', sans-serif; }
.field-label { display: block; margin: 0 0 13px; color: #59675f; font-size: 10px; font-weight: 700; }
.field-label input, .field-label select, .field-label textarea { width: 100%; display: block; margin-top: 6px; padding: 10px 11px; border: 1px solid #e4eae4; border-radius: 6px; outline: none; background: white; color: var(--ink); font-size: 11px; font-weight: 400; }
.field-label input:focus, .field-label select:focus, .field-label textarea:focus { border-color: #70b49a; box-shadow: 0 0 0 3px #2a967115; }.field-label textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.optional-label { margin-left: 5px; color: #a2aca6; font-size: 9px; font-weight: 400; }
.field-hint { display: block; margin-top: 5px; color: #849189; font-size: 10px; font-weight: 400; }
.password-error { min-height: 18px; margin: 3px 0 0; color: #c24e44; font-size: 11px; }
.dialog-actions { display: flex; align-items: center; gap: 7px; margin-top: 18px; }.dialog-actions .primary-button, .dialog-actions .secondary-button, .dialog-actions .danger-button { padding: 9px 11px; font-size: 10px; }.action-spacer { flex: 1; }
.toast { position: fixed; z-index: 10; bottom: 22px; left: 50%; padding: 10px 15px; border-radius: 7px; background: #263c34; color: white; font-size: 11px; opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: .2s; }.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1450px) { .main-content { padding-right: 54px; padding-left: 54px; }.day-cell { min-height: 110px; } }
@media (max-width: 1050px) { .app-shell { grid-template-columns: 215px minmax(0, 1fr); }.sidebar { padding-right: 13px; padding-left: 13px; }.main-content { padding-right: 23px; padding-left: 23px; }.search-box { width: 190px; }.lower-grid { gap: 16px; } }
@media (max-width: 760px) {
  .auth-screen { min-height: 100vh; grid-template-columns: 1fr; background: #e8f2ec; }.auth-intro { min-height: 235px; padding: 23px 24px 18px; }.auth-intro-copy { margin: 28px 0 0; padding: 0 0 30px; }.auth-intro-copy .eyebrow { margin-bottom: 5px; }.auth-intro-copy h1 { font-size: 27px; }.auth-intro-copy > p:last-child { max-width: 300px; margin-top: 8px; font-size: 10px; }
  .auth-calendar-art { right: 22px; bottom: 15px; width: 100px; height: 68px; gap: 7px; padding: 8px; opacity: .86; transform: rotate(5deg) scale(.8); transform-origin: right bottom; }.art-date { width: 33px; height: 44px; }.art-date span { font-size: 6px; }.art-date strong { font-size: 17px; }.art-lines { gap: 6px; }.art-lines i { height: 4px; }.art-check { top: 4px; right: 5px; width: 15px; height: 15px; font-size: 9px; }.auth-intro-footer { display: none; }
  .auth-panel { min-height: calc(100vh - 235px); align-items: start; padding: 30px 23px 24px; border-radius: 15px 15px 0 0; }.auth-form-wrap { max-width: 420px; }.auth-form-wrap h2 { font-size: 22px; }.auth-panel > .copyright-line { margin-top: 5px; font-size: 9px; }
  .app-shell { display: block; padding-bottom: 60px; }.sidebar { position: fixed; inset: auto 0 0; width: 100%; height: 57px; display: block; padding: 5px 8px calc(5px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); border-right: 0; background: white; }.sidebar .brand, .create-button, .mini-calendar-wrap, .nav-caption, .sidebar-bottom { display: none; }
  .primary-nav { height: 100%; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }.primary-nav.admin-mode { grid-template-columns: repeat(5, 1fr); }.nav-item { min-height: 45px; flex-direction: column; justify-content: center; gap: 1px; padding: 4px 1px; border-radius: 6px; font-size: 8px; }.nav-icon { width: auto; height: 19px; font-size: 15px; }.nav-count { display: none; }
  .main-content { padding: 0 14px 14px; }.topbar { min-height: 56px; }.breadcrumb { font-size: 10px; }.breadcrumb > span:first-child, .breadcrumb .crumb-separator { display: none; }.topbar-actions { gap: 4px; }.live-clock { min-width: 54px; }.live-clock time { font-size: 12px; }.live-clock span { font-size: 8px; }.search-box { width: min(24vw, 100px); height: 32px; padding: 0 6px; }.search-box kbd { display: none; }.notification-button { width: 28px; }.account-settings-top { width: 28px; }.avatar-top { width: 26px; height: 26px; }
  .page-heading { padding: 22px 0 16px; }.page-heading h1 { font-size: 22px; }.heading-subtitle { font-size: 10px; }.page-heading .primary-button { height: 34px; padding: 0 10px; font-size: 9px; }
  .holiday-section { margin: 10px 0 15px; padding: 10px; }.holiday-list { gap: 5px; margin-left: 0; }.holiday-empty { margin-left: 0; }.holiday-item { font-size: 9px; }
  .reminder-banner { grid-template-columns: 38px minmax(0, 1fr); gap: 10px; margin: 0 0 13px; padding: 12px; }.reminder-banner-icon { width: 36px; height: 36px; font-size: 19px; }.reminder-banner-copy strong { font-size: 14px; }.reminder-banner-copy > span:last-child { font-size: 11px; }.reminder-banner-actions { grid-column: 2; justify-content: flex-start; gap: 6px; }.reminder-banner-action, .reminder-banner-dismiss { min-height: 34px; padding: 0 10px; font-size: 10px; }
  .calendar-toolbar { min-height: 52px; padding: 0 10px; }.month-controls { margin-right: 5px; }.month-controls .icon-button { width: 28px; }.calendar-nav-group h2 { min-width: 0; margin-right: 8px; font-size: 12px; }.today-button { padding: 5px 6px; font-size: 8px; }.toolbar-right { gap: 5px; }.view-option { min-width: 35px; padding: 5px 6px; font-size: 8px; }.filter-button { display: none; }
  .calendar-legend { flex-wrap: wrap; gap: 8px 10px; padding-left: 11px; font-size: 8px; }.category-manage-button { margin-left: auto; }.calendar-grid { min-width: 0; gap: 5px; padding: 6px; }.day-cell { min-height: 65px; padding: 4px 3px; }.day-header { height: 29px; font-size: 8px; }.day-number { width: 19px; height: 19px; font-size: 9px; }.event-chip { padding: 3px 2px; font-size: 6px; }.more-events { padding: 1px 2px; font-size: 7px; }.calendar-scroll { overflow-x: hidden; }
  .lower-grid { grid-template-columns: 1fr; gap: 21px; margin-top: 20px; }.notes-section { order: 2; }.reminders-section { order: 3; }.section-heading h2 { font-size: 14px; }.page-footer { padding-bottom: 5px; }.event-dialog form, .note-dialog form, .password-dialog form, .category-dialog-content { padding: 18px; }.category-create-form { grid-template-columns: minmax(0, 1fr) 100px; }.category-create-form .primary-button { grid-column: 1 / -1; }.category-manager-row { grid-template-columns: 9px minmax(0, 1fr) auto auto; gap: 6px; }.category-manager-row .category-manager-name { grid-column: 2 / -1; }.category-manager-row .category-manager-color { grid-column: 2; }.category-manager-row .category-row-button.delete { grid-column: 4; }
}

.auth-error.success { color: var(--green-deep); }
.approvals-section { grid-column: 1 / -1; padding-top: 4px; }
.approval-list { border-top: 1px solid var(--line); }
.approval-row { min-height: 55px; display: flex; align-items: center; gap: 12px; padding: 9px 4px; border-bottom: 1px solid #eef1ee; }
.approval-identity { flex: 1; min-width: 0; }
.approval-identity strong { display: block; overflow: hidden; color: #46544e; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.approval-identity span { display: block; margin-top: 3px; color: #94a098; font-size: 8px; }
.approval-actions { display: flex; gap: 6px; }
.approval-actions button { padding: 6px 9px; border: 0; border-radius: 5px; font-size: 9px; font-weight: 700; }
.approve-user { background: #e4f3e9; color: var(--green-deep); }
.approve-user:hover { background: #d4ecdc; }
.reject-user { background: #fff0ed; color: #c35c50; }
.reject-user:hover { background: #ffe2dc; }
@media (max-width: 390px) { .auth-intro { min-height: 215px; }.auth-intro-copy h1 { font-size: 24px; }.auth-panel { min-height: calc(100vh - 215px); padding-right: 19px; padding-left: 19px; }.main-content { padding-right: 10px; padding-left: 10px; }.page-heading h1 { font-size: 20px; }.page-heading .primary-button { gap: 4px; }.calendar-nav-group h2 { font-size: 11px; }.calendar-legend { gap: 7px; font-size: 7px; }.search-box { width: 130px; }.form-row { gap: 8px; } }
@media (max-width: 350px) { .breadcrumb { display: none; }.topbar-actions { width: 100%; justify-content: flex-end; gap: 3px; }.search-box { width: 72px; } }

/* Improve readability for dense dashboard labels and metadata. */
.eyebrow { font-size: 10px; }
.mini-weekdays { font-size: 10px; }
.mini-day { font-size: 11px; }
.nav-item { font-size: 13px; }
.nav-count { font-size: 11px; }
.sidebar-tip strong, .profile-copy strong { font-size: 11px; }
.sidebar-tip p, .profile-copy span { font-size: 10px; }
.breadcrumb { font-size: 12px; }
.search-box input { font-size: 12px; }
.search-box kbd { font-size: 9px; }
.heading-subtitle { font-size: 13px; }
.primary-button, .secondary-button, .danger-button { font-size: 12px; }
.calendar-nav-group h2 { font-size: 15px; }
.today-button, .view-option { font-size: 10px; }
.calendar-legend { font-size: 10px; }
.category-manage-button { font-size: 10px; }
.day-header { font-size: 10px; }
.day-number { font-size: 11px; }
.event-chip { font-size: 10px; }
.more-events { font-size: 9px; }
.day-cell { min-height: 104px; }
.section-heading .eyebrow { font-size: 10px; }
.text-button { font-size: 11px; }
.task-copy strong { font-size: 12px; }
.task-copy span { font-size: 10px; }
.priority-pill { font-size: 9px; }
.quick-task-form input { font-size: 12px; }
.quick-task-form button { font-size: 10px; }
.reminder-copy strong { font-size: 11px; }
.reminder-copy span { font-size: 10px; }
.note-card strong { font-size: 11px; }
.note-card p { font-size: 10px; }
.note-card time { font-size: 9px; }
.empty-state { font-size: 11px; }
.page-footer { font-size: 9px; }
.field-label { font-size: 11px; }
.field-label input, .field-label select, .field-label textarea { font-size: 12px; }
.dialog-actions .primary-button, .dialog-actions .secondary-button, .dialog-actions .danger-button { font-size: 11px; }
.category-create-form .field-label input, .category-create-form .field-label select { font-size: 11px; }
.category-create-form .primary-button, .category-manager-name, .category-row-button { font-size: 11px; }
.category-manager-color { font-size: 10px; }
.approval-identity strong { font-size: 11px; }
.approval-identity span, .approval-actions button { font-size: 10px; }

@media (max-width: 760px) {
  .nav-item { font-size: 10px; }
  .breadcrumb { font-size: 11px; }
  .search-box input { font-size: 11px; }
  .heading-subtitle { font-size: 11px; }
  .page-heading .primary-button { font-size: 10px; }
  .calendar-nav-group h2 { font-size: 13px; }
  .today-button, .view-option { font-size: 9px; }
  .calendar-legend { font-size: 10px; }
  .day-header { font-size: 10px; }
  .day-number { font-size: 10px; }
  .day-cell { min-height: 76px; }
  .event-chip { padding: 2px 1px; font-size: 9px; line-height: 1.2; }
  .more-events { font-size: 9px; }
  .task-copy strong { font-size: 11px; }
  .task-copy span, .reminder-copy span { font-size: 9px; }
  .reminder-copy strong, .note-card strong { font-size: 10px; }
  .note-card p { font-size: 9px; }
}

