:root {
  --ink: #101314;
  --muted: #5a6468;
  --line: #d9e2e4;
  --paper: #f7faf9;
  --white: #ffffff;
  --aqua: #5ce1e6;
  --aqua-dark: #169ca3;
  --gold: #c6a35a;
  --green: #2d6b4f;
  --shadow: 0 22px 70px rgba(16, 19, 20, 0.12);
  --radius: 8px;
  --mobile-app-nav-height: 74px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(16, 19, 20, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  padding: 10px 12px;
}

.menu-toggle {
  display: none;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 34px;
  height: 3px;
  background: var(--ink);
}

.nav-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 12px;
  cursor: pointer;
  border-radius: 0;
}

.button-primary {
  border-color: var(--aqua-dark);
  background: var(--aqua);
  color: #092326;
}

.nav-button-primary {
  border-color: var(--aqua-dark);
  background: var(--aqua);
  color: #092326;
}

.button-ghost {
  background: var(--white);
}

.home .site-header {
  min-height: 150px;
  padding: 24px max(40px, calc((100vw - 1090px) / 2));
  background: rgba(255, 255, 255, 0.96);
}

.home .brand img {
  width: 92px;
  height: 92px;
  transform: scale(1.35);
}

.home .brand span {
  display: none;
}

.home .site-nav {
  gap: 8px;
}

.home .site-nav a:not(.nav-button) {
  font-size: 13px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: stretch;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  min-height: 620px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 7vw, 100px);
  background:
    linear-gradient(135deg, rgba(16, 19, 20, 0.96), rgba(16, 19, 20, 0.82)),
    radial-gradient(circle at 20% 20%, rgba(92, 225, 230, 0.18), transparent 35%);
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 8vw, 118px);
  font-weight: 500;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 500;
}

h3 {
  font-size: 18px;
}

.hero-copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

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

.hero-stats {
  position: absolute;
  left: clamp(20px, 5vw, 72px);
  right: clamp(20px, 5vw, 72px);
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats span {
  padding: 18px;
  background: rgba(16, 19, 20, 0.72);
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.hero-stats strong {
  display: block;
  color: var(--white);
  font-size: 28px;
}

main > section,
.dashboard,
.order-page {
  padding: clamp(54px, 7vw, 96px) clamp(20px, 5vw, 72px);
}

.band {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: var(--white);
}

.intro p:last-child,
.tech p {
  color: var(--muted);
  font-size: 19px;
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: var(--ink);
  padding-top: 10px;
  padding-bottom: 10px;
}

.product-strip img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.steps article {
  background: var(--white);
  padding: 30px;
}

.steps span {
  color: var(--aqua-dark);
  font-weight: 900;
}

.steps p,
.form-note,
.panel p {
  color: var(--muted);
}

.tech img {
  width: min(100%, 520px);
  margin: auto;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.tags li,
.code-pill,
.status {
  display: inline-flex;
  padding: 8px 11px;
  background: #e9f6f4;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--ink);
  color: var(--white);
}

.cta p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 48px clamp(20px, 5vw, 72px);
  background: #0b0d0e;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer strong {
  color: var(--white);
}

.auth-page {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: clamp(36px, 6vw, 80px) 20px;
}

.auth-page.wide {
  place-items: start center;
}

.auth-panel,
.panel {
  width: min(100%, 920px);
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(28px, 5vw, 54px);
  box-shadow: var(--shadow);
}

.success-panel {
  text-align: center;
}

.form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

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

label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
  border-radius: 0;
}

textarea {
  resize: vertical;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-transform: none;
  font-weight: 700;
  color: var(--ink);
}

.check input {
  width: auto;
  min-height: auto;
  margin-top: 5px;
}

.flash-wrap {
  position: fixed;
  z-index: 50;
  right: 20px;
  top: 94px;
  display: grid;
  gap: 8px;
  width: min(420px, calc(100vw - 40px));
}

.flash {
  padding: 14px 16px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.flash-error {
  background: #7a1f2e;
}

.flash-success {
  background: var(--green);
}

.flash-warning {
  background: #8a6516;
}

.dashboard,
.order-page {
  display: grid;
  gap: 28px;
}

.order-page .panel h2,
.order-page .catalog-panel h2 {
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
}

.dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.dashboard-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

.owner-dashboard {
  display: grid;
  gap: 18px;
  width: min(100% - 40px, 1320px);
  margin: 0 auto;
  padding: 28px 0 72px;
}

.owner-dashboard > section {
  padding: 0;
}

.owner-dashboard-v2 {
  gap: 14px;
  width: min(100% - 36px, 1380px);
  padding-top: 22px;
}

.owner-console {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.65fr);
  gap: 18px;
  align-items: stretch;
  padding: 24px;
  background: #101314;
  border: 1px solid rgba(16, 19, 20, 0.14);
  border-top: 4px solid var(--gold);
  box-shadow: 0 24px 58px rgba(16, 19, 20, 0.16);
}

.owner-console-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 218px;
  padding: 10px 4px;
}

