:root {
  --ink: #242424;
  --muted: #62625b;
  --line: #e1e1dc;
  --paper: #fff;
  --surface: #f7f7f3;
  --brand: #e1b846;
  --brand-hover: #d5aa35;
  --brand-border: #c5a23c;
  --on-brand: #29220e;
  --accent: #705510;
  --accent-soft: #f4eedc;
  --green: var(--accent);
  --lime: var(--accent-soft);
  --white: #fff;
  --orange: #bd792a;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  font-size: 14px;
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  cursor: pointer;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  padding: 10px 15px;
  font-weight: 550;
  color: var(--ink);
  transition:
    background 0.16s,
    transform 0.16s;
}
button:hover {
  background: var(--accent-soft);
}
button:active {
  transform: translateY(1px);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button.primary {
  background: var(--brand);
  border-color: var(--brand-border);
  color: var(--on-brand);
}
button.primary:hover {
  background: var(--brand-hover);
}
button.lime {
  background: var(--lime);
  border-color: var(--lime);
}
button.ghost {
  border-color: transparent;
  background: transparent;
}
button.danger {
  color: #b6413b;
}
a {
  color: var(--green);
  text-decoration: none;
}
svg.icon {
  height: 19px;
  width: 19px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Preserve native scroll restoration while the portal and its controls load. */
html:has(.app-shell) {
  overflow-anchor: none;
}
.app-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 33px 19px 19px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  padding: 0 15px;
}
.brand-logo {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.auth-story .brand-logo {
  width: 270px;
}
.auth-mobile-brand {
  display: none;
}
.workspace {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 29px 5px 27px;
  padding: 12px 10px;
  font-size: 12px;
}

.workspace small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.workspace .chevron {
  margin-left: auto;
  color: var(--muted);
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.8px;
  font-weight: 650;
  color: var(--muted);
  padding: 0 15px;
  margin: 15px 0 11px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 7px;
  padding: 11px 15px;
  margin: 2px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  justify-content: start;
}
.nav-item.active {
  background: var(--accent-soft);
  color: var(--green);
  font-weight: 650;
}
.nav-item .count {
  margin-left: auto;
  font-size: 10px;
  background: var(--accent-soft);
  padding: 2px 6px;
  border-radius: 4px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 22px;
}
.sidebar-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 13px;
  font-size: 11px;
  line-height: 1.7;
  margin: 10px 5px 18px;
}
.sidebar-note strong {
  display: block;
  font-size: 12px;
}
.profile {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 8px 0;
  border-top: 1px solid var(--line);
}
.avatar {
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 3px solid white;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 11px;
  font-weight: 650;
}
.profile strong {
  font-size: 11px;
}
.profile small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.profile button {
  margin-left: auto;
  padding: 5px;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  gap: 20px;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  align-items: center;
}
.breadcrumb strong {
  color: var(--ink);
  font-weight: 500;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.global-search {
  position: relative;
}
.global-search input {
  background: transparent;
  border: 0;
  width: 225px;
  font-size: 11px;
  padding-left: 29px;
}
.global-search svg {
  position: absolute;
  top: 10px;
  left: 2px;
  width: 16px;
}
.key {
  font-size: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 3px 5px;
  border-radius: 4px;
  color: var(--muted);
}
.notification {
  position: relative;
  border-left: 1px solid var(--line);
  padding-left: 16px;
}
.notification:after {
  content: '';
  position: absolute;
  right: 1px;
  top: 0;
  background: var(--brand);
  border: 2px solid white;
  border-radius: 50%;
  width: 5px;
  height: 5px;
}
.content {
  padding: 33px 36px 42px;
  max-width: 1650px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 27px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 9px;
}
h1 {
  font-size: 28px;
  letter-spacing: -1px;
  font-weight: 620;
  margin: 0 0 9px;
}
h2 {
  font-size: 16px;
  letter-spacing: -0.35px;
  font-weight: 600;
  margin: 0;
}
h3 {
  font-size: 14px;
  margin: 0;
}
p {
  line-height: 1.6;
}
.page-heading p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.heading-actions {
  display: flex;
  gap: 9px;
}
.heading-actions button {
  font-size: 11px;
  padding: 10px 13px;
}
.live {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  font-size: 10px;
  color: #6d806a;
}
.live:before {
  content: '';
  width: 5px;
  height: 5px;
  background: #78a05a;
  border-radius: 50%;
}
.welcome-strip {
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px 19px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 23px;
  font-size: 12px;
}
.welcome-strip .icon {
  color: var(--accent);
}
.welcome-strip small {
  color: var(--muted);
}
.welcome-strip button {
  margin-left: auto;
  font-size: 10px;
  border: 0;
  background: transparent;
  padding: 2px;
  color: var(--green);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 23px;
}
@media (min-width: 961px) {
  .owner-dashboard-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.stat {
  padding: 20px 21px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 0;
}
.stat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.stat-icon {
  background: var(--surface);
  padding: 7px;
  border-radius: 7px;
  display: flex;
  color: var(--muted);
}
.stat-icon svg {
  width: 16px;
  height: 16px;
}
.stat-value {
  font-size: 29px;
  letter-spacing: -1px;
  font-weight: 600;
  margin: 15px 0 10px;
  white-space: nowrap;
}
.stat-value .unit {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0;
  margin-right: 3px;
}
.stat-note {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.stat-note b {
  color: #53763e;
  font-weight: 500;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(280px, 1fr);
  gap: 20px;
  margin-bottom: 23px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 21px 22px 15px;
  gap: 15px;
}
.panel-header p {
  font-size: 10px;
  color: var(--muted);
  margin: 6px 0 0;
}
.panel-header button {
  font-size: 10px;
  padding: 7px 9px;
}
.panel-body {
  padding: 8px 22px 23px;
}
.legend {
  display: flex;
  gap: 17px;
  font-size: 9px;
  color: var(--muted);
}
.legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.legend i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--brand);
}
.legend .light {
  background: #eadba8;
}
.chart {
  height: 175px;
  display: flex;
  gap: 8px;
  align-items: end;
  margin-top: 23px;
  padding: 0 0 23px 29px;
  position: relative;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 37px,
    #f0f2ed 38px,
    #f0f2ed 39px
  );
}
.chart-bar {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: end;
  justify-content: center;
  position: relative;
  gap: 4px;
}
.chart-bar .bar {
  width: 15px;
  min-height: 2px;
  border-radius: 4px 4px 0 0;
  background: var(--brand);
}
.chart-bar .bar.light {
  background: #eadba8;
}
.chart-bar small {
  position: absolute;
  bottom: -20px;
  font-size: 9px;
  color: var(--muted);
}
.chart-y {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 8px;
  color: var(--muted);
  line-height: 39px;
}
.chart-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
}
.chart-footer b {
  color: var(--ink);
  font-weight: 550;
}
.fleet-layout {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 0 24px;
}
.donut {
  width: 145px;
  height: 145px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}
