:root {
  --bg: #f3f6f7;
  --panel: #ffffff;
  --ink: #14202a;
  --muted: #657381;
  --line: #d9e1e6;
  --line-strong: #b7c5ce;
  --accent: #0f6f78;
  --accent-dark: #12333a;
  --accent-soft: #e5f3f4;
  --gold: #c9822b;
  --ok: #25855a;
  --warn: #b86c18;
  --danger: #b74242;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(20, 32, 42, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(15, 111, 120, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(15, 111, 120, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 34px 34px;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 54px;
  line-height: 1.07;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.35;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(15, 111, 120, 0.22);
  outline-offset: 2px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  min-height: 116px;
  padding: 0;
  border-bottom: 1px solid rgba(217, 225, 230, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.topbar-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 64px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 246px;
  gap: 12px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #14353c;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, #14353c, #0f6f78 58%, #c9822b);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links,
.top-actions,
.hero-actions,
.workspace-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  justify-content: center;
  gap: 0;
  min-height: 48px;
  padding: 0 clamp(18px, 4vw, 64px);
}

.nav-item {
  position: relative;
}

.nav-links button {
  min-height: 48px;
  min-width: 132px;
  padding: 0 22px;
  border-bottom: 0;
  color: #33424c;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.nav-links button:hover,
.nav-links button.is-active {
  color: var(--accent);
}

.nav-menu {
  position: absolute;
  z-index: 30;
  left: 50%;
  top: calc(100% + 8px);
  width: max-content;
  min-width: 188px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 250, 0.96));
  box-shadow: 0 24px 54px rgba(10, 31, 42, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu,
.nav-item.is-open .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 6px;
  color: #213640;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

.nav-menu button:hover,
.nav-menu button.is-active {
  color: #0f6f78;
  background: rgba(15, 111, 120, 0.08);
}

.primary-button,
.secondary-button,
.ghost-button,
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.primary-button {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(15, 111, 120, 0.2);
}

.secondary-button {
  border-color: var(--line-strong);
  color: #22313a;
  background: #fff;
}

.ghost-button {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.mini-button {
  min-height: 30px;
  padding: 0 9px;
  border-color: var(--line-strong);
  background: #fff;
  font-size: 12px;
}

.mini-button.primary {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.mini-button:hover {
  transform: translateY(-1px);
}

.wide {
  width: 100%;
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, 0.97fr);
  gap: clamp(28px, 5vw, 70px);
  min-height: calc(100vh - 72px);
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 56px) 42px;
}

.hero-copy {
  align-self: center;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  flex-wrap: wrap;
  margin: 28px 0;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric-strip div,
.feature-grid article,
.service-grid article,
.case-grid article,
.form-card,
.query-form,
.result-panel,
.side-note,
.change-guide,
.payment-overview div,
.workspace-sidebar,
.workspace-main,
.detail-panel,
.auth-card,
.demo-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(20, 32, 42, 0.06);
}

.metric-strip div {
  padding: 16px;
}

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

.metric-strip strong {
  margin-bottom: 5px;
  font-size: 24px;
}

.metric-strip span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.operations-panel {
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: #eef6f7;
  background: linear-gradient(145deg, #16232b, #20313a);
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-head span {
  color: #aebec5;
}

.panel-head strong {
  padding: 5px 10px;
  border-radius: 5px;
  color: #10242a;
  background: #bfe9e5;
  font-size: 13px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.status-grid div {
  min-height: 88px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.status-grid span,
.status-grid b {
  display: block;
}

.status-grid span {
  color: #b7c7cd;
  font-size: 12px;
}

.status-grid b {
  margin-top: 12px;
  color: #fff;
  font-size: 28px;
}

.quick-check {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 16px 20px 0;
}

.quick-check div,
.quick-check b,
.quick-check span {
  display: block;
}

.quick-check span {
  margin-top: 4px;
  color: #bdd0d5;
  font-size: 12px;
  line-height: 1.45;
}

.quick-check input {
  height: 40px;
  border-color: rgba(174, 197, 206, 0.42);
  color: #f8fbfc;
  background: rgba(255, 255, 255, 0.08);
}

.quick-check input::placeholder {
  color: #9eb1b8;
}

.quick-check button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #bfe9e5;
  border-radius: 6px;
  color: #10242a;
  background: #bfe9e5;
  cursor: pointer;
  font-weight: 900;
}

.quick-check-result {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: #ffd39c;
  font-size: 12px;
  font-weight: 900;
}

.quick-check-result.success {
  color: #bfe9e5;
}

.delivery-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px;
  padding: 18px;
  border: 1px solid rgba(148, 204, 207, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(191, 233, 229, 0.12), transparent 42%),
    rgba(8, 24, 31, 0.62);
}

.delivery-flow::before {
  position: absolute;
  top: 50%;
  left: 42px;
  right: 42px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, #bfe9e5, rgba(191, 233, 229, 0.2));
}

.flow-card {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 128px;
  align-content: space-between;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.flow-card::after {
  position: absolute;
  top: 50%;
  right: -18px;
  z-index: 3;
  width: 9px;
  height: 9px;
  border-top: 2px solid #bfe9e5;
  border-right: 2px solid #bfe9e5;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.flow-card:last-child::after {
  display: none;
}

.flow-card small {
  display: inline-grid;
  width: 36px;
  height: 28px;
  place-items: center;
  border-radius: 5px;
  color: #10242a;
  background: #bfe9e5;
  font-weight: 900;
}

.flow-card b {
  color: #fff;
  font-size: 16px;
}

.flow-card span {
  color: #bed0d5;
  font-size: 12px;
  line-height: 1.55;
}

.flow-card.is-current {
  border-color: rgba(191, 233, 229, 0.72);
  background:
    linear-gradient(180deg, rgba(191, 233, 229, 0.18), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
}

.flow-ledger {
  display: grid;
  gap: 10px;
  padding: 0 20px 22px;
}

.flow-ledger article {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.flow-ledger span {
  color: #bfe9e5;
  font-size: 13px;
  font-weight: 900;
}

.flow-ledger b {
  color: #fff;
  font-size: 13px;
  line-height: 1.55;
}

.content-band,
.client-shell,
.login-shell,
.workspace-shell {
  padding: clamp(54px, 7vw, 90px) clamp(18px, 4vw, 56px);
}

.content-band.alt {
  background: #fff;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

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

.feature-grid article,
.service-grid article,
.payment-overview div {
  padding: 22px;
}

.feature-grid article > span,
.service-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 6px;
  color: #fff;
  background: var(--accent-dark);
  font-weight: 900;
}

.feature-grid p,
.service-grid p,
.case-grid p,
.payment-overview p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.capability-showcase {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.5fr);
  gap: 16px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(17, 27, 35, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 111, 120, 0.08), transparent 42%),
    #fff;
}

.capability-lead {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 20px;
  color: #fff;
  border-radius: 8px;
  background: #12242b;
}

.capability-lead span {
  color: #98e7df;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.capability-lead h3,
.capability-lead p {
  margin: 0;
}

.capability-lead p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

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

.capability-matrix article {
  padding: 18px;
  border: 1px solid rgba(17, 27, 35, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
}

.capability-matrix b,
.capability-matrix span {
  display: block;
}

.capability-matrix b {
  margin-bottom: 8px;
  color: var(--ink);
}

.capability-matrix span {
  color: var(--muted);
  line-height: 1.7;
}

.capability-tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.capability-tags span,
.order-bind-tip {
  border: 1px solid rgba(15, 111, 120, 0.14);
  border-radius: 999px;
  background: rgba(15, 111, 120, 0.06);
  color: var(--accent-dark);
}

.capability-tags span {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

.order-bind-tip {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.6;
}

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

.case-grid article {
  overflow: hidden;
}

.case-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e8edf0;
}

.case-grid article > div {
  padding: 18px;
}

.case-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.case-grid a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 900;
}

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

.case-category-card {
  display: grid;
  grid-template-columns: minmax(210px, 0.9fr) 1.1fr;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(17, 27, 35, 0.11);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 250, 0.95));
  box-shadow: 0 18px 46px rgba(17, 27, 35, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.case-category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 62px rgba(17, 27, 35, 0.12);
}

.case-category-card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  background: #e8edf0;
}

.case-category-card > div {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
}

.case-category-card span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(145deg, #14242c, #0d7480);
  font-size: 12px;
  font-weight: 900;
}

.case-category-card h3 {
  margin: 0;
  color: #10242c;
  font-size: 22px;
  line-height: 1.35;
}

.case-category-card p {
  margin: 0;
  color: #60717a;
  line-height: 1.72;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-tags b {
  padding: 7px 10px;
  border: 1px solid rgba(15, 111, 120, 0.16);
  border-radius: 999px;
  color: #0f6f78;
  background: rgba(15, 111, 120, 0.06);
  font-size: 12px;
}

.case-download {
  width: fit-content;
  margin-top: 4px;
  padding: 10px 15px;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, #10242c, #0f6f78);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(15, 111, 120, 0.16);
}

.case-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(15, 111, 120, 0.2);
}

.studio-console-band {
  background:
    linear-gradient(90deg, rgba(15, 111, 120, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff, #eef5f6);
  background-size: 30px 30px, auto;
}

.console-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(18px, 4vw, 54px);
  align-items: end;
}

.console-heading p:last-child {
  margin-bottom: 0;
}

.studio-console {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) repeat(3, minmax(190px, 0.8fr));
  gap: 14px;
}

.console-card {
  display: grid;
  min-height: 210px;
  align-content: space-between;
  gap: 14px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(15, 32, 42, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 250, 251, 0.94));
  box-shadow: 0 18px 42px rgba(15, 32, 42, 0.08);
}

.console-card-large {
  color: #edf8f8;
  background:
    linear-gradient(135deg, rgba(191, 233, 229, 0.16), transparent 40%),
    linear-gradient(145deg, #13202a, #0f5d65);
  box-shadow: var(--shadow);
}

.console-card span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.console-card h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.12;
}

.console-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.console-card-large p {
  color: #cce0e1;
}

.console-card button {
  width: fit-content;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 6px;
  color: #10242a;
  background: #bfe9e5;
  cursor: pointer;
  font-weight: 900;
}

.console-meter {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.console-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #bfe9e5, #c9822b);
}

.console-timeline {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(201, 130, 43, 0.12), transparent 36%),
    #ffffff;
}

.console-timeline ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.console-timeline li {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #26353e;
  background: #f7fafb;
  font-weight: 800;
}

.console-timeline b {
  color: var(--accent);
}

.client-shell {
  background: #edf2f4;
}

.client-login-strip {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(360px, 1.05fr);
  gap: 20px;
  margin-bottom: 22px;
}

.client-login-copy,
.client-auth-card,
.phone-login-card,
.client-profile-card {
  border: 1px solid rgba(15, 111, 120, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 32, 42, 0.07);
}

.client-login-copy {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 28px 30px;
  background:
    linear-gradient(135deg, rgba(15, 111, 120, 0.12), transparent 46%),
    radial-gradient(circle at 88% 18%, rgba(201, 130, 43, 0.13), transparent 28%),
    #fff;
}

.client-login-copy::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(15, 111, 120, 0.14);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49%, rgba(15, 111, 120, 0.12) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(15, 111, 120, 0.1) 50%, transparent 51%);
}

.client-login-copy span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.client-login-copy b {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
}

.client-login-copy p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.client-access-points {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.client-access-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(15, 111, 120, 0.14);
  border-radius: 999px;
  color: #12333a;
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
}

.client-auth-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 24px;
}

.phone-login-card {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 260px;
  padding: 24px;
  border-radius: 8px;
  background: rgba(248, 251, 251, 0.86);
}

.phone-login-card h3 {
  margin-bottom: 0;
  font-size: clamp(24px, 2.3vw, 34px);
}

.phone-login-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

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

.code-row button {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(15, 111, 120, 0.18);
  border-radius: 6px;
  color: var(--accent);
  background: var(--accent-soft);
  cursor: pointer;
  font-weight: 900;
}

.client-profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
}

.client-profile-card > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #18a058, #0f6f78);
  font-weight: 900;
}

.client-profile-card b,
.client-profile-card small {
  display: block;
}

.client-profile-card small {
  margin-top: 4px;
  color: var(--muted);
}

.portal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.portal-strip div {
  min-height: 92px;
  padding: 16px;
  background: #fff;
}

.portal-strip b,
.portal-strip span {
  display: block;
}

.portal-strip b {
  margin-bottom: 7px;
}

.portal-strip span {
  color: var(--muted);
  line-height: 1.55;
}

.tabbar,
.auth-tabs,
.role-switch,
.workspace-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tabbar button,
.auth-tabs button,
.role-switch button,
.workspace-tabs button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: #2c3b45;
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.tabbar button.is-active,
.auth-tabs button.is-active,
.role-switch button.is-active,
.workspace-tabs button.is-active {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

.tabbar button:focus-visible,
.auth-tabs button:focus-visible,
.role-switch button:focus-visible,
.workspace-tabs button:focus-visible {
  outline: 3px solid rgba(226, 95, 63, 0.38);
  outline-offset: 2px;
}

.client-panel,
.auth-panel,
.admin-panel {
  display: none;
}

.client-panel.is-active,
.auth-panel.is-active,
.admin-panel.is-active {
  display: block;
}

.client-notice-panel {
  display: grid;
  gap: 20px;
}

.compact-heading {
  margin-bottom: 0;
  max-width: 880px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(380px, 1.28fr);
  gap: 18px;
  align-items: start;
}

.split-layout.compact {
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
}

.side-note,
.change-guide {
  padding: 22px;
}

.side-note p,
.change-guide span {
  color: var(--muted);
  line-height: 1.75;
}

.price-card {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 6px;
  color: #eaf5f4;
  background: linear-gradient(145deg, #14242b, #0f6f78);
}

.price-card strong {
  color: #fff;
  font-size: 36px;
}

.price-card small {
  color: #bdd7d8;
  line-height: 1.55;
}

.intake-specs {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.intake-specs div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafb;
}

.intake-specs b,
.intake-specs span {
  display: block;
}

.intake-specs b {
  margin-bottom: 5px;
}

.intake-specs span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.form-grid,
.stack-form {
  display: grid;
  gap: 14px;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(20, 32, 42, 0.06);
}

.form-card,
.query-form {
  padding: 20px;
}

label {
  display: grid;
  gap: 7px;
  color: #2d3a43;
  font-size: 14px;
  font-weight: 900;
}

.full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
}

input,
select {
  height: 44px;
  padding: 0 12px;
}

textarea {
  min-height: 116px;
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(15, 111, 120, 0.16);
}

.form-result {
  padding: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  color: var(--muted);
  background: #f8fafb;
  line-height: 1.6;
}

.form-result.success {
  border-style: solid;
  border-color: rgba(37, 133, 90, 0.35);
  color: #174d37;
  background: #edf8f2;
}

.form-error {
  min-height: 20px;
  margin: 0;
  color: var(--danger);
  font-size: 13px;
  font-weight: 900;
}

.forgot-password-link {
  justify-self: start;
  padding: 0;
  border: 0;
  color: #0d7480;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}

.forgot-password-link:hover {
  color: #b0523e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.forgot-password-link:focus-visible {
  outline: 3px solid rgba(226, 95, 63, 0.35);
  outline-offset: 3px;
}

.result-panel {
  display: grid;
  gap: 10px;
  min-height: 240px;
  padding: 22px;
}

.result-panel strong {
  font-size: 22px;
}

.result-panel span,
.result-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.status-line div {
  padding: 12px;
  border-radius: 6px;
  background: #f4f7f8;
}

.status-line b,
.status-line small {
  display: block;
}

.status-line small {
  margin-top: 5px;
  color: var(--muted);
}

.order-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.order-timeline span {
  display: grid;
  min-height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #5e6b74;
  background: #f4f7f8;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.order-timeline span.done {
  border-color: rgba(15, 111, 120, 0.28);
  color: var(--accent);
  background: var(--accent-soft);
}

.public-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6ecef;
}

.public-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #5bb6aa);
}

.public-summary {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafb;
}

.public-summary span,
.public-summary b {
  display: block;
}

.public-summary b {
  margin-bottom: 3px;
  color: var(--ink);
}

.inline-form,
.file-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 14px;
}

.file-filter {
  grid-template-columns: minmax(0, 1fr) auto;
}

.file-list,
.account-list,
.note-list {
  display: grid;
  gap: 10px;
}

.file-item,
.account-item,
.note,
.task-card,
.change-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafb;
}

.file-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.file-item strong,
.file-item span,
.file-item small,
.account-item strong,
.account-item span {
  display: block;
}

.file-item span,
.file-item small,
.account-item span {
  color: var(--muted);
  line-height: 1.55;
}

.public-file-item span,
.public-file-item small {
  color: #53616b;
}

.pay-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.pay-method {
  min-height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: #26353e;
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.pay-method.is-active {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

.qr-panel {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafb;
}

.qr-code {
  display: grid;
  width: 104px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--accent);
  background:
    linear-gradient(90deg, rgba(15, 111, 120, 0.18) 1px, transparent 1px),
    linear-gradient(0deg, rgba(15, 111, 120, 0.18) 1px, transparent 1px),
    #fff;
  background-size: 13px 13px;
  font-weight: 900;
}

.qr-panel b,
.qr-panel span {
  display: block;
}

.qr-panel span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
}

.payment-review {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  color: var(--muted);
  background: #f8fafb;
  line-height: 1.6;
}

.payment-review.is-ready {
  border-style: solid;
  border-color: rgba(15, 111, 120, 0.26);
  color: var(--ink);
  background: #f4fbfb;
}

.payment-review div {
  padding: 10px;
  border: 1px solid rgba(15, 111, 120, 0.12);
  border-radius: 6px;
  background: #fff;
}

.payment-review span,
.payment-review b {
  display: block;
}

.payment-review span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.payment-review b {
  margin-top: 5px;
  font-size: 18px;
}

.payment-review p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.payment-success-view {
  display: grid;
  justify-items: center;
  margin-top: 22px;
  padding: clamp(34px, 5vw, 64px) clamp(18px, 4vw, 46px);
  border: 1px solid rgba(15, 111, 120, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(15, 111, 120, 0.08), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
  box-shadow: 0 24px 70px rgba(16, 36, 44, 0.1);
}

.payment-success-view[hidden] {
  display: none !important;
}

.payment-success-icon {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #16b86a;
  background: #d8fae6;
  font-size: 36px;
  font-weight: 900;
}

.payment-success-view h3 {
  margin-bottom: 26px;
  color: #10202b;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
}

.payment-success-card {
  display: grid;
  width: min(100%, 560px);
  gap: 0;
  padding: 18px 22px;
  border-radius: 8px;
  background: #f7f9fa;
}

.payment-success-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.6fr) minmax(0, 1fr);
  gap: 18px;
  min-height: 32px;
  align-items: center;
  color: #667582;
  font-size: 15px;
}

.payment-success-row b {
  color: #10202b;
  font-weight: 700;
  text-align: right;
  word-break: break-all;
}

.payment-success-row .is-paid {
  color: #0a9f78;
  font-weight: 900;
}

.payment-success-status {
  justify-self: end;
  padding: 3px 10px;
  border-radius: 999px;
  color: #16a064;
  background: #dff8e9;
  font-size: 13px;
  font-weight: 900;
}

.payment-success-status.is-pending {
  color: #b86c18;
  background: #fff0d6;
}

.payment-success-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  width: min(100%, 560px);
  gap: 12px;
  margin-top: 24px;
}

.payment-success-actions button {
  min-height: 48px;
}

.change-guide {
  display: grid;
  gap: 12px;
}

.change-guide div {
  padding: 14px;
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  background: #f7fafb;
}

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

.steps span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7fafb;
  font-weight: 900;
}

.payment-overview {
  margin-bottom: 18px;
}

.payment-overview div {
  min-height: 190px;
}

.payment-overview span,
.payment-overview strong {
  display: block;
}

.payment-overview span {
  color: var(--muted);
  font-weight: 900;
}

.payment-overview strong {
  margin: 16px 0;
  color: var(--accent);
  font-size: 36px;
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(360px, 480px);
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
  background: #edf2f4;
}

.login-intro p {
  color: var(--muted);
  line-height: 1.85;
}

.demo-note {
  display: grid;
  gap: 6px;
  margin-top: 20px;
  padding: 16px;
}

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

.auth-card {
  padding: 20px;
}

.role-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.workspace-shell {
  background: #edf2f4;
}

.workspace-head {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

.workspace-head > div:first-child {
  max-width: 780px;
}

.workspace-head p {
  color: var(--muted);
  line-height: 1.75;
}

.session-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.workspace-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.workspace-sidebar,
.workspace-main {
  padding: 16px;
}

.workspace-sidebar {
  position: sticky;
  top: 90px;
}

.user-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.avatar {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--accent-dark);
  font-weight: 900;
}

.user-card strong,
.user-card small {
  display: block;
}

.user-card small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.permission-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.permission-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafb;
  color: #41505b;
  font-size: 13px;
}

.permission-item b {
  color: var(--ok);
}

.permission-item.locked b {
  color: var(--danger);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.stat-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafb;
}

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

.stat-card span {
  color: var(--muted);
  font-size: 12px;
}

.stat-card strong {
  margin-top: 6px;
  font-size: 24px;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 10px;
  margin-bottom: 14px;
}

.order-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 14px;
  align-items: start;
}

.project-table {
  display: grid;
  gap: 10px;
}

.project-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 120px 100px 120px auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.project-row:hover,
.project-row.active {
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(15, 111, 120, 0.11);
}

.project-row h3 {
  margin: 0 0 5px;
  font-size: 16px;
}

.project-row small {
  color: var(--muted);
}

.tag,
.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.tag {
  color: #31505a;
  background: #e9eef1;
}

.status {
  color: #fff;
  background: var(--accent);
}

.status.new,
.status.change {
  background: var(--warn);
}

.status.done {
  background: var(--ok);
}

.detail-panel {
  position: sticky;
  top: 90px;
  padding: 16px;
}

.detail-meta {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.detail-meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.detail-meta b {
  color: var(--ink);
  text-align: right;
}

.progress {
  height: 10px;
  border-radius: 999px;
  background: #e5eaed;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #5bb6aa);
}

.note {
  border-left: 3px solid var(--accent);
  color: #45535d;
  font-size: 13px;
  line-height: 1.55;
}

.admin-form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.admin-form label {
  font-size: 13px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 16px;
  align-items: start;
}

.account-list-card {
  grid-column: 1 / -1;
}

.account-console {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
  gap: 14px;
  align-items: start;
}

.account-list-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.account-list-head span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-list-head h3 {
  margin: 4px 0 6px;
  font-size: 22px;
}

.account-list-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.account-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.account-summary span {
  min-width: 92px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 32, 42, 0.1);
  border-radius: 8px;
  color: var(--muted);
  background: #f8fafb;
  text-align: center;
}

.account-summary b {
  display: block;
  color: var(--ink);
  font-size: 20px;
}

.account-list {
  display: grid;
  gap: 8px;
}

.account-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(15, 32, 42, 0.1);
  border-radius: 8px;
  background: #f8fafb;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

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

.account-row > div > span {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.account-row.is-active {
  border-color: rgba(15, 111, 120, 0.36);
  background: linear-gradient(135deg, rgba(15, 111, 120, 0.1), #fff);
  box-shadow: 0 12px 28px rgba(20, 32, 42, 0.08);
}

.account-detail {
  min-height: 360px;
  padding: 18px;
  border: 1px solid rgba(15, 32, 42, 0.12);
  border-radius: var(--radius);
  background: #fff;
}

.account-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.account-detail-head span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-detail-head h3 {
  margin: 0;
}

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

.credential-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafb;
}

.credential-grid span,
.credential-grid b {
  display: block;
}

.credential-grid span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
}

.credential-grid b {
  color: var(--ink);
  word-break: break-all;
}

.account-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.detail-actions {
  margin-top: 14px;
}

.permission-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.permission-toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 2px;
  min-height: 62px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.permission-toggle input {
  grid-row: 1 / span 2;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.permission-toggle span {
  color: var(--ink);
  font-weight: 800;
}

.permission-toggle small {
  color: var(--muted);
  line-height: 1.45;
}

.permission-toggle.is-on {
  border-color: rgba(15, 111, 120, 0.42);
  background: linear-gradient(135deg, rgba(15, 111, 120, 0.08), #fff);
}

.owner-permission-note {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 111, 120, 0.16);
  border-radius: 8px;
  color: #37515a;
  background: #edf7f7;
}

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

.kanban-column {
  min-height: 420px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafb;
}

.kanban-column h3 {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.change-card,
.task-card {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
  background: #fff;
}

.change-card p,
.task-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.change-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

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

.salary-board {
  display: grid;
  gap: 16px;
}

.salary-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(17, 27, 35, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 111, 120, 0.08), transparent 48%),
    #fff;
  box-shadow: 0 18px 42px rgba(17, 27, 35, 0.07);
}

