:root {
  color-scheme: light;
  --bg: #f7fafc;
  --card: #ffffff;
  --text: #102033;
  --muted: #66758a;
  --primary: #57c925;
  --primary-dark: #2f9f16;
  --secondary: #062544;
  --secondary-soft: #eaf5ff;
  --line: #dfe7ef;
  --soft: #eef8f7;
  --soft-blue: #edf5ff;
  --soft-gray: #f5f7fa;
  --shadow: 0 18px 44px rgba(15, 32, 51, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

[hidden] { display: none !important; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.login-view {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  justify-items: center;
  gap: 24px;
  padding: clamp(22px, 4vw, 52px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 255, 0.92)),
    #fff;
}

.login-brand {
  display: grid;
  place-items: center;
  gap: 12px;
  width: min(760px, 100%);
  text-align: center;
}

.login-brand img {
  width: min(520px, 92%);
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 38px rgba(6, 37, 68, 0.12));
}

.login-brand-compact img {
  width: min(360px, 82%);
}

.login-tagline {
  display: grid;
  gap: 4px;
  color: var(--secondary);
  font-size: 18px;
}

.login-tagline span {
  color: var(--muted);
  font-size: 15px;
}

.login-panel {
  width: min(680px, 100%);
  justify-self: center;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px rgba(6, 37, 68, 0.12);
  text-align: center;
}

body.is-login .login-help {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.login-panel h1 {
  margin-bottom: 8px;
  font-size: clamp(34px, 4vw, 52px);
}

.login-panel p {
  max-width: 520px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 18px;
}

.login-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  text-align: left;
}

.login-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.login-form input,
.login-form select {
  min-height: 56px;
  border-radius: 16px;
  font-size: 17px;
}

.login-form button,
.primary-link,
.workspace-action {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--secondary);
  color: #fff;
  font-weight: 900;
  display: inline-grid;
  place-items: center;
  padding: 0 18px;
}

.login-form button {
  grid-column: 1 / -1;
  min-height: 60px;
  margin-top: 4px;
  background: linear-gradient(135deg, var(--secondary), #0b416f);
  font-size: 18px;
}

.login-help {
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(87, 201, 37, 0.24);
  border-radius: 14px;
  background: rgba(87, 201, 37, 0.08);
  color: var(--secondary);
  font-size: 14px;
}

.login-error {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  padding: 12px 14px;
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: #fff1f2;
  color: #991b1b;
  font-weight: 800;
}

.landing-view {
  min-height: 100vh;
  background: #f7fafc;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(223, 231, 239, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary);
  font-size: 24px;
  font-weight: 950;
}

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

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

.landing-nav a {
  display: inline-grid;
  min-height: 42px;
  place-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--secondary);
  font-weight: 900;
}

.landing-nav a:hover {
  background: var(--secondary-soft);
}

.landing-login-link,
.landing-primary {
  background: var(--primary);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(47, 159, 22, 0.25);
}

.landing-main {
  display: grid;
  gap: clamp(24px, 5vw, 64px);
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(28px, 6vw, 76px) 0 60px;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: clamp(24px, 5vw, 62px);
}

.landing-hero h1,
.landing-section h2 {
  margin-bottom: 16px;
  color: var(--secondary);
  line-height: 1.04;
}

.landing-hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 76px);
}

.landing-section h2 {
  max-width: 820px;
  font-size: clamp(32px, 4vw, 54px);
}

.landing-lead,
.landing-section p {
  color: var(--muted);
  font-size: 18px;
}

.landing-lead {
  max-width: 700px;
  font-size: clamp(18px, 2vw, 22px);
}

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

.landing-primary,
.landing-secondary {
  display: inline-grid;
  min-height: 54px;
  place-items: center;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 950;
}

.landing-secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--secondary);
  box-shadow: 0 10px 24px rgba(6, 37, 68, 0.06);
}

.landing-secondary.light {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
}

.contact-view {
  min-height: 100vh;
  background:
    radial-gradient(circle at 84% 12%, rgba(87, 201, 37, 0.18), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #eef6fb 100%);
}

.contact-header {
  position: static;
}

.contact-main {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(28px, 6vw, 76px) 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.05fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-copy h1 {
  margin-bottom: 16px;
  color: var(--secondary);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.04;
}

.contact-copy p {
  color: var(--muted);
  font-size: 19px;
}

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

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  color: var(--secondary);
  font: inherit;
  font-weight: 800;
  background: #f8fbff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .span-2,
.contact-form button,
.contact-status {
  grid-column: 1 / -1;
}

.contact-form button {
  min-height: 56px;
  border: 0;
  border-radius: 16px;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.contact-form button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.contact-status {
  margin: 0;
  min-height: 24px;
  font-weight: 900;
}

.contact-status.success {
  color: var(--primary-dark);
}

.contact-status.error {
  color: #c0342d;
}

.landing-hero-visual,
.landing-screen,
.dex-landing-card,
.backoffice-grid article,
.landing-final,
.landing-strip article,
.landing-process article {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.landing-hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 78% 18%, rgba(87, 201, 37, 0.18), transparent 26%),
    linear-gradient(145deg, #ffffff, #edf7ff);
}

.landing-hero-visual > img {
  width: min(620px, 92%);
  filter: drop-shadow(0 22px 38px rgba(6, 37, 68, 0.14));
}

.legacy-copy {
  display: none !important;
}

.landing-dashboard-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: min(330px, calc(100% - 56px));
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 38px rgba(6, 37, 68, 0.12);
}

.landing-dashboard-card.small {
  left: auto;
  right: 24px;
  top: 24px;
  bottom: auto;
  width: 230px;
}

.landing-dashboard-card span,
.landing-strip span,
.landing-process p,
.backoffice-grid p {
  color: var(--muted);
}

.landing-dashboard-card strong {
  display: block;
  color: var(--secondary);
  font-size: 28px;
  line-height: 1.08;
}

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

.landing-strip article {
  display: grid;
  gap: 6px;
  min-height: 132px;
  padding: 20px;
  border-radius: 18px;
}

.landing-strip strong {
  color: var(--secondary);
  font-size: 22px;
}

.landing-capabilities {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 8%, rgba(87, 201, 37, 0.14), transparent 28%),
    linear-gradient(135deg, #ffffff, #f2fbf5);
  box-shadow: var(--shadow);
}

.landing-capabilities-copy p {
  max-width: 900px;
}

.landing-agent-suite {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 12%, rgba(15, 118, 110, 0.12), transparent 30%),
    linear-gradient(135deg, #ffffff, #f4faf8);
  box-shadow: var(--shadow);
}

.landing-agent-suite > div:first-child p {
  max-width: 940px;
}

.agent-preview-board .preview-board-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

.capability-grid article {
  display: grid;
  gap: 10px;
  min-height: 168px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(6, 37, 68, 0.07);
}

.capability-grid strong {
  color: var(--secondary);
  font-size: 21px;
  line-height: 1.14;
}

.capability-grid span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.client-preview-board {
  padding: 18px;
  border: 1px solid rgba(87, 201, 37, 0.22);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(6, 37, 68, 0.08);
}

.preview-board-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.preview-board-head span,
.preview-board-grid small {
  color: var(--primary);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.preview-board-head strong {
  color: var(--secondary);
  font-size: 24px;
}

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

.preview-board-grid div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px;
  border-radius: 16px;
  background: #f8fbff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.preview-board-grid strong {
  color: var(--secondary);
  line-height: 1.16;
}

.preview-board-grid span {
  color: var(--muted);
  font-size: 14px;
}

.landing-section {
  scroll-margin-top: 96px;
}

.landing-domain {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(87, 201, 37, 0.22);
  border-radius: 28px;
  background: linear-gradient(135deg, #f9fffb, #eef8ff);
}

.domain-copy {
  display: grid;
  gap: 14px;
}

.domain-copy h2 {
  max-width: 760px;
}

.domain-copy p {
  max-width: 820px;
}

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

.domain-flow article {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 35px rgba(9, 32, 55, 0.07);
}

.domain-flow span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 950;
}

.domain-flow strong {
  display: block;
  color: var(--secondary);
  font-size: 1.02rem;
  line-height: 1.15;
}

.domain-flow p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.domain-login-preview {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(9, 32, 55, 0.12);
}

.domain-browser-bar {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #f7fafc;
}

.domain-browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #c9d5df;
}

.domain-browser-bar strong {
  margin-left: 8px;
  color: var(--secondary);
  font-size: 0.92rem;
}

.domain-login-card {
  min-height: 210px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 28px;
  text-align: center;
}

.domain-logo-mark {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #eef9e9;
  color: var(--primary-strong);
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(87, 201, 37, 0.24);
}

.domain-login-card strong {
  color: var(--secondary);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.domain-login-card p {
  max-width: 520px;
  margin: 0;
}

.domain-login-card small {
  color: var(--muted);
  font-weight: 850;
}

.landing-two-col,
.landing-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
}

.landing-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.landing-list li {
  position: relative;
  padding-left: 30px;
  color: var(--secondary);
  font-weight: 800;
}

.landing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: inset 0 0 0 5px #dff8d8;
}