.donut:before {
  content: '';
  position: absolute;
  inset: 20px;
  background: white;
  border-radius: 50%;
}
.donut-label {
  position: relative;
  text-align: center;
}
.donut-label strong {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -1px;
}
.donut-label small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.fleet-legend {
  flex: 1;
  display: grid;
  gap: 12px;
  font-size: 10px;
}
.fleet-legend div {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}
.fleet-legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}
.fleet-legend b {
  margin-left: auto;
  color: var(--ink);
}
.utilization {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
}
.utilization b {
  color: var(--green);
}
.progress {
  height: 5px;
  background: var(--surface);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 12px;
}
.progress i {
  display: block;
  height: 100%;
  background: var(--brand);
  border-radius: 3px;
}
.table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.tabs {
  display: flex;
  gap: 20px;
  align-items: center;
}
.tab {
  border: 0;
  padding: 8px 0;
  border-radius: 0;
  font-size: 11px;
  color: var(--muted);
  background: transparent;
  position: relative;
}
.tab.active {
  color: var(--green);
  font-weight: 650;
}
.tab.active:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -17px;
  height: 2px;
  background: var(--brand);
}
.tab span {
  font-size: 9px;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--accent-soft);
  margin-left: 5px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
  white-space: nowrap;
}
th {
  font-size: 9px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.3px;
  background: var(--surface);
  padding: 13px 22px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: var(--surface);
}
td strong {
  font-size: 11px;
  font-weight: 550;
}
td small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}
.asset-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.asset-thumb {
  width: 48px;
  height: 37px;
  border-radius: 5px;
  background: var(--surface);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.asset-thumb svg {
  width: 44px;
  height: 32px;
}
.asset-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge {
  font-size: 9px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  background: #edf2e4;
  color: #678347;
  white-space: nowrap;
}
.badge:before {
  content: '';
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: currentColor;
}
.badge.orange {
  background: #fcf1de;
  color: #b58c44;
}
.badge.blue {
  background: #edf0fc;
  color: #7580b4;
}
.badge.red {
  background: #fbeae6;
  color: #ad7162;
}
.badge.gray {
  background: #f0f1ed;
  color: #8c9588;
}
.table-footer {
  border-top: 1px solid var(--line);
  padding: 13px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  color: var(--muted);
}
.table-footer button {
  font-size: 10px;
  padding: 5px 10px;
}
.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--green);
  font-size: 11px;
  justify-content: start;
}
.activity {
  display: grid;
  gap: 17px;
  padding-top: 7px;
}
.activity-item {
  display: flex;
  gap: 12px;
  align-items: start;
}
.activity-icon {
  background: var(--surface);
  padding: 8px;
  border-radius: 7px;
  display: flex;
}
.activity-icon .icon {
  width: 15px;
  height: 15px;
}
.activity-item strong {
  font-size: 11px;
  font-weight: 550;
  display: block;
}
.activity-item p {
  font-size: 10px;
  color: var(--muted);
  margin: 4px 0 0;
}
.activity-item time {
  margin-left: auto;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
}
.task-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.task-row:last-child {
  border: 0;
}
.task-row small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}
.footer-line {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
}
.filterbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.filterbar input {
  flex: 1;
  min-width: 180px;
}
.filterbar select {
  width: auto;
  min-width: 150px;
}
input,
select,
textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid #b7b7b0;
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  outline: none;
  font-size: 12px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #c5a23c26;
}
input[type='checkbox'] {
  width: auto;
}
textarea {
  min-height: 80px;
  resize: vertical;
}
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
}
.equipment-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.equipment-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px #24242410;
}
.equipment-art {
  background: var(--surface);
  height: 190px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.equipment-art svg {
  width: 80%;
  height: 80%;
  filter: drop-shadow(0 14px 8px #323a2916);
}
.equipment-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.equipment-art .badge {
  position: absolute;
  top: 14px;
  left: 14px;
}
.asset-id {
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
}
.equipment-card-body {
  padding: 20px;
}
.equipment-card-body .eyebrow {
  font-size: 9px;
  margin-bottom: 7px;
}
.equipment-card-body h3 {
  font-size: 17px;
}
.equipment-card-body p {
  color: var(--muted);
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 15px;
}
.card-bottom strong {
  font-size: 16px;
}
.card-bottom small {
  font-size: 10px;
  color: var(--muted);
}
.card-bottom button {
  font-size: 10px;
  padding: 8px 10px;
}
.empty {
  padding: 45px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.empty strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 8px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #24242465;
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal {
  background: var(--paper);
  border-radius: 14px;
  width: 740px;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 20px 100px #24242433;
}
.modal.wide {
  width: 1000px;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 22px 26px;
  position: sticky;
  top: 0;
  z-index: 2;
}
.modal-header h2 {
  font-size: 19px;
}
.modal-header button {
  padding: 6px;
  border: 0;
}
.modal-body {
  padding: 25px 26px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  font-weight: 550;
}
.field[hidden],
[data-request-hours][hidden] {
  display: none;
}
.field.full {
  grid-column: 1/-1;
}
.field small {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
.form-section {
  grid-column: 1/-1;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-top: 8px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.form-error {
  color: #b34b3b;
  font-size: 12px;
  background: #fceee7;
  border-radius: 7px;
  padding: 12px;
  margin-bottom: 16px;
}
.info-box {
  padding: 14px 16px;
  font-size: 11px;
  line-height: 1.7;
  border: 1px solid var(--line);
  background: var(--accent-soft);
  border-radius: 8px;
  margin-bottom: 20px;
  color: var(--muted);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.detail-grid .equipment-art {
  height: 260px;
  border-radius: 10px;
}
.detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 20px 0;
}
.detail-list dt {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 5px;
}
.detail-list dd {
  font-size: 12px;
  margin: 0;
  font-weight: 550;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.detail-actions button {
  font-size: 11px;
}
.financial-breakdown {
  background: white;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 20px 0;
}
.financial-breakdown div {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 12px;
}
.financial-breakdown .total {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: 8px;
  font-weight: 700;
  font-size: 17px;
}
.history {
  padding: 16px;
  background: white;
  border-radius: 8px;
  margin-top: 15px;
}
.history h3 {
  margin-bottom: 12px;
}
.history p {
  font-size: 11px;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 13px 22px;
  border-radius: 9px;
  background: var(--ink);
  color: white;
  z-index: 200;
  opacity: 0;
  transition: all 0.2s;
  pointer-events: none;
  font-size: 12px;
  max-width: 90vw;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
}
.auth-story {
  background: var(--surface);
  color: var(--green);
  padding: 60px 65px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.auth-story .brand {
  padding: 0;
}
.auth-story h1 {
  font-size: 54px;
  line-height: 1.13;
  letter-spacing: -2px;
  max-width: 500px;
}
.auth-story h1 span {
  color: var(--accent);
}
.auth-story p {
  color: var(--muted);
  max-width: 370px;
  font-size: 14px;
}
.auth-story .big-art {
  opacity: 0.95;
  width: 90%;
  margin: 20px 0;
}
.auth-story .eyebrow {
  color: var(--muted);
}
.auth-story footer {
  font-size: 11px;
  color: var(--muted);
}
.auth-form-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px;
}
.auth-form {
  width: 100%;
  max-width: 365px;
}
.auth-form h2 {
  font-size: 28px;
  margin-bottom: 10px;
}
.auth-form > p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.auth-form .field {
  margin-bottom: 17px;
}
.auth-form .primary {
  width: 100%;
  margin-top: 5px;
}
.auth-links {
  font-size: 11px;
  text-align: center;
  color: var(--muted);
  margin-top: 19px;
}
.auth-links button {
  font-size: 11px;
  padding: 3px;
  border: 0;
  background: none;
  color: var(--green);
}
.public-header {
  height: 88px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border-bottom: 1px solid var(--line);
}
.public-header nav {
  display: flex;
  gap: 15px;
  align-items: center;
}
.public-header nav a.ghost {
  display: inline-flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 550;
  color: var(--ink);
  text-decoration: none;
}
.public-header nav a.ghost:hover,
.public-header nav a.ghost[aria-current='page'] {
  background: var(--accent-soft);
}
.public-hero {
  padding: 28px 6% 24px;
  background: var(--surface);
}
.public-hero h1 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.8px;
  line-height: 1.2;
  max-width: 850px;
}
.marketplace-catalog .market-filters {
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 22px;
}
.marketplace-catalog #market-search {
  grid-column: 1 / -1;
}
.marketplace-catalog .market-filters select {
  width: 240px;
  max-width: 100%;
  justify-self: start;
}
.market-results-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-bottom: 18px;
}
.market-results-heading h2 {
  margin: 0;
  font-size: 21px;
}
.market-results-heading span {
  color: var(--muted);
  font-size: 14px;
}
.public-content {
  padding: 35px 6% 70px;
}
.public-content .equipment-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.document {
  background: #fff;
  padding: 35px;
  color: var(--ink);
}
.document-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  border-bottom: 2px solid var(--green);
  padding-bottom: 23px;
  margin-bottom: 25px;
}
.document-logo {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}
.document-header h1 {
  font-size: 28px;
}
.document h2 {
  margin: 22px 0 12px;
}
.document p {
  font-size: 12px;
}
.document td,
.document th {
  padding: 12px 8px;
}

/* Shared by invoices, conduces, statements, and printed owner payments. */
.document thead th {
  font-size: 9px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.3px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 12px 8px;
  text-align: left;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.mobile-menu {
  display: none;
}
.boot {
  display: grid;
  place-content: center;
  height: 100vh;
  font-size: 40px;
  font-weight: 800;
}
.boot span {
  color: var(--muted);
}
.boot small {
  font-size: 12px;
  font-weight: 400;
  margin-top: 20px;
  color: var(--muted);
}
.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.report-grid .panel-body {
  font-size: 12px;
}
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.money {
  font-variant-numeric: tabular-nums;
}
.search-results {
  display: grid;
  gap: 8px;
}
.search-result {
  background: white;
  border: 1px solid var(--line);
  padding: 13px;
  border-radius: 7px;
  display: flex;
  justify-content: space-between;
}
.search-result small {
  color: var(--muted);
}
@media (min-width: 1550px) {
  .content {
    padding-top: 40px;
  }
  .equipment-art {
    height: 230px;
  }
  .chart {
    height: 200px;
  }
  .fleet-layout {
    padding-top: 25px;
    padding-bottom: 32px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 206px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .app-shell {
    grid-template-columns: 206px minmax(0, 1fr);
  }
  .content {
    padding: 27px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 16px;
  }
  .stat-value {
    font-size: 24px;
  }
  .dashboard-grid {
    grid-template-columns: 1.5fr 1fr;
  }
  .fleet-layout {
    gap: 14px;
  }
  .donut {
    width: 120px;
    height: 120px;
  }
  .donut:before {
    inset: 17px;
  }
  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .public-content .equipment-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  td,
  th {
    padding-left: 16px;
    padding-right: 16px;
  }
  .auth-story {
    padding: 40px;
  }
  .auth-story h1 {
    font-size: 43px;
  }
}
@media (max-width: 960px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .fleet-layout {
    justify-content: center;
  }
  .fleet-legend {
    max-width: 220px;
  }
  .bottom-grid {
    grid-template-columns: 1fr;
  }
  .global-search input {
    width: 170px;
  }
  .key {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .auth-story h1 {
    font-size: 37px;
  }
  .public-content .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: 20px 0 80px #24242420;
    width: 236px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main {
    width: 100%;
  }
  .mobile-menu {
    display: flex;
    padding: 5px;
  }
  .topbar {
    height: 63px;
    padding: 0 17px;
  }
  .breadcrumb {
    gap: 6px;
    font-size: 10px;
  }
  .global-search input {
    width: 135px;
    font-size: 10px;
  }
  .top-actions {
    gap: 5px;
  }
  .top-actions .avatar,
  .notification,
  .key {
    display: none;
  }
  .content {
    padding: 25px 17px;
  }
  .page-heading {
    align-items: start;
    gap: 12px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .heading-actions button {
    font-size: 10px;
    padding: 9px;
  }
  .heading-actions button:first-child:not(:last-child) {
    display: none;
  }
  .welcome-strip {
    font-size: 10px;
    padding: 12px;
  }
  .welcome-strip small {
    display: none;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 14px;
  }
  .stat-value {
    font-size: 24px;
  }
  .stat-head {
    font-size: 10px;
  }
  .stat-note {
    font-size: 9px;
  }
  .equipment-grid {
    grid-template-columns: 1fr;
  }
  .equipment-art {
    height: 210px;
  }
  .modal-backdrop {
    padding: 10px;
  }
  .modal {
    max-height: 95vh;
  }
  .modal-header {
    padding: 18px;
  }
  .modal-body {
    padding: 18px;
  }
  .form-grid,
  .detail-grid,
  .report-grid {
    grid-template-columns: 1fr;
  }
  .field.full,
  .form-section {
    grid-column: 1;
  }
  .auth-page {
    grid-template-columns: 1fr;
  }
  .auth-story {
    display: none;
  }
  .auth-mobile-brand {
    display: block;
    margin-bottom: 24px;
  }
  .auth-mobile-brand .brand {
    padding: 0;
  }
  .public-header .brand-logo {
    width: 110px;
  }
  .auth-form-container {
    padding: 30px 25px;
    min-height: 100vh;
  }
  .public-header {
    padding: 0 20px;
    height: 75px;
  }
  .public-header nav {
    gap: 5px;
  }
  .public-header nav button,
  .public-header nav a.ghost {
    font-size: 11px;
    padding: 8px;
  }
  .public-header .brand {
    padding: 0;
    font-size: 25px;
  }
  .public-hero {
    padding: 22px 20px;
  }
  .public-content {
    padding: 25px 20px;
  }
  .public-content .equipment-grid {
    grid-template-columns: 1fr;
  }
  .table-toolbar {
    padding: 15px;
    align-items: start;
  }
  .tabs {
    gap: 13px;
  }
  .tab {
    font-size: 10px;
  }
  .footer-line {
    font-size: 8px;
  }
  .document {
    padding: 20px;
  }
  .document-header {
    gap: 20px;
  }
  .document-header h1 {
    font-size: 22px;
  }
}
.payout-print {
  display: none;
}

.document-attachment {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

@media print {
  .document-attachment {
    break-before: page;
    margin-top: 0;
    border-top: 0;
  }
  .payout-screen {
    display: none !important;
  }
  .payout-print {
    display: block;
  }
  body {
    background: #fff;
  }
  #app,
  #toast,
  .modal-header,
  .analytics-settings,
  .analytics-preferences,
  .no-print {
    display: none !important;
  }
  body:not(:has(.modal-backdrop)) #app:has([data-print-page]) {
    display: block !important;
  }
  #app:has([data-print-page]) .app-shell,
  #app:has([data-print-page]) .main,
  #app:has([data-print-page]) .content {
    display: block;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  #app:has([data-print-page]) .sidebar,
  #app:has([data-print-page]) .sidebar-backdrop,
  #app:has([data-print-page]) .topbar,
  #app:has([data-print-page]) .content > :not([data-print-page]) {
    display: none !important;
  }
  [data-print-page] .panel {
    border: 0;
    box-shadow: none;
  }
  [data-print-page] .panel-body {
    padding: 0;
  }
  .modal-backdrop {
    position: static;
    background: transparent;
    padding: 0;
    display: block;
    backdrop-filter: none;
  }
  .modal {
    max-height: none;
    width: 100% !important;
    overflow: visible;
    box-shadow: none;
    border-radius: 0;
  }
  .modal-body {
    padding: 0;
  }
  .document {
    padding: 0;
  }
  .table-wrap {
    overflow: visible;
  }
  table {
    white-space: normal;
  }
  tr {
    break-inside: avoid;
  }
  @page {
    margin: 16mm;
  }
}

.sidebar > nav {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d4d4ce transparent;
}
.sidebar .brand,
.workspace,
.sidebar-bottom {
  flex-shrink: 0;
}
.sidebar-bottom {
  padding-top: 10px;
}
.nav-item {
  white-space: nowrap;
}
.sidebar-note {
  margin-bottom: 12px;
}
.workspace {
  margin-top: 25px;
  margin-bottom: 16px;
}
.market-filters {
  display: grid;
  grid-template-columns: 2fr repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.market-filters input,
.market-filters select {
  min-width: 0;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.summary-card {
  background: var(--accent-soft);
  border-radius: 8px;
  padding: 14px;
}
.summary-card small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 7px;
}
.summary-card strong {
  font-size: 17px;
}
.period-control {
  display: flex;
  gap: 10px;
  margin: 18px 0;
}
.period-control select {
  max-width: 180px;
}
@media (max-height: 900px) {
  .sidebar-note {
    display: none;
  }
  .sidebar {
    padding-top: 22px;
  }
  .workspace {
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .nav-item {
    padding-top: 9px;
    padding-bottom: 9px;
  }
  .nav-label {
    margin-top: 12px;
    margin-bottom: 6px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    box-shadow: none;
  }
  .sidebar.open {
    box-shadow: 20px 0 80px #24242420;
  }
  .market-filters {
    grid-template-columns: 1fr 1fr;
  }
  .summary-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.quote-history,
.quote-changes {
  margin-top: 24px;
}
.quote-changes > h3 {
  margin-bottom: 20px;
}
.quote-history details {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.quote-history summary {
  cursor: pointer;
  font-weight: 600;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 20px 0;
  font-size: 12px;
}
.legal-links a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-links small {
  flex-basis: 100%;
  color: var(--muted);
}

/* Marketplace cards are native links, including keyboard and new-tab navigation. */
a.equipment-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
a.equipment-card:focus-visible {
  outline: 3px solid var(--accent, var(--brand));
  outline-offset: 4px;
}
.card-details-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.catalog-back {
  display: inline-block;
  margin-bottom: 24px;
}

/* Keep form controls readable without focus-triggered zoom on touch browsers. */
@media (max-width: 700px), (hover: none) and (pointer: coarse) {
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
}

.rental-request-section {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  scroll-margin-top: 20px;
}
.request-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.request-section-heading h2 {
  margin: 0;
}
.rental-request-section .field {
  min-width: 0;
}
#inline-request-form .form-actions {
  justify-content: flex-start;
}
@media (max-width: 700px) {
  #inline-request-form button[type='submit'],
  #guest-request-form button[type='submit'] {
    width: 100%;
  }
  .rental-request-section {
    padding: 16px;
  }
}

.owner-landing {
  background: var(--surface);
}
.owner-landing .brand-logo {
  width: 150px;
}
.owner-landing .public-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.owner-landing a {
  color: inherit;
}
.owner-cta {
  display: inline-block;
  padding: 14px 20px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--on-brand);
  text-decoration: none;
  font-weight: 650;
}
.owner-hero {
  max-width: 860px;
  margin: auto;
  padding: 56px 36px 24px;
  text-align: center;
}
.owner-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  margin: 20px 0;
}
.owner-hero p {
  font-size: 18px;
  line-height: 1.7;
  max-width: 620px;
  margin-inline: auto;
}
.owner-hero small {
  display: block;
  max-width: 520px;
  margin: 18px auto 0;
  color: var(--muted);
}
.owner-section {
  max-width: 1240px;
  margin: auto;
  padding: 48px 36px;
  scroll-margin-top: 20px;
}
.owner-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 12px 0;
}
.owner-section > p {
  max-width: 720px;
  line-height: 1.7;
}
#planes > .eyebrow,
#planes > h2,
#planes > p {
  text-align: center;
}
#planes > p {
  margin-inline: auto;
}
.owner-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.owner-plan {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.owner-plan-featured {
  background: linear-gradient(180deg, #fff7df 0%, #fffdf7 100%);
  border-color: var(--brand);
  box-shadow:
    inset 0 4px 0 var(--brand),
    0 8px 24px #24242410;
}
.owner-plan-featured button.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
}
.owner-plan-featured button.primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}
.owner-plan h3 {
  width: 100%;
  text-align: center;
  font-size: 25px;
  margin: 14px 0;
}
.owner-plan h4 {
  width: 100%;
  text-align: center;
  font-size: 18px;
  margin: 0;
}
.owner-plan p,
.owner-plan li {
  line-height: 1.7;
}
.owner-plan ul {
  padding-left: 20px;
  flex: 1;
}
.owner-plan li {
  margin-bottom: 12px;
}
.owner-plan details {
  margin-bottom: 20px;
}
.owner-plan summary {
  cursor: pointer;
  font-weight: 600;
}
.owner-plan button {
  width: 100%;
  margin-top: 16px;
}
.owner-included {
  padding: 24px;
  margin-top: 24px;
  border-radius: 12px;
  background: var(--accent-soft);
}
.owner-contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 80px;
}
.owner-contact p {
  line-height: 1.7;
}
#owner-contact-panel {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  min-width: 0;
}
#owner-lead-form > button[type='submit'] {
  margin-top: 20px;
}
.owner-contact .field {
  min-width: 0;
}
#owner-lead-error {
  color: #b34b3b;
  margin-bottom: 16px;
}
.owner-success {
  padding: 20px 0;
}
@media (max-width: 800px) {
  #owner-lead-form > button[type='submit'] {
    display: block;
    margin-inline: auto;
  }
  .owner-hero .owner-cta {
    display: table;
    margin-inline: auto;
  }
  .owner-plans,
  .owner-contact {
    grid-template-columns: 1fr;
  }
  .owner-hero,
  .owner-section {
    padding: 32px 18px;
  }
  .owner-hero {
    padding-bottom: 16px;
  }
  .owner-landing .public-header {
    gap: 16px;
  }
  .owner-landing .public-header nav {
    gap: 12px;
    font-size: 12px;
  }
  .owner-landing .public-header .owner-cta {
    padding: 10px;
  }
  .owner-landing .brand-logo {
    width: 110px;
  }
  #owner-contact-panel {
    padding: 20px;
  }
}