.salary-hero span,
.salary-card-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.salary-hero h3,
.salary-card-head h3 {
  margin: 6px 0 6px;
  color: var(--ink);
}

.salary-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.salary-rule-strip {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 8px;
}

.salary-rule-strip b {
  padding: 8px 10px;
  border-radius: 999px;
  color: #14333a;
  background: #e8f4f4;
  font-size: 12px;
  white-space: nowrap;
}

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

.salary-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(17, 27, 35, 0.09);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(17, 27, 35, 0.06);
}

.salary-card.featured {
  background:
    linear-gradient(135deg, rgba(224, 179, 109, 0.14), transparent 42%),
    #fff;
}

.salary-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.salary-card-head strong {
  color: #0f6f78;
  font-size: 30px;
  line-height: 1;
}

.salary-progress {
  display: grid;
  gap: 8px;
}

.salary-progress div {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.salary-progress b {
  color: var(--ink);
  font-size: 30px;
}

.salary-progress span,
.salary-progress small {
  color: var(--muted);
}

.salary-progress i {
  display: block;
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: #e6eef0;
}

.salary-progress em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

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

.salary-metrics div {
  padding: 10px;
  border-radius: 8px;
  background: #f4f8f8;
}

.salary-metrics span,
.salary-metrics b {
  display: block;
}

.salary-metrics span {
  color: var(--muted);
  font-size: 12px;
}

.salary-metrics b {
  margin-top: 4px;
  color: var(--ink);
}

.salary-penalty-list {
  display: grid;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.salary-penalty-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.salary-detail-grid {
  display: grid;
  gap: 14px;
}

.salary-detail-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(17, 27, 35, 0.09);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(17, 27, 35, 0.06);
}

.salary-detail-panel.featured {
  background:
    linear-gradient(135deg, rgba(15, 111, 120, 0.08), transparent 45%),
    #fff;
}

.salary-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.salary-detail-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.salary-detail-head h3 {
  margin: 6px 0 0;
  color: var(--ink);
}

.salary-detail-head strong {
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
}

.salary-detail-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.salary-detail-summary div {
  padding: 10px;
  border-radius: 8px;
  background: #f4f8f8;
}

.salary-detail-summary span,
.salary-detail-summary b {
  display: block;
}

.salary-detail-summary span {
  color: var(--muted);
  font-size: 12px;
}

.salary-detail-summary b {
  margin-top: 4px;
  color: var(--ink);
}

.salary-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.salary-detail-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.salary-detail-table th,
.salary-detail-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.salary-detail-table th {
  color: #40525f;
  background: #f5f8f9;
  font-size: 12px;
}

.salary-detail-table td {
  color: var(--ink);
}

.salary-detail-table td b,
.salary-detail-table td span {
  display: block;
}

.salary-detail-table td span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.internal-rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.policy-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 100%;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(15, 32, 42, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(15, 111, 120, 0.1), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 252, 252, 0.96)),
    #fff;
  box-shadow: 0 14px 36px rgba(20, 32, 42, 0.08);
}

.policy-card::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -42px;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(180, 143, 83, 0.28);
  border-radius: 50%;
  background: rgba(180, 143, 83, 0.07);
}

.policy-card.is-warning {
  border-color: rgba(154, 69, 41, 0.22);
  background:
    linear-gradient(135deg, rgba(154, 69, 41, 0.08), transparent 42%),
    #fff;
}

.policy-card span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

.policy-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.85;
}

.policy-card li + li {
  margin-top: 4px;
}

.trial-review-board {
  margin-bottom: 16px;
}

.trial-review-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(17, 27, 35, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(224, 179, 109, 0.12), transparent 38%),
    #fff;
  box-shadow: 0 18px 42px rgba(17, 27, 35, 0.07);
}

.trial-review-card.owner-view {
  background:
    linear-gradient(135deg, rgba(15, 111, 120, 0.1), transparent 42%),
    #fff;
}

.trial-review-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.trial-review-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trial-review-head h3 {
  margin: 6px 0;
  color: var(--ink);
  font-size: 24px;
}

.trial-review-head p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.trial-review-head strong {
  padding: 10px 12px;
  border-radius: 999px;
  color: #14333a;
  background: #e8f4f4;
  white-space: nowrap;
}

.trial-review-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  gap: 14px;
}

.trial-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-content: start;
}

.trial-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px;
  border: 1px solid rgba(17, 27, 35, 0.08);
  border-radius: 8px;
  color: #526773;
  background: #f8fbfb;
  font-weight: 800;
}

.trial-check-item i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #fff;
  background: #c9822b;
  font-style: normal;
  font-size: 12px;
}

.trial-check-item.done i {
  background: #25855a;
}

.trial-feedback-list {
  display: grid;
  gap: 10px;
  max-height: 260px;
  overflow: auto;
}

.trial-feedback-item {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(17, 27, 35, 0.08);
  border-radius: 8px;
  background: #f8fbfb;
}

.trial-feedback-item div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.trial-feedback-item b,
.trial-feedback-item strong {
  color: var(--ink);
}

.trial-feedback-item span,
.trial-feedback-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.trial-feedback-item strong {
  justify-self: start;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef4f5;
  font-size: 12px;
}

.trial-feedback-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.trial-feedback-actions .mini-button {
  min-height: 28px;
  padding: 5px 9px;
  font-size: 12px;
}

.trial-feedback-form {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(17, 27, 35, 0.08);
  border-radius: 8px;
  background: #f8fbfb;
}

.trial-feedback-form label {
  margin: 0;
}

.trial-feedback-form textarea {
  min-height: 44px;
}

.empty-state {
  padding: 26px;
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  color: var(--muted);
  background: #fbfcfd;
  text-align: center;
  line-height: 1.65;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: #d8e2e5;
  background: #17232b;
}

.footer strong,
.footer span {
  display: block;
}

.footer span {
  margin-top: 6px;
  color: #aebdc4;
}

.footer button {
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

@media (max-width: 1220px) {
  .hero,
  .split-layout,
  .split-layout.compact,
  .login-shell,
  .order-board,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid,
  .service-grid,
  .payment-overview,
  .case-category-grid,
  .case-grid,
  .client-login-strip,
  .task-grid,
  .salary-grid,
  .internal-rules,
  .trial-review-grid,
  .portal-strip,
  .studio-console,
  .console-heading,
  .capability-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .console-card-large,
  .console-timeline {
    grid-column: span 2;
  }

  .detail-panel {
    position: static;
  }
}

@media (max-width: 900px) {
  .topbar {
    min-height: auto;
  }

  .brand {
    min-width: 0;
  }

  .topbar-main {
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .nav-links button {
    min-width: 118px;
  }

  .top-actions {
    margin-left: auto;
  }

  .workspace-head,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .workspace-layout {
    grid-template-columns: 1fr;
  }

  .workspace-sidebar {
    position: static;
  }

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

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

  .salary-rule-strip {
    grid-template-columns: repeat(3, max-content);
  }

  .trial-review-head {
    display: grid;
  }

  .trial-feedback-form {
    grid-template-columns: 1fr;
  }

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

  .account-console {
    grid-template-columns: 1fr;
  }

  .project-row {
    grid-template-columns: 1fr 1fr;
  }

  .project-row > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .hero,
  .content-band,
  .client-shell,
  .login-shell,
  .workspace-shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .topbar-main,
  .nav-links {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: 36px;
  }

  .metric-strip,
  .status-grid,
  .quick-check,
  .delivery-flow,
  .studio-console,
  .console-heading,
  .console-timeline ol,
  .feature-grid,
  .service-grid,
  .case-category-grid,
  .case-grid,
  .portal-strip,
  .payment-overview,
  .form-grid,
  .status-line,
  .order-timeline,
  .payment-review,
  .inline-form,
  .file-filter,
  .stats-row,
  .toolbar,
  .project-row,
  .kanban,
  .task-grid,
  .salary-grid,
  .salary-metrics,
  .salary-detail-summary,
  .salary-rule-strip,
  .credential-grid,
  .internal-rules,
  .trial-review-grid,
  .trial-check-list,
  .trial-feedback-form,
  .account-item {
    grid-template-columns: 1fr;
  }

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

  .case-category-card img {
    min-height: 210px;
    aspect-ratio: 16 / 10;
  }

  .account-list-head,
  .account-detail-head {
    grid-template-columns: 1fr;
  }

  .account-summary {
    justify-content: flex-start;
  }

  .console-card-large,
  .console-timeline {
    grid-column: auto;
  }

  .top-actions,
  .hero-actions {
    width: 100%;
  }

  .top-actions button,
  .hero-actions button {
    flex: 1;
  }

  .delivery-flow::before,
  .flow-card::after {
    display: none;
  }

  .flow-card,
  .flow-ledger article {
    grid-template-columns: 1fr;
  }
}

/* Order portal refinements */
.qr-image {
  width: 104px;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
}

.qr-image[src$="xianyu-logo.svg"] {
  padding: 12px;
  border-color: #f1d600;
  background: #ffe600;
}

#payMethodRule {
  display: block;
  margin-top: 8px;
  color: #805413;
  line-height: 1.55;
  font-size: 12px;
  font-weight: 900;
}

.payment-review {
  grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
}

.payment-review p {
  padding-top: 4px;
  border-top: 1px solid rgba(15, 111, 120, 0.14);
}

.rules-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 14px;
  margin: 18px 0 20px;
}

.rule-card,
.quote-sheet,
.locked-panel,
.support-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(20, 32, 42, 0.06);
}

.rule-card,
.quote-sheet {
  padding: 22px;
}

.rule-card ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.72;
}

.quote-sheet {
  color: #f1f7f7;
  background: linear-gradient(145deg, #15252c, #0f5961);
}

.quote-sheet h3 {
  color: #fff;
}

.quote-sheet div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.quote-sheet span {
  color: #c8d8dc;
}

.quote-sheet b {
  color: #fff;
  white-space: nowrap;
}

.quote-sheet p {
  margin: 14px 0 0;
  color: #cfe0e3;
  line-height: 1.7;
}
.locked-panel {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 14px;
  border-color: rgba(184, 108, 24, 0.34);
  background: #fff8ed;
}

.locked-panel b {
  color: #7a4a0c;
}

.locked-panel span {
  color: #765c38;
  line-height: 1.65;
}

.payment-record {
  display: grid;
  gap: 10px;
  border-left-color: var(--gold);
  background: #fffaf3;
}

.payment-record-head,
.support-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.payment-record-head b,
.payment-record-head span,
.support-meta b,
.support-meta span {
  display: block;
}

.payment-record-head span,
.support-meta span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.5;
}

.payment-record p {
  margin: 0;
  color: var(--muted);
}

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

.status-pill {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  color: #174d37;
  background: #e9f7ef;
  font-size: 12px;
  font-weight: 900;
}

.status-pill.warn {
  color: #7a4a0c;
  background: #fff0d6;
}

.status-pill.danger {
  color: #8c2b2b;
  background: #fde9e9;
}

.support-thread,
.support-board {
  display: grid;
  gap: 14px;
}

.support-thread {
  max-height: 620px;
  overflow: auto;
  padding-right: 4px;
}

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

.support-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.client-support-card {
  box-shadow: none;
}

.support-message,
.support-reply {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafb;
}

.support-message strong,
.support-reply b,
.support-reply small,
.support-message small {
  display: block;
}

.support-message p,
.support-reply p {
  margin: 6px 0 0;
  color: #3a4852;
  line-height: 1.68;
}

.support-message small,
.support-reply small {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.5;
}

.support-replies {
  display: grid;
  gap: 10px;
}

.support-reply {
  border-color: rgba(15, 111, 120, 0.18);
  background: #f2fbfb;
}

.support-reply-form {
  display: grid;
  gap: 10px;
}

body.modal-open {
  overflow: hidden;
}

/* Premium visual refresh */
:root {
  --bg: #f4f7f8;
  --panel: #ffffff;
  --ink: #111b23;
  --muted: #61717c;
  --line: rgba(21, 34, 43, 0.12);
  --line-strong: rgba(21, 34, 43, 0.22);
  --accent: #0d7480;
  --accent-dark: #13242c;
  --accent-soft: #e8f4f3;
  --gold: #b9843f;
  --radius: 8px;
  --shadow: 0 28px 70px rgba(17, 27, 35, 0.16);
}

body {
  background:
    linear-gradient(90deg, rgba(17, 27, 35, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 27, 35, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #f7faf9 0%, #eef4f5 42%, #fafbfb 100%);
  background-size: 40px 40px, 40px 40px, auto;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  color: #fff;
  font-size: 54px;
  line-height: 1.08;
}

h2 {
  color: var(--ink);
  font-size: 40px;
  line-height: 1.16;
}

.topbar {
  min-height: 126px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #edf5f5;
  background: rgba(17, 29, 38, 0.96);
  box-shadow: 0 16px 46px rgba(10, 20, 27, 0.18);
}

.topbar-main {
  min-height: 78px;
  background:
    radial-gradient(circle at 12% 0%, rgba(15, 111, 120, 0.22), transparent 34%),
    rgba(17, 29, 38, 0.96);
}

.brand-mark {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(145deg, #0d7480 0%, #14242c 54%, #b9843f 100%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.brand small,
.topbar-main {
  color: rgba(237, 245, 245, 0.72);
}

.brand strong {
  color: #fff;
}

.topbar .nav-links {
  justify-content: center;
  background: linear-gradient(90deg, #0f6f78 0%, #1f7fda 52%, #0f6f78 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.18);
}

.topbar .nav-links > .nav-item > button {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  border-bottom-color: transparent;
  border-radius: 0;
}

.topbar .nav-links > .nav-item > button::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 3px;
  background: #f3d08f;
  opacity: 0;
  transform: scaleX(0.42);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.topbar .nav-links > .nav-item > button:hover,
.topbar .nav-links > .nav-item > button.is-active,
.topbar .nav-item:hover > button,
.topbar .nav-item:focus-within > button,
.topbar .nav-item.is-open > button {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.topbar .nav-links > .nav-item > button:hover::after,
.topbar .nav-links > .nav-item > button.is-active::after,
.topbar .nav-item:hover > button::after,
.topbar .nav-item:focus-within > button::after,
.topbar .nav-item.is-open > button::after {
  opacity: 1;
  transform: scaleX(1);
}

.topbar .secondary-button,
.topbar .ghost-button {
  border-color: rgba(255, 255, 255, 0.18);
  color: #edf5f5;
  background: rgba(255, 255, 255, 0.08);
}

.topbar .primary-button {
  color: #14202a;
  background: linear-gradient(135deg, #f3d08f, #b9843f);
  box-shadow: 0 14px 34px rgba(185, 132, 63, 0.25);
}

.primary-button,
.mini-button.primary {
  background: linear-gradient(135deg, #0d7480, #123842);
  box-shadow: 0 16px 34px rgba(13, 116, 128, 0.22);
}

.secondary-button {
  background: linear-gradient(180deg, #fff, #f6f9f9);
}

.hero {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(520px, 1.18fr) minmax(340px, 0.82fr);
  gap: clamp(22px, 3vw, 46px);
  min-height: min(760px, calc(100vh - 78px));
  padding-top: clamp(32px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(14, 25, 32, 0.96) 0%, rgba(14, 25, 32, 0.9) 44%, rgba(14, 25, 32, 0.58) 100%),
    url("./assets/portfolio/case-parking-layout.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.72), transparent);
}

.hero::before {
  content: "";
  position: absolute;
  left: clamp(18px, 4vw, 56px);
  right: clamp(18px, 4vw, 56px);
  bottom: 0;
  height: 1px;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(232, 188, 116, 0.65), transparent);
}

.hero-copy {
  max-width: 820px;
}

.hero-copy .eyebrow,
.hero .eyebrow {
  color: #e6bc74;
}

.hero-copy p {
  max-width: 680px;
  color: rgba(236, 246, 246, 0.82);
  font-size: 17px;
}

.trial-banner {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 22px;
  padding: 10px 12px;
  border: 1px solid rgba(230, 188, 116, 0.34);
  border-radius: 8px;
  color: rgba(236, 246, 246, 0.78);
  background: rgba(230, 188, 116, 0.12);
  backdrop-filter: blur(12px);
}

.trial-banner b {
  color: #f0ce93;
}

.trial-banner span {
  color: rgba(236, 246, 246, 0.78);
}

.hero-scope-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.hero-scope-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(15, 111, 120, 0.14);
  border-radius: 999px;
  color: #12333a;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 26px rgba(20, 32, 42, 0.06);
  font-size: 13px;
  font-weight: 900;
}

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

.metric-strip div {
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.metric-strip span {
  color: rgba(236, 246, 246, 0.72);
}

.operations-panel {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 36%),
    rgba(10, 25, 33, 0.38);
  backdrop-filter: blur(3px) saturate(118%);
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.22);
}

.panel-head {
  background: rgba(255, 255, 255, 0.07);
}

.panel-head strong,
.flow-card span {
  color: #10242a;
  background: linear-gradient(135deg, #e9d2aa, #9ee6df);
}

.status-grid div {
  background: rgba(255, 255, 255, 0.09);
}

.content-band,
.client-shell,
.login-shell,
.workspace-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(248, 251, 251, 0.92)),
    var(--bg);
}

.content-band.alt,
.platform-proof-band,
.service-notice-band,
.social-proof-band {
  background: #fff;
}

.section-heading {
  max-width: 920px;
}

.section-heading .eyebrow,
.eyebrow {
  color: var(--gold);
  font-size: 12px;
}

.section-heading p {
  max-width: 780px;
}

.metric-strip div,
.feature-grid article,
.service-grid article,
.case-grid article,
.form-card,
.query-form,
.result-panel,
.side-note,
.change-guide,
.payment-overview div,
.workspace-sidebar,
.workspace-main,
.detail-panel,
.auth-card,
.demo-note,
.platform-hero-card,
.platform-card-grid article,
.platform-card-grid > a,
.evidence-board,
.testimonial-timeline,
.testimonial-stack article,
.notice-card,
.rule-card,
.quote-sheet {
  border-color: rgba(17, 27, 35, 0.11);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(17, 27, 35, 0.08);
}

.feature-grid article,
.service-grid article,
.case-grid article,
.payment-overview div,
.notice-card,
.rule-card,
.quote-sheet,
.platform-card-grid article,
.platform-card-grid > a {
  position: relative;
  overflow: hidden;
}

.feature-grid article::before,
.service-grid article::before,
.case-grid article::before,
.payment-overview div::before,
.notice-card::before,
.rule-card::before,
.quote-sheet::before,
.platform-card-grid article::before,
.platform-card-grid > a::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(13, 116, 128, 0.45), transparent);
  opacity: 0.8;
}

.feature-grid article,
.service-grid article,
.payment-overview div,
.form-card,
.side-note,
.query-form,
.result-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 251, 0.96));
}

.feature-grid article > span,
.service-icon,
.notice-card > span {
  background: linear-gradient(145deg, #14242c, #0d7480);
  box-shadow: 0 12px 26px rgba(13, 116, 128, 0.16);
}

.feature-grid article:hover,
.service-grid article:hover,
.case-grid article:hover,
.platform-card-grid article:hover,
.platform-card-grid > a:hover,
.notice-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 62px rgba(17, 27, 35, 0.12);
}

.feature-grid article,
.service-grid article,
.case-grid article,
.platform-card-grid article,
.platform-card-grid > a,
.notice-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.client-shell {
  background:
    linear-gradient(180deg, #f7faf9 0%, #edf4f5 100%);
}

.portal-strip {
  gap: 10px;
  border: 0;
  background: transparent;
}

.portal-strip div {
  border: 1px solid rgba(17, 27, 35, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(17, 27, 35, 0.06);
}

.tabbar,
.workspace-tabs,
.auth-tabs,
.role-switch {
  padding: 6px;
  border: 1px solid rgba(17, 27, 35, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(17, 27, 35, 0.05);
}

.tabbar button,
.auth-tabs button,
.role-switch button,
.workspace-tabs button {
  border-color: transparent;
  background: transparent;
}

.tabbar button.is-active,
.auth-tabs button.is-active,
.role-switch button.is-active,
.workspace-tabs button.is-active {
  color: #fff;
  background: linear-gradient(135deg, #14242c, #0d7480);
}

.password-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 16px;
  padding: 5px;
  border: 1px solid rgba(17, 27, 35, 0.1);
  border-radius: 7px;
  background: #f3f7f7;
}

.password-mode-switch button {
  min-height: 38px;
  border: 0;
  border-radius: 5px;
  color: #536265;
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.password-mode-switch button.is-active {
  color: #fff;
  background: #0d7480;
}

.password-mode-switch button:focus-visible,
.verification-row button:focus-visible {
  outline: 3px solid rgba(226, 95, 63, 0.35);
  outline-offset: 2px;
}

.verification-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.verification-row > button {
  min-height: 44px;
  white-space: nowrap;
}

.account-phone-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  margin: 18px 0 20px;
  padding: 14px;
  border: 1px solid rgba(15, 127, 121, 0.18);
  border-radius: 6px;
  background: #f2f8f7;
}

.account-phone-form .form-result {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

@media (max-width: 520px) {
  .verification-row,
  .account-phone-form {
    grid-template-columns: 1fr;
  }

  .verification-row > button,
  .account-phone-form > button {
    width: 100%;
  }
}

.form-grid {
  border-color: rgba(17, 27, 35, 0.1);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 20px 50px rgba(17, 27, 35, 0.08);
}

input,
select,
textarea {
  border-color: rgba(17, 27, 35, 0.18);
  background: #fbfdfd;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(13, 116, 128, 0.1);
  outline: 0;
}

.price-card {
  background:
    linear-gradient(145deg, rgba(20, 36, 44, 0.96), rgba(13, 116, 128, 0.92)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  box-shadow: 0 22px 50px rgba(13, 116, 128, 0.2);
}

.qr-panel {
  width: 100%;
  text-align: left;
}

.qr-open-trigger {
  cursor: pointer;
  border-color: rgba(13, 116, 128, 0.18);
  background:
    linear-gradient(135deg, rgba(13, 116, 128, 0.08), transparent 42%),
    linear-gradient(180deg, #ffffff, #f6fbfb);
  box-shadow: 0 18px 42px rgba(13, 116, 128, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.qr-open-trigger:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 116, 128, 0.34);
  box-shadow: 0 26px 58px rgba(13, 116, 128, 0.18);
}

.qr-panel em {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  padding: 5px 9px;
  border-radius: 6px;
  color: #113039;
  background: rgba(185, 132, 63, 0.18);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.qr-image {
  box-shadow: 0 12px 26px rgba(17, 27, 35, 0.12);
}

.quote-sheet {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(185, 132, 63, 0.09), transparent 38%),
    #fff;
}

.quote-sheet h3 {
  color: var(--ink);
}

.quote-sheet div {
  border-bottom-color: rgba(17, 27, 35, 0.12);
}

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

.quote-sheet b {
  color: var(--accent);
}

.quote-sheet p {
  color: var(--muted);
}

.notice-card-feature {
  background:
    linear-gradient(135deg, rgba(13, 116, 128, 0.12), transparent 46%),
    linear-gradient(180deg, #ffffff, #f2f8f8);
}

.platform-card-grid h3 {
  font-size: 34px;
}

.footer {
  background: #101b22;
}

.payment-code-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
}

.payment-code-modal.is-open {
  display: grid;
}

.payment-code-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 25%, rgba(13, 116, 128, 0.18), transparent 32%),
    rgba(8, 15, 20, 0.76);
  backdrop-filter: blur(10px);
}

.payment-code-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(280px, 1fr);
  gap: 22px;
  width: min(860px, 100%);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #edf7f7;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 32%),
    #111f27;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.42);
}

.payment-code-copy h2 {
  color: #fff;
  font-size: 34px;
}

.payment-code-copy p:not(.eyebrow) {
  color: rgba(237, 247, 247, 0.78);
  line-height: 1.75;
}

.payment-code-frame {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    rgba(255, 255, 255, 0.06);
  background-size: 22px 22px;
}

.payment-code-frame img {
  width: min(330px, 100%);
  max-height: 430px;
  object-fit: contain;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
}

.payment-code-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.payment-code-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

/* Owner cockpit refinement */
.workspace-shell {
  min-height: calc(100vh - 78px);
  padding: 42px clamp(18px, 4vw, 56px);
  background:
    linear-gradient(135deg, rgba(17, 27, 35, 0.96) 0%, rgba(22, 38, 47, 0.9) 30%, rgba(239, 246, 246, 0.96) 30.2%, rgba(247, 250, 250, 0.98) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
}

.workspace-head {
  align-items: flex-start;
  margin-bottom: 18px;
  padding: 22px 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #edf7f7;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 36%),
    linear-gradient(145deg, rgba(16, 31, 39, 0.96), rgba(13, 116, 128, 0.72));
  box-shadow: 0 34px 90px rgba(12, 22, 29, 0.22);
}

.workspace-head h2 {
  color: #fff;
  font-size: 38px;
}

.workspace-head p {
  color: rgba(237, 247, 247, 0.76);
}

.workspace-command-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 940px;
  margin-top: 16px;
}

.workspace-command-strip span {
  display: grid;
  gap: 4px;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.workspace-command-strip b {
  color: #fff;
  font-size: 16px;
}

.workspace-command-strip small {
  color: rgba(237, 247, 247, 0.68);
  line-height: 1.45;
}

.session-badge {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #10242a;
  background: linear-gradient(135deg, #eac78d, #9ee6df);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.workspace-head .secondary-button {
  border-color: rgba(255, 255, 255, 0.18);
  color: #edf7f7;
  background: rgba(255, 255, 255, 0.08);
}

.workspace-layout {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
}

.workspace-sidebar {
  top: 96px;
  padding: 18px;
  border-color: rgba(255, 255, 255, 0.1);
  color: #edf7f7;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 32%),
    #111f27;
  box-shadow: 0 26px 70px rgba(12, 22, 29, 0.2);
}

.workspace-sidebar .user-card {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.workspace-sidebar .avatar {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, #0d7480, #e0b36d);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.workspace-sidebar .user-card strong {
  color: #fff;
}

.workspace-sidebar .user-card small {
  color: rgba(237, 247, 247, 0.68);
}

.permission-list {
  gap: 8px;
}

.permission-item {
  min-height: 42px;
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(237, 247, 247, 0.72);
  background: rgba(255, 255, 255, 0.06);
}

.permission-item b {
  color: #9ee6df;
}

.permission-item.locked {
  opacity: 0.62;
}

.permission-item.locked b {
  color: #e5a15e;
}

.workspace-main {
  padding: 18px;
  border-color: rgba(17, 27, 35, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 250, 0.95));
  box-shadow: 0 28px 72px rgba(17, 27, 35, 0.12);
}

.workspace-tabs {
  position: sticky;
  top: 78px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
}

.workspace-tabs button.is-locked {
  opacity: 0.42;
  cursor: not-allowed;
}

.owner-dashboard {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.owner-dashboard[hidden] {
  display: none;
}

.owner-overview-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 16px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(17, 27, 35, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(224, 179, 109, 0.18), transparent 34%),
    linear-gradient(135deg, #111f27, #153d45 58%, #f7fbfb 58.4%, #ffffff);
  box-shadow: 0 24px 62px rgba(17, 27, 35, 0.12);
}

.owner-panel-copy {
  display: grid;
  align-content: center;
  min-height: 142px;
  padding: 8px 10px;
  color: rgba(237, 247, 247, 0.72);
}

.owner-panel-copy span,
.owner-card-title span {
  color: #e0b36d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.owner-panel-copy h3 {
  max-width: 430px;
  margin: 8px 0 8px;
  color: #fff;
  font-size: 28px;
  line-height: 1.18;
}

.owner-panel-copy p {
  max-width: 480px;
  margin: 0;
  line-height: 1.75;
}

.owner-metric-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-content: stretch;
}

.owner-metric-rail article {
  display: grid;
  align-content: space-between;
  min-height: 142px;
  padding: 16px;
  border: 1px solid rgba(17, 27, 35, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(17, 27, 35, 0.08);
}

.owner-metric-rail small {
  color: #6b7a84;
  font-weight: 700;
}

.owner-metric-rail strong {
  color: #101b22;
  font-size: 30px;
  line-height: 1.1;
}

.owner-metric-rail span {
  color: #667985;
  font-size: 13px;
  line-height: 1.45;
}

.owner-ops-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(260px, 0.88fr) minmax(260px, 0.86fr) 220px;
  gap: 14px;
}

.owner-focus-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(17, 27, 35, 0.09);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(17, 27, 35, 0.07);
}

.owner-card-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.owner-card-title h3 {
  margin: 0;
  color: #101b22;
  font-size: 20px;
}

.owner-focus-row {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  column-gap: 10px;
  width: 100%;
  padding: 12px 0;
  border-bottom: 1px solid rgba(17, 27, 35, 0.08);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.owner-focus-row:last-child {
  border-bottom: 0;
}

.owner-focus-row b,
.owner-focus-row small {
  grid-column: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-focus-row b {
  color: #14202a;
  font-size: 15px;
}

.owner-focus-row small {
  margin-top: 4px;
  color: #667985;
  font-size: 13px;
}

.reminder-dot {
  grid-row: 1 / span 2;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: #8aa1aa;
  box-shadow: 0 0 0 4px rgba(138, 161, 170, 0.12);
}

.reminder-dot.danger,
.reminder-dot.warn {
  background: #c9822b;
  box-shadow: 0 0 0 4px rgba(201, 130, 43, 0.16);
}

.reminder-dot.notice {
  background: #0f6f78;
  box-shadow: 0 0 0 4px rgba(15, 111, 120, 0.14);
}

.reminder-dot.done {
  background: #25855a;
}

.owner-load-list {
  display: grid;
  gap: 13px;
}

.owner-load-item {
  display: grid;
  gap: 8px;
}

.owner-load-item div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.owner-load-item b {
  color: #14202a;
}

.owner-load-item small {
  color: #667985;
}

.owner-load-item span {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: #e7eef1;
}

.owner-load-item i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f6f78, #e0b36d);
}

.owner-action-card {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 36%),
    #111f27;
}

.owner-action-card .owner-card-title h3 {
  color: #fff;
}

.owner-action-list {
  display: grid;
  gap: 10px;
}

.owner-action-list .mini-button {
  width: 100%;
  min-height: 38px;
  justify-content: center;
}

.order-center-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid rgba(17, 27, 35, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 111, 120, 0.1), transparent 42%),
    #fff;
  box-shadow: 0 18px 42px rgba(17, 27, 35, 0.07);
}

.order-center-hero span,
.order-list-heading span {
  color: #0f6f78;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-center-hero h3 {
  margin: 6px 0 6px;
  color: #101b22;
  font-size: 24px;
}

.order-center-hero p {
  max-width: 660px;
  margin: 0;
  color: #647683;
  line-height: 1.7;
}

.order-center-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.order-center-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(220px, 0.34fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
}

.order-center-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(17, 27, 35, 0.09);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(17, 27, 35, 0.06);
}

.order-center-desc {
  margin: -4px 0 12px;
  color: #667985;
  line-height: 1.6;
}

.dispatch-list {
  display: grid;
  gap: 10px;
}

.dispatch-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 12px;
  border: 1px solid rgba(17, 27, 35, 0.08);
  border-radius: 8px;
  background: #f8fbfb;
}

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

.dispatch-row b,
.dispatch-row small {
  display: block;
}

.dispatch-row b {
  overflow: hidden;
  color: #14202a;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dispatch-row small {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  margin-top: 4px;
  color: #687a84;
  line-height: 1.45;
}

.dispatch-row small span {
  white-space: nowrap;
}

.dispatch-price-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.dispatch-price-tags span {
  padding: 5px 8px;
  border: 1px solid rgba(15, 111, 120, 0.12);
  border-radius: 999px;
  color: #23454e;
  background: #edf7f7;
  font-size: 12px;
  font-weight: 800;
}

.dispatch-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(17, 27, 35, 0.08);
}

