@font-face { font-family: DM Sans; src: url(dm-sans.ttf) format("truetype"); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: Instrument Serif; src: url(instrument-serif.ttf) format("truetype"); font-display: swap; }
:root {
  color-scheme: light;
  --bg: #f7f6f2;
  --paper: #fffefa;
  --ink: #292531;
  --muted: #665f6c;
  --line: #e9e5e5;
  --purple: #603c69;
  --soft-purple: #efe6f1;
  --forest: #243e35;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 15px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #845c91; outline-offset: 3px; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
.app { display: grid; grid-template-columns: 239px minmax(0, 1fr); min-height: 100dvh; }
.sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; padding: 27px 17px 19px; background: #fcfbf8; border-right: 1px solid var(--line); z-index: 4; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; margin: 0 6px 43px; text-decoration: none; white-space: nowrap; font-size: 18px; font-weight: 820; letter-spacing: -.7px; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 12px; background: var(--purple); color: #fff; font-size: 20px; }
.brand-accent { color: var(--purple); }
#nav { display: grid; gap: 5px; }
.nav-caption { padding: 0 12px 9px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.nav-item { display: flex; align-items: center; gap: 13px; padding: 12px; width: 100%; border: 0; border-radius: 9px; color: var(--muted); text-align: left; background: transparent; font-weight: 650; }
.nav-item .bi { width: 18px; font-size: 16px; }
.nav-item:hover, .nav-item[aria-current="page"] { background: var(--soft-purple); color: #55305e; }
.share-button { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: auto; padding: 12px 9px; border: 1px solid #e6d9e8; border-radius: 12px; background: #f7eff7; color: #503057; text-align: left; }
.share-button:hover { background: #efe3f1; }
.share-icon { display: grid; place-items: center; width: 33px; height: 33px; flex: 0 0 33px; border-radius: 9px; background: var(--paper); font-size: 17px; }
.share-button strong, .share-button small { display: block; }
.share-button strong { font-size: 12px; }
.share-button small { margin-top: 2px; font-size: 11px; color: #66506a; }
.connection { margin: auto 4px 0; padding-top: 17px; font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.share-button:not([hidden]) + .connection { margin-top: 0; }
.connection-dot { background: #4f8166; width: 7px; height: 7px; border-radius: 50%; }
.connection.offline .connection-dot { background: #a05b34; }
.topbar { min-height: 70px; padding: 12px 34px; background: #fcfbf8; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topbar-leading, .topbar-actions { display: flex; align-items: center; gap: 19px; }
#breadcrumb { font-weight: 750; }
.top-date { color: var(--muted); font-size: 13px; }
.button { min-height: 40px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 750; display: inline-flex; justify-content: center; align-items: center; gap: 7px; white-space: nowrap; }
.button:hover, .icon-button:hover { background: var(--soft-purple); border-color: #e5d7e8; }
.button.primary { background: var(--purple); border-color: var(--purple); color: #fff; }
.button.primary:hover { background: #4c2d55; }
.button.danger { color: #943d40; }
.icon-button { display: inline-grid; place-items: center; background: transparent; color: inherit; border: 1px solid transparent; border-radius: 7px; width: 36px; height: 36px; flex: 0 0 auto; }
.menu-button { display: none; }
.content { padding: 31px 34px 44px; max-width: 1360px; margin: 0 auto; }
.intro { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; gap: 12px; }
h1 { font: 400 clamp(42px, 5.2vw, 68px)/.98 "Instrument Serif", Georgia, serif; letter-spacing: -.025em; }
.intro p { color: var(--muted); margin-top: 10px; }
.eyebrow { color: var(--purple); text-transform: uppercase; letter-spacing: .15em; font-size: 11px; font-weight: 850; display: block; margin-bottom: 10px; }
.hero-grid, .board-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.board-grid { margin-top: 16px; }
.card { border: 1px solid var(--line); background: var(--paper); border-radius: 15px; min-width: 0; overflow: hidden; }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 16px 17px 12px; }
.card-heading { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 850; letter-spacing: -.25px; }
.badge-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #694474; background: #efe6f1; font-size: 16px; flex: 0 0 auto; }
.badge-icon.grocery { color: #37604b; background: #e5eee3; }
.badge-icon.maintenance { color: #815326; background: #f3e8d8; }
.badge-icon.event { color: #395477; background: #e6ecf2; }
.badge-icon.message { color: #814c5a; background: #f5e8ea; }
.text-button { border: 0; padding: 7px 0 7px 5px; color: var(--purple); background: transparent; font-size: 12px; font-weight: 800; }
.text-button:hover { text-decoration: underline; }
.focus-card { background: #eee7ef; border-color: #e9ddea; padding: 20px; min-height: 179px; }
.focus-card .eyebrow { margin-bottom: 6px; }
.focus-card h2 { font: 400 38px/.98 "Instrument Serif", Georgia, serif; }
.focus-card p { color: #5c4d61; margin-top: 8px; font-size: 13px; }
.focus-card .button { margin-top: 16px; border-color: #ddcde1; color: var(--purple); }
.weather { position: relative; isolation: isolate; background: var(--forest); color: #f7fbef; border-color: #2c4c40; padding: 17px 18px; min-height: 179px; }
.weather::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 95% 15%, #b8c78742, transparent 59%), radial-gradient(ellipse at 87% 112%, #70937783, transparent 57%); }
.weather h2 { font-size: 13px; font-weight: 800; display: flex; align-items: center; gap: 7px; }
.weather-art { position: absolute; right: 18px; top: 37px; font-size: clamp(38px, 5.2vw, 71px); color: #dce6b2; opacity: .82; pointer-events: none; }
.weather .temperature { display: block; font: 400 53px/.9 "Instrument Serif", Georgia, serif; margin-top: 10px; }
.weather h3 { margin-top: 15px; font: 400 29px/1 "Instrument Serif", Georgia, serif; max-width: 78%; }
.weather p { color: #ecf4e4; font-size: 12px; margin-top: 8px; max-width: 75%; overflow-wrap: anywhere; }
.weather .text-button { color: #f2f8de; padding-left: 0; }
.weather-more { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.weather-summary { color: #e1efd9; font-size: 12px; }
.quick-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin-top: 16px; }
.quick-link { text-align: left; display: flex; gap: 9px; align-items: center; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); min-width: 0; }
.quick-link:hover { border-color: #c9afce; }
.quick-link > span:last-child { min-width: 0; }
.quick-link strong, .quick-link small { display: block; overflow: hidden; text-overflow: ellipsis; }
.quick-link strong { font-size: 12px; }
.quick-link small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.empty { padding: 7px 17px 19px; }
.empty strong { font-size: 14px; }
.empty p { font-size: 13px; color: var(--muted); margin: 5px 0 8px; }
.card > .rows { padding: 0 17px 11px; }
.row { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding: 10px 0; min-width: 0; }
.row-main { flex: 1; min-width: 0; }
.row-main strong, .row-main small, .row-detail { display: block; overflow-wrap: anywhere; }
.row-main strong { font-size: 14px; }
.row-main small, .row-detail { color: var(--muted); font-size: 12px; margin-top: 3px; }
.row-detail { white-space: pre-wrap; }
.row.is-done strong { text-decoration: line-through; color: var(--muted); }
.row-actions { display: flex; gap: 1px; align-self: flex-start; }
.row-actions .icon-button { width: 33px; height: 33px; font-size: 13px; color: var(--muted); }
.check { border: 1px solid #b9aabe; border-radius: 6px; color: var(--purple); width: 27px; height: 27px; }
.pill { font-size: 11px; font-weight: 750; color: #715228; border-radius: 6px; background: #f5edde; padding: 4px 7px; flex: 0 0 auto; }
.list-page { padding-bottom: 9px; }
.page-section { margin-top: 16px; }
.calendar-head { display: flex; justify-content: space-between; padding: 14px; align-items: center; }
.calendar-head h2 { font-size: 19px; font-weight: 780; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 0 12px 12px; gap: 3px; }
.weekday { color: var(--muted); text-align: center; padding: 8px 0; font-size: 12px; }
.day { border: 1px solid var(--line); color: var(--ink); background: var(--paper); min-height: 61px; border-radius: 7px; padding: 7px; align-self: stretch; display: flex; flex-direction: column; gap: 3px; text-align: left; min-width: 0; }
.day:hover, .day[aria-pressed="true"] { background: var(--soft-purple); border-color: #cdb4d2; }
.day.today { box-shadow: inset 0 0 0 1px var(--purple); }
.day span { color: var(--purple); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; font-size: 11px; }
.day .event-count { display: none; }
dialog { width: min(480px, calc(100% - 28px)); max-height: calc(100dvh - 42px); overflow: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--ink); padding: 21px; box-shadow: 0 22px 100px #22152947; }
dialog::backdrop { background: #20182566; }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 15px; }
.dialog-header h2 { font-size: 23px; letter-spacing: -.4px; }
form, .dialog-stack { display: grid; gap: 14px; }
.dialog-stack p { color: var(--muted); }
form label, .dialog-stack label { font-size: 13px; font-weight: 750; display: grid; gap: 5px; }
input, textarea, select { width: 100%; min-height: 40px; padding: 8px 9px; color: var(--ink); background: #fbfaf8; border: 1px solid #dcd4df; border-radius: 7px; }
textarea { min-height: 74px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; flex-wrap: wrap; }
.form-error { color: #923e44; font-size: 13px; }
.sign-in { max-width: 360px; }
.qr { display: block; width: min(220px, 100%); margin: auto; padding: 4px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.toast { position: fixed; bottom: 17px; right: 17px; z-index: 10; background: var(--forest); color: #fff; padding: 12px 17px; border-radius: 9px; box-shadow: 0 9px 25px #20252128; max-width: calc(100% - 34px); }
.loading { color: var(--muted); }
@media (max-width: 1050px) {
  .app { grid-template-columns: 196px minmax(0, 1fr); }
  .sidebar { padding-inline: 12px; }
  .brand { font-size: 16px; }
  .content, .topbar { padding-inline: 23px; }
}
@media (max-width: 760px) {
  .app { display: block; }
  .sidebar { display: none; position: fixed; top: 56px; left: 0; height: calc(100dvh - 56px); width: 235px; box-shadow: 16px 0 40px #20182520; }
  .sidebar.open { display: flex; }
  .brand { margin-bottom: 24px; }
  .topbar { min-height: 56px; padding: 7px 12px; position: sticky; top: 0; z-index: 5; }
  .topbar-leading, .topbar-actions { gap: 8px; }
  .menu-button { display: inline-grid; font-size: 21px; }
  .top-date { display: none; }
  .content { padding: 21px 13px 28px; }
}
@media (max-width: 520px) {
  .hero-grid, .board-grid { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .board-grid, .quick-links { margin-top: 11px; }
  .quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .weather-art { right: 22px; font-size: 64px; }
  .intro { align-items: flex-start; }
  .intro > .button { margin-top: 7px; }
  .day { min-height: 44px; padding: 4px; }
  .day .event-label { display: none; }
  .day .event-count { display: block; }
}
