/* ==========================================================================
   HomeHub kiosk - kitchen console theme
   Deep pine console, parchment type, brass controls, signal-coral for alerts.
   Loaded after homehub.css so the kiosk mood wins without duplicating layout.
   ========================================================================== */

:root {
  --k-bg: #0a1213;
  --k-bg-deep: #070d0e;
  --k-panel: #122021;
  --k-panel-2: #172829;
  --k-text: #f3ecdd;
  --k-text-soft: #c9d2cb;
  --k-muted: #92a29e;
  --k-line: rgba(240, 232, 216, 0.13);
  --k-line-strong: rgba(240, 232, 216, 0.24);
  --k-brass: #d8b678;
  --k-brass-bright: #ebcf9c;
  --k-coral: #e5744e;
  --k-coral-soft: #f0a184;
  --k-green: #8fb79a;

  --ink: #f3ecdd;
  --ink-soft: #c9d2cb;
  --paper: #0a1213;
  --card: #122021;
  --line: rgba(240, 232, 216, 0.13);
  --line-strong: rgba(240, 232, 216, 0.24);
  --muted: #92a29e;
  --clay: #e5744e;
  --fern: #8fb79a;
  --denim: #85a9bc;
  --plum: #b18bb4;
  --ochre: #d8b678;
  --radius: 18px;
  --shadow-card: none;
}

body.hh-body {
  background: var(--k-bg);
  background-image:
    radial-gradient(90% 70% at 12% 0%, rgba(47, 73, 68, 0.38), rgba(10, 18, 19, 0) 62%),
    radial-gradient(70% 60% at 100% 10%, rgba(122, 86, 42, 0.18), rgba(10, 18, 19, 0) 60%);
  color: var(--k-text);
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
  color: var(--k-brass);
}

/* --------------------------------------------------------------- top bar */

.hh-top {
  min-height: 72px;
  padding: 14px 24px;
  background: rgba(7, 13, 14, 0.94);
  border-bottom: 1px solid var(--k-line);
  color: var(--k-text);
}

.hh-brand__mark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}

.hh-brand__name {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: var(--hh-fs-24, 24px);
  letter-spacing: 0.005em;
  color: var(--k-text);
}

.hh-brand__house {
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--k-line-strong);
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: var(--hh-fs-10, 10px);
  letter-spacing: 0.22em;
  color: var(--k-brass);
}

.hh-chip {
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: var(--hh-fs-10, 10px);
  letter-spacing: 0.12em;
  padding: 7px 11px;
  border-color: var(--k-line);
  color: var(--k-muted);
}

.hh-chip--sync.is-online {
  color: var(--k-green);
  border-color: rgba(143, 183, 154, 0.38);
}

.hh-chip--sync.is-offline {
  color: var(--k-coral-soft);
  border-color: rgba(229, 116, 78, 0.45);
}

.hh-user {
  border: 0;
  background: var(--k-brass);
  color: #14201d;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: var(--hh-fs-10, 10px);
  letter-spacing: 0.1em;
}

.hh-user__dot {
  background: #14201d;
}

/* ------------------------------------------------------------------ main */

.hh-main {
  padding: 26px 28px 32px;
}

.hh-view {
  max-width: 1320px;
}

.hh-view__head {
  margin-bottom: 22px;
}

.hh-eyebrow {
  margin-bottom: 7px;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: var(--hh-fs-10, 10px);
  letter-spacing: 0.22em;
  color: var(--k-brass);
}

.hh-title {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: var(--hh-fs-38, 38px);
  line-height: 1.08;
  color: var(--k-text);
}

.hh-subtitle {
  margin-top: 8px;
  font-size: var(--hh-fs-15, 15px);
  color: var(--k-muted);
}

/* -------------------------------------------------------------- home hero */

.hh-home {
  max-width: 1320px;
}

.hh-hero {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: flex-end;
  align-items: flex-end;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  margin: 2px 0 16px;
}

.hh-hero__copy {
  min-width: 0;
}

.hh-hero__greeting {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: var(--hh-fs-41, 41px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--k-text);
}

.hh-hero__greeting em {
  font-style: italic;
  color: var(--k-brass);
}

.hh-hero__summary {
  margin: 13px 0 0;
  font-size: var(--hh-fs-15, 15px);
  letter-spacing: 0.01em;
  color: var(--k-muted);
}

.hh-hero__summary span {
  margin: 0 9px;
  color: var(--k-brass);
}