.dispatch-row-actions select {
  flex: 1 1 160px;
  min-width: 150px;
  max-width: 260px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #26353e;
  background: #fff;
}

.order-list-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 10px;
  padding: 0 2px;
}

.order-list-heading h3 {
  margin: 3px 0 0;
  color: #101b22;
}

.order-list-heading small {
  color: #667985;
}

.stats-row {
  gap: 14px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 108px;
  padding: 18px;
  border-color: rgba(17, 27, 35, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(13, 116, 128, 0.08), transparent 44%),
    #fff;
  box-shadow: 0 18px 42px rgba(17, 27, 35, 0.08);
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent), transparent);
}

.stat-card span {
  color: #6b7a84;
  font-size: 13px;
}

.stat-card strong {
  margin-top: 10px;
  color: #101b22;
  font-size: 30px;
}

.toolbar {
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(17, 27, 35, 0.08);
  border-radius: 8px;
  background: #f8fbfb;
}

.order-board {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.project-table {
  gap: 12px;
}

.project-row {
  grid-template-columns: minmax(260px, 1fr) 150px 116px 138px auto;
  min-height: 82px;
  padding: 16px 18px;
  border-color: rgba(17, 27, 35, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(13, 116, 128, 0.045), transparent 48%),
    #fff;
  box-shadow: 0 12px 32px rgba(17, 27, 35, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.project-row:hover,
.project-row.active {
  transform: translateY(-1px);
  border-color: rgba(13, 116, 128, 0.45);
  box-shadow: 0 22px 54px rgba(13, 116, 128, 0.14);
}

.project-row.active {
  background:
    linear-gradient(90deg, rgba(13, 116, 128, 0.08), transparent 42%),
    #fff;
}

.project-row h3 {
  color: #101b22;
  font-size: 18px;
}

.project-row small {
  color: #657681;
}

.tag {
  min-height: 34px;
  color: #284852;
  background: #e9f0f2;
}

.status {
  min-height: 34px;
  background: linear-gradient(135deg, #0d7480, #123842);
  box-shadow: 0 10px 22px rgba(13, 116, 128, 0.18);
}

.status.new,
.status.change {
  background: linear-gradient(135deg, #b86c18, #8b4e11);
}

.status.done {
  background: linear-gradient(135deg, #25855a, #164e39);
}

.order-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  padding: 24px;
  align-items: center;
  justify-content: center;
}

.order-detail-modal.is-open {
  display: flex;
}

.order-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 26, 0.62);
  backdrop-filter: blur(8px);
}

.order-detail-dialog {
  position: relative;
  width: min(1040px, calc(100vw - 48px));
  max-height: min(86vh, 820px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 34%),
    #111f27;
  box-shadow: 0 36px 90px rgba(8, 18, 24, 0.4);
}

.order-detail-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.order-detail-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.detail-panel {
  position: relative;
  max-height: min(86vh, 820px);
  overflow: auto;
  padding: 18px;
  border-color: rgba(255, 255, 255, 0.12);
  color: #edf7f7;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%),
    #111f27;
  box-shadow: 0 28px 72px rgba(17, 27, 35, 0.22);
}

.detail-panel h3 {
  color: #fff;
}

.detail-titlebar {
  max-width: calc(100% - 58px);
  margin-bottom: 8px;
}

.detail-titlebar span {
  color: #e0b36d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-titlebar h3 {
  margin: 7px 0 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.35;
}

.detail-panel .muted {
  color: rgba(237, 247, 247, 0.72);
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.detail-meta div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  color: rgba(237, 247, 247, 0.66);
  background: rgba(255, 255, 255, 0.05);
}

.detail-meta div:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.detail-meta b {
  color: #fff;
  overflow-wrap: anywhere;
}

.detail-panel .progress {
  height: 12px;
  margin: 14px 0;
  background: rgba(255, 255, 255, 0.12);
}

.detail-panel .progress span {
  background: linear-gradient(90deg, #e0b36d, #9ee6df);
}

.detail-panel .note,
.detail-panel .empty-state,
.detail-panel .locked-panel {
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(237, 247, 247, 0.72);
  background: rgba(255, 255, 255, 0.06);
}

.detail-panel .admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.detail-panel .admin-form label:has(textarea),
.detail-panel .admin-form button {
  grid-column: 1 / -1;
}

.detail-panel label {
  color: rgba(237, 247, 247, 0.84);
}

.detail-panel input,
.detail-panel select,
.detail-panel textarea {
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.detail-panel option {
  color: #111b23;
}

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

  .owner-overview-panel,
  .owner-ops-grid,
  .order-center-grid {
    grid-template-columns: 1fr;
  }

  .owner-metric-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-board {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    position: static;
  }
}

@media (max-width: 900px) {
  .workspace-head {
    padding: 22px;
  }

  .workspace-head h2 {
    font-size: 34px;
  }

  .order-center-hero,
  .dispatch-row {
    grid-template-columns: 1fr;
  }

  .order-center-hero {
    display: grid;
  }

  .order-center-actions,
  .dispatch-row-actions {
    justify-content: flex-start;
  }

  .workspace-layout {
    grid-template-columns: 1fr;
  }

  .workspace-sidebar,
  .workspace-tabs {
    position: static;
  }

  .project-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .workspace-command-strip,
  .stats-row,
  .toolbar,
  .project-row,
  .owner-metric-rail {
    grid-template-columns: 1fr;
  }

  .owner-overview-panel,
  .owner-focus-card {
    padding: 14px;
  }

  .owner-panel-copy h3 {
    font-size: 24px;
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  .hero {
    background-position: center;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .hero {
    min-height: 86vh;
    background:
      linear-gradient(180deg, rgba(14, 25, 32, 0.96), rgba(14, 25, 32, 0.84)),
      url("./assets/portfolio/case-parking-layout.png") center / cover no-repeat;
  }

  .platform-card-grid h3 {
    font-size: 28px;
  }

  .payment-code-dialog {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 36px);
    overflow: auto;
  }

  .payment-code-frame {
    min-height: 260px;
  }
}

@media (max-width: 1220px) {
  .rules-layout,
  .support-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .qr-panel,
  .pay-method-grid {
    grid-template-columns: 1fr;
  }

  .payment-record-head,
  .support-meta,
  .quote-sheet div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .qr-image {
    width: 136px;
  }
}
/* Xianyu homepage collage */
.social-proof-band {
  background: #ffffff;
}

.social-proof-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: center;
}

.social-proof-copy {
  margin-bottom: 0;
}

.social-proof-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.social-proof-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafb;
}

.social-proof-stats b,
.social-proof-stats span {
  display: block;
}

.social-proof-stats b {
  margin-bottom: 5px;
  color: var(--accent-dark);
  font-size: 24px;
}

.social-proof-stats span {
  color: var(--muted);
  line-height: 1.5;
  font-size: 13px;
}

.xianyu-collage {
  position: relative;
  min-height: 620px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(201, 130, 43, 0.18), transparent 34%),
    linear-gradient(145deg, #17232b, #20333a);
  box-shadow: var(--shadow);
}

.xianyu-shot {
  position: absolute;
  overflow: hidden;
  margin: 0;
  width: min(46%, 330px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 42px rgba(7, 14, 18, 0.32);
}

.xianyu-shot img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
}

.xianyu-shot figcaption {
  padding: 10px 12px;
  color: #26353e;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
}

.shot-primary {
  top: 32px;
  left: 9%;
  transform: rotate(-3deg);
}

.shot-secondary {
  right: 8%;
  bottom: 34px;
  transform: rotate(3deg);
}

.xianyu-badge {
  position: absolute;
  right: 28px;
  top: 28px;
  display: grid;
  gap: 3px;
  min-width: 142px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  color: #10242a;
  background: #ffe56d;
  box-shadow: 0 16px 30px rgba(7, 14, 18, 0.2);
}

.xianyu-badge b,
.xianyu-badge span {
  display: block;
}

.xianyu-badge b {
  font-size: 18px;
}

.xianyu-badge span {
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 1220px) {
  .social-proof-layout {
    grid-template-columns: 1fr;
  }

  .xianyu-collage {
    min-height: 580px;
  }
}

@media (max-width: 760px) {
  .social-proof-stats {
    grid-template-columns: 1fr;
  }

  .xianyu-collage {
    display: grid;
    gap: 14px;
    min-height: auto;
    padding: 16px;
  }

  .xianyu-shot,
  .shot-primary,
  .shot-secondary {
    position: static;
    width: 100%;
    transform: none;
  }

  .xianyu-shot img {
    height: auto;
    max-height: 620px;
  }

  .xianyu-badge {
    position: static;
    order: -1;
  }
}


/* Platform proof, project evidence, and service notes */
.platform-proof-band {
  background:
    radial-gradient(circle at 12% 0%, rgba(191, 233, 229, 0.22), transparent 28%),
    linear-gradient(180deg, #f8fbfc 0%, #eef5f6 100%);
}

.platform-proof-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.76fr) minmax(520px, 1.24fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
}

.platform-hero-card,
.platform-card-grid article,
.evidence-board,
.testimonial-timeline,
.testimonial-stack article,
.notice-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(20, 32, 42, 0.08);
}

.platform-hero-card {
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(201, 130, 43, 0.16), transparent 30%),
    linear-gradient(145deg, #14202a, #20363d);
  box-shadow: var(--shadow);
}

.platform-hero-card img {
  width: 100%;
  aspect-ratio: 16 / 7.5;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: #fff;
}

.platform-hero-card div {
  display: grid;
  gap: 6px;
  padding: 16px 4px 2px;
  color: #eaf3f4;
}

.platform-hero-card span,
.platform-card-grid span,
.evidence-board span,
.testimonial-timeline span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.platform-hero-card b {
  color: #fff;
  font-size: 22px;
  line-height: 1.35;
}

.platform-hero-card p {
  margin: 0;
  color: #c9d9dc;
  line-height: 1.7;
}

.platform-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.platform-card-grid article,
.platform-card-grid > a {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(15, 32, 42, 0.12);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.portfolio-card-grid article,
.portfolio-card-grid > a {
  border-color: rgba(15, 32, 42, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 251, 0.96));
  box-shadow: 0 22px 48px rgba(15, 32, 42, 0.11);
}

.platform-card-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: #edf2f4;
}

.platform-card-grid article > div,
.platform-card-grid > a > div {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.platform-card-grid h3 {
  margin: 0;
  color: #13202a;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: 0;
}

.platform-card-grid h3 + span {
  order: 2;
  width: fit-content;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--gold);
  background: transparent;
  font-size: 16px;
}

.platform-card-grid p {
  order: 3;
  font-size: 16px;
}

.platform-card-grid article:hover,
.platform-card-grid > a:hover {
  border-color: rgba(15, 111, 120, 0.34);
  box-shadow: 0 28px 58px rgba(15, 32, 42, 0.16);
  transform: translateY(-4px);
}

.evidence-board h3,
.testimonial-timeline h3,
.notice-card h3 {
  margin: 6px 0 8px;
}

.platform-card-grid p,
.evidence-board p,
.testimonial-timeline p,
.notice-card p,
.testimonial-stack span {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.work-proof-band {
  background:
    linear-gradient(90deg, rgba(15, 111, 120, 0.035) 1px, transparent 1px),
    #f4f8f9;
  background-size: 32px 32px;
}

.evidence-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 16px;
  align-items: stretch;
}

.evidence-board {
  display: grid;
  align-content: start;
}

.evidence-board img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  background: #101820;
}

.evidence-board-large img {
  min-height: 420px;
}

.evidence-board > div {
  padding: 18px;
}

.evidence-stack {
  display: grid;
  gap: 16px;
}

.work-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.work-chip-grid span {
  padding: 9px 12px;
  border: 1px solid rgba(15, 111, 120, 0.16);
  border-radius: 999px;
  color: #174d55;
  background: #e9f6f7;
  font-size: 13px;
  font-weight: 900;
}

.testimonial-band {
  background: #fff;
}

.testimonial-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr) minmax(300px, 0.9fr);
  gap: 16px;
  align-items: start;
}

.testimonial-timeline img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top left;
  background: #f0f2f3;
}

.testimonial-timeline > div {
  padding: 18px;
}

.testimonial-stack {
  display: grid;
  gap: 14px;
}

.testimonial-stack article {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  align-items: center;
}

.testimonial-stack img {
  width: 128px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top left;
  border-radius: 6px;
  background: #eef2f4;
}

.testimonial-stack b,
.testimonial-stack span {
  display: block;
}

.testimonial-stack b {
  margin-bottom: 6px;
  color: var(--ink);
  line-height: 1.45;
}

.service-notice-band {
  background:
    linear-gradient(135deg, rgba(15, 111, 120, 0.08), transparent 35%),
    #f7fafb;
}

.service-notice-band .section-heading {
  max-width: 940px;
}

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

.notice-card {
  display: grid;
  align-content: start;
  min-height: 220px;
  padding: 22px;
  border-color: rgba(15, 32, 42, 0.12);
}

.notice-card-feature {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(15, 111, 120, 0.14), transparent 45%),
    linear-gradient(145deg, #ffffff, #edf6f6);
  box-shadow: 0 24px 54px rgba(15, 32, 42, 0.12);
}

.notice-card-feature h3 {
  font-size: 30px;
}

.notice-card-feature p {
  max-width: 720px;
  color: #40545d;
  font-size: 16px;
}

.notice-card > span {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 6px;
  color: #fff;
  background: var(--accent-dark);
  font-weight: 900;
}

.notice-card:nth-child(even) > span {
  background: var(--gold);
}

.notice-downloads {
  margin-top: 28px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(15, 32, 42, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 111, 120, 0.08), transparent 38%),
    #fff;
  box-shadow: 0 18px 42px rgba(15, 32, 42, 0.08);
}

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

.resource-card {
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(15, 32, 42, 0.12);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.resource-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 111, 120, 0.32);
  box-shadow: 0 16px 34px rgba(15, 32, 42, 0.12);
}

.resource-card span {
  display: inline-grid;
  width: 46px;
  height: 34px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}

.resource-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.resource-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.resource-card b {
  align-self: end;
  color: var(--accent);
  font-size: 14px;
}

.resource-card-primary {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(15, 111, 120, 0.16), transparent 48%),
    linear-gradient(145deg, #ffffff, #edf6f6);
}

.resource-card-primary h3 {
  font-size: 24px;
}

.resource-card-preview {
  padding: 0;
  overflow: hidden;
  align-content: start;
}

.resource-card-preview span,
.resource-card-preview h3,
.resource-card-preview p,
.resource-card-preview b {
  margin-inline: 18px;
}

.resource-card-preview b {
  margin-bottom: 18px;
}

.resource-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: #edf2f3;
  border-bottom: 1px solid rgba(15, 32, 42, 0.1);
}

.ppt-template-card {
  min-height: 300px;
}

.ppt-thumb {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 132px;
  padding: 18px;
  overflow: hidden;
  border-bottom: 1px solid rgba(15, 32, 42, 0.1);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 32, 42, 0.9), rgba(15, 111, 120, 0.72)),
    #10242a;
}

