:root {
  --ink: #17293d;
  --muted: #607080;
  --line: #d6e0e4;
  --panel: #ffffff;
  --soft: #f3f6f8;
  --brand: #1f7a76;
  --brand-dark: #155f5c;
  --accent: #d9a441;
  --blue: #315c85;
  --steel: #8090a0;
  --danger: #c94c4c;
  --shadow: 0 16px 42px rgba(23, 41, 61, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #eef3f5;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 7vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.manage-body {
  display: block;
  min-height: 100vh;
  background: #eef3f5;
}

.manage-sidebar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 78px;
  padding: 14px 32px;
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(36, 49, 63, 0.08);
}

.manage-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 168px;
  margin-bottom: 0;
}

.manage-brand .brand-mark {
  background: var(--ink);
  color: #fff;
}

.manage-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  justify-content: flex-end;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.manage-nav a {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 10px;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafb;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.manage-nav a:hover {
  background: #e5f3f1;
  color: var(--brand-dark);
}

.manage-main {
  min-width: 0;
}

.manage-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 32px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(36, 49, 63, 0.04);
}

.manage-topbar span,
.manage-topbar strong {
  display: block;
}

.manage-topbar span {
  color: var(--muted);
  font-size: 13px;
}

.manage-messages {
  margin-top: 18px;
}

.manage-main .section {
  max-width: none;
  padding: 30px 32px 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 34px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 6px;
}

.nav a:hover,
.nav-primary {
  background: #e5f2f0;
  color: var(--brand-dark);
}

.messages {
  max-width: 1180px;
  margin: 20px auto 0;
  padding: 0 24px;
}

.message {
  margin-bottom: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #e5f3f1;
  border: 1px solid #b9ddda;
}

.message-error {
  background: #fff1f1;
  border-color: #e7b4b4;
  color: var(--danger);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 32px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px 24px;
}

.hero h1 {
  margin: 8px 0 14px;
  font-size: clamp(34px, 4.3vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.hero-text,
.lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions,
.actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-visual {
  min-height: 300px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
  box-shadow: var(--shadow);
}

.hero-visual img,
.detail-media img,
.device-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-checks,
.workflow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-checks {
  margin-top: 22px;
}

.hero-checks span {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.workflow {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 24px;
}

.workflow div {
  flex: 1 1 220px;
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 41, 61, 0.05);
}

.workflow span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: #eef3f5;
  color: var(--brand-dark);
  font-weight: 900;
}

.workflow strong,
.workflow p {
  display: block;
  margin: 0;
}

.workflow p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.button:hover {
  background: var(--brand-dark);
}

.button.ghost {
  background: #fff;
  color: var(--brand-dark);
}

.button.danger {
  border-color: var(--danger);
  background: var(--danger);
  color: #fff;
}

.button.small {
  min-height: 38px;
  padding: 0 14px;
}

.button.tiny {
  min-height: 32px;
  padding: 0 10px;
  font-size: 13px;
}

.button.wide {
  width: 100%;
}

.button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 20px;
}