.hh-hero__weather {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  margin-top: 12px;
  color: var(--k-text-soft);
}

.hh-hero__weather .hh-wicon {
  width: 30px;
  height: 30px;
  margin-right: 9px;
  color: var(--k-brass);
}

.hh-hero__weather strong {
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: var(--hh-fs-20, 20px);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--k-text);
}

.hh-hero__weather span {
  margin-left: 9px;
  font-size: var(--hh-fs-13, 13px);
  color: var(--k-muted);
}

.hh-hero__side {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: flex-end;
  align-items: flex-end;
  margin-left: 28px;
}

.hh-status {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: flex-end;
  align-items: flex-end;
}

.hh-status__time {
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: var(--hh-fs-12, 12px);
  letter-spacing: 0.08em;
  color: var(--k-text-soft);
  white-space: nowrap;
}

.hh-status__row {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  margin-top: 9px;
}

.hh-status__row .hh-chip {
  margin-left: 8px;
}

.hh-chip--role {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  background: transparent;
  color: var(--k-text);
  cursor: pointer;
  -webkit-appearance: none;
}

.hh-status__dot {
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--k-brass);
}

.hh-status__row .hh-chip--sync.is-offline {
  color: var(--k-coral-soft);
  border-color: rgba(229, 116, 78, 0.45);
}

.hh-hero__idle {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  min-width: 212px;
  min-height: 64px;
  margin: 16px 0 0;
  padding: 10px 18px;
  border: 1px solid var(--k-brass);
  border-radius: 16px;
  background: rgba(216, 182, 120, 0.07);
  color: var(--k-text);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
}

.hh-hero__idle:active {
  background: rgba(216, 182, 120, 0.17);
}

.hh-hero__idle-icon {
  width: 38px;
  height: 38px;
  margin-right: 12px;
  color: var(--k-brass);
}

.hh-hero__idle-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.hh-hero__idle strong {
  display: block;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: var(--hh-fs-12, 12px);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hh-hero__idle small {
  display: block;
  margin-top: 3px;
  font-size: var(--hh-fs-12, 12px);
  color: var(--k-muted);
}

/* ------------------------------------------------------------- tile grid */

.hh-homegrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 10px;
}

.hh-summary {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 12px 14px 10px;
  cursor: pointer;
}

.hh-card.hh-summary {
  padding: 10px 14px 8px;
}

.hh-summary--wide {
  grid-column: 1 / -1;
}

.hh-summary--notes {
  min-width: 0;
}

.hh-summary--notes .hh-summary__column {
  padding-right: 12px;
}

.hh-summary--notes .hh-summary__column + .hh-summary__column {
  padding-left: 12px;
}

.hh-summary--notes .hh-summary__title {
  font-size: var(--hh-fs-15, 15px);
  white-space: nowrap;
}

.hh-summary--notes .hh-summary__icon {
  display: none;
}

.hh-summary__head {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}

.hh-summary__icon {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-right: 8px;
  border: 1px solid rgba(216, 182, 120, 0.42);
  border-radius: 8px;
  color: var(--k-brass);
}

.hh-summary__icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hh-summary__title {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: var(--hh-fs-18, 18px);
  font-weight: 400;
  color: var(--k-text);
}

.hh-summary__go {
  margin-left: auto;
  padding: 5px 0 5px 10px;
  border: 0;
  background: transparent;
  color: var(--k-brass);
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: var(--hh-fs-8_5, 8.5px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-appearance: none;
}

.hh-summary__value {
  display: block;
  margin: 5px 0 1px;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: var(--hh-fs-28, 28px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--k-text);
}

.hh-summary__value small {
  margin-left: 6px;
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: var(--hh-fs-10_5, 10.5px);
  letter-spacing: 0.03em;
  color: var(--k-muted);
}

.hh-summary__meta {
  margin: 2px 0 0;
  font-size: var(--hh-fs-11, 11px);
  color: var(--k-muted);
}

.hh-summary__rows {
  display: block;
  margin-top: 3px;
}

.hh-summary__row {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: baseline;
  align-items: baseline;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  min-height: 21px;
  padding: 2px 0;
  border-top: 1px solid var(--k-line);
}

.hh-summary__row .hh-dot {
  width: 7px;
  height: 7px;
  margin-right: 7px;
}

.hh-summary__row .hh-check {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  border-radius: 5px;
  -webkit-flex-basis: 18px;
  flex-basis: 18px;
}

.hh-summary__row .hh-check[aria-pressed="true"]::after {
  left: 6px;
  top: 2px;
  width: 4px;
  height: 8px;
}

.hh-summary__bullet {
  width: 4px;
  height: 4px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--k-brass);
}