.landing-screen {
  overflow: hidden;
  padding: 18px;
  border-radius: 24px;
}

.screen-top {
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
}

.screen-top span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #c8d7e5;
}

.screen-search {
  min-height: 54px;
  display: grid;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
  color: var(--muted);
  font-weight: 850;
}

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

.screen-grid div {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.screen-grid img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

.screen-grid strong,
.screen-grid small {
  overflow-wrap: anywhere;
}

.screen-grid strong {
  color: var(--secondary);
  line-height: 1.15;
}

.screen-grid small {
  color: var(--muted);
}

.landing-feature {
  padding: clamp(22px, 4vw, 40px);
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff, #eef9f7);
}

.landing-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

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

.dex-value-grid article {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 16px;
  border: 1px solid rgba(87, 201, 37, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(6, 37, 68, 0.06);
}

.dex-value-grid strong {
  color: var(--secondary);
  line-height: 1.14;
}

.dex-value-grid span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.38;
}

.landing-pills span {
  display: inline-grid;
  min-height: 38px;
  place-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--secondary);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(6, 37, 68, 0.06);
}

.dex-landing-card {
  overflow: hidden;
  border-radius: 24px;
}

.dex-landing-card img {
  width: 100%;
  height: 430px;
  object-fit: contain;
  object-position: center;
  padding: 0;
  background: #fff;
}

.dex-chat-preview {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: var(--secondary);
}

.dex-chat-preview p {
  margin: 0;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 15px;
}

.consumable-screen {
  padding: 0;
  background: #fff;
}

.consumable-screen img {
  width: 100%;
  display: block;
}

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

.landing-process article,
.backoffice-grid article {
  padding: 20px;
  border-radius: 18px;
}

.landing-process span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-weight: 950;
}

.landing-process strong,
.backoffice-grid h3 {
  display: block;
  color: var(--secondary);
  font-size: 20px;
  line-height: 1.18;
}

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

.backoffice-preview {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  min-height: 250px;
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f8fbff, #ffffff);
  box-shadow: inset 0 0 0 1px var(--line);
}

.preview-sidebar,
.preview-panel {
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.preview-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px;
}

.preview-sidebar span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--secondary);
}

.preview-sidebar strong {
  color: var(--secondary);
}

.preview-sidebar small {
  display: block;
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--secondary-soft);
  color: var(--muted);
  font-weight: 900;
}

.preview-panel {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
}

.preview-panel b {
  color: var(--primary-dark);
  font-size: 13px;
  text-transform: uppercase;
}

.preview-panel div {
  display: grid;
  gap: 3px;
  padding: 11px;
  border-radius: 12px;
  background: #f8fbff;
}

.preview-panel div strong {
  color: var(--secondary);
  overflow-wrap: anywhere;
}

.preview-panel div span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.landing-saas {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(87, 201, 37, 0.22);
  border-radius: 30px;
  background: linear-gradient(135deg, #ffffff, #f6fbf2);
  box-shadow: var(--shadow);
}

.landing-saas > div:first-child p {
  max-width: 920px;
}

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

.saas-plan-grid article {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 520px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(6, 37, 68, 0.07);
}

.saas-plan-grid article span {
  width: max-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: #edfbe7;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.saas-plan-grid article strong {
  color: var(--secondary);
  font-size: 24px;
  line-height: 1.12;
}

.saas-plan-grid article p {
  color: var(--muted);
  font-size: 16px;
}

.saas-plan-grid ul {
  display: grid;
  gap: 9px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.saas-plan-grid li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.34;
}

.saas-plan-grid li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(87, 201, 37, 0.14);
}

.saas-plan-grid .featured-plan {
  border-color: rgba(87, 201, 37, 0.48);
  background:
    radial-gradient(circle at 92% 10%, rgba(87, 201, 37, 0.16), transparent 34%),
    #ffffff;
}

.landing-final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--secondary), #0b416f);
}

.landing-final h2,
.landing-final p,
.landing-final .eyebrow {
  color: #fff;
}

.landing-final p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.login-panel > h1 + p:not(.login-subtitle) {
  display: none;
}

.login-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.login-links a {
  display: inline-grid;
  min-height: 40px;
  place-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-weight: 900;
}

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