.metrics div {
  padding: 18px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.metrics strong {
  display: block;
  font-size: 30px;
}

.metrics span {
  color: var(--muted);
}

.section,
.detail-layout,
.auth-card {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px 70px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.section-head.compact {
  margin-top: 30px;
  align-items: center;
}

.section-note {
  color: var(--muted);
  font-size: 14px;
}

.section h1,
.section h2,
.detail-panel h1,
.auth-card h1 {
  margin: 6px 0 0;
}

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

.device-card,
.panel,
.auth-card,
.detail-panel,
.detail-media {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.device-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  overflow: hidden;
}

.device-image {
  display: grid;
  place-items: center;
  min-height: 230px;
  padding: 18px;
  background: #edf4f5;
}

.device-body {
  padding: 22px;
}

.device-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.device-title-row h3 {
  margin: 0;
  font-size: 20px;
}

.device-body p {
  color: var(--muted);
  line-height: 1.7;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.status.ok {
  background: #e5f2f0;
  color: var(--brand-dark);
}

.status.warning {
  background: #fff4d9;
  color: #866414;
}

.status.danger-soft {
  background: #fff0ee;
  color: #a9473d;
}

.status.muted {
  background: #eef1f2;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 20px;
}

.tags span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.price small,
.info-grid span,
.detail-facts span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.price strong {
  font-size: 24px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(310px, 0.75fr) minmax(0, 1.25fr);
  gap: 24px;
}

.detail-media {
  display: grid;
  place-items: center;
  min-height: 430px;
  padding: 34px;
  position: sticky;
  top: 96px;
  align-self: start;
  background: #edf4f5;
}

.media-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.media-caption strong,
.media-caption span {
  display: block;
}

.media-caption span {
  color: var(--muted);
  font-size: 13px;
}

.detail-panel {
  padding: 30px;
}

.detail-facts,
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}

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

.rule-grid section {
  min-height: 124px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.rule-grid h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

.rule-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.detail-facts div,
.info-grid div {
  padding: 16px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.detail-facts strong,
.info-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.order-form {
  display: grid;
  gap: 16px;
}

.order-card {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid #cfdde1;
  border-radius: 8px;
  background: #fbfcfd;
}

.form-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.form-title h2 {
  margin: 4px 0 0;
}

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

.auth-card {
  max-width: 480px;
  margin-top: 54px;
  padding: 34px;
}

.auth-card form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
  padding: 6px;
  border-radius: 8px;
  background: #eef3f4;
}

.auth-tab {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.auth-tab.active {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 8px 22px rgba(36, 49, 63, 0.08);
}

.login-panel.hidden {
  display: none;
}

.code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 10px;
}

.form-note {
  color: var(--muted);
}

.form-help {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.form-note a {
  color: var(--brand-dark);
  font-weight: 800;
}

.account-hints {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.account-hints div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.account-hints strong,
.account-hints span {
  display: block;
}

.account-hints span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.order-list {
  display: grid;
  gap: 12px;
}

.order-row {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 0.6fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.order-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.content-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.order-finance-panels {
  margin-top: 18px;
}

.progress-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 24px;
}

.progress-step {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
}

.progress-step strong {
  color: inherit;
  font-size: 14px;
}

.progress-step.done,
.progress-step.current {
  border-color: #b9ddda;
  color: var(--brand-dark);
}

.progress-step.current {
  box-shadow: 0 10px 28px rgba(43, 140, 133, 0.16);
}

.panel {
  padding: 20px;
}

.panel h2 {
  margin: 0 0 12px;
}

.shipment-block {
  padding: 12px 0;
  border-top: 1px solid #e4ecef;
}

.shipment-block:first-of-type {
  border-top: 0;
}

.trace-list {
  margin: 10px 0 0;
  padding-left: 20px;
}

.trace-list li {
  margin: 8px 0;
  line-height: 1.55;
}

.trace-list span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.inline-return {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack-form {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.filter-bar label {
  min-width: 190px;
  flex: 1 1 190px;
}

.catalog-filter {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(180px, 0.75fr) auto auto;
  gap: 12px;
  align-items: end;
  margin: 0 0 22px;
  padding: 16px;
  border: 1px solid #d7e2e6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 42, 61, 0.07);
}

.catalog-result {
  margin: -6px 0 18px;
  color: var(--muted);
}

.catalog-result strong {
  margin-left: 8px;
  color: var(--ink);
}

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

.manage-grid > * {
  display: grid;
  gap: 4px;
  min-height: 118px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.manage-grid a {
  cursor: pointer;
}

.manage-grid a:hover {
  border-color: #b9ddda;
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(36, 49, 63, 0.10);
}

.manage-grid strong {
  font-size: 34px;
  position: relative;
  z-index: 1;
}

.manage-grid span,
.table-like {
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.manage-grid small {
  color: #8795a1;
  font-size: 12px;
  position: relative;
  z-index: 1;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 30px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.device-state-list {
  display: grid;
  gap: 14px;
}

.device-state-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(23, 41, 61, 0.06);
}

.device-state-main,
.state-facts {
  display: grid;
  gap: 14px;
}

.device-state-main {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.device-state-main h2 {
  margin: 4px 0;
}

.device-state-main p {
  margin: 0;
  color: var(--muted);
}

.state-facts {
  grid-template-columns: 1fr 1.25fr 0.9fr;
}

.state-facts div {
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafb;
}

.state-facts span,
.state-facts small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.state-facts strong {
  display: block;
  margin: 6px 0 4px;
  overflow-wrap: anywhere;
}

.table-like {
  display: grid;
  gap: 8px;
}

.table-head,
.table-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr 0.8fr 0.8fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.table-head {
  color: var(--ink);
  font-weight: 800;
  background: #edf4f5;
  border-color: #d5e4e6;
}

.table-row {
  box-shadow: 0 8px 26px rgba(36, 49, 63, 0.05);
}

.table-row:hover {
  border-color: #bfd9dc;
  box-shadow: 0 12px 34px rgba(36, 49, 63, 0.08);
}

.table-head.enterprise,
.table-row.enterprise {
  grid-template-columns: 1.4fr 1fr 1fr 0.7fr 1fr;
}

.table-head.iot,
.table-row.iot {
  grid-template-columns: 1fr 0.8fr 0.6fr 1fr 0.6fr 1fr;
}

.table-head.users,
.table-row.users {
  grid-template-columns: 1fr 1fr 0.8fr 0.8fr 0.6fr 1fr;
}

.table-head.products,
.table-row.products {
  grid-template-columns: 1.4fr 0.9fr 0.8fr 0.7fr 1fr 0.6fr 1.1fr;
}

.table-head.invoices,
.table-row.invoices,
.table-head.audit,
.table-row.audit {
  grid-template-columns: 1.2fr 1.2fr 0.8fr 0.7fr 0.9fr 1fr;
}

.table-head.devices,
.table-row.devices {
  grid-template-columns: 1fr 1.4fr 0.8fr 0.7fr 1fr 0.5fr;
}

.inline-admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(100px, 1fr)) auto;
  gap: 8px;
  align-items: center;
}

.table-row.invoices .inline-admin-form {
  grid-template-columns: repeat(2, minmax(100px, 1fr));
}

.table-row.invoices .inline-admin-form .button {
  width: 100%;
}

.invoice-guide {
  margin-bottom: 16px;
}

.inline-admin-form input,
.inline-admin-form select {
  min-height: 34px;
  font-size: 13px;
}

.table-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.log-panel {
  margin-top: 18px;
}

.product-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.checkbox-line {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
}

.checkbox-line input {
  width: 18px;
  min-height: 18px;
}

.agreement-line {
  align-items: flex-start;
  line-height: 1.6;
}

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

.address-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.address-title {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.address-title strong {
  font-size: 18px;
}

.address-title span {
  color: var(--muted);
}

.address-title em {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #e5f3f1;
  color: var(--brand-dark);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.address-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #eef1f2;
  color: var(--ink);
}

.inline-return input {
  width: 210px;
}

.empty {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
}

/* Premium visual pass */
body {
  background: #edf2f5;
}

.topbar {
  min-height: 78px;
  padding: 0 clamp(28px, 6vw, 88px);
  background: #0f2335;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f7fafb;
  box-shadow: 0 18px 38px rgba(13, 30, 46, 0.18);
}

.topbar .brand {
  color: #fff;
}

.topbar .brand-mark {
  background: #1f7a76;
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 122, 118, 0.32);
}

.topbar .nav {
  color: #c9d5df;
}

.topbar .nav a {
  min-height: 38px;
  padding: 0 13px;
  color: #dbe5ec;
}

.topbar .nav a:hover,
.topbar .nav-primary {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
}

.hero {
  max-width: none;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.72fr);
  padding: 58px clamp(28px, 6vw, 88px) 48px;
  background: #10263a;
  color: #f7fafb;
}

.hero .eyebrow {
  color: #70d0c7;
}

.hero h1 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
}

.hero-text {
  max-width: 720px;
  color: #d2dde6;
}

.hero .button {
  border-color: #62b8b1;
  background: #2d948d;
}

.hero .button.ghost {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-checks span {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #dce8ee;
}

.hero-visual {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #f4f8fa;
  box-shadow: 0 24px 60px rgba(2, 12, 22, 0.32);
}

.hero-visual img {
  max-width: 84%;
  max-height: 76%;
}

.hero-visual-panel {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #dae5e9;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 14px 32px rgba(23, 41, 61, 0.12);
}

.hero-visual-panel strong,
.hero-visual-panel span {
  display: block;
}

.hero-visual-panel span {
  color: var(--muted);
  font-size: 13px;
}

.workflow,
.metrics,
.section,
.detail-layout,
.messages {
  max-width: 1240px;
}

.workflow {
  margin-top: -22px;
  position: relative;
  z-index: 2;
}

.workflow div,
.metrics div,
.device-card,
.panel,
.auth-card,
.detail-panel,
.detail-media,
.address-card,
.device-state-card {
  border-color: #d7e2e6;
  box-shadow: 0 18px 46px rgba(20, 42, 61, 0.08);
}

.workflow div {
  background: #fff;
}

.workflow span {
  background: #10263a;
  color: #fff;
}

.metrics {
  padding-top: 6px;
}

.metrics div {
  border: 0;
}

.metrics strong {
  color: #10263a;
}

.section-head h1,
.section-head h2,
.detail-panel h1,
.auth-card h1 {
  color: #12263a;
}

.section-note {
  padding: 8px 12px;
  border: 1px solid #d7e2e6;
  border-radius: 8px;
  background: #fff;
}

.device-card {
  border: 0;
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.device-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 58px rgba(20, 42, 61, 0.13);
}

.device-image,
.detail-media {
  background: #e8f0f3;
}

.device-title-row h3,
.device-body .price strong {
  color: #10263a;
}

.tags span {
  background: #f6f8fa;
}

.detail-panel,
.order-card {
  background: #fff;
}

.order-card {
  border-color: #cbdbe0;
  box-shadow: inset 0 4px 0 #1f7a76;
}

.detail-facts div,
.info-grid div,
.rule-grid section,
.state-facts div {
  background: #f7fafb;
}

.manage-body {
  background: #eef3f6;
}

.manage-sidebar {
  min-height: 74px;
  background: #10263a;
  color: #fff;
  border-bottom: 0;
  box-shadow: 0 16px 36px rgba(10, 27, 43, 0.18);
}

.manage-brand .brand-mark {
  background: #2d948d;
}

.manage-brand strong {
  color: #fff;
}

.manage-nav a {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #dbe5ec;
}

.manage-nav a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.manage-topbar {
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 41, 61, 0.06);
}

.dashboard-grid > * {
  min-height: 128px;
  border: 0;
  background: #fff;
}

.dashboard-grid > *:nth-child(-n+4) {
  background: #10263a;
  color: #fff;
}

.dashboard-grid > *:nth-child(-n+4) span,
.dashboard-grid > *:nth-child(-n+4) small {
  color: #d7e4ec;
}

.dashboard-grid > *:nth-child(-n+4) strong {
  color: #fff;
}

.quick-links,
.filter-bar,
.catalog-filter,
.table-row,
.table-head {
  border-color: #d7e2e6;
  box-shadow: 0 10px 26px rgba(23, 41, 61, 0.05);
}

.table-head {
  background: #10263a;
  color: #fff;
  border-color: #10263a;
}

.table-head span {
  color: #fff;
}

.device-state-card {
  border: 0;
}

.device-state-main h2 {
  color: #10263a;
}

.row-actions .button.ghost,
.quick-links .button.ghost,
.filter-bar .button.ghost {
  background: #fff;
}

@media (max-width: 920px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 24px;
  }

  .manage-sidebar {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 14px 16px 12px;
  }

  .manage-brand {
    margin-bottom: 12px;
  }

  .manage-nav {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .manage-nav a {
    flex: 0 0 auto;
  }

  .manage-topbar {
    min-height: 62px;
    padding: 12px 16px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .manage-topbar .header-actions {
    width: 100%;
  }

  .manage-topbar .button.small {
    flex: 1 1 140px;
  }

  .manage-main .section {
    padding: 22px 16px 56px;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero,
  .detail-layout,
  .device-grid,
  .content-columns,
  .address-grid,
  .state-facts {
    grid-template-columns: 1fr;
  }

  .detail-media {
    position: static;
    min-height: 260px;
  }

  .device-state-main {
    grid-template-columns: 1fr;
  }

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

  .metrics,
  .detail-facts,
  .info-grid,
  .rule-grid,
  .progress-steps,
  .form-grid,
  .code-row,
  .order-row,
  .manage-grid,
  .table-head,
  .table-row,
  .table-head.enterprise,
  .table-row.enterprise,
  .table-head.iot,
  .table-row.iot,
  .table-head.users,
  .table-row.users,
  .table-head.products,
  .table-row.products,
  .table-head.invoices,
  .table-row.invoices,
  .table-head.audit,
  .table-row.audit,
  .table-head.devices,
  .table-row.devices,
  .inline-admin-form,
  .catalog-filter {
    grid-template-columns: 1fr;
  }
}

/* Payment and renewal console */
.payment-console {
  margin-top: 28px;
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(23, 35, 52, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(238, 246, 246, 0.72)),
    #fff;
  box-shadow: 0 22px 52px rgba(23, 35, 52, 0.08);
}

.payment-console h2,
.admin-user-console h2 {
  margin: 0 0 10px;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  background: rgba(23, 35, 52, 0.12);
  border: 1px solid rgba(23, 35, 52, 0.10);
}

.payment-grid article {
  display: grid;
  gap: 9px;
  min-height: 132px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.86);
}

.payment-grid span,
.pay-callout span,
.user-profile-grid span {
  color: #647184;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-grid strong,
.pay-callout strong {
  color: #172334;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.08;
}

.payment-grid small,
.pay-callout small {
  color: #657385;
  font-weight: 750;
}

.pay-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 24px;
  padding: 22px;
  border-left: 5px solid #2e7772;
  background: #f3f8f7;
}

.pay-callout > div:first-child {
  display: grid;
  gap: 7px;
}

.pay-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stacked-mini-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.stacked-mini-form label {
  display: grid;
  gap: 8px;
  color: #637184;
  font-weight: 850;
}

.inline-link {
  color: #1f6f6a;
  font-weight: 950;
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 111, 106, 0.32);
}

.inline-link:hover {
  color: #172334;
  border-bottom-color: currentColor;
}

.extension-review-box {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 20px;
  background: #f5f8f8;
  border: 1px solid rgba(23, 35, 52, 0.10);
}

.extension-review-box > span {
  color: #2e7772;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.extension-review-box > strong {
  font-size: 26px;
}

.admin-user-console .user-hero {
  align-items: end;
}

.user-workbench {
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
}

.user-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid rgba(23, 35, 52, 0.10);
  background: rgba(23, 35, 52, 0.10);
}

.user-profile-grid div {
  display: grid;
  gap: 10px;
  min-height: 104px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.82);
}

.user-profile-grid .span-2,
.user-detail-grid .span-2 {
  grid-column: span 2;
}

.user-profile-grid strong {
  color: #172334;
  font-size: 18px;
  line-height: 1.35;
}

.user-detail-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
}

.user-detail-grid .admin-mini-card p {
  display: grid;
  gap: 5px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(23, 35, 52, 0.08);
}

@media (max-width: 920px) {
  .payment-grid,
  .user-workbench,
  .user-profile-grid,
  .user-detail-grid {
    grid-template-columns: 1fr;
  }

  .pay-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .user-profile-grid .span-2,
  .user-detail-grid .span-2 {
    grid-column: auto;
  }
}

.account-section {
  max-width: 1180px;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 24px;
  align-items: start;
}

.profile-summary {
  display: grid;
  gap: 16px;
}

.profile-score,
.summary-block {
  border: 1px solid #dce5e8;
  border-radius: 8px;
  background: #ffffff;
}

.profile-score {
  padding: 28px;
  background: #123044;
  color: #ffffff;
}

.profile-score span {
  display: block;
  margin-bottom: 18px;
  color: #77c7bd;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.profile-score strong,
.summary-block strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
}

.profile-score p,
.summary-block p {
  margin: 10px 0 0;
  color: inherit;
  opacity: 0.72;
  line-height: 1.7;
}

.summary-block {
  padding: 22px;
}

.summary-block span {
  display: block;
  margin-bottom: 10px;
  color: #667789;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-block a {
  display: inline-block;
  margin-top: 12px;
  color: #123044;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.profile-form {
  display: grid;
  gap: 22px;
}

.form-block-title {
  padding-top: 6px;
  border-top: 1px solid #e4ecef;
}

.form-block-title:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.form-block-title h2 {
  margin: 0;
  color: #102032;
  font-size: 22px;
}

.form-block-title p {
  margin: 8px 0 0;
  color: #667789;
  line-height: 1.7;
}

.form-grid .span-2 {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .form-grid .span-2 {
    grid-column: span 1;
  }
}

.order-detail-v2 {
  max-width: 1180px;
}

.order-hero,
.invoice-hero {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px);
  gap: 28px;
  align-items: end;
  padding: 24px 0 36px;
  border-bottom: 1px solid #dfe8ec;
}

.order-hero h1,
.invoice-hero h1 {
  max-width: 850px;
  margin: 8px 0 14px;
  color: #102032;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.04;
}

.order-hero p,
.invoice-hero p {
  max-width: 720px;
  margin: 0;
  color: #667789;
  font-size: 18px;
  line-height: 1.8;
}

.order-state-card,
.invoice-hero-note {
  padding: 24px;
  border-left: 4px solid #2f817b;
  background: rgba(255, 255, 255, 0.68);
}

.order-state-card span,
.invoice-hero-note span,
.order-kpi-strip span,
.order-finance-band span {
  display: block;
  color: #667789;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-state-card strong,
.invoice-hero-note strong {
  display: block;
  margin-top: 8px;
  color: #102032;
  font-size: 28px;
  font-weight: 900;
}

.order-state-card small {
  display: block;
  margin-top: 10px;
  color: #667789;
}

.order-kpi-strip {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  border-bottom: 1px solid #dfe8ec;
}

.order-kpi-strip div {
  min-height: 118px;
  padding: 26px 30px;
}

.order-kpi-strip div + div {
  border-left: 1px solid #dfe8ec;
}

.order-kpi-strip strong,
.order-finance-band strong {
  display: block;
  margin-top: 10px;
  color: #102032;
  font-size: 22px;
  font-weight: 900;
}

.professional-steps {
  margin: 30px 0;
}

.order-action-panel,
.sandbox-pay-panel {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid #dfe8ec;
  border-bottom: 1px solid #dfe8ec;
}

.order-action-panel strong,
.sandbox-pay-panel strong {
  color: #102032;
  font-size: 22px;
  font-weight: 900;
}

.order-action-panel p,
.sandbox-pay-panel p {
  margin: 8px 0 0;
  color: #667789;
  line-height: 1.7;
}

.order-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.service-panel {
  min-height: 210px;
  padding: 28px;
  border: 1px solid #dce5e8;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.service-panel-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}

.service-panel-head span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 6px;
  background: #edf4f5;
  color: #2f817b;
  font-weight: 900;
}

.service-panel h2,
.invoice-side-card h2 {
  margin: 0;
  color: #102032;
  font-size: 26px;
}

.service-panel p,
.invoice-summary p {
  color: #24313f;
  line-height: 1.75;
}

.empty-copy {
  color: #667789;
}

.invoice-summary + .invoice-summary {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e4ecef;
}

.order-finance-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 30px 0;
  border-top: 1px solid #dfe8ec;
  border-bottom: 1px solid #dfe8ec;
}

.order-finance-band div {
  padding: 24px 28px;
}

.order-finance-band div + div {
  border-left: 1px solid #dfe8ec;
}

.order-finance-band small {
  display: block;
  margin-top: 8px;
  color: #667789;
  line-height: 1.6;
}

.invoice-center {
  max-width: 1180px;
}

.invoice-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 22px;
  margin-top: 30px;
}

.invoice-apply-card,
.invoice-side-card {
  padding: 30px;
  border: 1px solid #dce5e8;
  border-radius: 8px;
  background: #ffffff;
}

.invoice-apply-card {
  display: grid;
  gap: 20px;
}

.invoice-side-card ul {
  margin: 18px 0 22px;
  padding-left: 20px;
  color: #24313f;
  line-height: 1.8;
}

.invoice-records {
  display: grid;
  gap: 14px;
}

.invoice-record {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 320px);
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid #dce5e8;
  border-radius: 8px;
  background: #ffffff;
}