.ppt-thumb::before,
.ppt-thumb::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.ppt-thumb::before {
  inset: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.ppt-thumb::after {
  right: -34px;
  bottom: -42px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 0 28px rgba(255, 255, 255, 0.05);
}

.ppt-thumb i {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 54px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 18px 0 rgba(255, 255, 255, 0.28),
    74px 0 0 rgba(255, 255, 255, 0.22),
    74px 18px 0 rgba(255, 255, 255, 0.18);
}

.ppt-thumb strong,
.ppt-thumb em {
  position: relative;
  z-index: 1;
  display: block;
  font-style: normal;
}

.ppt-thumb strong {
  font-size: 24px;
  line-height: 1.2;
}

.ppt-thumb em {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.ppt-template-02 .ppt-thumb {
  background: linear-gradient(135deg, #12333a, #b9873c);
}

.ppt-template-03 .ppt-thumb {
  background: linear-gradient(135deg, #17242c, #2f8d92);
}

.ppt-template-04 .ppt-thumb {
  background: linear-gradient(135deg, #f7fafa, #dcebea);
  color: #10242a;
}

.ppt-template-04 .ppt-thumb::before,
.ppt-template-04 .ppt-thumb::after {
  border-color: rgba(15, 111, 120, 0.2);
}

.ppt-template-04 .ppt-thumb i {
  background: rgba(15, 111, 120, 0.68);
  box-shadow:
    0 18px 0 rgba(15, 111, 120, 0.2),
    74px 0 0 rgba(201, 130, 43, 0.28),
    74px 18px 0 rgba(15, 32, 42, 0.12);
}

.ppt-template-04 .ppt-thumb em {
  color: #667982;
}

.ppt-template-05 .ppt-thumb {
  background:
    linear-gradient(135deg, rgba(15, 32, 42, 0.88), rgba(201, 130, 43, 0.68)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 18px);
}

.ppt-template-06 .ppt-thumb {
  background: linear-gradient(135deg, #0f6f78, #10242a 54%, #c9822b);
}

.resource-pack-card {
  gap: 12px;
}

.resource-pack-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(15, 32, 42, 0.08);
  border-bottom: 1px solid rgba(15, 32, 42, 0.1);
}

.resource-pack-strip img {
  width: 100%;
  aspect-ratio: 1 / 0.86;
  object-fit: cover;
  object-position: top center;
  background: #f6f8f8;
}

.resource-pack-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 18px 18px;
}

.resource-pack-links a {
  display: inline-flex;
  min-width: 46px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 111, 120, 0.2);
  border-radius: 6px;
  color: var(--accent);
  background: #edf7f7;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.resource-pack-links a:hover {
  border-color: rgba(15, 111, 120, 0.42);
  background: #dff1f1;
}

@media (max-width: 1220px) {
  .platform-proof-layout,
  .evidence-layout,
  .testimonial-layout {
    grid-template-columns: 1fr;
  }

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

  .evidence-board-large img {
    min-height: auto;
  }

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

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

@media (max-width: 760px) {
  .platform-card-grid,
  .testimonial-stack article {
    grid-template-columns: 1fr;
  }

  .platform-hero-card,
  .platform-card-grid article,
  .platform-card-grid > a,
  .evidence-board,
  .testimonial-timeline,
  .testimonial-stack article,
  .notice-card {
    box-shadow: 0 8px 22px rgba(20, 32, 42, 0.07);
  }

  .platform-hero-card img,
  .platform-card-grid img,
  .evidence-board img,
  .testimonial-timeline img {
    aspect-ratio: 16 / 10;
  }

  .testimonial-stack img {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .notice-card {
    min-height: auto;
  }

  .notice-grid,
  .notice-card-feature {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .resource-grid,
  .resource-card-primary {
    grid-template-columns: 1fr;
    grid-column: auto;
  }
}


/* Chat customer service */
.chat-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(520px, 0.66fr);
  gap: 18px;
  align-items: stretch;
}

.support-access {
  display: grid;
  gap: 18px;
  align-content: start;
}

.support-access-form {
  display: grid;
  gap: 12px;
}

.support-session-card {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid rgba(15, 111, 120, 0.18);
  border-radius: 8px;
  background: #eef8f8;
}

.support-session-card b,
.support-session-card span {
  display: block;
}

.support-session-card span {
  color: var(--muted);
  line-height: 1.5;
}

.chat-shell {
  display: grid;
  grid-template-rows: auto minmax(420px, 62vh) auto auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 32, 42, 0.08);
}

.chat-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  color: #edf8f8;
  background: linear-gradient(135deg, #14202a, #0f6f78);
}

.chat-head span,
.chat-head b,
.chat-head small {
  display: block;
}

.chat-head span,
.chat-head small {
  color: #b9d7da;
  font-size: 12px;
  font-weight: 900;
}

.chat-head b {
  margin-top: 3px;
  color: #fff;
  line-height: 1.35;
}

.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: none;
  min-height: 420px;
  padding: 18px;
  overflow: auto;
  background:
    linear-gradient(90deg, rgba(15, 111, 120, 0.035) 1px, transparent 1px),
    #f5f8f9;
  background-size: 32px 32px;
}

.chat-message {
  display: flex;
}

.chat-message.is-customer {
  justify-content: flex-end;
}

.chat-message.is-staff {
  justify-content: flex-start;
}

.chat-bubble {
  max-width: min(78%, 620px);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(20, 32, 42, 0.06);
}

.chat-message.is-customer .chat-bubble {
  color: #fff;
  border-color: #0f6f78;
  background: #0f6f78;
}

.chat-message.is-staff .chat-bubble {
  border-color: rgba(201, 130, 43, 0.28);
  background: #fffaf3;
}

.chat-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 900;
}

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

.chat-message.is-customer .chat-meta span {
  color: rgba(255, 255, 255, 0.72);
}

.chat-bubble p {
  margin: 0;
  line-height: 1.72;
}

.chat-bubble small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.chat-message.is-customer .chat-bubble small {
  color: rgba(255, 255, 255, 0.74);
}

.chat-empty {
  margin: auto;
  padding: 12px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.88);
  font-weight: 900;
}

.chat-composer {
  display: grid;
  grid-template-columns: minmax(112px, 0.18fr) auto minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.chat-composer textarea {
  min-height: 44px;
  resize: vertical;
}

.attachment-button {
  display: inline-grid;
  min-height: 44px;
  place-items: center;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: #2c3b45;
  background: #f8fafb;
  cursor: pointer;
  font-weight: 900;
}

.attachment-button input {
  display: none;
}

.chat-shell #supportResult {
  min-height: 0;
  margin: 0;
  padding: 0 14px 12px;
}

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

@media (max-width: 720px) {
  .chat-shell {
    grid-template-rows: auto minmax(360px, 58vh) auto auto;
  }

  .chat-thread {
    min-height: 360px;
    padding: 14px;
  }

  .chat-bubble {
    max-width: 92%;
  }

  .chat-composer {
    grid-template-columns: 1fr;
  }
}


/* Restored Xianyu phone proof */
.xianyu-proof-card {
  display: grid;
  gap: 14px;
}

.xianyu-phone-pair {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-height: 520px;
  padding: 18px 18px 28px;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(145deg, #17232b, #20363d);
}

.xianyu-phone-pair figure {
  align-self: center;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 36px rgba(7, 14, 18, 0.28);
}

.xianyu-phone-pair figure:first-child {
  transform: rotate(-2.5deg) translateY(-4px);
}

.xianyu-phone-pair figure:last-child {
  transform: rotate(2.5deg) translateY(18px);
}

.xianyu-phone-pair img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: top center;
}

.xianyu-phone-pair figcaption {
  padding: 10px 12px;
  color: #26353e;
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 720px) {
  .xianyu-phone-pair {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .xianyu-phone-pair figure,
  .xianyu-phone-pair figure:first-child,
  .xianyu-phone-pair figure:last-child {
    transform: none;
  }

  .xianyu-phone-pair img {
    height: auto;
    max-height: 620px;
  }
}


/* Assignment workflow */
.claim-button {
  margin-top: 8px;
}

.reminder-text {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #174d37;
  background: #e9f7ef;
  font-size: 12px;
  white-space: nowrap;
}

.reminder-text.danger {
  color: #8c2b2b;
  background: #fde9e9;
}

.reminder-text.warn {
  color: #7a4a0c;
  background: #fff0d6;
}

.reminder-text.notice {
  color: #0f5961;
  background: #e5f3f4;
}

.task-card button[data-claim-order] {
  margin-left: 8px;
}

#view-home.is-active {
  display: flex;
  flex-direction: column;
}

#view-home .hero {
  order: 1;
}

#view-home .platform-proof-band {
  order: 2;
}

#view-home > .content-band:not(.platform-proof-band):not(.studio-console-band) {
  order: 3;
}

#view-home .studio-console-band {
  order: 4;
}

.owner-order-intake {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px;
  border-color: rgba(15, 111, 120, 0.14);
  background:
    linear-gradient(135deg, rgba(15, 111, 120, 0.08), transparent 42%),
    #fff;
}

.owner-order-intake-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(17, 27, 35, 0.08);
}

.owner-order-intake-head span,
.dispatch-flow-stats span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.owner-order-intake-head h3 {
  margin: 5px 0 6px;
  font-size: 24px;
}

.owner-order-intake-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.owner-order-fields label {
  display: grid;
  gap: 7px;
  color: #30404a;
  font-weight: 900;
}

.owner-order-fields input,
.owner-order-fields select,
.owner-order-fields textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  font-weight: 600;
}

.owner-order-fields .full {
  grid-column: 1 / -1;
}

.dispatch-flow-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}

.dispatch-flow-stats span {
  display: grid;
  gap: 2px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 111, 120, 0.14);
  border-radius: 8px;
  background: #f7fbfb;
  color: #526875;
}

.dispatch-flow-stats b {
  color: var(--ink);
  font-size: 22px;
}

@media (max-width: 1120px) {
  .owner-order-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .owner-order-intake-head {
    display: grid;
  }

  .owner-order-fields,
  .dispatch-flow-stats {
    grid-template-columns: 1fr;
  }
}

/* Polished platform overrides */
.hero-copy h1 {
  max-width: 780px;
  font-size: 64px;
  line-height: 1.02;
}

.delivery-flow {
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 16px;
  background:
    linear-gradient(145deg, rgba(191, 233, 229, 0.14), transparent 38%),
    rgba(10, 24, 31, 0.44);
  backdrop-filter: blur(2px);
}

.delivery-flow::before {
  inset: 18px auto 18px calc(34% - 18px);
  width: 1px;
  height: auto;
  background: linear-gradient(180deg, rgba(191, 233, 229, 0.82), rgba(191, 233, 229, 0.08));
}

.flow-summary {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.flow-summary span {
  color: #e6bc74;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-summary h3 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.16;
}

.flow-summary p {
  margin: 0;
  color: #bed0d5;
  line-height: 1.72;
}

.flow-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.flow-chips b {
  padding: 7px 10px;
  border: 1px solid rgba(191, 233, 229, 0.18);
  border-radius: 999px;
  color: #eaf7f7;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
}

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

.flow-summary-grid div {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.flow-summary-grid small,
.flow-summary-grid strong {
  display: block;
}

.flow-summary-grid small {
  color: #aebec5;
  font-size: 12px;
}

.flow-summary-grid strong {
  margin-top: 4px;
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
}

.flow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-left: 18px;
}

.flow-track::before {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 7px;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, rgba(191, 233, 229, 0.8), rgba(191, 233, 229, 0.08));
}

.flow-card {
  min-height: 138px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
}

.flow-card::after {
  top: 24px;
  left: -24px;
  width: 10px;
  height: 10px;
  border: 2px solid #bfe9e5;
  border-radius: 999px;
  background: #0c1d24;
  transform: none;
}

.flow-card b {
  font-size: 17px;
}

.flow-ledger {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 18px 2px;
}

.flow-ledger article {
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
}

.flow-ledger b {
  font-size: 14px;
  line-height: 1.62;
}

.owner-panel-copy h3 {
  font-size: 32px;
  line-height: 1.12;
}

.payment-code-dialog {
  max-width: min(1080px, calc(100vw - 36px));
}

.payment-code-frame img {
  cursor: zoom-in;
}

.owner-overview-panel {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  min-height: 210px;
  background:
    linear-gradient(115deg, rgba(224, 179, 109, 0.22), transparent 31%),
    radial-gradient(circle at 78% 16%, rgba(158, 230, 223, 0.2), transparent 28%),
    linear-gradient(135deg, #101922, #17313a 54%, #f8fbfb 54.3%, #ffffff);
}

.owner-command-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.owner-command-tags b {
  padding: 7px 10px;
  border: 1px solid rgba(237, 247, 247, 0.14);
  border-radius: 999px;
  color: #f7fbfb;
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
}

.owner-metric-rail article {
  position: relative;
  overflow: hidden;
}

.owner-metric-rail article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, #e0b36d, #0f6f78, transparent);
}

.owner-pipeline-card {
  padding: 16px;
  border: 1px solid rgba(17, 27, 35, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 111, 120, 0.08), transparent 48%),
    #fff;
  box-shadow: 0 18px 46px rgba(17, 27, 35, 0.07);
}

.owner-pipeline-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.owner-pipeline-step {
  position: relative;
  display: grid;
  justify-items: start;
  min-height: 118px;
  padding: 14px;
  border: 1px solid rgba(17, 27, 35, 0.08);
  border-radius: 8px;
  color: #15242d;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.owner-pipeline-step:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 111, 120, 0.32);
  box-shadow: 0 18px 38px rgba(15, 111, 120, 0.12);
}

.owner-pipeline-step i,
.owner-pipeline-step small {
  color: #6b7a84;
  font-style: normal;
}

.owner-pipeline-step strong {
  margin-top: 10px;
  color: #101b22;
  font-size: 32px;
  line-height: 1;
}

.owner-pipeline-step b {
  margin-top: 6px;
  font-size: 16px;
}

.owner-pipeline-step::after {
  position: absolute;
  right: -10px;
  top: 50%;
  width: 20px;
  height: 1px;
  content: "";
  background: rgba(15, 111, 120, 0.24);
}

.owner-pipeline-step:last-child::after {
  display: none;
}

.owner-intel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr) minmax(260px, 0.82fr);
  gap: 14px;
}

.owner-intel-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(17, 27, 35, 0.09);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(17, 27, 35, 0.06);
}

.owner-status-list,
.owner-rank-list {
  display: grid;
  gap: 11px;
}

.owner-status-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
}

.owner-status-row b,
.owner-status-row strong {
  color: #14202a;
  font-size: 13px;
}

.owner-status-row span {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: #e7eef1;
}

.owner-status-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f6f78, #e0b36d);
}

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

.owner-risk-grid article {
  display: grid;
  gap: 5px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(17, 27, 35, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 111, 120, 0.06), transparent 48%),
    #f8fbfb;
}

.owner-risk-grid strong {
  color: #101b22;
  font-size: 26px;
  line-height: 1;
}

.owner-risk-grid b {
  color: #14202a;
}

.owner-risk-grid small,
.owner-rank-row small {
  color: #667985;
}

.owner-rank-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(17, 27, 35, 0.08);
}

.owner-rank-row:last-child {
  border-bottom: 0;
}

.owner-rank-row i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #fff;
  background: #111f27;
  font-style: normal;
  font-weight: 800;
}

.owner-rank-row b,
.owner-rank-row small {
  display: block;
}

.owner-rank-row b {
  color: #14202a;
}

.owner-rank-row strong {
  color: #0f6f78;
}

.owner-activity-card {
  background:
    linear-gradient(135deg, rgba(224, 179, 109, 0.08), transparent 42%),
    #fff;
}

.owner-activity-list {
  display: grid;
  gap: 6px;
}

.owner-activity-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 9px;
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(17, 27, 35, 0.08);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.owner-activity-row:last-child {
  border-bottom: 0;
}

.owner-activity-row i,
.audit-level {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 999px;
  background: #0f6f78;
  box-shadow: 0 0 0 4px rgba(15, 111, 120, 0.12);
}

.owner-activity-row i.warn,
.audit-level.warn,
.audit-level.danger {
  background: #c9822b;
  box-shadow: 0 0 0 4px rgba(201, 130, 43, 0.14);
}

.owner-activity-row i.success,
.audit-level.success {
  background: #25855a;
  box-shadow: 0 0 0 4px rgba(37, 133, 90, 0.13);
}

.owner-activity-row b,
.owner-activity-row small {
  grid-column: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-activity-row b {
  color: #14202a;
  font-size: 14px;
}

.owner-activity-row small {
  color: #667985;
  font-size: 12px;
}

.audit-board {
  display: grid;
  gap: 16px;
}

.audit-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(17, 27, 35, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(224, 179, 109, 0.13), transparent 38%),
    #fff;
  box-shadow: 0 18px 46px rgba(17, 27, 35, 0.07);
}

.audit-hero span:first-child {
  color: #0f6f78;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audit-hero h3 {
  margin: 6px 0;
  color: #101b22;
  font-size: 28px;
}

.audit-hero p {
  margin: 0;
  color: #667985;
  line-height: 1.7;
}

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

.audit-summary span {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(17, 27, 35, 0.08);
  border-radius: 8px;
  background: #f8fbfb;
  color: #667985;
  font-size: 13px;
}

.audit-summary b {
  color: #101b22;
  font-size: 26px;
  line-height: 1;
}

.audit-table-card {
  overflow: auto;
  border: 1px solid rgba(17, 27, 35, 0.09);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(17, 27, 35, 0.06);
}

.audit-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.audit-table th,
.audit-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(17, 27, 35, 0.08);
  color: #33454f;
  text-align: left;
  vertical-align: top;
}

.audit-table th {
  color: #667985;
  background: #f8fbfb;
  font-size: 12px;
  font-weight: 900;
}

.audit-table td b,
.audit-table td span {
  display: block;
}

.audit-table td b {
  color: #14202a;
}

.audit-table td span {
  margin-top: 4px;
  color: #7b8a92;
  font-size: 12px;
}

.audit-table td:nth-child(3) {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 900px) {
  .delivery-flow,
  .flow-track,
  .flow-ledger,
  .flow-summary-grid {
    grid-template-columns: 1fr;
  }

  .delivery-flow::before,
  .flow-track::before,
  .flow-card::after {
    display: none;
  }

  .flow-track {
    padding-left: 0;
  }

  .owner-pipeline-track,
  .owner-intel-grid,
  .audit-hero,
  .audit-summary {
    grid-template-columns: 1fr;
  }

  .owner-pipeline-step::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-copy h1 {
    max-width: min(100%, 360px);
    font-size: 36px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .flow-summary h3 {
    font-size: 24px;
  }
}

/* Interactive robot hero background */
.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 24%, rgba(15, 111, 120, 0.38), transparent 30%),
    radial-gradient(circle at 88% 76%, rgba(224, 179, 109, 0.24), transparent 26%),
    linear-gradient(112deg, #071116 0%, #0b1a22 46%, #101820 100%);
  cursor: crosshair;
}

#view-home .hero button,
#view-home .hero input {
  cursor: pointer;
}

.hero-motion-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 1;
}

.hero::after {
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  background:
    linear-gradient(90deg, rgba(185, 226, 228, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(185, 226, 228, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 66% 38%, rgba(230, 188, 116, 0.16), transparent 34%),
    linear-gradient(90deg, rgba(4, 10, 14, 0.72), rgba(4, 10, 14, 0.42) 48%, rgba(4, 10, 14, 0.14));
  background-size: 46px 46px, 46px 46px, auto, auto;
  mask-image: none;
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.hero::before {
  z-index: 3;
  pointer-events: none;
}

.hero.is-robot-active::after {
  opacity: 0.68;
  filter: saturate(1.18);
}

.hero.is-robot-zone {
  cursor: grab;
}

.hero.is-robot-dragging {
  cursor: grabbing;
}

.hero.is-robot-dragging::after {
  opacity: 0.78;
  filter: saturate(1.3) brightness(1.08);
}

.hero-copy,
.operations-panel {
  position: relative;
  z-index: 2;
}

.hero .operations-panel {
  align-self: end;
  width: min(100%, 470px);
  margin-left: auto;
  margin-bottom: clamp(10px, 2vw, 24px);
}

.hero .order-snapshot {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 14px 16px 0;
  overflow: hidden;
  border: 1px solid rgba(191, 233, 229, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.hero .order-snapshot div {
  min-height: 68px;
  padding: 12px 10px;
}

.hero .order-snapshot span {
  color: #9fb4bb;
}

.hero .order-snapshot b {
  margin-top: 8px;
  color: #fff;
  font-size: 18px;
}

.hero .flow-ledger {
  display: none;
}

.hero .panel-head {
  padding: 14px 16px;
}

.hero .quick-check {
  grid-template-columns: 1fr 1fr;
  margin: 14px 16px;
  padding: 16px;
  border: 1px solid rgba(191, 233, 229, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(191, 233, 229, 0.12), transparent 48%),
    rgba(255, 255, 255, 0.06);
}

.hero .quick-check div {
  grid-column: 1 / -1;
}

.hero .quick-check span {
  display: block;
  color: #a9bdc3;
}

.hero .quick-check button,
.hero .quick-check-result {
  grid-column: 1 / -1;
}

.hero .quick-check button {
  min-height: 42px;
}

.hero .delivery-flow {
  margin: 0 16px 16px;
  padding: 12px;
  grid-template-columns: 1fr;
  gap: 0;
}

.hero .delivery-flow::before,
.hero .flow-track::before,
.hero .flow-card::after,
.hero .flow-summary p,
.hero .flow-summary-grid {
  display: none;
}

.hero .flow-track {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-left: 0;
  gap: 8px;
}

.hero .flow-card {
  min-height: 74px;
  padding: 10px 8px;
  text-align: center;
}

.hero .flow-card span {
  display: none;
}

@media (max-width: 900px) {
  .hero-motion-backdrop {
    opacity: 0.58;
  }

  .hero .operations-panel {
    width: 100%;
  }

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

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

@media (max-width: 640px) {
  .hero {
    padding-inline: 18px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy p {
    max-width: 100%;
    font-size: 16px;
  }

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

  .hero-actions button {
    width: 100%;
    min-width: 0;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .hero-motion-backdrop {
    opacity: 0.42;
  }

  .client-login-strip,
  .client-auth-card {
    grid-template-columns: 1fr;
  }

  .client-profile-card {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Precision studio hero theme */
#view-home .hero {
  --hero-x: 0;
  --hero-y: 0;
  --hero-active: 0;
  grid-template-columns: minmax(380px, 0.88fr) minmax(330px, 0.72fr) minmax(330px, 0.58fr);
  gap: clamp(24px, 3.2vw, 58px);
  min-height: calc(100vh - 72px);
  padding-block: clamp(70px, 8vw, 112px) clamp(44px, 6vw, 76px);
  color: #12222b;
  background:
    linear-gradient(115deg, rgba(247, 250, 250, 0.98) 0%, rgba(247, 250, 250, 0.94) 44%, rgba(235, 242, 242, 0.76) 100%),
    linear-gradient(90deg, rgba(15, 111, 120, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(15, 111, 120, 0.06) 1px, transparent 1px),
    #f6f8f8;
  background-size: auto, 42px 42px, 42px 42px, auto;
  cursor: default;
}

#view-home .hero-motion-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.74;
  pointer-events: none;
  mix-blend-mode: multiply;
}

#view-home .hero-field-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

#view-home .field-panel {
  position: absolute;
  border: 1px solid rgba(15, 111, 120, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.08)),
    repeating-linear-gradient(90deg, rgba(15, 111, 120, 0.04) 0 1px, transparent 1px 18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.64),
    0 24px 80px rgba(15, 32, 42, 0.06);
  backdrop-filter: blur(2px);
}

#view-home .field-panel-top {
  left: 34%;
  top: 8%;
  width: min(38vw, 610px);
  height: 138px;
  padding: 22px 26px;
}

#view-home .field-panel-top::before,
#view-home .field-panel-right::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-top: 1px solid rgba(15, 111, 120, 0.15);
  border-left: 1px solid rgba(15, 111, 120, 0.1);
}

#view-home .field-panel span {
  display: block;
  color: rgba(15, 111, 120, 0.54);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

#view-home .field-panel b {
  position: absolute;
  left: 26px;
  bottom: 22px;
  color: rgba(19, 47, 58, 0.42);
  font-size: clamp(18px, 1.4vw, 24px);
  letter-spacing: 0;
}

#view-home .field-panel-right {
  right: 1.2%;
  top: 4%;
  width: min(31vw, 570px);
  height: 330px;
}

#view-home .field-panel-right span {
  position: absolute;
  left: 24px;
  top: 22px;
}

#view-home .field-project-list {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
  display: grid;
  gap: 12px;
}

#view-home .field-project-list b {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  padding: 0 14px 0 18px;
  border: 1px solid rgba(15, 111, 120, 0.12);
  border-radius: 8px;
  color: rgba(19, 47, 58, 0.52);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.12)),
    linear-gradient(90deg, rgba(15, 111, 120, 0.08), transparent 46%);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

#view-home .field-project-list b::after {
  content: "";
  width: 46%;
  height: 1px;
  background: linear-gradient(90deg, rgba(15, 111, 120, 0.24), transparent);
}

#view-home .field-rail {
  position: absolute;
  left: 41%;
  top: 37%;
  width: 118px;
  height: 300px;
  border-left: 1px solid rgba(15, 111, 120, 0.16);
  border-right: 1px solid rgba(15, 111, 120, 0.1);
  background:
    linear-gradient(180deg, rgba(15, 111, 120, 0.08), transparent 42%, rgba(201, 130, 43, 0.07)),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(15, 111, 120, 0.05) 18px 19px);
}

#view-home .field-rail span {
  position: absolute;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(15, 111, 120, 0.62);
  box-shadow: 0 0 18px rgba(15, 111, 120, 0.36);
  transform: translateX(-50%);
}

#view-home .field-rail span:nth-child(1) {
  top: 16%;
}