/* Slow updates show a thin bar without dimming or shifting the current page. */
.page-loading {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 2000;
  overflow: hidden;
  background: #e7b74330;
  pointer-events: none;
}
.page-loading-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.page-loading::before {
  content: '';
  display: block;
  width: 35%;
  height: 100%;
  background: #e7b743;
  animation: page-loading-progress 1.2s ease-in-out infinite;
}
button[data-loading-lock]:disabled {
  opacity: 1;
  cursor: progress;
}
@keyframes page-loading-progress {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(390%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-loading::before {
    animation: none;
    width: 100%;
  }
}

.workspace.account-switcher {
  display: block;
}
.account-switcher select {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0 20px 0 0;
  background-color: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-overflow: ellipsis;
}
.account-switcher:focus-within {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.account-switcher[aria-busy='true'] {
  opacity: 0.65;
}
@media (max-width: 768px) {
  .account-switcher select {
    font-size: 16px;
  }
}

.sidebar-close,
.sidebar-backdrop {
  display: none;
}
@media (max-width: 700px) {
  .sidebar-close {
    display: flex;
    align-self: flex-end;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
    margin-top: -16px;
  }
  .sidebar.open + .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 19;
    border: 0;
    border-radius: 0;
    background: #24242465;
    cursor: pointer;
  }
}

.analytics-preferences {
  position: fixed;
  bottom: 50px;
  right: 16px;
  z-index: 150;
  max-width: 390px;
  margin-left: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 40px #24242430;
}
.analytics-preferences p {
  margin: 12px 0;
}
.analytics-preferences button {
  margin-top: 12px;
  padding: 10px;
}
.analytics-preferences-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.analytics-preferences [data-close-analytics] {
  flex-shrink: 0;
  margin: 0;
  min-width: 44px;
  min-height: 44px;
  padding: 4px;
  font-size: 24px;
}
.analytics-settings {
  position: fixed;
  bottom: 8px;
  right: 12px;
  z-index: 90;
  padding: 6px 10px;
  font-size: 11px;
}

.draft-notice {
  margin: 16px 0;
  padding: 12px;
  background: var(--surface);
  border-radius: 8px;
}
.draft-notice label:not(.request-terms) {
  display: block;
}
.draft-notice input[type='checkbox'] {
  width: auto;
}
.draft-card {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.draft-card button {
  margin: 10px 8px 0 0;
}

.request-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  font-size: 13px;
  line-height: 1.5;
}
.request-terms input[type='checkbox'] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}
.request-terms[hidden] {
  display: none;
}