button, input, select { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

button { cursor: pointer; }

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

.home-view {
  display: grid;
  gap: 30px;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(22px, 2.4vw, 31px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 6px;
  font-size: 17px;
  line-height: 1.25;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(223, 231, 239, 0.9);
  background: rgba(247, 250, 252, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 850;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  line-height: 1.05;
}

.deskpoint-brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.18);
}

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

.header-actions a {
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

.header-actions a.active {
  border-color: rgba(87, 201, 37, 0.45);
  background: rgba(87, 201, 37, 0.11);
  color: var(--primary);
}

.header-actions .reserved-nav {
  min-height: 48px;
  padding-inline: 22px;
  border-color: rgba(6, 37, 68, 0.12);
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(6, 37, 68, 0.14);
}

.header-actions .reserved-nav.active {
  border-color: var(--secondary);
  background: var(--primary);
  color: #fff;
}

.header-actions .order-nav {
  margin-left: auto;
  border-color: rgba(87, 201, 37, 0.35);
  background: rgba(87, 201, 37, 0.12);
  color: var(--primary-dark);
  position: relative;
  overflow: hidden;
}

.header-actions .order-nav.has-items {
  border-color: rgba(87, 201, 37, 0.72);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 28px rgba(87, 201, 37, 0.24);
}

.cart-count {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  margin-left: 8px;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 950;
}

.order-nav.cart-bump {
  animation: cartPulse 620ms ease both;
}

@keyframes cartPulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(87, 201, 37, 0.18); }
  100% { transform: scale(1); }
}

.session-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.session-greeting {
  max-width: min(420px, 34vw);
  color: var(--secondary);
  font-size: 0.98rem;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-copy .session-greeting {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
}

.role-pill,
.logout-button {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--secondary);
  font-weight: 900;
}

.role-pill {
  border-color: rgba(87, 201, 37, 0.42);
  background: rgba(87, 201, 37, 0.12);
}

.role-pill[hidden] {
  display: none;
}

.logout-button {
  color: var(--muted);
}

.workspace-view {
  display: grid;
  gap: 26px;
}

.workspace-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(6, 37, 68, 0.98), rgba(8, 64, 104, 0.92)),
    var(--secondary);
  color: #fff;
  box-shadow: var(--shadow);
}

.workspace-hero .eyebrow,
.workspace-hero .subtitle {
  color: rgba(255, 255, 255, 0.78);
}

.workspace-hero h1 {
  max-width: 780px;
}

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

.workspace-action {
  background: #fff;
  color: var(--secondary);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(6, 37, 68, 0.06);
}

.workspace-action.active {
  border-color: rgba(87, 201, 37, 0.55);
  background: rgba(87, 201, 37, 0.13);
  color: var(--primary-dark);
}

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

.workspace-card {
  min-height: 180px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(6, 37, 68, 0.06);
}

.workspace-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.workspace-card strong {
  display: block;
  margin: 14px 0 10px;
  color: var(--secondary);
  font-size: 30px;
  line-height: 1;
}

.workspace-card p {
  margin: 0;
  color: var(--muted);
}

.workspace-card-link {
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.workspace-card-link:hover {
  transform: translateY(-3px);
  border-color: rgba(87, 201, 37, 0.45);
  box-shadow: 0 18px 36px rgba(6, 37, 68, 0.1);
}

.workspace-card-link::after {
  content: "Apri";
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  margin-top: 16px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(87, 201, 37, 0.12);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
}

.workspace-card-wide {
  grid-column: span 2;
  background: linear-gradient(135deg, #fff, rgba(234, 245, 255, 0.72));
}

.workspace-card-wide strong {
  font-size: 34px;
}

.simple-admin-shell {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
}

.simple-admin-menu {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(6, 37, 68, 0.06);
}

.simple-admin-menu a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--secondary);
  font-weight: 950;
  text-decoration: none;
}

.simple-admin-menu a.active {
  background: rgba(87, 201, 37, 0.14);
  color: var(--primary-dark);
}

.simple-admin-content,
.simple-panel,
.simple-form,
.simple-subpanel {
  min-width: 0;
}

.simple-panel {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(6, 37, 68, 0.06);
}

.simple-panel-head,
.simple-subpanel h3 {
  margin: 0;
}

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

.simple-panel-head h2,
.simple-form h3,
.simple-subpanel h3 {
  margin: 0;
  color: var(--secondary);
}

.simple-panel-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

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

.simple-form section,
.simple-subpanel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

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

.cart-draft-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.simple-subpanel-head h3 {
  margin: 0 0 6px;
}

.simple-subpanel-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.section-note {
  margin: 8px 0 14px;
  color: var(--muted);
  font-weight: 700;
}

.responsible-check-grid,
.responsible-order-grid {
  display: grid;
  gap: 12px;
}

.responsible-check-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.mail-routing-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.responsible-check,
.mail-routing-preview,
.responsible-order-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.responsible-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  cursor: pointer;
}

.responsible-check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.responsible-check span,
.mail-routing-preview,
.responsible-order-card > div {
  display: grid;
  gap: 4px;
}

.responsible-check strong,
.mail-routing-preview strong,
.responsible-order-card strong {
  color: var(--secondary);
}

.responsible-check small,
.mail-routing-preview small,
.responsible-order-card small {
  color: var(--muted);
  font-weight: 800;
}

.mail-routing-preview {
  margin-top: 14px;
  padding: 14px;
  background: rgba(87, 201, 37, 0.08);
}

.mail-routing-preview span,
.responsible-order-card > div > span {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.responsible-order-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  overflow: hidden;
}

.responsible-order-card.has-pending {
  border-color: rgba(87, 201, 37, 0.38);
  box-shadow: 0 12px 28px rgba(6, 37, 68, 0.06);
}

.responsible-order-card > b {
  justify-self: start;
  display: inline-grid;
  min-height: 34px;
  place-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 950;
}

.simple-filter-bar,
.simple-inline-form {
  display: grid;
  gap: 12px;
  align-items: end;
}

.simple-filter-bar {
  grid-template-columns: repeat(6, minmax(0, 1fr)) auto;
}

.simple-inline-form {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}

.pricelist-assignment-panel {
  border-color: rgba(87, 201, 37, 0.3);
  background: linear-gradient(135deg, #ffffff, #f6fcf4);
}

.customer-pricelist-box {
  border-color: rgba(20, 118, 111, 0.22);
  background: linear-gradient(135deg, #ffffff, #f4fbfa);
}

.customer-special-price-panel {
  border-color: rgba(87, 201, 37, 0.24);
}

.customer-access-panel {
  border-color: rgba(6, 37, 68, 0.14);
  background: linear-gradient(135deg, #fff, #f8fbff);
}

.client-access-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.client-access-link div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.client-access-link span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.client-access-link strong {
  overflow-wrap: anywhere;
  color: var(--secondary);
  font-size: 15px;
}

.customer-access-form {
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
}

.customer-access-table {
  min-width: 820px;
}

.customer-listino-actions {
  display: flex;
  justify-content: flex-start;
}

.customer-mail-panel {
  border-color: rgba(20, 118, 111, 0.18);
}

.customer-contact-form {
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(170px, 0.7fr) auto;
}

.customer-contact-table {
  min-width: 780px;
}

.quick-responsible-box {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(20, 118, 111, 0.18);
  border-radius: 14px;
  background: #f8fcfb;
}

.quick-responsible-box strong {
  display: block;
  color: var(--secondary);
}

.quick-responsible-box span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 750;
}

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

.assign-responsible-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 16px;
}

.assign-responsible-actions span {
  color: var(--muted);
  font-weight: 800;
}

.customer-price-table {
  min-width: 720px;
}

.pricelist-assign-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.pricelist-assign-form .primary-tool {
  min-height: 50px;
}

.assignment-summary {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(87, 201, 37, 0.24);
  border-radius: 16px;
  background: rgba(87, 201, 37, 0.08);
}

.assignment-summary strong {
  color: var(--secondary);
}

.assignment-summary p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.catalog-check-form {
  margin: 4px 0 12px;
}

.primary-tool,
.danger-action {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 950;
  cursor: pointer;
}

.primary-tool {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
}

.danger-action {
  border: 1px solid rgba(190, 18, 60, 0.18);
  background: rgba(190, 18, 60, 0.08);
  color: #9f1239;
}

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

.table-thumb {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft-gray);
}