#view-home .field-rail span:nth-child(2) {
  top: 48%;
  background: rgba(201, 130, 43, 0.62);
}

#view-home .field-rail span:nth-child(3) {
  top: 78%;
}

#view-home .field-timeline {
  position: absolute;
  left: 42%;
  right: 23%;
  bottom: 8%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 111, 120, 0.18);
}

#view-home .field-timeline span {
  position: relative;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 111, 120, 0.12);
  border-radius: 8px;
  color: rgba(19, 47, 58, 0.52);
  background: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

#view-home .field-timeline span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -23px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(15, 111, 120, 0.72);
  box-shadow: 0 0 16px rgba(15, 111, 120, 0.38);
  transform: translateX(-50%);
}

#view-home .hero::after {
  z-index: 0;
  opacity: 1;
  background:
    radial-gradient(circle at 76% 30%, rgba(15, 111, 120, 0.12), transparent 32%),
    radial-gradient(circle at 86% 68%, rgba(201, 130, 43, 0.1), transparent 28%),
    linear-gradient(126deg, transparent 0 34%, rgba(15, 111, 120, 0.08) 34% 34.5%, transparent 34.5% 56%, rgba(20, 32, 42, 0.07) 56% 56.4%, transparent 56.4%),
    repeating-linear-gradient(135deg, rgba(20, 32, 42, 0.05) 0 1px, transparent 1px 18px);
  background-size: auto, auto, auto, 44px 44px;
  mask-image: none;
  animation: blueprintDrift 18s linear infinite;
}

#view-home .hero::before {
  left: auto;
  right: clamp(120px, 12vw, 260px);
  top: clamp(74px, 9vw, 128px);
  bottom: auto;
  width: min(46vw, 680px);
  height: min(46vw, 680px);
  border: 1px solid rgba(15, 111, 120, 0.16);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(15, 111, 120, 0.18) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49.8%, rgba(15, 111, 120, 0.14) 50%, transparent 50.2%),
    radial-gradient(circle, transparent 0 34%, rgba(15, 111, 120, 0.12) 34.2% 34.7%, transparent 35% 58%, rgba(201, 130, 43, 0.16) 58.2% 58.7%, transparent 59%);
  opacity: 0.42;
}

#view-home .hero-copy,
#view-home .operations-panel {
  position: relative;
  z-index: 3;
}

#view-home .hero-copy {
  grid-column: 1;
  align-self: center;
  max-width: 560px;
}

#view-home .hero-character {
  position: relative;
  grid-column: 2;
  justify-self: center;
  align-self: center;
  right: auto;
  top: auto;
  z-index: 2;
  width: min(100%, 470px);
  min-width: 0;
  pointer-events: none;
  opacity: 0.96;
  transform:
    perspective(920px)
    rotateX(calc(var(--hero-y) * -4deg))
    rotateY(calc(var(--hero-x) * 6deg))
    translate3d(calc(var(--hero-x) * 18px), calc(var(--hero-y) * 12px), 0);
  transform-style: preserve-3d;
  transition: transform 90ms linear;
}

#view-home .hero-holo-ring {
  position: absolute;
  inset: 3% -1% 0 -1%;
  border: 1px solid rgba(15, 111, 120, 0.18);
  border-radius: 50%;
  background:
    conic-gradient(from calc(var(--hero-x) * 44deg), transparent 0 13%, rgba(15, 111, 120, 0.22) 14% 16%, transparent 17% 46%, rgba(201, 130, 43, 0.2) 47% 50%, transparent 51% 78%, rgba(15, 111, 120, 0.18) 79% 81%, transparent 82%),
    radial-gradient(circle at calc(50% + var(--hero-x) * 12%) calc(42% + var(--hero-y) * 12%), rgba(15, 111, 120, 0.16), transparent 45%);
  filter: blur(0.15px) drop-shadow(0 24px 40px rgba(20, 32, 42, 0.12));
  opacity: calc(0.62 + var(--hero-active) * 0.28);
  transform: translateZ(-34px) rotate(calc(var(--hero-x) * 10deg));
  animation: heroHoloBreath 5.8s ease-in-out infinite;
}

#view-home .hero-robot-stage {
  display: block;
  width: 100%;
  aspect-ratio: 1.22;
  height: auto;
  border-radius: 34px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.38), transparent 28% 62%, rgba(15, 111, 120, 0.08)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.54), rgba(220, 238, 236, 0.24)),
    radial-gradient(circle at 66% 30%, rgba(15, 111, 120, 0.16), transparent 34%),
    radial-gradient(circle at 32% 72%, rgba(201, 130, 43, 0.12), transparent 28%);
  box-shadow:
    inset 0 0 0 1px rgba(15, 111, 120, 0.12),
    inset 0 24px 80px rgba(255, 255, 255, 0.52),
    0 30px 50px rgba(20, 32, 42, 0.16);
  filter: drop-shadow(0 30px 50px rgba(20, 32, 42, 0.16));
  opacity: 0.78;
}

#view-home .hero-robot-figure {
  position: absolute;
  left: 50%;
  top: 55%;
  width: 37%;
  aspect-ratio: 0.72;
  transform:
    translate(-50%, -50%)
    translate(calc(var(--hero-x) * 18px), calc(var(--hero-y) * 12px));
  transform-style: preserve-3d;
  filter:
    drop-shadow(0 32px 28px rgba(16, 36, 44, 0.22))
    drop-shadow(0 0 28px rgba(15, 111, 120, calc(0.14 + var(--hero-active) * 0.24)));
}

#view-home .robot-head {
  position: absolute;
  z-index: 5;
  left: 16%;
  top: 4%;
  width: 68%;
  height: 26%;
  border: 1px solid rgba(15, 111, 120, 0.38);
  border-radius: 28% 28% 36% 36%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(197, 226, 225, 0.78) 58%, rgba(106, 164, 166, 0.44)),
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.94), transparent 28%);
  box-shadow:
    inset 0 -18px 28px rgba(15, 111, 120, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 20px 34px rgba(16, 36, 44, 0.18);
  transform:
    rotate(calc(var(--hero-x) * 8deg))
    translateY(calc(var(--hero-y) * 6px));
}

#view-home .robot-head::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 32%;
  height: 35%;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(18, 36, 44, 0.96), rgba(31, 62, 71, 0.96)),
    radial-gradient(circle at 50% 50%, rgba(111, 242, 238, 0.16), transparent 64%);
  box-shadow:
    inset 0 0 18px rgba(4, 13, 18, 0.74),
    0 0 18px rgba(15, 111, 120, calc(0.12 + var(--hero-active) * 0.18));
}

#view-home .robot-ear {
  position: absolute;
  top: 34%;
  width: 14%;
  height: 26%;
  border-radius: 999px;
  background: linear-gradient(180deg, #eaf4f3, #75a8aa);
  border: 1px solid rgba(15, 111, 120, 0.32);
  box-shadow: inset 0 -8px 12px rgba(15, 111, 120, 0.12);
}

#view-home .robot-ear-left {
  left: -9%;
}

#view-home .robot-ear-right {
  right: -9%;
}

#view-home .robot-eye {
  position: absolute;
  z-index: 1;
  top: 43%;
  width: 10%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #6ff2ee;
  box-shadow:
    0 0 14px rgba(111, 242, 238, calc(0.62 + var(--hero-active) * 0.36)),
    0 0 30px rgba(111, 242, 238, calc(0.18 + var(--hero-active) * 0.22));
  transform: translate(calc(var(--hero-x) * 8px), calc(var(--hero-y) * 5px));
  animation: robotEyePulse 2.4s ease-in-out infinite;
}

#view-home .robot-eye:first-child {
  left: 34%;
}

#view-home .robot-eye:nth-child(2) {
  right: 34%;
}

#view-home .robot-head i {
  position: absolute;
  left: 50%;
  top: -22%;
  width: 3px;
  height: 24%;
  border-radius: 999px;
  background: #0f6f78;
  transform: translateX(-50%);
}

#view-home .robot-head i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c9822b;
  box-shadow: 0 0 16px rgba(201, 130, 43, 0.58);
  transform: translateX(-50%);
}

#view-home .robot-neck {
  position: absolute;
  z-index: 3;
  left: 43%;
  top: 27%;
  width: 14%;
  height: 9%;
  border-radius: 999px;
  background: linear-gradient(90deg, #12333a, #6ca6a6, #12333a);
}

#view-home .robot-body {
  position: absolute;
  z-index: 4;
  left: 16%;
  top: 35%;
  width: 68%;
  height: 35%;
  border: 1px solid rgba(15, 111, 120, 0.34);
  border-radius: 34% 34% 24% 24%;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(196, 228, 227, 0.7) 58%, rgba(90, 150, 154, 0.36)),
    linear-gradient(90deg, rgba(15, 111, 120, 0.08), transparent);
  box-shadow:
    inset 0 -20px 32px rgba(15, 111, 120, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 20px 34px rgba(16, 36, 44, 0.14);
}

#view-home .robot-chest-ring {
  position: absolute;
  left: 50%;
  top: 19%;
  width: 45%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(15, 111, 120, 0.18);
  background:
    conic-gradient(from calc(var(--hero-x) * 60deg), transparent 0 18%, rgba(15, 111, 120, 0.48) 19% 27%, transparent 28% 62%, rgba(201, 130, 43, 0.42) 63% 72%, transparent 73%),
    rgba(255, 255, 255, 0.38);
  transform: translateX(-50%) rotate(calc(var(--hero-x) * 24deg));
  filter: drop-shadow(0 0 14px rgba(15, 111, 120, calc(0.16 + var(--hero-active) * 0.22)));
}

#view-home .robot-core {
  position: absolute;
  left: 50%;
  top: 24%;
  width: 32%;
  aspect-ratio: 1;
  border: 2px solid rgba(15, 111, 120, 0.45);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(111, 242, 238, 0.92) 0 22%, rgba(15, 111, 120, 0.26) 24% 52%, transparent 54%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 0 24px rgba(15, 111, 120, calc(0.24 + var(--hero-active) * 0.28));
  transform: translateX(-50%) rotate(calc(var(--hero-x) * 30deg));
}

#view-home .robot-body span {
  position: absolute;
  bottom: 18%;
  width: 18%;
  height: 5px;
  border-radius: 999px;
  background: rgba(15, 111, 120, 0.38);
}

#view-home .robot-body span:nth-child(2) {
  left: 20%;
}

#view-home .robot-body span:nth-child(3) {
  right: 20%;
}

#view-home .robot-arm {
  position: absolute;
  z-index: 2;
  top: 42%;
  width: 16%;
  height: 33%;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.54), transparent 38%),
    linear-gradient(180deg, #e8f2f1, #7aabad 58%, #12333a);
  transform-origin: 50% 12%;
  box-shadow: 0 16px 24px rgba(16, 36, 44, 0.14);
}

#view-home .robot-shoulder {
  position: absolute;
  z-index: 5;
  top: 42%;
  width: 16%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f8fbfb;
  border: 5px solid #0f6f78;
  box-shadow:
    inset 0 0 12px rgba(15, 111, 120, 0.12),
    0 12px 18px rgba(16, 36, 44, 0.12);
}

#view-home .robot-shoulder-left {
  left: 7%;
}

#view-home .robot-shoulder-right {
  right: 7%;
}

#view-home .robot-arm-left {
  left: 3%;
  transform: rotate(calc(-22deg + var(--hero-y) * -18deg));
}

#view-home .robot-arm-right {
  right: 3%;
  transform: rotate(calc(22deg + var(--hero-y) * 18deg));
}

#view-home .robot-arm i {
  position: absolute;
  left: 50%;
  bottom: -13%;
  width: 54%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f8fbfb;
  border: 5px solid #0f6f78;
  transform: translateX(-50%);
}

#view-home .robot-base {
  position: absolute;
  z-index: 3;
  left: 22%;
  bottom: 8%;
  width: 56%;
  height: 12%;
  border-radius: 50% 50% 999px 999px;
  background: linear-gradient(180deg, #28454d, #10242c);
  box-shadow: 0 18px 24px rgba(16, 36, 44, 0.18);
}

#view-home .robot-shadow-pad {
  position: absolute;
  z-index: 0;
  left: 2%;
  right: 2%;
  bottom: 0;
  height: 13%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(15, 111, 120, 0.22), rgba(15, 111, 120, 0.08) 38%, transparent 68%);
  transform: translateY(22%);
  filter: blur(1px);
}

#view-home .robot-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(15, 111, 120, 0.32);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: robotOrbitSpin 8s linear infinite;
}

#view-home .robot-orbit::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 48%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9822b;
  box-shadow: 0 0 16px rgba(201, 130, 43, 0.58);
}

#view-home .robot-scanline {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 21%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111, 242, 238, 0.78), transparent);
  box-shadow: 0 0 12px rgba(111, 242, 238, 0.52);
  animation: robotScanMove 3.6s ease-in-out infinite;
}

#view-home .orbit-a {
  width: 104%;
  height: 70%;
}

#view-home .orbit-b {
  width: 82%;
  height: 108%;
  animation-duration: 11s;
  animation-direction: reverse;
}

#view-home .hero-brand-emblem {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 48%;
  display: grid;
  width: 82%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(15, 111, 120, 0.22);
  border-radius: 32%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(200, 229, 228, 0.62)),
    radial-gradient(circle at 50% 38%, rgba(111, 242, 238, 0.18), transparent 38%),
    linear-gradient(135deg, rgba(20, 53, 60, 0.08), rgba(201, 130, 43, 0.12));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -28px 46px rgba(15, 111, 120, 0.12),
    0 26px 44px rgba(16, 36, 44, 0.18),
    0 0 36px rgba(15, 111, 120, calc(0.12 + var(--hero-active) * 0.2));
  transform:
    translate(-50%, -50%)
    rotateX(calc(var(--hero-y) * -5deg))
    rotateY(calc(var(--hero-x) * 7deg));
  overflow: hidden;
}

#view-home .hero-brand-glass {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.86) 0 18%, transparent 19% 58%, rgba(255, 255, 255, 0.34) 59% 66%, transparent 67%),
    repeating-linear-gradient(90deg, rgba(15, 111, 120, 0.05) 0 1px, transparent 1px 20px);
  opacity: 0.78;
}

#view-home .hero-brand-emblem span {
  position: relative;
  z-index: 3;
  margin-top: 8%;
  color: #10242c;
  font-size: clamp(50px, 5.6vw, 84px);
  font-weight: 1000;
  letter-spacing: 0.02em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8),
    0 0 22px rgba(111, 242, 238, calc(0.16 + var(--hero-active) * 0.18));
}

#view-home .hero-brand-emblem small {
  position: relative;
  z-index: 3;
  margin-top: -18%;
  padding: 5px 10px;
  border: 1px solid rgba(15, 111, 120, 0.18);
  border-radius: 999px;
  color: #12333a;
  background: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

#view-home .brand-heart {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 36%;
  width: 34%;
  aspect-ratio: 1;
  transform:
    translate(-50%, -50%)
    rotate(-45deg)
    scale(calc(1 + var(--hero-active) * 0.04));
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.92), transparent 22%),
    linear-gradient(135deg, #c9822b, #0f6f78 58%, #14353c);
  border-radius: 18% 18% 18% 8%;
  box-shadow:
    0 0 26px rgba(201, 130, 43, calc(0.22 + var(--hero-active) * 0.2)),
    0 0 42px rgba(15, 111, 120, calc(0.18 + var(--hero-active) * 0.24));
  animation: brandHeartPulse 2.6s ease-in-out infinite;
}

#view-home .brand-heart::before,
#view-home .brand-heart::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
}

#view-home .brand-heart::before {
  top: -50%;
  left: 0;
}

#view-home .brand-heart::after {
  top: 0;
  left: 50%;
}

#view-home .brand-heart i {
  position: absolute;
  z-index: 2;
  inset: 24%;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 30%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.5) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(255, 255, 255, 0.42) 49% 51%, transparent 52%);
}

#view-home .heart-circuit {
  position: absolute;
  z-index: 4;
  width: 36%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 111, 120, 0.62), rgba(201, 130, 43, 0.72), transparent);
  box-shadow: 0 0 12px rgba(15, 111, 120, 0.38);
}

#view-home .heart-circuit::before,
#view-home .heart-circuit::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9822b;
  box-shadow: 0 0 14px rgba(201, 130, 43, 0.62);
  transform: translateY(-50%);
}

#view-home .heart-circuit::before {
  left: 18%;
}

#view-home .heart-circuit::after {
  right: 12%;
}

#view-home .heart-circuit-a {
  left: 2%;
  top: 42%;
  transform: rotate(18deg);
}

#view-home .heart-circuit-b {
  right: 2%;
  top: 59%;
  transform: rotate(-20deg);
}

#view-home .brand-mech-arm {
  position: absolute;
  z-index: 5;
  top: 28%;
  width: 14%;
  height: 44%;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.62), transparent 42%),
    linear-gradient(180deg, #e8f2f1, #73a8aa 58%, #12333a);
  transform-origin: 50% 82%;
  box-shadow: 0 18px 24px rgba(16, 36, 44, 0.14);
}

#view-home .brand-mech-arm-left {
  left: -2%;
  transform: rotate(calc(-42deg + var(--hero-y) * -16deg));
}

#view-home .brand-mech-arm-right {
  right: -2%;
  transform: rotate(calc(42deg + var(--hero-y) * 16deg));
}

#view-home .brand-mech-arm i {
  position: absolute;
  left: 50%;
  top: -9%;
  width: 64%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 5px solid #0f6f78;
  background: #f8fbfb;
  transform: translateX(-50%);
}

#view-home .brand-node {
  position: absolute;
  z-index: 7;
  width: 8%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f8fbfb;
  border: 4px solid #0f6f78;
  box-shadow: 0 0 18px rgba(15, 111, 120, 0.26);
}

#view-home .brand-node-a {
  left: 9%;
  top: 34%;
}

#view-home .brand-node-b {
  right: 8%;
  top: 50%;
  border-color: #c9822b;
}

#view-home .brand-node-c {
  left: 45%;
  bottom: 4%;
}

#view-home .brand-shadow-pad {
  position: absolute;
  z-index: 0;
  left: 2%;
  right: 2%;
  bottom: 0;
  height: 16%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(15, 111, 120, 0.24), rgba(15, 111, 120, 0.08) 40%, transparent 70%);
  filter: blur(1px);
}

#view-home .hero-robot-figure {
  top: 50%;
  width: 46%;
  aspect-ratio: 1;
}

#view-home .hero-brand-emblem {
  width: 88%;
  border-radius: 30px;
  background:
    radial-gradient(circle at 52% 38%, rgba(255, 255, 255, 0.96), transparent 18%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(228, 241, 240, 0.72) 46%, rgba(128, 174, 176, 0.28)),
    linear-gradient(135deg, rgba(20, 53, 60, 0.14), rgba(201, 130, 43, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -34px 70px rgba(15, 111, 120, 0.12),
    0 38px 70px rgba(16, 36, 44, 0.2),
    0 0 54px rgba(15, 111, 120, calc(0.13 + var(--hero-active) * 0.2));
}

#view-home .hero-brand-emblem::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(15, 111, 120, 0.16);
  border-radius: 23px;
  background:
    conic-gradient(from calc(var(--hero-x) * 70deg), transparent 0 17%, rgba(15, 111, 120, 0.16) 18% 20%, transparent 21% 46%, rgba(201, 130, 43, 0.14) 47% 50%, transparent 51% 100%),
    linear-gradient(90deg, transparent 49%, rgba(15, 111, 120, 0.08) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(15, 111, 120, 0.06) 50%, transparent 51%);
}

#view-home .hero-brand-emblem::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.92) 0 16%, transparent 17% 58%, rgba(255, 255, 255, 0.32) 59% 66%, transparent 67%),
    radial-gradient(circle at 74% 27%, rgba(201, 130, 43, 0.1), transparent 22%);
  opacity: 0.76;
}

#view-home .hero-brand-glass {
  opacity: 0.28;
}

#view-home .hero-brand-emblem span {
  margin-top: 0;
  color: #10242c;
  font-size: clamp(66px, 7.2vw, 112px);
  letter-spacing: -0.035em;
  background: linear-gradient(135deg, #10242c, #0f6f78 62%, #c9822b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#view-home .hero-brand-emblem small {
  margin-top: -27%;
  padding: 7px 14px;
  border-color: rgba(15, 111, 120, 0.1);
  background: rgba(255, 255, 255, 0.66);
  color: #14353c;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 28px rgba(16, 36, 44, 0.08);
}

#view-home .brand-heart {
  left: 72%;
  top: 29%;
  z-index: 5;
  width: 16%;
  opacity: 0.96;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.98), transparent 24%),
    linear-gradient(135deg, #e5b05b, #0f6f78 60%, #14353c);
  box-shadow:
    0 0 18px rgba(201, 130, 43, calc(0.25 + var(--hero-active) * 0.2)),
    0 0 34px rgba(15, 111, 120, calc(0.18 + var(--hero-active) * 0.2));
}

#view-home .brand-heart i {
  inset: 34%;
  opacity: 0.62;
}

#view-home .brand-mech-arm,
#view-home .brand-node,
#view-home .heart-circuit {
  opacity: 0;
}

#view-home .heart-circuit-a,
#view-home .heart-circuit-b {
  opacity: 0.46;
  width: 28%;
}

#view-home .heart-circuit-a {
  left: 15%;
  top: 30%;
  transform: rotate(0deg);
}

#view-home .heart-circuit-b {
  right: 14%;
  top: 72%;
  transform: rotate(0deg);
}

#view-home .brand-shadow-pad {
  left: 8%;
  right: 8%;
  bottom: -3%;
  height: 18%;
  background: radial-gradient(ellipse at center, rgba(15, 111, 120, 0.18), rgba(15, 111, 120, 0.06) 42%, transparent 70%);
}

#view-home .robot-orbit {
  border-color: rgba(15, 111, 120, 0.2);
}

#view-home .robot-orbit::after {
  width: 6px;
  height: 6px;
  background: #0f6f78;
  box-shadow: 0 0 16px rgba(15, 111, 120, 0.42);
}

#view-home .hero-character {
  filter:
    drop-shadow(0 32px 52px rgba(16, 36, 44, 0.16))
    drop-shadow(0 0 40px rgba(15, 111, 120, calc(0.1 + var(--hero-active) * 0.18)));
}

#view-home .hero-holo-ring {
  border-color: rgba(15, 111, 120, 0.18);
  background:
    conic-gradient(from calc(var(--hero-x) * 44deg), transparent 0 12%, rgba(15, 111, 120, 0.24) 13% 16%, transparent 17% 45%, rgba(201, 130, 43, 0.18) 46% 50%, transparent 51% 78%, rgba(15, 111, 120, 0.18) 79% 82%, transparent 83%),
    radial-gradient(circle at calc(50% + var(--hero-x) * 12%) calc(42% + var(--hero-y) * 12%), rgba(15, 111, 120, 0.16), transparent 45%);
}

#view-home .hero-robot-stage {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.38), transparent 28% 62%, rgba(15, 111, 120, 0.08)),
    linear-gradient(145deg, rgba(248, 252, 252, 0.54), rgba(225, 239, 238, 0.24)),
    radial-gradient(circle at 66% 30%, rgba(15, 111, 120, 0.16), transparent 34%),
    radial-gradient(circle at 32% 72%, rgba(201, 130, 43, 0.1), transparent 28%);
}

#view-home .hero-robot-figure::before,
#view-home .hero-robot-figure::after {
  content: "";
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 50%;
  width: 118%;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

#view-home .hero-robot-figure::before {
  background:
    radial-gradient(circle at 50% 3%, rgba(15, 111, 120, 0.86) 0 3px, transparent 4px),
    radial-gradient(circle at 85% 22%, rgba(201, 130, 43, 0.72) 0 2px, transparent 3px),
    radial-gradient(circle at 96% 58%, rgba(15, 111, 120, 0.72) 0 3px, transparent 4px),
    radial-gradient(circle at 68% 94%, rgba(110, 171, 171, 0.76) 0 2px, transparent 3px),
    radial-gradient(circle at 22% 88%, rgba(201, 130, 43, 0.64) 0 2px, transparent 3px),
    radial-gradient(circle at 4% 44%, rgba(15, 111, 120, 0.68) 0 3px, transparent 4px);
  filter: drop-shadow(0 0 12px rgba(15, 111, 120, 0.48));
  animation: brandParticleOrbit 8.5s linear infinite;
}