.customer-rental-detail {
  display: grid;
  gap: 28px;
}
.customer-rental-detail > a {
  justify-self: start;
}
.customer-rental-detail > .page-heading {
  margin: 0;
}
.customer-rental-detail > .panel:not(.rental-documents) {
  padding: 28px;
}
.customer-rental-detail .detail-list {
  margin: 0;
  gap: 28px 40px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.customer-rental-detail .detail-list dt {
  font-size: 12px;
  margin-bottom: 8px;
}
.customer-rental-detail .detail-list dd {
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.customer-rental-detail .rental-document-row {
  padding: 24px 28px;
  gap: 24px;
}
.customer-rental-detail .rental-document-row:last-child {
  border-bottom: 0;
}
@media (max-width: 640px) {
  .customer-rental-detail {
    gap: 24px;
  }
  .customer-rental-detail > .panel:not(.rental-documents),
  .customer-rental-detail .rental-document-row {
    padding: 20px;
  }
  .customer-rental-detail .detail-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .customer-rental-detail .rental-document-row {
    flex-wrap: wrap;
    gap: 16px;
  }
}

.rental-document-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.rental-document-row p {
  margin: 6px 0 0;
  color: var(--muted);
}
.rental-document-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
@media (max-width: 600px) {
  .rental-document-row {
    flex-wrap: wrap;
  }
}

.quote-drafts-panel {
  margin-bottom: 16px;
}

.account-settings-menu {
  display: grid;
  gap: 12px;
}
.account-settings-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  text-align: left;
}

.account-profile {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
}
.account-profile:hover {
  background: var(--accent-soft);
}

#account-settings-back,
#team-notifications-back {
  margin-bottom: 16px;
}