.table-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.table-thumb .placeholder-image {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  font-size: 10px;
}

.price-source,
.price-note {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-top: 4px;
}

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

.margin-badge.positive {
  background: rgba(87, 201, 37, 0.12);
  color: var(--primary-dark);
}

.margin-badge.negative {
  background: rgba(220, 38, 38, 0.1);
  color: #a11b1b;
}

.product-price-box {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(87, 201, 37, 0.28);
  border-radius: 14px;
  background: rgba(87, 201, 37, 0.08);
}

.product-price-box span,
.product-price-box small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.product-price-box strong {
  color: var(--primary-dark);
  font-size: 28px;
  font-weight: 950;
}

.catalog-price-panel {
  margin: 18px 0;
}

.catalog-price-control {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid rgba(87, 201, 37, 0.28);
  border-radius: 16px;
  background: rgba(87, 201, 37, 0.08);
}

.catalog-price-control span {
  color: var(--secondary);
  font-weight: 950;
}

.catalog-price-control strong {
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 950;
}

.catalog-price-control select {
  min-height: 40px;
  min-width: min(320px, 100%);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--secondary);
  font-weight: 900;
  padding: 0 12px;
}

.card-price {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid rgba(87, 201, 37, 0.26);
  border-radius: 14px;
  background: rgba(87, 201, 37, 0.08);
}

.card-price span,
.card-price small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.card-price strong {
  color: var(--primary-dark);
  font-size: 22px;
  font-weight: 950;
}

.status-select {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--secondary);
  font-weight: 900;
  padding: 0 12px;
}

.order-summary-strip,
.order-detail-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
}

.delivery-box,
.delivery-summary {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(87, 201, 37, 0.26);
  border-radius: 16px;
  background: rgba(87, 201, 37, 0.06);
}

.delivery-box-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.delivery-box-head span,
.delivery-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.delivery-box-head strong,
.delivery-summary strong {
  display: block;
  margin-top: 4px;
  color: var(--secondary);
  font-weight: 950;
}

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

.delivery-grid {
  display: grid;
  gap: 12px;
}

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

.delivery-summary p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--secondary);
  font-weight: 750;
}

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

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

.order-note-field,
.order-total-box,
.order-detail-summary > div,
.order-note-read {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 16px;
}

.order-note-field {
  display: grid;
  gap: 8px;
}

.order-note-field span,
.order-total-box span,
.order-detail-summary span,
.order-note-read strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.order-note-field textarea {
  width: 100%;
  resize: vertical;
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  color: var(--secondary);
  font: inherit;
  font-weight: 750;
}

.order-customer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.order-customer-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--secondary);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(6, 37, 68, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.order-customer-card:hover {
  transform: translateY(-2px);
  border-color: rgba(87, 201, 37, 0.45);
  box-shadow: 0 16px 34px rgba(6, 37, 68, 0.1);
}

.order-customer-card.has-pending {
  border-color: rgba(87, 201, 37, 0.55);
  background: linear-gradient(135deg, #fff, rgba(237, 248, 232, 0.72));
}

.order-customer-name {
  padding-right: 46px;
  font-size: 18px;
  font-weight: 950;
}

.order-customer-meta,
.order-customer-ok {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.order-customer-ok {
  color: var(--primary-dark);
}

.order-customer-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 12px 24px rgba(87, 201, 37, 0.24);
}

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

.customer-order-tab {
  display: grid;
  gap: 6px;
  min-height: 100px;
  align-content: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--secondary);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(6, 37, 68, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.customer-order-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(87, 201, 37, 0.45);
  box-shadow: 0 16px 34px rgba(6, 37, 68, 0.1);
}

.customer-order-tab.has-pending {
  border-color: rgba(87, 201, 37, 0.55);
  background: linear-gradient(135deg, #fff, rgba(237, 248, 232, 0.72));
}

.customer-order-tab.confirmed {
  background: linear-gradient(135deg, #fff, #f8fafc);
}

.customer-order-tab strong {
  color: var(--primary-dark);
  font-size: 30px;
  font-weight: 950;
}

.customer-order-tab span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

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

.simple-inline-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  color: var(--secondary);
  font: inherit;
  font-weight: 750;
}

.order-total-box,
.order-detail-summary > div {
  display: grid;
  align-content: center;
  gap: 8px;
}

.order-total-box strong,
.order-detail-summary strong {
  color: var(--secondary);
  font-size: 24px;
  font-weight: 950;
}

.order-note-read {
  margin-bottom: 16px;
}

.order-note-read p {
  margin: 8px 0 0;
  color: var(--secondary);
  font-weight: 750;
}

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

.compact-table {
  min-width: 640px;
}

.cart-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(87, 201, 37, 0.38);
  border-radius: 999px;
  background: rgba(87, 201, 37, 0.13);
  color: var(--primary-dark);
  font-weight: 950;
  cursor: pointer;
}

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

.toggle-row {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.toggle-row input {
  width: 20px;
  height: 20px;
}

.qty-input {
  width: 84px;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--secondary);
  font-weight: 900;
}

.workspace-module-shell {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
}

.workspace-menu,
.workspace-detail,
.workspace-settings {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(6, 37, 68, 0.06);
}

.workspace-menu {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
}

.workspace-menu a {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--secondary);
  text-decoration: none;
}

.workspace-menu a.active {
  border-color: rgba(87, 201, 37, 0.45);
  background: rgba(87, 201, 37, 0.12);
  color: var(--primary-dark);
}

.workspace-menu a:not(.active):hover {
  border-color: var(--line);
  background: rgba(234, 245, 255, 0.62);
}

.workspace-menu strong {
  font-size: 16px;
}

.workspace-menu span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.workspace-back {
  min-height: 44px;
  place-content: center;
  background: var(--soft-blue);
  font-weight: 900;
}

.workspace-detail {
  min-width: 0;
  padding: clamp(18px, 3vw, 28px);
}

.workspace-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.workspace-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.workspace-toolbar h2,
.workspace-settings h3 {
  margin: 0;
  color: var(--secondary);
}

.workspace-toolbar p,
.workspace-settings p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
}