#view-home .hero-robot-figure::after {
  width: 92%;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 130, 43, 0.72) 0 2px, transparent 3px),
    radial-gradient(circle at 100% 50%, rgba(15, 111, 120, 0.68) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 100%, rgba(110, 171, 171, 0.7) 0 2px, transparent 3px),
    radial-gradient(circle at 0% 50%, rgba(201, 130, 43, 0.62) 0 2px, transparent 3px);
  filter: drop-shadow(0 0 10px rgba(15, 111, 120, 0.38));
  animation: brandParticleOrbit 5.8s linear infinite reverse;
}

#view-home .hero-brand-emblem {
  background:
    radial-gradient(circle at 52% 38%, rgba(255, 255, 255, 0.96), transparent 18%),
    linear-gradient(145deg, rgba(248, 252, 252, 0.92), rgba(225, 239, 238, 0.72) 46%, rgba(90, 148, 150, 0.24)),
    linear-gradient(135deg, rgba(16, 36, 44, 0.14), rgba(201, 130, 43, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -34px 70px rgba(15, 111, 120, 0.12),
    0 38px 70px rgba(16, 36, 44, 0.2),
    0 0 56px rgba(15, 111, 120, calc(0.14 + var(--hero-active) * 0.2));
}

#view-home .hero-brand-emblem::before {
  border-color: rgba(15, 111, 120, 0.16);
  background:
    conic-gradient(from calc(var(--hero-x) * 70deg), transparent 0 17%, rgba(15, 111, 120, 0.18) 18% 20%, transparent 21% 46%, rgba(201, 130, 43, 0.14) 47% 50%, transparent 51% 100%),
    linear-gradient(90deg, transparent 49%, rgba(15, 111, 120, 0.07) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(15, 111, 120, 0.05) 50%, transparent 51%);
}

#view-home .hero-brand-emblem span {
  background: linear-gradient(135deg, #10242c, #0f6f78 62%, #c9822b);
  -webkit-background-clip: text;
  background-clip: text;
}

#view-home .brand-heart {
  width: 12%;
  aspect-ratio: 1;
  left: 51%;
  top: 33%;
  opacity: 0.72;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.92), transparent 22%),
    linear-gradient(135deg, rgba(201, 130, 43, 0.86), rgba(15, 111, 120, 0.88) 58%, rgba(16, 36, 44, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 0 12px rgba(201, 130, 43, calc(0.14 + var(--hero-active) * 0.12)),
    0 0 24px rgba(15, 111, 120, calc(0.12 + var(--hero-active) * 0.16));
}

#view-home .brand-heart::before,
#view-home .brand-heart::after {
  border: 1px solid rgba(255, 255, 255, 0.28);
}

#view-home .brand-heart i {
  opacity: 0.54;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
}

@keyframes brandParticleOrbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg) scale(0.98);
    opacity: 0.72;
  }

  50% {
    opacity: 1;
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg) scale(1.02);
    opacity: 0.72;
  }
}

@keyframes railNodeFloat {
  0%,
  100% {
    transform: translate(-50%, -6px);
    opacity: 0.62;
  }

  50% {
    transform: translate(-50%, 8px);
    opacity: 1;
  }
}

#view-home .hero.is-robot-active .hero-robot-stage {
  filter: drop-shadow(0 34px 54px rgba(20, 32, 42, 0.18));
}

#view-home .hero.is-robot-dragging .hero-character {
  transform:
    perspective(900px)
    rotateX(calc(var(--hero-y) * -6deg))
    rotateY(calc(var(--hero-x) * 8deg))
    translate3d(calc(var(--hero-x) * 24px), calc(var(--hero-y) * 16px), 0)
    scale(1.015);
}

#view-home .hero-copy .eyebrow,
#view-home .hero .eyebrow {
  color: var(--accent);
  letter-spacing: 0.08em;
}

#view-home .hero-copy h1 {
  max-width: 600px;
  color: #10222b;
  font-size: clamp(40px, 3.9vw, 58px);
  line-height: 1.1;
}

#view-home .hero-copy p {
  max-width: 560px;
  color: #4c5d66;
  font-size: 18px;
}

#view-home .trial-banner {
  color: #32454e;
  border-color: rgba(15, 111, 120, 0.18);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(20, 32, 42, 0.08);
}

#view-home .hero-scope-strip span {
  border-color: rgba(15, 111, 120, 0.16);
  color: #12333a;
  background: rgba(255, 255, 255, 0.76);
}

#view-home .trial-banner b {
  color: var(--accent-dark);
}

#view-home .trial-banner span,
#view-home .metric-strip span {
  color: #62727b;
}

#view-home .metric-strip div {
  color: #10222b;
  border-color: rgba(15, 111, 120, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 36px rgba(20, 32, 42, 0.08);
}

#view-home .operations-panel {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(82px, 7vw, 118px);
  z-index: 5;
  grid-column: auto;
  align-self: auto;
  width: min(100%, 360px);
  margin: 0;
  transform: none;
  overflow: hidden;
  border: 1px solid rgba(15, 111, 120, 0.14);
  color: #10222b;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(246, 250, 250, 0.58)),
    #fff;
  backdrop-filter: blur(8px) saturate(106%);
  box-shadow: 0 16px 34px rgba(20, 32, 42, 0.08);
}

#view-home .operations-panel .panel-head {
  padding: 22px 22px 16px;
}

#view-home .operations-panel .order-snapshot {
  display: none;
}

#view-home .operations-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15, 111, 120, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(15, 111, 120, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.42;
}

#view-home .panel-head,
#view-home .status-grid div,
#view-home .quick-check,
#view-home .delivery-flow {
  position: relative;
  z-index: 1;
}

#view-home .panel-head {
  border-bottom: 1px solid rgba(15, 111, 120, 0.12);
  background: rgba(255, 255, 255, 0.58);
}

#view-home .panel-head span {
  color: var(--accent);
  font-size: 20px;
}

#view-home .panel-head strong,
#view-home .flow-card span {
  color: #12333a;
  background: linear-gradient(135deg, rgba(15, 111, 120, 0.12), rgba(201, 130, 43, 0.13));
}

#view-home .panel-head strong {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 8px;
  border: 1px solid rgba(15, 111, 120, 0.14);
  border-radius: 4px;
  color: rgba(18, 51, 58, 0.78);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  transform: none;
}
  box-shadow: 0 8px 18px rgba(20, 32, 42, 0.08);
}

#view-home .order-snapshot {
  border-color: rgba(15, 111, 120, 0.12);
  background: rgba(255, 255, 255, 0.54);
}

#view-home .status-grid div {
  background: rgba(255, 255, 255, 0.68);
}

#view-home .order-snapshot span,
#view-home .quick-check span {
  color: #6b7a82;
}

#view-home .order-snapshot b {
  color: #10222b;
}

#view-home .quick-check {
  grid-template-columns: 1fr;
  margin: 18px 22px 8px;
  padding: 24px 22px 18px;
  border-color: rgba(15, 111, 120, 0.14);
  background: rgba(255, 255, 255, 0.58);
}

#view-home .quick-check b {
  color: #10222b;
  font-size: 22px;
}

#view-home .quick-check span {
  display: none;
}

#view-home .quick-check input {
  width: 100%;
  height: 54px;
  border-radius: 8px;
  color: #10222b;
  background: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  font-weight: 800;
}

#view-home .quick-check input::placeholder {
  color: #9aabb2;
}

#view-home .quick-check button {
  width: 100%;
  min-height: 56px;
  border-radius: 8px;
  font-size: 18px;
}

#view-home .delivery-flow {
  display: none;
}

#view-home .flow-card {
  border-color: rgba(15, 111, 120, 0.12);
  background: #fff;
}

#view-home .flow-card small {
  color: var(--gold);
}

@keyframes blueprintDrift {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  to {
    background-position: 0 0, 0 0, 0 0, 88px 88px;
  }
}

@keyframes heroHoloBreath {
  0%,
  100% {
    opacity: 0.58;
  }

  50% {
    opacity: 0.82;
  }
}

@keyframes robotOrbitSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes robotEyePulse {
  0%,
  100% {
    opacity: 0.74;
    transform: translate(calc(var(--hero-x) * 8px), calc(var(--hero-y) * 5px)) scale(0.92);
  }

  50% {
    opacity: 1;
    transform: translate(calc(var(--hero-x) * 8px), calc(var(--hero-y) * 5px)) scale(1.08);
  }
}

@keyframes brandHeartPulse {
  0%,
  100% {
    filter: brightness(1);
  }

  42% {
    filter: brightness(1.16);
  }

  58% {
    filter: brightness(1.04);
  }
}

@keyframes robotScanMove {
  0%,
  100% {
    top: 18%;
    opacity: 0.12;
  }

  45% {
    opacity: 0.78;
  }

  50% {
    top: 68%;
    opacity: 0.56;
  }
}

@media (max-width: 1060px) {
  #view-home .hero {
    grid-template-columns: 1fr;
  }

  #view-home .hero-character {
    position: relative;
    right: auto;
    top: auto;
    order: 2;
    width: min(100%, 560px);
    min-width: 0;
    margin: -10px auto 4px;
  }

  #view-home .operations-panel {
    position: relative;
    right: auto;
    bottom: auto;
    order: 3;
    width: 100%;
    margin: 0;
    transform: none;
  }

  #view-home .home-overview-strip {
    position: static;
    margin: 18px clamp(18px, 4vw, 56px) 0;
  }
}

@media (max-width: 640px) {
  #view-home .hero-copy h1 {
    font-size: 32px;
  }
}

#view-home .home-overview-strip {
  position: absolute;
  left: clamp(18px, 4vw, 56px);
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(18px, 2vw, 32px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 111, 120, 0.14);
  border-radius: 8px;
  background: rgba(15, 111, 120, 0.14);
  box-shadow: 0 26px 70px rgba(16, 36, 44, 0.12);
  z-index: 4;
}

#view-home .home-overview-strip article {
  position: relative;
}

#view-home .home-overview-strip article {
  min-height: 118px;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 249, 0.92)),
    #fff;
}

#view-home .home-overview-strip article::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 16%, rgba(201, 130, 43, 0.14), transparent 18%),
    linear-gradient(135deg, rgba(15, 111, 120, 0.06), transparent 42%);
  opacity: 0.8;
}

#view-home .home-overview-strip article > * {
  position: relative;
  z-index: 1;
}

#view-home .home-overview-strip article.is-dark {
  color: #fff;
  background:
    radial-gradient(circle at 84% 16%, rgba(246, 208, 141, 0.18), transparent 18%),
    linear-gradient(145deg, #10242c, #12333a 56%, #0f6f78);
}

#view-home .home-overview-strip article.is-dark span,
#view-home .home-overview-strip article.is-dark p {
  color: #d6e5e6;
}

#view-home .home-overview-strip article.is-dark b {
  color: #fff;
}

#view-home .home-overview-strip span {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

#view-home .home-overview-strip b {
  display: block;
  margin-bottom: 8px;
  color: #10242c;
  font-size: 18px;
}

#view-home .home-overview-strip p {
  margin: 0;
  color: #60717a;
  font-size: 14px;
  line-height: 1.65;
}

#view-home .home-section {
  padding-top: clamp(62px, 7vw, 98px);
  padding-bottom: clamp(62px, 7vw, 98px);
}

#view-home .home-capability-band {
  order: 5;
  background:
    radial-gradient(circle at 10% 8%, rgba(15, 111, 120, 0.08), transparent 26%),
    linear-gradient(180deg, #f8fbfb 0%, #eef5f5 100%);
}

#view-home .home-resource-highlight {
  order: 4;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  padding: clamp(34px, 5vw, 58px) clamp(18px, 4vw, 56px);
  background:
    radial-gradient(circle at 92% 12%, rgba(201, 130, 43, 0.12), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #edf6f6 100%);
}

#view-home .home-resource-copy {
  display: grid;
  align-content: center;
  padding: clamp(8px, 2vw, 18px) 0;
}

#view-home .home-resource-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4.2vw, 56px);
}

#view-home .home-resource-copy p {
  max-width: 620px;
  color: #58707a;
  font-size: 17px;
  line-height: 1.85;
}

#view-home .home-resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

#view-home .home-resource-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) repeat(2, minmax(190px, 0.8fr));
  gap: 14px;
}

#view-home .home-resource-card {
  display: grid;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid rgba(15, 111, 120, 0.12);
  border-radius: 8px;
  color: #10242c;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(16, 36, 44, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

#view-home .home-resource-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 111, 120, 0.28);
  box-shadow: 0 26px 62px rgba(16, 36, 44, 0.12);
}

#view-home .home-resource-card img {
  width: 100%;
  height: 142px;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid rgba(15, 111, 120, 0.08);
  background: #f5f8f8;
}

#view-home .home-resource-card > div:not(.ppt-thumb),
#view-home .home-resource-main {
  padding: 20px;
}

#view-home .home-resource-card span {
  display: inline-grid;
  width: 46px;
  height: 34px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 6px;
  color: #fff;
  background: #10242c;
  font-weight: 900;
}

#view-home .home-resource-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

#view-home .home-resource-card p {
  color: #60717a;
  line-height: 1.75;
}

#view-home .home-resource-card b {
  align-self: end;
  color: var(--accent);
}

#view-home .home-resource-main {
  min-height: 100%;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(201, 130, 43, 0.18), transparent 38%),
    linear-gradient(145deg, #10242c, #12333a 58%, #0f6f78);
}

#view-home .home-resource-main h3 {
  color: #fff;
  font-size: 30px;
}

#view-home .home-resource-main p {
  color: #d3e2e4;
}

#view-home .home-resource-main b {
  color: #f0c982;
}

#view-home .home-resource-ppt {
  grid-column: span 2;
  grid-template-columns: minmax(230px, 0.86fr) minmax(190px, 1fr);
  align-items: stretch;
}

#view-home .home-resource-ppt .ppt-thumb {
  min-height: 100%;
  border-radius: 0;
}

#view-home .section-heading-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 0.72fr);
  align-items: end;
  max-width: none;
  gap: clamp(24px, 5vw, 72px);
  margin-bottom: 30px;
}

#view-home .section-heading-split h2 {
  margin-bottom: 0;
}

#view-home .section-heading-split > p {
  margin: 0;
  max-width: 620px;
}

#view-home .home-layout-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
}

#view-home .home-lead-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid rgba(15, 111, 120, 0.16);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(201, 130, 43, 0.16), transparent 42%),
    linear-gradient(145deg, #10242c, #12333a 58%, #0f6f78);
  box-shadow: 0 24px 70px rgba(16, 36, 44, 0.16);
}

#view-home .home-lead-card > span {
  color: #cfeeed;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

#view-home .home-lead-card h3 {
  margin: 22px 0 12px;
  color: #fff;
  font-size: 28px;
  line-height: 1.24;
}

#view-home .home-lead-card p {
  color: #c9dadd;
  line-height: 1.85;
}

#view-home .home-lead-card div {
  display: grid;
  gap: 4px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

#view-home .home-lead-card b {
  color: #fff;
  font-size: 30px;
}

#view-home .home-lead-card small {
  color: #c9dadd;
}

#view-home .home-feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#view-home .home-feature-grid article {
  min-height: 206px;
}

#view-home .refined-showcase {
  grid-template-columns: minmax(240px, 0.58fr) minmax(0, 1.42fr);
  margin-top: 18px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 247, 247, 0.92)),
    #fff;
  box-shadow: 0 22px 60px rgba(16, 36, 44, 0.08);
}

#view-home .studio-console-band.home-section {
  order: 6;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f8f8 100%);
}

#view-home .refined-console {
  grid-template-columns: minmax(280px, 0.9fr) repeat(2, minmax(0, 1fr));
  gap: 16px;
}

#view-home .refined-console .console-card {
  min-height: 190px;
  border-color: rgba(15, 111, 120, 0.13);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 250, 0.94));
}

#view-home .refined-console .console-card-large {
  grid-row: span 2;
  color: #fff;
  background:
    radial-gradient(circle at 86% 10%, rgba(201, 130, 43, 0.26), transparent 24%),
    linear-gradient(145deg, #10242c, #12333a 54%, #0f6f78);
}

#view-home .refined-console .console-card-large span,
#view-home .refined-console .console-card-large p {
  color: #d2e2e4;
}

#view-home .refined-console .console-card-large h3 {
  color: #fff;
}

#view-home .refined-console .console-timeline {
  grid-column: span 2;
}

#view-home .platform-proof-band.home-section {
  order: 3;
  background:
    radial-gradient(circle at 90% 12%, rgba(201, 130, 43, 0.12), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f4f8f8 100%);
}

#view-home .platform-proof-band.home-section .section-heading h2 {
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.08;
}

#view-home .compact-proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

#view-home .compact-proof-grid article {
  display: grid;
  grid-template-rows: 154px 1fr;
}

#view-home .compact-proof-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

@media (max-width: 1120px) {
  #view-home .home-overview-strip,
  #view-home .compact-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #view-home .section-heading-split,
  #view-home .home-layout-grid,
  #view-home .refined-showcase,
  #view-home .refined-console,
  #view-home .home-resource-highlight,
  #view-home .home-resource-grid {
    grid-template-columns: 1fr;
  }

  #view-home .refined-console .console-card-large,
  #view-home .refined-console .console-timeline,
  #view-home .home-resource-ppt {
    grid-row: auto;
    grid-column: auto;
  }

  #view-home .home-resource-ppt {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  #view-home .home-overview-strip,
  #view-home .home-feature-grid,
  #view-home .compact-proof-grid {
    grid-template-columns: 1fr;
  }

  #view-home .home-overview-strip {
    display: none;
  }
}

#view-home .platform-proof-band.home-section {
  order: 3;
}

#view-home .home-category-hub {
  order: 4;
  padding: clamp(44px, 6vw, 78px) clamp(18px, 4vw, 56px);
  background:
    radial-gradient(circle at 8% 18%, rgba(15, 111, 120, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fbfb 0%, #eef5f5 100%);
}

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

#view-home .home-category-card {
  position: relative;
  display: grid;
  min-height: 230px;
  align-content: start;
  gap: 15px;
  padding: 22px;
  border: 1px solid rgba(15, 111, 120, 0.13);
  border-radius: 8px;
  color: #10242c;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 250, 0.94));
  text-align: left;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(16, 36, 44, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

#view-home .home-category-card::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 34px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.18;
  transform: skewX(-24deg);
}

#view-home .home-category-card:hover,
#view-home .home-category-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(15, 111, 120, 0.3);
  box-shadow: 0 26px 62px rgba(16, 36, 44, 0.12);
}

#view-home .home-category-card span {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 6px;
  color: #fff;
  background: #10242c;
  font-size: 12px;
  font-weight: 900;
}

#view-home .home-category-card h3 {
  margin: 6px 0 0;
  font-size: 24px;
}

#view-home .home-category-card p {
  margin: 0;
  color: #60717a;
  line-height: 1.72;
}

#view-home .home-category-card.is-featured {
  color: #fff;
  background:
    radial-gradient(circle at 86% 12%, rgba(201, 130, 43, 0.24), transparent 26%),
    linear-gradient(145deg, #10242c, #12333a 58%, #0f6f78);
}

#view-home .home-category-card.is-featured p {
  color: #d2e2e4;
}

#view-home .home-detail-section {
  display: none;
}

#view-home .home-detail-section.is-open {
  display: grid;
}

#view-home .content-band.home-detail-section.is-open {
  display: block;
}

.resource-float-badge {
  position: fixed;
  left: 28px;
  top: 124px;
  z-index: 65;
  display: grid;
  place-items: center;
  gap: 3px;
  width: 156px;
  min-height: 72px;
  padding: 13px 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px 6px 18px 6px;
  color: #fff;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.42), transparent 24%),
    radial-gradient(circle at 86% 78%, rgba(240, 201, 130, 0.54), transparent 28%),
    linear-gradient(135deg, rgba(16, 36, 44, 0.98), rgba(15, 111, 120, 0.96) 56%, rgba(201, 130, 43, 0.92));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 -14px 28px rgba(16, 36, 44, 0.2),
    0 22px 52px rgba(16, 36, 44, 0.2),
    0 0 34px rgba(15, 111, 120, 0.3);
  cursor: pointer;
  overflow: hidden;
  animation: resourceBadgeTravel 50s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

.resource-float-badge::before,
.resource-float-badge::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.resource-float-badge::before {
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px 4px 14px 4px;
}

.resource-float-badge::after {
  right: 13px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f6d08d;
  box-shadow: 0 0 14px rgba(246, 208, 141, 0.78);
}

.resource-float-badge span {
  position: relative;
  font-size: 18px;
  font-weight: 900;
}

.resource-float-badge b {
  position: relative;
  color: #f6d08d;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.resource-float-badge:hover {
  animation-play-state: paused;
  transform: translateY(-2px);
}

@keyframes resourceBadgeTravel {
  0% {
    left: 28px;
    top: 124px;
    transform: none;
  }
  13% {
    left: 18vw;
    top: 76vh;
    transform: none;
  }
  27% {
    left: 68vw;
    top: 22vh;
    transform: none;
  }
  43% {
    left: 48vw;
    top: 64vh;
    transform: none;
  }
  61% {
    left: calc(100vw - 188px);
    top: 38vh;
    transform: none;
  }
  78% {
    left: 30vw;
    top: calc(100vh - 138px);
    transform: none;
  }
  91% {
    left: 10vw;
    top: 34vh;
    transform: none;
  }
  100% {
    left: 28px;
    top: 124px;
    transform: none;
  }
}

@media (max-width: 1120px) {
  #view-home .home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #view-home .home-category-grid {
    grid-template-columns: 1fr;
  }

  .resource-float-badge {
    width: 128px;
    min-height: 62px;
    padding: 10px 16px;
    border-radius: 15px 5px 15px 5px;
  }

  .resource-float-badge span {
    font-size: 16px;
  }

  .resource-float-badge b {
    font-size: 10px;
  }
}

/* 2026 homepage: project viewer */
.topbar {
  display: block;
  min-height: 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #f4f7f6;
  background: rgba(14, 22, 25, 0.97);
  box-shadow: 0 12px 32px rgba(8, 14, 16, 0.2);
  backdrop-filter: blur(16px);
}

.topbar-main {
  display: grid;
  grid-template-columns: minmax(220px, auto) minmax(470px, 1fr) auto;
  align-items: center;
  width: min(100%, 1600px);
  min-height: 76px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 52px);
  background: transparent;
}

.topbar .brand {
  min-width: 220px;
}

.topbar .brand-mark {
  width: 40px;
  height: 40px;
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background: #e25f3f;
  box-shadow: 8px 8px 0 rgba(72, 197, 189, 0.14);
}

.topbar .brand strong {
  color: #fff;
  font-size: 17px;
}

.topbar .brand small {
  color: rgba(239, 245, 243, 0.58);
  font-size: 10px;
  text-transform: uppercase;
}

.topbar .nav-links {
  align-self: stretch;
  min-height: 76px;
  padding: 0 18px;
  background: transparent;
  box-shadow: none;
}

.topbar .nav-links > .nav-item {
  display: flex;
}

.topbar .nav-links > .nav-item > button {
  min-width: 108px;
  min-height: 76px;
  padding: 0 18px;
  color: rgba(244, 247, 246, 0.72);
  font-size: 14px;
}

.topbar .nav-links > .nav-item > button::after {
  left: 18px;
  right: 18px;
  bottom: 16px;
  height: 2px;
  background: #e25f3f;
}

.topbar .nav-links > .nav-item > button:hover,
.topbar .nav-links > .nav-item > button.is-active,
.topbar .nav-item:hover > button,
.topbar .nav-item:focus-within > button,
.topbar .nav-item.is-open > button {
  color: #fff;
  background: transparent;
}

.topbar .top-actions {
  gap: 8px;
}

.topbar .top-actions .ghost-button,
.topbar .top-actions .primary-button {
  min-height: 40px;
  padding-inline: 15px;
  border-radius: 5px;
  font-size: 13px;
}

.topbar .top-actions .ghost-button {
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
}

.topbar .top-actions .primary-button {
  color: #fff;
  background: #e25f3f;
  box-shadow: 0 12px 28px rgba(226, 95, 63, 0.24);
}

#view-home {
  background: #f2f4f1;
}

#view-home .hero {
  --hero-x: 0;
  --hero-y: 0;
  --hero-active: 0;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(410px, 0.82fr) minmax(540px, 1.18fr);
  gap: clamp(40px, 5vw, 88px);
  min-height: clamp(650px, 82vh, 780px);
  padding: clamp(52px, 6vh, 76px) clamp(24px, 5vw, 78px);
  overflow: hidden;
  color: #f6f8f7;
  background:
    linear-gradient(90deg, rgba(72, 197, 189, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(72, 197, 189, 0.04) 1px, transparent 1px),
    #101719;
  background-size: 52px 52px, 52px 52px, auto;
}