.owner-console-copy .eyebrow {
  color: var(--aqua);
}

.owner-console-copy h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(44px, 5vw, 74px);
  line-height: 0.92;
  letter-spacing: 0;
}

.owner-console-copy p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.45;
}

.owner-quick-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  width: min(100%, 680px);
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.owner-quick-search label {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.owner-quick-search input {
  min-height: 34px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 16px;
}

.owner-quick-search input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.owner-quick-search button {
  min-height: 64px;
  padding: 0 22px;
  background: var(--gold);
  color: var(--ink);
  border: 0;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.owner-console-side {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
}

.owner-health {
  display: grid;
  gap: 7px;
  padding: 18px;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.74);
}

.owner-health span,
.owner-metric span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.owner-health strong {
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.owner-health p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.owner-health.is-ok {
  border-left: 4px solid var(--aqua-dark);
}

.owner-health.is-warning {
  border-left: 4px solid #9f243f;
}

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

.owner-console-actions a {
  min-height: 74px;
  display: flex;
  align-items: end;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease;
}

.owner-console-actions a:hover {
  background: rgba(92, 225, 230, 0.14);
  border-color: rgba(92, 225, 230, 0.38);
}

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

.owner-metric {
  display: grid;
  align-content: space-between;
  min-height: 104px;
  padding: 15px;
  background: var(--white);
  border: 1px solid rgba(16, 19, 20, 0.09);
  box-shadow: 0 12px 30px rgba(16, 19, 20, 0.05);
}

.owner-metric strong {
  margin-top: 6px;
  color: var(--ink);
  font-size: clamp(24px, 2vw, 31px);
  line-height: 1.04;
  white-space: nowrap;
}

.owner-metric p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.owner-metric.is-feature {
  grid-column: span 2;
  background: #101314;
  border-color: #101314;
}

.owner-metric.is-feature span,
.owner-metric.is-feature p {
  color: rgba(255, 255, 255, 0.68);
}

.owner-metric.is-feature strong {
  color: var(--white);
}

.owner-metric.is-alert {
  border-color: rgba(159, 36, 63, 0.24);
  background: rgba(159, 36, 63, 0.05);
}

.owner-metric.is-alert strong {
  color: #9f243f;
}

.owner-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, 0.75fr);
  gap: 16px;
  align-items: start;
}

.owner-main-column,
.owner-side-column {
  display: grid;
  gap: 16px;
}

.owner-panel-priority {
  border-color: rgba(198, 163, 90, 0.28);
}

.owner-panel-priority > header {
  background: #fffaf0;
}

.owner-orders-panel .orders-table th,
.owner-orders-panel .orders-table td {
  padding-top: 13px;
  padding-bottom: 13px;
}

.owner-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 196px;
  padding: 34px 38px;
  background: linear-gradient(135deg, #0c1415 0%, #163637 58%, #e7fbfa 58%, #f8fbfa 100%);
  border: 1px solid rgba(16, 19, 20, 0.12);
  box-shadow: 0 28px 74px rgba(16, 19, 20, 0.16);
}

.owner-hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.owner-hero > * {
  position: relative;
  z-index: 1;
}

.owner-hero .eyebrow {
  color: var(--aqua);
}

.owner-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(40px, 4.2vw, 62px);
  line-height: 0.96;
  letter-spacing: 0;
}

.owner-hero p {
  max-width: 660px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.owner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.owner-hero .button {
  min-width: 152px;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16, 19, 20, 0.1);
}

.owner-hero .button-ghost {
  background: rgba(255, 255, 255, 0.92);
}