.invoice-record h3 {
  margin: 12px 0 8px;
  color: #102032;
  font-size: 24px;
}

.invoice-record p {
  margin: 0;
  color: #667789;
}

.invoice-record-meta span,
.invoice-record-meta small {
  display: block;
  color: #667789;
  font-weight: 800;
}

.invoice-record-meta strong {
  display: block;
  margin: 6px 0 14px;
  color: #102032;
  font-size: 18px;
}

@media (max-width: 980px) {
  .order-hero,
  .invoice-hero,
  .invoice-workspace,
  .invoice-record {
    grid-template-columns: 1fr;
  }

  .order-kpi-strip,
  .order-finance-band,
  .order-service-grid {
    grid-template-columns: 1fr;
  }

  .order-kpi-strip div + div,
  .order-finance-band div + div {
    border-left: 0;
    border-top: 1px solid #dfe8ec;
  }

  .order-action-panel,
  .sandbox-pay-panel {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Account/order/invoice console redesign */
.account-console,
.rental-command,
.invoice-console {
  width: min(1180px, calc(100vw - 64px));
  max-width: none;
  margin: 0 auto;
  padding-top: 64px;
}

.console-hero,
.rental-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(16, 32, 50, 0.12);
}

.console-hero h1,
.rental-hero h1 {
  margin: 8px 0 0;
  color: #102032;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

.console-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-popover {
  position: relative;
}

.info-popover summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #cfdde2;
  border-radius: 999px;
  background: #ffffff;
  color: #102032;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.info-popover summary::-webkit-details-marker {
  display: none;
}

.info-popover[open] summary {
  border-color: #2f817b;
}

.info-popover div {
  position: absolute;
  right: 0;
  z-index: 5;
  width: 280px;
  margin-top: 12px;
  padding: 18px;
  border: 1px solid #dce5e8;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(16, 32, 50, 0.14);
}

.info-popover strong {
  color: #102032;
  font-size: 16px;
}

.info-popover p {
  margin: 8px 0 0;
  color: #667789;
  font-size: 14px;
  line-height: 1.7;
}

.console-strip,
.rental-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 26px 0;
  border-top: 1px solid rgba(16, 32, 50, 0.12);
  border-bottom: 1px solid rgba(16, 32, 50, 0.12);
}

.rental-summary {
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
}

.console-strip div,
.rental-summary div {
  min-height: 96px;
  padding: 22px 26px;
}