.workspace-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.workspace-tools button,
.workspace-button-link,
.table-action {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--secondary);
  font-weight: 900;
  cursor: pointer;
}

.workspace-button-link {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  text-decoration: none;
}

.workspace-tools button {
  padding: 0 14px;
}

.workspace-tools .primary-tool,
.settings-save {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

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

.workspace-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  background: #fff;
}

.workspace-table th,
.workspace-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.workspace-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.workspace-table td {
  color: var(--secondary);
  font-weight: 800;
}

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

.status-pill {
  display: inline-grid;
  min-height: 28px;
  place-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(87, 201, 37, 0.12);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 950;
}

.agent-inline-form {
  grid-template-columns: repeat(5, minmax(150px, 1fr));
}

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

.agent-list-card {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(280px, 1.5fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.agent-list-card strong,
.agent-list-card span,
.agent-list-card small {
  display: block;
}

.agent-list-card > div:first-child span,
.agent-list-card small {
  color: var(--muted);
  margin-top: 5px;
}

.agent-list-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  gap: 10px;
}

.agent-list-metrics span,
.agent-stat-grid article {
  padding: 12px;
  border-radius: 14px;
  background: #f4faf7;
  color: var(--muted);
  font-weight: 800;
}

.agent-list-metrics b,
.agent-stat-grid strong {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
}

.agent-period-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.agent-period-tabs a {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.agent-period-tabs a.active {
  border-color: var(--green);
  background: #edfbe7;
  color: var(--green-dark);
}

.agent-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.agent-stat-grid article span {
  display: block;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 6px;
}

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

.agent-customer-list a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.agent-customer-list span {
  color: var(--muted);
  font-weight: 800;
}

.table-action {
  padding: 0 12px;
}

.table-link {
  display: inline-grid;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  text-decoration: none;
}

.product-check-wrap {
  overflow-x: auto;
}

.product-check-table {
  min-width: 920px;
  table-layout: fixed;
}

.product-check-table th:nth-child(1),
.product-check-table td:nth-child(1) { width: 86px; }
.product-check-table th:nth-child(2),
.product-check-table td:nth-child(2) { width: 190px; }
.product-check-table th:nth-child(3),
.product-check-table td:nth-child(3) { width: auto; }
.product-check-table th:nth-child(4),
.product-check-table td:nth-child(4) { width: 110px; }
.product-check-table th:nth-child(5),
.product-check-table td:nth-child(5) { width: 120px; }
.product-check-table th:nth-child(6),
.product-check-table td:nth-child(6) { width: 120px; }
.product-check-table th:nth-child(7),
.product-check-table td:nth-child(7) { width: 132px; }

.product-check-table th:nth-child(7),
.product-check-table td:nth-child(7) {
  position: sticky;
  right: 0;
  z-index: 2;
  background: #fff;
  box-shadow: -12px 0 18px rgba(6, 37, 68, 0.08);
}

.product-check-table th:nth-child(7) {
  z-index: 3;
}

.product-check-title,
.product-check-path {
  display: block;
}

.product-check-title {
  color: var(--secondary);
  line-height: 1.35;
}

.product-check-path {
  margin: 7px 0;
  color: var(--muted);
  font-weight: 760;
}

.product-check-table .table-actions {
  display: grid;
  gap: 7px;
}

.product-check-table .table-action {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 0 8px;
  font-size: 12px;
}

.product-check-table td {
  overflow-wrap: anywhere;
}

.reseller-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.reseller-info-card,
.workspace-subsection {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.reseller-info-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: linear-gradient(135deg, #fff, rgba(234, 245, 255, 0.54));
}

.reseller-info-card h3,
.workspace-subsection h3 {
  margin: 0;
  color: var(--secondary);
}

.reseller-info-card div {
  display: grid;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.reseller-info-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.reseller-info-card strong {
  color: var(--secondary);
  overflow-wrap: anywhere;
}

.workspace-subsection {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 16px;
}

.workspace-subsection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.workspace-subsection-head button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--secondary);
  font-weight: 900;
}

.workspace-settings {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  background: linear-gradient(135deg, #fff, rgba(234, 245, 255, 0.62));
}

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

.field-row {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.field-row input,
.field-row select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--secondary);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-transform: none;
}

.settings-save {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  font-weight: 900;
  cursor: pointer;
}

.reseller-edit-form {
  display: grid;
  gap: 18px;
}

.workspace-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(6, 37, 68, 0.45);
}

.workspace-modal-card {
  width: min(720px, 100%);
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(6, 37, 68, 0.2);
}

.workspace-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.workspace-modal-head h2 {
  margin: 0;
  color: var(--secondary);
}

.workspace-modal-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.workspace-modal-head button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--secondary);
  font-weight: 900;
  cursor: pointer;
}

.price-modal-card {
  width: min(560px, 100%);
}

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

.price-modal-summary div {
  display: grid;
  gap: 5px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
}

.price-modal-summary span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.price-modal-summary strong {
  color: var(--secondary);
  overflow-wrap: anywhere;
}

.workspace-notice {
  position: fixed;
  z-index: 120;
  top: 50%;
  left: 50%;
  width: min(460px, calc(100vw - 34px));
  min-height: 96px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 22px;
  font-weight: 950;
  text-align: left;
  box-shadow: 0 30px 90px rgba(6, 37, 68, 0.24);
  animation: noticeIn 190ms ease both;
}

.workspace-notice .notice-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 1000;
}

.workspace-notice strong {
  color: inherit;
  font-size: 19px;
  line-height: 1.25;
}

.workspace-notice.notice-success {
  border: 1px solid rgba(87, 201, 37, 0.45);
  background: #ecfdf3;
  color: #166534;
}

.workspace-notice.notice-success .notice-icon {
  background: #22c55e;
  color: #fff;
}

.workspace-notice.notice-error {
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #991b1b;
}

.workspace-notice.notice-error .notice-icon {
  background: #e11d48;
  color: #fff;
}

.workspace-notice.leaving {
  animation: noticeOut 220ms ease both;
}