.owner-hero-dashboard {
  min-height: 230px;
  background:
    linear-gradient(135deg, rgba(12, 20, 21, 0.96) 0%, rgba(22, 54, 55, 0.94) 54%, rgba(231, 251, 250, 0.9) 54%, rgba(248, 251, 250, 0.96) 100%),
    radial-gradient(circle at 72% 30%, rgba(92, 225, 230, 0.28), transparent 28%);
}

.owner-hero-card {
  width: min(100%, 320px);
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 22px 52px rgba(16, 19, 20, 0.18);
}

.owner-hero-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.owner-hero-card strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}

.owner-hero-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.owner-module-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 62px;
  align-items: center;
  padding: 8px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(16, 19, 20, 0.05);
}

.owner-module-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.owner-module-nav a.is-active {
  background: var(--ink);
  color: var(--white);
}

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

.owner-command {
  display: grid;
  gap: 6px;
  min-height: 118px;
  padding: 18px;
  background: var(--white);
  border: 1px solid rgba(16, 19, 20, 0.1);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(16, 19, 20, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.owner-command:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 156, 163, 0.45);
  box-shadow: 0 20px 48px rgba(16, 19, 20, 0.09);
}

.owner-command span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.owner-command strong {
  font-size: 19px;
  line-height: 1.12;
}

.owner-command small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.owner-command-primary {
  background: #101314;
  color: var(--white);
  border-color: #101314;
}

.owner-command-primary small {
  color: rgba(255, 255, 255, 0.68);
}

.owner-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.owner-kpi-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.owner-kpi {
  position: relative;
  min-height: 126px;
  padding: 18px 18px 16px;
  background: var(--white);
  border: 1px solid rgba(16, 19, 20, 0.1);
  box-shadow: 0 16px 42px rgba(16, 19, 20, 0.07);
}

.owner-kpi::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 4px;
  background: var(--aqua);
}

.owner-kpi-feature {
  background: #101314;
  color: var(--white);
  border-color: #101314;
}

.owner-kpi-feature::before {
  background: var(--gold);
}

.owner-kpi-feature span,
.owner-kpi-feature p {
  color: rgba(255, 255, 255, 0.68);
}

.owner-kpi-alert::before {
  background: #9f243f;
}

.owner-kpi-alert strong {
  color: #9f243f;
}

.owner-kpi span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.owner-kpi strong {
  display: block;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.05;
  white-space: nowrap;
}

.owner-kpi p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.owner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(330px, 0.9fr);
  align-items: start;
  gap: 18px;
}

.owner-grid.two-columns {
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
}

.owner-grid-dashboard {
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.85fr);
}

.owner-wide {
  grid-column: span 1;
}

.owner-panel {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(16, 19, 20, 0.1);
  box-shadow: 0 16px 42px rgba(16, 19, 20, 0.07);
}

.owner-panel > header {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: #fbfdfc;
}

.owner-panel h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
}

.owner-panel header .eyebrow {
  margin: 0 0 3px;
  color: var(--gold);
}

.owner-panel header a {
  color: var(--aqua-dark);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.owner-list,
.owner-feed,
.owner-profile,
.owner-alert-stack,
.owner-timeline {
  padding: 16px 20px;
}

.owner-list p,
.owner-profile p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid rgba(16, 19, 20, 0.08);
}

.owner-list p:last-child,
.owner-profile p:last-child {
  border-bottom: 0;
}

.owner-list span,
.owner-profile span {
  color: var(--muted);
}

.owner-list strong,
.owner-profile strong {
  text-align: right;
}

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

.owner-feed-row {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(16, 19, 20, 0.08);
  color: var(--ink);
  text-decoration: none;
}

.owner-feed-row:hover strong,
.owner-table a:hover {
  color: var(--aqua-dark);
}

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