.console-strip div + div,
.rental-summary div + div {
  border-left: 1px solid rgba(16, 32, 50, 0.12);
}

.console-strip span,
.rental-summary span,
.status-dialog span,
.command-dialog span,
.command-card > span,
.address-preview > span,
.finance-grid span,
.ledger-head span {
  display: block;
  color: #667789;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.console-strip strong,
.rental-summary strong {
  display: block;
  margin-top: 8px;
  color: #102032;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.console-grid,
.invoice-console-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.address-preview,
.console-form,
.invoice-ledger {
  border: 1px solid #dce5e8;
  border-radius: 10px;
  background: #ffffff;
}

.address-preview {
  padding: 26px;
}

.address-preview h2,
.console-form h2,
.ledger-head h2,
.command-card h2 {
  margin: 8px 0 16px;
  color: #102032;
  font-size: 26px;
  line-height: 1.15;
}

.address-preview p {
  color: #667789;
  line-height: 1.7;
}

.address-preview strong {
  display: block;
  margin-bottom: 16px;
  color: #102032;
  line-height: 1.7;
}

.console-form {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.console-form section {
  padding: 28px;
}

.console-form section + section {
  border-top: 1px solid #e5ecef;
}

.console-form > .button,
.console-form section > .button {
  margin: 0 28px 28px;
}

.console-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.console-form label {
  display: grid;
  gap: 8px;
  color: #667789;
  font-weight: 900;
}

.console-form input,
.console-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #d8e4e8;
  border-radius: 8px;
  background: #fbfdfe;
  color: #102032;
  font: inherit;
  font-weight: 800;
}

.console-form .span-2 {
  grid-column: span 2;
}

.status-dialog {
  min-width: 250px;
  padding: 24px;
  border-radius: 14px;
  background: #102032;
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(16, 32, 50, 0.18);
}

.status-dialog strong {
  display: block;
  margin: 10px 0;
  color: #ffffff;
  font-size: 30px;
}

.status-dialog small {
  color: rgba(255, 255, 255, 0.68);
}

.command-dialog {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 24px 0;
  padding: 22px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, #123044, #1d4f5d);
  color: #ffffff;
}

.command-dialog strong {
  display: block;
  margin-top: 6px;
  color: #ffffff;
  font-size: 26px;
}

.command-dialog span {
  color: rgba(255, 255, 255, 0.64);
}

.command-dialog .button {
  background: #ffffff;
  color: #102032;
}

.command-dialog .button.ghost {
  border-color: rgba(255, 255, 255, 0.36);
  background: transparent;
  color: #ffffff;
}

.status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.status-line span {
  padding: 9px 13px;
  border-radius: 999px;
  background: #edf4f5;
  color: #667789;
  font-size: 13px;
  font-weight: 900;
}

.status-line .done,
.status-line .current {
  background: #dfeeed;
  color: #1f6f6a;
}

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

.command-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid #dce5e8;
  border-radius: 10px;
  background: #ffffff;
}

.command-card p {
  color: #24313f;
  line-height: 1.65;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #1f6f6a;
  font-weight: 900;
  cursor: pointer;
}

.finance-drawer {
  margin-top: 18px;
  border: 1px solid #dce5e8;
  border-radius: 10px;
  background: #ffffff;
}

.finance-drawer summary {
  padding: 20px 24px;
  color: #102032;
  font-weight: 900;
  cursor: pointer;
}

.finance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #e5ecef;
}

.finance-grid div {
  padding: 20px 24px;
}

.finance-grid div + div {
  border-left: 1px solid #e5ecef;
}

.finance-grid strong {
  display: block;
  margin-top: 8px;
  color: #102032;
  font-size: 20px;
}

.finance-drawer .actions-bar {
  padding: 0 24px 24px;
}

.invoice-console-grid {
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
  margin-top: 28px;
}

.invoice-request-form section {
  display: grid;
  gap: 18px;
}

.invoice-request-form .button {
  margin: 4px 0 0;
}

.invoice-ledger {
  padding: 24px;
}

.ledger-row {
  display: grid;
  grid-template-columns: 1fr 120px 110px;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid #e5ecef;
}

.ledger-row strong {
  color: #102032;
}

.ledger-row p,
.ledger-row small {
  margin: 5px 0 0;
  color: #667789;
}

@media (max-width: 1100px) {
  .command-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .account-console,
  .rental-command,
  .invoice-console {
    width: min(100% - 28px, 1180px);
    padding-top: 34px;
  }

  .console-hero,
  .rental-hero,
  .command-dialog {
    align-items: stretch;
    flex-direction: column;
  }

  .console-strip,
  .rental-summary,
  .console-grid,
  .invoice-console-grid,
  .command-grid,
  .finance-grid {
    grid-template-columns: 1fr;
  }

  .console-strip div + div,
  .rental-summary div + div,
  .finance-grid div + div {
    border-left: 0;
    border-top: 1px solid rgba(16, 32, 50, 0.12);
  }

  .console-form .form-grid,
  .ledger-row {
    grid-template-columns: 1fr;
  }

  .console-form .span-2 {
    grid-column: span 1;
  }
}

.manage-main .admin-order-console {
  width: min(1180px, calc(100vw - 340px));
  max-width: none;
}

.admin-order-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 32px 0 28px;
  border-bottom: 1px solid rgba(16, 32, 50, 0.12);
}

.admin-order-hero h1 {
  margin: 8px 0 0;
  color: #102032;
  font-size: clamp(42px, 4.6vw, 72px);
  line-height: 1.02;
}

.admin-status-card {
  min-width: 250px;
  padding: 22px;
  border-radius: 14px;
  background: #102032;
  color: #ffffff;
}

.admin-status-card span,
.admin-order-strip span,
.card-kicker,
.admin-mini-card > span {
  display: block;
  color: #667789;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-status-card span {
  color: rgba(255, 255, 255, 0.6);
}

.admin-status-card strong {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
}

.admin-status-card small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.64);
}

.admin-order-strip {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  margin: 24px 0;
  border-top: 1px solid rgba(16, 32, 50, 0.12);
  border-bottom: 1px solid rgba(16, 32, 50, 0.12);
}

.admin-order-strip div {
  min-height: 96px;
  padding: 22px 26px;
}

.admin-order-strip div + div {
  border-left: 1px solid rgba(16, 32, 50, 0.12);
}

.admin-order-strip strong {
  display: block;
  margin-top: 8px;
  color: #102032;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
}

.admin-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 20px;
  margin-bottom: 20px;
}

.admin-action-card,
.admin-side-panel,
.admin-mini-card,
.admin-log-drawer {
  border: 1px solid #dce5e8;
  border-radius: 10px;
  background: #ffffff;
}

.admin-action-card,
.admin-side-panel,
.admin-mini-card {
  padding: 26px;
}

.admin-action-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbfc 100%);
}

.admin-action-card h2,
.admin-side-panel h2,
.admin-mini-card h2 {
  margin: 8px 0 18px;
  color: #102032;
  font-size: 28px;
  line-height: 1.15;
}

.admin-task-form {
  display: grid;
  gap: 16px;
}

.admin-task-form label {
  display: grid;
  gap: 8px;
  color: #667789;
  font-weight: 900;
}

.admin-task-form input,
.admin-task-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d8e4e8;
  border-radius: 8px;
  background: #fbfdfe;
  color: #102032;
  font: inherit;
  font-weight: 800;
}

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

.admin-secondary-action {
  margin-top: 14px;
}

.admin-side-panel p,
.admin-mini-card p {
  color: #24313f;
  line-height: 1.65;
}

.admin-order-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-mini-card {
  min-height: 190px;
}

.admin-log-drawer {
  margin-top: 18px;
}

.admin-log-drawer summary {
  padding: 20px 24px;
  color: #102032;
  font-weight: 900;
  cursor: pointer;
}

.admin-log-drawer div {
  padding: 0 24px 22px;
  border-top: 1px solid #e5ecef;
}

.admin-log-drawer p {
  margin: 14px 0 0;
  color: #667789;
  line-height: 1.65;
}

@media (max-width: 1180px) {
  .manage-main .admin-order-console {
    width: min(100% - 40px, 1180px);
  }

  .admin-order-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .admin-order-hero,
  .admin-workbench {
    grid-template-columns: 1fr;
  }

  .admin-order-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-order-strip,
  .admin-order-grid,
  .admin-task-form .form-grid {
    grid-template-columns: 1fr;
  }

  .admin-order-strip div + div {
    border-left: 0;
    border-top: 1px solid rgba(16, 32, 50, 0.12);
  }
}

@media (min-width: 921px) {
  .hero h1 {
    max-width: none;
    font-size: 46px;
    line-height: 1.08;
    white-space: nowrap;
  }
}

/* 2026 polish pass: calmer rental portal and operations surfaces. */
.rental-status-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.64fr) minmax(0, 1fr);
  align-items: stretch;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(28px, 4.5vw, 70px) 58px;
  background: #fff;
}