@keyframes noticeIn {
  from { opacity: 0; transform: translate(-50%, -46%) scale(0.96); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes noticeOut {
  from { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 0; transform: translate(-50%, -54%) scale(0.98); }
}

.page-shell {
  width: min(1320px, calc(100% - 36px));
  margin: 0 auto;
  padding: 40px 0 82px;
}

.view {
  animation: riseIn 200ms ease both;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-panel {
  display: grid;
  gap: 18px;
  max-width: 960px;
  margin: 26px auto 34px;
  text-align: center;
}

.catalog-start,
.dex-start {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.catalog-start h1,
.dex-start h1 {
  max-width: 850px;
}

.catalog-start .hero-search,
.dex-main-search {
  max-width: 980px;
}

.dex-start {
  min-height: 360px;
  align-content: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(238,248,247,0.92)),
    #fff;
}

.dex-start-copy {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

.dex-large-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: rgba(87, 201, 37, 0.12);
}

.dex-large-icon::before {
  width: 25px;
  height: 25px;
}

.colleague-hero {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.48fr);
  align-items: center;
  gap: clamp(22px, 4vw, 44px);
  max-width: 1320px;
  min-height: 390px;
  padding: clamp(22px, 3.4vw, 36px);
  border: 1px solid rgba(223, 231, 239, 0.95);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(238, 248, 247, 0.95), rgba(255, 255, 255, 0.92) 52%, rgba(237, 245, 255, 0.9)),
    #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: left;
}

.hero-copy {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.hero-copy h1 {
  max-width: 690px;
  margin-bottom: 0;
}

.hero-copy .hero-subtitle {
  max-width: 660px;
  margin-bottom: 0;
}

.colleague-visual {
  position: relative;
  min-height: 300px;
  height: 100%;
  border: 1px solid rgba(15, 118, 110, 0.1);
  border-radius: 28px;
  background: radial-gradient(circle at 50% 18%, #fff 0, #fff 42%, #eef8f7 100%);
  box-shadow: 0 24px 54px rgba(15, 32, 51, 0.11);
  overflow: hidden;
}

.colleague-visual img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: block;
  object-fit: contain;
  object-position: center bottom;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-subtitle,
.subtitle {
  color: var(--muted);
  font-size: 19px;
}

.subtitle {
  max-width: 720px;
  margin-bottom: 0;
}

.hero-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 11px 11px 11px 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: left;
}

.hero-search:focus-within {
  border-color: rgba(15, 118, 110, 0.7);
  box-shadow: 0 0 0 5px rgba(15, 118, 110, 0.1), var(--shadow);
}

.search-icon {
  color: var(--primary);
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: var(--soft);
  font-size: 0;
  font-weight: 850;
}

.search-icon::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 3px solid currentColor;
  border-radius: 50%;
  box-shadow: 9px 9px 0 -6px currentColor;
  transform: rotate(-18deg);
}

input, select {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

input::placeholder { color: #93a2b5; }

.hero-search button,
.soft-button,
.open-card,
.external-link,
.disabled-order {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 850;
}

.hero-search button {
  min-height: 56px;
  padding: 0 24px;
  background: var(--primary);
  color: #fff;
}

.hero-search button:hover {
  background: var(--primary-dark);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.chips button,
.chip-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 750;
}

.chips button:hover,
.chip-link:hover,
.soft-button:hover,
.open-card:hover,
.path-card:hover {
  transform: translateY(-1px);
}

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

.path-card {
  display: grid;
  gap: 16px;
  min-height: 340px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  box-shadow: 0 12px 30px rgba(15, 32, 51, 0.04);
  text-align: left;
  transition: 160ms ease;
}

button.path-card {
  width: 100%;
  font: inherit;
}

.field-row textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--secondary);
  font: inherit;
  resize: vertical;
}

.import-box {
  display: grid;
  grid-template-columns: 1.2fr minmax(190px, 0.8fr) minmax(260px, 1.4fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid #cde8de;
  border-radius: 16px;
  background: #f8fffb;
}

.import-box h4,
.import-box p {
  margin: 0;
}

.import-box p {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.status-pill.muted-status {
  background: #f1f5f9;
  color: #64748b;
}

.path-card:hover {
  border-color: rgba(15, 118, 110, 0.26);
  box-shadow: var(--shadow);
}

.path-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 17px;
  background: var(--soft);
  color: var(--primary);
  font-size: 16px;
  font-weight: 900;
}

.path-card strong {
  font-size: 30px;
  line-height: 1.12;
}

.path-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.dex-need-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: auto;
  padding: 9px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 18px;
  background: #fff;
}

.dex-need-form input {
  min-height: 52px;
  padding: 0 14px;
  font-weight: 750;
}

.dex-need-form button {
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 13px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.path-action {
  align-self: end;
  justify-self: start;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--secondary);
  font-weight: 850;
}

.path-card-consumables .path-icon {
  background: var(--soft-blue);
  color: var(--secondary);
}

.path-card-dex {
  border-color: rgba(15, 118, 110, 0.2);
  background: linear-gradient(135deg, #ffffff, #eef8f7);
}

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

.stat-card,
.category-card,
.product-card,
.empty-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 32, 51, 0.04);
}

.stat-card {
  display: grid;
  gap: 4px;
  min-height: 118px;
  align-content: center;
  padding: 18px;
}

.stat-card strong {
  font-size: 28px;
  line-height: 1.15;
}

.stat-card span,
.metric-pill,
.category-card p,
.category-count,
.product-lines,
.detail-muted {
  color: var(--muted);
}

.section-block,
.catalog-view,
.products-view,
.consumables-view,
.product-view {
  display: grid;
  gap: 22px;
}

.consumables-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 28px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 38px rgba(15, 32, 51, 0.05);
}

.consumables-copy {
  display: grid;
  gap: 8px;
  max-width: 820px;
}

.consumables-copy h1 {
  max-width: 820px;
  font-size: clamp(34px, 4.4vw, 54px);
}

.logo-upload-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.logo-preview {
  min-height: 104px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft-gray);
  color: var(--muted);
  font-weight: 850;
  overflow: hidden;
}

.logo-preview img {
  max-width: 100%;
  max-height: 104px;
  object-fit: contain;
  padding: 10px;
}

.consumables-visual {
  grid-row: span 3;
  align-self: stretch;
  display: grid;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(87, 201, 37, 0.18);
  border-radius: 22px;
  background: linear-gradient(135deg, #fff, rgba(237, 248, 232, 0.68));
}

.consumables-visual img {
  width: 100%;
  height: 100%;
  max-height: 430px;
  display: block;
  object-fit: contain;
  object-position: center;
  padding: 10px;
}

.consumables-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft-gray);
}

.consumables-search input {
  min-width: 0;
  height: 54px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-weight: 750;
}

.consumables-search button {
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.consumables-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
}

.consumables-status strong {
  font-size: 18px;
}

.consumables-status span {
  color: var(--muted);
  font-weight: 850;
}

.section-heading,
.products-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

.brand-card {
  display: grid;
  gap: 8px;
  min-height: 118px;
  align-content: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  text-align: left;
  box-shadow: 0 12px 30px rgba(15, 32, 51, 0.04);
}