.owner-feed-row span {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-alert-stack {
  display: grid;
  gap: 10px;
}

.owner-alert,
.owner-empty-state,
.owner-timeline-row {
  display: grid;
  gap: 5px;
  padding: 14px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(16, 19, 20, 0.08);
  background: #fbfdfc;
}

.owner-alert span,
.owner-timeline-row span {
  width: max-content;
  padding: 4px 7px;
  background: rgba(22, 156, 163, 0.1);
  color: var(--aqua-dark);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.owner-alert strong,
.owner-empty-state strong,
.owner-timeline-row strong {
  line-height: 1.2;
}

.owner-alert small,
.owner-empty-state span,
.owner-timeline-row small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-alert-warning {
  border-color: rgba(198, 163, 90, 0.32);
  background: rgba(198, 163, 90, 0.11);
}

.owner-alert-danger {
  border-color: rgba(159, 36, 63, 0.22);
  background: rgba(159, 36, 63, 0.08);
}

.owner-alert-danger span {
  background: rgba(159, 36, 63, 0.1);
  color: #9f243f;
}

.owner-empty-state {
  min-height: 116px;
  place-content: center;
  text-align: center;
}

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

.owner-timeline-row:hover strong {
  color: var(--aqua-dark);
}

.owner-toolbar-panel {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(16, 19, 20, 0.05);
}

.owner-search {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  align-items: end;
  gap: 12px;
}

.owner-search label {
  margin: 0;
}

.owner-table {
  width: 100%;
  border-collapse: collapse;
}

.owner-table th,
.owner-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(16, 19, 20, 0.08);
  text-align: left;
  vertical-align: top;
}

.owner-table th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.owner-table tr:nth-child(even) td {
  background: #f8fbfa;
}

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

.owner-small-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 6px;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 22px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
}

.mini-total {
  min-width: 220px;
  padding: 20px;
  background: var(--ink);
  color: var(--white);
}

.mini-total span {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
}

.mini-total strong {
  font-size: 30px;
}

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

.order-steps div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--white);
}

.order-steps span {
  grid-row: span 2;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--ink);
  font-weight: 900;
}

.order-steps strong {
  line-height: 1.1;
}

.order-steps small {
  color: var(--muted);
  font-weight: 700;
}

.order-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}

.order-form > .panel,
.order-form > .catalog-panel {
  grid-column: 1;
}

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

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

.catalog-panel {
  display: grid;
  gap: 16px;
}

.catalog-panel .section-head {
  margin-bottom: 4px;
}

.product-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(35, 207, 210, 0.28);
  background: #eefafa;
}

.product-toolbar strong {
  color: var(--green);
}

.text-button {
  min-height: 36px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

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

.product-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-card.is-selected {
  border-color: rgba(35, 207, 210, 0.82);
  box-shadow: 0 18px 42px rgba(22, 156, 163, 0.12);
  transform: translateY(-1px);
}

.product-card img {
  width: 112px;
  height: 86px;
  object-fit: cover;
  background: var(--paper);
}

.product-info {
  min-width: 0;
}

.product-card h3 {
  font-size: 15px;
  line-height: 1.2;
}

.product-card p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 13px;
}

.product-card strong {
  color: var(--green);
}

.qty-control {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 8px;
  align-items: center;
}

.qty-button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

.qty-button-plus {
  border-color: transparent;
  background: var(--aqua);
}

.qty {
  display: grid;
  gap: 5px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6fbfa;
}

.qty span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.qty input {
  min-height: 34px;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: center;
  font-weight: 900;
}

.selected-cart {
  display: none;
}

.selected-cart.has-items,
.selected-cart:has(.cart-line) {
  display: block;
}

.cart-lines {
  display: grid;
  gap: 10px;
}

.cart-empty {
  margin: 0;
  color: var(--muted);
}

.cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line:last-child {
  border-bottom: 0;
}

.cart-line div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.cart-line strong {
  font-size: 14px;
  line-height: 1.2;
}

.cart-line small {
  color: var(--muted);
  font-weight: 800;
}

.cart-line span {
  font-weight: 900;
  white-space: nowrap;
}

