:root {
  color-scheme: light;
  --ink: #414741;
  --muted: #777e77;
  --navy: #2f682b;
  --navy-soft: #3d7835;
  --orange: #438b35;
  --orange-dark: #347528;
  --orange-pale: #edf5e9;
  --canvas: #f4f6f2;
  --line: #e6eae3;
  --green: #438b35;
  --green-pale: #eaf4e6;
  --red: #b65a50;
  --red-pale: #faefed;
  --shadow: 0 12px 32px rgba(44, 68, 39, .055);
}

  * { box-sizing: border-box; }
  body { margin: 0; background: var(--canvas); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 14px; }
  button, input, select { font: inherit; }
  button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(67, 139, 53, .28); outline-offset: 2px; }
  .app-shell { min-height: 100vh; }
  .sidebar { background: var(--navy); bottom: 0; color: #edf4ea; display: flex; flex-direction: column; left: 0; padding: 25px 17px 15px; position: fixed; top: 0; width: 248px; z-index: 5; }
  .brand { align-items: center; color: inherit; display: flex; gap: 11px; margin: 0 4px 30px; text-decoration: none; }
  .brand-mark { align-items: center; background: transparent; display: flex; flex: 0 0 39px; height: 39px; justify-content: center; width: 39px; }
  .brand-mark img { display: block; height: 39px; width: 39px; }
  .brand-copy { display: flex; flex-direction: column; gap: 2px; }
  .brand-copy strong { color: #fff; font-family: Manrope, sans-serif; font-size: 16px; letter-spacing: 0; }
  .brand-copy small { color: #c5d8bf; font-size: 8px; font-weight: 700; letter-spacing: 1.1px; }
  .property-switcher { align-items: center; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; display: flex; gap: 10px; margin-bottom: 32px; min-height: 58px; padding: 9px; }
  .switcher-icon { align-items: center; background: #427a3b; border-radius: 7px; color: #eef6e9; display: flex; flex: 0 0 32px; font-size: 10px; font-weight: 700; height: 32px; justify-content: center; }
  .property-switcher > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; min-width: 0; }
  .property-switcher strong { color: #f4f7f3; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .property-switcher small { color: #c1d0bc; font-size: 9px; margin-top: 3px; }
  .chevron { color: #c1d0bc; font-size: 15px; }
  .nav-label { color: #c0d3ba; font-size: 9px; font-weight: 700; letter-spacing: 1.15px; margin: 0 9px 10px; }
  .nav-label-lower { margin-top: 29px; }
  .main-nav { display: grid; gap: 4px; }
  .nav-item { align-items: center; background: transparent; border: 0; border-radius: 6px; color: #e1e9de; cursor: pointer; display: flex; font-size: 12px; gap: 12px; min-height: 39px; padding: 0 11px; text-align: left; transition: background .18s ease, color .18s ease; width: 100%; }
  .nav-item:hover { background: rgba(255,255,255,.1); color: #fff; }
  .nav-item.active { background: var(--orange); box-shadow: 0 5px 12px rgba(55,116,45,.2); color: white; font-weight: 700; }
  .nav-icon { display: inline-flex; font-size: 17px; justify-content: center; line-height: 1; opacity: .92; width: 17px; }
  .nav-count { align-items: center; background: rgba(255,255,255,.17); border-radius: 10px; display: flex; font-size: 9px; height: 18px; justify-content: center; margin-left: auto; min-width: 20px; padding: 0 5px; }
  .sidebar-spacer { flex: 1; min-height: 24px; }
  .support-box { background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; margin: 0 1px 15px; padding: 13px 12px 11px; }
  .support-icon { align-items: center; background: rgba(138,190,119,.18); border-radius: 6px; color: #c7e4b9; display: flex; font-size: 15px; height: 27px; justify-content: center; margin-bottom: 10px; width: 27px; }
  .support-box > strong { color: #f5f7f4; font-size: 11px; }
  .support-box p { color: #c1d0bc; font-size: 10px; line-height: 1.5; margin: 5px 0 9px; }
  .support-box button { background: transparent; border: 0; color: #c7e4b9; cursor: pointer; font-size: 10px; font-weight: 700; padding: 0; }
  .support-box button span { margin-left: 5px; }
  .profile-button { align-items: center; background: transparent; border: 0; border-top: 1px solid rgba(255,255,255,.16); cursor: pointer; display: flex; gap: 9px; margin-top: 0; padding: 14px 1px 1px; text-align: left; }
  .avatar { align-items: center; background: #dce8d7; border-radius: 50%; color: #3d6837; display: inline-flex; flex: 0 0 auto; font-size: 10px; font-weight: 700; justify-content: center; }
  .avatar-small { height: 31px; width: 31px; }
  .profile-copy { display: flex; flex: 1; flex-direction: column; gap: 3px; }
  .profile-copy strong { color: #fff; font-size: 10px; }
  .profile-copy small { color: #c1d0bc; font-size: 9px; }
  .profile-more { color: #c1d0bc; font-size: 19px; letter-spacing: 1px; }
  .main-area { margin-left: 248px; min-height: 100vh; padding-top: 65px; }
.topbar { align-items: center; background: rgba(255,255,255,.95); border-bottom: 1px solid #e9edf0; display: flex; height: 65px; justify-content: space-between; left: 248px; padding: 0 36px; position: fixed; right: 0; top: 0; z-index: 4; }
.breadcrumb { align-items: center; color: #8a96a2; display: flex; font-size: 11px; gap: 10px; }
.breadcrumb strong { color: #344659; font-size: 11px; font-weight: 600; }
.crumb-separator { color: #bdc5cc; }
.topbar-actions { align-items: center; display: flex; gap: 17px; }
.global-search { align-items: center; background: #f7f8f9; border: 1px solid #edf0f2; border-radius: 6px; color: #99a4ae; display: flex; gap: 8px; height: 34px; padding: 0 9px; width: 218px; }
.global-search > span { font-size: 21px; line-height: 1; }
.global-search input { background: transparent; border: 0; color: var(--ink); font-size: 10px; min-width: 0; outline: 0; width: 100%; }
.global-search input::placeholder { color: #9aa5ae; }
.global-search kbd { border: 1px solid #e3e8ec; border-radius: 3px; color: #98a2ac; flex: 0 0 auto; font: 9px "DM Sans", sans-serif; padding: 2px 4px; }
.icon-button { align-items: center; background: transparent; border: 0; cursor: pointer; display: inline-flex; height: 32px; justify-content: center; position: relative; width: 27px; }
.notification-button > span { color: #546579; font-size: 20px; transform: rotate(180deg); }
.notification-button i { background: var(--orange); border: 2px solid #fff; border-radius: 50%; height: 8px; position: absolute; right: 2px; top: 5px; width: 8px; }
.topbar-divider { background: #e8ecef; height: 25px; width: 1px; }
.topbar-date { color: #748190; font-size: 10px; white-space: nowrap; }
.avatar-top { background: #e7d9ce; height: 30px; width: 30px; }
.content-area { margin: 0 auto; max-width: 1450px; padding: 30px 36px 24px; }
.page-heading { align-items: flex-end; display: flex; justify-content: space-between; margin-bottom: 23px; }
.eyebrow { color: #a1aab3; display: block; font-size: 9px; font-weight: 700; letter-spacing: 1.1px; margin-bottom: 7px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); font-family: Manrope, sans-serif; letter-spacing: 0; }
h1 { font-size: 24px; font-weight: 800; margin: 0; }
.page-subtitle { color: #84909c; font-size: 11px; margin: 6px 0 0; }
.button { align-items: center; border: 1px solid transparent; border-radius: 5px; cursor: pointer; display: inline-flex; font-size: 10px; font-weight: 700; gap: 7px; justify-content: center; min-height: 35px; padding: 0 13px; transition: background .18s, transform .18s; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--orange); box-shadow: 0 4px 9px rgba(238,118,44,.18); color: white; }
.button-primary:hover { background: var(--orange-dark); }
.button-primary > span { font-size: 17px; font-weight: 400; line-height: 1; }
.button-quiet { background: #fff; border-color: #e4e9ed; color: #506072; }
.button-quiet:hover { background: #f8fafb; }
.dashboard-grid { display: grid; gap: 17px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric-card, .panel { background: #fff; border: 1px solid #edf0f2; border-radius: 7px; box-shadow: var(--shadow); }
.metric-card { min-height: 121px; padding: 16px 17px 13px; position: relative; }
.metric-heading { align-items: center; color: #778594; display: flex; font-size: 10px; justify-content: space-between; }
.metric-icon { align-items: center; background: #f0f4f7; border-radius: 6px; color: #597087; display: flex; font-size: 15px; height: 29px; justify-content: center; width: 29px; }
.metric-icon.orange { background: #fff1e7; color: var(--orange); }
.metric-icon.green { background: #e9f6ef; color: var(--green); }
.metric-icon.blue { background: #eaf1f7; color: #517798; }
.metric-value { color: #1b2e40; font-family: Manrope, sans-serif; font-size: 27px; font-weight: 800; line-height: 1; margin: 9px 0 8px; }
.metric-foot { align-items: center; color: #8a96a1; display: flex; font-size: 9px; gap: 5px; }
.trend { color: var(--green); font-weight: 700; }
.trend.down { color: var(--red); }
.dashboard-columns { display: grid; gap: 17px; grid-template-columns: minmax(0, 1.7fr) minmax(275px, .92fr); margin-top: 17px; }
.panel { min-width: 0; }
.panel-header { align-items: center; display: flex; justify-content: space-between; padding: 17px 18px 11px; }
.panel-title { color: #293d50; font-family: Manrope, sans-serif; font-size: 12px; font-weight: 800; margin: 0; }
.panel-caption { color: #909ca7; font-size: 9px; margin: 4px 0 0; }
.text-button { background: transparent; border: 0; color: #dd6927; cursor: pointer; font-size: 10px; font-weight: 700; padding: 5px 0 5px 8px; }
.chart-wrap { height: 198px; padding: 9px 18px 14px; }
.chart { height: 100%; position: relative; }
.chart-grid { display: flex; flex-direction: column; height: calc(100% - 20px); justify-content: space-between; left: 27px; position: absolute; right: 0; top: 0; }
.chart-grid span { border-top: 1px dashed #e9edf0; display: block; height: 1px; position: relative; width: 100%; }
.chart-axis { bottom: 19px; color: #9aa5af; display: flex; flex-direction: column; font-size: 8px; height: calc(100% - 25px); justify-content: space-between; left: 0; position: absolute; top: 0; }
.chart-bars { align-items: flex-end; bottom: 19px; display: flex; gap: 12px; justify-content: space-around; left: 37px; position: absolute; right: 5px; top: 6px; }
.bar-group { align-items: center; display: flex; flex: 1; flex-direction: column; gap: 6px; height: 100%; justify-content: flex-end; max-width: 38px; }
.bar { background: linear-gradient(180deg, #f89d5f, #ed762c); border-radius: 3px 3px 0 0; min-height: 8px; position: relative; transition: height .5s cubic-bezier(.2,.7,.3,1); width: min(100%, 24px); }
.bar:hover::after { background: #273b4c; border-radius: 4px; color: white; content: attr(data-count); font-size: 9px; left: 50%; padding: 4px 6px; position: absolute; top: -25px; transform: translateX(-50%); white-space: nowrap; }
.bar-label { color: #909ba5; font-size: 8px; }
.recent-list { padding: 0 17px 7px; }
.recent-row { align-items: center; border-top: 1px solid #f0f2f4; display: grid; gap: 10px; grid-template-columns: minmax(0,1.5fr) minmax(75px, .8fr) auto; min-height: 58px; }
.resident-cell { align-items: center; display: flex; gap: 9px; min-width: 0; }
.initials { align-items: center; background: #eff4f6; border-radius: 50%; color: #52718a; display: inline-flex; flex: 0 0 30px; font-size: 9px; font-weight: 700; height: 30px; justify-content: center; }
.resident-info { min-width: 0; }
.resident-info strong { color: #34475a; display: block; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resident-info small { color: #939da7; display: block; font-size: 9px; margin-top: 3px; }
.carrier-cell { color: #788591; font-size: 9px; }
.status-badge { align-items: center; border-radius: 10px; display: inline-flex; font-size: 8px; font-weight: 700; gap: 5px; padding: 4px 8px; white-space: nowrap; }
.status-badge::before { background: currentColor; border-radius: 50%; content: ""; height: 5px; width: 5px; }
.status-pending { background: #fff1e6; color: #d46b2e; }
.status-picked { background: #e9f6ef; color: #278660; }
.status-overdue { background: #fff0ed; color: #c75a4c; }
.side-stack { display: grid; gap: 17px; grid-template-rows: minmax(0, auto) minmax(0, 1fr); }
.status-panel { padding-bottom: 12px; }
.status-stats { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; padding: 5px 17px 14px; }
.status-stat { background: #f8fafb; border: 1px solid #eff2f3; border-radius: 5px; padding: 12px; }
.status-stat span { color: #81909e; display: block; font-size: 9px; }
.status-stat strong { color: #2d4154; display: block; font-family: Manrope, sans-serif; font-size: 18px; margin-top: 7px; }
.status-bar { background: #f1f3f4; border-radius: 4px; display: flex; height: 7px; margin: 1px 17px 12px; overflow: hidden; }
.status-bar span:first-child { background: #438b35; }
.status-bar span:last-child { background: #aab2a7; }
.status-legend { color: #7a8793; display: flex; font-size: 9px; justify-content: space-between; padding: 0 18px; }
.legend-key { align-items: center; display: inline-flex; gap: 6px; }
.legend-key i { border-radius: 50%; height: 7px; width: 7px; }
.legend-orange { background: #ef782f; }
.legend-green { background: #3d9c79; }
.insight-panel { background: #fff9f3; border-color: #f9eadc; padding: 15px 16px; }
.insight-heading { align-items: center; color: #c66a31; display: flex; font-size: 9px; font-weight: 800; gap: 7px; letter-spacing: .55px; }
.insight-heading span { font-size: 15px; }
.insight-panel p { color: #586253; font-size: 10px; line-height: 1.55; margin: 8px 0 0; }
.insight-panel strong { color: #334658; }
.insight-bottom { color: #7f9277; display: block; font-size: 8px; margin-top: 8px; }
.table-panel { overflow: hidden; }
.table-toolbar { align-items: center; border-bottom: 1px solid #edf0f2; display: flex; gap: 8px; justify-content: space-between; padding: 12px 17px; }
.table-filters { align-items: center; display: flex; gap: 6px; }
.filter-chip { background: transparent; border: 1px solid transparent; border-radius: 4px; color: #768391; cursor: pointer; font-size: 9px; padding: 6px 10px; }
.filter-chip.active { background: #fff0e5; border-color: #fce4d1; color: #d76624; font-weight: 700; }
.table-tools { align-items: center; display: flex; gap: 7px; }
.table-search { align-items: center; border: 1px solid #e6eaed; border-radius: 4px; color: #9aa4ad; display: flex; gap: 7px; height: 29px; padding: 0 8px; width: 183px; }
.table-search input { border: 0; font-size: 9px; outline: 0; width: 100%; }
.table-search input::placeholder { color: #9ba5ae; }
.select-filter { background: #fff; border: 1px solid #e6eaed; border-radius: 4px; color: #657381; font-size: 9px; height: 29px; padding: 0 8px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; min-width: 740px; text-align: left; width: 100%; }
thead { background: #fafbfc; }
th { color: #87939e; font-size: 8px; font-weight: 700; letter-spacing: .45px; padding: 11px 13px; white-space: nowrap; }
td { border-top: 1px solid #f0f2f3; color: #4c5b69; font-size: 9px; padding: 12px 13px; white-space: nowrap; }
td:first-child { color: #657584; font-weight: 700; }
.table-resident { align-items: center; display: flex; gap: 8px; }
.table-resident .initials { flex-basis: 27px; height: 27px; }
.table-resident strong { color: #34475a; font-size: 9px; }
.table-apartment { color: #56687a; font-weight: 700; }
.row-actions { display: flex; gap: 5px; }
.row-action { align-items: center; background: #fff; border: 1px solid #e8ecef; border-radius: 4px; color: #657584; cursor: pointer; display: inline-flex; font-size: 11px; height: 25px; justify-content: center; width: 27px; }
.row-action:hover { border-color: #efb58d; color: #d76b2b; }
.empty-state { color: #88949f; font-size: 11px; padding: 30px 15px; text-align: center; }
.table-footer { align-items: center; border-top: 1px solid #edf0f2; color: #87939e; display: flex; font-size: 9px; justify-content: space-between; padding: 11px 16px; }
.pagination { align-items: center; display: flex; gap: 4px; }
.page-button { background: white; border: 1px solid #e7ebee; border-radius: 4px; color: #667583; cursor: pointer; font-size: 9px; height: 25px; min-width: 25px; }
.page-button.active { background: #fff1e8; border-color: #f7ddc8; color: #d76524; font-weight: 700; }
.report-grid { display: grid; gap: 17px; grid-template-columns: 1.2fr 1fr; }
.report-grid .panel { padding-bottom: 13px; }
.period-control { align-items: center; background: #fff; border: 1px solid #e6eaed; border-radius: 4px; color: #607081; display: inline-flex; font-size: 9px; gap: 7px; height: 31px; padding: 0 9px; }
.report-line { align-items: center; border-top: 1px solid #f0f2f4; display: flex; gap: 10px; justify-content: space-between; padding: 13px 17px; }
.report-line span:first-child { color: #4b5d6e; font-size: 10px; }
.report-line strong { color: #314659; font-size: 10px; }
.report-progress { background: #f1f3f4; border-radius: 3px; flex: 1; height: 6px; max-width: 170px; overflow: hidden; }
.report-progress i { background: #ef782f; border-radius: inherit; display: block; height: 100%; }
.report-summary { align-items: flex-start; background: #f4f8f1; border: 1px solid #e4ecdf; border-radius: 5px; color: #5b7d50; display: flex; gap: 9px; margin: 16px 17px 2px; padding: 12px; }
.report-summary strong { color: #47596a; display: block; font-size: 10px; }
.report-summary p { color: #7c746c; font-size: 9px; line-height: 1.5; margin: 5px 0 0; }
.residents-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.resident-card { align-items: center; background: #fff; border: 1px solid #edf0f2; border-radius: 6px; box-shadow: var(--shadow); display: flex; gap: 11px; padding: 15px; }
.resident-card .initials { flex-basis: 38px; font-size: 10px; height: 38px; }
.resident-card strong { color: #304558; display: block; font-size: 10px; }
.resident-card small { color: #87939e; display: block; font-size: 9px; margin-top: 4px; }
.resident-card em { color: #d16c2d; display: block; font-size: 8px; font-style: normal; margin-top: 5px; }
.settings-panel { max-width: 760px; padding: 20px; }
.setting-row { align-items: center; border-top: 1px solid #eff2f4; display: flex; justify-content: space-between; padding: 17px 0; }
.setting-row:first-of-type { margin-top: 12px; }
.setting-row strong { color: #3c5062; display: block; font-size: 10px; }
.setting-row small { color: #87939e; display: block; font-size: 9px; margin-top: 4px; }
.toggle { appearance: none; background: #dce2e6; border: 0; border-radius: 10px; cursor: pointer; height: 19px; position: relative; transition: background .2s; width: 34px; }
.toggle::after { background: white; border-radius: 50%; content: ""; height: 15px; left: 2px; position: absolute; top: 2px; transition: transform .2s; width: 15px; }
.toggle:checked { background: #ed782f; }
.toggle:checked::after { transform: translateX(15px); }
.app-footer { align-items: center; border-top: 1px solid #e9edef; color: #99a3ac; display: flex; font-size: 9px; justify-content: space-between; margin: 0 36px; padding: 12px 0 17px; }
.online-dot { background: #43a77f; border-radius: 50%; display: inline-block; height: 6px; margin-right: 5px; width: 6px; }
.order-dialog { border: 0; border-radius: 9px; box-shadow: 0 24px 80px rgba(16,39,64,.25); max-width: 475px; padding: 0; width: calc(100% - 32px); }
.order-dialog::backdrop { background: rgba(14,31,48,.46); backdrop-filter: blur(2px); }
.order-dialog form { padding: 24px; }
.dialog-heading { align-items: flex-start; display: flex; justify-content: space-between; }
.dialog-heading h2 { font-size: 18px; margin: 0; }
.dialog-heading .eyebrow { color: #d87134; font-size: 8px; }
.dialog-close { background: #f5f7f8; border: 0; border-radius: 50%; color: #647383; cursor: pointer; font-size: 20px; height: 28px; line-height: 1; width: 28px; }
.dialog-description { color: #84909b; font-size: 10px; margin: 7px 0 20px; }
.form-grid { display: grid; gap: 13px; grid-template-columns: 1fr 1fr; }
.field { color: #4d5f70; display: flex; flex-direction: column; font-size: 9px; font-weight: 700; gap: 6px; }
.field input, .field select { background: #fff; border: 1px solid #e2e8eb; border-radius: 4px; color: #33485b; font-size: 10px; height: 35px; outline: 0; padding: 0 9px; }
.field input::placeholder { color: #a8b1b8; font-weight: 400; }
.field input:focus, .field select:focus { border-color: #f0a16b; }
.full-field { grid-column: 1 / -1; }
.dialog-actions { border-top: 1px solid #edf0f2; display: flex; gap: 8px; justify-content: flex-end; margin-top: 22px; padding-top: 15px; }
.toast { background: #19344d; border-radius: 5px; bottom: 22px; box-shadow: 0 8px 22px rgba(16,39,64,.2); color: white; font-size: 10px; opacity: 0; padding: 12px 16px; pointer-events: none; position: fixed; right: 24px; transform: translateY(8px); transition: opacity .2s, transform .2s; z-index: 20; }
.toast.show { opacity: 1; transform: translateY(0); }

.login-body { background: #f4f6f2; min-height: 100svh; }
.login-layout { display: grid; grid-template-columns: minmax(310px, .88fr) minmax(420px, 1.12fr); min-height: 100svh; }
.login-showcase { background-color: #326e2c; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0, rgba(255,255,255,.025) 1px, transparent 1px, transparent 13px); color: white; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: clamp(32px, 6vw, 78px); position: relative; }
.login-showcase::after { border: 1px solid rgba(235,246,229,.13); border-radius: 50%; content: ""; height: 360px; pointer-events: none; position: absolute; right: -170px; top: 43%; transform: translateY(-50%); width: 360px; }
.login-brand, .login-mobile-brand { align-items: center; display: flex; gap: 13px; text-decoration: none; width: fit-content; }
.login-brand img, .login-mobile-brand img { height: 54px; width: 54px; }
.login-brand span, .login-mobile-brand span { display: flex; flex-direction: column; font-family: Manrope, sans-serif; font-size: 22px; font-weight: 800; line-height: 1.05; }
.login-brand strong, .login-mobile-brand strong { color: #fff; font-weight: 800; }
.login-brand em, .login-mobile-brand em { color: #d6e2d1; font-style: normal; font-weight: 500; }
.showcase-copy { margin: auto 0; max-width: 420px; position: relative; z-index: 1; }
.login-eyebrow { color: #648f5b; display: block; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; }
.login-showcase .login-eyebrow { color: #c5dfb9; }
.showcase-copy h1 { color: #fff; font-size: clamp(37px, 4vw, 54px); line-height: 1.13; margin: 18px 0 14px; }
.showcase-copy p { color: #e0eadc; font-size: 13px; line-height: 1.65; margin: 0; max-width: 300px; }
.showcase-footer { color: #c5dfb9; font-size: 8px; font-weight: 700; letter-spacing: 1.05px; }
.login-content { align-items: center; background: #fff; display: flex; justify-content: center; min-width: 0; padding: 42px; }
.login-card { max-width: 380px; width: 100%; }
.login-mobile-brand { display: none; }
.login-card > .login-eyebrow { margin-bottom: 11px; }
.login-card h2 { color: #3c443d; font-size: 25px; font-weight: 800; margin: 0; }
.login-intro { color: #838a82; font-size: 12px; margin: 8px 0 29px; }
.login-field { color: #555e55; display: block; font-size: 10px; font-weight: 700; margin-bottom: 18px; }
.login-input-wrap { align-items: center; background: #fbfcfa; border: 1px solid #e2e8df; border-radius: 5px; display: flex; height: 48px; margin-top: 8px; padding: 0 12px; transition: border-color .18s, box-shadow .18s; }
.login-input-wrap:focus-within { border-color: #7caf6d; box-shadow: 0 0 0 3px rgba(67,139,53,.1); }
.input-icon { color: #7f8b7d; flex: 0 0 20px; font-size: 17px; line-height: 1; text-align: left; }
.lock-icon { font-size: 20px; }
.login-input-wrap input { background: transparent; border: 0; color: #364237; font-size: 12px; height: 100%; min-width: 0; outline: 0; padding: 0 8px; width: 100%; }
.login-input-wrap input::placeholder { color: #a0a79f; font-weight: 400; }
.password-toggle { align-items: center; background: transparent; border: 0; color: #798477; cursor: pointer; display: flex; flex: 0 0 30px; height: 34px; justify-content: center; padding: 5px; }
.password-toggle svg { fill: none; height: 19px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; width: 19px; }
.login-error { background: #fbefed; border-radius: 4px; color: #a4443f; font-size: 10px; margin: -4px 0 15px; padding: 9px 10px; }
.login-submit { align-items: center; background: #438b35; border: 0; border-radius: 5px; box-shadow: 0 5px 12px rgba(67,139,53,.18); color: #fff; cursor: pointer; display: flex; font-size: 11px; font-weight: 700; height: 46px; justify-content: center; margin-top: 24px; position: relative; transition: background .18s, transform .18s; width: 100%; }
.login-submit:hover { background: #347528; transform: translateY(-1px); }
.login-submit:disabled { cursor: wait; opacity: .76; }
.login-submit svg { fill: none; height: 17px; position: absolute; right: 15px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 17px; }
.login-divider { align-items: center; display: flex; gap: 7px; justify-content: center; margin: 28px 0 17px; }
.login-divider span { background: #e7ebe5; height: 1px; width: 42px; }
.login-divider i { background: #75a969; border-radius: 50%; height: 5px; width: 5px; }
.login-footnote { align-items: center; color: #92998f; display: flex; font-size: 9px; gap: 7px; justify-content: center; margin: 0; }
.secure-dot { background: #6aa25a; border-radius: 50%; height: 6px; width: 6px; }
.login-mobile-brand { margin-bottom: 38px; }
.login-mobile-brand strong { color: #438b35; }
.login-mobile-brand em { color: #737a72; }
.logout-button:hover { color: var(--orange-dark); }
.install-app-button { align-items: center; background: #fff; border: 1px solid #dae6d5; border-radius: 5px; color: #397c2d; cursor: pointer; display: inline-flex; flex: 0 0 auto; font-size: 9px; font-weight: 700; gap: 6px; height: 32px; justify-content: center; padding: 0 10px; transition: background .18s, border-color .18s; }
.install-app-button:hover { background: #f1f7ee; border-color: #b9d5ad; }
.install-app-button:disabled { cursor: default; opacity: .75; }
.install-app-button svg { fill: none; height: 16px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 16px; }
.login-content { position: relative; }
.login-install-button { position: absolute; right: 24px; top: 22px; }
.install-help-dialog { border: 1px solid #e4eae1; border-radius: 8px; box-shadow: 0 24px 80px rgba(41,67,37,.25); color: #414741; max-width: 390px; padding: 25px; width: calc(100% - 32px); }
.install-help-dialog::backdrop { background: rgba(35,52,33,.46); backdrop-filter: blur(2px); }
.install-help-dialog > form { display: flex; justify-content: flex-end; margin: -13px -13px 10px 0; }
.install-help-dialog h2 { font-size: 18px; margin: 0 35px 7px 0; }
.install-help-dialog > p { color: #737d71; font-size: 11px; line-height: 1.55; margin: 0 0 14px; }
.install-help-dialog ol { color: #4f5d4d; font-size: 11px; line-height: 1.6; margin: 0; padding-left: 19px; }
.install-help-dialog li { margin: 6px 0; padding-left: 3px; }
.install-help-close { margin-top: 20px; }

@media (min-width: 1500px) { .content-area { padding-top: 38px; } }
@media (max-width: 1100px) { .sidebar { width: 215px; } .main-area { margin-left: 215px; } .topbar { left: 215px; padding: 0 25px; } .content-area { padding-left: 25px; padding-right: 25px; } .app-footer { margin-left: 25px; margin-right: 25px; } .dashboard-grid { gap: 11px; } .metric-card { padding-left: 12px; padding-right: 12px; } .dashboard-columns { grid-template-columns: minmax(0,1.45fr) minmax(250px,.9fr); gap: 11px; } .chart-bars { gap: 6px; } }
@media (max-width: 850px) { .sidebar { width: 66px; padding: 19px 9px 12px; } .brand { justify-content: center; margin: 0 0 24px; } .brand-copy, .property-switcher > span:not(.switcher-icon), .nav-label, .nav-item:not(.active)::after, .nav-item { font-size: 0; } .property-switcher { justify-content: center; margin-bottom: 23px; padding: 7px 0; } .property-switcher .switcher-icon { flex-basis: 31px; } .main-nav { gap: 8px; } .nav-item { height: 39px; justify-content: center; padding: 0; position: relative; } .nav-item .nav-icon { font-size: 17px; } .nav-count { font-size: 8px; height: 15px; min-width: 15px; padding: 0; position: absolute; right: 0; top: 0; } .support-box { align-items: center; display: flex; justify-content: center; padding: 7px; } .support-box > *:not(.support-icon) { display: none; } .support-icon { margin: 0; } .profile-button { justify-content: center; } .profile-copy, .profile-more { display: none; } .main-area { margin-left: 66px; } .topbar { left: 66px; } .dashboard-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .dashboard-columns { grid-template-columns: 1fr; } .side-stack { grid-template-columns: 1fr 1fr; grid-template-rows: auto; } .residents-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .topbar { padding: 0 14px; } .breadcrumb > span:first-child, .crumb-separator, .topbar-date, .topbar-divider, .global-search kbd { display: none; } .global-search { width: min(45vw, 190px); } .topbar-actions { gap: 10px; } .content-area { padding: 22px 14px 18px; } .page-heading { align-items: flex-start; gap: 13px; } h1 { font-size: 21px; } .page-heading > .button { font-size: 0; min-width: 36px; padding: 0; } .page-heading > .button span { font-size: 18px; } .metric-card { min-height: 109px; padding: 12px; } .metric-value { font-size: 23px; } .dashboard-grid, .side-stack, .report-grid, .residents-grid { grid-template-columns: 1fr; } .side-stack { gap: 12px; } .chart-bars { gap: 3px; } .chart-wrap { padding-left: 12px; padding-right: 12px; } .panel-header { padding-left: 13px; padding-right: 13px; } .table-toolbar { align-items: flex-start; flex-direction: column; } .table-tools { width: 100%; } .table-search { flex: 1; } .app-footer { margin: 0 14px; } .form-grid { grid-template-columns: 1fr; } .full-field { grid-column: auto; } }

@media (max-width: 760px) {
  .login-layout { grid-template-columns: 1fr; }
  .login-showcase { display: none; }
  .login-content { align-items: flex-start; min-height: 100svh; padding: max(30px, env(safe-area-inset-top)) 24px max(30px, env(safe-area-inset-bottom)); }
  .login-card { margin: auto; max-width: 410px; }
  .login-mobile-brand { display: flex; }
}

@media (max-width: 600px) {
  .sidebar { align-items: center; bottom: 0; flex-direction: row; height: calc(64px + env(safe-area-inset-bottom)); justify-content: space-around; left: 0; padding: 2px 4px env(safe-area-inset-bottom); right: 0; top: auto; width: 100%; }
  .sidebar > .brand, .sidebar > .property-switcher, .sidebar > .nav-label, .sidebar > .sidebar-spacer, .sidebar > .support-box, .sidebar > .profile-button { display: none; }
  .main-nav { display: contents; }
  .nav-item { align-items: center; color: #727a71; flex: 1; flex-direction: column; font-size: 8px; gap: 3px; height: 57px; justify-content: center; min-height: 57px; padding: 3px 0 2px; }
  .nav-item.active { background: transparent; box-shadow: none; color: #438b35; }
  .nav-item .nav-icon { align-items: center; border-radius: 7px; display: flex; font-size: 17px; height: 25px; justify-content: center; width: 32px; }
  .nav-item.active .nav-icon { background: #edf5e9; }
  .nav-count { font-size: 8px; height: 14px; min-width: 14px; padding: 0 3px; right: calc(50% - 21px); top: 1px; }
  .main-area { margin-left: 0; padding-top: 56px; }
  .topbar { height: 56px; left: 0; padding: 0 12px; }
  .topbar-actions { gap: 8px; }
  .global-search { width: min(43vw, 180px); }
  .dashboard-install-button { border: 0; height: 32px; padding: 0; width: 30px; }
  .dashboard-install-button span { display: none; }
  .avatar-top { display: none; }
  .content-area { padding: 20px 14px 18px; }
  .app-footer { margin: 0 14px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(72px + env(safe-area-inset-bottom)); left: 14px; right: 14px; text-align: center; }
  .order-dialog { max-height: calc(100svh - 24px); overflow-y: auto; }
  .order-dialog form { padding: 19px; }
}

@media (max-width: 360px) {
  .nav-item { font-size: 7px; }
  .global-search { width: 39vw; }
  .notification-button { display: none; }
  .login-content { padding-left: 19px; padding-right: 19px; }
  .login-card h2 { font-size: 22px; }
  .login-install-button { right: 16px; top: 15px; }
  .login-install-button { font-size: 8px; height: 30px; padding: 0 7px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }

:root {
  --ink: #414741;
  --muted: #777e77;
  --navy: #2f682b;
  --navy-soft: #3d7835;
  --orange: #438b35;
  --orange-dark: #347528;
  --orange-pale: #edf5e9;
  --canvas: #f4f6f2;
  --line: #e6eae3;
  --green: #438b35;
  --green-pale: #eaf4e6;
  --red: #b65a50;
  --red-pale: #faefed;
  --shadow: 0 12px 32px rgba(44, 68, 39, .055);
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(67,139,53,.28); outline-offset: 2px; }
.brand-mark { background: transparent; height: 39px; width: 39px; }
.brand-mark img { display: block; height: 39px; width: 39px; }
.switcher-icon { background: #427a3b; color: #eef6e9; }
.nav-item.active { background: var(--orange); box-shadow: 0 5px 12px rgba(55,116,45,.2); }
.support-icon { background: rgba(138,190,119,.18); color: #c7e4b9; }
.support-box button { color: #c7e4b9; }
.avatar { background: #dce8d7; color: #3d6837; }
.avatar-top { background: #e4ece0; }
.notification-button > span, .logout-button { color: #647064; }
.button-primary { box-shadow: 0 4px 9px rgba(67,139,53,.18); }
.metric-icon.orange { background: var(--orange-pale); color: var(--orange); }
.metric-icon.green { background: var(--green-pale); color: var(--green); }
.metric-icon.blue { background: #eef1ed; color: #68766a; }
.text-button { color: var(--orange-dark); }
.bar { background: linear-gradient(180deg, #86b96d, #438b35); }
.status-pending { background: #edf5e9; color: #438b35; }
.status-picked { background: #eff1ee; color: #6d756c; }
.status-overdue { background: var(--red-pale); color: var(--red); }
.status-bar span:first-child, .legend-orange { background: #438b35; }
.status-bar span:last-child, .legend-green { background: #aab2a7; }
.insight-panel { background: #f5f8f2; border-color: #e4ebdf; }
.insight-heading, .dialog-heading .eyebrow { color: #4c7d41; }
.insight-panel p { color: #586253; }
.insight-bottom { color: #7f9277; }
.filter-chip.active { background: #edf5e9; border-color: #dcebd6; color: #397c2d; }
.row-action:hover { border-color: #a5c59a; color: #397c2d; }
.page-button.active { background: #edf5e9; border-color: #dcebd6; color: #397c2d; }
.report-progress i { background: #438b35; }
.report-summary { background: #f4f8f1; border-color: #e4ecdf; color: #5b7d50; }
.resident-card em { color: #4a8739; }
.toggle:checked { background: #438b35; }
.order-dialog { box-shadow: 0 24px 80px rgba(41,67,37,.23); }
.order-dialog::backdrop { background: rgba(35,52,33,.46); }
.field input:focus, .field select:focus { border-color: #82b472; }
.toast { background: #315f2b; box-shadow: 0 8px 22px rgba(41,67,37,.2); }