:root {
  --doma-ink: #2B2118;
  --doma-heading: #3A2A1D;
  --doma-espresso: #3A2A1D;
  --doma-cacao: #5A3D22;
  --doma-bronze: #7A6042;
  --doma-taupe: #A68E72;
  --doma-stone: #CDBDA8;
  --doma-sand: #E7DCCB;
  --doma-linen: #F1E9DD;
  --doma-ivory: #FBF7EF;
  --doma-soft-ivory: #FFFDF8;
  --doma-cream: #F8F1E8;
  --doma-white: #FFFDF8;
  --doma-muted: #7C6A56;
  --doma-line: #D7C9B7;
  --doma-paper: #FBF7EF;
  --doma-panel: #FFFDF8;
  --doma-green: #70614A;
  --doma-blue: #6F5E47;
  --doma-wine: #5A3D22;
  --doma-oxblood: #8A1717;
  --doma-shadow: 0 14px 40px rgba(60, 44, 29, .055);
  --shadow-card: 0 14px 40px rgba(60, 44, 29, .055);
  --shadow-card-hover: 0 18px 48px rgba(60, 44, 29, .085);
  --shadow-panel: 0 22px 70px rgba(60, 44, 29, .08);
  --shadow-hero: 0 24px 80px rgba(43, 31, 20, .16);
  --shadow-drawer: 0 24px 80px rgba(43, 31, 20, .22);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-card: 20px;
  --radius-panel: 24px;
  --radius-hero: 28px;
  --radius-pill: 999px;
  --font-display: "Josefin Sans", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

.doma-single-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  background: var(--doma-paper);
  color: var(--doma-ink);
  font-family: "Josefin Sans", "Avenir Next", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.doma-single-shell button,
.doma-single-shell input {
  font: inherit;
  letter-spacing: 0;
}

.doma-single-shell--loading,
.doma-single-shell--blocked {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  padding: 28px;
}

.doma-single-shell--loading {
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
}

.doma-single-loader,
.doma-single-blocked-card {
  width: min(100%, 520px);
  padding: 32px;
  border: 1px solid var(--doma-line);
  border-radius: 8px;
  background: var(--doma-panel);
  box-shadow: var(--doma-shadow);
  text-align: center;
}

.doma-single-loader__mark {
  width: 168px;
  min-height: 96px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  animation: domaLogoFloat 1800ms ease-in-out infinite;
}

.doma-single-loader__logo {
  display: block;
  width: min(168px, 48vw);
  height: auto;
  filter: drop-shadow(0 14px 26px rgba(43, 29, 31, .14));
}

.doma-single-loader__text,
.doma-single-blocked-card p {
  color: var(--doma-muted);
  line-height: 1.55;
}

.doma-shell-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  border-right: 1px solid var(--doma-line);
  background: #F4EEE5;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.doma-shell-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.doma-shell-brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: transparent;
  overflow: hidden;
}

.doma-shell-brand__logo {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.doma-shell-brand__title {
  font-weight: 700;
  font-size: 16px;
}

.doma-shell-brand__subtitle,
.doma-shell-eyebrow {
  color: var(--doma-muted);
  font-size: 12px;
  text-transform: uppercase;
}

.doma-shell-nav {
  display: grid;
  gap: 6px;
}

.doma-nav-button {
  width: 100%;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--doma-muted);
  text-align: left;
  padding: 0 14px;
  cursor: pointer;
}

.doma-nav-button:hover,
.doma-nav-button.is-active {
  border-color: var(--doma-line);
  background: var(--doma-panel);
  color: var(--doma-ink);
}

.doma-shell-sidebar__footer {
  margin-top: auto;
  padding: 14px;
  border: 1px solid var(--doma-line);
  border-radius: 8px;
  background: rgba(253, 250, 245, .72);
}

.doma-shell-sidebar__footer p {
  margin: 6px 0 0;
  color: var(--doma-muted);
  font-size: 13px;
  line-height: 1.45;
}

.doma-shell-content {
  min-width: 0;
}

.doma-shell-topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(197, 183, 168, .82);
  background: rgba(253, 250, 245, .94);
  backdrop-filter: blur(14px);
}

.doma-shell-topbar__title {
  margin-top: 2px;
  font-weight: 700;
  font-size: 18px;
}

.doma-shell-topbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.doma-bug-report-button {
  white-space: nowrap;
}

.doma-shell-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 28px clamp(24px, 2.4vw, 44px);
  outline: none;
}

.doma-shell-rail {
  display: none;
}

.doma-rail-card,
.doma-panel,
.doma-residence-hero,
.doma-simple-card,
.doma-request-card,
.doma-project-card,
.doma-info-tile {
  border: 1px solid var(--doma-line);
  border-radius: 8px;
  background: var(--doma-panel);
}

.doma-rail-card {
  padding: 20px;
  box-shadow: var(--doma-shadow);
}

.doma-rail-card h2 {
  margin: 6px 0 10px;
  font-size: 22px;
}

.doma-rail-card p {
  margin: 0 0 18px;
  color: var(--doma-muted);
  line-height: 1.55;
}

.doma-rail-stats {
  display: grid;
  gap: 8px;
}

.doma-view-header {
  margin-bottom: 22px;
}

.doma-view-header h1 {
  margin: 4px 0 0;
  color: var(--doma-heading);
  font-family: "Josefin Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 700;
}

.doma-section-masthead {
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--doma-line);
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  color: #FDFAF5;
  background:
    linear-gradient(90deg, rgba(43, 29, 31, .58), rgba(74, 53, 28, .16)),
    linear-gradient(135deg, #4A351C, #71614B 62%, #E5DBC8);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.doma-section-masthead h1 {
  max-width: 760px;
  margin: 6px 0 6px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.doma-section-masthead p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 250, 240, .88);
  font-size: 16px;
  line-height: 1.5;
}

.doma-residence-hero {
  min-height: 340px;
  padding: 32px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #FDFAF5;
  background:
    linear-gradient(90deg, rgba(43, 29, 31, .62), rgba(74, 53, 28, .18)),
    linear-gradient(135deg, #4A351C, #71614B 56%, #E5DBC8);
  background-size: cover;
  background-position: center;
}

@keyframes domaLogoFloat {
  0%, 100% {
    opacity: .86;
    transform: translateY(0) scale(.985);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px) scale(1);
  }
}

.doma-residence-hero h1 {
  max-width: 720px;
  margin: 8px 0 10px;
  font-family: "Josefin Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1;
  font-weight: 700;
}

.doma-residence-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 250, 240, .86);
  font-size: 17px;
  line-height: 1.55;
}

.doma-hero-metrics {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.doma-hero-metrics div {
  min-width: 118px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 250, 240, .28);
  border-radius: 8px;
  background: rgba(255, 250, 240, .1);
}

.doma-hero-metrics strong {
  display: block;
  font-size: 24px;
}

.doma-hero-metrics span {
  color: rgba(255, 250, 240, .78);
  font-size: 12px;
  text-transform: uppercase;
}

.doma-dashboard-grid,
.doma-module-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.doma-dashboard-grid > .doma-panel {
  grid-column: span 3;
}

.doma-dashboard-grid > .doma-panel--today,
.doma-dashboard-grid > .doma-panel--concierge {
  grid-column: span 6;
}