.status-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 128px;
  padding: 28px 34px 28px 0;
  border-top: 1px solid #dbe4e7;
  border-bottom: 1px solid #dbe4e7;
}

.status-copy span {
  color: #2b7771;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-copy strong {
  margin-top: 10px;
  color: #172334;
  font-size: 22px;
  line-height: 1.35;
}

.status-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #dbe4e7;
  border-bottom: 1px solid #dbe4e7;
}

.status-metrics div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 128px;
  padding: 26px 34px;
}

.status-metrics div + div {
  border-left: 1px solid #dbe4e7;
}

.status-metrics strong {
  color: #172334;
  font-size: 42px;
  line-height: 1;
}

.status-metrics span {
  margin-top: 8px;
  color: #5d6a76;
  font-size: 15px;
  font-weight: 800;
}

.metrics {
  display: none;
}

.service-overview {
  align-items: start;
  border-top: 1px solid #dbe4e7;
  border-bottom: 1px solid #dbe4e7;
}

.service-list div {
  padding-top: 4px;
}

.service-list strong {
  font-size: 18px;
}

.service-list span {
  max-width: 220px;
  color: #687686;
  line-height: 1.65;
}

.manage-body {
  background: #f4f6f7;
}

.manage-sidebar {
  background: #101c2b;
  border-right: 0;
  box-shadow: 18px 0 44px rgba(16, 28, 43, 0.12);
}

.manage-brand {
  color: #fff;
}

.manage-brand .brand-mark {
  background: #2c8f88;
  box-shadow: none;
}

.manage-brand small {
  color: #8ea0b3;
}

.manage-nav a {
  border-radius: 6px;
  color: #c5d0dc;
  font-weight: 800;
}

.manage-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.manage-main {
  background: #f4f6f7;
}

.manage-topbar {
  border-bottom: 1px solid #dce4e8;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.manage-main .section {
  max-width: none;
  padding: 38px clamp(26px, 3vw, 44px) 64px;
  background: transparent;
}

.manage-main .section-head {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid #dce4e8;
}

.dashboard-grid {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #dce4e8;
  border-radius: 10px;
  background: #dce4e8;
  box-shadow: none;
}

.dashboard-grid > * {
  min-height: 152px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.dashboard-grid > *:hover {
  transform: none;
  background: #f9fbfb;
}

.dashboard-grid > *:nth-child(-n+4) {
  background: #132032;
}

.dashboard-grid > *:nth-child(-n+4) span,
.dashboard-grid > *:nth-child(-n+4) small {
  color: #c6d1dd;
}

.dashboard-grid > *:nth-child(-n+4) strong {
  color: #fff;
}

.quick-links {
  gap: 10px;
  margin: 24px 0 40px;
  padding: 0;
  border: 0;
  background: transparent;
}

.quick-links .button.ghost {
  min-height: 38px;
  border-color: #d4dfe3;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}

.table-like,
.order-list {
  border: 1px solid #dce4e8;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.table-head,
.table-row,
.order-row {
  border-radius: 0;
  border-width: 0 0 1px;
  box-shadow: none;
}

.table-row:last-child,
.order-row:last-child {
  border-bottom: 0;
}

@media (max-width: 920px) {
  .rental-status-band {
    grid-template-columns: 1fr;
    padding: 0 20px 34px;
  }

  .status-copy {
    min-height: auto;
    padding: 24px 0;
    border-bottom: 0;
  }

  .status-metrics {
    grid-template-columns: 1fr;
  }

  .status-metrics div {
    min-height: 96px;
    padding: 20px 0;
  }

  .status-metrics div + div {
    border-left: 0;
    border-top: 1px solid #dbe4e7;
  }

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

/* United Rentals inspired hero: full-bleed section with integrated capacity band. */
.home-hero-shell {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 5vw, 70px) 0 0;
  background:
    linear-gradient(90deg, #f8faf9 0%, #f8faf9 50%, #dfe9eb 50%, #dfe9eb 100%),
    linear-gradient(180deg, #ffffff 0%, #eef3f5 100%);
}

.home-hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 107, 103, 0.10), transparent 24%),
    linear-gradient(102deg, transparent 0%, transparent 51%, rgba(23, 35, 52, 0.10) 51%, rgba(23, 35, 52, 0.04) 100%),
    linear-gradient(180deg, transparent 0%, rgba(23, 35, 52, 0.05) 100%);
  pointer-events: none;
}

.home-hero-shell::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: max(35vw, 420px);
  background: #dfe9eb;
  pointer-events: none;
}

.home-hero-shell .hero,
.home-hero-shell .rental-status-band {
  position: relative;
  z-index: 2;
}

.home-hero-shell .hero {
  max-width: 1420px;
  padding: clamp(46px, 5.5vw, 86px) clamp(36px, 5.5vw, 96px) 58px;
  background: transparent;
}

.home-hero-shell .hero-copy {
  align-self: center;
}

.home-hero-shell .hero h1 {
  font-size: clamp(46px, 4.1vw, 72px);
}

.home-hero-shell .hero-text {
  max-width: 720px;
  color: #526273;
  font-size: 18px;
}

.home-hero-shell .hero-search {
  max-width: 740px;
  min-height: 70px;
  margin-top: 34px;
  border: 3px solid #172334;
  box-shadow: 0 16px 36px rgba(23, 35, 52, 0.10);
}

.home-hero-shell .hero-search input {
  min-height: 64px;
  padding-left: 24px;
  font-size: 18px;
}

.home-hero-shell .hero-search .button {
  min-width: 138px;
  min-height: 64px;
  background: #2b8b84;
}

.home-hero-shell .portal-visual {
  min-height: clamp(450px, 37vw, 600px);
  border: 0;
  background: #e7eff1;
  box-shadow: none;
}

.home-hero-shell .portal-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 15%;
  background: #e7eff1;
  pointer-events: none;
}

.home-hero-shell .portal-visual img {
  position: relative;
  z-index: 1;
  object-position: center 42%;
}

.home-hero-shell .rental-status-band {
  max-width: 1420px;
  padding: 0 clamp(36px, 5.5vw, 96px) clamp(30px, 3vw, 46px);
  background: transparent;
}

.home-hero-shell .status-copy,
.home-hero-shell .status-metrics {
  border-color: rgba(23, 35, 52, 0.16);
}

.home-hero-shell .status-copy {
  background: rgba(248, 250, 249, 0.72);
}

.home-hero-shell .status-metrics {
  background: rgba(248, 250, 249, 0.55);
}

.home-hero-shell .status-metrics div + div {
  border-left-color: rgba(23, 35, 52, 0.16);
}