#view-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(116deg, rgba(16, 23, 25, 0.12) 0 44%, rgba(16, 23, 25, 0.76) 76% 100%),
    repeating-linear-gradient(128deg, transparent 0 29px, rgba(226, 95, 63, 0.025) 30px 31px);
  opacity: 1;
  pointer-events: none;
}

#view-home .hero::after {
  content: "DX / 01";
  position: absolute;
  right: 4.5vw;
  top: 20px;
  z-index: 0;
  color: rgba(255, 255, 255, 0.035);
  background: none;
  font-size: 156px;
  font-weight: 1000;
  line-height: 1;
  animation: none;
  pointer-events: none;
}

#view-home .hero-motion-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.32;
  mix-blend-mode: screen;
  pointer-events: none;
}

#view-home .hero-copy {
  position: relative;
  z-index: 3;
  grid-column: 1;
  align-self: center;
  max-width: 620px;
}

#view-home .hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #86d8d2;
  font-size: 11px;
  letter-spacing: 0.12em;
}

#view-home .hero-copy .eyebrow span {
  width: 28px;
  height: 2px;
  background: #e25f3f;
}

#view-home .hero-copy h1 {
  max-width: none;
  margin-bottom: 18px;
  color: #fff;
  font-size: 72px;
  line-height: 1.02;
}

#view-home .hero-statement {
  display: block;
  max-width: 590px;
  margin-bottom: 15px;
  color: #f6f8f7;
  font-size: 27px;
  line-height: 1.45;
}

#view-home .hero-copy .hero-lead {
  max-width: 560px;
  margin-bottom: 24px;
  color: rgba(229, 237, 234, 0.68);
  font-size: 16px;
  line-height: 1.85;
}

#view-home .hero-scope-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

#view-home .hero-scope-strip span {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(134, 216, 210, 0.22);
  border-radius: 4px;
  color: rgba(238, 246, 243, 0.82);
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 700;
}

#view-home .hero-actions {
  gap: 10px;
  margin: 0 0 28px;
}

#view-home .hero-actions .primary-button,
#view-home .hero-actions .secondary-button {
  min-height: 50px;
  padding-inline: 22px;
  border-radius: 5px;
}

#view-home .hero-actions .primary-button {
  color: #fff;
  background: #e25f3f;
  box-shadow: 0 16px 34px rgba(226, 95, 63, 0.22);
}

#view-home .hero-actions .secondary-button {
  border-color: rgba(255, 255, 255, 0.2);
  color: #f5f7f6;
  background: rgba(255, 255, 255, 0.05);
}

#view-home .hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#view-home .hero-facts div {
  min-width: 0;
  padding: 16px 15px 16px 0;
}

#view-home .hero-facts div + div {
  padding-left: 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

#view-home .hero-facts strong,
#view-home .hero-facts span {
  display: block;
}

#view-home .hero-facts strong {
  margin-bottom: 5px;
  color: #fff;
  font-size: 19px;
}

#view-home .hero-facts span {
  color: rgba(225, 235, 232, 0.55);
  font-size: 11px;
  line-height: 1.5;
}

#view-home .hero-lookup {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(134, 216, 210, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
}

#view-home .hero-lookup > div {
  min-width: 96px;
}

#view-home .hero-lookup small,
#view-home .hero-lookup b {
  display: block;
}

#view-home .hero-lookup small {
  margin-bottom: 3px;
  color: #86d8d2;
  font-size: 10px;
}

#view-home .hero-lookup b {
  color: #fff;
  font-size: 13px;
}

#view-home .hero-lookup label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

#view-home .hero-lookup input {
  width: 100%;
  height: 43px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

#view-home .hero-lookup input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

#view-home .hero-lookup button {
  min-width: 88px;
  min-height: 43px;
  border-radius: 4px;
  color: #101719;
  background: #86d8d2;
  cursor: pointer;
  font-weight: 900;
}

#view-home .hero-lookup .quick-check-result {
  grid-column: 1 / -1;
  min-height: 0;
  margin: 0;
  color: #f2c391;
  font-size: 12px;
}

#view-home .hero-lookup .quick-check-result:empty {
  display: none;
}

#view-home .hero-project-showcase {
  --stage-x: 0;
  --stage-y: 0;
  position: relative;
  z-index: 3;
  align-self: center;
  min-width: 0;
  max-width: 820px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: #182124;
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.38);
  transform:
    perspective(1200px)
    rotateX(calc(var(--stage-y) * -1.7deg))
    rotateY(calc(var(--stage-x) * 2.4deg));
  transform-style: preserve-3d;
  transition: transform 120ms linear, border-color 220ms ease;
}

#view-home .hero-project-showcase:hover {
  border-color: rgba(134, 216, 210, 0.38);
}

#view-home .showcase-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(237, 244, 242, 0.5);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

#view-home .showcase-toolbar b {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #86d8d2;
  font-size: 10px;
}

#view-home .showcase-toolbar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e25f3f;
  box-shadow: 0 0 0 5px rgba(226, 95, 63, 0.12);
  animation: showcaseSignal 2.2s ease-in-out infinite;
}

#view-home .showcase-stage {
  position: relative;
  height: 455px;
  margin: 0;
  overflow: hidden;
  background: #20292c;
}

#view-home .showcase-stage::before,
#view-home .showcase-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

#view-home .showcase-stage::before {
  background: linear-gradient(180deg, rgba(12, 18, 20, 0.04) 32%, rgba(12, 18, 20, 0.88) 100%);
}

#view-home .showcase-stage::after {
  background:
    linear-gradient(90deg, rgba(134, 216, 210, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(134, 216, 210, 0.09) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.22;
}

#view-home .showcase-stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.06);
  transform: scale(1.045) translate(calc(var(--stage-x) * -10px), calc(var(--stage-y) * -8px));
  transition: opacity 180ms ease, transform 180ms linear;
}

#view-home .showcase-stage.is-switching > img {
  opacity: 0.32;
}

#view-home .showcase-stage figcaption {
  position: absolute;
  left: 26px;
  right: 110px;
  bottom: 24px;
  z-index: 3;
  color: #fff;
}

#view-home .showcase-stage figcaption small,
#view-home .showcase-stage figcaption strong,
#view-home .showcase-stage figcaption span {
  display: block;
}

#view-home .showcase-stage figcaption small {
  margin-bottom: 8px;
  color: #86d8d2;
  font-size: 10px;
  letter-spacing: 0.1em;
}

#view-home .showcase-stage figcaption strong {
  margin-bottom: 8px;
  font-size: 29px;
  line-height: 1.2;
}

#view-home .showcase-stage figcaption span {
  color: rgba(242, 246, 245, 0.7);
  font-size: 13px;
}

#view-home .showcase-index {
  position: absolute;
  right: 24px;
  bottom: 25px;
  z-index: 3;
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: rgba(255, 255, 255, 0.48);
}

#view-home .showcase-index b {
  color: #fff;
  font-size: 32px;
}

#view-home .showcase-index span {
  font-size: 11px;
}

#view-home .showcase-crosshair {
  position: absolute;
  right: 9%;
  top: 13%;
  z-index: 3;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(134, 216, 210, 0.54);
  border-radius: 50%;
  transform: translate(calc(var(--stage-x) * 16px), calc(var(--stage-y) * 12px));
}

#view-home .showcase-crosshair::before,
#view-home .showcase-crosshair::after {
  content: "";
  position: absolute;
  background: rgba(134, 216, 210, 0.64);
}

#view-home .showcase-crosshair::before {
  left: 50%;
  top: -13px;
  width: 1px;
  height: 98px;
}

#view-home .showcase-crosshair::after {
  left: -13px;
  top: 50%;
  width: 98px;
  height: 1px;
}

#view-home .showcase-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

#view-home .showcase-tab {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  min-height: 84px;
  padding: 9px 12px;
  gap: 11px;
  color: rgba(244, 247, 246, 0.62);
  background: #151e21;
  cursor: pointer;
  text-align: left;
}

#view-home .showcase-tab img {
  width: 68px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  object-fit: cover;
  filter: grayscale(0.5) brightness(0.72);
}

#view-home .showcase-tab span,
#view-home .showcase-tab small,
#view-home .showcase-tab b {
  display: block;
  min-width: 0;
}

#view-home .showcase-tab small {
  margin-bottom: 4px;
  color: rgba(134, 216, 210, 0.52);
  font-size: 9px;
}

#view-home .showcase-tab b {
  overflow: hidden;
  color: inherit;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#view-home .showcase-tab:hover,
#view-home .showcase-tab.is-active {
  color: #fff;
  background: #1c292c;
}

#view-home .showcase-tab.is-active {
  box-shadow: inset 0 3px #e25f3f;
}

#view-home .showcase-tab.is-active img {
  border-color: rgba(134, 216, 210, 0.5);
  filter: none;
}

#view-home .home-overview-strip {
  position: static;
  order: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  margin: 0;
  padding: 0 clamp(24px, 5vw, 78px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: #f2f4f1;
  box-shadow: none;
}

#view-home .home-overview-strip button {
  position: relative;
  min-height: 126px;
  padding: 24px;
  border-right: 1px solid #d9dfdc;
  color: #172326;
  background: #fff;
  cursor: pointer;
  text-align: left;
}

#view-home .home-overview-strip button:first-child {
  border-left: 1px solid #d9dfdc;
}

#view-home .home-overview-strip button::after {
  content: "↗";
  position: absolute;
  right: 20px;
  top: 20px;
  color: rgba(23, 35, 38, 0.28);
  font-size: 16px;
}

#view-home .home-overview-strip button:hover {
  background: #edf5f2;
}

#view-home .home-overview-strip button.is-dark {
  color: #fff;
  background: #e25f3f;
}

#view-home .home-overview-strip button.is-dark::after,
#view-home .home-overview-strip button.is-dark span,
#view-home .home-overview-strip button.is-dark p {
  color: rgba(255, 255, 255, 0.72);
}

#view-home .home-overview-strip span,
#view-home .home-overview-strip b,
#view-home .home-overview-strip p {
  display: block;
}

#view-home .home-overview-strip span {
  margin-bottom: 17px;
  color: #0f7f79;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

#view-home .home-overview-strip b {
  margin-bottom: 7px;
  color: inherit;
  font-size: 18px;
}

#view-home .home-overview-strip p {
  margin: 0;
  color: #71807a;
  font-size: 12px;
}

#view-home .platform-proof-band.home-section {
  padding-top: 86px;
  background:
    linear-gradient(90deg, rgba(15, 127, 121, 0.035) 1px, transparent 1px),
    #f6f7f4;
  background-size: 44px 44px, auto;
}

#view-home .platform-proof-band.home-section .section-heading h2 {
  max-width: 620px;
  color: #172326;
  font-size: 50px;
  line-height: 1.08;
}

#view-home .platform-proof-band.home-section .section-heading > p:last-of-type {
  color: #0f7f79;
  font-weight: 800;
}

.resource-float-badge {
  left: auto;
  right: 16px;
  top: 44vh;
  width: 82px;
  min-height: 82px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  color: #fff;
  background: #e25f3f;
  box-shadow: 0 18px 42px rgba(46, 27, 22, 0.24);
  animation: resourceBadgeTravel 12s ease-in-out infinite;
}

.resource-float-badge::before {
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
}

.resource-float-badge::after {
  right: 9px;
  top: 11px;
  width: 7px;
  height: 7px;
  background: #86d8d2;
  box-shadow: 0 0 0 5px rgba(134, 216, 210, 0.16);
}

.resource-float-badge span {
  font-size: 15px;
}

.resource-float-badge b {
  color: rgba(255, 255, 255, 0.72);
  font-size: 8px;
  letter-spacing: 0.1em;
}

@keyframes showcaseSignal {
  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

@keyframes resourceBadgeTravel {
  0%,
  100% {
    left: auto;
    right: 16px;
    top: 44vh;
    transform: translateY(0) rotate(-3deg);
  }

  36% {
    left: auto;
    right: 22px;
    top: 44vh;
    transform: translateY(-14px) rotate(4deg);
  }

  70% {
    left: auto;
    right: 12px;
    top: 44vh;
    transform: translateY(7px) rotate(-1deg);
  }
}

@media (max-width: 1240px) {
  .topbar-main {
    grid-template-columns: minmax(190px, auto) minmax(420px, 1fr) auto;
    padding-inline: 22px;
  }

  .topbar .brand {
    min-width: 190px;
  }

  .topbar .brand small {
    display: none;
  }

  .topbar .nav-links > .nav-item > button {
    min-width: 96px;
    padding-inline: 12px;
  }

  #view-home .hero {
    grid-template-columns: minmax(370px, 0.78fr) minmax(480px, 1.22fr);
    gap: 36px;
    padding-inline: 36px;
  }

  #view-home .hero-copy h1 {
    font-size: 60px;
  }

  #view-home .hero-statement {
    font-size: 23px;
  }

  #view-home .showcase-stage {
    height: 420px;
  }
}

@media (max-width: 980px) {
  .topbar {
    min-height: 118px;
  }

  .topbar-main {
    grid-template-columns: 1fr auto;
    min-height: 118px;
    padding: 10px 18px 0;
  }

  .topbar .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    height: 44px;
    min-height: 44px;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    scrollbar-width: none;
  }

  .topbar .nav-links::-webkit-scrollbar {
    display: none;
  }

  .topbar .nav-links > .nav-item > button {
    min-height: 44px;
  }

  .topbar .nav-links > .nav-item > button::after {
    bottom: 5px;
  }

  #view-home .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 54px 28px 38px;
  }

  #view-home .hero-copy {
    max-width: 720px;
  }

  #view-home .hero-project-showcase {
    width: 100%;
    max-width: none;
  }

  #view-home .showcase-stage {
    height: 470px;
  }

  #view-home .home-overview-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 28px;
  }

  #view-home .home-overview-strip button:nth-child(3) {
    border-left: 1px solid #d9dfdc;
  }
}

@media (max-width: 640px) {
  .topbar {
    min-height: 112px;
  }

  .topbar-main {
    min-height: 112px;
    padding-inline: 12px;
  }

  .topbar .brand {
    min-width: 0;
    gap: 9px;
  }

  .topbar .brand-mark {
    width: 36px;
    height: 36px;
  }

  .topbar .brand strong {
    font-size: 15px;
  }

  .topbar .top-actions .ghost-button {
    display: none;
  }

  .topbar .top-actions .primary-button {
    min-height: 36px;
    padding-inline: 12px;
  }

  .topbar .nav-links > .nav-item > button {
    min-width: 90px;
    padding-inline: 10px;
    font-size: 13px;
  }

  #view-home .hero {
    display: block;
    min-height: 680px;
    padding: 34px 16px 28px;
    background:
      linear-gradient(90deg, rgba(16, 23, 25, 0.96) 0%, rgba(16, 23, 25, 0.82) 58%, rgba(16, 23, 25, 0.68) 100%),
      linear-gradient(0deg, rgba(16, 23, 25, 0.5), rgba(16, 23, 25, 0.08)),
      url("./assets/portfolio/case-parking-layout.png") 58% center / cover no-repeat;
  }

  #view-home .hero::after {
    right: -10px;
    top: 16px;
    font-size: 92px;
  }

  #view-home .hero-copy h1 {
    margin-bottom: 13px;
    font-size: 42px;
  }

  #view-home .hero-statement {
    margin-bottom: 10px;
    font-size: 20px;
  }

  #view-home .hero-copy .hero-lead {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.65;
  }

  #view-home .hero-copy .eyebrow {
    margin-bottom: 13px;
  }

  #view-home .hero-scope-strip {
    gap: 6px;
    margin-bottom: 18px;
  }

  #view-home .hero-scope-strip span {
    padding: 5px 8px;
    font-size: 11px;
  }

  #view-home .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
  }

  #view-home .hero-actions .primary-button,
  #view-home .hero-actions .secondary-button {
    min-height: 46px;
    padding-inline: 10px;
    font-size: 14px;
  }

  #view-home .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 18px;
  }

  #view-home .hero-facts div {
    padding: 11px 8px 11px 0;
  }

  #view-home .hero-facts div + div {
    padding-left: 8px;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  #view-home .hero-facts strong {
    font-size: 16px;
  }

  #view-home .hero-facts span {
    font-size: 9px;
  }

  #view-home .hero-lookup {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px;
  }

  #view-home .hero-lookup > div {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  #view-home .hero-lookup input,
  #view-home .hero-lookup button {
    height: 40px;
    min-height: 40px;
  }

  #view-home .hero-project-showcase {
    display: none;
  }

  #view-home .showcase-toolbar {
    padding-inline: 12px;
  }

  #view-home .showcase-stage {
    height: 340px;
  }

  #view-home .showcase-stage figcaption {
    left: 18px;
    right: 78px;
    bottom: 18px;
  }

  #view-home .showcase-stage figcaption strong {
    font-size: 23px;
  }

  #view-home .showcase-index {
    right: 16px;
    bottom: 18px;
  }

  #view-home .showcase-index b {
    font-size: 25px;
  }

  #view-home .showcase-crosshair {
    width: 54px;
    height: 54px;
  }

  #view-home .showcase-crosshair::before {
    height: 78px;
  }

  #view-home .showcase-crosshair::after {
    width: 78px;
  }

  #view-home .showcase-tabs {
    grid-template-columns: 1fr;
  }

  #view-home .showcase-tab {
    min-height: 66px;
  }

  #view-home .home-overview-strip {
    grid-template-columns: 1fr;
    padding-inline: 16px;
  }

  #view-home .home-overview-strip button,
  #view-home .home-overview-strip button:nth-child(3) {
    min-height: 108px;
    border-left: 1px solid #d9dfdc;
    border-bottom: 1px solid #d9dfdc;
  }

  #view-home .platform-proof-band.home-section {
    padding-top: 62px;
  }

  #view-home .platform-proof-band.home-section .section-heading h2 {
    font-size: 36px;
  }

  .resource-float-badge {
    display: none;
  }

  .resource-float-badge span {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #view-home .hero-project-showcase,
  #view-home .showcase-stage > img,
  .resource-float-badge,
  #view-home .showcase-toolbar i {
    animation: none;
    transform: none;
    transition: none;
  }
}

/* Engineering profile and project atlas */
#view-home .engineering-collective {
  order: 3;
  padding: 0 clamp(24px, 5vw, 78px);
  color: #f4f7f5;
  background: #f2f4f1;
}

#view-home .platform-proof-band.home-section {
  order: 4;
}

#view-home .home-category-hub {
  order: 5;
}

#view-home .engineering-collective-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(230px, 0.64fr) minmax(390px, 1fr);
  max-width: 1440px;
  min-height: 520px;
  margin: 0 auto;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: #162124;
}

#view-home .collective-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 58px clamp(32px, 4vw, 66px);
}

#view-home .collective-intro .eyebrow {
  margin-bottom: 24px;
  color: #86d8d2;
  letter-spacing: 0;
}

#view-home .collective-intro h2 {
  max-width: 560px;
  margin: 0 0 22px;
  color: #fff;
  font-size: 42px;
  line-height: 1.16;
  letter-spacing: 0;
}

#view-home .collective-intro > p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: rgba(235, 243, 240, 0.68);
  font-size: 15px;
  line-height: 1.9;
}

#view-home .collective-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  margin-top: 34px;
  padding: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0;
}

#view-home .collective-link span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(134, 216, 210, 0.42);
  border-radius: 50%;
  color: #86d8d2;
  transition: transform 180ms ease, background 180ms ease;
}

#view-home .collective-link:hover span {
  background: rgba(134, 216, 210, 0.12);
  transform: translate(3px, -3px);
}

#view-home .collective-credentials {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

#view-home .collective-credentials article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 28px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#view-home .collective-credentials article:last-child {
  border-bottom: 0;
}

#view-home .collective-credentials span,
#view-home .collective-credentials strong,
#view-home .collective-credentials p {
  display: block;
  letter-spacing: 0;
}

#view-home .collective-credentials span {
  margin-bottom: 12px;
  color: #e86a4c;
  font-size: 10px;
  font-weight: 900;
}

#view-home .collective-credentials strong {
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
}

#view-home .collective-credentials p {
  margin: 0;
  color: rgba(235, 243, 240, 0.55);
  font-size: 12px;
  line-height: 1.7;
}

#view-home .collective-feature {
  position: relative;
  min-width: 0;
  min-height: 520px;
  overflow: hidden;
  color: #fff;
  background: #222d30;
  cursor: pointer;
  text-align: left;
}

#view-home .collective-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 18, 0.08) 32%, rgba(10, 16, 18, 0.88) 100%);
}

#view-home .collective-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.05);
  transform: scale(1.02);
  transition: transform 500ms ease, filter 500ms ease;
}

#view-home .collective-feature:hover img {
  filter: saturate(0.98) contrast(1.08);
  transform: scale(1.065);
}

#view-home .collective-feature-index {
  position: absolute;
  left: 24px;
  top: 23px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

#view-home .collective-feature-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
}

#view-home .collective-feature-copy small,
#view-home .collective-feature-copy b,
#view-home .collective-feature-copy em {
  display: block;
  letter-spacing: 0;
}

#view-home .collective-feature-copy small {
  margin-bottom: 10px;
  color: #86d8d2;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

#view-home .collective-feature-copy b {
  max-width: 420px;
  margin-bottom: 10px;
  color: #fff;
  font-size: 27px;
  line-height: 1.25;
}

#view-home .collective-feature-copy em {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-style: normal;
}

.project-atlas {
  padding: 100px clamp(24px, 6vw, 92px) 88px;
  color: #172326;
  background: #eef1ee;
}

.project-atlas-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.66fr);
  align-items: end;
  gap: 48px;
  max-width: 1440px;
  margin: 0 auto 54px;
}

.project-atlas-heading .eyebrow {
  margin-bottom: 14px;
  color: #0f7f79;
  letter-spacing: 0;
}

.project-atlas-heading h2 {
  margin: 0;
  color: #172326;
  font-size: 54px;
  line-height: 1.08;
  letter-spacing: 0;
}

.project-atlas-heading > p {
  max-width: 560px;
  margin: 0;
  color: #65736e;
  font-size: 15px;
  line-height: 1.9;
}

.project-atlas-groups {
  max-width: 1440px;
  margin: 0 auto;
  border-top: 1px solid #ccd3cf;
}

.project-atlas-group {
  display: grid;
  grid-template-columns: minmax(210px, 0.28fr) minmax(0, 1fr);
  gap: 42px;
  padding: 34px 0;
  border-bottom: 1px solid #ccd3cf;
}

.project-atlas-group > header {
  align-self: center;
  padding-right: 12px;
}

.project-atlas-group > header span {
  display: block;
  margin-bottom: 16px;
  color: #e25f3f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.project-atlas-group > header h3 {
  margin: 0 0 12px;
  color: #172326;
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: 0;
}

.project-atlas-group > header p {
  margin: 0;
  color: #74807b;
  font-size: 13px;
  line-height: 1.75;
}

.project-atlas-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

.project-atlas-pair button {
  position: relative;
  min-width: 0;
  height: 298px;
  overflow: hidden;
  border: 1px solid rgba(23, 35, 38, 0.14);
  border-radius: 4px;
  color: #fff;
  background: #1d292c;
  cursor: pointer;
  text-align: left;
}

.project-atlas-pair button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 20, 22, 0.02) 28%, rgba(13, 20, 22, 0.88) 100%);
}

.project-atlas-pair button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04);
  transform: scale(1.015);
  transition: transform 420ms ease, filter 420ms ease;
}

.project-atlas-pair button[data-project-case="pole-climber"] img,
.project-atlas-pair button[data-project-case="electrolysis-model"] img,
.project-atlas-pair button[data-project-case="plate-channel"] img,
.project-atlas-pair button[data-project-case="compressor-model"] img {
  object-fit: contain;
  padding: 16px;
  background: #f4f5f2;
}

.project-atlas-pair button:hover img {
  filter: saturate(1) contrast(1.07);
  transform: scale(1.065);
}

.project-atlas-pair button > span {
  position: absolute;
  left: 22px;
  right: 72px;
  bottom: 22px;
  z-index: 2;
}

.project-atlas-pair button small,
.project-atlas-pair button b {
  display: block;
  letter-spacing: 0;
}