.brand-card:hover {
  border-color: rgba(87, 201, 37, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.brand-card strong {
  font-size: 22px;
  line-height: 1.1;
}

.brand-card span {
  color: var(--muted);
  font-weight: 850;
}

.category-card {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 220px;
  padding: 22px;
  text-align: left;
  transition: 160ms ease;
}

.category-card:hover,
.product-card:hover {
  border-color: #c7d4e2;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 17px;
  background: var(--soft);
  color: var(--primary);
  font-size: 30px;
}

.category-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text);
  font-size: 21px;
  line-height: 1.22;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-card p {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.open-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.open-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--secondary);
  font-weight: 850;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: var(--muted);
}

.breadcrumb a,
.breadcrumb span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
}

.breadcrumb a {
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
}

.breadcrumb span.current {
  border: 1px solid rgba(15, 118, 110, 0.24);
  background: var(--soft);
  color: var(--primary);
  font-weight: 850;
}

.page-title {
  display: grid;
  gap: 5px;
}

.advisor-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #eef8f7);
  box-shadow: 0 14px 34px rgba(15, 32, 51, 0.06);
}

.advisor-panel.dex-unified {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.advisor-copy {
  display: grid;
  gap: 8px;
}

.advisor-copy h2 {
  font-size: clamp(24px, 2.7vw, 34px);
}

.advisor-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.advisor-choice-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.advisor-choice-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--teal);
  font-weight: 850;
  font-size: 13px;
}

.advisor-reasons {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.advisor-reasons strong {
  color: var(--secondary);
  font-size: 14px;
}

.advisor-reasons ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.advisor-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.advisor-options button {
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  font-weight: 850;
  text-align: left;
  box-shadow: 0 10px 24px rgba(15, 32, 51, 0.05);
  transition: 160ms ease;
}

.advisor-options button span {
  display: block;
}

.advisor-options button small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
}

.advisor-options button:hover {
  border-color: rgba(15, 118, 110, 0.55);
  background: var(--soft);
  transform: translateY(-1px);
}

.product-toolbar {
  display: grid;
  grid-template-columns: minmax(320px, 1.4fr) minmax(180px, 0.8fr) minmax(220px, 1fr) minmax(260px, 1.2fr);
  gap: 14px;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.product-toolbar label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.product-toolbar input[type="search"],
.product-toolbar select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft-gray);
  text-transform: none;
}

.check-control {
  display: flex !important;
  min-height: 48px;
  flex-direction: row;
  align-items: center;
  gap: 8px !important;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft-gray);
  color: var(--text) !important;
  text-transform: none !important;
}

.check-control input {
  width: 16px;
  height: 16px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.product-card {
  display: grid;
  grid-template-rows: 250px minmax(0, 1fr);
  overflow: hidden;
  text-align: left;
  transition: 160ms ease;
  cursor: pointer;
}

.product-card:focus-visible {
  outline: 3px solid rgba(72, 201, 35, 0.35);
  outline-offset: 3px;
}

.product-image {
  display: grid;
  place-items: center;
  min-height: 250px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--soft-gray);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}

.placeholder-image {
  display: grid;
  gap: 6px;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 1px dashed #b9c8d8;
  border-radius: 22px;
  color: var(--primary);
  font-weight: 850;
}

.placeholder-image small {
  color: var(--muted);
  font-weight: 650;
}

.product-info {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
  background: #fff;
}

.product-title {
  display: -webkit-box;
  min-height: 72px;
  overflow: hidden;
  color: var(--text);
  font-weight: 850;
  line-height: 1.28;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-lines {
  display: grid;
  gap: 4px;
  font-size: 14px;
}

.product-lines span {
  overflow-wrap: anywhere;
}

.code-stack {
  display: grid;
  gap: 3px;
  min-width: 150px;
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.35;
}

.code-stack span {
  overflow-wrap: anywhere;
}

.code-stack strong,
.product-lines strong {
  color: var(--muted);
  font-weight: 900;
}

.product-path {
  color: #46576b;
}

.match-line {
  color: var(--primary);
  font-weight: 850;
}

.open-card {
  justify-self: start;
  padding: 0 15px;
  border-color: rgba(29, 78, 216, 0.2);
  background: var(--soft-blue);
  color: var(--secondary);
}

.soft-button {
  justify-self: start;
  padding: 0 14px;
  border-color: var(--line);
  background: #fff;
  color: var(--text);
}

.product-page-content {
  display: grid;
  gap: 24px;
}

.product-page {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: start;
}

.product-gallery,
.product-summary,
.product-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 32, 51, 0.04);
}

.product-gallery {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.gallery-main {
  display: grid;
  width: 100%;
  min-height: 420px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft-gray);
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  padding: 18px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 8px;
}

.gallery-thumbs button {
  display: grid;
  height: 74px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft-gray);
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  place-items: center;
  gap: 14px;
  padding: 20px;
  background: rgba(15, 32, 51, 0.78);
}

.image-modal-stage {
  width: min(1280px, 96vw);
  height: min(82vh, 900px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  touch-action: none;
  cursor: zoom-in;
}

.image-modal-stage.is-zoomed {
  cursor: grab;
}

.image-modal-stage.is-zoomed:active {
  cursor: grabbing;
}

.image-modal img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 120ms ease;
  user-select: none;
  will-change: transform;
}

.image-modal img.is-zoomed {
  transition: none;
}

.image-modal-toolbar {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.image-modal-toolbar button,
.image-modal-toolbar strong {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 850;
}

.image-modal-toolbar button {
  cursor: pointer;
}

.image-modal-toolbar strong {
  min-width: 78px;
  background: var(--secondary);
  color: #fff;
}

.product-summary {
  display: grid;
  gap: 20px;
  padding: 26px;
}

.product-brand {
  color: var(--primary);
  font-weight: 850;
  text-transform: uppercase;
}

.product-summary h1 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.info-list {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 11px 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft-gray);
}

.info-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.info-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.external-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-color: var(--line);
  background: #fff;
  color: var(--secondary);
}

.disabled-order {
  padding: 0 14px;
  border-color: #cbd5e1;
  background: #edf1f5;
  color: #748399;
  cursor: not-allowed;
}

.product-sections {
  display: grid;
  gap: 14px;
}

.product-section {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.product-section h2 {
  font-size: 22px;
}

.product-section p {
  margin-bottom: 0;
  color: #34465a;
  overflow-wrap: anywhere;
}

.empty-card {
  padding: 22px;
  color: var(--muted);
}

.dex-thinking-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 28px 30px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #f2fbf9 100%);
  box-shadow: 0 18px 42px rgba(15, 32, 51, 0.08);
  color: var(--ink);
}

.dex-thinking-content {
  display: grid;
  gap: 8px;
}

.dex-thinking-card h3 {
  margin: 4px 0 8px;
  font-size: clamp(23px, 2.4vw, 34px);
}

.dex-thinking-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.dex-thinking-note {
  margin-top: 2px;
  color: var(--teal);
  font-weight: 750;
}

.dex-thinking-options {
  margin-top: 12px;
}

.dex-lens {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 999px;
  background: #eefaf8;
}