.doma-module-grid > .doma-panel {
  grid-column: span 4;
}

.doma-panel {
  padding: 20px;
  min-width: 0;
  box-shadow: 0 10px 28px rgba(74, 53, 28, .06);
}

.doma-panel--wide,
.doma-module-grid > .doma-panel--wide,
.doma-module-grid > .doma-functional-bridge {
  grid-column: 1 / -1;
}

.doma-panel__header {
  min-height: 44px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.doma-panel__header h2 {
  margin: 3px 0 0;
  color: var(--doma-heading);
  font-family: "Josefin Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
}

.doma-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--doma-line);
  color: var(--doma-muted);
  background: var(--doma-stone);
  font-size: 12px;
  white-space: nowrap;
}

.doma-status-badge--warm {
  border-color: #C5B7A8;
  color: #4A351C;
  background: #F1E5D4;
}

.doma-status-badge--green,
.doma-status-badge--calm {
  border-color: #C5B7A8;
  color: var(--doma-green);
  background: rgba(229, 219, 200, .72);
}

.doma-status-badge--blue {
  border-color: #C5B7A8;
  color: var(--doma-blue);
  background: #F7F0E6;
}

.doma-attention-list,
.doma-stack,
.doma-brief-list {
  display: grid;
  gap: 10px;
}

.doma-attention-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 42px;
  color: var(--doma-ink);
}

.doma-brief-list {
  margin: 0;
  padding-left: 18px;
  color: var(--doma-muted);
  line-height: 1.55;
}

.doma-concierge-prompts,
.doma-action-grid,
.doma-action-card-grid,
.doma-concierge-prompt-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.doma-concierge-prompts {
  margin-top: 18px;
}

.doma-concierge-prompts button,
.doma-concierge-prompt-grid button,
.doma-shell-button {
  min-height: 42px;
  border: 1px solid var(--doma-bronze);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--doma-bronze);
  color: #FDFAF5;
  cursor: pointer;
}

.doma-action-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.doma-action-card {
  min-height: 98px;
  padding: 16px;
  border: 1px solid var(--doma-line);
  border-radius: 8px;
  background: #F7F0E6;
  color: var(--doma-ink);
  text-align: left;
  cursor: pointer;
}

.doma-action-card strong,
.doma-action-card span {
  display: block;
}

.doma-action-card strong {
  color: var(--doma-heading);
  font-size: 17px;
}

.doma-action-card span {
  margin-top: 8px;
  color: var(--doma-muted);
  line-height: 1.45;
}

.doma-shell-button--quiet {
  background: transparent;
  color: var(--doma-heading);
}

.doma-action-grid .doma-shell-button {
  flex: 1 1 180px;
}

.doma-request-card,
.doma-simple-card {
  padding: 14px;
}