@media (max-width: 920px) {
  .home-hero-shell {
    padding-top: 0;
    background: #fff;
  }

  .home-hero-shell .hero {
    margin: 0;
    padding: 38px 20px 30px;
  }

  .home-hero-shell .hero h1 {
    font-size: 40px;
    white-space: normal;
  }

  .home-hero-shell .hero-search {
    min-height: 0;
    border-width: 2px;
  }

  .home-hero-shell .portal-visual {
    min-height: 300px;
  }

  .home-hero-shell .rental-status-band {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* 2026 premium redesign layer */
:root {
  --ink: #102032;
  --muted: #667789;
  --line: #dbe5ea;
  --panel: #ffffff;
  --soft: #f4f7f9;
  --brand: #136f6b;
  --brand-dark: #0c5653;
  --accent: #c9973d;
  --blue: #274b6d;
  --danger: #ba4141;
  --radius: 10px;
  --shadow: 0 18px 50px rgba(16, 32, 50, 0.10);
  --shadow-strong: 0 28px 72px rgba(7, 22, 36, 0.22);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 12% -10%, rgba(19, 111, 107, 0.14), transparent 34%),
    linear-gradient(180deg, #eef4f6 0%, #f8fafb 48%, #eef3f6 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.brand span,
.manage-brand strong {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.brand small,
.manage-brand small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topbar {
  min-height: 82px;
  background: rgba(12, 30, 47, 0.94);
  backdrop-filter: blur(18px);
}

.brand-mark {
  border-radius: 9px;
}

.button {
  min-height: 44px;
  border-radius: 999px;
  border-color: transparent;
  background: linear-gradient(135deg, #167b76 0%, #0f5f5c 100%);
  box-shadow: 0 12px 26px rgba(19, 111, 107, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(19, 111, 107, 0.28);
}

.button.ghost {
  border-color: #d8e5e8;
  background: #fff;
  color: #0f5f5c;
  box-shadow: none;
}

.button.ghost:hover {
  background: #eef7f6;
}

.button.danger {
  background: linear-gradient(135deg, #c94c4c, #a93737);
}

.hero {
  position: relative;
  min-height: 620px;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(13, 31, 49, 0.94) 0%, rgba(16, 43, 65, 0.90) 48%, rgba(20, 74, 75, 0.72) 100%),
    radial-gradient(circle at 85% 18%, rgba(93, 204, 193, 0.24), transparent 34%),
    #10263a;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 82%);
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero .eyebrow,
.section .eyebrow,
.detail-panel .eyebrow,
.auth-card .eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 860px;
  letter-spacing: 0;
}

.hero-text {
  max-width: 760px;
  font-size: 18px;
}

.hero-visual {
  min-height: 430px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 36%, #ffffff 0%, #f1f7f8 46%, #dfeaec 100%);
  box-shadow: var(--shadow-strong);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(16, 32, 50, 0.08);
  border-radius: 8px;
  pointer-events: none;
}

.hero-visual img {
  filter: drop-shadow(0 28px 30px rgba(16, 32, 50, 0.20));
}

.hero-visual-panel {
  border-radius: 10px;
  border-color: rgba(207, 221, 225, 0.86);
  backdrop-filter: blur(16px);
}

.trust-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1240px;
  margin: -42px auto 30px;
  padding: 0 24px;
  counter-reset: trust-step;
}

.trust-strip div {
  position: relative;
  min-height: 116px;
  padding: 22px 22px 20px 72px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 251, 0.92));
  border: 1px solid rgba(216, 228, 232, 0.86);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(16, 32, 50, 0.09);
  counter-increment: trust-step;
}

.trust-strip div::before {
  content: "0" counter(trust-step);
  position: absolute;
  left: 22px;
  top: 22px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #e8f4f1;
  color: #126b67;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.trust-strip div::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -30px;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  background: rgba(19, 111, 107, 0.07);
  pointer-events: none;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: #102032;
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.trust-strip span {
  margin-top: 10px;
  color: #607384;
  font-size: 15px;
  line-height: 1.55;
}

.workflow {
  margin-top: 0;
}

.workflow div,
.metrics div,
.device-card,
.panel,
.auth-card,
.detail-panel,
.detail-media,
.address-card,
.device-state-card,
.order-row,
.table-row {
  border-radius: var(--radius);
}

.workflow div {
  padding: 22px;
  border: 0;
}

.workflow span {
  border-radius: 999px;
  background: linear-gradient(135deg, #10263a, #1b5360);
}

.metrics {
  gap: 14px;
  padding-bottom: 34px;
}

.metrics div {
  border: 0;
  border-left: 4px solid #136f6b;
  box-shadow: 0 14px 34px rgba(16, 32, 50, 0.06);
}

.section {
  padding-top: 46px;
}

.section-head {
  align-items: center;
}

.section-head h1,
.section-head h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
}

.catalog-filter,
.filter-bar,
.quick-links {
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
}

input,
select,
textarea {
  border-color: #d8e4e8;
  border-radius: 9px;
  background: #fbfdfe;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(19, 111, 107, 0.20);
  border-color: #72b8b2;
}

.device-grid {
  gap: 28px;
}

.device-card {
  grid-template-columns: minmax(210px, 0.78fr) minmax(0, 1fr);
  border: 1px solid rgba(216, 228, 232, 0.68);
  overflow: hidden;
}

.device-image {
  min-height: 260px;
  background:
    linear-gradient(145deg, #f5f8fa 0%, #e2ecef 100%);
}

.device-body {
  padding: 26px;
}

.device-title-row h3 {
  font-size: 22px;
  line-height: 1.25;
}

.device-meta {
  margin-top: 8px;
  color: #81909d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tags span {
  border: 0;
  background: #edf4f5;
  color: #51697a;
  font-weight: 800;
}

.price strong {
  color: #102032;
  font-size: 28px;
}

.status {
  border: 1px solid transparent;
}

.status.ok {
  border-color: #bfe1dc;
  background: #eaf7f4;
  color: #0f5f5c;
}

.detail-layout {
  gap: 34px;
  padding-top: 48px;
}

.detail-media {
  min-height: 500px;
  border: 0;
  background:
    radial-gradient(circle at 50% 35%, #ffffff 0%, #edf5f6 48%, #dde8eb 100%);
}

.detail-panel {
  border: 0;
}

.detail-panel h1 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.04;
}

.detail-facts div,
.info-grid div,
.rule-grid section,
.state-facts div {
  border: 0;
  border-radius: var(--radius);
  background: #f5f8fa;
}

.order-card {
  border: 0;
  box-shadow: inset 0 5px 0 #136f6b, var(--shadow);
}

.auth-card {
  border: 0;
}

.auth-tabs {
  border-radius: 999px;
}

.auth-tab {
  border-radius: 999px;
}

.order-row {
  border: 0;
  box-shadow: 0 12px 34px rgba(16, 32, 50, 0.07);
}

.progress-step {
  border-radius: 999px;
}

.manage-sidebar {
  background:
    linear-gradient(135deg, rgba(13, 31, 49, 0.98), rgba(18, 58, 75, 0.96));
}

.manage-topbar {
  min-height: 72px;
}

.dashboard-grid {
  gap: 18px;
}

.dashboard-grid > * {
  min-height: 142px;
  border-radius: var(--radius);
}

.dashboard-grid > *::after {
  content: "";
  position: absolute;
  width: 96px;
  height: 96px;
  right: -26px;
  top: -26px;
  border-radius: 50%;
  background: rgba(19, 111, 107, 0.10);
}

.dashboard-grid > *:nth-child(-n+4)::after {
  background: rgba(255, 255, 255, 0.12);
}

.table-head {
  border-radius: var(--radius);
}

.table-row {
  background: rgba(255, 255, 255, 0.96);
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    padding: 42px 22px 58px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    margin-top: -24px;
    padding: 0 22px;
  }

  .trust-strip div {
    min-height: 102px;
    padding-left: 66px;
  }
}

/* 2026 editorial equipment-rental refinement */
:root {
  --ink: #172334;
  --muted: #667180;
  --line: #d9e0e5;
  --panel: #ffffff;
  --soft: #f5f7f8;
  --brand: #126b67;
  --brand-dark: #0f4f4c;
  --accent: #b98a34;
  --radius: 8px;
  --shadow: 0 12px 34px rgba(23, 35, 52, 0.07);
  --shadow-strong: 0 18px 46px rgba(23, 35, 52, 0.10);
}

body {
  background: #f4f6f7;
  color: var(--ink);
}

.topbar {
  min-height: 78px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.brand {
  color: var(--ink);
}

.brand > span:last-child {
  color: var(--ink);
}

.brand-mark {
  background: #172334;
  color: #fff;
  box-shadow: none;
}

.brand small {
  color: #788491;
}

.nav {
  color: #526070;
}

.topbar .nav a {
  color: #526070;
}

.nav a {
  border-radius: 6px;
}

.nav a:hover,
.nav-primary {
  background: #edf2f3;
  color: var(--ink);
}

.button {
  min-height: 42px;
  border-radius: 6px;
  border-color: #172334;
  background: #172334;
  box-shadow: none;
  letter-spacing: 0;
}

.button:hover {
  transform: none;
  background: #0f1927;
  box-shadow: none;
}

.button.ghost {
  border-color: #cfd8de;
  background: #fff;
  color: #172334;
}

.button.ghost:hover {
  background: #f1f4f5;
}

.hero {
  max-width: 1240px;
  min-height: 0;
  margin: 28px auto 0;
  padding: 58px 40px;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.hero::before {
  display: none;
}

.hero .eyebrow,
.section .eyebrow,
.detail-panel .eyebrow,
.auth-card .eyebrow {
  color: var(--brand);
  letter-spacing: 0.12em;
}

.hero h1 {
  max-width: 720px;
  margin: 10px 0 18px;
  color: var(--ink);
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-text {
  max-width: 690px;
  color: #536170;
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  margin-top: 30px;
}

.hero-checks {
  gap: 8px;
  margin-top: 22px;
}

.hero-checks span {
  border-color: #dce4e8;
  border-radius: 6px;
  background: #f7f9fa;
  color: #526070;
}

.hero-visual {
  position: relative;
  min-height: 380px;
  border: 1px solid #dfe6ea;
  border-radius: 8px;
  background: #f5f7f8;
  box-shadow: none;
}

.hero-visual::before {
  inset: 18px;
  border-color: rgba(23, 35, 52, 0.07);
  border-radius: 6px;
}

.hero-visual img {
  max-width: 86%;
  filter: none;
}

.hero-visual-panel {
  left: 20px;
  right: 20px;
  bottom: 20px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: none;
}

.trust-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1240px;
  margin: 18px auto 24px;
  padding: 0;
}

.trust-strip div {
  min-height: 104px;
  padding: 20px 18px 18px 60px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.trust-strip div::before {
  left: 18px;
  top: 20px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #eff4f4;
  color: #126b67;
  font-size: 11px;
}

.trust-strip div::after {
  display: none;
}

.trust-strip strong {
  font-size: 13px;
  letter-spacing: 0.08em;
}

.trust-strip span {
  margin-top: 8px;
  color: #667180;
  font-size: 14px;
  line-height: 1.55;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1240px;
  padding: 0 0 24px;
}

.workflow div {
  min-height: 126px;
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
}

.workflow span {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #172334;
  color: #fff;
}

.metrics {
  max-width: 1240px;
  gap: 12px;
  padding: 0 0 42px;
}

.metrics div {
  min-height: 96px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  background: #fff;
  box-shadow: none;
}

.metrics strong {
  color: var(--ink);
}

.section {
  max-width: 1240px;
  padding-top: 42px;
}

.section-head {
  margin-bottom: 20px;
}

.section-head h1,
.section-head h2 {
  font-size: clamp(30px, 3vw, 44px);
  letter-spacing: 0;
}

.section-note {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.catalog-filter {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

input,
select,
textarea {
  border-radius: 6px;
  background: #fff;
}

.device-grid {
  gap: 18px;
}

.device-card {
  grid-template-columns: minmax(190px, 0.62fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
}

.device-card:hover {
  border-color: #bcc9d1;
}

.device-image {
  min-height: 230px;
  background: #f3f6f7;
}

.device-body {
  padding: 24px;
}

.device-title-row h3 {
  font-size: 21px;
}

.device-meta {
  color: #71808f;
}

.tags span {
  border: 1px solid #dfe6ea;
  border-radius: 6px;
  background: #fff;
  color: #5e6d7a;
}

.price strong {
  color: #172334;
  font-size: 26px;
}

.status.ok {
  border-color: #cbdedb;
  background: #f0f6f5;
  color: #126b67;
}

@media (max-width: 920px) {
  .topbar {
    background: #fff;
  }

  .hero {
    margin: 16px 16px 0;
    padding: 34px 22px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .trust-strip,
  .workflow,
  .metrics {
    grid-template-columns: 1fr;
    margin-left: 16px;
    margin-right: 16px;
    padding-left: 0;
    padding-right: 0;
  }

  .trust-strip div {
    min-height: 96px;
    padding-left: 58px;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Interaction clarity refinement: text should not look like controls. */
.hero-service-line {
  margin: 24px 0 0;
  color: #667180;
  font-size: 14px;
  line-height: 1.8;
}

.hero-checks,
.trust-strip,
.workflow {
  display: none;
}

.service-overview {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 56px;
  max-width: 1240px;
  margin: 30px auto 0;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-intro h2 {
  max-width: 360px;
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.2;
  letter-spacing: 0;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.service-list div {
  min-width: 0;
}

.service-list strong,
.service-list span {
  display: block;
}

.service-list strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.service-list span {
  margin-top: 10px;
  color: #667180;
  font-size: 14px;
  line-height: 1.7;
}

.process-line {
  display: flex;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 0 34px;
  color: #526070;
  font-weight: 800;
}

.process-line span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
}

.process-line span + span::before {
  content: "";
  width: 52px;
  height: 1px;
  margin: 0 18px;
  background: #cfd8de;
}

.metrics {
  padding-top: 0;
}

.section-note {
  padding: 0;
  border: 0;
  background: transparent;
  color: #71808f;
}

.button.ghost {
  border-color: transparent;
  background: transparent;
  color: #526070;
}

.hero .button.ghost {
  border-color: transparent;
  background: transparent;
  color: #526070;
  padding-left: 4px;
  padding-right: 4px;
}

.button.ghost:hover,
.hero .button.ghost:hover {
  background: transparent;
  color: var(--ink);
}

@media (max-width: 920px) {
  .hero-service-line {
    font-size: 13px;
  }

  .service-overview {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 24px 16px 0;
    padding: 28px 0;
  }

  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .process-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin: 0 16px;
    padding-bottom: 28px;
  }

  .process-line span + span::before {
    width: 1px;
    height: 14px;
    margin: 0 0 10px 0;
  }
}

/* 2026 rental portal redesign: search-first, fewer frames, clearer intent. */
body {
  background: #f5f7f8;
}

.topbar {
  min-height: 76px;
  padding: 0 clamp(28px, 5vw, 78px);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #dfe5e8;
}

.brand {
  gap: 13px;
}

.brand-mark {
  width: 44px;
  height: 34px;
  background: #126b67;
  border-radius: 5px;
}

.nav {
  gap: 10px;
}

.topbar .nav a {
  min-height: 36px;
  padding: 0 9px;
  color: #3f4d5d;
  font-weight: 800;
}

.topbar .nav a:hover,
.topbar .nav-primary {
  background: transparent;
  color: #126b67;
}

.hero {
  grid-template-columns: minmax(0, 1.12fr) minmax(400px, 0.68fr);
  gap: clamp(40px, 6vw, 86px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 74px clamp(28px, 4.5vw, 70px) 56px;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.hero h1 {
  max-width: 740px;
  margin-top: 12px;
  font-size: clamp(40px, 3.7vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
  word-break: keep-all;
  white-space: nowrap;
}

.hero-text {
  max-width: 620px;
  margin: 0 0 28px;
  color: #4f5f6f;
  font-size: 17px;
  line-height: 1.75;
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 680px;
  min-height: 62px;
  margin: 30px 0 0;
  border: 2px solid #172334;
  border-radius: 4px;
  background: #fff;
}

.hero-search input {
  min-height: 58px;
  padding: 0 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #172334;
  font-size: 17px;
}

.hero-search input:focus {
  outline: none;
}

.hero-search .button {
  min-width: 112px;
  min-height: 58px;
  border-radius: 0;
}

.portal-actions {
  gap: 22px;
  margin-top: 18px;
}

.text-link {
  color: #172334;
  font-size: 15px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.text-link:hover {
  color: #126b67;
}

.popular-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 700px;
  margin-top: 28px;
  color: #5e6b79;
  font-size: 14px;
  line-height: 1.8;
}

.popular-links span {
  margin-right: 14px;
  color: #172334;
  font-weight: 900;
}

.popular-links a {
  color: #526070;
  font-weight: 800;
}

.popular-links a + a::before {
  content: "/";
  margin: 0 10px;
  color: #a1abb4;
  font-weight: 500;
}

.popular-links a:hover {
  color: #126b67;
}

.portal-visual {
  min-height: 430px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #eef3f4;
}

.portal-visual::before,
.portal-visual .hero-visual-panel {
  display: none;
}

.portal-visual img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(28px, 4.5vw, 70px) 34px;
  background: #fff;
}

.metrics div {
  min-height: 88px;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid #dfe5e8;
  border-left: 0;
  box-shadow: none;
}

.metrics div + div {
  padding-left: 28px;
  border-left: 1px solid #dfe5e8;
}

.metrics strong {
  font-size: 34px;
  line-height: 1;
}

.section {
  max-width: 1280px;
  padding: 58px clamp(28px, 4.5vw, 70px) 72px;
  background: #f5f7f8;
}

.section-head {
  align-items: end;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(34px, 4vw, 54px);
}

.catalog-filter {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(220px, 0.7fr) auto auto;
  gap: 12px;
  margin-bottom: 22px;
  padding: 0;
  border: 0;
  background: transparent;
}

.catalog-filter label {
  color: #445364;
}

.catalog-filter input,
.catalog-filter select {
  border-radius: 4px;
  background: #fff;
}

.catalog-filter .button {
  align-self: end;
  min-height: 44px;
  border-radius: 4px;
}

.device-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid #d9e0e5;
  background: #fff;
}

.device-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  border: 0;
  border-bottom: 1px solid #d9e0e5;
  border-radius: 0;
  box-shadow: none;
}

.device-card:hover {
  border-color: #d9e0e5;
  background: #fbfcfc;
}

.device-image {
  min-height: 178px;
  padding: 20px;
  background: #f0f4f5;
}

.device-image img {
  object-fit: cover;
  border-radius: 2px;
}

.device-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 22px;
  align-items: center;
  padding: 24px 28px;
}

.device-title-row {
  display: block;
}

.device-title-row h3 {
  margin-bottom: 8px;
  font-size: 23px;
}

.device-meta {
  margin-top: 0;
  color: #6d7b88;
}

.device-body p {
  max-width: 660px;
  margin: 10px 0 0;
}

.tags {
  margin: 14px 0 0;
}

.tags span {
  padding: 0;
  border: 0;
  background: transparent;
  color: #526070;
}

.tags span + span::before {
  content: "/";
  margin: 0 8px 0 2px;
  color: #a0aab3;
}

.card-foot {
  display: grid;
  gap: 12px;
  justify-items: end;
  align-self: stretch;
}

.price {
  text-align: right;
}

.status {
  display: inline-flex;
  margin-top: 0;
  border-radius: 4px;
}

.button.small {
  border-radius: 4px;
}

.service-overview {
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px clamp(28px, 4.5vw, 70px);
  background: #fff;
}

.process-line {
  max-width: 1280px;
  padding: 0 clamp(28px, 4.5vw, 70px) 56px;
  background: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 920px) {
  .hero,
  .device-card,
  .device-body,
  .catalog-filter,
  .metrics,
  .service-overview {
    grid-template-columns: 1fr;
  }

  .hero {
    margin: 0;
    padding: 40px 20px 32px;
  }

  .hero h1 {
    font-size: 42px;
    white-space: normal;
  }

  .hero-search {
    grid-template-columns: 1fr;
  }

  .portal-visual {
    min-height: 300px;
  }

  .metrics {
    padding: 0 20px 28px;
  }

  .metrics div + div {
    padding-left: 0;
    border-left: 0;
  }

  .section {
    padding: 40px 20px 56px;
  }

  .device-image {
    min-height: 220px;
  }

  .device-body {
    padding: 22px;
  }

  .card-foot,
  .price {
    justify-items: start;
    text-align: left;
  }

  .service-overview,
  .process-line {
    margin: 0;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Final hero polish: broad industrial split background inspired by United Rentals. */
.home-hero-shell {
  isolation: isolate;
  padding: clamp(42px, 5vw, 76px) 0 0;
  background:
    linear-gradient(90deg, #f8faf8 0%, #f8faf8 57%, #d9e5e8 57%, #d9e5e8 100%);
}

.home-hero-shell::before {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(18, 107, 103, 0.10) 0%, rgba(18, 107, 103, 0.03) 22%, transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 248, 248, 0.68) 64%, rgba(232, 239, 241, 0.96) 100%);
}

.home-hero-shell::after {
  z-index: 1;
  width: min(44vw, 760px);
  background:
    linear-gradient(180deg, #e8f0f2 0%, #d2e0e4 58%, #c7d7dc 100%);
  box-shadow: inset 1px 0 0 rgba(23, 35, 52, 0.08);
}

.home-hero-shell .hero {
  grid-template-columns: minmax(0, 0.96fr) minmax(500px, 0.78fr);
  gap: clamp(34px, 5vw, 84px);
  max-width: 1480px;
  padding: clamp(48px, 5.6vw, 88px) clamp(32px, 5.5vw, 92px) 48px;
}

.home-hero-shell .hero-copy {
  padding: clamp(10px, 2vw, 24px) 0;
}

.home-hero-shell .eyebrow {
  color: #2a746f;
}

.home-hero-shell .hero h1 {
  max-width: 760px;
  font-size: clamp(52px, 4.45vw, 80px);
  letter-spacing: 0;
}

.home-hero-shell .hero-text {
  max-width: 760px;
  margin-top: 22px;
  color: #4b5d6f;
  font-size: 18px;
}

.home-hero-shell .hero-search {
  max-width: 780px;
  margin-top: 38px;
  border: 3px solid #132234;
  border-radius: 2px;
  box-shadow: 0 24px 42px rgba(23, 35, 52, 0.11);
}

.home-hero-shell .portal-actions {
  margin-top: 22px;
}

.home-hero-shell .popular-links {
  margin-top: 32px;
}

.home-hero-shell .portal-visual {
  min-height: clamp(510px, 39vw, 650px);
  margin-right: clamp(-86px, -4vw, -38px);
  background:
    linear-gradient(180deg, #e8f0f2 0 13%, transparent 13% 86%, #dce8eb 86% 100%),
    #d9e5e8;
  box-shadow: -18px 28px 54px rgba(23, 35, 52, 0.12);
}

.home-hero-shell .portal-visual::after {
  display: none;
}

.home-hero-shell .portal-visual img {
  object-position: center 50%;
  filter: saturate(0.96) contrast(1.02);
}

.home-hero-shell .rental-status-band {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  max-width: 1480px;
  padding: 0 clamp(32px, 5.5vw, 92px) clamp(32px, 3.2vw, 50px);
}

.home-hero-shell .status-copy,
.home-hero-shell .status-metrics {
  min-height: 142px;
  border-top: 1px solid rgba(23, 35, 52, 0.17);
  border-bottom: 1px solid rgba(23, 35, 52, 0.17);
  background: rgba(248, 250, 249, 0.70);
  backdrop-filter: blur(10px);
}

.home-hero-shell .status-copy {
  padding-right: clamp(28px, 4vw, 58px);
}

.home-hero-shell .status-metrics {
  box-shadow: inset 1px 0 0 rgba(23, 35, 52, 0.12);
}

.home-hero-shell .status-metrics div {
  padding: 28px clamp(22px, 3.2vw, 48px);
}

.home-hero-shell .status-metrics strong {
  font-size: clamp(42px, 3.8vw, 66px);
}

@media (max-width: 1100px) {
  .home-hero-shell .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  }

  .home-hero-shell .hero h1 {
    white-space: normal;
  }

  .home-hero-shell .portal-visual {
    margin-right: 0;
  }
}

@media (max-width: 920px) {
  .home-hero-shell {
    background: linear-gradient(180deg, #f8faf8 0%, #eef5f6 100%);
  }

  .home-hero-shell::after {
    display: none;
  }

  .home-hero-shell .hero {
    grid-template-columns: 1fr;
    padding: 40px 20px 30px;
  }

  .home-hero-shell .hero h1 {
    font-size: 42px;
  }

  .home-hero-shell .hero-search {
    grid-template-columns: 1fr;
  }

  .home-hero-shell .portal-visual {
    min-height: 320px;
    box-shadow: 0 18px 34px rgba(23, 35, 52, 0.10);
  }

  .home-hero-shell .rental-status-band {
    grid-template-columns: 1fr;
    padding: 0 20px 32px;
  }

  .home-hero-shell .status-copy,
  .home-hero-shell .status-metrics {
    min-height: 0;
    background: rgba(255, 255, 255, 0.62);
  }
}

/* Refined editorial hero: remove hard stats and make the equipment visual feel built in. */
.home-hero-shell {
  padding-top: clamp(34px, 4.5vw, 64px);
  background:
    radial-gradient(circle at 7% 52%, rgba(18, 107, 103, 0.12), transparent 32%),
    linear-gradient(90deg, #f8fbfa 0%, #f8fbfa 55%, #d6e2e5 55%, #d6e2e5 100%);
}

.home-hero-shell::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.62) 46%, rgba(214, 226, 229, 0.22) 54%, rgba(188, 205, 211, 0.72) 100%),
    linear-gradient(180deg, transparent 0%, rgba(222, 234, 237, 0.72) 100%);
}

.home-hero-shell::after {
  width: min(46vw, 820px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.48) 0 22%, transparent 22% 100%),
    linear-gradient(180deg, #dfeaec 0%, #c9d9de 100%);
  box-shadow: inset 1px 0 0 rgba(23, 35, 52, 0.06);
}

.home-hero-shell .hero {
  grid-template-columns: minmax(0, 0.98fr) minmax(520px, 0.86fr);
  align-items: stretch;
  padding-bottom: 36px;
}

.home-hero-shell .portal-visual {
  min-height: clamp(520px, 37vw, 640px);
  margin: 0 clamp(-112px, -5vw, -46px) 0 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.home-hero-shell .portal-visual::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0 -5% 0 8%;
  z-index: 0;
  background: linear-gradient(180deg, rgba(238, 245, 246, 0.95), rgba(203, 218, 224, 0.92));
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: -22px 30px 56px rgba(23, 35, 52, 0.10);
}

.home-hero-shell .portal-visual img {
  position: absolute;
  inset: -4% -14% -4% 3%;
  z-index: 1;
  width: 118%;
  height: 108%;
  object-fit: cover;
  object-position: center 50%;
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
  mix-blend-mode: multiply;
  filter: saturate(0.98) contrast(1.08);
  box-shadow: -14px 22px 40px rgba(23, 35, 52, 0.08);
}

.home-hero-shell .rental-status-band {
  grid-template-columns: minmax(320px, 0.7fr) minmax(0, 1fr);
  padding-bottom: clamp(34px, 3.8vw, 58px);
}

.home-hero-shell .status-copy,
.home-hero-shell .status-metrics {
  min-height: 128px;
  border-top-color: rgba(23, 35, 52, 0.14);
  border-bottom-color: rgba(23, 35, 52, 0.14);
  background: rgba(255, 255, 255, 0.52);
}

.home-hero-shell .status-copy strong {
  max-width: 390px;
  font-size: clamp(22px, 1.9vw, 32px);
  line-height: 1.25;
}

.home-hero-shell .status-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-hero-shell .status-metrics div {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 26px clamp(20px, 3vw, 42px);
}

.home-hero-shell .status-metrics strong {
  color: #172334;
  font-size: clamp(20px, 1.55vw, 28px);
  line-height: 1.2;
}

.home-hero-shell .status-metrics span {
  color: #5f6f7f;
  font-size: 15px;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .home-hero-shell .portal-visual {
    margin-right: 0;
  }

  .home-hero-shell .portal-visual::before {
    inset: 0;
    clip-path: none;
  }

  .home-hero-shell .portal-visual img {
    inset: 0;
    width: 100%;
    height: 100%;
    clip-path: none;
    mix-blend-mode: normal;
  }
}

@media (max-width: 920px) {
  .home-hero-shell .portal-visual {
    min-height: 330px;
    overflow: hidden;
  }

  .home-hero-shell .portal-visual::before {
    inset: 0;
    clip-path: none;
  }

  .home-hero-shell .portal-visual img {
    inset: 0;
    width: 100%;
    height: 100%;
    clip-path: none;
  }

  .home-hero-shell .status-metrics {
    grid-template-columns: 1fr;
  }

  .home-hero-shell .status-metrics div + div {
    border-left: 0;
    border-top: 1px solid rgba(23, 35, 52, 0.12);
  }
}