#password-recovery-form {
  margin-bottom: 16px;
}

/* Keep footers at the viewport bottom without covering page content. */
@media screen {
  .app-shell > .main {
    display: flex;
    flex-direction: column;
  }
  .app-shell > .main > .topbar {
    flex-shrink: 0;
  }
  .app-shell > .main > .content {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    margin: 0 auto;
  }
  .app-shell > .main > .content > * {
    flex-shrink: 0;
  }
  .content > .footer-line {
    margin-top: auto;
    padding-top: 28px;
  }
  #app:has(> footer.public-content),
  body:has(> footer.public-content),
  .owner-landing {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
  }
  #app > footer.public-content,
  body > footer.public-content,
  .owner-landing > footer.public-content {
    margin-top: auto;
  }
}

.account-settings-divider {
  width: 100%;
  margin: 4px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.request-comments {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border, #e5e7eb);
}
.request-comment {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border, #e5e7eb);
}
.request-comment small {
  display: block;
}
.request-comment p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.comment-form {
  margin-top: 1rem;
}

[data-commercial-detail] {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}
[data-commercial-detail] > a,
[data-commercial-detail] > button {
  align-self: flex-start;
}
[data-commercial-detail] > .page-heading {
  margin: 0 0 8px;
}
[data-commercial-detail] > .panel {
  padding: 28px;
}
[data-commercial-detail] .panel > h2 {
  margin: 0 0 24px;
}
[data-commercial-detail] .detail-list {
  gap: 24px 32px;
  margin: 0;
}
[data-commercial-detail] .detail-list dd {
  line-height: 1.6;
  overflow-wrap: anywhere;
}
[data-commercial-detail] .detail-actions {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  gap: 12px;
}
[data-commercial-detail] .request-comments {
  margin: 0;
  padding: 0;
  border: 0;
}
[data-commercial-detail] .request-comments > h3 {
  margin: 0 0 12px;
}
[data-commercial-detail] .request-comments > p {
  margin: 0 0 24px;
}
[data-commercial-detail] .request-comment {
  padding: 20px 0;
}
[data-commercial-detail] .request-comment small {
  margin-top: 6px;
}
[data-commercial-detail] .request-comment p {
  margin: 12px 0 0;
  line-height: 1.6;
}
[data-commercial-detail] .comment-form {
  margin-top: 24px;
}
[data-commercial-detail] details > summary {
  cursor: pointer;
}
[data-commercial-detail] details[open] > summary {
  margin-bottom: 24px;
}
[data-commercial-detail] #comments {
  scroll-margin-top: 24px;
}
@media (max-width: 640px) {
  [data-commercial-detail] {
    gap: 20px;
  }
  [data-commercial-detail] > .panel {
    padding: 20px;
  }
  [data-commercial-detail] .detail-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  [data-commercial-detail] .detail-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

[data-commercial-detail] > .detail-actions {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.quote-option-editor {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin: 12px 0;
}
.quote-option-editor legend {
  font-weight: 600;
  padding: 0 8px;
}
.quote-option-editor [data-option-fields] {
  margin-top: 16px;
}
.quote-option-editor [data-option-fields][hidden] {
  display: none;
}
.quote-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
  align-items: stretch;
}
.quote-option-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  box-shadow: 0 4px 16px rgb(0 0 0 / 4%);
}
.quote-option-card h3 {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.4;
}
.quote-option-card.quote-option-selected {
  border-color: var(--brand-border);
  box-shadow: inset 0 0 0 1px var(--brand-border);
  background: #fffdf7;
}
.quote-option-selected .financial-breakdown {
  background: transparent;
}
.quote-option-accepted {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.quote-option-card h4 {
  margin: 16px 0 12px;
  line-height: 1.5;
}
.quote-option-card p {
  margin: 12px 0;
  line-height: 1.6;
}
.quote-option-overview {
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.quote-option-price {
  margin-top: auto;
}
.quote-option-card .financial-breakdown {
  padding: 16px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  margin: 0 0 16px;
}
.quote-option-card .financial-breakdown div {
  gap: 12px;
}
.quote-option-card .financial-breakdown .total {
  font-size: 20px;
  flex-wrap: wrap;
}
.quote-option-card > button {
  width: 100%;
  min-height: 44px;
}
.quote-option-photo {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: contain;
  margin: 0 auto 16px;
}
@media (max-width: 640px) {
  .quote-options-grid {
    grid-template-columns: 1fr;
  }
  .quote-option-card {
    padding: 20px;
  }
}
@media print {
  .quote-options-grid {
    display: block;
  }
  .quote-option-card {
    break-inside: avoid;
    margin-bottom: 24px;
    box-shadow: none;
  }
  .quote-option-card > button {
    display: none;
  }
}

.financial-breakdown .discount-savings {
  color: #17643c;
  background: #edf8f0;
  border-radius: 6px;
  padding: 10px;
  margin: 6px 0;
  font-weight: 600;
}

.financial-breakdown .discount-zero {
  padding: 10px;
  margin: 6px 0;
}

.mobile-back-label {
  display: none;
}

.stats.customer-dashboard-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Workspace layouts for phones. Print keeps the original document tables. */
@media screen and (max-width: 767px) {
  .app-shell .main,
  .app-shell .content {
    min-width: 0;
  }
  .app-shell .content {
    padding: 20px 14px 28px;
  }
  .app-shell button,
  .app-shell select,
  body:has(.app-shell) .modal button {
    min-height: 44px;
  }
  .app-shell input,
  .app-shell select,
  .app-shell textarea,
  body:has(.app-shell) .modal input,
  body:has(.app-shell) .modal select,
  body:has(.app-shell) .modal textarea {
    font-size: 16px;
    max-width: 100%;
    min-width: 0;
  }
  .app-shell .page-heading,
  .app-shell .panel-header,
  .app-shell .table-toolbar,
  .app-shell .table-footer {
    flex-wrap: wrap;
    gap: 12px;
  }
  .app-shell .heading-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .app-shell .heading-actions button:first-child:not(:last-child) {
    display: inline-flex;
  }
  .app-shell .table-toolbar input,
  .app-shell .table-toolbar select {
    width: 100%;
  }
  .app-shell .tabs {
    overflow-x: auto;
    max-width: 100%;
    white-space: nowrap;
  }
  .app-shell .table-wrap,
  body:has(.app-shell) .modal .table-wrap {
    overflow: visible;
  }
  body:has(.app-shell) .mobile-records,
  body:has(.app-shell) .mobile-records tbody,
  body:has(.app-shell) .mobile-records tr,
  body:has(.app-shell) .mobile-records td {
    display: block;
    width: 100%;
    white-space: normal;
  }
  body:has(.app-shell) .mobile-records thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  body:has(.app-shell) .mobile-records tbody {
    display: grid;
    gap: 14px;
    padding: 12px;
  }
  body:has(.app-shell) .mobile-records tr {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 12px;
  }
  body:has(.app-shell) .mobile-records td {
    padding: 8px 0;
    border: 0;
    overflow-wrap: anywhere;
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
  }
  body:has(.app-shell) .mobile-records td:empty {
    display: none;
  }
  body:has(.app-shell) .mobile-records td small,
  body:has(.app-shell) .mobile-records .badge {
    font-size: 12px;
  }
  body:has(.app-shell) .mobile-records td .link-button {
    font-size: 14px;
    text-align: left;
  }
  body:has(.app-shell) .mobile-records td::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 4px;
  }
  body:has(.app-shell) .mobile-records td[data-label='']::before {
    display: none;
  }
  body:has(.app-shell) .mobile-records td:first-child {
    font-size: 16px;
    font-weight: 600;
  }
  body:has(.app-shell) .mobile-records td button {
    margin: 4px 8px 0 0;
  }
  body:has(.app-shell) .mobile-records .asset-cell {
    min-width: 0;
  }
  body:has(.app-shell) .mobile-records .asset-cell > div {
    min-width: 0;
  }
  .workspace-dashboard {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .workspace-dashboard > br {
    display: none;
  }
  .workspace-dashboard > .page-heading,
  .workspace-dashboard > .welcome-strip {
    order: -5;
    margin: 0;
  }
  .workspace-dashboard > .dashboard-priority {
    order: -2;
    margin: 0;
  }
  .workspace-dashboard > .stats {
    order: -4;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
  }
  .workspace-dashboard .stat-value {
    font-size: 22px;
    overflow-wrap: anywhere;
  }
  .workspace-dashboard .bottom-grid,
  .workspace-dashboard .dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
  }
  body:has(.app-shell) .modal-backdrop {
    padding: 0;
    align-items: stretch;
  }
  body:has(.app-shell) .modal,
  body:has(.app-shell) .modal.wide {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  body:has(.app-shell) .modal-header {
    flex: 0 0 auto;
    padding: max(12px, env(safe-area-inset-top)) 16px 12px;
    gap: 12px;
  }
  body:has(.app-shell) .modal-header h2 {
    font-size: 18px;
    min-width: 0;
  }
  body:has(.app-shell) .modal-back {
    order: -1;
    flex-shrink: 0;
  }
  body:has(.app-shell) .mobile-back-label {
    display: inline;
  }
  body:has(.app-shell) .modal-close-icon {
    display: none;
  }
  body:has(.app-shell) .modal-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 16px max(16px, env(safe-area-inset-bottom));
  }
  body:has(.app-shell) .modal .form-grid,
  body:has(.app-shell) .modal .detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  body:has(.app-shell) .modal .field.full,
  body:has(.app-shell) .modal .form-section {
    grid-column: 1;
  }
  body:has(.app-shell) .modal .form-actions {
    position: sticky;
    bottom: -16px;
    z-index: 2;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 12px 0 max(12px, env(safe-area-inset-bottom));
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  body:has(.app-shell) .modal .form-actions .primary {
    flex: 1;
  }
  .app-shell .detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .app-shell .detail-actions button,
  .app-shell .quote-option-card > button,
  .app-shell .rental-document-row > button {
    width: 100%;
    min-height: 48px;
  }
  .app-shell .quote-options-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .app-shell .content:has(.mobile-quote-actions) {
    padding-bottom: calc(180px + env(safe-area-inset-bottom));
  }
  .app-shell .mobile-quote-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 12px 16px max(12px, env(safe-area-inset-bottom));
    margin: 0;
  }
  .app-shell .mobile-quote-actions > .primary {
    grid-column: 1 / -1;
  }
  .app-shell .quote-option-card > button {
    position: sticky;
    bottom: 12px;
    z-index: 1;
  }
  .app-shell .detail-list > div,
  body:has(.app-shell) .modal .detail-list > div {
    display: block;
    padding: 10px 0;
  }
  .app-shell .detail-list dd,
  body:has(.app-shell) .modal .detail-list dd {
    margin: 6px 0 0;
    overflow-wrap: anywhere;
  }
  body:has(.app-shell) .document {
    padding: 16px 0;
    font-size: 14px;
  }
  body:has(.app-shell) .document-header {
    flex-wrap: wrap;
    gap: 16px;
  }
  body:has(.app-shell) .document .financial-breakdown {
    width: 100%;
    max-width: none;
  }
  body:has(.app-shell) .document .financial-breakdown > div {
    gap: 12px;
  }
  body:has(.app-shell) .rental-document-navigation {
    flex-wrap: wrap;
    gap: 8px;
  }
  body:has(.app-shell) .analytics-settings {
    position: static;
    display: block;
    margin: 12px auto;
  }
}

/* Owner summary is independent of the space below for future rental actions. */
.owner-summary-dashboard {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.owner-summary-dashboard > .page-heading {
  order: initial;
  margin: 0;
}
.owner-summary-dashboard .page-heading h1 {
  margin: 0;
}
.owner-balance-summary {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
}
.owner-balance-primary {
  padding: 44px;
  background: var(--surface);
}
.owner-balance-primary h2 {
  font-size: 17px;
  font-weight: 500;
  color: #51514b;
  margin: 0 0 18px;
}
.owner-balance-amount {
  font-size: clamp(36px, 4.5vw, 64px);
  letter-spacing: -2px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 30px;
  overflow-wrap: anywhere;
}
.owner-payments-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  min-height: 46px;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 600;
  text-decoration: none;
}
.owner-payments-link:hover {
  background: var(--brand-hover);
}
.owner-payments-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.owner-balance-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 32px 44px;
  margin: 0;
  gap: 32px;
}
.owner-balance-details > div + div {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.owner-balance-details dt {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}
.owner-balance-details dd {
  margin: 0;
  font-size: 29px;
  letter-spacing: -0.8px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
@media screen and (max-width: 767px) {
  .owner-summary-dashboard {
    gap: 24px;
  }
  .owner-balance-primary {
    padding: 32px 24px;
  }
  .owner-balance-amount {
    font-size: 40px;
    letter-spacing: -1px;
  }
  .owner-payments-link {
    width: 100%;
  }
  .owner-balance-details {
    padding: 26px 24px;
    gap: 20px;
  }
  .owner-balance-details > div + div {
    padding-left: 20px;
  }
  .owner-balance-details dt {
    font-size: 13px;
  }
  .owner-balance-details dd {
    font-size: 22px;
  }
}

/* Keep keyboard focus visible on the neutral and gold palette. */
:is(button, a, input, select, textarea):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Keep company dashboard sections in document order at every viewport size. */
.company-dashboard > .dashboard-priority {
  margin-bottom: 23px;
}
@media screen and (max-width: 767px) {
  .workspace-dashboard.company-dashboard > * {
    order: initial;
    margin: 0;
  }
}

.rental-task {
  gap: 20px;
}
.rental-task button {
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .rental-task {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .rental-task button {
    width: 100%;
  }
}

/* Keep the public description formatted as entered in its text box. */
.equipment-description {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* Keep prices in the card body and reserve its footer for actions. */
.marketplace-card {
  display: flex;
  flex-direction: column;
}
.equipment-card-link {
  display: block;
  color: inherit;
  flex: 1;
}
.equipment-card-price {
  margin-top: 16px;
}
.equipment-card-price strong {
  font-size: 16px;
}
.equipment-card-price small {
  color: var(--muted);
  font-size: 11px;
}
.equipment-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 16px 20px;
}
.equipment-card-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
}
.card-quote-action {
  padding: 10px 16px;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  background: var(--brand);
  color: var(--on-brand);
}
.card-quote-action:hover {
  background: var(--brand-hover);
}

.equipment-rates-currency {
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 10px;
}
.equipment-rates {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}
.equipment-rates > div {
  min-width: 0;
}
.equipment-rates dt {
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 5px;
}
.equipment-rates dd {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.35px;
  overflow-wrap: anywhere;
}
.equipment-card-body .equipment-card-location {
  margin: 16px 0 0;
}

.equipment-inclusions {
  gap: 10px;
}
.equipment-inclusions .badge {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.4;
  padding: 8px 12px;
}
.equipment-inclusions .badge::before {
  background: var(--muted);
}

@media screen and (max-width: 767px) {
  .equipment-detail-grid {
    display: flex;
    flex-direction: column;
  }
  .equipment-detail-grid > .equipment-overview {
    display: contents;
  }
  .equipment-detail-grid .equipment-description {
    order: 2;
  }
  .equipment-detail-grid > .equipment-rental-details {
    order: 1;
  }
}

.equipment-rates dd.rate-unavailable {
  color: var(--muted);
  font-weight: 400;
}

/* New owner onboarding */
.owner-onboarding {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 32px;
}
.owner-onboarding-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.owner-onboarding h2 {
  font-size: 21px;
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.4px;
}
.owner-onboarding-heading p {
  font-size: 13px;
  color: var(--muted);
  margin: 9px 0 0;
}
.owner-onboarding-count {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 5px;
}
.owner-onboarding-progress {
  height: 5px;
  background: var(--surface);
  border-radius: 4px;
  overflow: hidden;
  margin: 24px 0 10px;
}

.owner-onboarding-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.owner-onboarding-steps li {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.owner-onboarding-steps li:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}
.owner-onboarding-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
}
.owner-onboarding-steps h3 {
  font-size: 14px;
  margin: 0 0 7px;
  font-weight: 600;
}
.owner-onboarding-steps p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
.owner-onboarding-status {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.owner-onboarding-status.done {
  color: var(--ink);
}
.owner-onboarding-result {
  display: flex;
  align-items: center;
  gap: 14px;
}
.owner-onboarding-result .owner-onboarding-whatsapp {
  order: -1;
}
.owner-onboarding-result .owner-onboarding-status {
  min-width: 70px;
  text-align: right;
}
.owner-onboarding-completed {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}
.owner-onboarding-completed time {
  font-size: 12px;
  color: var(--muted);
}
.owner-onboarding-whatsapp {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  flex-shrink: 0;
}
.owner-onboarding-whatsapp:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.owner-onboarding-whatsapp:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.owner-onboarding-whatsapp svg {
  width: 22px;
  height: 22px;
}
@media (max-width: 767px) {
  .owner-onboarding-result,
  .owner-onboarding-completed {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }
  .owner-onboarding-result {
    justify-self: start;
    justify-content: flex-start;
    gap: 12px;
  }
  .owner-onboarding-result .owner-onboarding-whatsapp {
    order: 1;
  }
  .owner-onboarding-result .owner-onboarding-status {
    min-width: 0;
    text-align: left;
  }
}
.owner-onboarding-status.active {
  color: var(--accent);
  background: var(--accent-soft);
  padding: 7px 11px;
  border-radius: 5px;
  font-weight: 600;
}
.current .owner-onboarding-number {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 650;
}
@media (max-width: 767px) {
  .owner-onboarding {
    padding: 22px 18px;
  }
  .owner-onboarding-heading {
    flex-direction: column;
    gap: 8px;
  }
  .owner-onboarding h2 {
    font-size: 20px;
  }
  .owner-onboarding-steps li {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px 12px;
    align-items: start;
  }
  .owner-onboarding-number {
    width: 26px;
    height: 26px;
  }
  .owner-onboarding-status {
    grid-column: 2;
    justify-self: start;
  }
  .owner-onboarding-progress {
    margin-top: 18px;
  }
}
@media (max-width: 767px) {
  .owner-onboarding,
  .owner-summary-dashboard,
  .owner-onboarding-steps li > div {
    min-width: 0;
  }
  .owner-onboarding-result {
    width: 100%;
  }
  .owner-onboarding-steps p {
    overflow-wrap: anywhere;
  }
}

.owner-onboarding-progress progress {
  width: 100%;
  height: 5px;
  border: 0;
  display: block;
  accent-color: var(--brand);
}
.owner-onboarding-progress progress::-webkit-progress-bar {
  background: var(--surface);
}
.owner-onboarding-progress progress::-webkit-progress-value {
  background: var(--brand);
}