.upload-dropzone {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 190px;
  margin-bottom: 16px;
  padding: 28px;
  border: 1px dashed rgba(22, 156, 163, 0.6);
  background:
    linear-gradient(135deg, rgba(92, 225, 230, 0.14), rgba(255, 255, 255, 0.78)),
    var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.upload-dropzone.is-dragging {
  border-color: var(--aqua-dark);
  background:
    linear-gradient(135deg, rgba(92, 225, 230, 0.28), rgba(198, 163, 90, 0.14)),
    var(--white);
  transform: translateY(-2px);
}

.upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-dropzone-copy {
  display: grid;
  gap: 6px;
}

.upload-kicker {
  width: max-content;
  padding: 6px 10px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.upload-dropzone strong {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
}

.upload-dropzone p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.upload-list {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.upload-empty,
.upload-count,
.upload-notice {
  margin: 0;
  font-size: 13px;
}

.upload-empty {
  color: var(--muted);
}

.upload-count {
  font-weight: 900;
  text-transform: uppercase;
}

.upload-notice {
  padding: 10px 12px;
  background: rgba(198, 163, 90, 0.18);
  color: #5d4515;
}

.upload-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--white);
}

.upload-item-meta {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.upload-item-meta strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-item-meta span {
  color: var(--muted);
  font-size: 13px;
}

.persisted-files {
  display: grid;
  gap: 10px;
}

.upload-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.upload-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-row small {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.upload-row:hover {
  border-color: rgba(22, 156, 163, 0.38);
  background: #f5fbfa;
}

.upload-remove {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.order-summary {
  position: sticky;
  top: 104px;
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: start;
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.order-summary div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 12px;
}

.order-summary .grand {
  font-size: 22px;
  border-bottom: 0;
}

.order-summary p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.mobile-order-bar {
  display: none;
}

.mobile-app-nav {
  display: none;
}

.anthea-premium {
  --ap-ink: #162022;
  --ap-muted: #5f6b6d;
  --ap-paper: #f7f4ef;
  --ap-white: #ffffff;
  --ap-teal: #23cfd2;
  --ap-teal-dark: #0a8d92;
  --ap-champagne: #c6a56a;
  --ap-graphite: #20282b;
  --ap-line: rgba(22, 32, 34, 0.12);
  --ap-shadow: 0 24px 70px rgba(22, 32, 34, 0.18);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: var(--ap-paper);
  color: var(--ap-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

.anthea-premium * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.anthea-premium img {
  display: block;
  max-width: 100%;
  height: auto;
}

.anthea-premium a {
  color: inherit;
  text-decoration: none;
}

.anthea-premium p:empty {
  display: none;
}

.ap-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.ap-hero {
  position: relative;
  min-height: 680px;
  padding: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--ap-white);
  background: var(--ap-graphite);
}

.ap-hero__media,
.ap-hero__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ap-hero__media {
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.ap-hero__scrim {
  background:
    linear-gradient(90deg, rgba(9, 16, 18, 0.9) 0%, rgba(9, 16, 18, 0.64) 42%, rgba(9, 16, 18, 0.16) 100%),
    linear-gradient(0deg, rgba(9, 16, 18, 0.9) 0%, rgba(9, 16, 18, 0.06) 46%);
}

.ap-hero__inner {
  position: relative;
  z-index: 2;
  padding: 86px 0 132px;
}

.ap-eyebrow {
  margin: 0 0 16px !important;
  color: var(--ap-teal);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

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

.anthea-premium h1 {
  max-width: 720px;
  margin: 0 0 18px !important;
  color: var(--ap-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 76px;
  line-height: 0.96;
  font-weight: 500;
}

.ap-hero__copy {
  max-width: 650px;
  margin-bottom: 28px !important;
  color: rgba(255, 255, 255, 0.88);
  font-size: 21px;
  line-height: 1.55;
}

.ap-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ap-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.ap-button--primary {
  color: var(--ap-ink);
  background: var(--ap-teal);
}

.ap-button--dark {
  color: var(--ap-white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.ap-button--light {
  color: var(--ap-white);
  border-color: rgba(255, 255, 255, 0.36);
  background: transparent;
}

.ap-hero__facts {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  display: grid;
  width: min(1120px, calc(100% - 48px));
  grid-template-columns: repeat(3, 1fr);
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.ap-hero__facts div {
  min-height: 112px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.ap-hero__facts div:last-child {
  border-right: 0;
}

.ap-hero__facts strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ap-teal);
  font-size: 28px;
  line-height: 1;
}

.ap-hero__facts span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.ap-section {
  padding: 96px 0;
}

.ap-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}

.ap-intro {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
}

.anthea-premium h2 {
  margin: 0 0 24px !important;
  color: var(--ap-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 500;
}

.anthea-premium h3 {
  margin: 0 0 14px !important;
  color: var(--ap-ink);
  font-size: 23px;
  line-height: 1.18;
  font-weight: 800;
}

.ap-copy {
  color: var(--ap-muted);
  font-size: 18px;
}

.ap-copy p {
  margin-bottom: 16px;
}

.ap-visual-band {
  padding: 22px 0;
  background: var(--ap-white);
  border-top: 1px solid var(--ap-line);
  border-bottom: 1px solid var(--ap-line);
}

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

.ap-product-grid img {
  width: 100%;
  height: 152px;
  object-fit: cover;
  border-radius: 8px;
  background: #edf0f0;
}

.ap-process {
  background: #eef6f5;
}

.ap-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.ap-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ap-process-card {
  min-height: 310px;
  padding: 30px;
  border: 1px solid rgba(10, 141, 146, 0.18);
  border-radius: 8px;
  background: var(--ap-white);
  box-shadow: 0 18px 48px rgba(22, 32, 34, 0.08);
}

.ap-step {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  border-radius: 50%;
  color: var(--ap-ink);
  background: var(--ap-teal);
  font-weight: 900;
}

.ap-process-card p,
.ap-tech p,
.ap-quality-panel p,
.ap-access p {
  color: var(--ap-muted);
}

.ap-tech {
  color: var(--ap-white);
  background: var(--ap-graphite);
}

.ap-tech h2,
.ap-access h2 {
  color: var(--ap-white);
}

.ap-tech-media {
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.ap-tech-media img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.ap-tech p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.ap-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.ap-pills span {
  padding: 9px 13px;
  border: 1px solid rgba(35, 207, 210, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(35, 207, 210, 0.08);
  font-size: 14px;
}

.ap-quality {
  background: var(--ap-white);
}

.ap-quality-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--ap-shadow);
}

.ap-quality-panel {
  padding: 46px 0;
}

.ap-access {
  color: var(--ap-white);
  background: #132a2c;
}

.ap-access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 64px;
  align-items: start;
}

.ap-access p {
  color: rgba(255, 255, 255, 0.74);
}

.ap-access-panel {
  display: grid;
  gap: 14px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1100px) {
  .hero,
  .band,
  .order-form {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 360px;
  }

  .hero-stats,
  .order-summary {
    position: static;
  }

  .order-summary,
  .order-form > .panel,
  .order-form > .catalog-panel {
    grid-column: auto;
    grid-row: auto;
  }

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

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

  .owner-console,
  .owner-workbench {
    grid-template-columns: 1fr;
  }

  .owner-console-side {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: auto;
  }

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

  .owner-metric.is-feature {
    grid-column: span 2;
  }

  .owner-grid,
  .owner-grid.two-columns {
    grid-template-columns: 1fr;
  }

  .owner-wide {
    grid-column: auto;
  }
}

@media (max-width: 980px) {
  .ap-hero {
    min-height: 760px;
  }

  .ap-hero__inner {
    padding: 90px 0 176px;
  }

  .anthea-premium h1 {
    font-size: 58px;
  }

  .ap-hero__copy {
    font-size: 19px;
  }

  .ap-hero__facts,
  .ap-grid,
  .ap-intro,
  .ap-card-grid,
  .ap-access-grid {
    grid-template-columns: 1fr;
  }

  .ap-grid,
  .ap-intro,
  .ap-access-grid {
    gap: 34px;
  }

  .ap-hero__facts {
    width: 100%;
  }

  .ap-hero__facts div {
    min-height: 92px;
  }

  .ap-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
    padding-bottom: calc(var(--mobile-app-nav-height) + env(safe-area-inset-bottom));
  }

  .site-header {
    align-items: center;
    flex-direction: row;
    min-height: 92px;
    padding: calc(14px + env(safe-area-inset-top)) 22px 14px;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .brand span {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 24;
    display: none;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 22px 40px 28px;
    background: #ffffff;
    border-bottom: 1px solid rgba(16, 19, 20, 0.08);
    box-shadow: 0 24px 48px rgba(16, 19, 20, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
  }

  .site-nav .nav-button {
    min-height: 52px;
    justify-content: center;
    padding: 0 18px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-copy {
    padding-bottom: 28px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 54px);
  }

  h2 {
    font-size: clamp(31px, 9vw, 42px);
  }

  main > section,
  .dashboard,
  .order-page {
    padding: 30px 16px;
  }

  .owner-dashboard {
    gap: 18px;
    width: calc(100% - 24px);
    padding: 18px 0 calc(96px + env(safe-area-inset-bottom));
  }

  .owner-dashboard-v2 {
    gap: 12px;
    width: calc(100% - 20px);
  }

  .owner-console {
    gap: 14px;
    padding: 18px;
    border-radius: 8px;
  }

  .owner-console-copy {
    min-height: auto;
    gap: 12px;
  }

  .owner-console-copy h1 {
    font-size: clamp(38px, 12vw, 50px);
  }

  .owner-console-copy p {
    font-size: 16px;
  }

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

  .owner-quick-search button {
    min-height: 48px;
    width: 100%;
  }

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

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

  .owner-console-actions a {
    min-height: 58px;
  }

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

  .owner-metric.is-feature {
    grid-column: 1 / -1;
  }

  .owner-hero {
    align-items: stretch;
    flex-direction: column;
    min-height: auto;
    padding: 22px 18px;
    background: linear-gradient(145deg, #0c1415 0%, #163637 100%);
    border-radius: 8px;
  }

  .owner-hero-dashboard {
    background: linear-gradient(145deg, #0c1415 0%, #163637 100%);
  }

  .owner-hero-card {
    width: 100%;
    padding: 18px;
    border-radius: 8px;
  }

  .owner-hero::before {
    inset: 10px;
  }

  .owner-hero h1 {
    font-size: clamp(34px, 9vw, 42px);
    line-height: 1;
  }

  .owner-actions {
    justify-content: stretch;
  }

  .owner-actions .button {
    width: 100%;
  }

  .owner-module-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    border-radius: 8px;
  }

  .owner-module-nav a {
    flex: 0 0 auto;
  }

  .owner-kpi-grid,
  .owner-kpi-grid.compact,
  .owner-command-grid,
  .owner-search {
    grid-template-columns: 1fr;
  }

  .owner-kpi,
  .owner-panel,
  .owner-toolbar-panel {
    border-radius: 8px;
  }

  .owner-panel > header {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    padding: 16px;
  }

  .owner-list,
  .owner-feed,
  .owner-profile,
  .owner-alert-stack,
  .owner-timeline {
    padding: 12px 16px;
  }

  .owner-list p,
  .owner-profile p {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .owner-list strong,
  .owner-profile strong {
    text-align: left;
  }

  .owner-feed-row span,
  .owner-alert small,
  .owner-timeline-row small,
  .owner-cell-muted {
    white-space: normal;
  }

  .auth-page {
    min-height: calc(100vh - 92px);
    padding: 28px 16px;
    place-items: start stretch;
  }

  .auth-panel,
  .panel {
    width: 100%;
    padding: 22px 16px;
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(16, 19, 20, 0.08);
  }

  .panel h2,
  .auth-panel h1 {
    font-size: clamp(30px, 8vw, 38px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .section-head.compact {
    margin-bottom: 18px;
  }

  .section-head.compact p {
    font-size: 15px;
  }

  .form {
    gap: 14px;
    margin-top: 22px;
  }

  label {
    gap: 8px;
    font-size: 11px;
  }

  input,
  select,
  textarea {
    min-height: 54px;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
  }

  textarea {
    min-height: 126px;
  }

  .button,
  .form .button,
  .auth-panel .button,
  .dashboard-head .button {
    width: 100%;
    min-height: 56px;
    border-radius: 8px;
    font-size: 13px;
  }

  .flash-wrap {
    top: 104px;
    left: 16px;
    right: 16px;
    width: auto;
  }

  .dashboard-head {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .dashboard-head h1 {
    font-size: clamp(34px, 9vw, 46px);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .mini-total {
    width: 100%;
    min-width: 0;
    border-radius: 8px;
  }

  .order-steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .order-steps div {
    padding: 12px;
    border-radius: 8px;
  }

  .hero-stats,
  .steps,
  .product-strip,
  .site-footer,
  .grid-form,
  .form-row,
  .product-grid,
  .upload-dropzone {
    grid-template-columns: 1fr;
  }

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

  .product-toolbar {
    align-items: stretch;
    flex-direction: column;
    border-radius: 8px;
  }

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

  .text-button {
    min-height: 44px;
    border: 1px solid rgba(22, 156, 163, 0.18);
    border-radius: 8px;
    background: var(--white);
  }

  .product-card {
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
  }

  .product-card img {
    width: 92px;
    height: 72px;
    border-radius: 6px;
  }

  .product-card h3 {
    font-size: 15px;
  }

  .qty-control {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    gap: 10px;
  }

  .qty-button {
    width: 52px;
    height: 56px;
  }

  .qty {
    grid-column: auto;
    grid-template-columns: 1fr;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f1f8f7;
  }

  .qty input {
    min-height: 52px;
    font-size: 20px;
    font-weight: 900;
  }

  .cart-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .upload-dropzone {
    min-height: auto;
    padding: 20px;
    border-radius: 8px;
  }

  .upload-kicker {
    border-radius: 999px;
  }

  .upload-dropzone strong {
    font-size: 24px;
    line-height: 1.08;
  }

  .upload-dropzone .button {
    width: 100%;
  }

  .upload-item {
    align-items: stretch;
    flex-direction: column;
    border-radius: 8px;
  }

  .upload-remove {
    width: 100%;
    min-height: 44px;
    border-radius: 8px;
  }

  .order-page {
    padding-bottom: calc(188px + env(safe-area-inset-bottom));
  }

  .order-summary {
    position: static;
    padding: 18px;
    border-radius: 8px;
    margin-bottom: 16px;
  }

  .order-summary .button {
    display: none;
  }

  .mobile-order-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(var(--mobile-app-nav-height) + env(safe-area-inset-bottom));
    z-index: 48;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(16, 19, 20, 0.12);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -18px 42px rgba(16, 19, 20, 0.12);
    backdrop-filter: blur(18px);
  }

  .mobile-order-bar span {
    display: grid;
    gap: 2px;
  }

  .mobile-order-bar small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
  }

  .mobile-order-bar strong {
    font-size: 22px;
    line-height: 1.1;
  }

  .mobile-order-bar .button {
    width: auto;
    min-width: 126px;
  }

  .mobile-app-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 58;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    min-height: calc(var(--mobile-app-nav-height) + env(safe-area-inset-bottom));
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(16, 19, 20, 0.12);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -18px 46px rgba(16, 19, 20, 0.14);
    backdrop-filter: blur(22px);
  }

  .mobile-app-nav a {
    min-width: 0;
    min-height: 56px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    padding: 6px 4px;
    color: #526062;
    text-decoration: none;
  }

  .mobile-app-nav a.is-active {
    color: #092326;
    background: rgba(92, 225, 230, 0.22);
    border: 1px solid rgba(22, 156, 163, 0.22);
  }

  .mobile-app-nav svg {
    width: 22px;
    height: 22px;
  }

  .mobile-app-nav span {
    width: 100%;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
  }

  .table-wrap {
    overflow: visible;
  }

  .responsive-table,
  .responsive-table thead,
  .responsive-table tbody,
  .responsive-table tr,
  .responsive-table th,
  .responsive-table td {
    display: block;
    width: 100%;
  }

  .responsive-table thead {
    display: none;
  }

  .responsive-table tbody {
    display: grid;
    gap: 12px;
  }

  .responsive-table tr {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
  }

  .responsive-table td {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(16, 19, 20, 0.08);
    text-align: right;
  }

  .responsive-table td:last-child {
    border-bottom: 0;
  }

  .responsive-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
  }

  .responsive-table .empty-row td {
    justify-content: flex-start;
    text-align: left;
  }

  .home .site-header {
    min-height: 150px;
    padding-inline: 44px;
  }

  .home .brand img {
    width: 118px;
    height: 118px;
    transform: scale(1.08);
  }

  .ap-inner {
    width: calc(100% - 32px);
  }

  .ap-hero {
    display: block;
    min-height: auto;
    background: #081112;
  }

  .ap-hero__media {
    position: relative;
    height: 438px;
    object-position: center top;
  }

  .ap-hero__scrim {
    top: 0;
    bottom: auto;
    height: 438px;
  }

  .ap-hero__inner {
    padding: 54px 0 340px;
  }

  .anthea-premium h1 {
    font-size: 45px;
  }

  .anthea-premium h2 {
    font-size: 34px;
  }

  .ap-hero__copy {
    font-size: 17px;
  }

  .ap-actions {
    flex-direction: column;
  }

  .ap-button {
    width: 100%;
  }

  .ap-hero__facts {
    grid-template-columns: 1fr;
  }

  .ap-hero__facts div {
    min-height: auto;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .ap-hero__facts div:last-child {
    border-bottom: 0;
  }

  .ap-section {
    padding: 64px 0;
  }

  .ap-product-grid {
    grid-template-columns: 1fr;
  }

  .ap-process-card {
    min-height: auto;
    padding: 24px;
  }

  .ap-access-panel {
    padding: 24px;
  }

  h1 {
    font-size: 48px;
  }
}