.dex-lens-glass {
  position: absolute;
  inset: 21px 26px 31px 20px;
  border: 7px solid var(--teal);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 0 0 8px rgba(53, 196, 181, 0.11);
}

.dex-lens-handle {
  position: absolute;
  width: 42px;
  height: 8px;
  right: 17px;
  bottom: 25px;
  border-radius: 999px;
  background: var(--blue);
  transform: rotate(45deg);
  transform-origin: center;
}

.dex-orbit {
  position: absolute;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 118, 110, 0.18);
  box-shadow: 0 8px 18px rgba(15, 32, 51, 0.1);
  font-size: 15px;
  animation: dexFloat 2.4s ease-in-out infinite;
}

.dex-orbit-one { left: -2px; top: 8px; animation-delay: 0s; }
.dex-orbit-two { right: -4px; top: 14px; animation-delay: 0.35s; }
.dex-orbit-three { left: 5px; bottom: 3px; animation-delay: 0.7s; }
.dex-orbit-four { right: 3px; bottom: 0; animation-delay: 1.05s; color: var(--green); }

@keyframes dexFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.04); }
}

@media (max-width: 980px) {
  .login-form {
    grid-template-columns: 1fr;
  }

  .workspace-actions,
  .workspace-grid,
  .customer-order-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .workspace-module-shell,
  .workspace-settings,
  .simple-admin-shell,
  .reseller-overview {
    grid-template-columns: 1fr;
  }

  .simple-admin-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .simple-filter-bar,
  .simple-inline-form,
  .pricelist-assign-form,
  .agent-inline-form,
  .agent-list-card,
  .agent-list-metrics,
  .agent-stat-grid {
    grid-template-columns: 1fr;
  }

  .import-box {
    grid-template-columns: 1fr;
  }

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

  .workspace-back {
    grid-column: 1 / -1;
  }

  .workspace-toolbar {
    flex-direction: column;
  }

  .workspace-tools {
    justify-content: flex-start;
  }

  .order-summary-strip,
  .order-detail-summary,
  .quote-detail-summary,
  .delivery-grid,
  .delivery-summary {
    grid-template-columns: 1fr;
  }

  .simple-inline-form .span-2,
  .delivery-grid .span-2 {
    grid-column: auto;
  }

  .advisor-panel {
    grid-template-columns: 1fr;
  }

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

  .dex-lens {
    width: 96px;
    height: 96px;
  }

  .colleague-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

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

  .colleague-visual img {
    min-height: 300px;
    object-position: center bottom;
  }

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

  .home-paths {
    grid-template-columns: 1fr;
  }

  .path-card {
    min-height: 0;
  }

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

  .consumables-panel {
    grid-template-columns: 1fr;
  }

  .consumables-visual {
    grid-row: auto;
    min-height: 280px;
  }

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

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

  .landing-hero,
  .landing-two-col,
  .landing-feature,
  .landing-domain,
  .contact-panel,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .backoffice-preview {
    grid-template-columns: 1fr;
  }

  .landing-strip,
  .landing-process,
  .backoffice-grid,
  .capability-grid,
  .saas-plan-grid,
  .agent-preview-board .preview-board-grid,
  .preview-board-grid,
  .dex-value-grid,
  .domain-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-hero-visual {
    min-height: 420px;
  }

  .landing-final {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .login-view {
    padding: 18px;
  }

  .login-brand img {
    width: min(360px, 96%);
  }

  .login-panel {
    padding: 22px;
  }

  .login-panel h1 {
    font-size: 32px;
  }

  .app-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .deskpoint-brand img {
    width: 42px;
    height: 42px;
  }

  .brand {
    width: 100%;
    align-items: flex-start;
  }

  .session-greeting {
    max-width: calc(100vw - 96px);
    white-space: normal;
  }

  .session-box,
  .header-actions {
    width: 100%;
  }

  .header-actions a {
    flex: 1 1 auto;
    text-align: center;
  }

  .header-actions .reserved-nav {
    flex-basis: 100%;
    margin-left: 0;
  }

  .workspace-actions,
  .workspace-grid,
  .customer-order-tabs {
    grid-template-columns: 1fr;
  }

  .landing-strip,
  .landing-process,
  .backoffice-grid,
  .capability-grid,
  .saas-plan-grid,
  .agent-preview-board .preview-board-grid,
  .preview-board-grid,
  .dex-value-grid,
  .domain-flow {
    grid-template-columns: 1fr;
  }

  .workspace-menu,
  .setting-grid {
    grid-template-columns: 1fr;
  }

  .page-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 22px;
  }

  .hero-panel {
    margin-top: 8px;
    text-align: left;
  }

  .colleague-hero {
    gap: 22px;
    padding: 20px;
    border-radius: 24px;
  }

  .colleague-visual {
    min-height: 240px;
    border-radius: 20px;
  }

  .colleague-visual img {
    min-height: 240px;
    object-position: center bottom;
  }

  .hero-search {
    grid-template-columns: auto minmax(0, 1fr);
    border-radius: 20px;
  }

  .hero-search button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .chips {
    justify-content: flex-start;
  }

  .section-heading,
  .products-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .dex-need-form {
    grid-template-columns: 1fr;
  }

  .dex-need-form button {
    width: 100%;
  }

  .consumables-panel {
    padding: 20px;
  }

  .consumables-visual {
    min-height: 220px;
    border-radius: 18px;
  }

  .consumables-search button {
    width: 100%;
  }

  .gallery-main {
    min-height: 280px;
  }

  .info-list {
    grid-template-columns: 1fr;
  }

  .landing-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 16px;
  }

  .landing-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .landing-nav a {
    flex: 1 1 auto;
    min-height: 38px;
    padding: 0 10px;
    font-size: 14px;
  }

  .landing-main {
    width: min(100% - 24px, 1240px);
    padding-top: 26px;
  }

  .landing-hero h1 {
    font-size: 38px;
  }

  .landing-section h2 {
    font-size: 30px;
  }

  .landing-strip,
  .landing-process,
  .backoffice-grid,
  .capability-grid,
  .preview-board-grid,
  .dex-value-grid,
  .screen-grid {
    grid-template-columns: 1fr;
  }

  .landing-capabilities {
    padding: 22px;
    border-radius: 22px;
  }

  .preview-board-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-hero-visual {
    min-height: 360px;
    border-radius: 22px;
  }

  .landing-hero-visual > img {
    width: min(300px, 82%);
  }

  .landing-dashboard-card,
  .landing-dashboard-card.small {
    position: static;
    width: 100%;
    margin: 0 18px 18px;
  }

  .landing-hero-visual {
    align-content: center;
    gap: 10px;
    padding: 20px;
  }

  .landing-actions {
    width: 100%;
  }

  .landing-primary,
  .landing-secondary {
    width: 100%;
  }

  .dex-landing-card img {
    height: 300px;
    object-position: center;
  }
}