.hh-summary__row-title {
  -webkit-flex: 1 1 40%;
  flex: 1 1 40%;
  min-width: 6em;
  font-size: var(--hh-fs-12, 12px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--k-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hh-summary__row-meta {
  -webkit-flex: 0 1 auto;
  flex: 0 1 auto;
  margin-left: auto;
  padding-left: 8px;
  font-size: var(--hh-fs-9_5, 9.5px);
  line-height: 1.3;
  text-align: right;
  color: var(--k-muted);
  white-space: nowrap;
}

.hh-summary__row-meta .hh-badge {
  margin-left: 4px;
}

.hh-summary__empty {
  margin: 4px 0 0;
  font-size: var(--hh-fs-11_5, 11.5px);
  line-height: 1.3;
  color: var(--k-muted);
}

.hh-summary__action {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 6px 0 0;
  border: 0;
  border-top: 1px solid var(--k-line);
  background: transparent;
  color: var(--k-brass);
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: var(--hh-fs-8_5, 8.5px);
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-appearance: none;
}

.hh-summary__action span {
  float: right;
}

.hh-summary__weather {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  margin-top: 2px;
}

.hh-summary__weather .hh-wicon {
  width: 24px;
  height: 24px;
  margin-right: 7px;
  color: var(--k-brass);
}

.hh-summary__weather strong {
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: var(--hh-fs-28, 28px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--k-text);
}

.hh-summary__weather strong small {
  margin-left: 2px;
  font-size: var(--hh-fs-10, 10px);
  color: var(--k-muted);
}

.hh-summary__weather span {
  margin-left: 8px;
  font-size: var(--hh-fs-11_5, 11.5px);
  color: var(--k-muted);
}

.hh-summary__split {
  display: -webkit-flex;
  display: flex;
}

.hh-summary__column {
  -webkit-flex: 1 1 50%;
  flex: 1 1 50%;
  min-width: 0;
  padding-right: 20px;
}

.hh-summary__column + .hh-summary__column {
  padding-left: 20px;
  padding-right: 0;
  border-left: 1px solid var(--k-line);
}

.hh-summary__notice {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: baseline;
  align-items: baseline;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  padding: 4px 0;
  border-top: 1px solid var(--k-line);
}

.hh-summary__notice strong {
  -webkit-flex: 1 1 auto;
  flex: 1 1 auto;
  min-width: 6em;
  font-size: var(--hh-fs-12, 12px);
  font-weight: 500;
  color: var(--k-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hh-summary__notice small {
  -webkit-flex: 0 1 auto;
  flex: 0 1 auto;
  max-width: 58%;
  margin-left: auto;
  padding-left: 8px;
  font-size: var(--hh-fs-9_5, 9.5px);
  line-height: 1.3;
  text-align: right;
  color: var(--k-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hh-badge {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid var(--k-line);
  border-radius: 999px;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: var(--hh-fs-8, 8px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--k-muted);
}

.hh-badge--low {
  margin-left: 6px;
  border-color: rgba(229, 116, 78, 0.55);
  color: var(--k-coral-soft);
}

/* --------------------------------------------------------------- tabs */

.hh-tabs {
  display: -webkit-inline-flex;
  display: inline-flex;
  margin: 0 0 14px;
  border: 1px solid var(--k-line);
  border-radius: 12px;
  overflow: hidden;
}

.hh-tab {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-right: 1px solid var(--k-line);
  background: transparent;
  color: var(--k-muted);
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: var(--hh-fs-9_5, 9.5px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-appearance: none;
}

.hh-tab:last-child {
  border-right: 0;
}

.hh-tab.is-active {
  background: var(--k-brass);
  color: #14201d;
}

.hh-emailbar {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 12px 16px;
  border: 1px solid var(--k-line);
  border-radius: 16px;
  background: rgba(240, 232, 216, 0.035);
}

.hh-emailbar__title {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: var(--hh-fs-19, 19px);
  font-weight: 400;
  color: var(--k-text);
}

.hh-emailbar__hint {
  margin: 2px 0 0;
  font-size: var(--hh-fs-11, 11px);
  color: var(--k-muted);
}

.hh-emailbar__form {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  margin-left: 18px;
}

.hh-emailbar__form .hh-input {
  width: 240px;
  min-height: 42px;
  font-size: var(--hh-fs-14, 14px);
}

.hh-emailbar__form .hh-btn {
  min-height: 42px;
  margin-left: 8px;
  white-space: nowrap;
}

.hh-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 14px;
}

.hh-tile {
  position: relative;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  min-height: 186px;
  padding: 19px 20px 17px;
  border: 1px solid var(--k-line);
  border-radius: 20px;
  background: -webkit-linear-gradient(top, #172728, #101b1c);
  background: linear-gradient(160deg, #172728, #101b1c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 22px 38px -32px #000;
  color: var(--k-text);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  -webkit-appearance: none;
}

.hh-tile:active {
  background: #1b2d2d;
}

.hh-tile--wide {
  grid-column: span 2;
}

.hh-tile--full {
  grid-column: 1 / -1;
  min-height: 0;
}

.hh-tile__head {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  min-width: 0;
}

.hh-tile__icon {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 12px;
  border: 1px solid rgba(216, 182, 120, 0.45);
  border-radius: 12px;
  color: var(--k-brass);
}

.hh-tile__svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hh-tile__label {
  min-width: 0;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: var(--hh-fs-10, 10px);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--k-muted);
}

.hh-tile__go {
  margin-left: auto;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: var(--hh-fs-9_5, 9.5px);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--k-brass);
}

.hh-tile__go::after {
  content: " \2192";
}

.hh-tile__value {
  display: block;
  margin: 14px 0 0;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: var(--hh-fs-52, 52px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.055em;
  color: var(--k-text);
}

.hh-tile__value small {
  margin-left: 9px;
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: var(--hh-fs-12, 12px);
  letter-spacing: 0.03em;
  color: var(--k-muted);
}

.hh-tile__meta {
  display: block;
  margin-top: 9px;
  font-size: var(--hh-fs-14, 14px);
  line-height: 1.35;
  color: var(--k-text-soft);
}

.hh-tile__rows {
  display: block;
  margin-top: 11px;
}

.hh-tile__row {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  padding: 7px 0;
  border-top: 1px solid var(--k-line);
}

.hh-tile__row .hh-dot {
  margin-top: 6px;
  margin-right: 9px;
}

.hh-tile__row-copy {
  display: block;
  min-width: 0;
}

.hh-tile__row-copy strong {
  display: block;
  font-size: var(--hh-fs-14, 14px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--k-text);
}

.hh-tile__row-copy small {
  display: block;
  margin-top: 2px;
  font-size: var(--hh-fs-11_5, 11.5px);
  color: var(--k-muted);
}

.hh-tile--weather .hh-tile__weather {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  margin-top: 11px;
}

.hh-tile--weather .hh-wicon {
  width: 42px;
  height: 42px;
  margin-right: 12px;
  color: var(--k-brass);
}

.hh-tile__temp {
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: var(--hh-fs-46, 46px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--k-text);
}

.hh-tile__temp small {
  margin-left: 3px;
  font-size: var(--hh-fs-13, 13px);
  color: var(--k-muted);
}

.hh-tile--weather .hh-tile__meta {
  margin-top: 5px;
  font-size: var(--hh-fs-13, 13px);
}

.hh-tile .hh-forecast {
  margin-top: auto;
  padding-top: 10px;
}

.hh-tile .hh-forecast__day {
  padding: 0 9px;
}

.hh-tile .hh-forecast__label {
  font-size: var(--hh-fs-9, 9px);
}

.hh-tile .hh-forecast__temps {
  font-size: var(--hh-fs-12, 12px);
}

.hh-tile .hh-forecast__temps strong {
  font-size: var(--hh-fs-12, 12px);
}

.hh-tile .hh-forecast__day .hh-wicon {
  width: 20px;
  height: 20px;
  margin: 3px 0;
}

.hh-tile__notes {
  display: -webkit-flex;
  display: flex;
  margin-top: 14px;
}

/* ------------------------------------------------------------ comboboxes */

.hh-combo__panel {
  background: #0d191a;
  border-color: var(--k-line-strong);
  box-shadow: 0 22px 42px -24px #000;
}

.hh-combo__option {
  color: var(--k-text);
}

.hh-combo__option.is-active,
.hh-combo__option:active {
  background: rgba(216, 182, 120, 0.16);
  color: var(--k-brass-bright);
}

.hh-combo__empty {
  color: var(--k-muted);
}

.hh-combo__type {
  color: var(--k-brass);
  border-top-color: var(--k-line);
  background: transparent;
}

.hh-combo__type:active,
.hh-combo__toggle:active {
  background: rgba(216, 182, 120, 0.12);
}

.hh-combo__input {
  padding-right: 84px;
}

.hh-combo__mic {
  position: absolute;
  top: 2px;
  right: 42px;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--k-brass);
  cursor: pointer;
  -webkit-appearance: none;
}

.hh-combo__mic svg,
.hh-mic svg {
  width: 18px;
  height: 18px;
  margin: 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hh-combo__mic:active {
  background: rgba(216, 182, 120, 0.12);
}

.hh-speech-field {
  position: relative;
}

.hh-speech-field .hh-mic {
  position: absolute;
  top: 22px;
  right: 6px;
  z-index: 2;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--k-brass);
  cursor: pointer;
  -webkit-appearance: none;
}

.hh-speech-field .hh-textarea {
  padding-right: 48px;
}

.hh-setting__control.hh-speech-field {
  position: relative;
}

.hh-setting__control.hh-speech-field .hh-input {
  padding-right: 42px;
}

.hh-setting__control.hh-speech-field .hh-mic {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 38px;
  height: 38px;
}

.hh-emailbar__form.hh-speech-field .hh-mic {
  position: static;
  width: 38px;
  height: 38px;
  margin-left: 5px;
}

.hh-quick__btn {
  border-color: var(--k-line);
  background: #0b1718;
  color: var(--k-text-soft);
  min-height: 38px;
  font-size: var(--hh-fs-12_5, 12.5px);
}

.hh-quick__btn:active {
  background: rgba(216, 182, 120, 0.12);
  border-color: var(--k-brass);
}

.hh-check {
  background: #0b1718;
  border-color: var(--k-line-strong);
}

.hh-check[aria-pressed="true"] {
  background: var(--k-brass);
  border-color: var(--k-brass);
}

.hh-check[aria-pressed="true"]::after {
  border-right-color: #14201d;
  border-bottom-color: #14201d;
}

.hh-tile__note {
  -webkit-flex: 1 1 50%;
  flex: 1 1 50%;
  min-width: 0;
  padding-right: 26px;
}

.hh-tile__note + .hh-tile__note {
  padding-left: 26px;
  border-left: 1px solid var(--k-line);
}

.hh-tile__note strong {
  display: block;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: var(--hh-fs-21, 21px);
  font-weight: 400;
  color: var(--k-text);
}

.hh-tile__note small {
  display: block;
  margin-top: 5px;
  font-size: var(--hh-fs-14, 14px);
  line-height: 1.4;
  color: var(--k-muted);
}

/* ------------------------------------------------------------------ cards */

.hh-grid {
  grid-gap: 14px;
}

.hh-card {
  padding: 22px;
  border-radius: 20px;
  background: -webkit-linear-gradient(top, #162526, #111c1d);
  background: linear-gradient(160deg, #162526, #111c1d);
  border-color: var(--k-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hh-card--flush {
  padding: 0;
}

.hh-card__head {
  margin-bottom: 14px;
}

.hh-card__title {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: var(--hh-fs-23, 23px);
  color: var(--k-text);
}

.hh-card__link {
  padding: 7px 11px;
  border: 1px solid var(--k-line);
  border-radius: 999px;
  background: transparent;
  color: var(--k-brass);
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: var(--hh-fs-9_5, 9.5px);
  letter-spacing: 0.12em;
}

.hh-card__link:active {
  background: rgba(216, 182, 120, 0.12);
}

/* --------------------------------------------------------------- list rows */

.hh-list {
  margin-top: 2px;
}

.hh-row {
  padding: 11px 0;
  border-top-color: var(--k-line);
}

.hh-row__title {
  font-size: var(--hh-fs-16, 16px);
  color: var(--k-text);
}

.hh-row__meta {
  font-size: var(--hh-fs-12, 12px);
  color: var(--k-muted);
}

.hh-row__bar {
  width: 3px;
  min-height: 32px;
}

.hh-row__aside .hh-btn + .hh-btn {
  margin-left: 6px;
}

.hh-help,
.hh-muted {
  color: var(--k-muted);
}

.hh-help {
  font-size: var(--hh-fs-12_5, 12.5px);
}

/* ---------------------------------------------------------------- buttons */

.hh-btn {
  min-height: 46px;
  padding: 11px 17px;
  border-radius: 13px;
  background: var(--k-brass);
  color: #14201d;
  font-size: var(--hh-fs-14, 14px);
  font-weight: 600;
}

.hh-btn:active {
  background: var(--k-brass-bright);
}

.hh-btn--ghost {
  background: transparent;
  border: 1px solid var(--k-line-strong);
  color: var(--k-text);
}

.hh-btn--ghost:active {
  background: rgba(240, 232, 216, 0.08);
}

.hh-btn--danger {
  background: transparent;
  border: 1px solid rgba(229, 116, 78, 0.6);
  color: var(--k-coral-soft);
}

.hh-btn--small {
  min-height: 38px;
  padding: 8px 13px;
  font-size: var(--hh-fs-12_5, 12.5px);
}

.hh-btn[disabled] {
  opacity: 0.42;
}

.hh-actions > * {
  margin-right: 8px;
}

/* ------------------------------------------------------------------ forms */

.hh-form {
  margin-top: 4px;
}

.hh-label {
  margin-bottom: 5px;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: var(--hh-fs-9_5, 9.5px);
  letter-spacing: 0.14em;
  color: var(--k-muted);
}

.hh-input,
.hh-select,
.hh-textarea {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--k-line);
  border-radius: 12px;
  background: #0b1718;
  color: var(--k-text);
  font-size: var(--hh-fs-16, 16px);
}

.hh-textarea {
  min-height: 96px;
}

.hh-input:focus,
.hh-select:focus,
.hh-textarea:focus {
  border-color: var(--k-brass);
  box-shadow: 0 0 0 2px rgba(216, 182, 120, 0.18);
}

.hh-note {
  padding: 11px 13px;
  border: 1px solid var(--k-line);
  border-left: 2px solid var(--k-brass);
  border-radius: 10px;
  background: rgba(240, 232, 216, 0.035);
  color: var(--k-muted);
  font-size: var(--hh-fs-12_5, 12.5px);
}

.hh-note strong {
  color: var(--k-text);
}

/* --------------------------------------------------------------- settings */

.hh-setting {
  border-top-color: var(--k-line);
  padding: 15px 0;
}

.hh-setting__name {
  font-size: var(--hh-fs-16, 16px);
  color: var(--k-text);
}

.hh-setting__hint {
  font-size: var(--hh-fs-12, 12px);
  color: var(--k-muted);
}

.hh-setting__control .hh-input,
.hh-setting__control .hh-select {
  min-height: 42px;
  font-size: var(--hh-fs-14, 14px);
}

.hh-switch__track {
  background: #0b1718;
  border: 1px solid var(--k-line-strong);
}

.hh-switch__track::after {
  background: var(--k-muted);
}

.hh-switch input:checked + .hh-switch__track {
  background: var(--k-brass);
  border-color: var(--k-brass);
}

.hh-switch input:checked + .hh-switch__track::after {
  background: #14201d;
}

.hh-seg {
  background: #0b1718;
  border: 1px solid var(--k-line);
  border-radius: 12px;
}

.hh-seg button {
  min-height: 40px;
  color: var(--k-muted);
  font-size: var(--hh-fs-12_5, 12.5px);
}

.hh-seg button[aria-pressed="true"] {
  background: var(--k-brass);
  color: #14201d;
}

/* --------------------------------------------------------------- calendar */

.hh-cal {
  background: transparent;
}

.hh-cal__dow {
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: var(--hh-fs-9_5, 9.5px);
  color: var(--k-muted);
}

.hh-cal__day {
  min-height: 58px;
  padding: 7px;
  border: 1px solid var(--k-line);
  border-radius: 11px;
  background: #0d191a;
  color: var(--k-text);
}

.hh-cal__day.is-outside {
  color: #5f6f6c;
  background: transparent;
}

.hh-cal__day.is-today {
  border-color: var(--k-brass);
}

.hh-cal__day.is-selected {
  background: var(--k-brass);
  border-color: var(--k-brass);
  color: #14201d;
}

.hh-cal__num {
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: var(--hh-fs-14, 14px);
}

.hh-cal__event {
  color: var(--k-text-soft);
}

.hh-cal__more {
  color: var(--k-muted);
}

/* -------------------------------------------------------- weather + notes */

.hh-weather {
  color: var(--k-text);
}

.hh-weather__now {
  color: var(--k-text);
}

.hh-weather__temp {
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  color: var(--k-text);
}

.hh-weather__unit {
  color: var(--k-muted);
}

.hh-weather__cond,
.hh-weather__meta {
  color: var(--k-muted);
}

.hh-forecast {
  margin-top: 14px;
}

.hh-forecast__day {
  border-left-color: var(--k-line);
}

.hh-forecast__label,
.hh-forecast__rain {
  color: var(--k-muted);
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
}

.hh-forecast__temps {
  color: var(--k-text);
}

.hh-forecast__temps strong {
  color: var(--k-text);
}

.hh-note-card {
  border-top-color: var(--k-line);
}

.hh-note-card__title {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color: var(--k-text);
}

.hh-note-card__body {
  color: var(--k-text-soft);
}

.hh-note-card__meta {
  color: var(--k-muted);
}

/* -------------------------------------------------------------------- nav */

.hh-app {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  height: 100%;
}

.hh-main {
  grid-column: 2;
  grid-row: 1;
  min-height: 0;
}

.hh-nav {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 20;
  grid-column: 1;
  grid-row: 1;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: stretch;
  align-items: stretch;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  width: auto;
  min-height: 0;
  padding: 14px 10px calc(14px + env(safe-area-inset-bottom));
  background: #070d0e;
  border-top: 0;
  border-right: 1px solid var(--k-line);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.hh-nav__brand {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  height: 44px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--k-line);
}

.hh-nav__brand .hh-brand__mark {
  width: 27px;
  height: 27px;
  margin: 0;
  border-radius: 7px;
}

.hh-nav__item {
  -webkit-flex: 0 0 auto;
  flex: 0 0 auto;
  width: 100%;
  min-height: 62px;
  margin-bottom: 4px;
  padding: 8px 4px;
  border-radius: 13px;
  color: var(--k-muted);
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: var(--hh-fs-8_5, 8.5px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hh-nav__item svg {
  width: 24px;
  height: 24px;
  margin-bottom: 6px;
  stroke-width: 1.45;
}

.hh-nav__item[data-route="settings"] {
  margin-top: auto;
}

.hh-nav__item.is-active {
  background: var(--k-brass);
  color: #14201d;
}

.hh-nav__item:active {
  background: rgba(216, 182, 120, 0.15);
}

.hh-nav__item.is-active:active {
  background: var(--k-brass-bright);
}

/* ------------------------------------------------------------------ toast */

.hh-toast {
  background: var(--k-brass);
  color: #14201d;
  font-size: var(--hh-fs-13, 13px);
  font-weight: 600;
}

/* --------------------------------------------------------------- portrait */

@media (max-width: 820px) {
  .hh-top {
    padding: 12px 16px;
  }

  .hh-brand__name {
    font-size: var(--hh-fs-20, 20px);
  }

  .hh-brand__house {
    font-size: var(--hh-fs-9, 9px);
    letter-spacing: 0.15em;
  }

  .hh-main {
    padding: 20px 16px 28px;
  }

  .hh-app {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .hh-nav {
    padding: 10px 6px calc(10px + env(safe-area-inset-bottom));
  }

  .hh-nav__brand {
    height: 38px;
    margin-bottom: 10px;
  }

  .hh-nav__brand .hh-brand__mark {
    width: 24px;
    height: 24px;
  }

  .hh-nav__item {
    min-height: 56px;
    padding: 6px 2px;
    font-size: var(--hh-fs-7_5, 7.5px);
    letter-spacing: 0.07em;
  }

  .hh-nav__item svg {
    width: 22px;
    height: 22px;
    margin-bottom: 5px;
  }

  .hh-hero {
    display: block;
  }

  .hh-hero__greeting {
    font-size: var(--hh-fs-37, 37px);
  }

  .hh-hero__side {
    -webkit-align-items: stretch;
    align-items: stretch;
    margin: 16px 0 0;
  }

  .hh-status {
    -webkit-align-items: flex-start;
    align-items: flex-start;
  }

  .hh-status__row .hh-chip {
    margin-left: 0;
    margin-right: 8px;
  }

  .hh-hero__idle {
    width: 100%;
    margin: 14px 0 0;
  }

  .hh-emailbar {
    display: block;
  }

  .hh-emailbar__form {
    margin: 10px 0 0;
  }

  .hh-emailbar__form .hh-input {
    width: auto;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
  }

  .hh-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 12px;
  }

  .hh-tile {
    min-height: 176px;
    padding: 17px;
  }

  .hh-tile--wide,
  .hh-tile--full {
    grid-column: 1 / -1;
  }

  .hh-tile__value {
    font-size: var(--hh-fs-46, 46px);
  }

  .hh-tile__notes {
    display: block;
  }

  .hh-tile__note {
    padding: 8px 0;
  }

  .hh-tile__note + .hh-tile__note {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--k-line);
  }

  .hh-title {
    font-size: var(--hh-fs-32, 32px);
  }

  .hh-view__head {
    display: block;
  }

  .hh-view__head .hh-btn {
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hh-tile,
  .hh-hero__idle,
  .hh-btn {
    -webkit-transition: none !important;
    transition: none !important;
  }
}

/* -------------------------------------------------------------- expenses */

.hh-expenses .hh-view__head {
  margin-bottom: 18px;
}

.hh-expense-hero {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  background: -webkit-linear-gradient(145deg, #1a2d2b, #101d1d);
  background: linear-gradient(145deg, #1a2d2b, #101d1d);
}

.hh-expense-hero h2 {
  margin: 8px 0 4px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 54px;
  font-weight: 400;
  color: var(--k-brass-bright);
}

.hh-expense-hero__pills {
  display: -webkit-flex;
  display: flex;
}

.hh-expense-hero__pills span {
  min-width: 104px;
  margin-right: 12px;
  padding: 11px 12px;
  border: 1px solid var(--k-line);
  border-radius: 12px;
  background: rgba(247, 250, 253, 0.03);
}

.hh-expense-hero__pills strong {
  display: block;
  font-size: 17px;
  color: var(--k-text);
}

.hh-expense-hero__pills small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--k-muted);
}

.hh-expense-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 16px;
  margin-top: 16px;
}

.hh-expense-bar {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 66px;
  grid-gap: 10px;
  align-items: center;
  margin: 11px 0;
  font-size: 12px;
}

.hh-expense-bar__label {
  color: var(--k-muted);
}

.hh-expense-bar__track {
  display: block;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(247, 250, 253, 0.08);
}

.hh-expense-bar__track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--k-brass);
}

.hh-expense-bar strong,
.hh-expense-amount {
  text-align: right;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-weight: 400;
  color: var(--k-text);
}

.hh-expense-tips li {
  margin: 8px 0;
  color: var(--k-text-soft);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .hh-expense-hero {
    display: block;
  }

  .hh-expense-hero__pills {
    margin-top: 16px;
  }

  .hh-expense-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------- monthly expense history */

.hh-expense-history {
  margin-top: 18px;
}

.hh-expense-month {
  margin-top: 10px;
  border: 1px solid var(--k-line);
  border-radius: 14px;
  background: var(--k-panel);
  overflow: hidden;
}

.hh-expense-month summary {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
}

.hh-expense-month summary::-webkit-details-marker {
  display: none;
}

.hh-expense-month summary::after {
  content: "+";
  order: 3;
  margin-left: 14px;
  color: var(--k-brass);
  font-size: 18px;
}

.hh-expense-month[open] summary::after {
  content: "−";
}

.hh-expense-month__title {
  display: block;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 20px;
  color: var(--k-text);
}

.hh-expense-month__title small {
  display: block;
  margin-top: 3px;
  font: 10px "SFMono-Regular", Menlo, Consolas, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--k-muted);
}

.hh-expense-month__badge {
  color: var(--k-coral-soft);
  border-color: rgba(229, 116, 78, 0.5);
  vertical-align: 2px;
}

.hh-expense-month__body {
  padding: 0 18px 18px;
  border-top: 1px solid var(--k-line);
}

.hh-expense-month__figures {
  display: -webkit-flex;
  display: flex;
  margin: 14px 0;
}

.hh-expense-month__figures span {
  min-width: 138px;
  margin-right: 10px;
  padding: 9px 11px;
  border: 1px solid var(--k-line);
  border-radius: 10px;
}

.hh-expense-month__figures strong {
  display: block;
  color: var(--k-text);
}

.hh-expense-month__figures small {
  display: block;
  margin-top: 2px;
  color: var(--k-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hh-expense-month__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 16px;
}

.hh-expense-month__columns h3 {
  margin: 8px 0;
  font: 10px "SFMono-Regular", Menlo, Consolas, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--k-muted);
}

.hh-expense-month__columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hh-expense-month__columns li {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--k-line);
  color: var(--k-text-soft);
  font-size: 12px;
}

.hh-expense-month__columns li small {
  color: var(--k-muted);
}

@media (max-width: 760px) {
  .hh-expense-month__columns {
    grid-template-columns: 1fr;
  }

  .hh-expense-month__figures {
    display: block;
  }

  .hh-expense-month__figures span {
    margin: 0 0 8px;
  }
}