.project-atlas-pair button small {
  margin-bottom: 7px;
  color: #9ce1dc;
  font-size: 10px;
  font-weight: 900;
}

.project-atlas-pair button b {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 21px;
  line-height: 1.3;
}

.project-atlas-pair button > i {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  font-style: normal;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.project-atlas-pair button:hover > i {
  background: #e25f3f;
  transform: rotate(90deg);
}

.sample-download-rail {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) repeat(4, minmax(0, 1fr));
  max-width: 1440px;
  margin: 38px auto 0;
  border-top: 1px solid #bcc6c1;
  border-bottom: 1px solid #bcc6c1;
}

.sample-download-rail > div,
.sample-download-rail > a {
  min-width: 0;
  min-height: 92px;
  padding: 22px;
  border-right: 1px solid #ccd3cf;
}

.sample-download-rail > div {
  background: #172326;
}

.sample-download-rail > div span,
.sample-download-rail > div strong {
  display: block;
  letter-spacing: 0;
}

.sample-download-rail > div span {
  margin-bottom: 8px;
  color: #86d8d2;
  font-size: 9px;
  font-weight: 900;
}

.sample-download-rail > div strong {
  color: #fff;
  font-size: 17px;
}

.sample-download-rail > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #172326;
  background: rgba(255, 255, 255, 0.46);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.sample-download-rail > a:last-child {
  border-right: 0;
}

.sample-download-rail > a span {
  flex: 0 0 auto;
  color: #0f7f79;
  font-size: 9px;
  font-weight: 900;
}

.sample-download-rail > a:hover {
  color: #fff;
  background: #e25f3f;
}

.sample-download-rail > a:hover span {
  color: #fff;
}

.project-case-modal {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: none;
  place-items: center;
  padding: 24px;
}

.project-case-modal.is-open {
  display: grid;
}

.project-case-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 16, 0.82);
  backdrop-filter: blur(12px);
}

.project-case-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  width: min(1180px, 96vw);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: #f6f7f4;
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.48);
}

.project-case-close {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: #fff;
  background: rgba(15, 24, 27, 0.72);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.project-case-visual {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  background: #e8ece9;
}

.project-case-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 65%, rgba(11, 18, 20, 0.62) 100%);
}

.project-case-visual img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: contain;
  background: #eef1ee;
}

.project-case-visual figcaption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.project-case-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 68px 54px 54px;
}

.project-case-copy .eyebrow {
  margin-bottom: 15px;
  color: #0f7f79;
  letter-spacing: 0;
}

.project-case-copy h2 {
  margin: 0 0 22px;
  color: #172326;
  font-size: 39px;
  line-height: 1.18;
  letter-spacing: 0;
}

.project-case-copy > p:not(.eyebrow) {
  margin: 0;
  color: #65736e;
  font-size: 15px;
  line-height: 1.9;
}

.project-case-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
}

.project-case-scope span {
  padding: 8px 10px;
  border: 1px solid #c7d1cc;
  border-radius: 3px;
  color: #243237;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.project-case-delivery {
  margin-bottom: 30px;
  padding: 20px 0;
  border-top: 1px solid #d1d8d4;
  border-bottom: 1px solid #d1d8d4;
}

.project-case-delivery span {
  display: block;
  margin-bottom: 8px;
  color: #e25f3f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.project-case-delivery p {
  margin: 0;
  color: #243237;
  font-size: 13px;
  line-height: 1.8;
}

.project-case-copy > .primary-button {
  align-self: flex-start;
}

@media (max-width: 1180px) {
  #view-home .engineering-collective-inner {
    grid-template-columns: minmax(0, 1fr) minmax(210px, 0.58fr) minmax(330px, 0.9fr);
  }

  #view-home .collective-intro {
    padding-inline: 34px;
  }

  #view-home .collective-intro h2 {
    font-size: 36px;
  }

  .project-atlas-group {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 28px;
  }

  .sample-download-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sample-download-rail > div {
    grid-column: 1 / -1;
  }

  .sample-download-rail > a:nth-child(3),
  .sample-download-rail > a:nth-child(5) {
    border-right: 0;
  }
}

@media (max-width: 920px) {
  #view-home .engineering-collective {
    padding-inline: 28px;
  }

  #view-home .engineering-collective-inner {
    grid-template-columns: 1fr 1fr;
  }

  #view-home .collective-intro {
    grid-column: 1 / -1;
    padding-block: 52px;
  }

  #view-home .collective-credentials {
    border-left: 0;
  }

  #view-home .collective-feature {
    min-height: 500px;
  }

  .project-atlas-heading,
  .project-atlas-group {
    grid-template-columns: 1fr;
  }

  .project-atlas-heading {
    gap: 20px;
  }

  .project-atlas-group {
    gap: 22px;
  }

  .project-atlas-group > header {
    max-width: 520px;
  }

  .project-case-dialog {
    grid-template-columns: 1fr;
  }

  .project-case-visual,
  .project-case-visual img {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  #view-home .engineering-collective {
    padding-inline: 16px;
  }

  #view-home .engineering-collective-inner {
    grid-template-columns: 1fr;
  }

  #view-home .collective-intro {
    grid-column: auto;
    padding: 42px 24px;
  }

  #view-home .collective-intro h2 {
    font-size: 31px;
  }

  #view-home .collective-credentials {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 0;
    border-left: 0;
  }

  #view-home .collective-credentials article {
    padding: 24px;
  }

  #view-home .collective-feature {
    min-height: 380px;
  }

  #view-home .collective-feature-copy b {
    font-size: 23px;
  }

  .project-atlas {
    padding: 72px 16px 62px;
  }

  .project-atlas-heading {
    margin-bottom: 34px;
  }

  .project-atlas-heading h2 {
    font-size: 38px;
  }

  .project-atlas-pair {
    grid-template-columns: 1fr;
  }

  .project-atlas-pair button {
    height: 250px;
  }

  .sample-download-rail {
    grid-template-columns: 1fr;
  }

  .sample-download-rail > div,
  .sample-download-rail > a {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid #ccd3cf;
  }

  .sample-download-rail > a:last-child {
    border-bottom: 0;
  }

  .project-case-modal {
    align-items: end;
    padding: 8px;
  }

  .project-case-dialog {
    width: 100%;
    max-height: calc(100vh - 16px);
  }

  .project-case-visual,
  .project-case-visual img {
    min-height: 250px;
    max-height: 34vh;
  }

  .project-case-copy {
    padding: 34px 24px 28px;
  }

  .project-case-copy h2 {
    padding-right: 34px;
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #view-home .collective-feature img,
  .project-atlas-pair button img,
  .project-atlas-pair button > i {
    transition: none;
    transform: none;
  }
}

/* Wide-screen composition and streamlined customer intake */
#view-home .engineering-collective {
  position: relative;
  padding-inline: clamp(24px, 6vw, 160px);
  background:
    linear-gradient(90deg, rgba(134, 216, 210, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(134, 216, 210, 0.028) 1px, transparent 1px),
    #162124;
  background-size: 64px 64px, 64px 64px, auto;
}

#view-home .engineering-collective::before,
#view-home .engineering-collective::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(134, 216, 210, 0.14);
  pointer-events: none;
}

#view-home .engineering-collective::before {
  left: clamp(24px, 6vw, 160px);
}

#view-home .engineering-collective::after {
  right: clamp(24px, 6vw, 160px);
}

#view-home .engineering-collective-inner {
  width: 100%;
  max-width: 1840px;
  background: rgba(22, 33, 36, 0.92);
}

.client-shell > * {
  width: 100%;
  max-width: 1560px;
  margin-inline: auto;
}

.client-command-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.client-command-header .section-heading {
  margin: 0;
}

.client-command-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  padding-bottom: 4px;
}

.client-command-actions button {
  min-width: 118px;
  min-height: 48px;
}

.client-shell.is-order-mode .client-login-strip,
.client-shell.is-order-mode .portal-strip {
  display: none;
}

.client-shell.is-order-mode .client-command-header {
  margin-bottom: 18px;
}

.client-order-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 18px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 27, 35, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(17, 27, 35, 0.06);
  list-style: none;
}

.client-order-progress li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 70px;
  padding: 14px 20px;
  color: #6e7a7e;
  background: #fff;
}

.client-order-progress li + li {
  border-left: 1px solid rgba(17, 27, 35, 0.1);
}

.client-order-progress span {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #c8d3d2;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}

.client-order-progress b {
  color: inherit;
  font-size: 14px;
}

.client-order-progress .is-current {
  color: #fff;
  background: #162124;
}

.client-order-progress .is-current span {
  border-color: #86d8d2;
  color: #101719;
  background: #86d8d2;
}

.client-order-progress .is-complete {
  color: #0f7f79;
  background: #f4fbfa;
}

.client-order-progress .is-complete span {
  border-color: rgba(15, 127, 121, 0.45);
  color: #0f7f79;
  background: rgba(134, 216, 210, 0.28);
  font-size: 0;
}

.client-order-progress .is-complete span::before {
  content: "✓";
  font-size: 14px;
  font-weight: 900;
}

.client-order-layout {
  grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.58fr);
  gap: 22px;
}

.client-order-form {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.order-form-section {
  min-width: 0;
  margin: 0;
  padding: 24px 26px 26px;
  border: 0;
  border-bottom: 1px solid rgba(17, 27, 35, 0.1);
}

.order-form-section legend {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  color: #172326;
  font-size: 17px;
  font-weight: 900;
}

.order-form-section legend span {
  color: #0f7f79;
  font-size: 10px;
}

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

.order-file-field input {
  height: auto;
  min-height: 58px;
  padding: 15px;
  border-style: dashed;
  background: #f5f9f8;
}

.order-file-field small {
  color: #7a888b;
  font-size: 11px;
  font-weight: 600;
}

.order-selected-files {
  display: grid;
  gap: 8px;
  min-height: 20px;
  margin-top: -5px;
}

.order-file-empty {
  color: #98a5a6;
  font-size: 12px;
}

.order-selected-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid rgba(17, 27, 35, 0.1);
  border-radius: 6px;
  background: #f7faf9;
}

.order-selected-file > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.order-selected-file b {
  overflow: hidden;
  color: #243337;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-selected-file small {
  color: #7a888b;
  font-size: 11px;
}

.order-file-remove {
  flex: 0 0 auto;
  padding: 4px 0;
  border: 0;
  color: #b0523e;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.order-file-remove:hover {
  color: #8b2e1d;
}

.client-order-submit {
  min-height: 52px;
  margin: 22px 26px 12px;
  justify-self: start;
  padding-inline: 28px;
}

.client-order-form .form-result {
  margin: 14px 0 0;
}

.client-order-aside {
  position: sticky;
  top: 132px;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(134, 216, 210, 0.08), transparent 38%),
    #fff;
}

.order-aside-kicker {
  display: block;
  margin-bottom: 11px;
  color: #0f7f79;
  font-size: 10px;
  font-weight: 900;
}

.client-order-aside h3 {
  margin-bottom: 10px;
  font-size: 27px;
}

.client-order-aside > p {
  margin: 0;
  font-size: 14px;
}

.order-aside-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 2px;
  border-top: 1px solid rgba(17, 27, 35, 0.12);
  color: #172326;
  background: transparent;
  cursor: pointer;
  font-weight: 900;
  text-align: left;
}

.order-aside-support span {
  color: #0f7f79;
  font-size: 20px;
}

.order-intake-start {
  margin-bottom: 18px;
  padding: 28px 30px 0;
  overflow: hidden;
  border: 1px solid rgba(17, 27, 35, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(17, 27, 35, 0.06);
}

#orderIntakeTitle,
.client-order-progress {
  scroll-margin-top: 126px;
}

.order-intake-start > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.order-intake-start .eyebrow {
  margin-bottom: 8px;
}

.order-intake-start h3 {
  margin: 0;
  color: #172326;
  font-size: 28px;
}

.order-intake-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.order-intake-trust span {
  position: relative;
  padding-left: 14px;
  color: #526164;
  font-size: 13px;
  font-weight: 800;
}

.order-intake-trust span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0f7f79;
  transform: translateY(-50%);
}

.order-service-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-inline: -30px;
  border-top: 1px solid rgba(17, 27, 35, 0.1);
}

.order-service-picker button {
  position: relative;
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 108px;
  padding: 18px 20px;
  border-left: 1px solid rgba(17, 27, 35, 0.1);
  color: #526164;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: color 160ms ease, background 160ms ease;
}

.order-service-picker button:first-child {
  border-left: 0;
}

.order-service-picker button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #e25f3f;
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 160ms ease, transform 160ms ease;
}

.order-service-picker button:hover,
.order-service-picker button.is-active {
  color: #172326;
  background: #f1f7f6;
}

.order-service-picker button.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.order-service-picker span,
.order-service-picker b,
.order-service-picker small {
  display: block;
}

.order-service-picker span {
  margin-bottom: 8px;
  color: #0f7f79;
  font-size: 10px;
  font-weight: 900;
}

.order-service-picker b {
  margin-bottom: 5px;
  color: inherit;
  font-size: 16px;
}

.order-service-picker small {
  overflow: hidden;
  color: #778588;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-step-panel {
  min-width: 0;
  padding: 30px 32px 28px;
}

.order-step-panel[hidden] {
  display: none;
}

.order-step-panel.is-active {
  animation: orderStepReveal 180ms ease both;
}

@keyframes orderStepReveal {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.order-step-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(17, 27, 35, 0.1);
}

.order-step-heading > span {
  flex: 0 0 auto;
  padding-top: 5px;
  color: #0f7f79;
  font-size: 10px;
  font-weight: 900;
}

.order-step-heading h3 {
  margin: 0 0 6px;
  color: #172326;
  font-size: 25px;
}

.order-step-heading p {
  margin: 0;
  color: #718084;
  font-size: 14px;
}

.order-step-panel .order-field-grid {
  margin-top: 24px;
}

.order-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(17, 27, 35, 0.1);
}

.order-step-actions.is-forward {
  justify-content: flex-end;
}

.order-step-actions button {
  min-height: 48px;
  padding-inline: 22px;
}

.order-validation-message {
  visibility: hidden;
  min-height: 0;
  margin: 10px 0 0;
  color: #b0523e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.order-validation-message.is-visible {
  visibility: visible;
  min-height: 20px;
}

.client-order-form input[aria-invalid="true"],
.client-order-form select[aria-invalid="true"],
.client-order-form textarea[aria-invalid="true"] {
  border-color: rgba(176, 82, 62, 0.72);
  box-shadow: 0 0 0 3px rgba(176, 82, 62, 0.1);
}

.order-final-review,
.order-live-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(17, 27, 35, 0.1);
  border-radius: 6px;
  background: rgba(17, 27, 35, 0.1);
}

.order-final-review div,
.order-live-summary div {
  min-width: 0;
  padding: 14px;
  background: #f7faf9;
}

.order-final-review span,
.order-final-review b,
.order-live-summary span,
.order-live-summary b {
  display: block;
}

.order-final-review span,
.order-live-summary span {
  margin-bottom: 5px;
  color: #788689;
  font-size: 11px;
}

.order-final-review b,
.order-live-summary b {
  overflow: hidden;
  color: #172326;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-privacy-note {
  margin: 16px 0 0;
  color: #647377;
  font-size: 13px;
  line-height: 1.7;
}

.client-order-aside .order-live-summary {
  margin-top: 18px;
}

.order-readiness {
  margin-top: 18px;
  padding: 15px 16px 14px;
  border: 1px solid rgba(15, 127, 121, 0.18);
  border-radius: 6px;
  background: #f2f8f7;
}

.order-readiness-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-readiness-head span {
  color: #526164;
  font-size: 12px;
  font-weight: 800;
}

.order-readiness-head b {
  color: #0f7f79;
  font-size: 15px;
}

.order-readiness-track {
  height: 6px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 127, 121, 0.12);
}

.order-readiness-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f7f79, #e25f3f);
  transition: width 180ms ease;
}

.order-readiness p {
  margin: 9px 0 0;
  color: #667679;
  font-size: 12px;
  line-height: 1.55;
}

.order-draft-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #5e6d70;
  font-size: 12px;
  line-height: 1.5;
}

.order-draft-status i {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0f7f79;
  box-shadow: 0 0 0 4px rgba(15, 127, 121, 0.1);
}

.order-draft-status.is-saved i {
  background: #28a06a;
}

.order-draft-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
}

.order-draft-clear {
  flex: 0 0 auto;
  padding: 4px 0;
  border: 0;
  color: #68777a;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.order-draft-clear:hover {
  color: #172326;
}

@media (min-width: 1200px) {
  .topbar .brand strong {
    font-size: 17px;
  }

  .topbar .nav-links > .nav-item > button,
  .topbar .top-actions .ghost-button,
  .topbar .top-actions .primary-button {
    font-size: 15px;
  }

  #view-client .client-command-header .section-heading h2 {
    font-size: 56px;
  }

  #view-client .client-command-header .section-heading > p:not(.eyebrow) {
    font-size: 18px;
    line-height: 1.8;
  }

  #view-client .client-command-actions button {
    min-width: 132px;
    min-height: 52px;
    font-size: 16px;
  }

  #view-client .client-login-copy b {
    font-size: 48px;
  }

  #view-client .client-login-copy p {
    font-size: 18px;
  }

  #view-client .client-access-points span {
    font-size: 14px;
  }

  #view-client .client-profile-card b {
    font-size: 18px;
  }

  #view-client .client-profile-card small,
  #view-client .client-profile-card button {
    font-size: 15px;
  }

  #view-client .portal-strip b {
    font-size: 18px;
  }

  #view-client .portal-strip span {
    font-size: 15px;
  }

  #view-client .tabbar button {
    min-height: 44px;
    padding-inline: 17px;
    font-size: 16px;
  }

  #view-client label {
    font-size: 16px;
  }

  #view-client input,
  #view-client select,
  #view-client textarea,
  #view-client button {
    font-size: 16px;
  }

  #view-client .client-order-progress b {
    font-size: 16px;
  }

  #view-client .order-intake-start h3 {
    font-size: 31px;
  }

  #view-client .order-service-picker b {
    font-size: 17px;
  }

  #view-client .order-step-heading h3 {
    font-size: 27px;
  }

  #view-client .order-form-section legend {
    font-size: 19px;
  }

  #view-client .result-panel {
    gap: 14px;
    padding: 26px;
  }

  #view-client .result-panel > strong {
    font-size: 28px;
    line-height: 1.35;
  }

  #view-client .result-panel > span,
  #view-client .result-panel > p {
    font-size: 17px;
  }

  #view-client .order-timeline span {
    min-height: 40px;
    font-size: 14px;
  }

  #view-client .status-line div {
    padding: 15px;
  }

  #view-client .status-line b {
    font-size: 20px;
  }

  #view-client .status-line small {
    font-size: 14px;
  }

  #view-client .public-summary {
    gap: 12px;
    padding: 16px;
  }

  #view-client .public-summary span {
    font-size: 16px;
    line-height: 1.75;
  }

  #view-client .public-summary b {
    margin-bottom: 5px;
    font-size: 17px;
  }

  #view-client .phone-order-list b {
    font-size: 17px;
  }

  #view-client .phone-order-list span,
  #view-client .form-result,
  #view-client .intake-specs span,
  #view-client .order-file-field small {
    font-size: 14px;
  }
}

@media (min-width: 1500px) {
  #view-home .hero {
    grid-template-columns: minmax(520px, 0.76fr) minmax(760px, 1.24fr);
    gap: clamp(68px, 5vw, 112px);
    min-height: 880px;
    padding-inline: clamp(70px, 6vw, 150px);
  }

  #view-home .hero-copy {
    max-width: 690px;
  }

  #view-home .hero-project-showcase {
    justify-self: end;
    width: 100%;
    max-width: 1120px;
  }

  #view-home .showcase-stage {
    height: 560px;
  }

  #view-home .showcase-tab {
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 96px;
    padding: 11px 15px;
  }

  #view-home .showcase-tab img {
    width: 82px;
    height: 58px;
  }

  #view-home .showcase-stage figcaption strong {
    font-size: 34px;
  }

  #view-home .engineering-collective-inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(270px, 0.64fr) minmax(470px, 1fr);
    min-height: 580px;
  }

  #view-home .collective-feature {
    min-height: 580px;
  }
}

@media (min-width: 2200px) {
  #view-home .hero {
    grid-template-columns: minmax(700px, 0.72fr) minmax(1100px, 1.28fr);
    gap: clamp(96px, 5vw, 160px);
    min-height: 1020px;
    padding: 78px clamp(150px, 8vw, 320px);
  }

  #view-home .hero-copy {
    max-width: 780px;
  }

  #view-home .hero-copy h1 {
    font-size: 92px;
  }

  #view-home .hero-statement {
    max-width: 680px;
    font-size: 31px;
  }

  #view-home .hero-project-showcase {
    max-width: 1450px;
  }

  #view-home .showcase-toolbar {
    min-height: 54px;
    padding-inline: 20px;
    font-size: 11px;
  }

  #view-home .showcase-stage {
    height: 690px;
  }

  #view-home .showcase-tab {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 110px;
    padding: 13px 18px;
    gap: 14px;
  }

  #view-home .showcase-tab img {
    width: 96px;
    height: 68px;
  }

  #view-home .showcase-tab b {
    font-size: 14px;
  }

  #view-home .showcase-stage figcaption {
    left: 34px;
    bottom: 32px;
  }

  #view-home .showcase-stage figcaption strong {
    font-size: 40px;
  }

  #view-home .engineering-collective {
    padding-inline: clamp(160px, 9vw, 360px);
  }

  #view-home .engineering-collective::before {
    left: clamp(160px, 9vw, 360px);
  }

  #view-home .engineering-collective::after {
    right: clamp(160px, 9vw, 360px);
  }

  #view-home .engineering-collective-inner {
    max-width: 2200px;
    min-height: 650px;
  }

  #view-home .collective-feature {
    min-height: 650px;
  }

  #view-home .collective-intro h2 {
    max-width: 680px;
    font-size: 50px;
  }
}

@media (max-width: 920px) {
  .client-command-header {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  .client-order-layout {
    grid-template-columns: 1fr;
  }

  .client-order-aside {
    position: static;
    grid-row: auto;
  }

  .order-intake-start > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .order-intake-trust {
    justify-content: flex-start;
  }

  .order-service-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .order-service-picker button:nth-child(4) {
    border-left: 0;
  }
}

@media (max-width: 640px) {
  #view-home .engineering-collective {
    padding-inline: 16px;
  }

  #view-home .engineering-collective::before {
    left: 16px;
  }

  #view-home .engineering-collective::after {
    right: 16px;
  }

  .client-command-actions,
  .client-command-actions button {
    width: 100%;
  }

  .client-command-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-order-progress {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .client-order-progress li {
    min-height: 58px;
    gap: 7px;
    padding: 10px 8px;
  }

  .client-order-progress b {
    font-size: 12px;
  }

  .order-field-grid {
    grid-template-columns: 1fr;
  }

  .order-form-section {
    padding: 22px 18px;
  }

  .client-order-submit {
    width: calc(100% - 36px);
    margin-inline: 18px;
    justify-content: center;
  }

  .client-order-form .form-result {
    margin-inline: 0;
  }

  .client-order-aside {
    padding: 22px 18px;
  }

  .order-intake-start {
    padding: 24px 18px 0;
  }

  .order-intake-start h3 {
    font-size: 24px;
  }

  .order-intake-trust {
    gap: 8px 14px;
  }

  .order-service-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-inline: -18px;
  }

  .order-service-picker button,
  .order-service-picker button:nth-child(4) {
    min-height: 94px;
    padding: 14px 16px;
    border-top: 1px solid rgba(17, 27, 35, 0.1);
    border-left: 1px solid rgba(17, 27, 35, 0.1);
  }

  .order-service-picker button:nth-child(odd) {
    border-left: 0;
  }

  .order-service-picker button:nth-child(-n + 2) {
    border-top: 0;
  }

  .order-service-picker button:last-child {
    grid-column: 1 / -1;
  }

  .order-step-panel {
    padding: 24px 18px;
  }

  .order-step-heading {
    gap: 10px;
  }

  .order-step-actions,
  .order-step-actions.is-forward {
    display: grid;
    grid-template-columns: 1fr;
  }

  .order-step-actions button {
    width: 100%;
  }

  .order-final-review,
  .order-live-summary {
    grid-template-columns: 1fr;
  }

  .order-draft-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .order-step-panel.is-active {
    animation: none;
  }

  .order-readiness-track i {
    transition: none;
  }
}