.doma-request-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.doma-request-card__title,
.doma-simple-card__title {
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.doma-request-card__meta,
.doma-simple-card__meta,
.doma-empty-state,
.doma-data-note {
  margin-top: 5px;
  color: var(--doma-muted);
  font-size: 14px;
  line-height: 1.45;
}

.doma-empty-state,
.doma-request-draft-placeholder {
  padding: 16px;
  border: 1px dashed var(--doma-line);
  border-radius: 8px;
  background: #F7F0E6;
}

.doma-protected-access-note {
  margin-bottom: 18px;
}

.doma-request-draft-placeholder h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.doma-request-draft-placeholder p {
  margin: 0;
  color: var(--doma-muted);
  line-height: 1.55;
}

.doma-functional-bridge {
  padding: 0;
  overflow: hidden;
}

.doma-functional-bridge > .doma-panel__header,
.doma-functional-bridge__copy {
  margin-left: 20px;
  margin-right: 20px;
}

.doma-functional-bridge > .doma-panel__header {
  margin-top: 20px;
}

.doma-functional-bridge__copy {
  margin-top: -6px;
  margin-bottom: 16px;
  max-width: 760px;
  color: var(--doma-muted);
  line-height: 1.55;
}

.doma-functional-frame {
  display: block;
  width: 100%;
  min-height: 720px;
  height: 920px;
  border: 0;
  background: #FDFAF4;
}

.doma-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.doma-info-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.doma-info-tile {
  padding: 14px;
  min-width: 0;
}

.doma-info-tile span {
  display: block;
  color: var(--doma-muted);
  font-size: 12px;
  text-transform: uppercase;
}

.doma-info-tile strong {
  display: block;
  margin-top: 5px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.doma-maintenance-grid,
.doma-project-grid,
.doma-inventory-grid,
.doma-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.doma-category-card {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--doma-line);
  border-radius: 8px;
  background: #F7F0E6;
}

.doma-category-card h3 {
  margin: 8px 0;
  color: var(--doma-heading);
  font-size: 21px;
}

.doma-category-card p {
  margin: 0;
  color: var(--doma-muted);
  line-height: 1.5;
}

.doma-project-card {
  padding: 20px;
}

.doma-project-card h2 {
  margin: 12px 0 8px;
  color: var(--doma-heading);
  font-family: "Josefin Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 26px;
  line-height: 1.12;
  font-weight: 700;
}

.doma-project-card p {
  color: var(--doma-muted);
  line-height: 1.55;
}

.doma-inventory-search {
  width: 100%;
  min-height: 46px;
  margin-bottom: 12px;
  border: 1px solid var(--doma-line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--doma-ink);
  background: #fff;
}

.doma-data-note {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid var(--doma-line);
  border-radius: 8px;
  background: #F7F0E6;
}

.doma-concierge-layer {
  position: fixed;
  z-index: 70;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  background: rgba(43, 29, 31, .18);
}

.doma-concierge-sheet {
  width: min(440px, 100%);
  height: 100%;
  padding: 28px;
  border-left: 1px solid var(--doma-line);
  background: var(--doma-panel);
  box-shadow: -22px 0 54px rgba(43, 29, 31, .16);
  overflow: auto;
}

.doma-concierge-sheet h2 {
  margin: 8px 0;
  color: var(--doma-heading);
  font-size: 34px;
}

.doma-concierge-sheet p {
  color: var(--doma-muted);
  line-height: 1.55;
}

.doma-concierge-close {
  float: right;
  min-height: 36px;
  border: 1px solid var(--doma-line);
  border-radius: 8px;
  background: transparent;
  color: var(--doma-heading);
}

.doma-concierge-prompt-grid {
  margin: 20px 0;
  display: grid;
  grid-template-columns: 1fr;
}

.doma-concierge-prompt-grid button {
  justify-content: flex-start;
  text-align: left;
}

.doma-mobile-nav,
.doma-mobile-more {
  display: none;
}

/* Client single-shell refinement layer: quiet-luxury, private-residence UI. */
.doma-single-shell {
  background:
    radial-gradient(circle at top left, rgba(205, 189, 168, .24), transparent 34%),
    linear-gradient(180deg, #FBF7EF 0%, #F7EFE3 100%);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
}

.doma-single-shell button,
.doma-single-shell input {
  font-family: var(--font-body);
}

.doma-single-shell button:focus-visible,
.doma-single-shell input:focus-visible,
.doma-single-shell iframe:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #A58C6A, 0 0 0 5px rgba(251, 247, 239, .92);
}

.doma-single-loader,
.doma-single-blocked-card {
  border-color: rgba(215, 201, 183, .78);
  border-radius: var(--radius-panel);
  background: rgba(255, 253, 248, .92);
  box-shadow: var(--shadow-panel);
}

.doma-shell-sidebar {
  background: linear-gradient(180deg, #F4EDE2, #EEE3D3);
  border-right-color: rgba(205, 189, 168, .86);
}

.doma-shell-brand__mark,
.doma-shell-brand__logo {
  width: 48px;
  height: 48px;
}

.doma-shell-brand__title {
  color: var(--doma-espresso);
  font-family: var(--font-display);
  font-size: 17px;
}

.doma-shell-brand__subtitle,
.doma-shell-eyebrow {
  color: rgba(90,61,34,.72);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
}

.doma-nav-button {
  min-height: 46px;
  border-radius: 14px;
  color: #6B5A48;
  font-weight: 650;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.doma-nav-button:hover {
  border-color: transparent;
  background: #F8F1E8;
  color: #3B2A1C;
}

.doma-nav-button.is-active {
  border-color: #C8B69D;
  background: #F5EDE1;
  color: #3B2A1C;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}

.doma-nav-divider {
  height: 1px;
  margin: 8px 8px 6px;
  background: rgba(205, 189, 168, .72);
}

.doma-nav-button--legacy {
  display: flex;
  align-items: center;
  text-decoration: none;
  opacity: .82;
}

.doma-nav-button--legacy:hover {
  opacity: 1;
}

.doma-shell-topbar {
  border-bottom-color: rgba(211, 197, 178, .78);
  background: rgba(251, 247, 239, .94);
}

.doma-shell-topbar .doma-shell-button--quiet {
  min-height: 42px;
  border-color: #B9A383;
  border-radius: var(--radius-pill);
  background: rgba(255, 253, 248, .88);
  padding: 0 16px;
  color: #3B2A1C;
  box-shadow: 0 6px 18px rgba(60,44,29,.045);
}

.doma-shell-topbar .doma-shell-button--quiet:hover {
  border-color: #6F583E;
  background: #6F583E;
  color: #FFF9EF;
}

.doma-shell-topbar__title,
.doma-panel__header h2,
.doma-residence-hero h1,
.doma-section-masthead h1,
.doma-concierge-sheet h2,
.doma-project-card h2,
.doma-category-card h3 {
  font-family: var(--font-display);
}

.doma-shell-main {
  max-width: 1500px;
  margin: 0 auto;
  padding: 32px clamp(24px, 2.8vw, 48px) 52px;
}

.doma-rail-card,
.doma-panel,
.doma-simple-card,
.doma-request-card,
.doma-project-card,
.doma-info-tile,
.doma-category-card {
  border-color: rgba(215, 201, 183, .62);
  border-radius: var(--radius-card);
  background: rgba(255, 253, 248, .90);
  box-shadow: var(--shadow-card);
}

.doma-panel {
  padding: 24px;
}

.doma-panel:hover,
.doma-action-card:hover,
.doma-category-card:hover,
.doma-request-card:hover,
.doma-simple-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.doma-section-masthead {
  min-height: 180px;
  border-color: rgba(215, 201, 183, .68);
  border-radius: var(--radius-hero);
  box-shadow: var(--shadow-hero);
  background-size: cover;
  background-position: center;
}

.doma-section-masthead h1 {
  color: #F7F0E4;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: .95;
  letter-spacing: 0;
  text-shadow: 0 2px 18px rgba(0,0,0,.28);
}

.doma-section-masthead p {
  max-width: 720px;
  color: rgba(247, 240, 228, .88);
}

.doma-residence-hero {
  min-height: 360px;
  border-color: rgba(215, 201, 183, .72);
  border-radius: var(--radius-hero);
  box-shadow: var(--shadow-hero);
  background-size: cover;
  background-position: center 45%;
  padding-bottom: 96px;
}

.doma-residence-hero__content {
  max-width: 760px;
}

.doma-residence-hero__plaque {
  max-width: 660px;
  padding: 22px 24px;
  border: 1px solid rgba(247, 240, 228, .16);
  border-radius: 22px;
  background: rgba(31, 22, 14, .54);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
  backdrop-filter: blur(4px);
}

.doma-residence-hero__plaque .doma-shell-eyebrow {
  color: rgba(255, 247, 234, .72);
  text-shadow: 0 2px 18px rgba(0,0,0,.28);
}

.doma-residence-hero h1 {
  color: #F7F0E4;
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  line-height: .95;
  letter-spacing: 0;
  text-shadow: 0 2px 18px rgba(0,0,0,.28);
}

.doma-residence-hero p {
  max-width: 680px;
  color: rgba(255, 247, 234, .88);
  text-shadow: 0 2px 18px rgba(0,0,0,.28);
}

.doma-residence-hero__message {
  min-height: 3.2em;
  transition: opacity 340ms ease;
}

.doma-residence-hero__message.is-fading {
  opacity: 0;
}

.doma-residence-hero__message u {
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
}

.doma-hero-status-grid {
  position: relative;
  z-index: 2;
  margin: -46px 24px 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.doma-quick-status-card {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(215, 201, 183, .68);
  border-radius: 18px;
  background: rgba(255, 253, 248, .92);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

.doma-quick-status-card span,
.doma-info-tile span {
  color: var(--doma-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.doma-quick-status-card strong {
  display: block;
  margin-top: 8px;
  color: var(--doma-cacao);
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
}

.doma-quick-status-card p {
  margin: 9px 0 0;
  color: var(--doma-muted);
  font-size: 13px;
  line-height: 1.45;
}

.doma-dashboard-editorial {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(300px, 4fr);
  gap: 22px;
}

.doma-dashboard-main-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 18px;
}

.doma-dashboard-main-grid > .doma-panel {
  grid-column: span 4;
}

.doma-dashboard-main-grid > .doma-panel--today,
.doma-dashboard-main-grid > .doma-panel--concierge {
  grid-column: span 4;
}

.doma-dashboard-main-grid > .doma-panel:first-child {
  grid-column: 1 / -1;
}

.doma-dashboard-concierge {
  align-self: start;
  position: sticky;
  top: 104px;
}

.doma-concierge-rail-card {
  padding: 26px;
  border: 1px solid rgba(215, 201, 183, .70);
  border-radius: var(--radius-panel);
  background:
    linear-gradient(180deg, rgba(255,253,248,.96), rgba(241,233,221,.92)),
    var(--doma-white);
  box-shadow: var(--shadow-panel);
}

.doma-concierge-rail-card__mark {
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(205, 189, 168, .62);
  border-radius: 20px;
  background: rgba(251, 247, 239, .74);
}

.doma-concierge-rail-card__mark img {
  width: 58px;
  height: auto;
}

.doma-concierge-rail-card h2 {
  margin: 8px 0 8px;
  color: var(--doma-espresso);
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.05;
}

.doma-concierge-rail-card p {
  color: var(--doma-muted);
  line-height: 1.55;
}

.doma-concierge-rail-card__actions {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.doma-concierge-rail-card__brief {
  display: grid;
  gap: 10px;
}

.doma-today-timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.doma-timeline-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 16px;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.doma-timeline-item[role="button"] {
  cursor: pointer;
}

.doma-timeline-item[role="button"]:hover {
  transform: translateY(-1px);
  border-color: rgba(205, 189, 168, .72);
  background: rgba(248, 240, 228, .66);
}

.doma-timeline-item--due-soon,
.doma-care-card--due-soon {
  border-color: #B9853A !important;
  background: rgba(185, 133, 58, .15) !important;
}

.doma-timeline-item--past-due,
.doma-care-card--past-due {
  border-color: #9B2F22 !important;
  background: rgba(155, 47, 34, .15) !important;
}

.doma-timeline-item--message {
  border-color: #7A6042;
  background: rgba(122, 96, 66, .10);
}

.doma-timeline-item--open-invoice,
.doma-timeline-item--invoice {
  border-color: #7A6042;
  background: linear-gradient(0deg, rgba(122, 96, 66, .16), rgba(122, 96, 66, .16)), #FFFDF8;
}

.doma-timeline-item--open-estimate,
.doma-timeline-item--estimate {
  border-color: #B9853A;
  background: linear-gradient(0deg, rgba(185, 133, 58, .18), rgba(185, 133, 58, .18)), #FFFDF8;
}

.doma-timeline-item--contract {
  border-color: #6F744F;
  background: linear-gradient(0deg, rgba(111, 116, 79, .12), rgba(111, 116, 79, .12)), #FFFDF8;
}

.doma-timeline-dot {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border: 1px solid var(--doma-bronze);
  border-radius: 50%;
  background: var(--doma-sand);
  box-shadow: 0 0 0 5px rgba(231, 220, 203, .56);
}

.doma-timeline-item__label {
  color: var(--doma-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.doma-timeline-item__title {
  margin-top: 2px;
  color: var(--doma-ink);
  font-weight: 650;
}

.doma-timeline-item__detail,
.doma-concierge-narrative {
  margin-top: 3px;
  color: rgba(124, 106, 86, .82);
  font-size: 13px;
  line-height: 1.45;
}

.doma-status-badge {
  min-height: 28px;
  border-radius: var(--radius-pill);
  border-color: var(--doma-stone);
  background: #EEE3D2;
  color: var(--doma-cacao);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}

.doma-status-badge--warm,
.doma-status-badge--requested {
  border-color: #D0BFA9;
  background: #F3E7D6;
  color: var(--doma-cacao);
}

.doma-status-badge--blue,
.doma-status-badge--scheduled,
.doma-status-badge--inProgress {
  border-color: #CDBDA8;
  background: #F1E9DD;
  color: #5F4A31;
}

.doma-status-badge--green,
.doma-status-badge--calm,
.doma-status-badge--completed,
.doma-status-badge--protected {
  border-color: rgba(185, 163, 131, .70);
  background: #EDE3D3;
  color: #6A5238;
}

.doma-status-badge--urgent {
  border-color: rgba(138, 23, 23, .38);
  background: rgba(138, 23, 23, .08);
  color: var(--doma-oxblood);
}

.doma-action-card {
  min-height: 116px;
  padding: 20px;
  border-color: rgba(212, 196, 176, .70);
  border-radius: 18px;
  background: #FBF7EF;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.doma-action-card:hover {
  transform: translateY(-1px);
  border-color: #B9A383;
}

.doma-action-card strong {
  color: var(--doma-espresso);
  font-size: 18px;
}

.doma-request-summary-panel .doma-panel__header {
  align-items: center;
}

.doma-shell-button,
.doma-concierge-prompts button,
.doma-concierge-prompt-grid button {
  border-radius: 14px;
  border-color: #6F583E;
  background: #6F583E;
  color: #FFF9EF;
  font-weight: 700;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.doma-shell-button {
  min-height: 42px;
  padding: 0 16px;
  font-size: 13px;
}

.doma-shell-button:hover,
.doma-concierge-prompts button:hover,
.doma-concierge-prompt-grid button:hover {
  background: #5D4934;
  border-color: #5D4934;
}

.doma-shell-button--quiet {
  border-color: rgba(122, 96, 66, .72);
  background: transparent;
  color: var(--doma-espresso);
}

.doma-shell-button--quiet:hover,
.doma-concierge-close:hover {
  border-color: #6F583E;
  background: #6F583E;
  color: #FFF9EF;
}

.doma-request-card,
.doma-simple-card {
  padding: 16px;
  border-radius: 16px;
}

.doma-request-card[role="button"],
.doma-simple-card--clickable,
.doma-care-card,
.doma-category-card[role="button"],
.doma-room-card,
.doma-tutorial-card {
  cursor: pointer;
}

.doma-request-card__title,
.doma-simple-card__title {
  color: var(--doma-espresso);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
}

.doma-request-card__meta,
.doma-simple-card__meta {
  color: rgba(124, 106, 86, .78);
}

.doma-document-scroll-list {
  max-height: clamp(360px, 52vh, 620px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scroll-behavior: smooth;
}

.doma-dashboard-scroll-list {
  max-height: clamp(360px, 50vh, 620px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scroll-behavior: smooth;
}

.doma-dashboard-scroll-list > * + *,
.doma-document-scroll-list > * + * {
  margin-top: 10px;
}

.doma-dashboard-scroll-list::-webkit-scrollbar,
.doma-document-scroll-list::-webkit-scrollbar {
  width: 8px;
}

.doma-dashboard-scroll-list::-webkit-scrollbar-track,
.doma-document-scroll-list::-webkit-scrollbar-track {
  background: rgba(241, 233, 221, .68);
  border-radius: 999px;
}

.doma-dashboard-scroll-list::-webkit-scrollbar-thumb,
.doma-document-scroll-list::-webkit-scrollbar-thumb {
  background: rgba(122, 96, 66, .45);
  border-radius: 999px;
}

.doma-document-card {
  border-left: 4px solid rgba(205, 189, 168, .78);
}

.doma-document-card:hover {
  transform: translateY(-1px);
  border-color: #B9A383;
  box-shadow: 0 18px 48px rgba(60, 44, 29, .085);
}

.doma-document-card--open-invoice,
.doma-document-card--invoice {
  border-left-color: #7A6042;
  background: linear-gradient(0deg, rgba(122, 96, 66, .095), rgba(122, 96, 66, .095)), #FFFDF8;
}

.doma-document-card--open-estimate,
.doma-document-card--estimate {
  border-left-color: #B9853A;
  background: linear-gradient(0deg, rgba(185, 133, 58, .13), rgba(185, 133, 58, .13)), #FFFDF8;
}

.doma-document-card--open-invoice {
  background: linear-gradient(0deg, rgba(122, 96, 66, .16), rgba(122, 96, 66, .16)), #FFFDF8;
}

.doma-document-card--open-estimate {
  background: linear-gradient(0deg, rgba(185, 133, 58, .18), rgba(185, 133, 58, .18)), #FFFDF8;
}

.doma-document-card--contract {
  border-left-color: #6F744F;
  background: linear-gradient(0deg, rgba(111, 116, 79, .12), rgba(111, 116, 79, .12)), #FFFDF8;
}

.doma-document-card--receipt {
  border-left-color: #A68E72;
  background: linear-gradient(0deg, rgba(166, 142, 114, .10), rgba(166, 142, 114, .10)), #FFFDF8;
}

.doma-document-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.doma-document-badge {
  flex: 0 0 auto;
  padding: 5px 10px;
  border: 1px solid rgba(205, 189, 168, .78);
  border-radius: 999px;
  color: var(--doma-cacao);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.doma-document-badge--open-invoice {
  border-color: rgba(122, 96, 66, .78);
  background: rgba(122, 96, 66, .12);
}

.doma-document-badge--open-estimate {
  border-color: rgba(185, 133, 58, .78);
  background: rgba(185, 133, 58, .15);
}

.doma-document-badge--contract {
  border-color: rgba(111, 116, 79, .72);
  background: rgba(111, 116, 79, .14);
}

.doma-document-badge--receipt {
  border-color: rgba(166, 142, 114, .72);
  background: rgba(166, 142, 114, .14);
}

.doma-inspection-finding-grid {
  display: grid;
  gap: 16px;
}

.doma-inspection-findings-panel .doma-panel__header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(255, 253, 248, .92);
  border-radius: 18px;
}

.doma-inspection-view-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(205, 189, 168, .78);
  border-radius: 999px;
  background: #FBF7EF;
}

.doma-inspection-view-toggle button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--doma-muted);
  cursor: pointer;
}

.doma-inspection-view-toggle button.is-active {
  background: #7A6042;
  color: #FFF9EF;
}

.doma-inspection-finding-scroll {
  max-height: min(760px, 72vh);
  overflow: auto;
  padding: 2px 4px 8px 0;
  overscroll-behavior: contain;
}

.doma-inspection-finding-grid--grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doma-inspection-finding-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 20px;
  align-items: stretch;
  padding: 20px;
  border: 1px solid rgba(215, 201, 183, .7);
  border-radius: 18px;
  background: rgba(255, 253, 248, .92);
  box-shadow: 0 12px 34px rgba(60, 44, 29, .05);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.doma-inspection-finding-card--grid {
  min-height: 318px;
  grid-template-columns: 1fr;
}

.doma-inspection-finding-card--grid .doma-inspection-finding__body h3 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.doma-inspection-finding-card--grid .doma-inspection-finding__media {
  align-content: end;
}

.doma-inspection-finding-card:hover {
  transform: translateY(-1px);
  border-color: #B9853A;
  box-shadow: 0 18px 48px rgba(60, 44, 29, .085);
}

.doma-inspection-finding__body h3 {
  max-width: 780px;
  margin: 6px 0 10px;
  color: var(--doma-espresso);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.48;
}

.doma-inspection-finding__body p {
  margin: 0;
  color: rgba(124, 106, 86, .78);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
}

.doma-inspection-finding__media {
  display: grid;
  gap: 12px;
  align-content: start;
}

.doma-inspection-finding__image {
  min-height: 150px;
  overflow: hidden;
  border: 1px solid rgba(205, 189, 168, .78);
  border-radius: 16px;
  background: #F8F0E4;
}

.doma-inspection-finding__image img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.doma-inspection-finding__image--empty {
  display: grid;
  place-items: center;
  color: rgba(124, 106, 86, .74);
  font-family: var(--font-body);
  font-size: 13px;
}

.doma-home-care-grid {
  padding-bottom: clamp(96px, 12vh, 160px);
}

.doma-report-archive-panel {
  position: relative;
  z-index: 3;
  overflow: visible;
  margin-bottom: 24px;
  padding-bottom: 56px;
}

.doma-report-archive-panel .doma-functional-bridge__copy {
  margin-bottom: 22px;
}

.doma-archive-form {
  padding-bottom: 52px;
}

.doma-inspection-add-button {
  width: 100%;
}

.doma-inspection-add-button:disabled {
  border-color: rgba(205, 189, 168, .9);
  background: #EEE3D2;
  color: #5A3D22;
  cursor: default;
}

.doma-home-care-scroll-panel {
  height: clamp(440px, 50vh, 610px);
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.doma-home-care-scroll-panel > .doma-panel__header {
  flex: 0 0 auto;
}

.doma-home-care-scroll-area {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-gutter: stable;
}

.doma-home-care-scroll-area::-webkit-scrollbar {
  width: 8px;
}

.doma-home-care-scroll-area::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(231, 220, 203, .46);
}

.doma-home-care-scroll-area::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(166, 142, 114, .72);
}

.doma-home-care-scroll-panel--wide {
  height: clamp(250px, 28vh, 350px);
}

.doma-home-care-scroll-area--grid {
  align-content: start;
}

.doma-empty-state,
.doma-request-draft-placeholder {
  border-color: rgba(205, 189, 168, .72);
  border-radius: 16px;
  background: #F8F0E4;
}

.doma-info-tile {
  padding: 16px;
  border-radius: 16px;
}

.doma-info-tile strong {
  font-family: var(--font-body);
  font-weight: 650;
}

.doma-request-composer-card {
  padding: 22px 24px;
}

.doma-request-composer-card h2 {
  margin: 6px 0 8px;
  color: var(--doma-espresso);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.04;
}

.doma-request-composer-card p {
  max-width: 720px;
  margin: 0;
  color: var(--doma-muted);
  line-height: 1.6;
}

.doma-category-card {
  min-height: 168px;
  padding: 20px;
  border-color: #D0BFA9;
  border-radius: 18px;
  background: #F8F0E4;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.doma-category-card h3::before {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 12px;
  border-radius: var(--radius-pill);
  background: #B9A383;
}

.doma-inventory-grid .doma-simple-card {
  border-radius: 14px;
  background: var(--doma-soft-ivory);
}

.doma-category-card:hover {
  transform: translateY(-1px);
  border-color: #B9A383;
}

.doma-room-grid,
.doma-tutorial-grid,
.doma-essentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.doma-room-card,
.doma-tutorial-card,
.doma-essential-card {
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(215, 201, 183, .62);
  border-radius: 18px;
  background: rgba(255, 253, 248, .9);
  box-shadow: var(--shadow-card);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.doma-essential-card {
  cursor: pointer;
}

.doma-room-card:hover,
.doma-tutorial-card:hover,
.doma-essential-card:hover {
  transform: translateY(-1px);
  border-color: #B9A383;
  box-shadow: var(--shadow-card-hover);
}

.doma-room-card h3,
.doma-tutorial-card h3,
.doma-essential-card h3 {
  margin: 8px 0;
  color: var(--doma-espresso);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.12;
}

.doma-room-card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(205, 189, 168, .78);
  border-radius: 8px;
  margin-bottom: 12px;
  background: #F8F0E4;
}

.doma-essential-card p {
  color: rgba(124, 106, 86, .82);
  line-height: 1.5;
}

.doma-modal-section {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.doma-modal-section h3 {
  margin: -4px 0 0;
  color: var(--doma-espresso);
  font-family: var(--font-display);
  font-size: 22px;
}

.doma-essential-use-list,
.doma-essentials-inventory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.doma-equipment-image-slots {
  display: grid;
  gap: 12px;
}

.doma-equipment-image-slots span {
  display: block;
  margin-bottom: 6px;
  color: var(--doma-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.doma-vendor-card,
.doma-vendor-modal-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.doma-vendor-scroll-list {
  max-height: clamp(280px, 42vh, 470px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scroll-behavior: smooth;
}

.doma-vendor-scroll-list > * + * {
  margin-top: 10px;
}

.doma-vendor-scroll-list::-webkit-scrollbar {
  width: 8px;
}

.doma-vendor-scroll-list::-webkit-scrollbar-track {
  background: rgba(241, 233, 221, .68);
  border-radius: 999px;
}

.doma-vendor-scroll-list::-webkit-scrollbar-thumb {
  background: rgba(122, 96, 66, .45);
  border-radius: 999px;
}

.doma-vendor-logo {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(205, 189, 168, .78);
  border-radius: 16px;
  background: #F8F0E4;
  color: var(--doma-cacao);
  font-weight: 800;
}

.doma-vendor-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.doma-vendor-modal-head {
  margin-bottom: 18px;
}

.doma-vendor-modal-head h3 {
  margin: 4px 0 0;
  color: var(--doma-espresso);
  font-size: 22px;
}

.doma-project-brief-panel {
  margin-top: 26px;
}

.doma-project-file-summary {
  width: 100%;
  min-height: 74px;
  padding: 16px;
  border: 1px dashed rgba(205, 189, 168, .9);
  border-radius: 16px;
  background: #F8F0E4;
  color: var(--doma-muted);
  text-align: left;
  cursor: pointer;
}

.doma-project-file-summary:hover {
  border-color: #6F583E;
  background: #F1E9DD;
  color: var(--doma-espresso);
}

.doma-room-card p,
.doma-tutorial-card p,
.doma-essential-card p {
  margin: 0 0 14px;
  color: var(--doma-muted);
  line-height: 1.5;
}

.doma-tutorial-card {
  background: #F8F0E4;
}

.doma-essential-card__image {
  height: 128px;
  margin: -2px 0 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(205, 189, 168, .78);
  border-radius: 16px;
  background: rgba(255, 253, 248, .72);
  color: rgba(90, 61, 34, .68);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.doma-essential-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doma-tutorial-card .doma-shell-button {
  margin-top: 6px;
}

.doma-tutorial-card span {
  color: rgba(90, 61, 34, .72);
  font-size: 12px;
  font-weight: 700;
}

.doma-panel-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.doma-portal-modal-layer,
.doma-bug-report-modal-layer {
  position: fixed;
  z-index: 74;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(31, 22, 14, .20);
  backdrop-filter: blur(3px);
}

.doma-bug-report-modal-layer {
  z-index: 78;
}

.doma-portal-modal {
  width: min(1080px, 100%);
  max-height: min(88vh, 920px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(215, 201, 183, .78);
  border-radius: 24px;
  background: #FBF7EF;
  box-shadow: var(--shadow-drawer);
}

.doma-bug-report-modal {
  width: min(620px, 100%);
}

.doma-bug-report-modal form {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.doma-portal-modal__header {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(215, 201, 183, .62);
}

.doma-portal-modal__header h2 {
  margin: 4px 0 0;
  color: var(--doma-espresso);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.08;
}

.doma-portal-modal__header p,
.doma-modal-copy,
.doma-modal-note {
  margin: 8px 0 0;
  color: var(--doma-muted);
  line-height: 1.6;
}

.doma-portal-modal__body {
  padding: 24px;
  overflow: auto;
}

.doma-portal-modal__iframe-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  padding: 0;
  background: #FFFDF8;
}

.doma-archive-form,
.doma-concierge-form {
  display: grid;
  gap: 18px 14px;
}

.doma-modal-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px;
}

.doma-modal-form-grid__wide {
  grid-column: 1 / -1;
}

.doma-archive-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
}

.doma-archive-form label,
.doma-concierge-form label,
.doma-modal-form-grid label {
  color: var(--doma-muted);
  font-size: 12px;
  font-weight: 700;
}

.doma-archive-form select,
.doma-concierge-form textarea,
.doma-modal-form-grid textarea,
.doma-modal-form-grid input,
.doma-modal-form-grid select {
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  border: 1px solid rgba(205, 189, 168, .9);
  border-radius: 14px;
  background: #FFFDF8;
  color: var(--doma-ink);
  padding: 10px 12px;
  font: inherit;
}

.doma-concierge-form textarea,
.doma-modal-form-grid textarea {
  min-height: 96px;
  resize: vertical;
}

.doma-bug-report-meta {
  margin: 0 0 16px;
  color: var(--doma-muted);
  font-size: 13px;
  font-weight: 700;
}

.doma-bug-report-status {
  min-height: 22px;
  margin-top: 14px;
  color: var(--doma-muted);
  line-height: 1.45;
}

.doma-bug-report-status.error {
  color: var(--doma-oxblood);
}

.doma-bug-report-status.success {
  color: #245338;
}

.doma-archive-form__wide {
  grid-column: span 2;
}

.doma-archive-form__actions {
  display: flex;
  gap: 10px;
  align-items: end;
}

.doma-concierge-answer {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(215, 201, 183, .72);
  border-radius: 18px;
  background: rgba(255, 253, 248, .86);
}

.doma-concierge-answer h3 {
  margin: 0;
  color: var(--doma-espresso);
  font-family: var(--font-display);
  font-size: 22px;
}

.doma-concierge-answer p {
  margin: 0;
}

.doma-portal-modal__iframe {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: #FFFDF8;
}

.doma-portal-modal__loading {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 24px;
  background: rgba(251, 247, 239, .96);
  color: var(--doma-muted);
  font-weight: 650;
}

.doma-modal-loading-logo {
  width: clamp(180px, 18vw, 280px);
  max-width: 64vw;
  height: auto;
  filter: drop-shadow(0 18px 38px rgba(60, 44, 29, .12));
  animation: domaLogoPulseFade 10s ease-in-out infinite;
}

.doma-portal-modal__loading span {
  font-size: 14px;
  letter-spacing: .01em;
}

.doma-portal-modal__iframe-wrap.is-loaded .doma-portal-modal__loading {
  display: none;
}

.doma-soft-spinner {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(205, 189, 168, .72);
  border-top-color: #6F583E;
  border-radius: 50%;
  animation: domaSpin 900ms linear infinite;
}

@keyframes domaSpin {
  to { transform: rotate(360deg); }
}

@keyframes domaLogoPulseFade {
  0%, 100% { opacity: 1; }
  50% { opacity: .1; }
}

@media (prefers-reduced-motion: reduce) {
  .doma-modal-loading-logo {
    animation: none;
  }
}

.doma-modal-actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding: 0 24px 24px;
}

.doma-portal-modal--iframe {
  height: min(88vh, 920px);
}

.doma-portal-modal--iframe .doma-modal-actions {
  margin-top: 0;
  padding: 18px 24px 24px;
  border-top: 1px solid rgba(215, 201, 183, .62);
  background: #FBF7EF;
}

.doma-portal-modal__body .doma-modal-actions {
  padding: 18px 0 0;
}

.doma-modal-actions .doma-shell-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.doma-shell-button[href] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.doma-modal-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
}

.doma-modal-image,
.doma-video-frame {
  display: block;
  width: 100%;
  border: 1px solid rgba(205, 189, 168, .78);
  border-radius: 18px;
  background: #F8F0E4;
}

.doma-modal-image {
  max-height: 360px;
  object-fit: cover;
}

.doma-document-preview {
  height: min(58vh, 560px);
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(205, 189, 168, .78);
  border-radius: 18px;
  background: #272727;
}

.doma-document-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.doma-video-frame {
  aspect-ratio: 16 / 9;
}

.doma-modal-placeholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(205, 189, 168, .9);
  border-radius: 18px;
  background: #F8F0E4;
  color: rgba(124, 106, 86, .74);
}

.doma-room-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.doma-room-media-card {
  display: grid;
  gap: 8px;
}

.doma-detail-list,
.doma-modal-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.doma-detail-list > div,
.doma-modal-list article,
.doma-modal-expand-card {
  padding: 12px 14px;
  border: 1px solid rgba(215, 201, 183, .62);
  border-radius: 14px;
  background: rgba(255, 253, 248, .78);
}

.doma-modal-expand-card summary {
  cursor: pointer;
  list-style: none;
}

.doma-modal-expand-card summary::-webkit-details-marker {
  display: none;
}

.doma-modal-expand-card__body {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 16px;
}

.doma-detail-list span,
.doma-modal-list span {
  display: block;
  color: var(--doma-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.doma-detail-list strong,
.doma-modal-list strong {
  display: block;
  margin-top: 4px;
  color: var(--doma-espresso);
  font-weight: 650;
}

.doma-report-entry-list {
  display: grid;
  gap: 14px;
}

.doma-report-entry {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(215, 201, 183, .72);
  border-radius: 12px;
  background: rgba(255, 253, 248, .84);
}

.doma-report-entry__index {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(47, 99, 82, .12);
  color: var(--doma-green);
  font-weight: 750;
}

.doma-report-entry__body {
  display: grid;
  gap: 12px;
}

.doma-report-entry__field strong {
  display: block;
  color: var(--doma-espresso);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.doma-report-entry__field p {
  margin: 4px 0 0;
  color: var(--doma-espresso);
  font-weight: 400;
  line-height: 1.55;
  white-space: pre-wrap;
}

.doma-report-entry__attachments strong {
  display: block;
  color: var(--doma-espresso);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.doma-report-entry__gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
}

.doma-report-entry__gallery figure {
  min-width: 0;
  margin: 0;
  width: fit-content;
  max-width: 100%;
}

.doma-report-entry__gallery img {
  display: block;
  width: auto;
  max-width: min(100%, 420px);
  max-height: 320px;
  height: auto;
  padding: 14px;
  object-fit: contain;
  border: 1px solid rgba(205, 189, 168, .84);
  border-radius: 12px;
  background: rgba(166, 142, 114, .18);
  box-shadow: 0 10px 26px rgba(60, 44, 29, .08);
}

.doma-report-entry__gallery figcaption {
  margin-top: 7px;
  color: var(--doma-muted);
  font-size: 12px;
  line-height: 1.35;
}

.doma-wall-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.doma-wall-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--doma-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.doma-modal-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.doma-modal-form-grid label {
  display: grid;
  gap: 6px;
  color: var(--doma-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.doma-modal-form-grid input,
.doma-modal-form-grid select,
.doma-modal-form-grid textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(205, 189, 168, .9);
  border-radius: 14px;
  background: #FFFDF8;
  color: var(--doma-ink);
  padding: 10px 12px;
  font: 500 14px/1.4 var(--font-body);
  text-transform: none;
  letter-spacing: 0;
}

.doma-modal-form-grid textarea {
  min-height: 92px;
  resize: vertical;
}

.doma-modal-form-grid__wide {
  grid-column: 1 / -1;
}

.doma-inventory-search {
  min-height: 50px;
  border-color: rgba(205, 189, 168, .9);
  border-radius: 16px;
  background: var(--doma-white);
}

.doma-functional-bridge {
  border-radius: var(--radius-panel);
}

.doma-functional-frame {
  background: var(--doma-white);
}

.doma-concierge-layer {
  z-index: 70;
  background: rgba(31, 22, 14, .18);
  backdrop-filter: blur(2px);
}

.doma-concierge-sheet {
  width: min(420px, 92vw);
  background: #FBF7EF;
  border-left-color: #CDBDA8;
  box-shadow: var(--shadow-drawer);
}

.doma-concierge-close {
  border-radius: 12px;
  padding: 0 12px;
}

.doma-concierge-prompt-grid button {
  width: 100%;
  min-height: 48px;
  justify-content: flex-start;
  padding: 0 16px;
  text-align: left;
}

.doma-project-modules {
  margin-top: 18px;
}

.doma-project-module {
  grid-column: span 6;
}

.doma-project-timeline {
  display: grid;
  gap: 14px;
}

.doma-project-timeline-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
}

body.doma-client-single-shell-active .intercom-lightweight-app,
body.doma-client-single-shell-active #intercom-container,
body.doma-client-single-shell-active #crisp-chatbox,
body.doma-client-single-shell-active #tidio-chat,
body.doma-client-single-shell-active #hubspot-messages-iframe-container,
body.doma-client-single-shell-active .hs-messages-widget,
body.doma-client-single-shell-active .tawk-min-container,
body.doma-client-single-shell-active .tawk-button,
body.doma-client-single-shell-active .chaty-widget,
body.doma-client-single-shell-active .chatbase-bubble-window,
body.doma-client-single-shell-active .botpress-widget,
body.doma-client-single-shell-active .doma-bug-report-launcher,
body.doma-client-single-shell-active .userway_buttons_wrapper,
body.doma-client-single-shell-active #userwayAccessibilityIcon,
body.doma-client-single-shell-active .uwy,
body.doma-client-single-shell-active iframe[src*="intercom" i],
body.doma-client-single-shell-active iframe[src*="crisp" i],
body.doma-client-single-shell-active iframe[src*="tidio" i],
body.doma-client-single-shell-active iframe[src*="tawk" i],
body.doma-client-single-shell-active iframe[src*="hubspot" i],
body.doma-client-single-shell-active iframe[src*="botpress" i],
body.doma-client-single-shell-active iframe[src*="chat" i],
body.doma-client-single-shell-active [aria-label*="chat" i],
body.doma-client-single-shell-active [title*="chat" i],
body.doma-client-single-shell-active [class*="chatbot" i],
body.doma-client-single-shell-active [id*="chatbot" i],
body.doma-client-single-shell-active [class*="userway" i],
body.doma-client-single-shell-active [id*="userway" i] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.doma-toast {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  max-width: min(420px, calc(100vw - 48px));
  padding: 14px 16px;
  border: 1px solid rgba(185, 163, 131, .78);
  border-radius: 16px;
  background: rgba(255, 253, 248, .96);
  color: var(--doma-espresso);
  box-shadow: var(--shadow-panel);
  font-weight: 650;
  line-height: 1.45;
}

.doma-toast--error {
  border-color: rgba(155, 47, 34, .46);
  background: #FBF0EA;
  color: #6F241B;
}

.doma-toast--neutral {
  border-color: rgba(205, 189, 168, .82);
}

@media (max-width: 1180px) {
  .doma-single-shell {
    grid-template-columns: 232px minmax(0, 1fr);
  }

  .doma-dashboard-editorial {
    grid-template-columns: 1fr;
  }

  .doma-dashboard-concierge {
    position: static;
  }

  .doma-shell-rail {
    display: none;
  }

  .doma-dashboard-grid > .doma-panel,
  .doma-dashboard-grid > .doma-panel--today,
  .doma-dashboard-grid > .doma-panel--concierge,
  .doma-module-grid > .doma-panel {
    grid-column: span 6;
  }

  .doma-module-grid > .doma-panel--wide,
  .doma-module-grid > .doma-functional-bridge {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .doma-single-shell {
    display: block;
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .doma-single-shell.doma-single-shell--loading {
    display: grid;
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    width: 100vw;
    min-height: 100vh;
    min-height: 100svh;
    padding: max(18px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));
    place-items: center;
    overflow: hidden;
  }

  .doma-single-shell.doma-single-shell--loading .doma-single-loader {
    position: fixed;
    top: 50svh;
    left: 50vw;
    right: auto;
    bottom: auto;
    width: min(420px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    margin: 0;
    transform: translate(-50%, -50%);
  }

  .doma-shell-sidebar {
    display: none;
  }

  .doma-shell-topbar {
    min-height: 64px;
    padding: 12px 16px;
  }

  .doma-shell-topbar__actions {
    gap: 8px;
  }

  .doma-shell-topbar__title {
    font-size: 16px;
  }

  .doma-shell-topbar .doma-shell-button {
    min-height: 38px;
    padding: 0 11px;
  }

  .doma-shell-main {
    padding: 16px 16px calc(104px + env(safe-area-inset-bottom));
  }

  .doma-residence-hero {
    min-height: min(330px, 58vh);
    padding: 22px;
    padding-bottom: 22px;
    border-radius: 22px;
  }

  .doma-residence-hero__plaque {
    padding: 18px;
    border-radius: 18px;
  }

  .doma-section-masthead {
    min-height: 190px;
    padding: 18px;
    border-radius: 22px;
  }

  .doma-section-masthead h1 {
    font-size: 32px;
  }

  .doma-section-masthead p {
    font-size: 14px;
  }

  .doma-hero-status-grid {
    margin: 12px 0 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doma-quick-status-card {
    min-height: 116px;
    padding: 16px;
  }

  .doma-dashboard-grid,
  .doma-dashboard-main-grid,
  .doma-dashboard-editorial,
  .doma-module-grid,
  .doma-maintenance-grid,
  .doma-project-grid,
  .doma-inventory-grid,
  .doma-category-grid,
  .doma-action-card-grid,
  .doma-info-grid {
    grid-template-columns: 1fr;
  }

  .doma-dashboard-grid > .doma-panel,
  .doma-dashboard-main-grid > .doma-panel,
  .doma-dashboard-grid > .doma-panel--today,
  .doma-dashboard-main-grid > .doma-panel--today,
  .doma-dashboard-main-grid > .doma-panel--concierge,
  .doma-dashboard-grid > .doma-panel--concierge,
  .doma-module-grid > .doma-panel,
  .doma-module-grid > .doma-panel--wide,
  .doma-module-grid > .doma-functional-bridge,
  .doma-project-module {
    grid-column: 1 / -1;
  }

  .doma-panel {
    padding: 16px;
  }

  .doma-functional-bridge {
    padding: 0;
  }

  .doma-functional-bridge > .doma-panel__header,
  .doma-functional-bridge__copy {
    margin-left: 16px;
    margin-right: 16px;
  }

  .doma-functional-bridge > .doma-panel__header {
    margin-top: 16px;
  }

  .doma-functional-frame {
    min-height: 760px;
    height: 980px;
  }

  .doma-panel__header {
    align-items: flex-start;
  }

  .doma-request-card {
    grid-template-columns: 1fr;
  }

  .doma-inspection-view-toggle {
    display: none;
  }

  .doma-inspection-finding-scroll {
    max-height: none;
    overflow: visible;
  }

  .doma-inspection-finding-grid--grid {
    grid-template-columns: 1fr;
  }

  .doma-inspection-finding-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .doma-inspection-finding__image,
  .doma-inspection-finding__image img {
    min-height: 150px;
    height: 180px;
  }

  .doma-home-care-scroll-panel,
  .doma-home-care-scroll-panel--wide {
    height: auto;
    max-height: none;
  }

  .doma-home-care-scroll-area,
  .doma-home-care-scroll-panel--wide .doma-home-care-scroll-area {
    max-height: 420px;
    overflow-y: auto;
  }

  .doma-mobile-nav {
    position: fixed;
    z-index: 40;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(66px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid #D3C5B2;
    background: rgba(251, 247, 239, .95);
    box-shadow: 0 -8px 30px rgba(63, 48, 32, .06);
    backdrop-filter: blur(14px);
  }

  .doma-mobile-nav .doma-nav-button {
    min-height: 65px;
    border: 0;
    border-radius: 0;
    padding: 0 4px;
    text-align: center;
    font-size: 12px;
  }

  .doma-mobile-nav .doma-nav-button.is-active {
    border-top: 3px solid var(--doma-bronze);
    background: #FBF7EF;
  }

  .doma-mobile-more {
    position: fixed;
    z-index: 39;
    right: 10px;
    bottom: calc(74px + env(safe-area-inset-bottom));
    width: min(260px, calc(100vw - 20px));
    display: none;
    padding: 8px;
    border: 1px solid var(--doma-line);
    border-radius: 18px;
    background: var(--doma-panel);
    box-shadow: var(--shadow-panel);
  }

  .doma-mobile-more.is-open {
    display: grid;
    gap: 4px;
  }

  .doma-mobile-more .doma-nav-button {
    text-align: left;
  }

  .doma-concierge-layer {
    align-items: flex-end;
    justify-content: stretch;
  }

  .doma-concierge-sheet {
    width: 100%;
    height: min(85vh, 680px);
    border-left: 0;
    border-top: 1px solid var(--doma-line);
    border-radius: 22px 22px 0 0;
  }

  .doma-portal-modal-layer,
  .doma-bug-report-modal-layer {
    align-items: flex-end;
    padding: 0;
  }

  .doma-portal-modal {
    width: 100%;
    max-height: 92vh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 22px 22px 0 0;
  }

  .doma-portal-modal--iframe {
    height: 92vh;
  }

  .doma-portal-modal__header,
  .doma-portal-modal__body {
    padding: 18px;
  }

  .doma-portal-modal__iframe {
    min-height: 0;
  }

  .doma-modal-expand-card__body {
    grid-template-columns: 1fr;
  }

  .doma-modal-actions {
    padding: 0 18px 18px;
  }

  .doma-portal-modal--iframe .doma-modal-actions {
    padding: 14px 18px calc(18px + env(safe-area-inset-bottom));
  }

  .doma-toast {
    right: 14px;
    bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .doma-modal-detail-grid,
  .doma-wall-grid,
  .doma-modal-form-grid,
  .doma-archive-form {
    grid-template-columns: 1fr;
  }

  .doma-archive-form__wide,
  .doma-archive-form__actions {
    grid-column: 1 / -1;
  }

  .doma-archive-form__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .doma-single-loader {
    width: min(420px, calc(100vw - 32px));
    max-width: 420px;
    padding: 38px 22px;
  }

  .doma-shell-topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .doma-shell-topbar__actions {
    width: 100%;
    justify-content: space-between;
  }

  .doma-shell-topbar__actions .doma-shell-button {
    flex: 1 1 0;
  }

  .doma-residence-hero {
    min-height: 300px;
  }

  .doma-residence-hero h1 {
    font-size: 34px;
  }

  .doma-hero-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doma-panel__header {
    display: grid;
  }
}
