:root {
  --bg-deep: #06101d;
  --bg-mid: #0d1c2f;
  --bg-soft: #122844;
  --surface: rgba(11, 22, 38, 0.78);
  --surface-light: #f8fbff;
  --surface-card: rgba(255, 255, 255, 0.08);
  --ink: #f4f8ff;
  --ink-dark: #132135;
  --heading-dark: #132135;
  --muted: #9fb4ca;
  --muted-dark: #607487;
  --line: rgba(111, 156, 212, 0.22);
  --brand: #1dd7ff;
  --brand-strong: #0b7cff;
  --brand-deep: #071d5f;
  --accent: #ffbf3f;
  --accent-soft: #ffd97a;
  --success: #49d7a1;
  --shadow: 0 24px 80px rgba(2, 8, 18, 0.35);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Work Sans", "Segoe UI", sans-serif;
}

body.theme-public {
  background:
    radial-gradient(circle at top left, rgba(29, 215, 255, 0.16), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 191, 63, 0.1), transparent 28%),
    linear-gradient(180deg, #07111e 0%, #0b1630 45%, #09111d 100%);
  color: var(--ink);
}

body.theme-admin {
  background: linear-gradient(180deg, #edf4fb 0%, #f7fbff 100%);
  color: var(--ink-dark);
  font-size: 15.1px;
}

body.theme-admin .button {
  min-height: 44px;
  padding: 0 1.05rem;
}

body.theme-admin .button-small {
  min-height: 36px;
  padding: 0 0.9rem;
  font-size: 0.84rem;
}

body.is-modal-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

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

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

h1,
h2,
h3,
h4,
strong {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
}

.site-shell::before {
  top: 0;
  left: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(29, 215, 255, 0.14), transparent 70%);
}

.site-shell::after {
  right: -12%;
  bottom: 10%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 191, 63, 0.14), transparent 68%);
}

.public-header,
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
}

.public-header {
  background: rgba(6, 16, 29, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-row,
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand,
.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
}

.brand strong,
.admin-brand strong {
  display: block;
  font-size: 1.1rem;
}

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

.admin-brand small,
.admin-topbar small {
  color: #a9b7c8;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(29, 215, 255, 0.92), rgba(11, 124, 255, 0.8)),
    #0b1d3d;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), var(--shadow);
}

.brand-mark-logo {
  overflow: hidden;
  padding: 0.2rem;
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.2), transparent 45%),
    linear-gradient(135deg, rgba(4, 14, 26, 0.98), rgba(12, 29, 53, 0.92));
}

.brand-mark-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-mark-lg {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  font-size: 1.3rem;
}

.public-nav,
.admin-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.public-nav a,
.text-link {
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.public-nav a:hover,
.public-nav .is-active,
.text-link:hover {
  color: #fff;
  transform: translateY(-1px);
}

.text-link-light {
  color: #d8e7ff;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

.nav-cta,
.button-primary {
  background: linear-gradient(135deg, var(--brand-strong), var(--brand));
  color: #04101e !important;
  box-shadow: 0 18px 40px rgba(0, 153, 255, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.button-danger {
  background: linear-gradient(135deg, #ff6b6b, #e03131);
  color: #fff;
}

.button-history {
  background: linear-gradient(135deg, #fff7df, #ffd36a);
  color: #3f2a04 !important;
  border: 1px solid rgba(180, 119, 0, 0.22);
  box-shadow: 0 16px 34px rgba(180, 119, 0, 0.16);
}

.button-history:hover,
.button-history:focus-visible {
  background: linear-gradient(135deg, #ffe8a6, #ffbf3f);
  color: #261800 !important;
}

.button-small {
  min-height: 40px;
  padding: 0 1rem;
  font-size: 0.9rem;
}

.flash {
  position: relative;
  z-index: 5;
  padding: 0.9rem 0;
}

.flash-success {
  background: rgba(73, 215, 161, 0.12);
  color: #8bf5ca;
}

.flash-error {
  background: rgba(255, 99, 99, 0.14);
  color: #ffb3b3;
}

.flash.is-enhanced-toast {
  display: none !important;
}

.swal2-popup.tech-swal {
  border-radius: 28px;
  border: 1px solid rgba(15, 42, 70, 0.12);
  background:
    radial-gradient(circle at top right, rgba(33, 195, 255, 0.09), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96));
  box-shadow: 0 28px 70px rgba(13, 31, 51, 0.22);
}

.swal2-title.tech-swal-title {
  color: #10253e;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.swal2-html-container.tech-swal-content {
  color: #4a6078;
  line-height: 1.6;
}

.swal2-confirm.tech-swal-confirm,
.swal2-cancel.tech-swal-cancel,
.swal2-deny.tech-swal-deny {
  border-radius: 999px !important;
  padding: 0.82rem 1.4rem !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.swal2-confirm.tech-swal-confirm {
  background: linear-gradient(135deg, #0f79ff, #29d7ff) !important;
}

.swal2-cancel.tech-swal-cancel {
  background: #fff !important;
  color: #22364f !important;
  border: 1px solid rgba(34, 54, 79, 0.12) !important;
}

.swal2-toast.tech-toast {
  border-radius: 22px;
  background: rgba(7, 24, 44, 0.94);
  color: #fff;
  box-shadow: 0 18px 44px rgba(7, 24, 44, 0.28);
}

.swal2-toast.tech-toast .swal2-title {
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
}

.swal2-toast.tech-toast .swal2-html-container {
  color: rgba(226, 239, 255, 0.92);
  font-size: 0.9rem;
}

.hero,
.page-hero,
.auth-wrap {
  position: relative;
  z-index: 2;
  padding: 4.6rem 0 3rem;
}

.hero-brand {
  padding-top: 5rem;
}

.hero-grid,
.split-grid,
.admin-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-grid-brand {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: stretch;
}

.hero-copy-wrap,
.hero-visual,
.hero-offer-card,
.card,
.timeline-card,
.auth-card,
.metric-card,
.panel-card,
.spotlight-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy-wrap,
.hero-visual {
  background: linear-gradient(180deg, rgba(13, 28, 47, 0.88), rgba(8, 17, 29, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent-soft);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero h1,
.page-hero h1,
.auth-card h1,
.admin-heading h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.98;
}

.page-hero h1,
.auth-card h1 {
  max-width: 16ch;
}

.hero-copy,
.page-hero p,
.auth-card p,
.card p,
.timeline-card p,
.spotlight-card p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.hero-stats,
.metric-grid,
.trust-grid,
.service-spotlights,
.footer-grid,
.footer-bottom {
  display: grid;
  gap: 1rem;
}

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

.hero-stats article,
.metric-card {
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats strong,
.metric-card strong {
  display: block;
  font-size: 1.7rem;
}

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

.hero-visual {
  display: grid;
  gap: 1.2rem;
  background:
    radial-gradient(circle at top right, rgba(255, 191, 63, 0.12), transparent 25%),
    radial-gradient(circle at bottom left, rgba(29, 215, 255, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(6, 16, 29, 0.92), rgba(11, 20, 37, 0.95));
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-badge small {
  display: block;
  color: var(--muted);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip,
.pill,
.spotlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.chip {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.pill {
  background: rgba(255, 191, 63, 0.16);
  color: #f7d47c;
}

.spotlight-tag {
  width: fit-content;
  background: rgba(29, 215, 255, 0.18);
  color: #7adfff;
}

.hero-offer-card {
  padding: 1.35rem;
  background: linear-gradient(160deg, rgba(12, 27, 52, 0.95), rgba(25, 52, 100, 0.86));
  border: 1px solid rgba(29, 215, 255, 0.18);
}

.trust-strip {
  position: relative;
  z-index: 2;
  padding: 0.6rem 0 3rem;
}

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

.trust-grid article {
  padding: 1.15rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-grid strong {
  display: block;
  margin-bottom: 0.45rem;
}

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

.section {
  position: relative;
  z-index: 2;
  padding: 1.3rem 0 4.4rem;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(4, 13, 26, 0.96), rgba(7, 19, 36, 0.96)),
    var(--bg-deep);
}

.section-heading,
.panel-head,
.admin-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

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

.card,
.timeline-card,
.spotlight-card {
  padding: 1.45rem;
  background: linear-gradient(180deg, rgba(12, 24, 40, 0.84), rgba(10, 19, 31, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-card-rich {
  display: grid;
  gap: 1rem;
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(8, 26, 48, 0.92), rgba(15, 42, 70, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

body.theme-admin .panel-card,
body.theme-admin .metric-card,
body.theme-admin .auth-card,
body.theme-admin .card {
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.05), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96));
}

body.theme-admin .metric-card,
body.theme-admin .panel-card {
  border: 1px solid rgba(17, 38, 57, 0.08);
  border-radius: 24px;
  box-shadow:
    0 14px 36px rgba(38, 64, 89, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.card-kicker {
  color: var(--brand);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-topline,
.card-meta,
.stacked-meta,
.admin-topbar-actions {
  display: flex;
  gap: 0.8rem;
}

.card-topline,
.card-meta {
  align-items: center;
  justify-content: space-between;
}

.stacked-meta {
  flex-direction: column;
  color: var(--muted);
  margin: 1rem 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.feature-list li {
  display: flex;
  align-items: start;
  gap: 0.65rem;
  color: #dfefff;
}

.feature-list li::before {
  content: "•";
  color: var(--accent);
  font-weight: 700;
}

.price-band {
  margin-top: 1.15rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 191, 63, 0.2), rgba(255, 191, 63, 0.06));
  border: 1px solid rgba(255, 191, 63, 0.24);
}

.price-band strong {
  display: block;
  font-size: 2rem;
  color: #fff;
}

.price-band-light strong {
  color: #fef4d4;
}

.price-label {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--accent-soft);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.spotlight-card {
  min-height: 260px;
  background:
    linear-gradient(180deg, rgba(20, 44, 82, 0.92), rgba(7, 16, 31, 0.9)),
    var(--bg-deep);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.timeline-card-rich span:first-child {
  color: var(--accent-soft);
}

.page-hero {
  padding-top: 4.2rem;
}

.page-hero-dark {
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(10, 21, 39, 0.9), rgba(8, 17, 29, 0.8));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.public-footer {
  position: relative;
  z-index: 2;
  padding: 3.2rem 0 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(31, 213, 255, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 181, 72, 0.16), transparent 20%),
    linear-gradient(135deg, #08111d 0%, #0d1f34 54%, #0a1728 100%);
  color: rgba(255, 255, 255, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.public-footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.35fr);
  gap: 1.25rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

.public-footer-shell > *,
.public-footer-links > *,
.public-footer-brand-panel > *,
.public-footer-card > *,
.home-proposal-action-card > *,
.home-proposal-showcase-tile > *,
.home-proposal-product-card-spotlight > *,
.home-proposal-service-row > *,
.home-proposal-service-row-body > * {
  min-width: 0;
}

.public-footer-brand-panel,
.public-footer-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.public-footer-brand-panel {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.45rem;
  overflow: hidden;
}

.public-footer-copy {
  margin: 0;
  color: rgba(232, 240, 248, 0.78);
  line-height: 1.6;
}

.public-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.public-footer-social {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
}

.public-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.public-footer-card {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  padding: 1.35rem 1.25rem;
  overflow: hidden;
}

.public-footer-card h4 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

.public-footer-card a,
.public-footer-card p {
  margin: 0;
  color: rgba(232, 240, 248, 0.76);
  line-height: 1.6;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.public-footer-card a,
.public-footer-copy,
.home-proposal-action-text,
.home-proposal-showcase-info p,
.home-proposal-product-copy p,
.home-proposal-service-row-body p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-bottom {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.auth-wrap {
  min-height: calc(100vh - 84px);
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(560px, 100%);
  padding: 2.2rem;
  background: linear-gradient(180deg, rgba(11, 22, 38, 0.9), rgba(8, 17, 29, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-meta {
  margin-top: 1rem;
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
}

.contact-form input,
.contact-form textarea,
.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 0.82rem 0.92rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  line-height: 1.45;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.admin-form input::placeholder,
.admin-form textarea::placeholder {
  color: #88a0ba;
}

body.theme-admin .contact-form input,
body.theme-admin .contact-form textarea,
body.theme-admin .admin-form input,
body.theme-admin .admin-form textarea,
body.theme-admin .admin-form select {
  background: #fff;
  color: var(--ink-dark);
  border-color: rgba(19, 33, 53, 0.12);
  font-size: 0.94rem;
}

body.theme-admin .admin-form input[readonly] {
  background: linear-gradient(180deg, #f3f7fb, #eef4fb);
  color: #46627e;
  border-color: rgba(19, 33, 53, 0.08);
  font-weight: 700;
  cursor: default;
}

body.theme-admin .button-secondary {
  background: #fff;
  color: var(--ink-dark);
  border-color: rgba(19, 33, 53, 0.12);
}

.eyebrow-dark {
  color: #7a8ba0;
}

body.theme-public {
  background:
    radial-gradient(circle at top left, rgba(11, 124, 255, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 191, 63, 0.12), transparent 24%),
    linear-gradient(180deg, #f7faff 0%, #eff4fb 42%, #f8fbff 100%);
  color: var(--ink-dark);
}

body.theme-public .site-shell {
  overflow: visible;
}

body.theme-public .site-shell::before {
  top: 0;
  left: -8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(11, 124, 255, 0.14), transparent 72%);
}

body.theme-public .site-shell::after {
  right: -10%;
  bottom: 12%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 191, 63, 0.14), transparent 70%);
}

body.theme-public .public-header {
  background: rgba(248, 251, 255, 0.68);
  border-bottom: 1px solid rgba(19, 33, 53, 0.06);
  box-shadow: 0 12px 36px rgba(19, 33, 53, 0.04);
}

body.theme-public .nav-row {
  min-height: 70px;
  gap: 1rem;
  padding: 0.55rem 0.95rem;
  margin-top: 0.45rem;
  margin-bottom: 0.45rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(19, 33, 53, 0.08);
  box-shadow: 0 12px 32px rgba(19, 33, 53, 0.06);
}

.brand-public {
  gap: 0.85rem;
}

.brand-public-logo {
  flex: 0 0 auto;
}

.brand-public-mark {
  width: 52px;
  height: 52px;
  padding: 0.16rem;
  flex: 0 0 auto;
}

.brand-public-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(17, 34, 56, 0.12));
}

.brand-public-copy {
  display: grid;
  min-width: 0;
}

.brand-public-copy strong {
  color: #10233a;
  font-size: 1rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.brand-public-footer {
  align-items: flex-start;
}

body.theme-public .public-nav a,
body.theme-public .text-link {
  color: #4e667f;
}

body.theme-public .public-nav {
  margin-left: auto;
  padding: 0.4rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(240, 246, 255, 0.96), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(19, 33, 53, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.theme-public .public-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
}

body.theme-public .public-nav a:hover,
body.theme-public .public-nav .is-active,
body.theme-public .text-link:hover {
  color: var(--ink-dark);
  background: #fff;
  box-shadow: 0 10px 24px rgba(19, 33, 53, 0.08);
}

.text-link-dark {
  color: var(--ink-dark);
  font-weight: 700;
}

.public-nav-cta,
.button-secondary-light,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
}

body.theme-public .nav-cta,
body.theme-public .button-primary {
  background: linear-gradient(135deg, #0f4da1, #1b88ff);
  color: #fff !important;
  box-shadow: 0 18px 34px rgba(15, 77, 161, 0.18);
}

body.theme-public .button-secondary,
body.theme-public .button-secondary-light,
body.theme-public .public-nav-admin {
  background: #fff;
  color: var(--ink-dark);
  border: 1px solid rgba(19, 33, 53, 0.12);
  box-shadow: 0 10px 30px rgba(19, 33, 53, 0.06);
}

body.theme-public .public-nav-cta {
  position: relative;
  min-width: 136px;
  padding: 0 1.2rem;
  border-radius: 16px !important;
  background:
    linear-gradient(135deg, rgba(11, 20, 36, 0.98), rgba(18, 44, 78, 0.96)) padding-box,
    linear-gradient(135deg, rgba(27, 136, 255, 0.95), rgba(255, 191, 63, 0.88)) border-box;
  color: #fff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 14px 30px rgba(15, 40, 73, 0.2);
  letter-spacing: 0.01em;
}

body.theme-public .public-nav-cta::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1dd7ff, #ffbf3f);
  box-shadow: 0 0 0 5px rgba(29, 215, 255, 0.12);
}

body.theme-public .public-nav-cta:hover,
body.theme-public .public-nav-cta.is-active {
  color: #fff !important;
  background:
    linear-gradient(135deg, rgba(6, 16, 29, 0.99), rgba(11, 34, 62, 0.98)) padding-box,
    linear-gradient(135deg, rgba(27, 136, 255, 1), rgba(255, 191, 63, 0.95)) border-box;
  box-shadow: 0 18px 34px rgba(15, 40, 73, 0.24);
}

body.theme-public .public-nav a.public-nav-cta:hover,
body.theme-public .public-nav a.public-nav-cta:focus-visible,
body.theme-public .public-nav a.public-nav-cta.is-active {
  color: #fff !important;
  background:
    linear-gradient(135deg, rgba(6, 16, 29, 0.99), rgba(11, 34, 62, 0.98)) padding-box,
    linear-gradient(135deg, rgba(27, 136, 255, 1), rgba(255, 191, 63, 0.95)) border-box;
  border: 1px solid transparent !important;
  box-shadow: 0 18px 34px rgba(15, 40, 73, 0.24);
}

body.theme-public .button-ghost {
  background: transparent;
  color: #31506f;
  border: 1px dashed rgba(49, 80, 111, 0.24);
}

body.theme-public .eyebrow {
  color: #b88417;
}

body.theme-public .eyebrow-dark {
  color: #8f6b11;
}

body.theme-public .hero-copy,
body.theme-public .page-hero p,
body.theme-public .auth-card p,
body.theme-public .card p,
body.theme-public .timeline-card p,
body.theme-public .spotlight-card p,
body.theme-public .stacked-meta,
body.theme-public .hero-stats span {
  color: #5f7488;
}

body.theme-public .hero-copy-wrap,
body.theme-public .hero-visual,
body.theme-public .hero-offer-card,
body.theme-public .card,
body.theme-public .timeline-card,
body.theme-public .auth-card,
body.theme-public .spotlight-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(19, 33, 53, 0.08);
  box-shadow: 0 18px 45px rgba(24, 45, 74, 0.08);
}

body.theme-public .hero-stats article {
  background: #fff;
  border: 1px solid rgba(19, 33, 53, 0.08);
}

body.theme-public .chip {
  background: #eff6ff;
  color: #1a4d88;
}

body.theme-public .pill,
body.theme-public .spotlight-tag {
  background: #fff3d8;
  color: #8b6610;
}

body.theme-public .product-media,
body.theme-public .service-media {
  background:
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.1), transparent 28%),
    linear-gradient(135deg, #eef5ff, #f8fbff);
  border: 1px solid rgba(19, 33, 53, 0.08);
}

body.theme-public .feature-list li {
  color: var(--ink-dark);
}

body.theme-public .feature-list li::before {
  content: "\2022";
}

body.theme-public .price-band {
  background: linear-gradient(135deg, #f7fbff, #fff4dc);
  border: 1px solid rgba(219, 177, 82, 0.28);
}

body.theme-public .price-band strong,
body.theme-public .price-band-light strong {
  color: #112137;
}

body.theme-public .price-label {
  color: #9e7213;
}

body.theme-public .page-hero-dark {
  background:
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 248, 255, 0.92));
  border-bottom: 1px solid rgba(19, 33, 53, 0.08);
}

body.theme-public .section-alt,
body.theme-public .section-dark {
  background: transparent;
}

body.theme-public .public-footer {
  background:
    radial-gradient(circle at top left, rgba(31, 213, 255, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 181, 72, 0.14), transparent 22%),
    linear-gradient(135deg, #08111d 0%, #102742 52%, #0b192a 100%);
  color: rgba(255, 255, 255, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.theme-public .public-footer-card a,
body.theme-public .public-footer-card p,
body.theme-public .public-footer-copy {
  color: rgba(232, 240, 248, 0.78);
}

body.theme-public .footer-bottom {
  color: rgba(232, 240, 248, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.theme-public .flash-success {
  background: rgba(73, 215, 161, 0.16);
  color: #176947;
}

body.theme-public .flash-error {
  background: rgba(255, 107, 107, 0.14);
  color: #8d2626;
}

.public-catalog-shell {
  display: grid;
  gap: 1rem;
}

.public-catalog-form {
  display: grid;
  gap: 1rem;
}

.public-catalog-searchbar {
  display: grid;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
}

.public-catalog-search-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
}

.public-catalog-search-input input {
  min-height: 54px;
  padding: 0 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(19, 33, 53, 0.1);
  background: #fff;
  color: #10233a;
  font: inherit;
  font-size: 1rem;
}

.public-catalog-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(19, 33, 53, 0.1);
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  color: #4e667f;
}

.public-catalog-search-submit svg {
  width: 20px;
  height: 20px;
}

.public-catalog-search-suggestions {
  display: grid;
  gap: 0.55rem;
}

.public-catalog-search-suggestions > span {
  color: #71859a;
  font-size: 0.82rem;
  font-weight: 700;
}

.public-catalog-suggestion-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.public-catalog-suggestion {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: #f7fbff;
  color: #47607a;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
}

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

.public-catalog-filter-toggle,
.public-catalog-sidebar-backdrop,
.public-catalog-sidebar-close {
  display: none;
}

.public-catalog-filter-toggle {
  align-items: center;
  gap: 0.55rem;
  justify-content: center;
}

.public-catalog-filter-toggle svg {
  width: 18px;
  height: 18px;
}

.public-catalog-filter-toggle small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f4da1, #1b88ff);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.public-catalog-field,
.public-catalog-field * {
  min-width: 0;
}

.public-catalog-sidebar {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  position: sticky;
  top: 88px;
}

.public-catalog-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.public-catalog-sidebar-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.public-catalog-sidebar-head strong {
  color: #10233a;
  font-size: 1.02rem;
}

.public-catalog-clear-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  border: 1px solid rgba(19, 33, 53, 0.1);
  color: #183553;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(19, 33, 53, 0.06);
}

.public-catalog-clear-link:hover {
  color: #0f4da1;
  border-color: rgba(15, 77, 161, 0.16);
}

.public-catalog-sidebar-close {
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(19, 33, 53, 0.1);
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  color: #36597b;
}

.public-catalog-sidebar-close svg {
  width: 18px;
  height: 18px;
}

.public-filter-group {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(19, 33, 53, 0.08);
}

.public-filter-group:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.public-filter-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  cursor: pointer;
  color: #10233a;
  font-weight: 700;
  list-style: none;
}

.public-filter-group summary::-webkit-details-marker {
  display: none;
}

.public-filter-group summary::after {
  content: "+";
  color: #6f8296;
  font-size: 1.1rem;
  line-height: 1;
}

.public-filter-group[open] summary::after {
  content: "-";
}

.public-filter-options {
  display: grid;
  gap: 0.45rem;
}

.public-filter-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  color: #51677e;
  font-size: 0.92rem;
}

.public-filter-option span {
  min-width: 0;
}

.public-filter-option small {
  color: #8a9aad;
}

.public-catalog-sidebar-actions {
  display: grid;
  margin-top: 0.2rem;
}

.public-price-filter-box {
  display: grid;
  gap: 0.75rem;
}

.public-price-filter-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.public-price-filter-fields label {
  display: grid;
  gap: 0.35rem;
}

.public-price-filter-fields span {
  color: #5c7086;
  font-size: 0.78rem;
  font-weight: 800;
}

.public-price-filter-fields input {
  width: 100%;
  min-height: 42px;
  padding: 0 0.78rem;
  border: 1px solid rgba(18, 53, 88, 0.14);
  border-radius: 13px;
  background: #ffffff;
  color: #10233a;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.public-price-filter-fields input:focus {
  outline: none;
  border-color: rgba(33, 123, 226, 0.46);
  box-shadow: 0 0 0 3px rgba(33, 123, 226, 0.12);
}

.public-price-filter-box p {
  margin: 0;
  padding-top: 0.2rem;
  color: #60758b;
  font-size: 0.88rem;
  font-weight: 700;
}

.public-catalog-main {
  display: grid;
  gap: 0.9rem;
}

.public-catalog-results-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.15rem 0;
}

.public-catalog-results {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.public-catalog-summary {
  display: grid;
  gap: 0.2rem;
}

.public-catalog-summary strong {
  color: #10233a;
  font-size: 1.02rem;
}

.public-catalog-summary span {
  color: #62768a;
}

.public-catalog-sorter-shell {
  display: grid;
  justify-items: end;
  gap: 0.3rem;
  width: min(100%, 255px);
}

.public-catalog-sorter-label {
  color: #687d91;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-catalog-sorter-box {
  position: relative;
  display: block;
  align-items: center;
  width: 100%;
  min-height: 43px;
  padding: 0;
  border-radius: 14px;
  border: 1px solid #d8dde6;
  background: #ffffff;
  box-shadow: none;
  cursor: pointer;
  overflow: hidden;
}

.public-catalog-sorter-box::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1.6px solid #8a96a8;
  border-bottom: 1.6px solid #8a96a8;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.public-catalog-sorter-box:focus-within {
  border-color: #2b6fd6;
  box-shadow: 0 0 0 1px rgba(43, 111, 214, 0.12);
}

.public-catalog-sorter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eaf3ff, #f4f8ff);
  color: #36597b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.public-catalog-sorter-icon svg {
  width: 18px;
  height: 18px;
}

.public-catalog-sorter-box select {
  width: 100%;
  min-height: 43px;
  padding: 0 2.4rem 0 0.95rem;
  border: 0;
  background: transparent;
  color: #10233a;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  appearance: none;
  cursor: pointer;
}

.public-catalog-sorter-box select:focus {
  outline: none;
}

.public-active-filter-strip {
  justify-content: flex-start;
}

.public-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 246px));
  justify-content: center;
  gap: 0.95rem;
}

.public-product-card {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 0.9rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.public-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(24, 45, 74, 0.11);
}

.public-product-card:focus-visible {
  outline: 2px solid rgba(11, 124, 255, 0.44);
  outline-offset: 3px;
}

.public-product-card-media {
  height: 168px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.14), transparent 24%),
    linear-gradient(135deg, #edf5ff, #f9fbff);
  border: 1px solid rgba(19, 33, 53, 0.08);
}

.public-product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.8rem;
  box-sizing: border-box;
}

.public-product-card-title {
  margin: 0;
  color: #10233a;
  font-size: 1rem;
  line-height: 1.24;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.public-product-card-footer {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 0.55rem;
}

.public-product-price-band {
  min-height: 42px;
  width: fit-content;
  margin-top: 0;
  padding: 0.55rem 0.72rem;
  border-radius: 18px;
}

.public-product-price-band .price-label {
  margin-bottom: 0.2rem;
  color: #7f8fa0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.public-product-price-band strong {
  font-size: 1.3rem;
  color: #0f5bc0;
  line-height: 1;
}

.public-product-qty-box {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  max-width: 100%;
  justify-self: center;
}

.public-product-qty-box > * {
  min-width: 0;
}

.public-product-qty-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(19, 33, 53, 0.12);
  border-radius: 12px;
  background: #fff;
  color: #2d4c6b;
  font: inherit;
  font-weight: 700;
}

.public-product-qty-step:disabled,
.public-product-qty-input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.public-product-qty-input {
  width: 72px;
  min-height: 36px;
  padding: 0 0.65rem;
  border: 1px solid rgba(19, 33, 53, 0.12);
  border-radius: 12px;
  background: #fff;
  color: #10233a;
  text-align: center;
  font: inherit;
  font-weight: 700;
}

.public-product-card-actions {
  display: grid;
  gap: 0.6rem;
}

.public-product-buy {
  gap: 0.55rem;
  width: 100%;
}

.public-product-card-actions .button-secondary-light {
  justify-self: center;
  min-width: 148px;
}

.public-product-buy svg,
.public-product-modal-buy svg {
  width: 18px;
  height: 18px;
}

.public-product-pill-muted {
  background: #eff2f6;
  color: #5d7184;
}

.public-pagination-bar {
  display: flex;
  justify-content: center;
  margin-top: 0.55rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(19, 33, 53, 0.08);
}

.public-pagination-bar .pagination-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: auto;
  max-width: 100%;
}

.public-pagination-bar .page-number-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.35rem;
  overflow-x: auto;
  max-width: min(100%, calc(100vw - 7rem));
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.public-pagination-bar .page-number-row::-webkit-scrollbar {
  display: none;
}

.public-pagination-bar .page-link {
  min-width: 34px;
  min-height: 34px;
  padding: 0 0.45rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #1a314a;
  box-shadow: none;
  font-size: 0.95rem;
}

.public-pagination-bar .page-link:hover {
  transform: none;
  border-color: transparent;
  color: #0b5bc0;
  background: rgba(11, 124, 255, 0.08);
}

.public-pagination-bar .page-link.is-current {
  min-width: 36px;
  border-radius: 999px;
  background: #20364d;
  color: #fff;
  box-shadow: none;
}

.public-pagination-bar .page-link.is-disabled {
  opacity: 0.45;
}

.public-pagination-bar .page-link-arrow {
  min-width: 32px;
  width: 32px;
  min-height: 32px;
  padding: 0;
  border: 1px solid rgba(19, 33, 53, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #4d647b;
  justify-content: center;
}

.public-product-modal-panel {
  width: min(1080px, calc(100vw - 2rem));
}

.public-product-modal-banner {
  margin-bottom: 1rem;
}

.public-product-modal-banner .modal-close {
  background: linear-gradient(135deg, rgba(173, 32, 32, 0.96), rgba(221, 67, 67, 0.92));
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 28px rgba(132, 20, 20, 0.22);
}

.public-product-modal-banner .modal-close:hover {
  background: linear-gradient(135deg, rgba(154, 24, 24, 0.98), rgba(205, 54, 54, 0.94));
}

.public-product-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 320px;
  gap: 1rem;
  align-items: start;
}

.public-product-modal-media {
  min-height: 340px;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.16), transparent 24%),
    linear-gradient(135deg, #edf5ff, #f9fbff);
  border: 1px solid rgba(19, 33, 53, 0.08);
}

.public-product-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.4rem;
  box-sizing: border-box;
}

.public-product-modal-aside {
  display: grid;
  gap: 0.8rem;
}

.public-product-modal-price,
.public-product-modal-qty-box {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem;
  border-radius: 22px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.public-product-modal-price span,
.public-product-modal-qty-box span {
  color: #6a7e92;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.public-product-modal-price strong {
  color: #10233a;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
}

.public-product-modal-buy {
  gap: 0.55rem;
}

.public-product-modal-meta {
  display: grid;
  gap: 0.6rem;
  margin: 0;
}

.public-product-modal-meta div {
  display: grid;
  gap: 0.18rem;
  padding: 0.82rem 0.9rem;
  border-radius: 18px;
  background: #f7fbff;
  border: 1px solid rgba(19, 33, 53, 0.06);
}

.public-product-modal-meta dt {
  color: #718599;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.public-product-modal-meta dd {
  margin: 0;
  color: #10233a;
  line-height: 1.45;
}

.public-product-modal-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.public-product-modal-block {
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.public-product-modal-block h3,
.public-product-modal-block p {
  margin: 0;
}

.public-product-modal-block p {
  color: #5f7488;
  line-height: 1.65;
}

.public-product-modal-features {
  margin: 0;
}

.public-service-intro {
  padding: 1rem 1.05rem;
  background:
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.12), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 191, 63, 0.14), transparent 26%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.public-service-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 1rem;
  align-items: center;
}

.public-service-intro-copy {
  display: grid;
  gap: 0.32rem;
}

.public-service-intro-kicker {
  margin: 0;
  color: #597289;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-service-intro-copy h1,
.public-service-intro-copy p {
  margin: 0;
}

.public-service-intro-copy h1 {
  color: #10233a;
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.public-service-intro-copy p {
  color: #5f7488;
  font-size: 0.92rem;
  line-height: 1.52;
  max-width: 74ch;
}

.public-service-intro-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
}

.public-service-intro-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #eef6ff);
  border: 1px solid rgba(19, 33, 53, 0.08);
  color: #21486d;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(19, 33, 53, 0.05);
}

.public-service-intro-points span:nth-child(2n) {
  background: linear-gradient(180deg, #fff7e7, #ffe7b4);
  color: #6d4600;
  border-color: rgba(233, 156, 17, 0.14);
}

.public-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.public-service-card {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: 0.9rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.public-service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(24, 45, 74, 0.11);
}

.public-service-card:focus-visible {
  outline: 2px solid rgba(11, 124, 255, 0.44);
  outline-offset: 3px;
}

.public-service-card-media {
  position: relative;
  height: 188px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.14), transparent 24%),
    linear-gradient(135deg, #edf5ff, #f9fbff);
  border: 1px solid rgba(19, 33, 53, 0.08);
}

.public-service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-service-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(12, 24, 40, 0.82);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.public-service-card-copy {
  display: grid;
  gap: 0.55rem;
}

.public-service-card-title,
.public-service-card-summary {
  margin: 0;
}

.public-service-card-title {
  color: #10233a;
  font-size: 1rem;
  line-height: 1.24;
}

.public-service-card-summary {
  color: #5f7488;
  font-size: 0.92rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.public-service-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.public-service-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: #f2f7fd;
  color: #355676;
  font-size: 0.76rem;
  font-weight: 700;
}

.public-service-card-footer {
  display: grid;
  gap: 0.2rem;
  margin-top: auto;
}

.public-service-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.public-service-card-actions .button {
  min-height: 42px;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
}

.public-service-modal-panel {
  width: min(1040px, calc(100vw - 2rem));
}

.public-service-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1rem;
  align-items: start;
}

.public-service-modal-media {
  min-height: 320px;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.16), transparent 24%),
    linear-gradient(135deg, #edf5ff, #f9fbff);
  border: 1px solid rgba(19, 33, 53, 0.08);
}

.public-service-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-service-modal-aside {
  display: grid;
  gap: 0.8rem;
}

.public-service-modal-cta-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem;
  border-radius: 22px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.public-service-modal-cta-card span {
  color: #6a7e92;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.public-service-modal-cta-card strong {
  color: #10233a;
  font-size: 1.2rem;
  line-height: 1.2;
}

.public-service-modal-buy {
  min-height: 48px;
}

.public-service-modal-meta {
  display: grid;
  gap: 0.6rem;
  margin: 0;
}

.public-service-modal-meta div {
  display: grid;
  gap: 0.18rem;
  padding: 0.82rem 0.9rem;
  border-radius: 18px;
  background: #f7fbff;
  border: 1px solid rgba(19, 33, 53, 0.06);
}

.public-service-modal-meta dt {
  color: #718599;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.public-service-modal-meta dd {
  margin: 0;
  color: #10233a;
  line-height: 1.45;
}

.public-service-modal-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.public-cases-shell {
  display: grid;
  gap: 1rem;
}

.public-cases-intro {
  padding: 1rem 1.05rem;
}

.public-cases-intro-copy {
  display: grid;
  gap: 0.28rem;
}

.public-cases-kicker {
  margin: 0;
  color: #597289;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-cases-intro-copy h1,
.public-cases-intro-copy p,
.public-case-support-head h2,
.public-case-cta h2 {
  margin: 0;
}

.public-cases-intro-copy h1 {
  color: #10233a;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.public-cases-intro-copy p {
  color: #5f7488;
  font-size: 0.94rem;
  line-height: 1.58;
  max-width: 72ch;
}

.public-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.public-case-card {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding: 0.9rem;
}

.public-case-card-media {
  height: 220px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.14), transparent 24%),
    linear-gradient(135deg, #edf5ff, #f9fbff);
  border: 1px solid rgba(19, 33, 53, 0.08);
}

.public-case-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-case-card-copy {
  display: grid;
  gap: 0.6rem;
}

.public-case-card-tag,
.public-case-support-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  width: fit-content;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: #edf5ff;
  color: #2c567c;
  font-size: 0.74rem;
  font-weight: 700;
}

.public-case-card-copy h2,
.public-case-support-card h3 {
  margin: 0;
  color: #10233a;
  line-height: 1.18;
}

.public-case-card-copy h2 {
  font-size: 1.04rem;
}

.public-case-card-copy p,
.public-case-support-card p {
  margin: 0;
  color: #5f7488;
  line-height: 1.6;
}

.public-case-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.public-case-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: #f5f8fc;
  color: #4f6881;
  font-size: 0.76rem;
  font-weight: 700;
}

.public-case-points {
  display: grid;
  gap: 0.42rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.public-case-points li {
  position: relative;
  padding-left: 0.95rem;
  color: #264462;
  line-height: 1.45;
}

.public-case-points li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 0;
  color: #1b88ff;
  font-weight: 700;
}

.public-case-support {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background:
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 191, 63, 0.14), transparent 26%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.public-case-support-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.public-case-support-copy {
  display: grid;
  gap: 0.4rem;
}

.public-case-support-head h2,
.public-case-cta h2 {
  color: #10233a;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.12;
}

.public-case-support-copy p:last-child {
  margin: 0;
  color: #5f7488;
  line-height: 1.6;
  max-width: 64ch;
}

.public-case-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.public-case-support-card {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  padding: 1rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid rgba(19, 33, 53, 0.08);
  box-shadow: 0 18px 42px rgba(19, 33, 53, 0.06);
  position: relative;
  overflow: hidden;
}

.public-case-support-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1b88ff, #ffbf3f);
}

.public-case-support-card-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.public-case-support-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.45rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #143454, #21598d);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 24px rgba(20, 52, 84, 0.16);
}

.public-case-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.05rem;
}

.public-about-shell {
  display: grid;
  gap: 1rem;
}

.public-about-intro {
  display: grid;
  gap: 0.55rem;
}

.public-about-kicker,
.public-about-card-kicker {
  margin: 0;
  color: #597289;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-about-intro h1,
.public-about-intro p,
.public-about-card h2,
.public-about-card p {
  margin: 0;
}

.public-about-intro h1 {
  color: #10233a;
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 24ch;
}

.public-about-intro p,
.public-about-card p {
  color: #5f7488;
  line-height: 1.6;
}

.public-about-intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.public-about-intro-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  border: 1px solid rgba(19, 33, 53, 0.1);
  color: #22486d;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(19, 33, 53, 0.06);
}

.public-about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.public-about-grid-trio {
  align-items: stretch;
}

.public-about-grid-wide {
  grid-template-columns: 1.15fr 0.85fr;
}

.public-about-card {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid rgba(19, 33, 53, 0.08);
  box-shadow: 0 18px 40px rgba(19, 33, 53, 0.06);
}

.public-about-card h2 {
  color: #10233a;
  font-size: 1.1rem;
  line-height: 1.18;
}

.public-about-card-tone {
  position: relative;
  overflow: hidden;
}

.public-about-card-tone::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
}

.public-about-card-blue {
  background:
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.12), transparent 35%),
    linear-gradient(180deg, #ffffff, #f6faff);
}

.public-about-card-blue::before {
  background: linear-gradient(90deg, #1b88ff, #53b8ff);
}

.public-about-card-gold {
  background:
    radial-gradient(circle at top right, rgba(255, 191, 63, 0.16), transparent 35%),
    linear-gradient(180deg, #fffdfa, #fff7e8);
}

.public-about-card-gold::before {
  background: linear-gradient(90deg, #ffbf3f, #ffd978);
}

.public-about-card-dark {
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.14), transparent 35%),
    linear-gradient(180deg, #11233b, #0e1b2f);
  border-color: rgba(255, 255, 255, 0.08);
}

.public-about-card-dark::before {
  background: linear-gradient(90deg, #1dd7ff, #0b7cff);
}

.public-about-card-dark h2,
.public-about-card-dark .public-about-card-kicker,
.public-about-card-dark .public-about-list li {
  color: #f5f9ff;
}

.public-about-card-dark .public-about-card-kicker {
  opacity: 0.86;
}

.public-about-card-dark .public-about-list li::before {
  color: #78d9ff;
}

.public-about-card-feature {
  background:
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.1), transparent 34%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.public-about-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.public-about-list li {
  position: relative;
  padding-left: 0.95rem;
  color: #264462;
  line-height: 1.5;
}

.public-about-list li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 0;
  color: #1b88ff;
  font-weight: 700;
}

.public-about-connect {
  gap: 0.8rem;
  background:
    radial-gradient(circle at top right, rgba(255, 191, 63, 0.14), transparent 30%),
    radial-gradient(circle at bottom left, rgba(27, 136, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.public-about-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.public-about-mini-stats article {
  display: grid;
  gap: 0.15rem;
  padding: 0.78rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(19, 33, 53, 0.08);
}

.public-about-mini-stats strong {
  color: #10233a;
  font-size: 1.3rem;
  line-height: 1;
}

.public-about-mini-stats span {
  color: #5f7488;
  font-size: 0.78rem;
  font-weight: 700;
}

.public-about-contact-meta {
  display: grid;
  gap: 0.45rem;
}

.public-about-contact-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  width: fit-content;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: #f5f8fc;
  color: #45617d;
  font-size: 0.84rem;
  font-weight: 700;
}

.public-about-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.public-about-socials a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  border: 1px solid rgba(19, 33, 53, 0.1);
  color: #183553;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(19, 33, 53, 0.06);
}

.public-about-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(27, 136, 255, 0.1), transparent 24%),
    radial-gradient(circle at bottom right, rgba(255, 191, 63, 0.14), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.public-about-section::before,
.public-about-section::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.public-about-section::before {
  top: -3rem;
  left: -4rem;
  width: 15rem;
  height: 15rem;
  background: radial-gradient(circle, rgba(27, 136, 255, 0.12), transparent 68%);
}

.public-about-section::after {
  right: -5rem;
  bottom: -4rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(255, 191, 63, 0.16), transparent 68%);
}

.public-about-shell-reimagined {
  position: relative;
  z-index: 1;
  gap: 1.1rem;
}

.public-about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 1rem;
  align-items: stretch;
}

.public-about-hero-copy,
.public-about-hero-side {
  display: grid;
  gap: 0.7rem;
}

.public-about-hero-copy {
  padding: 1.2rem;
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(9, 22, 38, 0.98), rgba(20, 46, 78, 0.95)),
    radial-gradient(circle at top left, rgba(29, 215, 255, 0.2), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 191, 63, 0.22), transparent 26%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(8, 20, 36, 0.18);
}

.public-about-hero-copy .public-about-kicker {
  color: #ffd97a;
}

.public-about-hero-copy h1,
.public-about-hero-copy p {
  margin: 0;
}

.public-about-hero-copy h1 {
  color: #ffffff;
  font-size: clamp(1.75rem, 3.2vw, 2.7rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 12ch;
  text-wrap: balance;
}

.public-about-hero-copy p {
  color: rgba(233, 241, 255, 0.84);
  max-width: 58ch;
  line-height: 1.7;
}

.public-about-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.public-about-hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f2f7ff;
  font-size: 0.83rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.public-about-hero-side {
  padding: 1.05rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, #ffffff, #f6fbff),
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.12), transparent 32%);
  border: 1px solid rgba(18, 48, 78, 0.08);
  box-shadow: 0 20px 56px rgba(14, 36, 60, 0.08);
}

.public-about-hero-brand {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
}

.public-about-hero-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 20px;
  background: linear-gradient(180deg, #f2f8ff, #ffffff);
  padding: 0.45rem;
  border: 1px solid rgba(18, 48, 78, 0.08);
}

.public-about-hero-brand strong,
.public-about-hero-brand span {
  display: block;
}

.public-about-hero-brand strong {
  color: #10233a;
  font-size: 1.02rem;
  line-height: 1.2;
}

.public-about-hero-brand span {
  margin-top: 0.2rem;
  color: #5c7187;
  line-height: 1.5;
}

.public-about-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.public-about-hero-stats article {
  display: grid;
  gap: 0.18rem;
  padding: 0.85rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #eef6ff);
  border: 1px solid rgba(18, 48, 78, 0.08);
  box-shadow: 0 12px 28px rgba(16, 42, 71, 0.06);
}

.public-about-hero-stats strong {
  color: #143454;
  font-size: 1.4rem;
  line-height: 1;
}

.public-about-hero-stats span {
  color: #62809a;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.public-about-hero-note {
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff6e7, #fff0ca);
  color: #694300;
  line-height: 1.6;
  border: 1px solid rgba(233, 156, 17, 0.16);
}

.public-about-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  gap: 1rem;
}

.public-about-feature-card {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding: 1.05rem;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(19, 33, 53, 0.08);
  box-shadow: 0 20px 50px rgba(19, 33, 53, 0.08);
}

.public-about-feature-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
}

.public-about-feature-card h2,
.public-about-feature-card p {
  margin: 0;
}

.public-about-feature-card h2 {
  font-size: 1.2rem;
  line-height: 1.14;
}

.public-about-feature-card-dark {
  background:
    radial-gradient(circle at top right, rgba(255, 191, 63, 0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(29, 215, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #ffffff, #eef6ff);
  border-color: rgba(21, 55, 88, 0.08);
  box-shadow: 0 22px 54px rgba(14, 36, 60, 0.08);
}

.public-about-feature-card-dark::before {
  background: linear-gradient(90deg, #1dd7ff, #ffbf3f);
}

.public-about-feature-card-dark h2 {
  color: #123454;
  text-shadow: none;
}

.public-about-feature-card-dark p {
  color: #4d6983;
}

.public-about-feature-card-dark .public-about-card-kicker {
  color: #d58900;
}

.public-about-feature-card-dark .public-about-checks li {
  color: #143454;
  padding: 0.72rem 0.8rem 0.72rem 2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(27, 136, 255, 0.12);
  box-shadow: 0 10px 24px rgba(14, 36, 60, 0.05);
}

.public-about-feature-card-dark .public-about-checks li::before {
  left: 0.8rem;
  top: 0.72rem;
  color: #1b88ff;
}

.public-about-feature-card-blue {
  background:
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.14), transparent 34%),
    linear-gradient(180deg, #ffffff, #f3f8ff);
}

.public-about-feature-card-blue::before {
  background: linear-gradient(90deg, #1b88ff, #58b7ff);
}

.public-about-feature-card-gold {
  background:
    radial-gradient(circle at top right, rgba(255, 191, 63, 0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 219, 121, 0.18), transparent 26%),
    linear-gradient(180deg, #ffffff, #fff6e5);
  border-color: rgba(233, 156, 17, 0.12);
  box-shadow: 0 22px 54px rgba(14, 36, 60, 0.08);
}

.public-about-feature-card-gold::before {
  background: linear-gradient(90deg, #ffbf3f, #e99c11);
}

.public-about-feature-card-gold .public-about-card-kicker {
  color: #d58900;
}

.public-about-feature-card-gold .public-about-goals li {
  color: #143454;
  padding: 0.72rem 0.8rem 0.72rem 2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(233, 156, 17, 0.14);
  box-shadow: 0 10px 24px rgba(14, 36, 60, 0.05);
}

.public-about-feature-card-gold .public-about-goals li::before {
  left: 0.8rem;
  top: 0.72rem;
  color: #d58900;
}

.public-about-checks,
.public-about-goals {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.public-about-checks li,
.public-about-goals li {
  position: relative;
  padding-left: 1rem;
  line-height: 1.55;
}

.public-about-checks li::before,
.public-about-goals li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.public-about-checks li::before {
  color: #7edfff;
}

.public-about-goals li {
  color: #244361;
}

.public-about-goals li::before {
  color: #d98a00;
}

.public-about-work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 1rem;
}

.public-about-work-card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 1.05rem;
  border-radius: 28px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  box-shadow: 0 20px 54px rgba(19, 33, 53, 0.08);
}

.public-about-work-card h2,
.public-about-work-card p {
  margin: 0;
}

.public-about-work-card-main {
  background:
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.public-about-work-card-connect {
  background:
    radial-gradient(circle at top right, rgba(255, 191, 63, 0.18), transparent 34%),
    linear-gradient(145deg, #ffffff, #fff7e7);
}

.public-about-service-mosaic {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.public-about-service-mosaic span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.95rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #eff6ff, #dcecff);
  color: #15395e;
  border: 1px solid rgba(27, 136, 255, 0.12);
  font-size: 0.84rem;
  font-weight: 700;
}

.public-about-service-mosaic span:nth-child(2n) {
  background: linear-gradient(180deg, #fff7e7, #ffe8b8);
  color: #704400;
  border-color: rgba(233, 156, 17, 0.15);
}

.public-about-contact-stack {
  display: grid;
  gap: 0.55rem;
}

.public-about-contact-stack span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  width: fit-content;
  max-width: 100%;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: #30506f;
  border: 1px solid rgba(18, 48, 78, 0.08);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.public-about-socials-strong a:nth-child(1) {
  background: linear-gradient(180deg, #e8fff3, #d4fbe3);
  color: #167447;
}

.public-about-socials-strong a:nth-child(2) {
  background: linear-gradient(180deg, #eef6ff, #dbeafe);
  color: #174ea6;
}

.public-about-socials-strong a:nth-child(3) {
  background: linear-gradient(180deg, #fff1f7, #ffe0ef);
  color: #b4236f;
}

.public-about-socials-strong a:nth-child(4) {
  background: linear-gradient(180deg, #f1f6ff, #e0ebff);
  color: #1b4f9f;
}

.public-contact-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(17, 135, 255, 0.1), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 191, 63, 0.14), transparent 26%),
    linear-gradient(180deg, #f7faff 0%, #eef5ff 100%);
}

.public-contact-section::before,
.public-contact-section::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.public-contact-section::before {
  top: 1.5rem;
  right: -4rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(25, 146, 255, 0.12), transparent 68%);
}

.public-contact-section::after {
  bottom: -5rem;
  left: -3rem;
  width: 15rem;
  height: 15rem;
  background: radial-gradient(circle, rgba(255, 185, 52, 0.12), transparent 68%);
}

.public-contact-shell {
  display: grid;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.public-contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 1rem;
  align-items: stretch;
}

.public-contact-intro,
.public-contact-hero-card,
.public-contact-direct-head,
.public-contact-form-head {
  display: grid;
  gap: 0.55rem;
}

.public-contact-intro {
  padding: 1.15rem;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(247, 251, 255, 0.96)),
    radial-gradient(circle at top left, rgba(17, 135, 255, 0.12), transparent 32%);
  border: 1px solid rgba(26, 61, 96, 0.08);
  box-shadow: 0 22px 60px rgba(15, 36, 60, 0.08);
}

.public-contact-kicker,
.public-contact-mini-kicker {
  margin: 0;
  color: #db9315;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-contact-intro h1,
.public-contact-intro p,
.public-contact-hero-card h2,
.public-contact-hero-card p,
.public-contact-direct-head h2,
.public-contact-direct-head p,
.public-contact-form-head h2,
.public-contact-form-head p {
  margin: 0;
}

.public-contact-intro h1 {
  color: #10233a;
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 24ch;
  text-wrap: balance;
}

.public-contact-intro p,
.public-contact-hero-card p,
.public-contact-direct-head p,
.public-contact-form-head p {
  color: #5f7488;
  line-height: 1.65;
}

.public-contact-intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.public-contact-intro-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  border: 1px solid rgba(19, 33, 53, 0.1);
  color: #22486d;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(19, 33, 53, 0.06);
}

.public-contact-intro-tags span:nth-child(2n) {
  background: linear-gradient(180deg, #fff8ea, #fff2d0);
  border-color: rgba(219, 147, 21, 0.18);
  color: #8a5a00;
}

.public-contact-hero-card {
  padding: 1.05rem;
  background:
    linear-gradient(145deg, rgba(11, 26, 44, 0.98), rgba(15, 38, 63, 0.94)),
    radial-gradient(circle at top right, rgba(255, 183, 54, 0.28), transparent 30%),
    radial-gradient(circle at bottom left, rgba(27, 136, 255, 0.3), transparent 30%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(8, 18, 33, 0.2);
  position: relative;
  overflow: hidden;
}

body.theme-public .public-contact-hero-card {
  background:
    linear-gradient(145deg, rgba(11, 26, 44, 0.98), rgba(15, 38, 63, 0.94)),
    radial-gradient(circle at top right, rgba(255, 183, 54, 0.28), transparent 30%),
    radial-gradient(circle at bottom left, rgba(27, 136, 255, 0.3), transparent 30%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(8, 18, 33, 0.2);
}

.public-contact-hero-card h2 {
  color: #ffffff;
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 6px 20px rgba(4, 10, 19, 0.28);
}

.public-contact-hero-card .public-contact-kicker {
  color: #ffd26d;
}

.public-contact-hero-card p {
  color: rgba(243, 248, 255, 0.92);
}

.public-contact-hero-card::after {
  content: "";
  position: absolute;
  inset: auto -2rem -3rem auto;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 197, 77, 0.22), transparent 66%);
  pointer-events: none;
}

.public-contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.public-contact-hero-points,
.public-contact-direct-list {
  display: grid;
  gap: 0.7rem;
}

.public-contact-hero-points article,
.public-contact-direct-list article {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(19, 33, 53, 0.08);
  min-width: 0;
}

.public-contact-hero-points article {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.public-contact-hero-points span,
.public-contact-direct-list span {
  color: #617588;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.public-contact-hero-points span {
  color: rgba(238, 245, 255, 0.86);
}

.public-contact-hero-points strong,
.public-contact-direct-list strong {
  color: #10233a;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.public-contact-hero-points strong {
  color: #ffffff;
  text-shadow: 0 4px 14px rgba(3, 10, 20, 0.24);
}

.public-contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.public-contact-channel-card {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  padding: 1rem;
  min-width: 0;
  border: 1px solid rgba(18, 48, 78, 0.08);
  box-shadow: 0 18px 46px rgba(13, 33, 55, 0.06);
  position: relative;
  overflow: hidden;
}

.public-contact-channel-card h2 {
  margin: 0;
  color: #10233a;
  font-size: 1.18rem;
  line-height: 1.12;
}

.public-contact-channel-card p {
  margin: 0;
  color: #607487;
  line-height: 1.55;
}

.public-contact-channel-card-primary {
  background:
    radial-gradient(circle at top right, rgba(33, 211, 132, 0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(27, 136, 255, 0.18), transparent 28%),
    linear-gradient(145deg, #0e2841, #15527a);
}

body.theme-public .public-contact-channel-card-primary {
  background:
    radial-gradient(circle at top right, rgba(33, 211, 132, 0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(27, 136, 255, 0.18), transparent 28%),
    linear-gradient(145deg, #0e2841, #15527a);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 60px rgba(10, 22, 39, 0.16);
}

.public-contact-channel-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #1a88ff, #57b1ff);
}

.public-contact-channel-card-gold::before {
  background: linear-gradient(180deg, #ffb731, #ffda7d);
}

.public-contact-channel-card-dark::before {
  background: linear-gradient(180deg, #163f69, #3b6f9f);
}

.public-contact-channel-card-gold {
  background:
    radial-gradient(circle at top right, rgba(255, 191, 63, 0.2), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 219, 121, 0.16), transparent 28%),
    linear-gradient(145deg, #2c2110, #5a3c12);
}

body.theme-public .public-contact-channel-card-gold {
  background:
    radial-gradient(circle at top right, rgba(255, 191, 63, 0.2), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 219, 121, 0.16), transparent 28%),
    linear-gradient(145deg, #2c2110, #5a3c12);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 60px rgba(10, 22, 39, 0.16);
}

.public-contact-channel-card-dark {
  background:
    radial-gradient(circle at top right, rgba(255, 182, 54, 0.16), transparent 34%),
    linear-gradient(145deg, #0f243b, #173759);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 60px rgba(10, 22, 39, 0.18);
}

body.theme-public .public-contact-channel-card-dark {
  background:
    radial-gradient(circle at top right, rgba(255, 182, 54, 0.16), transparent 34%),
    linear-gradient(145deg, #0f243b, #173759);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 60px rgba(10, 22, 39, 0.18);
}

.public-contact-channel-card-dark h2,
.public-contact-channel-card-dark p,
.public-contact-channel-card-dark .public-contact-mini-kicker {
  color: #eef5ff;
}

body.theme-public .public-contact-channel-card-dark h2,
body.theme-public .public-contact-channel-card-dark p,
body.theme-public .public-contact-channel-card-dark .public-contact-mini-kicker {
  color: #eef5ff;
}

.public-contact-channel-card-primary h2,
.public-contact-channel-card-primary p,
.public-contact-channel-card-primary .public-contact-mini-kicker,
.public-contact-channel-card-gold h2,
.public-contact-channel-card-gold p,
.public-contact-channel-card-gold .public-contact-mini-kicker {
  color: #eef5ff;
}

body.theme-public .public-contact-channel-card-primary h2,
body.theme-public .public-contact-channel-card-primary p,
body.theme-public .public-contact-channel-card-primary .public-contact-mini-kicker,
body.theme-public .public-contact-channel-card-gold h2,
body.theme-public .public-contact-channel-card-gold p,
body.theme-public .public-contact-channel-card-gold .public-contact-mini-kicker {
  color: #eef5ff;
}

.public-contact-channel-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #102e4d, #184f87);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 16px 30px rgba(16, 46, 77, 0.18);
}

.public-contact-channel-card-gold .public-contact-channel-badge {
  background: linear-gradient(180deg, #ffbf3f, #e99c11);
  color: #4b2f00;
}

.public-contact-channel-card-primary .public-contact-channel-badge {
  background: linear-gradient(180deg, #ffffff, #dcf8ea);
  color: #0f6b43;
}

.public-contact-channel-card-dark .public-contact-channel-badge {
  background: linear-gradient(180deg, #ffffff, #dfe9ff);
  color: #12304f;
}

.public-contact-channel-card .button {
  margin-top: auto;
}

.public-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1rem;
}

.public-contact-direct-card,
.public-contact-form-card {
  display: grid;
  align-content: start;
  gap: 0.95rem;
  padding: 1rem;
  min-width: 0;
}

.public-contact-direct-card {
  background:
    radial-gradient(circle at top right, rgba(255, 191, 63, 0.16), transparent 30%),
    radial-gradient(circle at bottom left, rgba(27, 136, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid rgba(21, 52, 83, 0.08);
  box-shadow: 0 20px 52px rgba(14, 36, 60, 0.08);
}

body.theme-public .public-contact-direct-card {
  background:
    radial-gradient(circle at top right, rgba(255, 191, 63, 0.16), transparent 30%),
    radial-gradient(circle at bottom left, rgba(27, 136, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid rgba(21, 52, 83, 0.08);
  box-shadow: 0 20px 52px rgba(14, 36, 60, 0.08);
}

.public-contact-direct-head h2,
.public-contact-form-head h2 {
  color: #10233a;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.14;
}

.public-contact-process {
  display: grid;
  gap: 0.75rem;
}

.public-contact-process-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.95rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(18, 48, 78, 0.08);
}

.public-contact-process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ecf5ff, #dbeeff);
  color: #174a7a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.public-contact-process-step strong {
  display: block;
  margin-bottom: 0.28rem;
  color: #10233a;
  line-height: 1.35;
}

.public-contact-process-step p {
  margin: 0;
  color: #607487;
  line-height: 1.55;
}

.public-contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.public-contact-socials a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  border: 1px solid rgba(19, 33, 53, 0.1);
  color: #183553;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(19, 33, 53, 0.06);
  overflow-wrap: anywhere;
}

.public-contact-socials a:nth-child(1) {
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
  color: #174ea6;
}

.public-contact-socials a:nth-child(2) {
  background: linear-gradient(180deg, #fff1f7, #ffe0ef);
  color: #b4236f;
}

.public-contact-socials a:nth-child(3) {
  background: linear-gradient(180deg, #f1f6ff, #e0ebff);
  color: #1b4f9f;
}

.public-contact-form-card {
  background:
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.1), transparent 32%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(20, 55, 88, 0.08);
  box-shadow: 0 20px 56px rgba(14, 36, 60, 0.08);
  position: relative;
  overflow: hidden;
}

body.theme-public .public-contact-form-card {
  background:
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.1), transparent 32%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(20, 55, 88, 0.08);
  box-shadow: 0 20px 56px rgba(14, 36, 60, 0.08);
}

.public-contact-form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #1a88ff, #ffbe3a);
}

.public-contact-form {
  gap: 1rem;
}

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

.public-contact-form-grid label {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.public-contact-form-grid label span {
  color: #15304d;
  font-weight: 700;
}

.public-contact-form-message {
  grid-column: 1 / -1;
}

.public-contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.public-contact-form-actions span {
  color: #617588;
  line-height: 1.5;
  min-width: 0;
}

body.theme-public .contact-form input,
body.theme-public .contact-form textarea {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  color: var(--ink-dark);
  border-color: rgba(19, 33, 53, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.theme-public .contact-form input:focus,
body.theme-public .contact-form textarea:focus {
  border-color: rgba(26, 136, 255, 0.45);
  box-shadow:
    0 0 0 4px rgba(26, 136, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.theme-public .contact-form input::placeholder,
body.theme-public .contact-form textarea::placeholder {
  color: #94a3b2;
}

.public-nosotros-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(34, 211, 238, 0.16), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(37, 99, 235, 0.14), transparent 30%),
    linear-gradient(180deg, #eef6ff 0%, #f7f7f7 42%, #f5f5f5 100%);
  color: #111827;
}

.public-nosotros-shell {
  max-width: 1120px;
  display: grid;
  gap: 1.9rem;
}

.public-nosotros-hero {
  max-width: 920px;
  margin: 0 auto;
  padding: 2.35rem 2rem;
  border-radius: 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7, 18, 35, 0.92), rgba(12, 60, 104, 0.86) 48%, rgba(16, 129, 184, 0.8)),
    radial-gradient(circle at 20% 15%, rgba(93, 213, 255, 0.35), transparent 35%),
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.22), transparent 25%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 70px rgba(6, 20, 38, 0.2);
}

.public-nosotros-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.24;
  pointer-events: none;
}

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

.public-nosotros-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 0.85rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.public-nosotros-kicker {
  margin: 0 0 0.45rem;
  color: #527094;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.public-nosotros-hero .public-nosotros-kicker {
  color: #bfe8ff;
}

.public-nosotros-hero h1,
.public-nosotros-card h2,
.public-nosotros-contact-card h2,
.public-nosotros-form-head h2 {
  margin: 0;
  color: #050b16;
  letter-spacing: 0;
}

.public-nosotros-hero h1 {
  color: #ffffff;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.25);
}

.public-nosotros-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.05;
  margin-bottom: 1.1rem;
}

.public-nosotros-hero p {
  max-width: 880px;
  margin: 0.45rem auto 0;
  color: rgba(241, 247, 255, 0.92);
  font-size: 1rem;
  line-height: 1.72;
  text-align: left;
}

.public-nosotros-hero p strong {
  color: #ffffff;
}

.public-nosotros-hero .public-nosotros-lead {
  font-size: 1.04rem;
}

.public-nosotros-statement {
  display: block;
  max-width: 900px;
  margin: 2.2rem auto 0;
  color: #ffffff;
  font-size: 1.02rem;
  line-height: 1.65;
  text-align: left;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.public-nosotros-mission-grid,
.public-nosotros-values-grid,
.public-nosotros-contact-grid {
  display: grid;
  gap: 1.65rem;
}

.public-nosotros-mission-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  width: 100%;
}

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

.public-nosotros-card,
.public-nosotros-contact-card,
.public-nosotros-form-card {
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
}

body.theme-public .public-nosotros-card,
body.theme-public .public-nosotros-contact-card,
body.theme-public .public-nosotros-form-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
}

.public-nosotros-card {
  min-height: 292px;
  padding: 2.2rem 1.95rem;
}

.public-nosotros-card h2 {
  margin-top: 1.1rem;
  font-size: 1.45rem;
  line-height: 1.2;
}

.public-nosotros-card p,
.public-nosotros-list {
  color: #1f2937;
  font-size: 0.96rem;
  line-height: 1.65;
}

.public-nosotros-card p {
  margin: 1.35rem 0 0;
}

.public-nosotros-icon {
  position: relative;
  display: inline-flex;
  width: 62px;
  height: 62px;
  color: #030712;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(225, 239, 255, 0.92)),
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.9), transparent 42%);
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.public-nosotros-icon::before,
.public-nosotros-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.public-nosotros-icon-user {
  background:
    linear-gradient(145deg, #061527, #123e69 58%, #21b6d7),
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.25), transparent 42%);
}

.public-nosotros-icon-user::before {
  top: 14px;
  left: 23px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #fff;
}

.public-nosotros-icon-user::after {
  left: 14px;
  bottom: 13px;
  width: 34px;
  height: 16px;
  border-radius: 999px 999px 6px 6px;
  background:
    linear-gradient(180deg, #ffffff 0 58%, #2dd4bf 58% 100%);
}

.public-nosotros-icon-target {
  background:
    linear-gradient(145deg, #dbeafe, #eff6ff),
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.9), transparent 42%);
}

.public-nosotros-icon-target::before {
  inset: 13px;
  border: 5px solid #0f172a;
  border-radius: 999px;
}

.public-nosotros-icon-target::after {
  top: 26px;
  left: 26px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #0f172a;
  box-shadow: 0 0 0 10px rgba(15, 23, 42, 0.12);
}

.public-nosotros-icon-trajectory {
  background:
    linear-gradient(145deg, #14b8a6, #2dd4bf),
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.34), transparent 42%);
}

.public-nosotros-icon-trajectory::before {
  top: 13px;
  left: 23px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #111827;
}

.public-nosotros-icon-trajectory::after {
  left: 15px;
  bottom: 13px;
  width: 32px;
  height: 16px;
  border-radius: 999px 999px 6px 6px;
  background: #fff;
  border-bottom: 4px solid #e76f51;
}

.public-nosotros-icon-mail::before {
  inset: 13px 10px 16px;
  border: 4px solid #030712;
  border-radius: 6px;
}

.public-nosotros-icon-mail::after {
  top: 20px;
  left: 14px;
  width: 34px;
  height: 18px;
  border-left: 4px solid #030712;
  border-bottom: 4px solid #030712;
  transform: rotate(-45deg);
  transform-origin: center;
}

.public-nosotros-icon-code::before {
  inset: 12px 15px 10px 14px;
  border: 4px solid #030712;
  border-radius: 7px;
}

.public-nosotros-icon-code::after {
  left: 23px;
  right: 23px;
  bottom: 7px;
  height: 5px;
  border-radius: 999px;
  background: #030712;
  box-shadow: 0 -20px 0 -1px #030712;
}

.public-nosotros-icon-cup::before {
  left: 13px;
  right: 13px;
  top: 24px;
  height: 18px;
  border: 4px solid #030712;
  border-top: 0;
  border-radius: 0 0 14px 14px;
}

.public-nosotros-icon-cup::after {
  left: 13px;
  right: 13px;
  bottom: 11px;
  height: 4px;
  border-radius: 999px;
  background: #030712;
  box-shadow:
    9px -29px 0 -7px #030712,
    18px -29px 0 -7px #030712,
    27px -29px 0 -7px #030712;
}

.public-nosotros-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.35rem 0 0;
  padding-left: 1.15rem;
}

.public-nosotros-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  padding: 1rem;
  border-radius: 10px;
  background: #111827;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.public-nosotros-proof-row article {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.public-nosotros-proof-row strong {
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.15;
}

.public-nosotros-proof-row span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.public-nosotros-contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.public-nosotros-contact-card,
.public-nosotros-form-card {
  display: grid;
  gap: 1rem;
  padding: 1.55rem;
}

.public-nosotros-contact-card h2,
.public-nosotros-form-head h2 {
  font-size: 1.45rem;
}

.public-nosotros-contact-card p,
.public-nosotros-form-head p {
  margin: 0;
  color: #48576a;
  line-height: 1.62;
}

.public-nosotros-contact-list {
  display: grid;
  gap: 0.8rem;
}

.public-nosotros-contact-list article {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.public-nosotros-contact-list span {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-nosotros-contact-list strong,
.public-nosotros-contact-list a {
  overflow-wrap: anywhere;
}

.public-nosotros-contact-list strong {
  color: #111827;
}

.public-nosotros-contact-list a {
  color: #075cab;
  font-weight: 800;
}

.public-nosotros-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.public-nosotros-socials a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: #eef5ff;
  color: #174ea6;
  font-size: 0.86rem;
  font-weight: 800;
}

.public-nosotros-form-head {
  display: grid;
  gap: 0.45rem;
}

@media (max-width: 900px) {
  .public-nosotros-mission-grid,
  .public-nosotros-values-grid,
  .public-nosotros-contact-grid {
    grid-template-columns: 1fr;
  }

  .public-nosotros-proof-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .public-nosotros-shell {
    gap: 1.25rem;
  }

  .public-nosotros-hero {
    padding: 1.2rem 0 0.4rem;
  }

  .public-nosotros-card {
    min-height: 0;
    padding: 1.4rem;
  }

  .public-nosotros-proof-row {
    grid-template-columns: 1fr;
  }
}

body.theme-public .menu-toggle {
  background: #fff;
  color: var(--ink-dark);
  border-color: rgba(19, 33, 53, 0.12);
}

/* Public refresh: services, cases and fused contact */
body.theme-public .public-catalog-sorter-shell {
  width: min(100%, 255px);
}

body.theme-public .public-catalog-sorter-label {
  display: none;
}

body.theme-public .public-catalog-sorter-box {
  display: block;
  grid-template-columns: none;
  min-height: 43px;
  padding: 0;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  box-shadow: none;
  overflow: hidden;
}

body.theme-public .public-catalog-sorter-box::after {
  right: 1rem;
  width: 7px;
  height: 7px;
  border-right-width: 1.5px;
  border-bottom-width: 1.5px;
  border-color: #8a96a8;
}

body.theme-public .public-catalog-sorter-icon {
  display: none;
}

body.theme-public .public-catalog-sorter-box select {
  min-height: 43px;
  padding: 0 2.35rem 0 0.92rem;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background: #ffffff !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  color: #6b7280;
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.2;
}

body.theme-public .public-catalog-sorter-box select::-ms-expand {
  display: none;
}

body.theme-public .public-service-section,
body.theme-public .public-cases-section,
body.theme-public .public-contact-fused {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #07131f 0%, #0c2236 46%, #f4f7fb 46%, #f4f7fb 100%);
  background-size: 42px 42px, auto;
}

body.theme-public .public-service-intro,
body.theme-public .public-cases-intro {
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(9, 22, 36, 0.98), rgba(13, 48, 76, 0.96)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 14px);
  box-shadow: 0 28px 70px rgba(3, 10, 18, 0.28);
  color: #f7fbff;
  overflow: hidden;
}

body.theme-public .public-service-intro-layout,
body.theme-public .public-cases-intro {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: 1.15rem;
  align-items: stretch;
}

body.theme-public .public-service-intro-kicker,
body.theme-public .public-cases-kicker,
body.theme-public .public-contact-kicker,
body.theme-public .public-contact-mini-kicker {
  color: #ffbf3f;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

body.theme-public .public-service-intro-copy h1,
body.theme-public .public-cases-intro-copy h1,
body.theme-public .public-contact-fused-intro h1 {
  max-width: 15ch;
  color: #ffffff;
  font-size: clamp(2rem, 4.6vw, 4.25rem);
  line-height: 0.94;
  letter-spacing: 0;
}

body.theme-public .public-service-intro-copy p,
body.theme-public .public-cases-intro-copy p,
body.theme-public .public-contact-fused-intro p {
  max-width: 66ch;
  color: rgba(236, 244, 255, 0.84);
  font-size: 1rem;
}

.public-service-intro-actions,
.public-cases-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.55rem;
}

body.theme-public .public-service-intro-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: end;
  gap: 0.7rem;
  justify-content: stretch;
}

body.theme-public .public-service-intro-points span,
body.theme-public .public-cases-proof-row span {
  min-height: 54px;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #ffffff;
  box-shadow: none;
  backdrop-filter: blur(8px);
}

body.theme-public .public-service-intro-points span:nth-child(2n) {
  background: rgba(255, 191, 63, 0.14);
  color: #ffe8a8;
  border-color: rgba(255, 191, 63, 0.24);
}

body.theme-public .public-service-grid {
  gap: 0.9rem;
}

body.theme-public .public-service-card,
body.theme-public .public-case-card,
body.theme-public .public-case-support,
body.theme-public .public-case-cta {
  border-radius: 12px;
  border: 1px solid rgba(15, 34, 55, 0.1);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(9, 26, 45, 0.09);
}

body.theme-public .public-service-card {
  position: relative;
  padding: 0;
  overflow: hidden;
}

body.theme-public .public-service-card::before,
body.theme-public .public-case-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #1a88ff, #28d17c, #ffbf3f);
}

body.theme-public .public-service-card-media {
  height: 210px;
  border: 0;
  border-radius: 0;
}

body.theme-public .public-service-card-copy,
body.theme-public .public-service-card-footer {
  padding: 0 1rem;
}

body.theme-public .public-service-card-footer {
  padding-bottom: 1rem;
}

body.theme-public .public-service-card-title,
body.theme-public .public-case-card-copy h2 {
  color: #071827;
  font-size: 1.05rem;
}

body.theme-public .public-service-card-meta span {
  border-radius: 8px;
  background: #edf5ff;
  color: #174f86;
}

body.theme-public .public-service-card-actions .button {
  border-radius: 8px;
}

body.theme-public .public-cases-intro {
  display: grid;
}

.public-cases-intro-panel {
  display: grid;
  align-content: end;
  gap: 0.7rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.public-cases-intro-panel strong {
  color: #ffffff;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.08;
}

.public-cases-intro-panel p {
  margin: 0;
  color: rgba(236, 244, 255, 0.82);
  line-height: 1.55;
}

body.theme-public .public-cases-grid {
  gap: 0.85rem;
}

body.theme-public .public-case-card {
  position: relative;
  padding: 0;
  overflow: hidden;
}

body.theme-public .public-case-card-media {
  height: 250px;
  border: 0;
  border-radius: 0;
}

body.theme-public .public-case-card-copy {
  padding: 1rem;
}

body.theme-public .public-case-card-tag,
body.theme-public .public-case-support-tag {
  border-radius: 8px;
  background: #071827;
  color: #ffcf66;
}

body.theme-public .public-case-points li {
  background: #f4f8fc;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
}

body.theme-public .public-contact-fused {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #07131f 0%, #0b1d2d 52%, #f4f7fb 52%, #f4f7fb 100%);
  background-size: 42px 42px, auto;
}

body.theme-public .public-contact-fused-hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
}

body.theme-public .public-contact-fused-intro {
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(8, 20, 34, 0.98), rgba(11, 52, 81, 0.96)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 14px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 70px rgba(3, 10, 18, 0.28);
}

body.theme-public .public-contact-fused-intro .public-contact-intro-tags span {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  box-shadow: none;
}

body.theme-public .public-contact-command-card {
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 191, 63, 0.16), rgba(255, 255, 255, 0.08)),
    #0a1a2a;
}

.public-contact-command-brand {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
}

.public-contact-command-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 14px;
  background: #ffffff;
  padding: 0.45rem;
}

.public-contact-command-brand span,
.public-contact-command-brand strong {
  display: block;
}

.public-contact-command-brand span {
  color: #ffcf66;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.public-contact-command-brand strong {
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1.12;
}

body.theme-public .public-contact-mission-grid {
  gap: 0.85rem;
}

body.theme-public .public-contact-channel-card,
body.theme-public .public-contact-direct-card,
body.theme-public .public-contact-form-card {
  border-radius: 12px;
}

body.theme-public .public-contact-action-card,
body.theme-public .public-contact-fused-form-card {
  background: #ffffff;
}

.public-contact-channel-list article {
  position: relative;
}

.public-contact-channel-list a {
  color: #0b63d1;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.public-contact-socials-command a {
  border-radius: 8px;
}

@media (max-width: 980px) {
  body.theme-public .public-service-intro-layout,
  body.theme-public .public-cases-intro,
  body.theme-public .public-contact-fused-hero {
    grid-template-columns: 1fr;
  }

  body.theme-public .public-service-intro-copy h1,
  body.theme-public .public-cases-intro-copy h1,
  body.theme-public .public-contact-fused-intro h1 {
    max-width: 18ch;
    font-size: clamp(2rem, 9vw, 3.1rem);
  }
}

@media (max-width: 620px) {
  body.theme-admin .admin-list-search {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  body.theme-admin .client-filter-grid {
    grid-template-columns: 1fr;
  }

  .quotation-live-total {
    width: 100%;
  }

  .quotation-head-grid,
  .quotation-dynamic-table .erp-dynamic-row {
    grid-template-columns: 1fr;
  }

  .quotation-dynamic-table .erp-dynamic-row.is-header {
    display: none;
  }

  body.theme-public .public-catalog-sorter-shell {
    width: 100%;
    justify-items: stretch;
  }

  body.theme-public .public-service-intro-points {
    grid-template-columns: 1fr;
  }

  .public-service-intro-actions,
  .public-cases-proof-row {
    display: grid;
  }
}

/* Public refresh v2: tema claro con contraste oscuro */
body.theme-public .public-service-section,
body.theme-public .public-cases-section,
body.theme-public .public-contact-fused {
  background:
    linear-gradient(90deg, rgba(25, 77, 124, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, #f9fcff 0%, #eef5fb 100%);
  background-size: 42px 42px, auto;
}

body.theme-public .public-service-intro,
body.theme-public .public-cases-intro,
body.theme-public .public-contact-fused-intro {
  position: relative;
  border: 1px solid rgba(17, 50, 82, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.98));
  box-shadow: 0 22px 54px rgba(10, 31, 54, 0.09);
  color: #0b1b2c;
}

body.theme-public .public-service-intro::before,
body.theme-public .public-cases-intro::before,
body.theme-public .public-contact-fused-intro::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #0b1b2c, #0b63d1, #ffbf3f);
}

body.theme-public .public-service-intro-copy h1,
body.theme-public .public-cases-intro-copy h1,
body.theme-public .public-contact-fused-intro h1 {
  max-width: 18ch;
  color: #0b1b2c;
  font-size: clamp(2rem, 4.2vw, 3.75rem);
  line-height: 0.98;
  letter-spacing: 0;
}

body.theme-public .public-service-intro-copy p,
body.theme-public .public-cases-intro-copy p,
body.theme-public .public-contact-fused-intro p {
  color: #536b82;
  font-size: 1rem;
}

body.theme-public .public-service-intro-kicker,
body.theme-public .public-cases-kicker,
body.theme-public .public-contact-kicker,
body.theme-public .public-contact-mini-kicker {
  color: #0b63d1;
  font-weight: 900;
}

body.theme-public .public-service-intro-points {
  padding: 0.8rem;
  border-radius: 14px;
  background:
    linear-gradient(135deg, #081927, #123a5a);
  border: 1px solid rgba(7, 24, 39, 0.12);
  box-shadow: 0 18px 44px rgba(7, 24, 39, 0.18);
}

body.theme-public .public-service-intro-points span,
body.theme-public .public-cases-proof-row span {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

body.theme-public .public-service-intro-points span:nth-child(2n) {
  background: rgba(255, 191, 63, 0.18);
  color: #ffdf8a;
}

body.theme-public .public-cases-proof-row span {
  min-height: 40px;
  background: #eef5ff;
  border-color: rgba(11, 99, 209, 0.12);
  color: #174f86;
}

body.theme-public .public-cases-intro-panel {
  background:
    linear-gradient(135deg, #081927, #123a5a);
  border-color: rgba(7, 24, 39, 0.12);
  box-shadow: 0 18px 44px rgba(7, 24, 39, 0.18);
}

body.theme-public .public-cases-intro-panel strong {
  color: #ffffff;
}

body.theme-public .public-cases-intro-panel p {
  color: rgba(238, 246, 255, 0.86);
}

body.theme-public .public-service-card,
body.theme-public .public-case-card,
body.theme-public .public-case-support,
body.theme-public .public-case-cta,
body.theme-public .public-contact-channel-card,
body.theme-public .public-contact-direct-card,
body.theme-public .public-contact-form-card {
  border-radius: 12px;
  border-color: rgba(14, 43, 72, 0.1);
  box-shadow: 0 16px 38px rgba(10, 31, 54, 0.075);
}

body.theme-public .public-service-card:hover,
body.theme-public .public-case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(10, 31, 54, 0.13);
}

body.theme-public .public-service-card::before,
body.theme-public .public-case-card::before {
  width: 4px;
  background: linear-gradient(180deg, #0b63d1, #19a974, #ffbf3f);
}

body.theme-public .public-service-card-media,
body.theme-public .public-case-card-media {
  background: #eaf2fb;
}

body.theme-public .public-service-card-title,
body.theme-public .public-case-card-copy h2,
body.theme-public .public-case-support h2,
body.theme-public .public-case-cta h2,
body.theme-public .public-contact-direct-head h2,
body.theme-public .public-contact-form-head h2 {
  color: #0b1b2c;
}

body.theme-public .public-contact-fused-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.78fr);
}

body.theme-public .public-contact-fused-intro .public-contact-intro-tags span {
  border-radius: 8px;
  background: #eef5ff;
  border-color: rgba(11, 99, 209, 0.12);
  color: #174f86;
}

body.theme-public .public-contact-command-card {
  border-radius: 18px;
  background:
    linear-gradient(135deg, #081927, #123a5a);
  box-shadow: 0 22px 54px rgba(7, 24, 39, 0.2);
}

body.theme-public .public-contact-channel-card-primary,
body.theme-public .public-contact-channel-card-dark {
  background:
    linear-gradient(135deg, #081927, #123a5a);
}

body.theme-public .public-contact-channel-card-gold {
  background:
    linear-gradient(180deg, #ffffff, #fff7df);
  border-color: rgba(225, 154, 24, 0.18);
}

body.theme-public .public-contact-channel-card-gold h2,
body.theme-public .public-contact-channel-card-gold p,
body.theme-public .public-contact-channel-card-gold .public-contact-mini-kicker {
  color: #1e2a36;
}

body.theme-public .public-contact-channel-card-gold .public-contact-mini-kicker {
  color: #a86400;
}

body.theme-public .public-contact-action-card,
body.theme-public .public-contact-fused-form-card {
  background:
    linear-gradient(180deg, #ffffff, #f8fbff);
}

body.theme-public .public-contact-channel-list article {
  border-radius: 10px;
}

body.theme-public .public-contact-socials-command a {
  border-radius: 8px;
  box-shadow: none;
}

@media (max-width: 980px) {
  body.theme-public .public-service-intro-copy h1,
  body.theme-public .public-cases-intro-copy h1,
  body.theme-public .public-contact-fused-intro h1 {
    max-width: 20ch;
    font-size: clamp(1.9rem, 8.2vw, 3rem);
  }
}

.public-menu-toggle {
  gap: 0.45rem;
}

.public-menu-toggle svg {
  width: 18px;
  height: 18px;
}

.home-hero {
  padding-top: 4.4rem;
  padding-bottom: 1.75rem;
}

.home-hero-grid,
.home-showcase-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: stretch;
}

.home-hero-copy,
.home-brand-card,
.home-contact-card,
.home-solution-card,
.home-product-card,
.home-service-card,
.home-case-card,
.home-cta-band,
.home-showcase-copy {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(19, 33, 53, 0.08);
  box-shadow: 0 24px 60px rgba(24, 45, 74, 0.08);
}

.home-hero-copy,
.home-showcase-copy {
  padding: 2rem;
  border-radius: 34px;
}

.home-hero-copy h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.96;
}

.home-hero-lead {
  max-width: 62ch;
  margin: 1rem 0 0;
  font-size: 1.06rem;
  line-height: 1.7;
  color: #5c7185;
}

.home-hero-actions {
  margin-top: 2rem;
}

.home-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.home-hero-points span {
  padding: 0.8rem 1rem;
  border-radius: 18px;
  background: #f2f7ff;
  color: #2f4d6d;
  font-weight: 600;
}

.home-hero-side {
  display: grid;
  gap: 1rem;
}

.home-brand-card,
.home-contact-card {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: 30px;
}

.home-brand-card {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.home-brand-mark {
  width: 86px;
  height: 86px;
  border-radius: 26px;
}

.home-brand-card h2,
.home-contact-card h3,
.home-showcase-copy h2,
.home-section-heading h2,
.home-cta-band h2 {
  margin: 0;
  color: var(--ink-dark);
}

.home-brand-card p,
.home-contact-card p,
.home-showcase-copy p,
.home-solution-card p,
.home-product-card p,
.home-service-card p,
.home-case-card p,
.section-intro {
  color: #5f7488;
}

.home-mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-mini-metrics article {
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(19, 33, 53, 0.08);
  box-shadow: 0 18px 42px rgba(24, 45, 74, 0.06);
}

.home-mini-metrics strong {
  display: block;
  font-size: 1.8rem;
  color: #12345a;
}

.home-mini-metrics span {
  color: #687e91;
}

.home-contact-list {
  display: grid;
  gap: 0.55rem;
}

.home-contact-list a,
.home-contact-list span {
  color: #35516f;
}

.home-section-heading {
  align-items: end;
}

.section-intro {
  max-width: 34rem;
  margin: 0;
  line-height: 1.7;
}

.home-solution-grid,
.home-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-solution-card {
  padding: 1.35rem;
  border-radius: 28px;
}

.home-solution-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f4da1, #1b88ff);
  color: #fff;
  font-weight: 700;
}

.home-showcase-section {
  padding-top: 0.25rem;
}

.home-check-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.home-check-list li {
  position: relative;
  padding-left: 1.4rem;
  color: #294663;
}

.home-check-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #1b88ff;
  font-weight: 700;
}

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

.home-product-card,
.home-service-card,
.home-case-card {
  padding: 1.25rem;
  border-radius: 28px;
}

.home-product-card h3,
.home-service-card h3,
.home-case-card h3,
.home-solution-card h3 {
  margin: 0.2rem 0 0.7rem;
  color: var(--ink-dark);
}

.home-product-media {
  aspect-ratio: 4 / 3;
}

.home-stock-pill {
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: #eef6ff;
  color: #24578f;
  font-size: 0.82rem;
  font-weight: 700;
}

.home-product-meta {
  margin: 0.65rem 0 0;
}

.home-price-band {
  margin-top: 0.6rem;
}

.home-services-section {
  padding-top: 0.2rem;
}

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

.home-service-card {
  display: grid;
  gap: 0.85rem;
}

.home-service-tag {
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #edf5ff;
  color: #24578f;
  font-size: 0.82rem;
  font-weight: 700;
}

.feature-list-light {
  margin-top: 0;
}

.home-service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 0.2rem;
}

.home-service-footer strong {
  font-size: 1.5rem;
  color: #122137;
}

.home-service-footer span {
  color: #6d7f91;
}

.home-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.home-case-date {
  color: #9a7318;
  font-weight: 700;
}

.home-cta-band {
  margin-top: 1.2rem;
  padding: 1.5rem 1.6rem;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.catalog-stage {
  margin-bottom: 1.6rem;
}

.catalog-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 1.2rem;
  padding: 1.45rem;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(29, 215, 255, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 191, 63, 0.18), transparent 26%),
    linear-gradient(135deg, #07182c, #0f2a46 58%, #091322 100%);
  box-shadow: 0 26px 70px rgba(4, 15, 28, 0.22);
  overflow: hidden;
}

.catalog-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(29, 215, 255, 0.16), transparent 65%);
  pointer-events: none;
}

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

.catalog-hero-copy {
  display: grid;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.88);
}

.catalog-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.95;
  color: #fff;
  max-width: 12ch;
}

.catalog-hero-copy p:not(.eyebrow) {
  margin: 0;
  max-width: 58ch;
  color: rgba(223, 239, 255, 0.78);
}

.catalog-actions,
.catalog-badges,
.modal-banner-pills,
.toggle-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.catalog-badge,
.modal-banner-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #eff8ff;
  font-size: 0.82rem;
  font-weight: 700;
}

.catalog-hero-aside {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.catalog-orbit-card,
.catalog-preview {
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.catalog-orbit-card {
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  color: #fff;
}

.catalog-orbit-kicker {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: #9cdfff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.catalog-orbit-card strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.catalog-orbit-card p {
  margin: 0.45rem 0 0;
  color: rgba(223, 239, 255, 0.72);
}

.catalog-preview-stack {
  display: grid;
  gap: 0.8rem;
}

.catalog-preview {
  padding: 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.catalog-preview span,
.catalog-preview small {
  display: block;
}

.catalog-preview span {
  color: #9cdfff;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.catalog-preview strong {
  margin: 0.35rem 0;
  color: #fff;
  font-size: 1rem;
}

.catalog-preview small {
  color: rgba(223, 239, 255, 0.72);
}

.heading-copy {
  max-width: 520px;
  display: grid;
  gap: 0.85rem;
}

.heading-copy p {
  margin: 0;
}

.heading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.metric-grid-premium {
  gap: 1.05rem;
}

.metric-card-premium {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.metric-card-premium::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: 0.85;
}

.metric-card-premium small {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted-dark);
}

body.theme-admin .catalog-stage {
  margin-bottom: 0.7rem;
}

body.theme-admin .catalog-hero {
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid rgba(19, 33, 53, 0.08);
  box-shadow: 0 14px 34px rgba(24, 48, 74, 0.07);
}

body.theme-admin .catalog-hero::after {
  display: none;
}

body.theme-admin .catalog-hero-copy {
  gap: 0.42rem;
}

body.theme-admin .catalog-hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  background: rgba(11, 124, 255, 0.08);
  color: #0b5bc0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

body.theme-admin .catalog-hero-copy h1 {
  margin-top: 0.18rem;
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  line-height: 1.05;
  max-width: none;
  letter-spacing: -0.03em;
  color: var(--ink-dark);
}

body.theme-admin .catalog-hero-copy p:not(.eyebrow) {
  max-width: 70ch;
  font-size: 0.92rem;
  line-height: 1.48;
  color: #5f7387;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.theme-admin .catalog-actions,
body.theme-admin .catalog-badges {
  gap: 0.5rem;
}

body.theme-admin .catalog-actions {
  margin-top: 0.5rem;
  align-items: center;
}

body.theme-admin .catalog-badge {
  padding: 0.42rem 0.7rem;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}

body.theme-admin .catalog-badges {
  display: none;
}

body.theme-admin .catalog-actions .button {
  min-height: 42px;
  padding: 0 1rem;
  font-size: 0.88rem;
}

body.theme-admin .catalog-hero-aside {
  display: none;
}

body.theme-admin .catalog-orbit-card {
  padding: 0.95rem 1rem;
  border-radius: 22px;
}

body.theme-admin .catalog-orbit-kicker {
  margin-bottom: 0.35rem;
  font-size: 0.74rem;
}

body.theme-admin .catalog-orbit-card strong {
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
}

body.theme-admin .catalog-orbit-card p {
  margin-top: 0.3rem;
  font-size: 0.88rem;
  line-height: 1.35;
}

body.theme-admin .catalog-preview-stack {
  display: none;
}

body.theme-admin .metric-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 0 0 0.95rem;
}

body.theme-admin .metric-card-premium {
  min-height: 86px;
  padding: 0.92rem 1rem;
  border: 1px solid rgba(56, 129, 214, 0.14);
  border-radius: 16px;
  background:
    radial-gradient(circle at top right, rgba(30, 156, 255, 0.13), transparent 34%),
    linear-gradient(180deg, #ffffff, #f3f8ff);
  box-shadow: 0 14px 30px rgba(34, 72, 112, 0.08);
}

body.theme-admin .metric-card-premium span {
  color: #58708a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.theme-admin .metric-card-premium strong {
  color: #10243b;
  font-size: 1.55rem;
  line-height: 1.05;
}

body.theme-admin .metric-card-premium small {
  display: none;
}

body.theme-admin .catalog-shell {
  padding: 1.05rem;
  border-radius: 24px;
}

body.theme-admin .catalog-manager-head-compact {
  border: 1px solid rgba(75, 150, 226, 0.18);
  background:
    radial-gradient(circle at 92% 12%, rgba(39, 174, 255, 0.22), transparent 25%),
    linear-gradient(135deg, #07182a, #123a5d 72%, #1f91d4);
  box-shadow: 0 20px 44px rgba(6, 22, 42, 0.22);
}

body.theme-admin .catalog-manager-head-compact .product-admin-head-title {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

body.theme-admin .catalog-manager-head-compact h1 {
  color: #f8fbff;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

body.theme-admin .catalog-shell-head {
  align-items: center;
  margin-bottom: 0.9rem;
  padding-bottom: 0;
  padding: 0.78rem 0.88rem;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(239, 247, 255, 0.96), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(31, 113, 199, 0.1);
}

body.theme-admin .catalog-shell-head h2 {
  margin: 0;
  font-size: 1.3rem;
}

body.theme-admin .catalog-shell-head span {
  font-size: 0.9rem;
  color: var(--muted-dark);
}

body.theme-admin .list-side {
  gap: 0.25rem;
  padding: 0.55rem 0.7rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 113, 199, 0.08);
}

body.theme-admin .list-count {
  font-size: 0.9rem;
}

body.theme-admin .range-copy {
  font-size: 0.82rem;
  opacity: 0.78;
}

.catalog-manager-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

body.theme-admin .catalog-manager-head.panel-card,
body.theme-admin .catalog-manager-head {
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.18), transparent 26%),
    radial-gradient(circle at bottom left, rgba(255, 191, 63, 0.16), transparent 22%),
    linear-gradient(135deg, #06111f 0%, #0a1d34 46%, #102948 100%);
  border: 1px solid rgba(73, 157, 255, 0.18);
  box-shadow:
    0 22px 48px rgba(4, 12, 24, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.catalog-manager-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 44%),
    linear-gradient(90deg, transparent 0, transparent 12%, rgba(255, 255, 255, 0.04) 12.5%, transparent 13%, transparent 100%);
  pointer-events: none;
}

.catalog-manager-copy,
.catalog-actions-compact {
  position: relative;
  z-index: 1;
}

.catalog-manager-copy h1,
.catalog-manager-copy span {
  margin: 0;
}

.catalog-manager-copy h1 {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  color: #f7fbff;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.catalog-manager-copy span {
  display: block;
  margin-top: 0.3rem;
  color: rgba(232, 241, 251, 0.84);
}

.catalog-actions-compact {
  justify-content: flex-end;
}

.catalog-manager-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
}

.catalog-section-card {
  align-self: start;
}

body.theme-admin .filter-count {
  padding: 0.32rem 0.62rem;
  font-size: 0.72rem;
  border-radius: 999px;
  background: rgba(11, 124, 255, 0.07);
  color: #0d58b6;
}

body.theme-admin .filter-bar-premium {
  gap: 0.62rem;
  padding: 0.64rem;
  border-radius: 16px;
  border-color: rgba(19, 33, 53, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 26px rgba(24, 48, 74, 0.05);
}

body.theme-admin .filter-grid {
  gap: 0.62rem;
}

body.theme-admin .admin-list-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.7rem;
  padding: 0.72rem;
  margin-bottom: 0.72rem;
  border: 1px solid rgba(19, 33, 53, 0.06);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 14px 30px rgba(24, 48, 74, 0.06);
}

body.theme-admin .admin-list-search-field {
  display: grid;
  gap: 0.32rem;
  min-width: 0;
}

body.theme-admin .admin-list-search-field span {
  color: #5a6d82;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

body.theme-admin .admin-list-search-field input {
  width: 100%;
  min-height: 43px;
  padding: 0 1rem;
  border: 1px solid rgba(19, 33, 53, 0.1);
  border-radius: 14px;
  background: #ffffff;
  color: #132135;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.theme-admin .admin-list-search-field input:focus {
  outline: none;
  border-color: rgba(11, 99, 209, 0.42);
  box-shadow: 0 0 0 3px rgba(11, 99, 209, 0.11);
}

body.theme-admin .client-filter-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.theme-admin .client-filter-bar {
  padding: 0.5rem;
  border-radius: 14px;
  background: #fbfdff;
  box-shadow: none;
}

body.theme-admin .client-filter-bar .filter-grid {
  gap: 0.5rem;
}

body.theme-admin .client-filter-bar .field span {
  font-size: 0.62rem;
}

body.theme-admin .client-filter-bar input,
body.theme-admin .client-filter-bar select {
  min-height: 35px;
  padding: 0 0.72rem;
  border-radius: 11px;
  font-size: 0.82rem;
  font-weight: 700;
}

body.theme-admin .client-filter-bar .form-actions {
  margin-top: 0.1rem;
}

body.theme-admin .client-filter-bar .button {
  min-height: 35px;
  padding: 0 0.82rem;
  font-size: 0.8rem;
}

body.theme-admin .filter-bar .field {
  gap: 0.28rem;
}

body.theme-admin .filter-bar .field span {
  color: #5a6d82;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

body.theme-admin .filter-bar input,
body.theme-admin .filter-bar select {
  width: 100%;
  min-height: 39px;
  padding: 0.6rem 0.76rem;
  border-radius: 12px;
  border: 1px solid rgba(19, 33, 53, 0.1);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  color: var(--ink-dark);
  font: inherit;
  box-shadow: 0 4px 14px rgba(20, 42, 68, 0.035);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

body.theme-admin .filter-bar input::placeholder {
  color: #8ca0b3;
}

body.theme-admin .filter-bar input:hover,
body.theme-admin .filter-bar select:hover {
  border-color: rgba(11, 124, 255, 0.16);
}

body.theme-admin .filter-bar input:focus,
body.theme-admin .filter-bar select:focus {
  outline: none;
  border-color: rgba(11, 124, 255, 0.38);
  box-shadow:
    0 0 0 4px rgba(11, 124, 255, 0.08),
    0 8px 18px rgba(11, 124, 255, 0.08);
}

body.theme-admin .filter-bar select {
  appearance: none;
  padding-right: 2.35rem;
  background-image:
    linear-gradient(45deg, transparent 50%, #5f7390 50%),
    linear-gradient(135deg, #5f7390 50%, transparent 50%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  background-position:
    calc(100% - 17px) calc(50% - 3px),
    calc(100% - 11px) calc(50% - 3px),
    0 0;
  background-size:
    5px 5px,
    5px 5px,
    100% 100%;
  background-repeat: no-repeat;
}

.product-admin-stage {
  display: grid;
  width: min(100%, 1500px);
  margin-inline: auto;
  gap: 0.95rem;
}

.product-admin-head {
  display: grid;
  gap: 0.8rem;
  padding: 1rem 1.08rem;
  border-radius: 24px;
  background:
    linear-gradient(112deg, #0a1d33 0%, #153451 42%, #143556 58%, rgba(245, 249, 255, 0.94) 100%),
    radial-gradient(circle at 18% 18%, rgba(29, 215, 255, 0.14), transparent 20%),
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.5), transparent 16%),
    radial-gradient(circle at 90% 84%, rgba(255, 191, 63, 0.18), transparent 16%);
  border: 1px solid rgba(73, 157, 255, 0.14);
  box-shadow:
    0 22px 48px rgba(4, 12, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
  overflow: hidden;
  position: relative;
}

body.theme-admin .product-admin-head.panel-card,
body.theme-admin .product-admin-head {
  background:
    linear-gradient(112deg, #0a1d33 0%, #153451 42%, #143556 58%, rgba(245, 249, 255, 0.94) 100%),
    radial-gradient(circle at 18% 18%, rgba(29, 215, 255, 0.14), transparent 20%),
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.5), transparent 16%),
    radial-gradient(circle at 90% 84%, rgba(255, 191, 63, 0.18), transparent 16%);
  border: 1px solid rgba(73, 157, 255, 0.14);
  box-shadow:
    0 22px 48px rgba(4, 12, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.product-admin-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.03) 18%, rgba(255, 255, 255, 0.12) 76%, rgba(255, 255, 255, 0.16) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 42%),
    linear-gradient(90deg, transparent 0, transparent 12%, rgba(255, 255, 255, 0.04) 12.5%, transparent 13%, transparent 100%);
  opacity: 1;
  pointer-events: none;
}

.product-admin-head::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  opacity: 0.8;
}

.product-admin-head-title {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 72ch;
  margin-inline: auto;
}

.product-admin-head h1 {
  margin: 0;
  color: #f4f8ff;
  font-size: clamp(1.38rem, 2.15vw, 1.78rem);
  letter-spacing: -0.03em;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

body.theme-admin .product-admin-head-title {
  display: grid;
  gap: 0.28rem;
  justify-items: center;
}

body.theme-admin .product-admin-head-title p {
  margin: 0;
  color: rgba(232, 241, 250, 0.92);
  font-size: 0.93rem;
  line-height: 1.55;
}

.product-admin-head .eyebrow-dark,
.catalog-manager-head .eyebrow-dark {
  color: #d7f1ff;
  background: rgba(12, 91, 192, 0.18);
  border-color: rgba(101, 196, 255, 0.18);
}

.product-admin-head-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  position: relative;
  z-index: 1;
}

.product-admin-head-actions .button {
  min-width: 148px;
  min-height: 42px;
  border-radius: 14px;
  box-shadow: 0 16px 28px rgba(8, 24, 40, 0.18);
}

.product-import-form {
  gap: 1rem;
}

.inventory-stock-head-tools {
  display: grid;
  justify-items: end;
  gap: 0.8rem;
}

.inventory-stock-import-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.inventory-scan-panel,
.inventory-trace-panel,
.inventory-restock-bulk-actions {
  margin-bottom: 1rem;
}

.inventory-scan-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: #f8fbff;
}

.inventory-scan-panel div {
  display: grid;
  gap: 0.18rem;
}

.inventory-scan-panel strong {
  color: var(--heading-dark);
}

.inventory-scan-panel span,
.inventory-scan-panel p {
  margin: 0;
  color: var(--muted-dark);
  line-height: 1.45;
}

.inventory-scan-panel label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
}

.inventory-scan-panel input {
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(19, 33, 53, 0.12);
  padding: 0 0.8rem;
}

.inventory-scan-panel p {
  grid-column: 1 / -1;
  font-weight: 700;
}

.inventory-scan-panel p.is-success {
  color: #15825d;
}

.inventory-scan-panel p.is-error {
  color: #b91c1c;
}

.inventory-restock-bulk-actions {
  display: flex;
  justify-content: flex-end;
}

.inventory-trace-result {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  margin-top: 1rem;
}

.inventory-trace-summary,
.inventory-trace-timeline article {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: #ffffff;
}

.inventory-trace-summary strong,
.inventory-trace-timeline strong {
  color: var(--heading-dark);
}

.inventory-trace-summary p,
.inventory-trace-timeline p,
.inventory-trace-timeline small {
  margin: 0;
  color: var(--muted-dark);
  line-height: 1.5;
}

.inventory-trace-timeline {
  display: grid;
  gap: 0.75rem;
}

.inventory-trace-timeline article span {
  color: #0b5fb8;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-import-callout {
  display: grid;
  gap: 0.65rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(11, 124, 255, 0.08), rgba(11, 124, 255, 0.03));
  border: 1px solid rgba(11, 124, 255, 0.12);
}

.product-import-callout strong {
  color: var(--heading-dark);
  font-size: 0.92rem;
}

.product-import-callout p {
  margin: 0;
  color: var(--muted-dark);
  line-height: 1.55;
}

.product-import-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.product-import-columns article {
  display: grid;
  gap: 0.35rem;
  padding: 0.82rem 0.9rem;
  border-radius: 16px;
  background: rgba(19, 33, 53, 0.04);
  border: 1px solid rgba(19, 33, 53, 0.06);
}

.product-import-columns strong {
  color: var(--heading-dark);
  font-size: 0.84rem;
}

.product-import-columns p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.8rem;
  line-height: 1.5;
}

.product-import-preview {
  display: grid;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(19, 33, 53, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.product-import-preview-head {
  display: grid;
  gap: 0.18rem;
}

.product-import-preview-head strong {
  color: var(--heading-dark);
  font-size: 0.9rem;
}

.product-import-preview-head span {
  color: var(--muted-dark);
  font-size: 0.8rem;
}

.product-import-preview-table {
  max-height: 220px;
}

.product-import-preview-table .data-table {
  min-width: 720px;
}

.product-import-form .field.field-span-2 small:not(.product-import-help-copy) {
  display: none;
}

.product-import-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.product-import-rule {
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(19, 33, 53, 0.08);
  box-shadow: 0 18px 32px rgba(9, 22, 39, 0.05);
}

.product-import-rule strong {
  color: var(--heading-dark);
  font-size: 0.88rem;
}

.product-import-rule p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.83rem;
  line-height: 1.55;
}

.modal-import-panel {
  width: min(980px, calc(100vw - 1.5rem));
}

.modal-import-panel .modal-head {
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(19, 33, 53, 0.08);
}

.product-import-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(18, 42, 66, 0.08);
  border-radius: 18px;
  background: #f8fbff;
}

.product-import-hero-copy {
  display: grid;
  gap: 0.42rem;
}

.product-import-badge {
  width: fit-content;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: rgba(11, 124, 255, 0.1);
  color: #0b5fb8;
  border: 1px solid rgba(11, 124, 255, 0.16);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-import-hero-copy strong {
  color: var(--heading-dark);
  font-size: 1rem;
  line-height: 1.28;
}

.product-import-hero-copy p,
.product-import-upload p,
.product-import-upload small,
.product-import-step-grid p,
.product-import-checklist span {
  margin: 0;
  color: var(--muted-dark);
  line-height: 1.5;
}

.product-import-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.product-import-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.product-import-step-grid article {
  display: grid;
  gap: 0.32rem;
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(19, 33, 53, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
}

.product-import-step-grid span {
  color: #0b5fb8;
  font-weight: 800;
  font-size: 0.72rem;
}

.product-import-step-grid strong,
.product-import-checklist-head strong,
.product-import-upload strong {
  color: var(--heading-dark);
}

.product-import-workspace {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: 0.9rem;
}

.product-import-upload {
  display: grid;
  align-content: center;
  gap: 0.65rem;
  min-height: 240px;
  padding: 1.2rem;
  border-radius: 18px;
  border: 1.5px dashed rgba(11, 95, 184, 0.42);
  background: #ffffff;
  cursor: pointer;
}

.product-import-upload-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #0d2a4a;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.product-import-upload input[type="file"] {
  width: 100%;
  padding: 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(19, 33, 53, 0.12);
  background: #f6f9fc;
  color: var(--heading-dark);
}

.product-import-upload input[type="file"]::file-selector-button {
  margin-right: 0.7rem;
  padding: 0.52rem 0.75rem;
  border: 0;
  border-radius: 10px;
  background: #1267d8;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.product-import-checklist {
  display: grid;
  gap: 0.85rem;
  padding: 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

.product-import-checklist-head {
  display: grid;
  gap: 0.18rem;
}

.product-import-checklist ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-import-checklist li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted-dark);
  line-height: 1.5;
  font-size: 0.88rem;
}

.product-import-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.46rem;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  background: #12a46b;
}

.product-import-schema {
  border: 1px solid rgba(19, 33, 53, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  overflow: hidden;
}

.product-import-schema summary {
  padding: 0.9rem 1rem;
  color: var(--heading-dark);
  font-weight: 800;
  cursor: pointer;
}

.product-import-schema .product-import-preview-table {
  border-top: 1px solid rgba(19, 33, 53, 0.08);
  padding: 0.75rem;
}

.product-import-live-preview {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(9, 22, 39, 0.06);
}

.product-import-live-preview[data-tone="success"] {
  border-color: rgba(18, 164, 107, 0.2);
  background: #f8fffc;
}

.product-import-live-preview[data-tone="warning"] {
  border-color: rgba(217, 119, 6, 0.24);
  background: #fffaf0;
}

.product-import-live-preview[data-tone="danger"] {
  border-color: rgba(220, 38, 38, 0.22);
  background: #fff8f8;
}

.product-import-preview-headline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.product-import-preview-headline div {
  display: grid;
  gap: 0.38rem;
}

.product-import-preview-headline strong {
  color: var(--heading-dark);
  font-size: 1rem;
}

.product-import-preview-headline p {
  margin: 0;
  color: var(--muted-dark);
  line-height: 1.5;
}

.product-import-preview-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}

.product-import-preview-metrics article {
  display: grid;
  gap: 0.15rem;
  padding: 0.72rem 0.78rem;
  border-radius: 12px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: rgba(248, 251, 255, 0.86);
}

.product-import-preview-metrics article[data-tone="success"] {
  background: rgba(18, 164, 107, 0.08);
  border-color: rgba(18, 164, 107, 0.16);
}

.product-import-preview-metrics article[data-tone="danger"] {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.14);
}

.product-import-preview-metrics strong {
  color: var(--heading-dark);
  font-size: 1.05rem;
}

.product-import-preview-metrics span,
.product-import-row-note {
  color: var(--muted-dark);
  font-size: 0.78rem;
  line-height: 1.35;
}

.product-import-row-note {
  display: block;
  margin-top: 0.34rem;
  max-width: 320px;
}

.filter-grid-products {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.sale-create-stage {
  gap: 1.1rem;
}

.sale-quick-panel,
.sale-quick-cart-panel {
  display: grid;
  gap: 1rem;
}

.sale-quick-modal-panel {
  display: grid;
  gap: 1rem;
}

.sale-quick-modal-panel .modal-head .eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 0.82rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f3558, #1b7fd0);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 26px rgba(11, 99, 209, 0.22);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.sale-quick-item-form {
  display: grid;
  gap: 1rem;
}

.sale-quick-modal-product {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(18, 42, 66, 0.08);
}

.sale-quick-modal-product strong {
  color: var(--ink-dark);
  font-size: 1.05rem;
}

.sale-quick-modal-product small {
  color: var(--muted-dark);
}

.sale-quick-modal-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.sale-quick-modal-stat {
  display: grid;
  gap: 0.28rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(11, 124, 255, 0.05);
  border: 1px solid rgba(11, 124, 255, 0.12);
}

.sale-quick-modal-stat span {
  color: #5a6d82;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sale-quick-modal-stat strong {
  color: var(--ink-dark);
  font-size: 1rem;
}

.sale-quick-modal-qty-field {
  display: grid;
  gap: 0.55rem;
  width: min(340px, 100%);
  justify-self: center;
}

.sale-quick-modal-specs {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(18, 42, 66, 0.08);
}

.sale-quick-modal-specs > span {
  color: #5a6d82;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sale-quick-modal-specs div {
  color: var(--ink-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}

.sale-quick-modal-specs p,
.sale-quick-modal-specs ul {
  margin: 0;
}

.sale-quick-modal-specs ul {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.1rem;
}

.sale-quick-modal-qty {
  display: grid;
  grid-template-columns: 60px 92px 60px;
  gap: 0.6rem;
  align-items: center;
}

.sale-quick-modal-qty input {
  text-align: center;
  min-width: 0;
  cursor: default;
}

.sale-quick-modal-qty input::-webkit-outer-spin-button,
.sale-quick-modal-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.sale-quick-modal-qty input[type="number"] {
  -moz-appearance: textfield;
}

.sale-quick-modal-units {
  display: grid;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(18, 42, 66, 0.08);
}

.sale-quick-modal-units-head {
  display: grid;
  gap: 0.25rem;
}

.sale-quick-modal-units-head strong {
  color: var(--ink-dark);
  font-size: 0.95rem;
}

.sale-quick-modal-units-head small {
  color: var(--muted-dark);
  line-height: 1.55;
}

.sale-quick-modal-units-list {
  display: grid;
  gap: 0.65rem;
  max-height: 260px;
  overflow: auto;
  padding-right: 0.25rem;
}

.sale-quick-unit-option {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(18, 42, 66, 0.1);
  background: rgba(248, 251, 255, 0.92);
  color: var(--ink-dark);
}

.sale-quick-unit-option input {
  margin-top: 0.15rem;
}

.sale-quick-unit-option span {
  line-height: 1.55;
}

.purchase-tracking-block {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.85rem;
  padding: 0.95rem;
  border-radius: 18px;
  border: 1px dashed rgba(11, 124, 255, 0.22);
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.98), rgba(239, 246, 255, 0.96));
}

.purchase-tracking-head {
  display: grid;
  gap: 0.22rem;
}

.purchase-tracking-head strong {
  color: var(--ink-dark);
  font-size: 0.94rem;
}

.purchase-tracking-head small {
  color: var(--muted-dark);
  line-height: 1.5;
}

.purchase-tracking-field {
  display: grid;
  gap: 0.42rem;
}

.purchase-tracking-field span {
  color: #5a6d82;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.purchase-tracking-field textarea {
  min-height: 118px;
  resize: vertical;
}

.purchase-tracking-toolbar {
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: rgba(11, 124, 255, 0.08);
  border: 1px solid rgba(11, 124, 255, 0.12);
  color: #36506c;
  font-size: 0.82rem;
  line-height: 1.5;
}

.purchase-tracking-units {
  display: grid;
  gap: 0.8rem;
}

.purchase-tracking-unit {
  display: grid;
  gap: 0.7rem;
  padding: 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(18, 42, 66, 0.1);
  background: rgba(255, 255, 255, 0.92);
}

.purchase-tracking-unit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.purchase-tracking-unit-head strong {
  color: var(--ink-dark);
  font-size: 0.9rem;
}

.purchase-tracking-unit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.purchase-tracking-unit-field {
  display: grid;
  gap: 0.38rem;
}

.purchase-tracking-unit-field span {
  color: #5a6d82;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.purchase-tracking-unit-field input {
  width: 100%;
}

.purchase-tracking-errors {
  display: grid;
  gap: 0.4rem;
}

.purchase-tracking-errors span {
  display: block;
  padding: 0.72rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(220, 38, 38, 0.18);
  background: rgba(254, 242, 242, 0.92);
  color: #b91c1c;
  font-size: 0.82rem;
  line-height: 1.5;
}

.sale-quick-modal-feedback {
  margin: 0;
}

.sale-quick-search-shell {
  position: relative;
  display: grid;
  gap: 0.85rem;
}

.sale-quick-search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: end;
}

.sale-quick-search-field {
  display: grid;
  gap: 0.45rem;
}

.sale-quick-search-field span {
  color: #5a6d82;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sale-quick-search-field input {
  width: 100%;
  min-height: 54px;
  padding: 0.95rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(19, 33, 53, 0.1);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  color: var(--ink-dark);
  font: inherit;
  box-shadow: 0 14px 24px rgba(18, 42, 66, 0.05);
}

.sale-quick-search-button {
  min-width: 138px;
  min-height: 54px;
  border-radius: 18px;
}

.sale-quick-search-field input:focus {
  outline: none;
  border-color: rgba(11, 124, 255, 0.35);
  box-shadow:
    0 0 0 4px rgba(11, 124, 255, 0.08),
    0 14px 24px rgba(18, 42, 66, 0.08);
}

.sale-quick-search-field-primary input {
  border-color: rgba(11, 124, 255, 0.22);
  background: linear-gradient(180deg, #ffffff, #eef6ff);
  box-shadow: 0 16px 28px rgba(11, 124, 255, 0.08);
}

.sale-quick-results {
  position: absolute;
  top: calc(100% - 0.1rem);
  left: 0;
  right: 0;
  z-index: 8;
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(18, 42, 66, 0.08);
  box-shadow: 0 24px 42px rgba(8, 25, 49, 0.14);
}

.sale-quick-result,
.sale-quick-result-empty {
  width: 100%;
  border-radius: 18px;
}

.sale-quick-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(18, 42, 66, 0.08);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  text-align: left;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.sale-quick-result:hover {
  transform: translateY(-1px);
  border-color: rgba(11, 124, 255, 0.22);
  box-shadow: 0 14px 28px rgba(18, 42, 66, 0.08);
}

.sale-quick-result-copy,
.sale-quick-result-meta {
  display: grid;
  gap: 0.18rem;
}

.sale-quick-result-copy strong,
.sale-quick-result-meta span {
  color: var(--ink-dark);
}

.sale-quick-result-copy small,
.sale-quick-result-meta small {
  color: var(--muted-dark);
}

.sale-quick-result-meta {
  justify-items: end;
  text-align: right;
}

.sale-quick-result-action {
  min-width: 104px;
  border-radius: 14px;
}

.sale-quick-result-empty {
  padding: 0.95rem 1rem;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px dashed rgba(18, 42, 66, 0.12);
  color: var(--muted-dark);
}

.sale-quick-search-hint {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(11, 124, 255, 0.06);
  border: 1px solid rgba(11, 124, 255, 0.12);
  color: #496078;
}

.sale-quick-search-hint strong {
  color: #0b4b8c;
}

.sale-quick-feedback {
  margin: 0;
  padding: 0.82rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 191, 63, 0.16);
  border: 1px solid rgba(255, 191, 63, 0.3);
  color: #8a6100;
  font-weight: 700;
}

.sale-quick-feedback.is-warning {
  background: rgba(255, 191, 63, 0.16);
  border-color: rgba(255, 191, 63, 0.3);
  color: #8a6100;
}

.sale-quick-feedback.is-info {
  background: rgba(11, 124, 255, 0.08);
  border-color: rgba(11, 124, 255, 0.18);
  color: #0b4b8c;
}

.sale-quick-feedback.is-success {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.22);
  color: #166534;
}

.sale-quick-feedback.is-danger {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.24);
  color: #b91c1c;
}

.sale-quick-table td[data-label="Cantidad"] {
  min-width: 166px;
}

.sale-quick-qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(18, 42, 66, 0.05);
  border: 1px solid rgba(18, 42, 66, 0.08);
}

.sale-quick-qty-control span {
  min-width: 34px;
  text-align: center;
  font-weight: 800;
  color: var(--ink-dark);
}

.sale-quick-qty-control .button {
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 999px;
}

.sale-quick-table-wrap {
  overflow: visible;
}

.data-table-products .product-table-thumb-standalone {
  width: 72px;
  min-width: 72px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f4f8fe);
  border: 1px solid rgba(18, 42, 66, 0.08);
}

.data-table-products .product-table-thumb-standalone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.table-note {
  display: block;
  margin-top: 0.28rem;
  color: var(--muted-dark);
  font-size: 0.76rem;
}

.stock-badge-empty {
  background: rgba(255, 82, 82, 0.12);
  color: #a32e2e;
}

.table-inline-form {
  display: inline-flex;
}

.status-pill-button {
  border: 0;
  border-radius: 999px;
  padding: 0.48rem 0.82rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.status-pill-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(18, 42, 66, 0.1);
}

.status-pill-button.is-featured {
  background: rgba(255, 183, 0, 0.18);
  color: #8b5b00;
}

.status-pill-button.is-neutral {
  background: rgba(18, 42, 66, 0.08);
  color: #526273;
}

.status-pill-button.is-active {
  background: rgba(46, 184, 92, 0.16);
  color: #1f7c41;
}

.status-pill-button.is-inactive {
  background: rgba(255, 82, 82, 0.14);
  color: #a32e2e;
}

.profit-preview-panel .profit-preview-grid {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 0.45rem;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.2rem;
}

.product-detail-media {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #eff6ff);
  border: 1px solid rgba(18, 42, 66, 0.08);
  padding: 1rem 1rem 0;
}

.product-detail-media > img {
  width: 100%;
  height: min(360px, 48vh);
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
  background: radial-gradient(circle at center, #ffffff 0%, #f7fbff 72%);
  border: 1px solid rgba(18, 42, 66, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.product-detail-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0 0 1rem;
  justify-content: center;
}

.product-detail-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 1px solid rgba(18, 42, 66, 0.12);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-detail-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 124, 255, 0.22);
  box-shadow: 0 14px 24px rgba(12, 29, 49, 0.12);
}

.product-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-copy {
  display: grid;
  gap: 1rem;
}

.product-detail-summary {
  margin: 0;
  color: var(--muted-dark);
}

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

.product-detail-grid div,
.product-detail-block {
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(18, 42, 66, 0.08);
}

.product-detail-grid strong,
.product-detail-grid span,
.product-detail-block strong,
.product-detail-block p {
  display: block;
}

.product-detail-grid span,
.product-detail-block p {
  margin-top: 0.28rem;
  color: var(--muted-dark);
}

.product-detail-block ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted-dark);
}

.priority-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.priority-pill.is-low {
  background: rgba(87, 132, 255, 0.12);
  color: #3563c7;
}

.priority-pill.is-medium {
  background: rgba(255, 191, 63, 0.18);
  color: #8a6100;
}

.priority-pill.is-high {
  background: rgba(255, 123, 0, 0.16);
  color: #ac4d00;
}

.priority-pill.is-urgent {
  background: rgba(224, 49, 49, 0.14);
  color: #b42323;
}

.service-order-detail-layout {
  display: grid;
  gap: 1rem;
}

.service-order-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.service-order-detail-grid > div,
.service-order-detail-block {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(18, 42, 66, 0.08);
}

.service-order-detail-grid > div.is-span-2 {
  grid-column: span 2;
}

.service-order-detail-grid strong,
.service-order-detail-grid span,
.service-order-detail-block strong,
.service-order-detail-block p {
  display: block;
}

.service-order-detail-grid span,
.service-order-detail-block p {
  margin-top: 0.28rem;
  color: var(--muted-dark);
}

.service-order-voucher-panel {
  overflow: hidden;
}

.service-order-voucher-card {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid rgba(33, 150, 243, 0.22);
  border-radius: 18px;
  background: linear-gradient(135deg, #eef7ff, #ffffff);
  color: var(--text-dark);
}

.service-order-voucher-card span,
.service-order-voucher-note {
  color: var(--muted-dark);
  font-size: 0.86rem;
}

.service-order-voucher-card strong {
  font-size: 1.05rem;
}

.service-order-voucher-note {
  margin: 0.75rem 0 0;
  line-height: 1.45;
}

.data-table .cell-meta a[href*="ordenes/comprobante"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin-top: 0.35rem;
  margin-right: 0.35rem;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(33, 150, 243, 0.22);
  background: linear-gradient(135deg, #eef7ff, #ffffff);
  color: #0d63ce;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.data-table .cell-meta a[href*="ordenes/comprobante"]:hover {
  border-color: rgba(33, 150, 243, 0.45);
  background: linear-gradient(135deg, #dff0ff, #ffffff);
  color: #084a9b;
}

.service-agenda-shell {
  display: grid;
  gap: 1.2rem;
  background:
    radial-gradient(circle at top right, rgba(40, 184, 255, 0.12), transparent 24%),
    radial-gradient(circle at bottom left, rgba(255, 193, 59, 0.12), transparent 18%),
    linear-gradient(180deg, #ffffff, #f6fbff);
}

.service-agenda-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.service-agenda-metric {
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(18, 42, 66, 0.08);
  box-shadow: 0 18px 36px rgba(13, 28, 52, 0.06);
}

.service-agenda-metric span,
.service-agenda-metric small {
  display: block;
}

.service-agenda-metric span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 36, 70, 0.66);
}

.service-agenda-metric strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 2rem;
  line-height: 1;
}

.service-agenda-metric small {
  margin-top: 0.45rem;
  color: var(--muted-dark);
}

.service-agenda-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 1rem;
}

.service-agenda-board {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.9rem;
}

.service-agenda-day,
.service-agenda-side {
  padding: 1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(18, 42, 66, 0.08);
  box-shadow: 0 18px 36px rgba(13, 28, 52, 0.05);
}

.service-agenda-day header,
.service-agenda-side-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.service-agenda-day header strong,
.service-agenda-side-head strong {
  font-size: 0.95rem;
}

.service-agenda-day header span,
.service-agenda-side-head span {
  font-size: 0.76rem;
  color: var(--muted-dark);
}

.service-agenda-day-list,
.service-agenda-tech-list {
  display: grid;
  gap: 0.7rem;
}

.service-agenda-card,
.service-agenda-tech-card {
  padding: 0.85rem 0.9rem;
  border-radius: 18px;
  background: rgba(9, 28, 50, 0.04);
  border: 1px solid rgba(18, 42, 66, 0.08);
}

.service-agenda-card-top,
.service-agenda-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.service-agenda-card p,
.service-agenda-card small,
.service-agenda-tech-meta span {
  display: block;
}

.service-agenda-card p {
  margin: 0.5rem 0 0.35rem;
  font-weight: 700;
  color: var(--dark);
}

.service-agenda-card small,
.service-agenda-tech-meta span {
  color: var(--muted-dark);
}

.service-agenda-tech-card strong {
  display: block;
  margin-bottom: 0.35rem;
}

.service-agenda-empty {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(9, 28, 50, 0.04);
  border: 1px dashed rgba(18, 42, 66, 0.16);
  color: var(--muted-dark);
  text-align: center;
}

.service-agenda-empty.is-side {
  min-height: 120px;
  display: grid;
  place-items: center;
}

.service-order-repeat-shell {
  display: grid;
  gap: 0.9rem;
}

.service-order-repeat-list {
  display: grid;
  gap: 0.8rem;
}

.service-order-repeat-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.8rem;
  padding: 0.9rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(18, 42, 66, 0.08);
}

.service-order-repeat-row.is-evidence {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.9fr) auto;
}

.service-order-check-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: end;
  min-height: 48px;
  padding: 0 0.9rem;
  border-radius: 16px;
  background: rgba(9, 28, 50, 0.05);
  border: 1px solid rgba(18, 42, 66, 0.08);
  font-weight: 700;
}

.service-order-check-item input {
  width: 18px;
  height: 18px;
}

.service-order-client-field .sale-search-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
}

.service-order-client-field .sale-search-dropdown {
  grid-column: 1 / -1;
}

.service-order-quick-action {
  align-self: end;
}

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

.service-order-proof-card {
  padding: 1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid rgba(18, 42, 66, 0.08);
  display: grid;
  gap: 0.85rem;
}

.service-order-proof-card strong {
  display: block;
}

.service-order-proof-preview,
.service-order-evidence-existing,
.service-order-detail-list,
.service-order-detail-evidence {
  display: grid;
  gap: 0.7rem;
}

.service-order-proof-preview {
  min-height: 160px;
  align-content: center;
  justify-items: center;
  padding: 0.85rem;
  border-radius: 18px;
  background: rgba(9, 28, 50, 0.04);
  border: 1px dashed rgba(18, 42, 66, 0.16);
}

.service-order-proof-preview a,
.service-order-proof-preview img {
  display: block;
  width: 100%;
}

.service-order-proof-preview img {
  max-height: 260px;
  object-fit: cover;
  border-radius: 16px;
}

.service-order-evidence-existing {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.service-order-evidence-chip {
  display: grid;
  gap: 0.55rem;
  padding: 0.7rem;
  border-radius: 16px;
  text-decoration: none;
  color: var(--dark);
  background: rgba(9, 28, 50, 0.04);
  border: 1px solid rgba(18, 42, 66, 0.08);
}

.service-order-evidence-chip img {
  width: 100%;
  height: 108px;
  object-fit: cover;
  border-radius: 14px;
}

.service-order-detail-line {
  display: grid;
  grid-template-columns: minmax(110px, auto) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  background: rgba(9, 28, 50, 0.04);
  border: 1px solid rgba(18, 42, 66, 0.06);
}

.service-order-detail-line strong,
.service-order-detail-line span,
.service-order-detail-line a {
  display: block;
}

.service-order-detail-line span,
.service-order-detail-line a {
  color: var(--muted-dark);
}

@media (max-width: 1200px) {
  .filter-grid-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .service-agenda-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .service-agenda-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .product-admin-head {
    padding: 1.15rem 1.1rem;
  }

  .product-admin-head-actions {
    width: 100%;
    justify-content: center;
  }

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

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

  .product-detail-media {
    max-width: 360px;
    margin: 0 auto;
  }

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

  .service-order-detail-grid > div.is-span-2 {
    grid-column: auto;
  }

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

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

  .service-order-repeat-row,
  .service-order-repeat-row.is-evidence,
  .service-order-proof-grid {
    grid-template-columns: 1fr;
  }

  .service-order-check-item {
    justify-content: space-between;
  }

  .sale-quick-result {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: flex-start;
  }

  .sale-quick-result-meta {
    justify-items: start;
    text-align: left;
  }

  .sale-quick-result-action {
    grid-column: 1 / -1;
    width: 100%;
  }

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

  .sale-quick-search-button {
    width: 100%;
  }

  .sale-quick-modal-stats {
    grid-template-columns: 1fr;
  }

  .purchase-tracking-block {
    padding: 0.85rem;
  }

  .purchase-tracking-unit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .admin-content {
    padding: 1rem 0.8rem 1.6rem;
  }

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

  .sale-quick-search-button {
    width: 100%;
    min-width: 0;
  }

  .product-admin-head-actions .button {
    width: 100%;
    min-width: 0;
  }

  .filter-grid-products,
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-agenda-metrics,
  .service-agenda-board,
  .service-order-evidence-existing {
    grid-template-columns: 1fr;
  }

  .status-pill-button {
    width: 100%;
    justify-content: center;
  }

  .sale-quick-result {
    grid-template-columns: 1fr;
    display: grid;
  }

  .sale-quick-qty-control {
    width: 100%;
    justify-content: center;
  }
}

body.theme-admin .active-filter-strip {
  gap: 0.5rem;
  margin: -0.1rem 0 1rem;
}

body.theme-admin .active-filter-chip {
  padding: 0.45rem 0.72rem;
  font-size: 0.78rem;
}

.admin-focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: start;
}

.focus-card {
  padding: 1.12rem;
}

.focus-card-primary {
  background:
    radial-gradient(circle at top left, rgba(29, 215, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff, #f5fbff);
}

.focus-card-accent {
  background:
    radial-gradient(circle at top right, rgba(255, 191, 63, 0.13), transparent 24%),
    linear-gradient(180deg, #ffffff, #fffaf0);
}

.process-rail {
  display: grid;
  gap: 0.95rem;
}

.process-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.95rem;
  padding: 0.88rem;
  border-radius: 18px;
  background: rgba(8, 26, 48, 0.04);
  border: 1px solid rgba(19, 33, 53, 0.08);
}

.process-step span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-strong), var(--brand));
  color: #04101e;
  font-weight: 800;
}

.process-step strong,
.process-step p {
  margin: 0;
}

.process-step p {
  margin-top: 0.25rem;
  color: var(--muted-dark);
}

.admin-split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: start;
}

.form-panel {
  padding: 1.12rem;
}

.helper-panel {
  padding: 1.12rem;
  align-self: start;
}

.helper-copy {
  display: grid;
  gap: 0.9rem;
  color: var(--muted-dark);
}

.helper-copy p {
  margin: 0;
}

.helper-copy code {
  padding: 0.15rem 0.35rem;
  border-radius: 8px;
  background: rgba(11, 124, 255, 0.08);
  color: #0b5bc0;
}

.catalog-shell {
  background:
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.catalog-shell-head {
  padding-bottom: 0.1rem;
}

.list-side {
  display: grid;
  gap: 0.4rem;
  justify-items: end;
}

.admin-form {
  display: grid;
  width: fit-content;
  max-width: 100%;
  gap: 0.9rem;
  align-content: start;
  justify-items: stretch;
}

.form-section {
  display: grid;
  width: fit-content;
  max-width: 100%;
  gap: 0.75rem;
  padding: 0.82rem 0.86rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.95), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(19, 33, 53, 0.08);
}

.form-section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
}

.form-section-kicker {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(11, 124, 255, 0.12), rgba(29, 215, 255, 0.22));
  color: #0b5bc0;
  font-weight: 800;
  font-size: 0.8rem;
}

.form-section-head h3,
.form-section-head p {
  margin: 0;
}

.form-section-head p {
  margin-top: 0.25rem;
  color: var(--muted-dark);
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  width: fit-content;
  max-width: 100%;
  justify-content: start;
  align-items: start;
  gap: 0.82rem;
}

.warehouse-form-grid {
  grid-template-columns: repeat(2, minmax(0, 380px));
  gap: 0.92rem 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field span {
  font-weight: 600;
  font-size: 0.92rem;
}

.field-head-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.field small {
  color: var(--muted-dark);
  font-size: 0.79rem;
}

.field-inline {
  align-content: start;
}

.field-inline-toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  min-height: 46px;
  padding: 0.72rem 0.86rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(19, 33, 53, 0.08);
}

.field-inline-toggle span {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
}

.field-inline-toggle input,
.checkbox-inline input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #0b7cff;
}

.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(11, 124, 255, 0.06);
  border: 1px solid rgba(11, 124, 255, 0.12);
  font-weight: 700;
  color: #23456b;
}

body.theme-admin .panel-card > form.admin-form,
body.theme-admin .panel-card > .admin-form,
body.theme-admin .panel-card > .configuration-form,
body.theme-admin .modal-panel > form.admin-form,
body.theme-admin .modal-panel > .admin-form {
  width: fit-content;
  max-width: min(100%, 980px);
}

body.theme-admin .panel-card > .erp-form,
body.theme-admin .panel-card > form.erp-form {
  width: fit-content;
  max-width: min(100%, 780px);
}

body.theme-admin .configuration-form .admin-form-grid,
body.theme-admin .configuration-ai-form .admin-form-grid {
  grid-template-columns: repeat(2, minmax(0, 400px));
}

body.theme-admin .erp-form .admin-form-grid {
  grid-template-columns: repeat(2, minmax(0, 340px));
}

.sale-admin-form,
.sale-quick-client-form,
.configuration-form,
.warehouse-admin-form {
  width: 100%;
  max-width: 100%;
}

.sale-admin-form .form-section,
.sale-quick-client-form .form-section,
.configuration-form .form-section,
.warehouse-admin-form .form-section {
  width: 100%;
}

.sale-admin-form .admin-form-grid,
.sale-quick-client-form .admin-form-grid,
.configuration-form .admin-form-grid,
.warehouse-admin-form .admin-form-grid {
  width: 100%;
}

.button-inline-create {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
}

[data-model-uppercase] {
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form-note {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(11, 124, 255, 0.06), rgba(29, 215, 255, 0.08));
  border: 1px solid rgba(11, 124, 255, 0.12);
}

.form-note strong,
.form-note p {
  margin: 0;
}

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

.warehouse-inline-note {
  align-content: center;
}

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

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

.field-toggle-group {
  align-content: start;
}

.field-toggle-panel {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(11, 124, 255, 0.04);
  border: 1px solid rgba(11, 124, 255, 0.1);
}

.field-help {
  margin: 0.8rem 0 0;
  color: #5c738f;
  font-size: 0.84rem;
  line-height: 1.6;
}

.configuration-sidebar-chip {
  width: 100%;
  margin-bottom: 0;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 249, 255, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.configuration-sidebar-chip input {
  margin-top: 0.18rem;
}

.business-hours-editor {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.business-hours-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.75fr) repeat(2, minmax(120px, 1fr)) minmax(110px, auto);
  gap: 0.65rem;
  align-items: center;
  padding: 0.72rem;
  border: 1px solid rgba(42, 103, 167, 0.14);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.94));
}

.business-hours-row strong {
  color: var(--ink-dark);
}

.business-hours-row label {
  display: grid;
  gap: 0.25rem;
  margin: 0;
}

.business-hours-row label span {
  color: var(--muted-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.business-hours-row input[type="time"] {
  min-height: 2.65rem;
}

.business-hours-closed {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem !important;
  min-height: 2.65rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: rgba(236, 243, 252, 0.9);
}

.business-hours-closed input {
  width: 18px;
  height: 18px;
}

.business-hours-row.is-closed {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(239, 244, 250, 0.9));
  opacity: 0.78;
}

.business-hours-row.is-closed input[type="time"] {
  background: rgba(231, 238, 247, 0.75);
}

.image-upload-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.95), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(19, 33, 53, 0.08);
}

.product-gallery-upload-grid {
  display: grid;
  gap: 1rem;
}

.image-upload-grid-compact {
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: start;
}

.image-preview-card {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(8, 26, 48, 0.92), rgba(15, 42, 70, 0.88));
  border: 1px solid rgba(19, 33, 53, 0.08);
}

.image-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-picker-copy {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.image-picker-copy strong,
.image-picker-copy p {
  margin: 0;
}

.image-picker-copy p,
.image-picker-copy small {
  color: var(--muted-dark);
}

.image-picker-button {
  position: relative;
  width: fit-content;
  overflow: hidden;
}

.image-picker-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.check-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  padding: 0.75rem 0.95rem;
  margin-bottom: 0.65rem;
  border-radius: 14px;
  background: rgba(11, 124, 255, 0.06);
  border: 1px solid rgba(11, 124, 255, 0.1);
}

.check-chip input {
  width: auto;
  margin: 0;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.inventory-action-cluster {
  display: grid;
}

.inventory-row-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(112px, 1fr));
  gap: 0.55rem;
}

.inventory-action-button {
  display: grid;
  gap: 0.18rem;
  align-content: center;
  min-height: 60px;
  padding: 0.68rem 0.8rem;
  border-radius: 18px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 248, 255, 0.92));
  color: var(--heading-dark);
  box-shadow: 0 14px 26px rgba(10, 23, 39, 0.06);
  text-decoration: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.inventory-action-button:hover,
.inventory-action-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(11, 124, 255, 0.22);
  box-shadow: 0 18px 34px rgba(8, 24, 40, 0.1);
  text-decoration: none;
}

.inventory-action-button strong {
  font-size: 0.84rem;
  line-height: 1.15;
}

.inventory-action-button small {
  color: var(--muted-dark);
  font-size: 0.72rem;
  line-height: 1.35;
}

.inventory-action-button-view {
  background: linear-gradient(180deg, rgba(19, 33, 53, 0.06), rgba(19, 33, 53, 0.02));
}

.inventory-action-button-adjust {
  background: linear-gradient(180deg, rgba(11, 124, 255, 0.1), rgba(11, 124, 255, 0.04));
}

.inventory-action-button-restock {
  background: linear-gradient(180deg, rgba(73, 215, 161, 0.14), rgba(73, 215, 161, 0.06));
}

.inventory-action-button-transfer {
  background: linear-gradient(180deg, rgba(255, 191, 63, 0.16), rgba(255, 191, 63, 0.06));
}

.table-action-note {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted-dark);
}

.table-actions form {
  margin: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.7rem;
  margin-top: 0.35rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.status-pill-success {
  background: rgba(73, 215, 161, 0.14);
  color: #15825d;
}

.status-pill-muted {
  background: rgba(19, 33, 53, 0.08);
  color: var(--muted-dark);
}

.status-pill-info {
  background: rgba(11, 124, 255, 0.12);
  color: #0b5bc0;
}

.status-pill-danger {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}

.status-pill-install {
  background: rgba(255, 191, 63, 0.16);
  color: #9b6a00;
}

.panel-head-stack {
  align-items: start;
}

body.theme-admin .panel-head,
body.theme-admin .admin-heading {
  gap: 0.85rem;
  margin-bottom: 1.05rem;
}

body.theme-admin .panel-head h2 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

body.theme-admin .panel-head span {
  display: block;
  max-width: 66ch;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted-dark);
}

body.theme-admin .panel-head-stack > div {
  display: grid;
  gap: 0.18rem;
}

.list-count {
  font-weight: 700;
  color: var(--muted-dark);
}

.range-copy {
  color: var(--muted-dark);
  font-size: 0.92rem;
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(11, 124, 255, 0.08);
  color: #0b5bc0;
  font-size: 0.82rem;
  font-weight: 700;
}

.filter-bar {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding: 0.88rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(237, 244, 251, 0.8), rgba(247, 251, 255, 0.95));
  border: 1px solid rgba(19, 33, 53, 0.08);
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(160px, 0.7fr));
  gap: 0.8rem;
}

.filter-grid-sales {
  grid-template-columns: minmax(0, 1.35fr) repeat(5, minmax(150px, 0.72fr));
}

.filter-bar-premium {
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #f9fcff, #f1f8ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.active-filter-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: -0.15rem 0 0.9rem;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  background: rgba(11, 124, 255, 0.08);
  color: #0b5bc0;
  font-size: 0.78rem;
  font-weight: 700;
}

.active-filter-clear {
  color: var(--muted-dark);
  font-weight: 700;
}

.filter-preset-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.62rem;
  margin-bottom: 0.72rem;
}

.filter-preset-label {
  color: var(--muted-dark);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-preset-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.filter-preset-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(11, 124, 255, 0.06);
  border: 1px solid rgba(11, 124, 255, 0.1);
  color: var(--muted-dark);
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.filter-preset-chip:hover,
.filter-preset-chip.is-active {
  transform: translateY(-1px);
  color: #0b5bc0;
  border-color: rgba(11, 124, 255, 0.24);
  background: rgba(11, 124, 255, 0.12);
}

.empty-state {
  display: grid;
  gap: 0.55rem;
  padding: 1.25rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(11, 124, 255, 0.05), rgba(255, 191, 63, 0.08));
  border: 1px dashed rgba(19, 33, 53, 0.18);
  color: var(--muted-dark);
}

.empty-state[hidden] {
  display: none !important;
}

.empty-state strong,
.empty-state p {
  margin: 0;
}

.cell-primary {
  display: grid;
  gap: 0.4rem;
}

.code-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 0.82rem;
  border-radius: 999px;
  background: rgba(8, 26, 48, 0.06);
  color: #0f3558;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.product-table-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.product-table-thumb {
  overflow: hidden;
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(8, 26, 48, 0.92), rgba(15, 42, 70, 0.88));
  border: 1px solid rgba(19, 33, 53, 0.08);
}

.product-table-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cell-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  color: var(--muted-dark);
  font-size: 0.92rem;
}

.cell-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.profit-pill,
.stock-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}

.profit-pill-positive {
  background: rgba(73, 215, 161, 0.14);
  color: #15825d;
}

.profit-pill-neutral {
  background: rgba(19, 33, 53, 0.08);
  color: var(--muted-dark);
}

.stock-badge-ok {
  background: rgba(11, 124, 255, 0.1);
  color: #0b5bc0;
}

.stock-badge-low {
  background: rgba(255, 191, 63, 0.16);
  color: #9b6a00;
}

.data-table-cards {
  border-collapse: separate;
  border-spacing: 0 0.9rem;
}

.data-table-cards thead th {
  border: 0;
  padding-top: 0;
  padding-bottom: 0.4rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-table-cards tbody td {
  background: linear-gradient(180deg, #ffffff, #f9fcff);
  border-top: 1px solid rgba(19, 33, 53, 0.08);
  border-bottom: 1px solid rgba(19, 33, 53, 0.08);
}

.data-table-cards tbody td:first-child {
  border-left: 1px solid rgba(19, 33, 53, 0.08);
  border-radius: 22px 0 0 22px;
}

.data-table-cards tbody td:last-child {
  border-right: 1px solid rgba(19, 33, 53, 0.08);
  border-radius: 0 22px 22px 0;
}

.data-table-cards tbody tr {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.data-table-cards tbody tr:hover {
  transform: translateY(-1px);
}

.data-table-cards tbody tr:hover td {
  box-shadow: 0 18px 40px rgba(38, 64, 89, 0.06);
}

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(19, 33, 53, 0.08);
}

.pagination-summary {
  display: grid;
  gap: 0.25rem;
}

.pagination-summary strong {
  color: var(--ink-dark);
}

.pagination-summary span {
  color: var(--muted-dark);
  font-size: 0.92rem;
}

.pagination-nav,
.page-number-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.9rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(19, 33, 53, 0.1);
  color: var(--muted-dark);
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.page-link:hover {
  transform: translateY(-1px);
  border-color: rgba(11, 124, 255, 0.26);
  color: #0b5bc0;
}

.page-link.is-current {
  background: linear-gradient(135deg, var(--brand-strong), var(--brand));
  border-color: transparent;
  color: #04101e;
  box-shadow: 0 16px 34px rgba(11, 124, 255, 0.22);
}

.page-link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.page-link-arrow {
  min-width: 96px;
}

.modal-shell {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 90;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-shell.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 29, 0.62);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  max-height: calc(100vh - 1.5rem);
  overflow-y: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(11, 124, 255, 0.42) rgba(19, 33, 53, 0.06);
  padding: 1rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(19, 33, 53, 0.08);
  box-shadow: 0 24px 80px rgba(4, 12, 25, 0.28);
  transform: translateY(18px) scale(0.985);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.modal-panel-lg {
  width: min(900px, calc(100vw - 1.5rem));
}

.modal-panel-sm {
  width: min(500px, calc(100vw - 1.5rem));
}

.modal-panel::-webkit-scrollbar,
.admin-sidebar::-webkit-scrollbar,
.table-wrap::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.modal-panel::-webkit-scrollbar-track,
.admin-sidebar::-webkit-scrollbar-track,
.table-wrap::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(19, 33, 53, 0.05);
}

.modal-panel::-webkit-scrollbar-thumb,
.admin-sidebar::-webkit-scrollbar-thumb,
.table-wrap::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.95);
  background: linear-gradient(180deg, rgba(11, 124, 255, 0.52), rgba(29, 215, 255, 0.5));
  box-shadow: inset 0 0 0 1px rgba(8, 26, 48, 0.04);
}

.modal-panel::-webkit-scrollbar-thumb:hover,
.admin-sidebar::-webkit-scrollbar-thumb:hover,
.table-wrap::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(11, 124, 255, 0.7), rgba(29, 215, 255, 0.66));
}

.modal-panel::-webkit-scrollbar-corner,
.admin-sidebar::-webkit-scrollbar-corner,
.table-wrap::-webkit-scrollbar-corner {
  background: transparent;
}

.modal-shell.is-open .modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-product-panel {
  width: fit-content;
  max-width: min(calc(100vw - 1.5rem), 840px);
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.08), transparent 22%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.modal-product-panel > .admin-form,
.modal-product-panel > form.admin-form {
  width: fit-content;
  max-width: 100%;
}

.modal-product-panel .form-section {
  width: fit-content;
  max-width: 100%;
}

.modal-product-panel .admin-form-grid {
  width: fit-content;
  max-width: 100%;
  grid-template-columns: repeat(2, minmax(0, 360px));
}

.modal-quick-panel {
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.08), transparent 22%),
    radial-gradient(circle at bottom left, rgba(255, 191, 63, 0.1), transparent 24%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.sale-client-panel {
  background:
    radial-gradient(circle at top right, rgba(11, 124, 255, 0.12), transparent 26%),
    radial-gradient(circle at bottom left, rgba(29, 215, 255, 0.1), transparent 24%),
    linear-gradient(180deg, #ffffff, #f6fbff);
}

.sale-client-panel .modal-head {
  padding: 0.92rem;
  border-radius: 20px;
  border: 1px solid rgba(11, 124, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(8, 26, 48, 0.96), rgba(12, 61, 110, 0.92));
  box-shadow: 0 18px 38px rgba(8, 26, 48, 0.16);
}

.sale-client-panel .modal-head h2 {
  color: #f7fbff;
}

.sale-client-panel .modal-head .eyebrow {
  width: fit-content;
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 239, 255, 0.24);
  background: rgba(226, 239, 255, 0.14);
  color: #eaf6ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.quick-create-form {
  gap: 1rem;
}

.quick-create-feedback {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(224, 49, 49, 0.14);
  background: rgba(224, 49, 49, 0.08);
  color: #a61e1e;
}

.quick-create-feedback.is-success {
  border-color: rgba(43, 138, 62, 0.16);
  background: rgba(43, 138, 62, 0.08);
  color: #2b8a3e;
}

.modal-brand-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.25rem;
  padding: 1.1rem;
  border-radius: 26px;
  background:
    linear-gradient(112deg, #0a1d33 0%, #153451 42%, #143556 58%, rgba(245, 249, 255, 0.94) 100%),
    radial-gradient(circle at 18% 18%, rgba(29, 215, 255, 0.14), transparent 20%),
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.5), transparent 16%),
    radial-gradient(circle at 90% 84%, rgba(255, 191, 63, 0.18), transparent 16%);
  border: 1px solid rgba(73, 157, 255, 0.14);
  box-shadow:
    0 18px 42px rgba(4, 12, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.modal-brand-banner::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 19px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.modal-brand-copy h2,
.modal-brand-copy p {
  margin: 0;
}

.modal-brand-copy h2 {
  color: #f4f8ff;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

.modal-panel .eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 0.7rem;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  background: rgba(12, 91, 192, 0.18);
  border: 1px solid rgba(101, 196, 255, 0.18);
  color: #d7f1ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.modal-brand-copy p:not(.eyebrow) {
  margin-top: 0.35rem;
  color: rgba(232, 241, 250, 0.92);
}

.modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.modal-head h2 {
  margin: 0;
}

.modal-close {
  min-height: 42px;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(167, 28, 28, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(213, 49, 49, 0.96), rgba(234, 84, 84, 0.94));
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(161, 28, 28, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.modal-close:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(145, 22, 22, 0.24);
}

.modal-close:focus-visible {
  outline: 3px solid rgba(249, 115, 115, 0.22);
  outline-offset: 2px;
}

.modal-brand-banner .modal-close {
  border-color: rgba(255, 255, 255, 0.08);
}

.modal-brand-banner.public-product-modal-banner .modal-close {
  background: linear-gradient(135deg, rgba(173, 32, 32, 0.96), rgba(221, 67, 67, 0.92));
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 28px rgba(132, 20, 20, 0.22);
}

.modal-brand-banner.public-product-modal-banner .modal-close:hover {
  background: linear-gradient(135deg, rgba(154, 24, 24, 0.98), rgba(205, 54, 54, 0.94));
}

.warehouse-modal-panel {
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.08), transparent 20%),
    radial-gradient(circle at bottom left, rgba(255, 191, 63, 0.1), transparent 24%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.warehouse-modal-banner {
  align-items: center;
}

.warehouse-modal-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.warehouse-modal-tags span {
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.warehouse-admin-form {
  display: grid;
  gap: 1rem;
}

.modal-actions {
  margin-top: 0.25rem;
}

.modal-delete-panel {
  background:
    radial-gradient(circle at top right, rgba(255, 107, 107, 0.1), transparent 28%),
    linear-gradient(180deg, #ffffff, #fff8f8);
}

.modal-delete-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  padding: 0.5rem 0.82rem;
  border-radius: 999px;
  background: rgba(224, 49, 49, 0.1);
  color: #c92a2a;
  font-size: 0.82rem;
  font-weight: 800;
}

.modal-confirm-copy {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  color: var(--muted-dark);
}

.modal-confirm-copy p {
  margin: 0;
}

.admin-shell {
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  min-height: 100vh;
}

body.theme-admin.has-sidebar-fab .admin-shell {
  transition: grid-template-columns 0.28s ease;
}

.admin-sidebar-backdrop {
  display: none;
}

.admin-sidebar {
  background:
    radial-gradient(circle at top left, rgba(29, 215, 255, 0.2), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(255, 191, 63, 0.12), transparent 18%),
    linear-gradient(180deg, #04101b, #0a1b30 38%, #0d2540 72%, #10263d 100%);
  color: rgba(255, 255, 255, 0.84);
  padding: 1.15rem 1rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(29, 215, 255, 0.38) rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset -1px 0 0 rgba(255, 255, 255, 0.03),
    16px 0 40px rgba(3, 11, 22, 0.18);
  transition: transform 0.28s ease, opacity 0.22s ease, box-shadow 0.28s ease;
}

body.theme-admin.has-sidebar-fab.admin-sidebar-collapsed .admin-shell {
  grid-template-columns: 0 minmax(0, 1fr);
}

body.theme-admin.has-sidebar-fab.admin-sidebar-collapsed .admin-sidebar {
  opacity: 0;
  pointer-events: none;
  transform: translateX(calc(-100% - 1.25rem));
  box-shadow: none;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
  color: #fff;
  padding: 0.82rem 0.88rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(10, 28, 46, 0.92), rgba(13, 36, 60, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 18px 34px rgba(3, 11, 22, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-brand-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.admin-brand-copy strong {
  letter-spacing: -0.02em;
}

.admin-brand-copy small {
  color: rgba(224, 239, 255, 0.66);
}

.admin-sidebar-user-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.8rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(9, 26, 46, 0.82), rgba(10, 31, 54, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 16px 28px rgba(3, 11, 22, 0.14);
}

.admin-sidebar-user-copy {
  display: grid;
  gap: 0.18rem;
}

.admin-sidebar-user-copy strong {
  color: #fff;
}

.admin-sidebar-user-copy small,
.admin-sidebar-user-copy span {
  color: rgba(255, 255, 255, 0.68);
  word-break: break-word;
}

.admin-nav-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(200, 240, 255, 0.8);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-nav {
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
}

.reports-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1rem;
}

.reports-stage {
  display: grid;
  gap: 1rem;
}

.reports-modern-stage {
  gap: 1.1rem;
}

.reports-command-center {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1.2rem;
  align-items: stretch;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(8, 22, 38, 0.98), rgba(13, 56, 96, 0.96) 58%, rgba(8, 92, 135, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 48px rgba(7, 21, 38, 0.18);
  color: #fff;
}

.reports-command-copy {
  display: grid;
  align-content: center;
  gap: 0.75rem;
}

.reports-kicker {
  width: fit-content;
  margin: 0;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(232, 246, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reports-command-copy h1 {
  margin: 0;
  max-width: 780px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.reports-command-copy p:not(.reports-kicker) {
  margin: 0;
  max-width: 760px;
  color: rgba(232, 246, 255, 0.78);
  font-size: 1rem;
  line-height: 1.65;
}

.reports-command-meta,
.reports-command-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.reports-command-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.reports-command-score {
  display: grid;
  align-content: center;
  gap: 0.65rem;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.reports-command-score > span {
  color: rgba(232, 246, 255, 0.72);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.reports-command-score strong {
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1;
}

.reports-command-score small {
  color: rgba(232, 246, 255, 0.76);
  font-weight: 700;
}

.reports-section-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  padding: 0.42rem;
  overflow-x: auto;
  scrollbar-width: thin;
  border-radius: 999px;
  border: 1px solid rgba(17, 38, 57, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.96)),
    linear-gradient(90deg, rgba(8, 26, 48, 0.04), rgba(11, 124, 255, 0.05), rgba(15, 159, 154, 0.04));
  box-shadow:
    0 14px 34px rgba(17, 38, 57, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.reports-section-nav::-webkit-scrollbar {
  height: 8px;
}

.reports-section-nav::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(54, 89, 123, 0.22);
}

.reports-section-link {
  --section-accent: #0b7cff;
  --section-accent-soft: rgba(11, 124, 255, 0.12);
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  min-height: 42px;
  min-width: 104px;
  padding: 0 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #17304d;
  text-decoration: none;
  box-shadow: none;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.reports-section-link:nth-child(2) {
  --section-accent: #0f9f9a;
  --section-accent-soft: rgba(15, 159, 154, 0.13);
}

.reports-section-link:nth-child(3) {
  --section-accent: #15825d;
  --section-accent-soft: rgba(73, 215, 161, 0.14);
}

.reports-section-link:nth-child(4) {
  --section-accent: #d98a0b;
  --section-accent-soft: rgba(255, 191, 63, 0.18);
}

.reports-section-link:nth-child(5) {
  --section-accent: #7c5cff;
  --section-accent-soft: rgba(124, 92, 255, 0.12);
}

.reports-section-link:nth-child(6) {
  --section-accent: #0b63d1;
  --section-accent-soft: rgba(11, 99, 209, 0.12);
}

.reports-section-link:nth-child(7) {
  --section-accent: #36597b;
  --section-accent-soft: rgba(54, 89, 123, 0.13);
}

.reports-section-link:nth-child(8) {
  --section-accent: #d94f4f;
  --section-accent-soft: rgba(217, 79, 79, 0.13);
}

.reports-section-link::before {
  content: "";
  position: absolute;
  inset: auto 18px 6px;
  width: auto;
  height: 2px;
  border-radius: 999px;
  background: var(--section-accent);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.reports-section-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9)),
    linear-gradient(135deg, var(--section-accent-soft), rgba(255, 255, 255, 0));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.16s ease;
}

.reports-section-link:hover,
.reports-section-link.is-active {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--section-accent) 26%, transparent);
  box-shadow: 0 12px 22px rgba(17, 38, 57, 0.1);
}

.reports-section-link.is-active {
  background: #fff;
  color: #102945;
}

.reports-section-link:hover::before,
.reports-section-link.is-active::before {
  opacity: 1;
  transform: scaleX(1);
}

.reports-section-link:hover::after,
.reports-section-link.is-active::after {
  opacity: 1;
}

.reports-section-link strong {
  display: block;
  overflow: hidden;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reports-filter-panel {
  border: 1px solid rgba(37, 99, 235, 0.1);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.reports-admin-head {
  align-items: center;
}

.reports-admin-head .product-admin-head-title {
  display: grid;
  gap: 0.35rem;
}

.reports-admin-head .product-admin-head-title p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.reports-admin-head .reports-command-meta {
  justify-content: center;
  margin-top: 0.2rem;
}

.reports-head-actions {
  align-items: center;
}

.reports-head-score {
  display: inline-grid;
  gap: 0.12rem;
  min-height: 42px;
  min-width: min(100%, 220px);
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  box-shadow: 0 16px 28px rgba(8, 24, 40, 0.18);
}

.reports-head-score strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1;
}

.reports-head-score small {
  color: rgba(232, 246, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.25;
}

.reports-document-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.reports-insight-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.report-donut-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  min-height: 104px;
  padding: 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(31, 64, 103, 0.1);
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
}

.report-donut-card {
  --report-donut-color: #0b63d1;
}

.report-donut-green {
  --report-donut-color: #0f9f6e;
}

.report-donut-blue {
  --report-donut-color: #0b63d1;
}

.report-donut-amber {
  --report-donut-color: #d97706;
}

.report-donut-red {
  --report-donut-color: #dc2626;
}

.report-donut-ring {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: conic-gradient(var(--report-donut-color) var(--value), #e6edf5 0);
  position: relative;
}

.report-donut-ring::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #fff;
}

.report-donut-ring span {
  position: relative;
  z-index: 1;
  color: #102033;
  font-size: 0.82rem;
  font-weight: 900;
}

.report-donut-card strong {
  display: block;
  color: #102033;
  font-size: 0.98rem;
}

.report-donut-card small {
  display: block;
  margin-top: 0.25rem;
  color: #62748c;
  font-weight: 700;
  line-height: 1.45;
}

.reports-metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.reports-grid-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1rem;
}

.reports-grid-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.reports-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.report-visual-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid rgba(31, 64, 103, 0.1);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.report-visual-card.is-wide {
  min-height: 100%;
}

.report-visual-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.report-visual-head h2,
.report-visual-head p {
  margin: 0;
}

.report-visual-head h2 {
  color: #102033;
  font-size: 1.15rem;
}

.report-visual-head > span {
  flex: 0 0 auto;
  padding: 0.36rem 0.62rem;
  border-radius: 999px;
  background: #eaf4ff;
  color: #0b63d1;
  font-weight: 850;
}

.report-bar-list {
  display: grid;
  gap: 0.72rem;
}

.report-bar-row {
  display: grid;
  gap: 0.45rem;
}

.report-bar-row.is-empty {
  min-height: 74px;
  place-items: center;
  border: 1px dashed rgba(100, 116, 139, 0.28);
  border-radius: 8px;
  color: #64748b;
}

.report-bar-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
}

.report-bar-row-head strong {
  min-width: 0;
  overflow: hidden;
  color: #172338;
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-bar-row-head span {
  flex: 0 0 auto;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 800;
}

.report-bar-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef6;
}

.report-bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0b63d1, #0f9f9a);
}

.reports-modern-stage .dashboard-metric-card {
  border: 1px solid rgba(31, 64, 103, 0.1);
  background: linear-gradient(180deg, #fff, #f7fbff);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.065);
}

.reports-modern-stage .dashboard-metric-card.is-accent {
  background: linear-gradient(135deg, #0b63d1, #0f9f9a);
}

.reports-modern-stage .dashboard-chart {
  min-height: 320px;
  padding: 1rem 0.8rem 0;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.06) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid rgba(31, 64, 103, 0.08);
}

.reports-modern-stage .dashboard-bar-card {
  min-width: 58px;
}

.reports-modern-stage .dashboard-bar-track {
  width: 100%;
  border-radius: 8px 8px 0 0;
  background: #e8eef6;
}

.reports-modern-stage .dashboard-bar-fill {
  background: linear-gradient(180deg, #0b63d1, #0f9f9a);
}

.reports-split-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.reports-split-title {
  display: inline-flex;
  margin-bottom: 0.9rem;
  color: var(--ink-dark);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-focus-card,
.report-nav-card {
  background:
    radial-gradient(circle at top right, rgba(255, 196, 67, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 249, 255, 0.94));
}

.report-focus-head {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.report-focus-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.report-focus-head p {
  margin: 0;
  color: var(--muted-dark);
}

.report-summary-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.report-summary-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: rgba(11, 80, 180, 0.08);
  color: var(--ink-dark);
  font-weight: 700;
}

.report-focus-list {
  display: grid;
  gap: 0.75rem;
}

.report-focus-item {
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(19, 33, 53, 0.08);
  box-shadow: 0 14px 32px rgba(17, 40, 76, 0.08);
}

.report-link-grid {
  display: grid;
  gap: 0.8rem;
}

.report-link-card {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(19, 33, 53, 0.08);
  box-shadow: 0 14px 32px rgba(17, 40, 76, 0.08);
  color: inherit;
}

.report-link-card:hover,
.report-link-card.is-current {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(17, 40, 76, 0.14);
}

.report-link-eyebrow {
  color: var(--brand-blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-link-card strong {
  font-size: 1.02rem;
  color: var(--ink-dark);
}

.report-link-card p {
  margin: 0;
  color: var(--muted-dark);
}

.report-link-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.report-link-meta span,
.report-link-action {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.72rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.report-link-meta span {
  background: rgba(11, 80, 180, 0.08);
  color: var(--muted-dark);
}

.report-link-action {
  justify-self: flex-start;
  background: linear-gradient(135deg, #0a63ea, #35d5ff);
  color: #fff;
}

.reports-deep-dive {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.reports-mini-metrics {
  margin-top: 1rem;
}

.table-actions-wrap {
  flex-wrap: wrap;
  align-items: center;
}

.table-actions-wrap form {
  margin: 0;
}

@media (max-width: 980px) {
  .reports-command-center,
  .reports-insight-strip,
  .reports-layout {
    grid-template-columns: 1fr;
  }

  .reports-visual-grid,
  .reports-grid-main,
  .reports-grid-secondary,
  .reports-split-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .reports-command-center {
    padding: 1rem;
  }

  .reports-section-nav {
    justify-content: flex-start;
    gap: 0.24rem;
    padding: 0.38rem;
    border-radius: 18px;
  }

  .reports-section-link {
    min-width: 96px;
    min-height: 40px;
    padding-inline: 0.92rem;
  }

  .reports-command-score,
  .report-visual-card,
  .report-donut-card {
    padding: 0.85rem;
  }

  .report-donut-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .report-donut-ring {
    width: 58px;
    height: 58px;
  }

  .report-donut-ring span {
    font-size: 0.72rem;
  }

  .report-bar-row-head {
    display: grid;
  }
}

.admin-nav-link-main,
.admin-nav-summary,
.admin-nav-children a {
  transition: 0.2s ease;
}

.admin-nav-link-main,
.admin-nav-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.8rem 0.86rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.02);
  color: rgba(234, 244, 255, 0.8);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.admin-nav-link-main:hover,
.admin-nav-link-main.is-active,
.admin-nav-group.is-current > .admin-nav-summary,
.admin-nav-summary:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
    linear-gradient(135deg, rgba(12, 52, 88, 0.92), rgba(14, 61, 104, 0.84));
  color: #fff;
  border-color: rgba(101, 196, 255, 0.14);
  transform: translateY(-1px);
  box-shadow:
    0 14px 28px rgba(3, 11, 22, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-nav-link-main::before,
.admin-nav-summary::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #2be4ff, #ffd166);
  transform: translateY(-50%);
  opacity: 0;
  transition: height 0.18s ease, opacity 0.18s ease;
}

.admin-nav-link-main:hover::before,
.admin-nav-link-main.is-active::before,
.admin-nav-group.is-current > .admin-nav-summary::before,
.admin-nav-summary:hover::before {
  height: 62%;
  opacity: 1;
}

.admin-nav-group {
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.admin-nav-group[open] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, rgba(7, 28, 48, 0.8), rgba(10, 31, 54, 0.72));
  border-color: rgba(101, 196, 255, 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(158, 232, 255, 0.08),
    0 16px 28px rgba(3, 11, 22, 0.12);
}

.admin-nav-group summary {
  list-style: none;
}

.admin-nav-group summary::-webkit-details-marker {
  display: none;
}

.admin-nav-icon {
  display: grid;
  place-items: center;
  width: 2.18rem;
  height: 2.18rem;
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(41, 170, 255, 0.34), rgba(255, 190, 70, 0.24));
  color: #fff;
  font-size: 0.94rem;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 10px 18px rgba(2, 10, 20, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.admin-nav-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.admin-nav-copy strong {
  color: inherit;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
}

.admin-nav-copy small {
  color: rgba(217, 232, 248, 0.52);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-nav-caret {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(233, 244, 255, 0.82);
  font-size: 0.92rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.admin-nav-group[open] .admin-nav-caret {
  transform: rotate(45deg);
}

.admin-nav-children {
  position: relative;
  display: grid;
  gap: 0.26rem;
  padding: 0.1rem 0.52rem 0.58rem 3.45rem;
}

.admin-nav-children::before {
  content: "";
  position: absolute;
  left: 2.42rem;
  top: 0.15rem;
  bottom: 0.7rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(101, 196, 255, 0.24), rgba(255, 255, 255, 0.02));
}

.admin-nav-children a {
  position: relative;
  min-height: 40px;
  padding: 0.58rem 0.84rem 0.58rem 1rem;
  border-radius: 15px;
  border: 1px solid transparent;
  color: rgba(232, 242, 255, 0.7);
  background: rgba(255, 255, 255, 0.02);
}

.admin-nav-children a::before {
  content: "";
  position: absolute;
  left: 0.32rem;
  top: 50%;
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 999px;
  background: rgba(158, 232, 255, 0.34);
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(158, 232, 255, 0.06);
}

.admin-nav-children a:hover,
.admin-nav-children a.is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05)),
    linear-gradient(135deg, rgba(12, 52, 88, 0.78), rgba(14, 61, 104, 0.72));
  color: #fff;
  border-color: rgba(101, 196, 255, 0.12);
  transform: translateX(2px);
}

.admin-nav-children a.is-active::before {
  background: #ffd166;
  box-shadow: 0 0 0 4px rgba(255, 209, 102, 0.12);
}

.admin-nav-link-main:hover .admin-nav-icon,
.admin-nav-link-main.is-active .admin-nav-icon,
.admin-nav-group.is-current > .admin-nav-summary .admin-nav-icon,
.admin-nav-summary:hover .admin-nav-icon {
  transform: translateY(-1px) scale(1.03);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 14px 22px rgba(2, 10, 20, 0.18);
}

.admin-main {
  min-width: 0;
  transition: width 0.28s ease;
}

.admin-sidebar-fab {
  position: fixed;
  left: 246px;
  top: 4.85rem;
  z-index: 42;
  display: none;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  padding: 0;
  border: 1px solid rgba(67, 134, 201, 0.2);
  border-radius: 1.05rem;
  background:
    linear-gradient(180deg, rgba(15, 33, 52, 0.96), rgba(26, 50, 76, 0.94)),
    rgba(15, 33, 52, 0.94);
  box-shadow:
    0 18px 32px rgba(6, 16, 31, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #eaf5ff;
  cursor: pointer;
  transition:
    left 0.28s ease,
    top 0.28s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

body.theme-admin.has-sidebar-fab .admin-sidebar-fab {
  display: inline-flex;
}

body.theme-admin.has-sidebar-fab.admin-sidebar-collapsed .admin-sidebar-fab {
  left: 1rem;
}

.admin-sidebar-fab:hover {
  transform: translateY(-1px) scale(1.02);
  border-color: rgba(116, 198, 255, 0.34);
  box-shadow:
    0 22px 40px rgba(6, 16, 31, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.admin-sidebar-fab:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 4px rgba(33, 195, 246, 0.18),
    0 22px 40px rgba(16, 37, 62, 0.18);
}

.admin-sidebar-fab-icon {
  display: grid;
  gap: 0.22rem;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0.52rem;
  border-radius: 0.88rem;
  background: linear-gradient(135deg, rgba(245, 251, 255, 0.98), rgba(210, 236, 255, 0.92));
  box-shadow:
    0 12px 22px rgba(8, 27, 47, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.admin-sidebar-fab-icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0d65d1 0%, #2aaef5 100%);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.admin-sidebar-fab.is-collapsed .admin-sidebar-fab-icon span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.admin-sidebar-fab.is-collapsed .admin-sidebar-fab-icon span:nth-child(2) {
  opacity: 0;
}

.admin-sidebar-fab.is-collapsed .admin-sidebar-fab-icon span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 1.1rem;
  background: rgba(248, 251, 255, 0.9);
  border-bottom: 1px solid rgba(19, 33, 53, 0.08);
}

.admin-topbar-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.admin-topbar-context {
  display: grid;
  gap: 0.12rem;
  color: inherit;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.25rem 0.35rem;
  transition: background 0.18s ease, transform 0.18s ease;
}

.admin-topbar-context:hover,
.admin-topbar-context:focus-visible {
  background: rgba(33, 126, 225, 0.08);
  transform: translateY(-1px);
}

.admin-topbar-context span {
  color: var(--muted-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-topbar-context strong {
  color: var(--ink-dark);
}

.admin-search-panel {
  padding: 0.85rem;
  background:
    radial-gradient(circle at top left, rgba(42, 169, 255, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 255, 0.94));
}

.admin-search-form {
  display: flex;
  align-items: end;
  gap: 0.72rem;
}

.admin-search-control {
  position: relative;
  flex: 1 1 auto;
  min-width: 260px;
  margin: 0;
  display: block;
}

.admin-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 999px;
  background: rgba(32, 132, 226, 0.1);
  color: #126ec2;
  font-size: 1.05rem;
  font-weight: 900;
  pointer-events: none;
}

.admin-search-control input[type="search"] {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.82rem 1rem 0.82rem 3.45rem;
  border: 1px solid rgba(45, 111, 180, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 30px rgba(27, 74, 126, 0.08);
  color: var(--ink-dark);
  font-size: 0.96rem;
  font-weight: 650;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.admin-search-control input[type="search"]::placeholder {
  color: rgba(87, 112, 139, 0.72);
  font-weight: 600;
}

.admin-search-control input[type="search"]:focus {
  border-color: rgba(29, 137, 233, 0.55);
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(48, 156, 255, 0.13),
    0 16px 34px rgba(27, 74, 126, 0.12);
}

@media (max-width: 720px) {
  .admin-search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-search-control {
    min-width: 0;
  }

  .business-hours-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .business-hours-closed {
    justify-content: flex-start;
  }
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  align-items: center;
}

.admin-topbar-actions a {
  color: var(--muted-dark);
}

@media (min-width: 981px) {
  body.theme-admin.has-sidebar-fab .menu-toggle-admin {
    display: none;
  }
}

.admin-filter-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0;
}

.admin-filter-shell {
  display: grid;
  gap: 0.72rem;
  margin-bottom: 0.85rem;
}

.admin-filter-shell.is-open {
  padding: 0.78rem 0.82rem;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.05), transparent 22%),
    linear-gradient(180deg, rgba(248, 252, 255, 0.96), rgba(241, 248, 255, 0.92));
  border: 1px solid rgba(27, 54, 82, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 28px rgba(19, 40, 66, 0.055);
}

.admin-filter-panel {
  display: grid;
  gap: 0.72rem;
}

.admin-filter-panel[hidden] {
  display: none !important;
}

.admin-filter-shell .filter-preset-row {
  margin-bottom: 0.05rem;
}

.admin-filter-shell .filter-bar.filter-bar-premium {
  margin-bottom: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.admin-filter-shell .filter-bar.filter-bar-premium .filter-grid {
  gap: 0.62rem;
}

.admin-filter-shell .filter-bar.filter-bar-premium .form-actions {
  padding-top: 0.1rem;
}

.admin-filter-shell .active-filter-strip {
  margin: 0;
}

.admin-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.55rem;
  padding: 0.54rem 0.82rem;
  border: 1px solid rgba(41, 93, 152, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 247, 255, 0.94)),
    rgba(255, 255, 255, 0.96);
  color: #18324f;
  box-shadow:
    0 10px 22px rgba(27, 51, 78, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.admin-filter-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 107, 214, 0.24);
  box-shadow:
    0 12px 24px rgba(27, 51, 78, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.admin-filter-toggle:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 4px rgba(33, 195, 246, 0.18),
    0 14px 28px rgba(27, 51, 78, 0.14);
}

.admin-filter-toggle-icon {
  display: grid;
  gap: 0.16rem;
  width: 0.95rem;
}

.admin-filter-toggle-icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #1d5bb8;
}

.admin-filter-toggle-copy {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.admin-filter-toggle.has-active-filters {
  border-color: rgba(11, 99, 209, 0.26);
}

.admin-user-menu {
  position: relative;
}

.admin-user-trigger {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 50px;
  padding: 0.4rem 0.55rem 0.4rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: #fff;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(38, 64, 89, 0.08);
}

.admin-user-copy {
  display: grid;
  text-align: left;
}

.admin-user-copy strong {
  color: var(--ink-dark);
  font-size: 0.9rem;
}

.admin-user-copy small {
  color: var(--muted-dark);
}

.admin-user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 16px;
  flex-shrink: 0;
}

.admin-user-avatar.is-sidebar {
  width: 60px;
  height: 60px;
  border-radius: 20px;
}

.admin-user-avatar.is-dropdown {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

.admin-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.admin-user-avatar .avatar-bubble {
  width: 100%;
  height: 100%;
}

.admin-user-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(11, 124, 255, 0.08);
  color: #0b5bc0;
  font-size: 1rem;
  font-weight: 800;
}

.admin-user-dropdown {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  z-index: 30;
  width: min(320px, calc(100vw - 2rem));
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 50px rgba(18, 37, 58, 0.18);
}

.admin-user-dropdown-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(19, 33, 53, 0.08);
}

.admin-user-dropdown-copy {
  display: grid;
  gap: 0.16rem;
}

.admin-user-dropdown-copy strong {
  color: var(--ink-dark);
}

.admin-user-dropdown-copy small,
.admin-user-dropdown-copy span {
  color: var(--muted-dark);
  word-break: break-word;
}

.admin-user-dropdown-links {
  display: grid;
  gap: 0.45rem;
}

.admin-user-dropdown-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.78rem 0.9rem;
  border-radius: 16px;
  color: var(--ink-dark);
  background: rgba(11, 124, 255, 0.03);
}

.admin-user-dropdown-links a:hover {
  background: rgba(11, 124, 255, 0.08);
}

.admin-user-dropdown-links .is-danger {
  color: #c92a2a;
  background: rgba(224, 49, 49, 0.06);
}

.configuration-shell {
  display: grid;
  gap: 1rem;
}

.configuration-form {
  display: grid;
  gap: 1rem;
}

.configuration-section-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
  padding: 0.8rem;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.configuration-section-tab {
  display: grid;
  gap: 0.2rem;
  min-height: 74px;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: rgba(248, 251, 255, 0.92);
  color: var(--ink-dark);
}

.configuration-section-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(11, 124, 255, 0.18);
  background: #ffffff;
}

.configuration-section-tab span {
  font-size: 1rem;
  font-weight: 800;
}

.configuration-section-tab small {
  color: var(--muted-dark);
  font-size: 0.82rem;
  line-height: 1.35;
}

.configuration-section-tab.is-active {
  color: #ffffff;
  border-color: rgba(9, 27, 49, 0.16);
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #091b31, #0b5bc0);
  box-shadow: 0 18px 34px rgba(9, 27, 49, 0.18);
}

.configuration-section-tab.is-active small {
  color: rgba(255, 255, 255, 0.78);
}

.configuration-edit-surface {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  background:
    radial-gradient(circle at top left, rgba(11, 124, 255, 0.1), transparent 26%),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.configuration-edit-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.1rem;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(19, 33, 53, 0.08);
  box-shadow: 0 16px 30px rgba(13, 29, 53, 0.06);
}

.configuration-edit-intro h2,
.configuration-edit-intro p {
  margin: 0;
}

.configuration-edit-intro h2 {
  color: var(--ink-dark);
  font-size: 1.35rem;
}

.configuration-edit-intro p:not(.eyebrow) {
  color: var(--muted-dark);
  line-height: 1.55;
}

.configuration-edit-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.95rem;
  width: 100%;
}

.configuration-edit-card {
  display: grid;
  gap: 0.55rem;
  min-height: 176px;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.96));
  box-shadow: 0 14px 28px rgba(13, 29, 53, 0.06);
}

.configuration-edit-card span {
  color: #0b5bc0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.configuration-edit-card strong {
  color: var(--ink-dark);
  font-size: 1.02rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.configuration-edit-card p {
  margin: 0;
  color: var(--muted-dark);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.configuration-edit-card ul {
  display: grid;
  gap: 0.35rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted-dark);
  font-size: 0.9rem;
}

.configuration-edit-card li {
  padding: 0.45rem 0.55rem;
  border-radius: 12px;
  background: rgba(11, 124, 255, 0.05);
  overflow-wrap: anywhere;
}

.configuration-edit-logo {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 0.75rem;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid rgba(19, 33, 53, 0.08);
}

.configuration-edit-logo img {
  max-width: 100%;
  max-height: 74px;
  object-fit: contain;
}

.configuration-overview {
  display: grid;
  gap: 1.2rem;
  padding: 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.1), transparent 24%),
    radial-gradient(circle at bottom left, rgba(255, 191, 63, 0.12), transparent 20%),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.configuration-brand-panel {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
}

.configuration-logo-card {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 1rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(11, 124, 255, 0.12), transparent 38%),
    linear-gradient(180deg, #ffffff, #f2f8ff);
  border: 1px solid rgba(11, 124, 255, 0.12);
  box-shadow: 0 18px 40px rgba(13, 29, 53, 0.08);
}

.configuration-logo-card img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
}

.configuration-brand-copy {
  display: grid;
  gap: 0.55rem;
}

.configuration-brand-copy h2 {
  margin: 0;
  color: var(--ink-dark);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.configuration-brand-copy strong {
  color: #0b5bc0;
  font-size: 1rem;
}

.configuration-brand-copy p {
  margin: 0;
  color: var(--muted-dark);
  max-width: 72ch;
}

.configuration-brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.configuration-tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(9, 27, 49, 0.92);
  color: #f7fbff;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(9, 27, 49, 0.16);
}

.configuration-preview-grid,
.configuration-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.configuration-preview-card,
.configuration-detail-card {
  padding: 1.15rem 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background:
    radial-gradient(circle at bottom right, rgba(255, 191, 63, 0.08), transparent 20%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 18px 34px rgba(13, 29, 53, 0.08);
}

.configuration-preview-kicker {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: #0b5bc0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.configuration-preview-card strong {
  display: block;
  color: var(--ink-dark);
  font-size: 1.05rem;
}

.configuration-preview-card p {
  margin: 0.3rem 0 0;
  color: var(--muted-dark);
}

.configuration-preview-card-success {
  background:
    radial-gradient(circle at bottom right, rgba(43, 138, 62, 0.14), transparent 22%),
    linear-gradient(180deg, #ffffff, #f6fff8);
  border-color: rgba(43, 138, 62, 0.14);
}

.configuration-preview-card-warning {
  background:
    radial-gradient(circle at bottom right, rgba(245, 159, 0, 0.14), transparent 22%),
    linear-gradient(180deg, #ffffff, #fffaf1);
  border-color: rgba(245, 159, 0, 0.16);
}

.configuration-preview-card-danger {
  background:
    radial-gradient(circle at bottom right, rgba(224, 49, 49, 0.14), transparent 22%),
    linear-gradient(180deg, #ffffff, #fff6f6);
  border-color: rgba(224, 49, 49, 0.16);
}

.configuration-info-list {
  display: grid;
  gap: 0.75rem;
}

.configuration-info-list div {
  display: grid;
  gap: 0.18rem;
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.86);
  border: 1px solid rgba(19, 33, 53, 0.06);
}

.configuration-info-list strong {
  color: #0b5bc0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.configuration-info-list span {
  color: var(--ink-dark);
  font-weight: 600;
}

.configuration-about-card {
  grid-column: 1 / -1;
}

.configuration-about-copy {
  margin: 0;
  color: var(--muted-dark);
  line-height: 1.8;
}

.configuration-checklist {
  margin: 0.65rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted-dark);
  display: grid;
  gap: 0.35rem;
}

.return-detail-doc-actions {
  margin-top: 0.9rem;
}

.configuration-modal-panel {
  width: min(1120px, calc(100vw - 2rem));
}

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

.configuration-logo-preview {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 1rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(11, 124, 255, 0.14), transparent 35%),
    linear-gradient(180deg, #ffffff, #f2f8ff);
  border: 1px solid rgba(11, 124, 255, 0.12);
}

.configuration-logo-preview img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
}

.configuration-logo-copy {
  display: grid;
  gap: 0.55rem;
}

.configuration-logo-copy strong {
  color: var(--ink-dark);
}

.configuration-logo-copy p,
.configuration-logo-copy small {
  margin: 0;
  color: var(--muted-dark);
}

.certificate-upload-field {
  gap: 0.55rem;
}

.certificate-upload-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.8rem 1rem;
  align-items: center;
  min-height: 112px;
  padding: 1rem;
  border-radius: 20px;
  border: 1px dashed rgba(11, 124, 255, 0.35);
  background:
    radial-gradient(circle at top left, rgba(11, 124, 255, 0.12), transparent 38%),
    linear-gradient(135deg, #ffffff, #f3f9ff);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.certificate-upload-card:hover {
  border-color: rgba(11, 124, 255, 0.75);
  box-shadow: 0 18px 42px rgba(17, 55, 96, 0.12);
  transform: translateY(-1px);
}

.certificate-upload-card input[type="file"] {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.certificate-upload-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #0b7cff, #10233c);
  box-shadow: 0 16px 28px rgba(11, 124, 255, 0.22);
}

.certificate-upload-card strong,
.certificate-upload-card small {
  grid-column: 2;
}

.certificate-upload-card strong {
  color: var(--ink-dark);
  overflow-wrap: anywhere;
}

.certificate-upload-card small {
  color: var(--muted-dark);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: 1.25rem;
}

.profile-summary-card,
.profile-edit-card {
  display: grid;
  gap: 1rem;
}

.profile-summary-card {
  align-content: start;
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.95));
}

.profile-summary-head {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.profile-summary-avatar {
  width: 96px;
  height: 96px;
  border-radius: 28px;
}

.profile-summary-copy h2 {
  margin: 0;
  color: var(--ink-dark);
}

.profile-summary-copy span {
  color: var(--muted-dark);
  font-weight: 700;
}

.profile-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.profile-summary-grid article {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem;
  border-radius: 20px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.profile-summary-grid span {
  color: var(--muted-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.profile-summary-grid strong {
  color: var(--ink-dark);
}

.profile-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.profile-image-grid {
  grid-template-columns: minmax(220px, 248px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.profile-preview-card {
  min-height: 248px;
}

.profile-image-grid .image-picker-copy {
  gap: 0.8rem;
  padding-top: 0.2rem;
  min-width: 0;
}

.profile-image-grid .image-picker-copy p,
.profile-image-grid .image-picker-copy small {
  max-width: 34ch;
  line-height: 1.55;
}

.admin-content {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 1.3rem 1.05rem 2rem;
}

.admin-heading p,
body.theme-admin .metric-card span,
body.theme-admin .data-table th {
  color: var(--muted-dark);
}

.metric-grid {
  margin: 1.5rem 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.metric-card strong {
  color: inherit;
}

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

.dashboard-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding: 1.2rem;
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.12), transparent 24%),
    radial-gradient(circle at bottom left, rgba(255, 191, 63, 0.12), transparent 22%),
    linear-gradient(135deg, #07182c, #0f2a46 58%, #091322 100%);
  color: #fff;
}

body.theme-admin .dashboard-hero.panel-card {
  border: 1px solid rgba(29, 215, 255, 0.14);
  box-shadow: 0 28px 70px rgba(6, 16, 29, 0.28);
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.18), transparent 24%),
    radial-gradient(circle at 20% 80%, rgba(255, 191, 63, 0.16), transparent 24%),
    linear-gradient(135deg, #061426, #0b2340 56%, #08131f 100%);
  color: #fff;
}

.dashboard-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.03), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.08), transparent 12%);
  pointer-events: none;
}

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

.dashboard-hero-copy {
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.dashboard-hero-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.dashboard-hero-eyebrow {
  color: #9ee8ff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.dashboard-hero-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(238, 247, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.dashboard-hero-title {
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 4vw, 4.3rem);
  line-height: 1.02;
  text-shadow: 0 14px 34px rgba(2, 8, 18, 0.3);
}

.dashboard-hero-text {
  max-width: 60ch;
  margin: 0;
  color: rgba(235, 245, 255, 0.9);
  font-size: 1.02rem;
  line-height: 1.6;
}

.dashboard-hero-aside {
  display: grid;
  gap: 1rem;
}

.dashboard-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.dashboard-hero-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #eef7ff;
  font-size: 0.84rem;
  font-weight: 700;
}

.dashboard-hero-pulse,
.dashboard-mini-metrics article {
  padding: 1rem 1.1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dashboard-hero-pulse span,
.dashboard-mini-metrics span {
  display: block;
  color: rgba(223, 239, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dashboard-hero-pulse strong,
.dashboard-mini-metrics strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.8rem;
}

.dashboard-hero-pulse small,
.dashboard-mini-metrics small {
  color: rgba(223, 239, 255, 0.72);
}

.dashboard-mini-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-hero-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.dashboard-hero-summary article {
  padding: 0.95rem 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.dashboard-hero-summary span {
  display: block;
  color: rgba(223, 239, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dashboard-hero-summary strong {
  display: block;
  margin-top: 0.38rem;
  color: #fff;
  font-size: 1.3rem;
}

.dashboard-hero-summary small {
  color: rgba(223, 239, 255, 0.72);
}

.dashboard-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.15rem;
}

body.theme-admin .dashboard-hero .button-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

body.theme-admin .dashboard-hero .button-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.dashboard-metric-grid,
.dashboard-grid {
  display: grid;
  gap: 1rem;
}

.dashboard-metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.2rem;
}

.dashboard-metric-card {
  padding: 0.95rem;
  border-radius: 20px;
  border: 1px solid rgba(17, 38, 57, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94));
  box-shadow: 0 16px 40px rgba(38, 64, 89, 0.08);
}

.dashboard-metric-card.is-accent {
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.08), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(241, 248, 255, 0.96));
}

.dashboard-metric-card span {
  display: block;
  color: var(--muted-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dashboard-metric-card strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--ink-dark);
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

.dashboard-metric-card small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted-dark);
}

.dashboard-grid-main {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.75fr);
  margin-bottom: 1.2rem;
}

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

.dashboard-panel-head {
  align-items: start;
}

.dashboard-panel-head span {
  color: var(--muted-dark);
}

.dashboard-panel-meta {
  display: grid;
  gap: 0.22rem;
  justify-items: end;
}

.dashboard-panel-meta strong {
  color: var(--ink-dark);
  font-size: 1.45rem;
}

.dashboard-panel-meta small {
  color: var(--muted-dark);
}

.dashboard-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: end;
  min-height: 300px;
}

.dashboard-bar-card {
  display: grid;
  gap: 0.45rem;
  height: 100%;
}

.dashboard-bar-money {
  color: var(--muted-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.dashboard-bar-track {
  position: relative;
  display: flex;
  align-items: end;
  height: 210px;
  padding: 0.4rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(19, 33, 53, 0.04), rgba(11, 124, 255, 0.08));
}

.dashboard-bar-fill {
  width: 100%;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(29, 215, 255, 0.92), rgba(11, 124, 255, 0.86));
  box-shadow: 0 14px 28px rgba(11, 124, 255, 0.18);
}

.dashboard-bar-card strong {
  color: var(--ink-dark);
  font-size: 0.92rem;
}

.dashboard-bar-card small {
  color: var(--muted-dark);
  font-size: 0.82rem;
}

.dashboard-quick-actions,
.dashboard-alert-list {
  display: grid;
  gap: 0.85rem;
}

.dashboard-operations-card {
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 249, 255, 0.96));
}

.dashboard-operations-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.dashboard-operation-card {
  display: grid;
  gap: 0.3rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(17, 38, 57, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

.dashboard-operation-card span {
  color: var(--muted-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dashboard-operation-card strong {
  color: var(--ink-dark);
  font-size: 1.5rem;
}

.dashboard-operation-card small {
  color: var(--muted-dark);
}

.dashboard-quick-actions {
  margin-bottom: 1rem;
}

.dashboard-quick-link,
.dashboard-alert-item {
  display: grid;
  gap: 0.28rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(17, 38, 57, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.95));
}

.dashboard-quick-link {
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.dashboard-quick-link:hover {
  transform: translateY(-1px);
  border-color: rgba(11, 124, 255, 0.22);
  background: rgba(11, 124, 255, 0.06);
}

.dashboard-quick-link strong,
.dashboard-alert-item strong {
  color: var(--ink-dark);
}

.dashboard-quick-link span,
.dashboard-alert-item small {
  color: var(--muted-dark);
}

.dashboard-alert-kicker {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dashboard-stage {
  display: grid;
  gap: 0.95rem;
}

.dashboard-stage .panel-card {
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(38, 64, 89, 0.08);
}

.dashboard-command {
  min-height: 178px;
  align-content: center;
  justify-items: center;
  gap: 0.7rem;
  padding: 1.15rem 1.25rem 1.05rem;
  border-radius: 18px;
}

body.theme-admin .dashboard-command.panel-card,
body.theme-admin .dashboard-command.product-admin-head {
  background:
    linear-gradient(112deg, #081a2d 0%, #123455 45%, #174563 62%, rgba(246, 250, 255, 0.93) 100%),
    radial-gradient(circle at 16% 16%, rgba(29, 215, 255, 0.18), transparent 22%),
    radial-gradient(circle at 78% 16%, rgba(255, 255, 255, 0.58), transparent 17%),
    radial-gradient(circle at 92% 82%, rgba(255, 191, 63, 0.22), transparent 18%);
  border-color: rgba(73, 157, 255, 0.16);
  box-shadow:
    0 18px 42px rgba(4, 12, 24, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.dashboard-command .dashboard-command-copy {
  max-width: 78ch;
  gap: 0.34rem;
}

.dashboard-command .eyebrow {
  margin-bottom: 0.1rem;
}

.dashboard-command h1 {
  font-size: clamp(1.52rem, 2.35vw, 2.05rem);
  letter-spacing: 0;
}

.dashboard-command p:not(.eyebrow) {
  max-width: 68ch;
  margin: 0;
  color: rgba(232, 241, 250, 0.9);
  font-size: 0.94rem;
  line-height: 1.5;
}

.dashboard-command-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.dashboard-command-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(215, 241, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(238, 247, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 800;
}

.dashboard-command-actions {
  margin-top: 0.08rem;
}

.dashboard-command-actions .button {
  min-width: 126px;
  min-height: 38px;
  border-radius: 12px;
}

body.theme-admin .dashboard-command .button-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #173653;
  border-color: rgba(12, 48, 82, 0.12);
}

body.theme-admin .dashboard-command .button-secondary:hover {
  background: #ffffff;
  color: #0b7cff;
}

.dashboard-snapshot,
.dashboard-kpi-grid,
.dashboard-insight-grid,
.dashboard-list-grid {
  display: grid;
  gap: 0.85rem;
}

.dashboard-snapshot {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-snapshot article {
  display: grid;
  gap: 0.24rem;
  min-height: 86px;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(17, 38, 57, 0.08);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(38, 64, 89, 0.06);
}

.dashboard-snapshot span,
.dashboard-kpi span,
.dashboard-system-list span {
  color: var(--muted-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dashboard-snapshot strong {
  color: var(--ink-dark);
  font-size: 1.18rem;
  line-height: 1.1;
}

.dashboard-snapshot small,
.dashboard-kpi small {
  color: var(--muted-dark);
}

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

.dashboard-kpi {
  position: relative;
  display: grid;
  gap: 0.36rem;
  min-height: 118px;
  padding: 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(17, 38, 57, 0.08);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(38, 64, 89, 0.06);
}

.dashboard-kpi::before {
  content: "";
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: #0b7cff;
}

.dashboard-kpi[data-tone="green"]::before {
  background: #20a779;
}

.dashboard-kpi[data-tone="amber"]::before {
  background: #d98a0b;
}

.dashboard-kpi[data-tone="violet"]::before {
  background: #7457d8;
}

.dashboard-kpi[data-tone="slate"]::before {
  background: #53677c;
}

.dashboard-kpi[data-tone="red"]::before {
  background: #d94f4f;
}

.dashboard-kpi strong {
  min-width: 0;
  color: var(--ink-dark);
  font-size: 1.22rem;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.dashboard-insight-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.75fr);
  align-items: stretch;
}

.dashboard-chart-panel,
.dashboard-operations-panel,
.dashboard-list-panel {
  display: grid;
  gap: 0.95rem;
}

.dashboard-chart-panel {
  background:
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.dashboard-commerce-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr) minmax(150px, 0.42fr);
  gap: 0.8rem;
  align-items: stretch;
  padding: 0.8rem;
  border: 1px solid rgba(20, 53, 86, 0.08);
  border-radius: 16px;
  background:
    linear-gradient(135deg, #f7fbff 0%, #edf6ff 54%, #fff8e8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 28px rgba(22, 54, 84, 0.07);
}

.dashboard-commerce-title {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
}

.dashboard-commerce-mark {
  display: inline-flex;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, #0b7cff, #1dd7ff 58%, #56e0b2);
  box-shadow: 0 14px 26px rgba(11, 124, 255, 0.2);
}

.dashboard-commerce-title h2 {
  margin: 0;
  color: #132135;
  font-size: 1.18rem;
  line-height: 1.12;
}

.dashboard-commerce-title small {
  display: block;
  margin-top: 0.22rem;
  color: #607487;
  line-height: 1.34;
}

.dashboard-commerce-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.48rem;
}

.dashboard-commerce-summary article,
.dashboard-commerce-meter {
  border: 1px solid rgba(20, 53, 86, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.78);
}

.dashboard-commerce-summary article {
  display: grid;
  gap: 0.16rem;
  align-content: center;
  min-height: 70px;
  padding: 0.65rem 0.7rem;
}

.dashboard-commerce-summary span,
.dashboard-commerce-meter span {
  color: #607487;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dashboard-commerce-summary strong {
  color: #132135;
  font-size: 0.92rem;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.dashboard-commerce-meter {
  display: grid;
  gap: 0.5rem;
  align-content: center;
  min-height: 70px;
  padding: 0.65rem 0.72rem;
}

.dashboard-commerce-meter > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.dashboard-commerce-meter strong {
  color: #0b7cff;
  font-size: 1.12rem;
  line-height: 1;
}

.dashboard-commerce-meter i {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(20, 53, 86, 0.09);
}

.dashboard-commerce-meter i span {
  display: block;
  width: var(--collection-rate);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0b7cff, #1dd7ff 52%, #56e0b2);
  box-shadow: 0 6px 14px rgba(11, 124, 255, 0.18);
}

.dashboard-chart-v2 {
  position: relative;
  display: grid;
  gap: 0.8rem;
  overflow: visible;
  padding: 0.85rem;
  border: 1px solid rgba(73, 157, 255, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(135deg, #eef6ff 0%, #f9fcff 42%, #dfeaf6 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 18px 40px rgba(22, 54, 84, 0.12);
}

.dashboard-chart-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 53, 86, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(20, 53, 86, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.7;
  pointer-events: none;
}

.dashboard-chart-v2 > * {
  position: relative;
  z-index: 1;
}

.dashboard-chart-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.dashboard-chart-stats article {
  display: grid;
  gap: 0.24rem;
  min-height: 74px;
  padding: 0.7rem 0.78rem;
  border: 1px solid rgba(20, 53, 86, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 22px rgba(22, 54, 84, 0.06);
}

.dashboard-chart-stats span {
  color: #607487;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dashboard-chart-stats strong {
  color: #132135;
  font-size: 1rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.dashboard-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: #36597b;
  font-size: 0.82rem;
  font-weight: 700;
}

.dashboard-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.dashboard-chart-legend i {
  display: inline-block;
}

.legend-bar {
  width: 18px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0b7cff, #1dd7ff);
}

.legend-collected {
  width: 22px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #20a779, #56e0b2);
}

.legend-gap {
  width: 18px;
  height: 8px;
  border-radius: 999px;
  background: repeating-linear-gradient(
    45deg,
    rgba(217, 138, 11, 0.95) 0,
    rgba(217, 138, 11, 0.95) 3px,
    rgba(255, 191, 63, 0.35) 3px,
    rgba(255, 191, 63, 0.35) 6px
  );
}

.dashboard-chart-plot {
  position: relative;
  min-height: 278px;
  padding: 0.2rem 0.15rem 0;
}

.dashboard-chart-gridlines {
  position: absolute;
  inset: 1.65rem 0.15rem 4.75rem;
  display: grid;
  align-content: space-between;
  pointer-events: none;
}

.dashboard-chart-gridlines span {
  display: block;
  height: 1px;
  background: rgba(20, 53, 86, 0.1);
}

.dashboard-chart-line {
  position: absolute;
  inset: 1.25rem 0.18rem 4.45rem;
  z-index: 2;
  width: 100%;
  height: auto;
  overflow: visible;
  pointer-events: none;
}

.dashboard-chart-line polyline {
  fill: none;
  stroke: #ffbf3f;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 6px 10px rgba(255, 191, 63, 0.22));
}

.dashboard-chart-line circle {
  fill: #07182b;
  stroke: #ffbf3f;
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}

.dashboard-chart-bars {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.52rem;
  min-height: 250px;
}

.dashboard-day {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.42rem;
  min-width: 0;
  border-radius: 12px;
  outline: 0;
}

.dashboard-day:focus-visible {
  box-shadow: 0 0 0 3px rgba(11, 124, 255, 0.22);
}

.dashboard-day-track {
  position: relative;
  display: flex;
  align-items: end;
  justify-self: center;
  width: min(58px, 100%);
  min-height: 172px;
  padding: 0.38rem 0.36rem;
  overflow: hidden;
  border: 1px solid rgba(20, 53, 86, 0.1);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 244, 252, 0.76));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 24px rgba(22, 54, 84, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-day:hover .dashboard-day-track,
.dashboard-day:focus .dashboard-day-track,
.dashboard-day:focus-within .dashboard-day-track {
  transform: translateY(-2px);
  border-color: rgba(11, 124, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 16px 30px rgba(22, 54, 84, 0.14);
}

.dashboard-day-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 0.22rem;
  width: 100%;
  height: 100%;
}

.dashboard-day-fill {
  display: block;
  width: 100%;
  min-height: 0;
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(22, 54, 84, 0.12);
}

.dashboard-day-fill-billed {
  height: var(--billed-height);
  background: linear-gradient(180deg, #1dd7ff, #0b7cff);
}

.dashboard-day-fill-collected {
  height: var(--collected-height);
  background: linear-gradient(180deg, #56e0b2, #20a779);
}

.dashboard-day.is-peak .dashboard-day-track {
  border-color: rgba(217, 138, 11, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 191, 63, 0.16), rgba(255, 255, 255, 0.76));
}

.dashboard-day-peak {
  position: absolute;
  top: 0.44rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 0.14rem 0.38rem;
  border-radius: 999px;
  background: rgba(255, 191, 63, 0.92);
  color: #4a2f00;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dashboard-day-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.58rem);
  z-index: 8;
  display: grid;
  gap: 0.22rem;
  width: max-content;
  min-width: 158px;
  max-width: 220px;
  padding: 0.68rem 0.74rem;
  border: 1px solid rgba(20, 53, 86, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px rgba(7, 24, 43, 0.18);
  color: #132135;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.dashboard-day-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  border-right: 1px solid rgba(20, 53, 86, 0.12);
  border-bottom: 1px solid rgba(20, 53, 86, 0.12);
  background: rgba(255, 255, 255, 0.96);
  transform: translateX(-50%) rotate(45deg);
}

.dashboard-day:hover .dashboard-day-tooltip,
.dashboard-day:focus .dashboard-day-tooltip,
.dashboard-day:focus-within .dashboard-day-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.dashboard-day-tooltip strong,
.dashboard-day-tooltip span,
.dashboard-day-tooltip small {
  color: inherit;
  line-height: 1.22;
}

.dashboard-day-tooltip strong {
  font-size: 0.84rem;
}

.dashboard-day-tooltip span {
  font-size: 0.78rem;
  font-weight: 800;
}

.dashboard-day-tooltip small {
  color: #607487;
  font-size: 0.74rem;
  font-weight: 700;
}

.dashboard-day-caption {
  display: grid;
  gap: 0.08rem;
  justify-items: center;
  text-align: center;
}

.dashboard-day-caption strong {
  color: #132135;
  font-size: 0.85rem;
  line-height: 1.1;
}

.dashboard-day-caption small {
  color: #607487;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
}

.dashboard-system-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(17, 38, 57, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.dashboard-system-list article {
  display: grid;
  gap: 0.18rem;
  padding: 0.78rem 0.85rem;
  background: #fff;
  border-right: 1px solid rgba(17, 38, 57, 0.08);
  border-bottom: 1px solid rgba(17, 38, 57, 0.08);
}

.dashboard-system-list article:nth-child(2n) {
  border-right: 0;
}

.dashboard-system-list article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.dashboard-system-list strong {
  color: var(--ink-dark);
  font-size: 1.25rem;
}

.dashboard-work-panel {
  position: relative;
  overflow: hidden;
  align-content: start;
  background:
    linear-gradient(155deg, #ffffff 0%, #f3f8fd 58%, #eef6ff 100%);
}

.dashboard-work-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 124, 255, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(11, 124, 255, 0.055) 0 1px, transparent 1px 100%);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 72%);
  pointer-events: none;
}

.dashboard-work-panel > * {
  position: relative;
  z-index: 1;
}

.dashboard-work-head {
  display: grid;
  gap: 0.75rem;
  align-items: center;
  padding: 0.82rem;
  border: 1px solid rgba(20, 53, 86, 0.08);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(19, 33, 53, 0.96), rgba(23, 69, 99, 0.94));
  box-shadow: 0 16px 32px rgba(7, 24, 43, 0.13);
}

.dashboard-work-head span,
.dashboard-work-actions-head span {
  display: block;
  color: rgba(215, 241, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-work-head h2 {
  margin: 0.12rem 0 0;
  color: #ffffff;
  font-size: 1.18rem;
  line-height: 1.1;
}

.dashboard-work-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.dashboard-work-metrics article {
  display: grid;
  gap: 0.38rem;
  min-height: 128px;
  padding: 0.75rem;
  border: 1px solid rgba(20, 53, 86, 0.08);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 24px rgba(22, 54, 84, 0.06);
}

.dashboard-work-metrics article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.dashboard-work-metrics article > div span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(11, 124, 255, 0.1);
  color: #0b7cff;
  font-size: 0.72rem;
  font-weight: 900;
}

.dashboard-work-metrics article[data-tone="green"] > div span {
  background: rgba(32, 167, 121, 0.12);
  color: #138763;
}

.dashboard-work-metrics article[data-tone="amber"] > div span {
  background: rgba(217, 138, 11, 0.14);
  color: #a76600;
}

.dashboard-work-metrics article[data-tone="slate"] > div span {
  background: rgba(83, 103, 124, 0.13);
  color: #53677c;
}

.dashboard-work-metrics small,
.dashboard-work-metrics p {
  color: #607487;
  line-height: 1.28;
}

.dashboard-work-metrics small {
  font-size: 0.72rem;
  font-weight: 800;
}

.dashboard-work-metrics strong {
  color: #132135;
  font-size: 1.55rem;
  line-height: 1;
}

.dashboard-work-metrics p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
}

.dashboard-work-metrics i {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(20, 53, 86, 0.08);
}

.dashboard-work-metrics i span {
  display: block;
  width: var(--metric-level);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0b7cff, #1dd7ff);
}

.dashboard-work-metrics article[data-tone="green"] i span {
  background: linear-gradient(90deg, #20a779, #56e0b2);
}

.dashboard-work-metrics article[data-tone="amber"] i span {
  background: linear-gradient(90deg, #d98a0b, #ffbf3f);
}

.dashboard-work-metrics article[data-tone="slate"] i span {
  background: linear-gradient(90deg, #53677c, #91a3b5);
}

.dashboard-work-actions {
  display: grid;
  gap: 0.5rem;
  padding: 0.68rem;
  border: 1px solid rgba(20, 53, 86, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
}

.dashboard-work-actions-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0 0.1rem 0.18rem;
}

.dashboard-work-actions-head span {
  color: #36597b;
}

.dashboard-work-actions-head small {
  color: #607487;
  font-size: 0.76rem;
  font-weight: 800;
}

.dashboard-work-actions a {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.62rem;
  row-gap: 0.08rem;
  align-items: center;
  min-height: 56px;
  padding: 0.62rem 0.66rem;
  border: 1px solid transparent;
  border-radius: 13px;
  background: rgba(246, 250, 255, 0.74);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-work-actions a:hover {
  transform: translateY(-1px);
  border-color: rgba(11, 124, 255, 0.18);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(22, 54, 84, 0.08);
}

.dashboard-work-actions a > span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #132135;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
}

.dashboard-work-actions strong {
  color: #132135;
  font-size: 0.9rem;
  line-height: 1.12;
}

.dashboard-work-actions small {
  color: #607487;
  font-size: 0.78rem;
  line-height: 1.2;
}

.dashboard-action-list,
.dashboard-event-list,
.dashboard-stock-list {
  display: grid;
  gap: 0.62rem;
}

.dashboard-stock-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.62rem;
  margin-bottom: 0.82rem;
}

.dashboard-stock-summary article {
  display: grid;
  gap: 0.18rem;
  padding: 0.78rem;
  border: 1px solid rgba(17, 38, 57, 0.08);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(255, 255, 255, 0.92));
}

.dashboard-stock-summary article.is-empty {
  border-color: rgba(217, 79, 79, 0.24);
  background: linear-gradient(180deg, rgba(255, 244, 244, 0.95), rgba(255, 255, 255, 0.94));
}

.dashboard-stock-summary article.is-critical {
  border-color: rgba(217, 138, 11, 0.26);
  background: linear-gradient(180deg, rgba(255, 248, 235, 0.95), rgba(255, 255, 255, 0.94));
}

.dashboard-stock-summary span {
  color: var(--muted-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.dashboard-stock-summary strong {
  color: var(--ink-dark);
  font-size: 1.35rem;
  line-height: 1;
}

.dashboard-action-list a {
  display: grid;
  gap: 0.18rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid rgba(17, 38, 57, 0.08);
  transition: color 0.18s ease, transform 0.18s ease;
}

.dashboard-action-list a:hover {
  color: #0b7cff;
  transform: translateX(2px);
}

.dashboard-action-list a:last-child {
  border-bottom: 0;
}

.dashboard-action-list strong {
  color: var(--ink-dark);
  font-size: 0.96rem;
}

.dashboard-action-list span {
  color: var(--muted-dark);
  font-size: 0.84rem;
}

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

.dashboard-event-row,
.dashboard-stock-row {
  display: grid;
  gap: 0.7rem;
  align-items: center;
  padding: 0.72rem 0;
  border-bottom: 1px solid rgba(17, 38, 57, 0.08);
}

.dashboard-event-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.dashboard-stock-row {
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.34fr) auto;
}

.dashboard-event-row:last-child,
.dashboard-stock-row:last-child {
  border-bottom: 0;
}

.dashboard-event-row > div,
.dashboard-stock-row > div:first-child {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.dashboard-stock-priority {
  position: relative;
  padding: 0.86rem;
  border: 1px solid rgba(17, 38, 57, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 38, 57, 0.05);
}

.dashboard-stock-priority::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 8px 0 0 8px;
  background: #d98a0b;
}

.dashboard-stock-priority.is-empty::before {
  background: #d94f4f;
}

.dashboard-stock-titleline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  align-items: center;
}

.dashboard-stock-titleline .code-chip {
  padding: 0.34rem 0.62rem;
  border-radius: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.dashboard-stock-priority-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.58rem;
  border-radius: 999px;
  background: rgba(217, 138, 11, 0.13);
  color: #8a5a00;
  font-size: 0.72rem;
  font-weight: 900;
}

.dashboard-stock-priority.is-empty .dashboard-stock-priority-pill {
  background: rgba(217, 79, 79, 0.13);
  color: #a52a2a;
}

.dashboard-stock-warehouse {
  color: #36597b;
  font-weight: 700;
}

.dashboard-event-row strong,
.dashboard-stock-row strong {
  color: var(--ink-dark);
  line-height: 1.18;
}

.dashboard-event-row span:not(.status-pill),
.dashboard-event-row small,
.dashboard-stock-row small {
  color: var(--muted-dark);
  line-height: 1.32;
}

.dashboard-event-money {
  justify-items: end;
  text-align: right;
}

.dashboard-stock-meter {
  display: grid;
  gap: 0.34rem;
  align-items: center;
}

.dashboard-stock-meter span {
  color: #36597b;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
}

.dashboard-stock-meter div {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 38, 57, 0.08);
}

.dashboard-stock-meter i {
  display: block;
  width: var(--stock-level);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d94f4f, #d98a0b);
}

.dashboard-stock-meter small {
  color: var(--muted-dark);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: right;
}

.dashboard-stock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  justify-content: flex-end;
  align-items: center;
}

.dashboard-stock-actions .button {
  min-width: 84px;
}

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

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

@media (max-width: 1100px) {
  .dashboard-command,
  .dashboard-insight-grid,
  .dashboard-list-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-command-actions {
    justify-content: center;
  }

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

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

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

@media (max-width: 720px) {
  .dashboard-command {
    padding: 0.95rem;
  }

  .dashboard-command h1 {
    font-size: 1.45rem;
  }

  .dashboard-snapshot,
  .dashboard-kpi-grid,
  .dashboard-chart-stats,
  .dashboard-commerce-summary,
  .dashboard-stock-summary,
  .dashboard-work-metrics,
  .dashboard-system-list,
  .dashboard-event-row,
  .dashboard-stock-row {
    grid-template-columns: 1fr;
  }

  .dashboard-commerce-title {
    align-items: flex-start;
  }

  .dashboard-chart-plot {
    min-height: 230px;
    overflow-x: auto;
  }

  .dashboard-chart-bars {
    min-width: 560px;
    min-height: 230px;
  }

  .dashboard-chart-line,
  .dashboard-chart-gridlines {
    min-width: 560px;
  }

  .dashboard-day-track {
    min-height: 135px;
  }

  .dashboard-event-money,
  .dashboard-stock-meter span,
  .dashboard-stock-meter small {
    justify-items: start;
    text-align: left;
  }

  .dashboard-stock-meter {
    max-width: none;
  }

  .dashboard-stock-actions {
    justify-content: flex-start;
  }

  .dashboard-system-list article,
  .dashboard-system-list article:nth-child(2n),
  .dashboard-system-list article:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(17, 38, 57, 0.08);
  }

  .dashboard-system-list article:last-child {
    border-bottom: 0;
  }
}

.panel-card {
  padding: 0.98rem;
}

.table-wrap {
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(11, 124, 255, 0.32) rgba(19, 33, 53, 0.05);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.68rem 0.58rem;
  border-bottom: 1px solid rgba(19, 33, 53, 0.08);
  vertical-align: top;
}

.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font: inherit;
}

body.theme-admin .menu-toggle {
  background: #fff;
  border-color: rgba(19, 33, 53, 0.08);
}

.public-nav-mobile-head,
.public-nav-backdrop,
.public-nav-close {
  display: none;
}

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

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

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

  .three-up,
  .service-spotlights,
  .timeline-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  body.theme-public .public-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .public-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 124;
    display: block;
    border: 0;
    background: rgba(8, 17, 29, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }

  body.mobile-menu-open .public-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .public-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(84vw, 340px);
    max-width: 100vw;
    padding: 1rem 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(19, 33, 53, 0.08);
    border-radius: 28px 0 0 28px;
    box-shadow: 0 28px 80px rgba(15, 28, 48, 0.18);
    z-index: 125;
    transform: translateX(calc(100% + 1.1rem));
    transition: transform 0.24s ease;
    overflow-y: auto;
  }

  .public-nav.is-open {
    transform: translateX(0);
  }

  .public-nav-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding-top: 0.25rem;
    padding-bottom: 0.85rem;
    margin-bottom: 0.55rem;
    border-bottom: 1px solid rgba(19, 33, 53, 0.08);
  }

  .public-nav-mobile-head strong {
    color: #10233a;
    font-size: 1rem;
    line-height: 1.2;
  }

  .public-nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(19, 33, 53, 0.1);
    background: linear-gradient(180deg, #ffffff, #f4f8ff);
    color: #36597b;
    box-shadow: 0 10px 24px rgba(19, 33, 53, 0.06);
  }

  .public-nav-close svg {
    width: 18px;
    height: 18px;
  }

  .public-nav a {
    min-height: 46px;
    padding-left: 0.95rem;
    padding-right: 0.95rem;
    border-radius: 16px;
  }

  .home-hero-grid,
  .home-showcase-grid,
  .hero-grid-brand,
  .split-grid,
  .admin-focus-grid,
  .admin-split,
  .admin-grid,
  .dashboard-grid,
  .card-grid,
  .three-up,
  .timeline-grid,
  .metric-grid,
  .trust-grid,
  .service-spotlights,
  .hero-stats,
  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .admin-content {
    padding: 1.25rem 1rem 2rem;
  }

  .product-admin-head-title h1 {
    font-size: 1.75rem;
  }

  .product-admin-head-actions .button {
    min-width: 0;
  }

  .sale-create-stage {
    gap: 0.9rem;
  }

  .sale-quick-panel,
  .sale-quick-cart-panel {
    gap: 0.85rem;
  }

  .sale-quick-search-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .sale-quick-search-button {
    min-width: 118px;
  }

  .admin-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 39;
    display: block;
    border: 0;
    background: rgba(5, 17, 29, 0.48);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
  }

  .admin-sidebar-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  body.admin-sidebar-open {
    overflow: hidden;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  body.theme-admin.has-sidebar-fab .admin-sidebar-fab {
    display: none !important;
  }

  body.theme-admin.has-sidebar-fab .admin-shell,
  body.theme-admin.has-sidebar-fab.admin-sidebar-collapsed .admin-shell {
    grid-template-columns: 1fr;
  }

  body.theme-admin.has-sidebar-fab.admin-sidebar-collapsed .admin-sidebar {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-100%);
    box-shadow:
      inset -1px 0 0 rgba(255, 255, 255, 0.03),
      16px 0 40px rgba(3, 11, 22, 0.18);
  }

  .catalog-manager-head {
    grid-template-columns: 1fr;
  }

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

  .warehouse-form-note-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-hero,
  .dashboard-metric-grid,
  .dashboard-mini-metrics,
  .dashboard-chart,
  .dashboard-hero-summary,
  .dashboard-operations-board {
    grid-template-columns: 1fr;
  }

  .dashboard-hero-badge-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-bar-track {
    height: 120px;
  }

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

  .admin-topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .catalog-actions-compact {
    justify-content: flex-start;
  }

  .profile-layout,
  .profile-summary-grid {
    grid-template-columns: 1fr;
  }

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

  .image-upload-grid {
    grid-template-columns: 1fr;
  }

  .catalog-hero,
  .modal-brand-banner {
    grid-template-columns: 1fr;
  }

  .warehouse-modal-tags {
    justify-content: flex-start;
  }

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

  .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 280px;
    max-width: calc(100vw - 1rem);
    height: 100dvh;
    padding-bottom: 1.25rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 40;
  }

  .admin-user-dropdown {
    right: auto;
    left: 0;
  }

  .admin-sidebar.is-open {
    transform: translateX(0);
  }

  .admin-nav-link-main,
  .admin-nav-summary {
    padding: 0.82rem 0.88rem;
  }

  .admin-nav-children {
    padding: 0 0.45rem 0.55rem 3.35rem;
  }

  .section-heading,
  .panel-head,
  .admin-heading,
  .admin-topbar,
  .admin-topbar-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  body.theme-public .nav-row {
    position: relative;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0.55rem 0.8rem;
  }

  .brand-public-logo img {
    width: 100%;
    height: 100%;
  }

  body.theme-public .public-nav {
    margin-left: 0;
    width: min(84vw, 340px);
    border-radius: 28px;
  }

  body.theme-public .public-nav a {
    width: 100%;
    justify-content: flex-start;
    min-height: 44px;
    border-radius: 16px;
  }

  body.theme-public .public-nav a:hover,
  body.theme-public .public-nav .is-active {
    box-shadow: none;
  }

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

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

  .home-cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .list-side {
    justify-items: start;
  }

  .pagination-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .configuration-section-tabs,
  .configuration-edit-surface,
  .configuration-edit-cards {
    grid-template-columns: 1fr;
  }

  .configuration-section-tab {
    min-height: auto;
  }

  .data-table-cards {
    min-width: 0;
  }

  .data-table-cards thead {
    display: none;
  }

  .data-table-cards,
  .data-table-cards tbody,
  .data-table-cards tr,
  .data-table-cards td {
    display: block;
    width: 100%;
  }

  .data-table-cards tbody {
    display: grid;
    gap: 1rem;
  }

  .data-table-cards tr {
    padding: 1rem;
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(19, 33, 53, 0.08);
    box-shadow: 0 12px 35px rgba(38, 64, 89, 0.08);
  }

  .data-table-cards td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .data-table-cards td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--muted-dark);
    flex: 0 0 110px;
  }

  .data-table-cards td[data-label="Producto"],
  .data-table-cards td[data-label="Categoria"],
  .data-table-cards td[data-label="Acciones"] {
    display: grid;
    gap: 0.65rem;
  }

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

  .data-table-cards td[data-label="Producto"]::before,
  .data-table-cards td[data-label="Categoria"]::before,
  .data-table-cards td[data-label="Acciones"]::before {
    flex: none;
  }

  .data-table-cards td[data-label="Acciones"] .table-actions {
    width: 100%;
  }

  .data-table-cards td[data-label="Acciones"] .inventory-row-actions {
    grid-template-columns: 1fr;
  }

  .modal-panel,
  .modal-panel-lg,
  .modal-panel-sm {
    width: calc(100vw - 1rem);
  }
}

@media (max-width: 640px) {
  .hero h1,
  .page-hero h1,
  .auth-card h1,
  .admin-heading h1 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .hero-copy-wrap,
  .hero-visual,
  .card,
  .timeline-card,
  .spotlight-card,
  .panel-card,
  .auth-card,
  .home-hero-copy,
  .home-showcase-copy,
  .home-brand-card,
  .home-contact-card,
  .home-solution-card,
  .home-product-card,
  .home-service-card,
  .home-case-card,
  .home-cta-band {
    padding: 1.25rem;
  }

  .container {
    width: min(100% - 1rem, 1180px);
  }

  .home-hero-copy h1 {
    max-width: none;
  }

  .home-hero-points,
  .home-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-product-grid,
  .home-service-grid,
  .home-solution-grid {
    grid-template-columns: 1fr;
  }

  .table-actions,
  .form-actions,
  .heading-actions,
  .catalog-actions,
  .catalog-badges,
  .modal-banner-pills,
  .toggle-grid,
  .active-filter-strip,
  .pagination-nav,
  .page-number-row {
    flex-direction: column;
    align-items: stretch;
  }

  .inventory-row-actions,
  .inventory-scan-panel,
  .inventory-trace-result,
  .product-import-rules,
  .product-import-columns,
  .product-import-hero,
  .product-import-step-grid,
  .product-import-workspace,
  .product-import-preview-metrics {
    grid-template-columns: 1fr;
  }

  .product-import-hero-actions {
    justify-content: stretch;
  }

  .product-import-hero-actions .button {
    width: 100%;
  }

  .modal-shell {
    align-items: end;
    padding: 0.5rem;
  }

  .modal-panel {
    max-height: calc(100vh - 1rem);
    padding: 1.1rem;
    border-radius: 26px 26px 18px 18px;
  }

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

  .form-section-head {
    grid-template-columns: 1fr;
  }

  .process-step {
    grid-template-columns: 1fr;
  }

  .page-link,
  .page-link-arrow {
    width: 100%;
  }

  .profit-pill,
  .stock-badge {
    justify-content: flex-start;
  }
}

.user-table-card {
  grid-template-columns: 74px minmax(0, 1fr);
}

.avatar-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-bubble {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(29, 215, 255, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(8, 26, 48, 0.96), rgba(15, 42, 70, 0.88));
  color: #eff8ff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.permission-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.permission-module-card {
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.permission-module-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
}

.permission-module-head strong {
  color: var(--ink-dark);
}

.permission-module-head small {
  color: var(--muted-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.permission-chip-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.permission-check-chip {
  width: 100%;
  margin-bottom: 0;
  justify-content: flex-start;
}

.role-modal-panel {
  width: min(1080px, calc(100vw - 2rem));
}

.service-media img {
  object-fit: cover;
}

@media (max-width: 980px) {
  .configuration-brand-panel,
  .configuration-logo-upload,
  .configuration-preview-grid,
  .configuration-detail-grid {
    grid-template-columns: 1fr;
  }

  .configuration-logo-card,
  .configuration-logo-preview {
    min-height: 150px;
  }

  .configuration-modal-panel {
    width: min(100%, calc(100vw - 1rem));
  }

  .permission-module-grid {
    grid-template-columns: 1fr;
  }
}

.permission-selection-summary {
  display: grid;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  margin: 1rem 0 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(11, 124, 255, 0.12);
  background: linear-gradient(135deg, rgba(11, 124, 255, 0.08), rgba(255, 191, 63, 0.1));
}

.permission-selection-summary p {
  margin: 0;
  color: var(--muted-dark);
}

.permission-selection-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.permission-selection-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 0.65rem;
  width: fit-content;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-dark);
  box-shadow: 0 12px 24px rgba(15, 42, 70, 0.08);
}

.permission-selection-stat strong {
  font-size: 1.2rem;
  line-height: 1;
}

.permission-selection-stat span {
  color: var(--muted-dark);
  font-weight: 700;
}

.permission-selection-actions,
.permission-module-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.permission-module-title {
  display: grid;
  gap: 0.2rem;
}

.permission-module-tools {
  display: grid;
  justify-items: end;
  gap: 0.6rem;
}

.permission-module-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(19, 33, 53, 0.08);
  color: var(--muted-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.permission-module-card {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.permission-module-card.has-selected {
  border-color: rgba(11, 124, 255, 0.2);
  box-shadow: 0 18px 30px rgba(11, 124, 255, 0.08);
}

.permission-check-chip {
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.permission-chip-copy {
  display: grid;
  gap: 0.12rem;
}

.permission-chip-copy strong {
  color: var(--ink-dark);
  font-size: 0.94rem;
}

.permission-chip-copy small {
  color: var(--muted-dark);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.permission-check-chip.is-selected {
  background: rgba(11, 124, 255, 0.12);
  border-color: rgba(11, 124, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(11, 124, 255, 0.04);
}

.permission-check-chip.is-selected span {
  color: #0b5bc0;
  font-weight: 800;
}

.permission-check-chip.is-selected .permission-chip-copy strong,
.permission-check-chip.is-selected .permission-chip-copy small {
  color: #0b5bc0;
}

.status-pill-warning {
  background: rgba(255, 191, 63, 0.16);
  color: #9b6a00;
}

.modal-panel-xl {
  width: min(1160px, calc(100vw - 1.5rem));
}

.sales-modal-panel {
  width: min(1160px, calc(100vw - 1.5rem));
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(255, 191, 63, 0.08), transparent 22%),
    linear-gradient(180deg, #fcfeff, #f5faff 72%, #f8fbff);
}

.sale-admin-form {
  display: grid;
  gap: 1rem;
  justify-items: stretch;
}

body.theme-admin .sales-modal-panel > form.sale-admin-form {
  width: 100%;
  max-width: 100%;
}

.sale-wizard-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.sale-wizard-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: rgba(247, 251, 255, 0.96);
  color: var(--muted-dark);
  font-weight: 800;
  transition: transform 0.16s ease, border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.sale-wizard-chip.is-active {
  background: linear-gradient(135deg, rgba(8, 26, 48, 0.95), rgba(12, 61, 110, 0.96));
  border-color: rgba(12, 91, 192, 0.28);
  color: #f7fbff;
  box-shadow: 0 18px 32px rgba(8, 26, 48, 0.18);
}

.sale-checkout-feedback {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(217, 119, 6, 0.16);
  background: rgba(245, 158, 11, 0.08);
  color: #9a6700;
}

.sale-checkout-note {
  margin-top: 0.9rem;
  border-color: rgba(190, 24, 93, 0.14);
  background: rgba(190, 24, 93, 0.07);
  color: #9f1239;
}

.sale-form-section {
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.sale-base-section {
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.95));
}

.sale-base-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sale-admin-form.is-checkout-flow .sale-checkout-hidden,
.sale-admin-form.is-checkout-flow .sale-checkout-hide {
  display: none !important;
}

.sale-admin-form.is-checkout-flow .sale-detail-section {
  display: none !important;
}

.sale-admin-form.is-checkout-flow .sale-payment-hidden-field {
  display: none !important;
}

.sale-admin-form.is-checkout-flow .sale-payment-section {
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

.sale-field-highlight {
  padding: 0.95rem;
  border-radius: 20px;
  background: rgba(11, 124, 255, 0.05);
  border: 1px solid rgba(11, 124, 255, 0.1);
}

.sale-client-field {
  display: grid;
  gap: 0.7rem;
}

.sale-ruc-lookup-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: stretch;
}

.sale-ruc-lookup-row .sale-search-picker {
  min-width: 0;
}

.sale-ruc-validate-button {
  min-width: 112px;
  min-height: 48px;
  border-radius: 16px;
}

.sale-discount-field {
  display: grid;
  gap: 0.7rem;
  align-content: center;
  justify-self: stretch;
  max-width: 420px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.sale-discount-field input {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
}

.sale-discount-field small {
  text-align: center;
}

.sale-admin-form.is-checkout-flow .sale-discount-field {
  grid-column: 1 / span 1;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.sale-admin-form.is-checkout-flow .sale-observations-field {
  grid-column: 2 / span 3;
}

.sale-observations-field textarea {
  min-height: 52px;
  max-height: 86px;
  resize: vertical;
}

.sale-client-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.sale-client-actions small {
  color: var(--muted-dark);
}

.sale-inline-action {
  white-space: nowrap;
}

.sale-seller-card {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.sale-seller-card strong {
  color: var(--ink-dark);
  font-size: 1rem;
}

.sale-seller-card small {
  color: var(--muted-dark);
}

.sale-field-highlight small[data-sale-voucher-hint] {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted-dark);
  font-size: 0.8rem;
}

.sale-section-head-inline {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}

.sale-line-list,
.sale-payment-list {
  display: grid;
  gap: 0.9rem;
}

.sale-detail-workbench {
  display: grid;
  gap: 1rem;
}

.sale-detail-draft-shell,
.sale-cart-shell {
  display: grid;
  gap: 0.9rem;
}

.sale-cart-shell {
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.sale-cart-head {
  display: grid;
  gap: 0.2rem;
}

.sale-cart-head strong {
  color: var(--ink-dark);
}

.sale-cart-head small {
  color: var(--muted-dark);
}

.sale-line-card,
.sale-payment-card {
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.07), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.94));
  box-shadow: 0 16px 36px rgba(8, 26, 48, 0.06);
}

.sale-line-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.sale-line-card-head strong,
.sale-line-card-head small {
  display: block;
}

.sale-line-card-head strong {
  color: var(--ink-dark);
}

.sale-line-card-head small {
  margin-top: 0.22rem;
  color: var(--muted-dark);
}

.sale-line-card-draft {
  border-style: dashed;
}

.sale-line-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: end;
}

.sale-payment-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: end;
}

.sale-admin-form.is-checkout-flow .sale-payment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

.sale-payment-highlight {
  display: grid;
  gap: 0.9rem;
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

.sale-payment-list,
.sale-payment-card {
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

.sale-payment-total-card {
  display: grid;
  gap: 0.32rem;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background:
    radial-gradient(circle at right top, rgba(29, 215, 255, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(8, 26, 48, 0.95), rgba(12, 61, 110, 0.94));
  color: #f7fbff;
  box-shadow: 0 18px 36px rgba(8, 26, 48, 0.2);
}

.sale-payment-total-card span {
  color: rgba(226, 239, 255, 0.84);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sale-payment-total-card strong {
  font-size: 1.45rem;
}

.sale-payment-total-card small {
  color: rgba(226, 239, 255, 0.84);
}

.ui-native-select {
  position: absolute !important;
  inset: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.sale-payment-condition-field select,
.sale-payment-method-field select,
.sale-payment-amount-field input {
  min-height: 52px;
  border-radius: 18px;
}

.sale-payment-amount-field input:focus,
.sale-listbox-trigger:focus-visible,
.ui-listbox-trigger:focus-visible {
  border-color: rgba(11, 124, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(11, 124, 255, 0.1);
}

.sale-payment-amount-field input:focus {
  outline: none;
}

.sale-payment-amount-field input.is-locked {
  background: rgba(230, 238, 248, 0.86);
  color: #16365f;
  font-weight: 800;
  cursor: not-allowed;
}

.sale-payment-hint {
  margin: 0.85rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(11, 124, 255, 0.1);
  background: linear-gradient(180deg, rgba(11, 124, 255, 0.05), rgba(255, 255, 255, 0.96));
  color: var(--muted-dark);
  font-size: 0.92rem;
  line-height: 1.5;
}

.sale-listbox {
  position: relative;
}

.ui-listbox {
  position: relative;
}

.sale-listbox.is-open .sale-listbox-trigger,
.ui-listbox.is-open .ui-listbox-trigger {
  border-color: rgba(11, 124, 255, 0.28);
  box-shadow: 0 0 0 4px rgba(11, 124, 255, 0.08);
}

.sale-listbox-trigger,
.ui-listbox-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(11, 91, 192, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 12px 26px rgba(9, 35, 66, 0.06);
  color: var(--ink-dark);
  font-weight: 700;
  text-align: left;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.sale-listbox-trigger:hover,
.ui-listbox-trigger:hover {
  transform: translateY(-1px);
}

.ui-listbox-trigger.is-disabled,
.ui-listbox-trigger:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
}

.sale-listbox-trigger::after,
.ui-listbox-trigger::after {
  content: "";
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  border-right: 2px solid rgba(11, 91, 192, 0.72);
  border-bottom: 2px solid rgba(11, 91, 192, 0.72);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.16s ease;
}

.sale-listbox.is-open .sale-listbox-trigger::after,
.ui-listbox.is-open .ui-listbox-trigger::after {
  transform: rotate(-135deg) translateY(-1px);
}

.sale-listbox-panel,
.ui-listbox-panel {
  z-index: 12;
}

.sale-listbox-option,
.ui-listbox-option {
  display: grid;
  gap: 0.2rem;
}

.sale-listbox-option strong,
.ui-listbox-option strong {
  color: var(--ink-dark);
  font-weight: 700;
}

.sale-listbox-option small,
.ui-listbox-option small {
  color: var(--muted-dark);
  font-size: 0.82rem;
}

.sale-item-field {
  position: relative;
}

.sale-native-select {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.sale-search-picker {
  position: relative;
}

.sale-search-input {
  width: 100%;
}

.sale-search-picker.is-open .sale-search-input {
  border-color: rgba(11, 124, 255, 0.28);
  box-shadow: 0 0 0 4px rgba(11, 124, 255, 0.08);
}

.sale-client-picker .sale-search-dropdown {
  max-height: 320px;
}

.sale-search-dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  z-index: 8;
  display: grid;
  gap: 0.45rem;
  max-height: 280px;
  overflow-y: auto;
  padding: 0.85rem;
  border-radius: 24px;
  border: 1px solid rgba(19, 33, 53, 0.09);
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.1), transparent 26%),
    radial-gradient(circle at bottom left, rgba(255, 191, 63, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 255, 0.98));
  box-shadow:
    0 24px 54px rgba(8, 26, 48, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  scrollbar-width: thin;
  scrollbar-color: rgba(11, 124, 255, 0.35) rgba(19, 33, 53, 0.06);
}

.sale-search-dropdown[hidden] {
  display: none;
}

.sale-search-dropdown::-webkit-scrollbar {
  width: 10px;
}

.sale-search-dropdown::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(19, 33, 53, 0.05);
}

.sale-search-dropdown::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.94);
  background: linear-gradient(180deg, rgba(11, 124, 255, 0.6), rgba(29, 215, 255, 0.55));
}

.sale-search-option {
  display: grid;
  gap: 0.24rem;
  width: 100%;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(19, 33, 53, 0.07);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(11, 124, 255, 0.035), transparent 42%),
    linear-gradient(180deg, #ffffff, #f7fbff);
  text-align: left;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.sale-search-option:hover,
.sale-search-option.is-selected {
  transform: translateY(-1px);
  border-color: rgba(11, 124, 255, 0.25);
  background:
    linear-gradient(135deg, rgba(11, 124, 255, 0.08), rgba(29, 215, 255, 0.06)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 255, 0.96));
  box-shadow: 0 14px 24px rgba(8, 26, 48, 0.08);
}

.sale-search-option-main {
  color: var(--ink-dark);
  font-weight: 700;
  line-height: 1.35;
}

.sale-search-option-meta,
.sale-search-empty {
  color: var(--muted-dark);
  font-size: 0.84rem;
}

.sale-search-empty {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px dashed rgba(19, 33, 53, 0.12);
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.08), transparent 26%),
    rgba(19, 33, 53, 0.035);
}

.sale-search-empty-action {
  justify-self: start;
  margin-top: 0.35rem;
}

.sale-readonly-field input[readonly] {
  color: var(--ink-dark);
  background: rgba(11, 124, 255, 0.05);
  font-weight: 700;
}

.sale-readonly-field input[data-sale-voucher-number],
.sale-readonly-field input[data-sale-voucher-series] {
  letter-spacing: 0.04em;
}

.sale-client-feedback {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(224, 49, 49, 0.14);
  background: rgba(224, 49, 49, 0.08);
  color: #a61e1e;
}

.sale-client-feedback.is-success {
  border-color: rgba(43, 138, 62, 0.16);
  background: rgba(43, 138, 62, 0.08);
  color: #2b8a3e;
}

.sale-detail-feedback {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(217, 119, 6, 0.16);
  background: rgba(245, 158, 11, 0.08);
  color: #9a6700;
}

.sale-cart-list:empty::before {
  content: "Aun no agregas items a la lista de compra.";
  display: block;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(19, 33, 53, 0.04);
  color: var(--muted-dark);
}

.sale-cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto auto;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: #fff;
}

.sale-cart-item-copy {
  display: grid;
  gap: 0.22rem;
}

.sale-cart-item-copy strong,
.sale-cart-item-stats strong {
  color: var(--ink-dark);
}

.sale-cart-item-copy p,
.sale-cart-item-copy small {
  margin: 0;
  color: var(--muted-dark);
}

.sale-cart-item-stats {
  display: grid;
  gap: 0.2rem;
  justify-items: end;
  text-align: right;
}

.sale-cart-item-stats span {
  color: var(--muted-dark);
  font-size: 0.86rem;
}

.sale-cart-item-actions {
  display: flex;
  align-items: center;
}

.sale-line-total-box {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(11, 124, 255, 0.11), rgba(29, 215, 255, 0.08));
  min-height: 100%;
}

.sale-line-total-box span {
  color: var(--muted-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.sale-line-total-box strong {
  color: var(--ink-dark);
  font-size: 1rem;
}

.sale-line-actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
}

.sale-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.9rem;
}

.sale-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.sale-review-card {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background:
    radial-gradient(circle at bottom right, rgba(255, 191, 63, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.94));
}

.sale-review-card span {
  color: #0b5bc0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sale-review-card strong {
  color: var(--ink-dark);
  font-size: 1rem;
}

.sale-review-card small {
  color: var(--muted-dark);
  line-height: 1.55;
}

.sale-review-products {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(241, 247, 255, 0.96));
}

.sale-review-products-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.sale-review-products-head span {
  color: var(--muted-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sale-review-products-head strong {
  color: var(--ink-dark);
  font-size: 0.95rem;
}

.sale-review-products-list {
  display: grid;
  gap: 0.75rem;
}

.sale-review-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.sale-review-item-copy {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.sale-review-item-copy strong {
  color: var(--ink-dark);
  font-size: 0.96rem;
}

.sale-review-item-copy small {
  color: var(--muted-dark);
}

.sale-review-item-stats {
  display: grid;
  gap: 0.2rem;
  justify-items: end;
  text-align: right;
  white-space: nowrap;
}

.sale-review-item-stats span {
  color: var(--muted-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.sale-review-item-stats strong {
  color: var(--ink-dark);
  font-size: 1rem;
}

.sale-review-empty {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px dashed rgba(19, 33, 53, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted-dark);
}

.sale-review-toggle {
  justify-self: start;
  min-width: 128px;
}

.sale-review-toggle[hidden] {
  display: none !important;
}

.sale-wizard-actions {
  justify-content: space-between;
}

.sale-admin-form.is-checkout-flow .sale-wizard-actions {
  justify-content: flex-end;
}

.sale-summary-card {
  display: grid;
  gap: 0.4rem;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.94), rgba(255, 255, 255, 0.98));
}

.sale-summary-card span {
  color: var(--muted-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.sale-summary-card strong {
  color: var(--ink-dark);
}

.sale-receipt-panel {
  display: grid;
  gap: 1rem;
  background:
    radial-gradient(circle at top right, rgba(11, 124, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.sale-receipt-panel .modal-head {
  padding: 0.95rem;
  border-radius: 20px;
  border: 1px solid rgba(11, 124, 255, 0.12);
  background:
    radial-gradient(circle at 18% 20%, rgba(29, 215, 255, 0.16), transparent 22%),
    linear-gradient(135deg, rgba(8, 26, 48, 0.96), rgba(12, 61, 110, 0.92));
  box-shadow: 0 18px 38px rgba(8, 26, 48, 0.16);
}

.sale-receipt-panel .modal-head h2 {
  color: #f7fbff;
}

.sale-receipt-panel .modal-head .eyebrow {
  width: fit-content;
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 239, 255, 0.28);
  background: rgba(226, 239, 255, 0.14);
  color: #eaf6ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.sale-receipt-copy {
  display: grid;
  gap: 0.45rem;
  color: var(--muted-dark);
}

.sale-receipt-copy p {
  margin: 0;
}

.sale-receipt-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.sale-receipt-actions .button {
  justify-content: center;
}

.sale-receipt-actions .button.is-disabled {
  pointer-events: none;
  opacity: 0.55;
}

.sale-receipt-note {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.88rem;
}

.sale-history-actions {
  align-items: center;
  gap: 0.55rem;
}

.sale-history-action {
  min-width: 108px;
  min-height: 42px;
  border-radius: 16px;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 28px rgba(8, 26, 48, 0.14);
}

body.theme-admin .sale-history-actions .button-primary.sale-history-action {
  color: #04101e !important;
  box-shadow: 0 16px 30px rgba(0, 153, 255, 0.2);
}

body.theme-admin .sale-history-actions .button-danger.sale-history-action {
  box-shadow: 0 16px 30px rgba(224, 49, 49, 0.18);
}

.sale-form-note a {
  color: #0b5bc0;
  font-weight: 800;
}

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

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

  .sale-admin-form.is-checkout-flow .sale-discount-field {
    grid-column: 1 / span 1;
  }

  .sale-admin-form.is-checkout-flow .sale-observations-field {
    grid-column: 2 / span 1;
  }

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

  .sale-section-head-inline {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .sale-section-head-inline .button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .sale-line-grid,
  .sale-payment-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sale-line-actions,
  .sale-line-total-box {
    grid-column: 1 / -1;
  }

  .sale-cart-item {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .sale-cart-item-stats,
  .sale-cart-item-actions {
    justify-items: start;
    text-align: left;
  }

  .sale-client-actions {
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .sale-review-grid {
    grid-template-columns: 1fr;
  }

  .sale-wizard-nav,
  .sale-wizard-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sale-receipt-actions {
    grid-template-columns: 1fr;
  }

  .sale-history-actions {
    width: 100%;
  }

  .sale-history-action {
    flex: 1 1 0;
    min-width: 0;
  }

  .sale-review-products-head,
  .sale-review-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .sale-review-item-stats {
    justify-items: start;
    text-align: left;
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .filter-grid-sales {
    grid-template-columns: 1fr;
  }

  .sale-base-grid {
    grid-template-columns: 1fr;
  }

  .sale-discount-field {
    max-width: none;
  }

  .sale-admin-form.is-checkout-flow .sale-discount-field,
  .sale-admin-form.is-checkout-flow .sale-observations-field {
    grid-column: 1 / -1;
  }

  .sale-line-grid,
  .sale-payment-grid {
    grid-template-columns: 1fr;
  }

  .sale-line-card-head {
    align-items: start;
  }

  .sale-client-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sale-ruc-lookup-row {
    grid-template-columns: 1fr;
  }

  .sale-ruc-validate-button {
    width: 100%;
  }

  .sale-inline-action {
    width: 100%;
    justify-content: center;
  }
}

.home-neo {
  padding-top: 4.6rem;
  padding-bottom: 1.4rem;
}

.home-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: 1.2rem;
  align-items: stretch;
}

.home-stage-copy,
.home-stage-orbit,
.home-stage-product,
.home-flow-card,
.home-catalog-card-neo,
.home-service-intro-neo,
.home-service-lane,
.home-proof-card,
.home-proof-cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(19, 33, 53, 0.08);
}

.home-stage-copy {
  padding: 2.2rem;
  background:
    radial-gradient(circle at top left, rgba(27, 136, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
}

.home-stage-copy::after {
  content: "";
  position: absolute;
  right: -2rem;
  top: 2rem;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 191, 63, 0.18), transparent 70%);
  pointer-events: none;
}

.home-stage-kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1rem;
}

.home-stage-kicker,
.home-stage-note {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.home-stage-kicker {
  background: linear-gradient(135deg, #103f8c, #1b88ff);
  color: #fff;
}

.home-stage-note {
  background: #eef6ff;
  color: #315779;
}

.home-stage-copy h1 {
  margin: 0;
  max-width: 10.5ch;
  font-size: clamp(3.6rem, 5.4vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: #0f1f33;
}

.home-stage-copy h1 span {
  display: block;
  margin-top: 0.35rem;
  color: #355b7d;
}

.home-stage-lead {
  max-width: 60ch;
  margin: 1.15rem 0 0;
  font-size: 1.05rem;
  line-height: 1.72;
  color: #5f7488;
}

.home-stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.9rem;
}

.home-stage-signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.home-stage-signal-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(15, 77, 161, 0.06);
  color: #2f5174;
  font-weight: 600;
}

.home-stage-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.home-stage-metrics article {
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 33, 53, 0.08);
  box-shadow: 0 12px 30px rgba(19, 33, 53, 0.05);
}

.home-stage-metrics strong {
  display: block;
  font-size: 1.6rem;
  color: #10233a;
}

.home-stage-metrics span {
  color: #6a7f93;
}

.home-stage-visual {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.home-stage-orbit {
  min-height: 320px;
  padding: 1.4rem;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 191, 63, 0.2), transparent 18%),
    radial-gradient(circle at 24% 18%, rgba(27, 136, 255, 0.2), transparent 22%),
    linear-gradient(135deg, #edf4ff 0%, #f7fbff 100%);
}

.home-stage-orbit::before,
.home-stage-orbit::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.home-stage-orbit::before {
  inset: 1.4rem;
  border: 1px dashed rgba(27, 136, 255, 0.18);
}

.home-stage-orbit::after {
  width: 220px;
  height: 220px;
  right: -60px;
  bottom: -70px;
  background: radial-gradient(circle, rgba(255, 191, 63, 0.2), transparent 70%);
}

.home-stage-orbit-core {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 2rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(19, 33, 53, 0.08);
  text-align: center;
}

.home-stage-logo {
  width: 92px;
  height: 92px;
  margin: 0 auto 1rem;
  border-radius: 28px;
}

.home-stage-orbit-copy h2 {
  margin: 0;
  color: #0f1f33;
}

.home-stage-orbit-copy p {
  margin: 0.45rem 0 0;
  color: #5f7488;
}

.home-float-card {
  position: absolute;
  z-index: 2;
  max-width: 220px;
  padding: 0.95rem 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(19, 33, 53, 0.08);
  box-shadow: 0 18px 38px rgba(19, 33, 53, 0.08);
}

.home-float-card strong {
  display: block;
  color: #10233a;
}

.home-float-card span {
  color: #5f7488;
  font-size: 0.94rem;
}

.home-float-card-top {
  top: 1rem;
  right: 1rem;
}

.home-float-card-bottom {
  left: 1.1rem;
  bottom: 1rem;
}

.home-stage-product {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
}

.home-stage-product-media {
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.12), transparent 25%),
    linear-gradient(135deg, #eef5ff, #f8fbff);
  border: 1px solid rgba(19, 33, 53, 0.08);
}

.home-stage-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-stage-product-copy {
  display: grid;
  gap: 0.7rem;
}

.home-stage-product-copy h3 {
  margin: 0;
  color: #10233a;
}

.home-stage-product-copy p {
  margin: 0;
  color: #5f7488;
}

.home-stage-price-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: #0f1f33;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
}

.home-stage-product-meta,
.home-catalog-meta,
.home-service-lane-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-stage-product-meta span,
.home-catalog-meta span,
.home-service-lane-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: #f0f5fb;
  color: #3d5975;
  font-size: 0.86rem;
}

.home-inline-features,
.home-service-inline-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-inline-features li,
.home-service-inline-list li {
  position: relative;
  padding-left: 1rem;
  color: #335170;
}

.home-inline-features li::before,
.home-service-inline-list li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 0;
  color: #1b88ff;
  font-weight: 700;
}

.home-flow-section {
  padding-top: 0.2rem;
}

.home-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.home-flow-card {
  padding: 1.2rem;
  min-height: 200px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94));
}

.home-flow-index {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #103f8c, #1b88ff);
  color: #fff;
  font-weight: 700;
}

.home-flow-card h3,
.home-catalog-card-copy h3,
.home-service-lane-top h3,
.home-proof-card h3,
.home-proof-cta-card h3 {
  margin: 0;
  color: #10233a;
}

.home-flow-card p,
.home-section-sidecopy p,
.home-catalog-card-copy p,
.home-service-intro-neo p,
.home-service-lane-copy p,
.home-proof-copy p,
.home-proof-card p,
.home-proof-cta-card p {
  color: #5f7488;
}

.home-section-head-neo {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.2rem;
}

.home-section-head-neo h2,
.home-service-intro-neo h2,
.home-proof-copy h2 {
  margin: 0;
  color: #10233a;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1;
}

.home-section-sidecopy {
  display: grid;
  gap: 0.6rem;
}

.home-catalog-grid-neo {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.home-catalog-card-neo {
  display: grid;
  gap: 0;
}

.home-catalog-card-neo.is-lead {
  grid-column: span 2;
  grid-row: span 2;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
}

.home-catalog-card-media {
  overflow: hidden;
  min-height: 220px;
  background:
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #eef5ff, #f8fbff);
}

.home-catalog-card-neo.is-lead .home-catalog-card-media {
  min-height: 100%;
}

.home-catalog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-catalog-card-copy {
  display: grid;
  gap: 0.7rem;
  padding: 1.15rem;
}

.home-catalog-stock {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #24578f;
  font-size: 0.82rem;
  font-weight: 700;
}

.home-catalog-price {
  margin-top: auto;
  padding-top: 0.35rem;
}

.home-catalog-price small {
  display: block;
  margin-bottom: 0.2rem;
  color: #8f6b11;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.home-catalog-price strong {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #10233a;
}

.home-service-shell-neo {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 1rem;
  align-items: stretch;
}

.home-service-intro-neo {
  padding: 1.8rem;
  background:
    radial-gradient(circle at top right, rgba(255, 191, 63, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96));
}

.home-service-intro-actions,
.home-proof-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.home-service-lanes {
  display: grid;
  gap: 0.9rem;
}

.home-service-lane {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
}

.home-service-lane-index {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 191, 63, 0.22), transparent 30%),
    linear-gradient(135deg, #103f8c, #1b88ff);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
}

.home-service-lane-copy {
  display: grid;
  gap: 0.55rem;
}

.home-service-lane-top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: start;
}

.home-service-lane-top strong {
  white-space: nowrap;
  color: #10233a;
}

.home-proof-shell-neo {
  display: grid;
  gap: 1rem;
}

.home-proof-copy {
  max-width: 760px;
}

.home-proof-grid-neo {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-proof-card,
.home-proof-cta-card {
  padding: 1.3rem;
}

.home-proof-date {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: #9a7318;
  font-weight: 700;
}

.home-proof-cta-card {
  background:
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96));
}

@media (max-width: 1180px) {
  .home-stage,
  .home-service-shell-neo,
  .home-section-head-neo {
    grid-template-columns: 1fr;
  }

  .home-stage-copy h1 {
    max-width: none;
  }

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

  .home-catalog-card-neo.is-lead {
    grid-column: span 2;
  }

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

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

@media (max-width: 860px) {
  .home-stage-metrics,
  .home-flow-grid,
  .home-catalog-grid-neo,
  .home-proof-grid-neo {
    grid-template-columns: 1fr;
  }

  .home-stage-product,
  .home-catalog-card-neo.is-lead,
  .home-service-lane {
    grid-template-columns: 1fr;
  }

  .home-service-lane-index {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }

  .home-service-lane-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-float-card {
    position: static;
    max-width: none;
  }

  .home-stage-orbit {
    display: grid;
    gap: 0.9rem;
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .home-stage-copy,
  .home-stage-orbit,
  .home-stage-product,
  .home-flow-card,
  .home-catalog-card-copy,
  .home-service-intro-neo,
  .home-service-lane,
  .home-proof-card,
  .home-proof-cta-card {
    padding: 1.1rem;
  }

  .home-stage-copy h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .home-stage-actions,
  .home-service-intro-actions,
  .home-proof-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-stage-kicker-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.home-intro {
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.home-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 1rem;
  align-items: stretch;
}

.home-intro-copy,
.home-intro-panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(19, 33, 53, 0.08);
}

.home-intro-copy {
  padding: 2.2rem;
  background:
    radial-gradient(circle at top left, rgba(27, 136, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
}

.home-intro-copy::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 191, 63, 0.18), transparent 70%);
  pointer-events: none;
}

.home-intro-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.95rem;
  margin: 0 0 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #103f8c, #1b88ff);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-intro-copy h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3rem, 5vw, 5.1rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  color: #10233a;
}

.home-intro-lead {
  max-width: 60ch;
  margin: 1.25rem 0 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #5f7488;
}

.home-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.home-intro-panel {
  display: grid;
  gap: 1rem;
  padding: 1.8rem;
  align-content: start;
  background:
    radial-gradient(circle at top right, rgba(255, 191, 63, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.95));
}

.home-intro-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 36px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: #edf5ff;
  color: #315779;
  font-size: 0.82rem;
  font-weight: 700;
}

.home-intro-panel h2 {
  margin: 0;
  color: #10233a;
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
  line-height: 1.02;
}

.home-intro-panel p {
  margin: 0;
  color: #5f7488;
  line-height: 1.72;
}

.home-intro-points {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.home-intro-points span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 1rem;
  border-radius: 18px;
  background: rgba(15, 77, 161, 0.06);
  color: #2f5174;
  font-weight: 600;
}

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

@media (max-width: 640px) {
  .home-intro-copy,
  .home-intro-panel {
    padding: 1.2rem;
  }

  .home-intro-copy h1 {
    max-width: none;
    font-size: clamp(2.5rem, 11vw, 3.8rem);
  }

  .home-intro-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.home-start {
  padding-top: 1.1rem;
  padding-bottom: 4rem;
}

.home-start-shell {
  width: 100%;
}

.home-start-main {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 0;
  border-right: 0;
  background:
    linear-gradient(90deg, rgba(9, 16, 31, 0.9) 0%, rgba(9, 16, 31, 0.8) 38%, rgba(9, 16, 31, 0.52) 72%, rgba(9, 16, 31, 0.26) 100%),
    radial-gradient(circle at top left, rgba(29, 215, 255, 0.16), transparent 24%),
    url("../images/software1.jpg") center center / cover no-repeat;
  box-shadow: 0 24px 60px rgba(11, 24, 43, 0.12);
}

.home-start-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 191, 63, 0.08), transparent 24%),
    linear-gradient(180deg, transparent 0%, rgba(6, 12, 24, 0.12) 100%);
  pointer-events: none;
}

.home-start-inner {
  display: flex;
  align-items: flex-end;
  min-height: inherit;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.home-start-content {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  display: grid;
  gap: 0;
}

.home-start-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 0.85rem;
  margin: 0 0 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #f4d593;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.home-start-main h1 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  color: #fff;
}

.home-start-copy {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: rgba(241, 246, 255, 0.86);
  font-size: 1rem;
  line-height: 1.75;
}

.home-start-subline {
  margin: 1rem 0 0;
  color: #f4d593;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.home-start-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.55rem;
}

.home-start-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.home-start-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(243, 247, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  font-size: 0.88rem;
}

body.theme-public .home-start-main .button-primary {
  background: linear-gradient(135deg, #0f4da1, #1b88ff);
  color: #fff !important;
}

body.theme-public .home-start-main .button-secondary-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

@media (max-width: 980px) {
  .home-start-shell {
    max-width: none;
  }

  .home-start-main {
    min-height: 480px;
    background:
      linear-gradient(180deg, rgba(9, 16, 31, 0.84) 0%, rgba(9, 16, 31, 0.82) 55%, rgba(9, 16, 31, 0.76) 100%),
      radial-gradient(circle at top left, rgba(29, 215, 255, 0.14), transparent 26%),
      url("../images/software1.jpg") center center / cover no-repeat;
  }

  .home-start-inner {
    padding-top: 3.2rem;
    padding-bottom: 3.2rem;
  }

  .home-start-content {
    width: min(100%, 100%);
  }
}

@media (max-width: 640px) {
  .home-start-main {
    min-height: 420px;
    border-radius: 28px;
    background:
      linear-gradient(180deg, rgba(9, 16, 31, 0.82) 0%, rgba(9, 16, 31, 0.86) 54%, rgba(9, 16, 31, 0.9) 100%),
      url("../images/software1.jpg") center center / cover no-repeat;
  }

  .home-start-inner {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }

  .home-start-main h1 {
    max-width: none;
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }

  .home-start-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-start-highlights {
    flex-direction: column;
    align-items: stretch;
  }
}

.home-proposal {
  padding-top: 0;
  padding-bottom: 1.2rem;
}

.home-proposal-hero {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(90deg, rgba(9, 16, 31, 0.92) 0%, rgba(9, 16, 31, 0.82) 40%, rgba(9, 16, 31, 0.52) 78%, rgba(9, 16, 31, 0.34) 100%),
    radial-gradient(circle at top left, rgba(29, 215, 255, 0.16), transparent 24%),
    url("../images/software1.jpg") center center / cover no-repeat;
}

.home-proposal-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1rem;
  align-items: center;
  min-height: inherit;
  padding-top: 2.1rem;
  padding-bottom: 2.1rem;
}

.home-proposal-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 580px);
}

.home-proposal-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.9rem;
  margin: 0 0 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #f5d38c;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.home-proposal-copy h1 {
  margin: 0;
  max-width: 15ch;
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.home-proposal-lead {
  max-width: 33rem;
  margin: 0.9rem 0 0;
  color: rgba(242, 246, 255, 0.86);
  font-size: 0.96rem;
  line-height: 1.65;
}

.home-proposal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1rem;
}

.home-proposal-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.home-proposal-signals span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(246, 249, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  font-size: 0.88rem;
}

.home-proposal-action-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  justify-items: stretch;
  width: min(100%, 280px);
  margin-left: auto;
  padding: 1.15rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 42px rgba(6, 14, 28, 0.12);
}

.home-proposal-action-head {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
}

.home-proposal-action-logo {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-proposal-action-logo img {
  width: 78%;
  height: auto;
  display: block;
}

.home-proposal-action-copy {
  display: grid;
  gap: 0.18rem;
}

.home-proposal-card-kicker {
  margin: 0;
  color: #8f6b11;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-proposal-action-copy strong {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.1;
}

.home-proposal-action-text {
  margin: 0;
  color: rgba(242, 246, 255, 0.78);
  line-height: 1.55;
  font-size: 0.92rem;
}

.home-proposal-action-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.1;
}

.home-proposal-cta-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 16px;
  background: #f4f8ff;
  border: 1px solid rgba(19, 33, 53, 0.08);
  color: #274766;
  font-weight: 700;
}

.home-proposal-actions-side {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.home-proposal-actions-side .button {
  width: 100%;
}

.home-proposal-showcase {
  padding-top: 1.2rem;
}

.home-proposal-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-proposal-product-card,
.home-proposal-service-card,
.home-proposal-cta-shell {
  border-radius: 28px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(19, 33, 53, 0.07);
}

.home-proposal-showcase-tile {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0;
  min-height: 112px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 28px rgba(19, 33, 53, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-proposal-showcase-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 77, 161, 0.14);
  box-shadow: 0 18px 36px rgba(19, 33, 53, 0.1);
}

.home-proposal-showcase-thumb {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #eef4ff, #f6f9ff);
  border-right: 1px solid rgba(19, 33, 53, 0.06);
}

.home-proposal-showcase-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-proposal-showcase-info {
  display: grid;
  align-content: center;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
}

.home-proposal-showcase-info span {
  color: #48617b;
  font-size: 0.82rem;
}

.home-proposal-showcase-info strong {
  color: #122137;
  font-size: 1.5rem;
  line-height: 1.04;
}

.home-proposal-showcase-info small {
  color: #5f7488;
  font-size: 0.92rem;
  line-height: 1.45;
}

.home-proposal-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.home-proposal-section-head h2 {
  margin: 0;
  color: #10233a;
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  line-height: 1;
}

.home-proposal-product-grid,
.home-proposal-service-grid {
  display: grid;
  gap: 1rem;
}

.home-proposal-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-proposal-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.home-proposal-product-card,
.home-proposal-service-card {
  overflow: hidden;
}

.home-proposal-product-card-spotlight {
  display: grid;
  align-content: start;
  padding: 0.8rem;
}

.home-proposal-product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.home-proposal-product-label,
.home-proposal-product-stock {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.6rem;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
}

.home-proposal-product-label {
  color: #1c3450;
  background: #f0f4fb;
}

.home-proposal-product-label.is-amber {
  background: #fff3d8;
  color: #8b6610;
}

.home-proposal-product-label.is-blue {
  background: #edf5ff;
  color: #24578f;
}

.home-proposal-product-label.is-green {
  background: #edf9f1;
  color: #1d7b53;
}

.home-proposal-product-label.is-slate {
  background: #eff2f6;
  color: #47596d;
}

.home-proposal-product-stock {
  background: #f7f9fc;
  color: #607387;
}

.home-proposal-product-media {
  min-height: 220px;
  background:
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #eef5ff, #f8fbff);
}

.home-proposal-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-proposal-product-media-spotlight {
  min-height: 126px;
  border-radius: 18px;
  overflow: hidden;
}

.home-proposal-product-media-spotlight img {
  object-fit: contain;
  padding: 0.75rem;
  box-sizing: border-box;
}

.home-proposal-product-copy,
.home-proposal-service-card {
  padding: 1.15rem;
}

.home-proposal-product-copy-spotlight {
  padding: 0.75rem 0 0;
}

.home-proposal-product-copy h3,
.home-proposal-service-card h3 {
  margin: 0.2rem 0 0.45rem;
  color: #10233a;
  font-size: 1.02rem;
  line-height: 1.25;
}

.home-proposal-product-copy p,
.home-proposal-service-card p {
  margin: 0;
  color: #5f7488;
  line-height: 1.5;
  font-size: 0.9rem;
}

.home-proposal-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.home-proposal-product-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.65rem;
  border-radius: 999px;
  background: #eff5fb;
  color: #3c5874;
  font-size: 0.76rem;
}

.home-proposal-product-copy strong,
.home-proposal-service-footer strong {
  display: block;
  margin-top: 1rem;
  color: #10233a;
  font-size: 1.55rem;
}

.home-proposal-product-footer {
  display: flex;
  align-items: end;
  justify-content: flex-start;
  gap: 0.8rem;
  margin-top: 0.75rem;
}

.home-proposal-product-footer strong {
  margin-top: 0;
  font-size: 1.08rem;
}

.home-proposal-service-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.65rem;
  border-radius: 999px;
  background: #edf5ff;
  color: #2d567c;
  font-size: 0.74rem;
  font-weight: 700;
}

.home-proposal-service-card-spotlight {
  display: grid;
  align-content: start;
  padding: 0.68rem;
}

.home-proposal-service-media {
  min-height: 126px;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #eef5ff, #f8fbff);
}

.home-proposal-service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-proposal-service-copy {
  padding: 0.6rem 0 0;
}

.home-proposal-service-copy h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.92rem;
  line-height: 1.22;
}

.home-proposal-service-copy p {
  font-size: 0.84rem;
  line-height: 1.4;
}

.home-proposal-service-time {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 0.5rem;
  border-radius: 9px;
  background: #f7f9fc;
  color: #607387;
  font-size: 0.68rem;
  font-weight: 700;
}

.home-proposal-service-list {
  display: grid;
  gap: 0.34rem;
  margin: 0.62rem 0 0;
  padding: 0;
  list-style: none;
}

.home-proposal-service-list li {
  position: relative;
  padding-left: 0.85rem;
  color: #335170;
  font-size: 0.82rem;
  line-height: 1.35;
}

.home-proposal-service-list li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 0;
  color: #1b88ff;
  font-weight: 700;
}

.home-proposal-service-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.7rem;
}

.home-proposal-service-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.62rem;
  border-radius: 999px;
  background: #eef4fb;
  color: #2f4f70;
  font-size: 0.72rem;
  font-weight: 700;
}

.home-proposal-service-chip.is-soft {
  background: #f7f9fc;
  color: #667b90;
}

.home-proposal-service-stack {
  display: grid;
  gap: 0.9rem;
}

.home-proposal-service-row {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  padding: 0.95rem;
  border: 1px solid rgba(15, 38, 68, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 254, 0.98));
  box-shadow: 0 18px 46px rgba(13, 31, 55, 0.06);
}

.home-proposal-service-row-media {
  min-height: 188px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(27, 136, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #eef5ff, #f8fbff);
}

.home-proposal-service-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-proposal-service-row-body {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding: 0.1rem 0;
}

.home-proposal-service-row-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.home-proposal-service-row-mode {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: #f1f6fb;
  color: #466481;
  font-size: 0.75rem;
  font-weight: 700;
}

.home-proposal-service-row-body h3 {
  margin: 0;
  color: #10233a;
  font-size: 1.16rem;
  line-height: 1.2;
}

.home-proposal-service-row-body p {
  margin: 0;
  color: #5d7388;
  font-size: 0.93rem;
  line-height: 1.55;
  max-width: 64ch;
}

.home-proposal-service-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-proposal-service-points li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: #f6f9fc;
  color: #274563;
  font-size: 0.82rem;
  line-height: 1.2;
}

.home-proposal-service-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.home-proposal-cta-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem;
  background:
    linear-gradient(135deg, rgba(11, 20, 36, 0.98), rgba(18, 44, 78, 0.96));
  border-color: rgba(255, 255, 255, 0.08);
}

.home-proposal-cta-shell h2 {
  margin: 0;
  max-width: 18ch;
  color: #fff;
  line-height: 1.02;
}

.home-proposal-cta-actions {
  display: grid;
  gap: 0.9rem;
  justify-items: end;
}

.home-proposal-cta-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
}

.home-proposal-cta-socials a {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

body.theme-public .home-proposal .button-secondary-light {
  background: #fff;
  color: var(--ink-dark);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.9fr 0.8fr 0.9fr;
}

@media (max-width: 1100px) {
  .public-catalog-layout {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .public-product-grid {
    grid-template-columns: repeat(3, minmax(0, 246px));
    justify-content: center;
  }

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

  .public-service-intro-layout {
    grid-template-columns: 1fr;
  }

  .public-service-intro-points {
    justify-content: flex-start;
  }

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

  .public-about-grid,
  .public-about-grid-wide {
    grid-template-columns: 1fr;
  }

  .public-about-hero,
  .public-about-work-grid {
    grid-template-columns: 1fr;
  }

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

  .public-contact-hero,
  .public-contact-grid {
    grid-template-columns: 1fr;
  }

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

  .public-product-modal-layout {
    grid-template-columns: 1fr;
  }

  .home-proposal-showcase-grid,
  .home-proposal-product-grid,
  .home-proposal-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-proposal-service-row {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .public-footer-shell {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 980px) {
  :root {
    --public-mobile-header-offset: 96px;
  }

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

  body.catalog-filters-open {
    overflow: hidden;
  }

  .public-catalog-filter-toggle {
    display: inline-flex;
    justify-self: start;
    min-height: 42px;
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }

  .public-catalog-sidebar-backdrop {
    position: fixed;
    top: var(--public-mobile-header-offset);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 114;
    display: block;
    border: 0;
    background: rgba(8, 17, 29, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .public-catalog-sidebar {
    position: fixed;
    top: calc(var(--public-mobile-header-offset) + 0.35rem);
    left: 0.75rem;
    bottom: 0.75rem;
    width: min(88vw, 360px);
    max-width: calc(100vw - 1.5rem);
    z-index: 115;
    overflow-y: auto;
    transform: translateX(calc(-100% - 1rem));
    transition: transform 0.24s ease;
    box-shadow: 0 24px 70px rgba(12, 24, 40, 0.18);
    border-radius: 28px;
  }

  .public-catalog-sidebar.is-open {
    transform: translateX(0);
  }

  .public-catalog-layout.is-filter-open .public-catalog-sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .public-catalog-sidebar-close {
    display: inline-flex;
  }

  .public-product-grid {
    grid-template-columns: repeat(2, minmax(0, 246px));
  }

  .public-service-grid {
    grid-template-columns: 1fr;
  }

  .public-service-intro-points {
    align-items: stretch;
  }

  .public-cases-grid,
  .public-case-support-grid {
    grid-template-columns: 1fr;
  }

  .public-about-intro-tags {
    align-items: stretch;
  }

  .public-about-hero-stats,
  .public-about-feature-grid {
    grid-template-columns: 1fr;
  }

  .public-about-contact-stack span {
    width: 100%;
  }

  .public-contact-shell {
    gap: 0.9rem;
  }

  .public-contact-channel-grid,
  .public-contact-form-grid {
    grid-template-columns: 1fr;
  }

  .public-contact-hero-actions,
  .public-contact-form-actions {
    align-items: stretch;
  }

  .public-contact-hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  .public-about-mini-stats {
    grid-template-columns: 1fr;
  }

  .public-catalog-results-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .public-catalog-sorter-shell {
    width: 100%;
    justify-items: stretch;
  }

  .public-product-modal-media {
    min-height: 280px;
  }

  .public-product-modal-body {
    grid-template-columns: 1fr;
  }

  .public-service-modal-layout,
  .public-service-modal-body {
    grid-template-columns: 1fr;
  }

  .public-case-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-proposal-hero-layout,
  .home-proposal-section-head,
  .home-proposal-cta-shell {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .home-proposal-hero {
    min-height: 360px;
    background:
      linear-gradient(180deg, rgba(9, 16, 31, 0.9) 0%, rgba(9, 16, 31, 0.82) 52%, rgba(9, 16, 31, 0.72) 100%),
      radial-gradient(circle at top left, rgba(29, 215, 255, 0.14), transparent 24%),
      url("../images/software1.jpg") center center / cover no-repeat;
  }

  .home-proposal-copy {
    width: min(100%, 100%);
  }

  .home-proposal-action-card,
  .home-proposal-cta-actions {
    width: 100%;
  }

  .home-proposal-cta-actions {
    justify-items: stretch;
  }

  .home-proposal-cta-socials {
    justify-content: flex-start;
  }

  .home-proposal-service-row {
    grid-template-columns: 1fr;
  }

  .home-proposal-service-row-media {
    min-height: 180px;
  }

  .public-footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .home-proposal-kicker {
    display: none;
  }

  .home-proposal-lead {
    display: none;
  }
}

@media (max-width: 640px) {
  .public-catalog-searchbar,
  .public-catalog-sidebar {
    padding: 0.85rem;
  }

  .public-catalog-filter-toggle {
    width: 100%;
    justify-self: stretch;
  }

  .public-catalog-search-input {
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 0.55rem;
  }

  .public-catalog-search-input input {
    min-height: 48px;
    padding: 0 0.9rem;
  }

  .public-catalog-search-submit {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .public-catalog-search-suggestions {
    gap: 0.45rem;
  }

  .public-catalog-suggestion-list {
    gap: 0.45rem;
  }

  .public-catalog-sidebar-head {
    align-items: flex-start;
  }

  .public-product-card-actions {
    align-items: stretch;
  }

  .public-service-card-actions {
    grid-template-columns: 1fr;
  }

  .public-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .public-service-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .public-cases-grid,
  .public-case-support-grid {
    gap: 0.8rem;
  }

  .public-about-shell {
    gap: 0.85rem;
  }

  .public-about-hero-copy,
  .public-about-hero-side,
  .public-about-feature-card,
  .public-about-work-card {
    padding: 0.9rem;
  }

  .public-contact-shell {
    gap: 0.85rem;
  }

  .public-product-card {
    padding: 0.75rem;
  }

  .public-service-card {
    padding: 0.78rem;
  }

  .public-service-intro {
    padding: 0.9rem;
  }

  .public-case-card,
  .public-case-support {
    padding: 0.8rem;
  }

  .public-about-card {
    padding: 0.85rem;
  }

  .public-about-hero-copy h1 {
    max-width: none;
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .public-about-hero-brand {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .public-about-hero-brand img {
    width: 60px;
    height: 60px;
  }

  .public-contact-hero-card,
  .public-contact-channel-card,
  .public-contact-direct-card,
  .public-contact-form-card {
    padding: 0.9rem;
  }

  .public-product-card-media {
    height: 132px;
  }

  .public-service-card-media {
    height: 164px;
  }

  .public-service-intro-points span {
    width: 100%;
    justify-content: center;
  }

  .public-case-card-media {
    height: 180px;
  }

  .public-product-card-footer {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    justify-items: center;
  }

  .public-product-price-band {
    justify-self: center;
  }

  .public-product-qty-box {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    width: 100%;
    max-width: 142px;
    gap: 0.35rem;
    justify-content: stretch;
    justify-self: center;
  }

  .public-product-qty-step {
    width: auto;
    height: 32px;
    min-width: 0;
    border-radius: 10px;
  }

  .public-contact-socials {
    gap: 0.55rem;
  }

  .public-contact-socials a {
    width: 100%;
    justify-content: center;
  }

  .public-contact-process-step {
    grid-template-columns: 1fr;
  }

  .public-about-socials-strong a {
    width: 100%;
    justify-content: center;
  }

  .public-product-card-title {
    font-size: 0.92rem;
    min-height: 2.35em;
  }

  .public-catalog-sorter-box,
  .public-product-card-actions .button {
    min-height: 38px;
  }

  .public-product-card-actions .button {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    font-size: 0.84rem;
  }

  .public-product-qty-input {
    flex: 1 1 auto;
    width: 100%;
    min-height: 32px;
    min-width: 0;
    padding: 0 0.45rem;
    max-width: none;
  }

  .public-pagination-bar {
    padding-top: 0.75rem;
  }

  .public-pagination-bar .pagination-nav {
    gap: 0.3rem;
  }

  .public-pagination-bar .page-number-row {
    gap: 0.3rem;
    max-width: calc(100vw - 5.5rem);
  }

  .public-pagination-bar .page-link,
  .public-pagination-bar .page-link-arrow {
    min-width: 32px;
    min-height: 32px;
    font-size: 0.9rem;
  }

  .public-pagination-bar .page-link-arrow {
    width: 32px;
  }

  .public-product-modal-panel {
    padding: 1rem;
    border-radius: 24px;
  }

  .public-service-modal-panel {
    padding: 1rem;
    border-radius: 24px;
  }

  .public-product-modal-media {
    min-height: 220px;
    border-radius: 20px;
  }

  .public-service-modal-media {
    min-height: 220px;
    border-radius: 20px;
  }

  .public-product-modal-meta div,
  .public-product-modal-block {
    padding: 0.9rem;
  }

  .public-service-modal-meta div {
    padding: 0.9rem;
  }

  .home-proposal-hero-layout {
    padding-top: 1.5rem;
    padding-bottom: 1.6rem;
  }

  .home-proposal-copy h1 {
    max-width: none;
    font-size: clamp(1.65rem, 8.2vw, 2.35rem);
  }

  .home-proposal-actions,
  .home-proposal-signals,
  .home-proposal-cta-socials {
    flex-direction: column;
    align-items: stretch;
  }

  .brand-public-copy strong {
    font-size: 0.86rem;
  }

  .home-proposal-showcase-grid,
  .home-proposal-product-grid,
  .home-proposal-service-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .public-footer-brand-panel,
  .public-footer-card {
    border-radius: 22px;
  }

  .public-footer-brand-panel,
  .public-footer-card {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .home-proposal-showcase-tile {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 104px;
  }

  .home-proposal-showcase-info {
    padding: 0.9rem;
  }

  .home-proposal-showcase-info strong {
    font-size: 1.28rem;
  }

  .home-proposal-product-card-spotlight {
    padding: 0.75rem;
  }

  .home-proposal-product-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-proposal-service-card-spotlight {
    padding: 0.75rem;
  }

  .home-proposal-service-footer {
    gap: 0.45rem;
  }

  .home-proposal-service-row {
    padding: 0.8rem;
    border-radius: 20px;
    gap: 0.8rem;
  }

  .home-proposal-service-row-media {
    min-height: 156px;
    border-radius: 16px;
  }

  .home-proposal-service-row-body {
    gap: 0.6rem;
  }

  .home-proposal-service-row-top {
    justify-content: flex-start;
  }

  .home-proposal-service-row-body h3 {
    font-size: 1rem;
  }

  .home-proposal-service-row-body p {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .home-proposal-service-points li {
    min-height: 30px;
    padding: 0 0.75rem;
    font-size: 0.76rem;
  }

  .public-footer-social {
    min-height: 36px;
    padding: 0 0.8rem;
    font-size: 0.82rem;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
}

.return-sale-preview {
  border: 1px solid rgba(62, 132, 227, 0.18);
  background:
    linear-gradient(135deg, rgba(9, 32, 58, 0.96), rgba(26, 77, 143, 0.88)),
    linear-gradient(125deg, rgba(255, 255, 255, 0.06), transparent 48%);
  color: rgba(241, 246, 255, 0.96);
}

.return-sale-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.return-sale-preview-grid strong,
.return-sale-preview-grid span,
.return-sale-preview-note {
  color: inherit;
}

.return-sale-preview-grid strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.72;
  margin-bottom: 0.3rem;
}

.return-sale-preview-grid span {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

.return-sale-preview-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  opacity: 0.86;
}

.return-lines-shell {
  display: grid;
  gap: 1rem;
}

.return-repair-flow-note {
  border: 1px solid rgba(41, 146, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(6, 21, 43, 0.96), rgba(18, 49, 92, 0.94));
  color: rgba(241, 247, 255, 0.92);
  box-shadow: 0 18px 38px rgba(8, 22, 44, 0.18);
}

.return-repair-flow-note strong {
  color: #ffffff;
}

.return-repair-flow-note p {
  margin: 0.35rem 0;
  color: rgba(224, 235, 255, 0.88);
}

.return-lines-grid {
  display: grid;
  gap: 0.9rem;
}

.return-line-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(198, 212, 233, 0.9);
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.92));
  box-shadow: 0 18px 36px rgba(14, 29, 55, 0.06);
}

.return-line-main strong,
.return-line-side span,
.return-summary-grid strong,
.return-summary-grid span,
.return-detail-item strong,
.return-detail-item span {
  color: #0c2342;
}

.return-line-main strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.return-line-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  font-size: 0.86rem;
  color: #516884;
}

.return-line-side {
  display: grid;
  justify-items: end;
  gap: 0.75rem;
}

.return-line-helper {
  font-size: 0.78rem;
  color: #607895;
}

.return-line-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.25rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(22, 113, 233, 0.1);
  color: #1261c8;
  font-weight: 700;
}

.return-qty-field {
  display: grid;
  gap: 0.45rem;
  justify-items: end;
}

.return-qty-field span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #607895;
}

.return-qty-field input {
  width: 120px;
  text-align: center;
}

.return-tracking-shell {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding: 0.9rem 0.95rem;
  border-radius: 1rem;
  border: 1px dashed rgba(95, 132, 179, 0.3);
  background: rgba(244, 249, 255, 0.92);
}

.return-tracking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.return-tracking-head strong {
  color: #0c2342;
  font-size: 0.84rem;
}

.return-tracking-head small {
  color: #607895;
  font-size: 0.76rem;
}

.return-tracking-list {
  display: grid;
  gap: 0.55rem;
}

.return-tracking-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding: 0.7rem 0.8rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(205, 219, 238, 0.85);
  background: rgba(255, 255, 255, 0.96);
  cursor: pointer;
}

.return-tracking-item input {
  margin-top: 0.22rem;
}

.return-tracking-item span {
  display: grid;
  gap: 0.18rem;
}

.return-tracking-item strong {
  color: #0c2342;
  font-size: 0.82rem;
}

.return-tracking-item small {
  color: #607895;
  font-size: 0.74rem;
}

.return-summary-panel {
  padding: 1rem 1.15rem;
  border-radius: 1.2rem;
  border: 1px dashed rgba(95, 132, 179, 0.35);
  background: linear-gradient(180deg, rgba(245, 249, 255, 0.95), rgba(236, 244, 255, 0.88));
}

.return-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.return-summary-grid > div {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(198, 212, 233, 0.82);
}

.return-summary-grid strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #607895;
  margin-bottom: 0.35rem;
}

.return-summary-grid span {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.return-detail-items {
  display: grid;
  gap: 0.8rem;
}

.return-detail-item {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(210, 223, 239, 0.84);
  background: rgba(255, 255, 255, 0.92);
}

.return-detail-item strong {
  font-size: 0.94rem;
}

.return-detail-item span {
  font-size: 0.88rem;
  color: #607895;
}

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

  .return-line-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .return-line-side,
  .return-qty-field {
    justify-items: start;
  }

  .return-tracking-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .return-sale-preview-grid,
  .return-summary-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .return-line-price {
    min-width: 0;
  }
}

.suppliers-admin-head,
.purchases-admin-head,
.inventory-admin-head {
  background:
    radial-gradient(circle at top right, rgba(48, 201, 255, 0.2), transparent 28%),
    linear-gradient(120deg, rgba(10, 24, 42, 0.98), rgba(14, 57, 104, 0.96));
}

.supplier-detail-shell {
  display: grid;
  gap: 1rem;
}

.supplier-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.supplier-detail-grid article,
.supplier-detail-block {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(205, 219, 238, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.95));
}

.supplier-detail-grid span,
.supplier-detail-block h3 {
  display: block;
  margin-bottom: 0.35rem;
  color: #607895;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.supplier-detail-grid strong,
.supplier-detail-columns strong {
  color: #0c2342;
  font-size: 1rem;
}

.supplier-detail-grid small,
.supplier-detail-columns span,
.supplier-detail-block p {
  color: #607895;
  font-size: 0.86rem;
  line-height: 1.55;
}

.supplier-detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.supplier-detail-columns > div {
  display: grid;
  gap: 0.3rem;
}

.inventory-head-actions {
  justify-content: center;
  gap: 0.85rem;
}

.modal-product-panel > form.purchase-admin-form,
.purchase-admin-form,
.purchase-admin-form .form-section,
.purchase-detail-section {
  width: 100%;
  max-width: 100%;
}

.purchase-builder {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.purchase-builder-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(202, 217, 235, 0.9);
  border-radius: 1.15rem;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(239, 246, 255, 0.94));
}

.purchase-builder-toolbar-main {
  display: grid;
  gap: 0.9rem;
  flex: 1 1 auto;
}

.purchase-item-search {
  width: min(100%, 780px);
}

.purchase-item-search .sale-search-input {
  min-height: 50px;
}

.purchase-scan-stack {
  display: grid;
  gap: 0.42rem;
  max-width: min(100%, 760px);
}

.purchase-scan-stack > span {
  color: #0e325b;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.purchase-scan-stack > small {
  color: #607895;
  line-height: 1.45;
}

.purchase-scan-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.purchase-scan-control input {
  min-width: 0;
  min-height: 48px;
}

.purchase-scan-control .button {
  min-width: 136px;
}

.purchase-scan-feedback {
  margin: 0;
  padding: 0.82rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(11, 124, 255, 0.14);
  background: rgba(11, 124, 255, 0.06);
  color: #315577;
  font-weight: 700;
}

.purchase-scan-feedback[hidden] {
  display: none !important;
}

.purchase-scan-feedback.is-success {
  border-color: rgba(43, 138, 62, 0.16);
  background: rgba(43, 138, 62, 0.08);
  color: #2b8a3e;
}

.purchase-scan-feedback.is-error {
  border-color: rgba(220, 38, 38, 0.16);
  background: rgba(254, 242, 242, 0.92);
  color: #b91c1c;
}

.purchase-builder-summary {
  display: grid;
  justify-items: end;
  gap: 0.15rem;
}

.purchase-builder-summary span {
  color: #0e325b;
  font-size: 1.3rem;
  font-weight: 700;
}

.purchase-builder-summary small {
  color: #607895;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.purchase-detail-cards {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  min-height: 82px;
  padding: 0.8rem;
  border: 1px solid rgba(73, 149, 255, 0.13);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(235, 247, 255, 0.96), rgba(255, 255, 255, 0.98)),
    #f7fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.purchase-empty-row {
  width: 100%;
}

.purchase-empty-row .empty-state {
  width: 100%;
  min-height: 64px;
  display: grid;
  place-items: center;
}

.purchase-line-card {
  display: grid;
  grid-template-columns: minmax(270px, 1fr) 96px 132px 118px auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.72rem;
  border: 1px solid rgba(18, 53, 88, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f9fcff);
  box-shadow: 0 14px 30px rgba(38, 64, 89, 0.06);
}

.purchase-line-product {
  min-width: 0;
}

.purchase-line-field {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.purchase-line-field > span,
.purchase-line-total > span {
  color: #687b93;
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.purchase-line-field input,
.purchase-line-description input {
  min-width: 0;
  min-height: 42px;
  border-radius: 12px;
  background-color: #ffffff;
}

.purchase-line-total {
  display: grid;
  gap: 0.25rem;
  align-self: stretch;
  align-content: center;
  min-height: 44px;
  padding: 0.42rem 0.85rem;
  border-radius: 14px;
  background: #f0f7ff;
  border: 1px solid rgba(11, 124, 255, 0.12);
}

.purchase-line-total strong {
  color: #10233a;
  font-size: 1.02rem;
  line-height: 1.12;
}

.purchase-line-remove {
  min-height: 42px;
  border-radius: 999px;
  white-space: nowrap;
}

.purchase-line-description {
  display: grid;
  gap: 0.35rem;
}

.purchase-line-description > strong {
  color: #10243d;
  font-size: 0.9rem;
  line-height: 1.25;
}

.purchase-line-description small {
  color: #607895;
  font-size: 0.78rem;
}

.cash-shell {
  display: grid;
  gap: 1.1rem;
}

.cash-admin-head {
  background:
    radial-gradient(circle at left center, rgba(255, 191, 63, 0.12), transparent 18%),
    radial-gradient(circle at right center, rgba(29, 215, 255, 0.12), transparent 20%),
    linear-gradient(135deg, #07182c, #0f2a46 60%, #091322 100%);
}

.cash-session-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.2rem;
  border-radius: 1.3rem;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.1), transparent 20%),
    radial-gradient(circle at bottom left, rgba(255, 191, 63, 0.09), transparent 18%),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.cash-session-hero h2,
.cash-session-balance strong {
  margin: 0;
  color: var(--ink-dark);
}

.cash-session-hero span,
.cash-session-balance small {
  color: var(--muted-dark);
}

.cash-session-balance {
  display: grid;
  justify-items: end;
  gap: 0.2rem;
}

.cash-history-overview {
  display: grid;
  gap: 1rem;
}

.cash-history-overview-copy {
  display: grid;
  gap: 0.3rem;
}

.cash-history-overview-copy h2 {
  margin: 0;
  color: var(--ink-dark);
}

.cash-history-overview-copy span {
  color: var(--muted-dark);
}

.cash-history-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.cash-session-hero-modern {
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.1), transparent 24%),
    radial-gradient(circle at bottom left, rgba(255, 191, 63, 0.12), transparent 20%),
    linear-gradient(180deg, #ffffff, #f5f9ff);
}

.cash-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1.1rem;
  align-items: stretch;
}

.cash-dashboard-ledger,
.cash-dashboard-chart-card {
  border: 1px solid rgba(19, 33, 53, 0.08);
  border-radius: 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 249, 255, 0.97));
  box-shadow: 0 20px 40px rgba(16, 33, 56, 0.08);
}

.cash-dashboard-table {
  display: grid;
}

.cash-dashboard-row,
.cash-dashboard-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(19, 33, 53, 0.08);
}

.cash-dashboard-total:last-child {
  border-bottom: 0;
}

.cash-dashboard-label {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.cash-dashboard-label strong,
.cash-dashboard-total strong {
  color: var(--ink-dark);
  font-size: 0.98rem;
}

.cash-dashboard-row > span,
.cash-dashboard-total > span {
  color: #102845;
  font-weight: 800;
}

.cash-dashboard-total-income strong,
.cash-dashboard-total-income > span {
  color: #228a45;
}

.cash-dashboard-total-expense strong,
.cash-dashboard-total-expense > span {
  color: #d0332f;
}

.cash-dashboard-total-expected strong,
.cash-dashboard-total-expected > span {
  color: #0893c6;
}

.cash-dashboard-dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex: 0 0 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.cash-dashboard-chart-card {
  display: grid;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
}

.cash-dashboard-chart-head {
  display: grid;
  gap: 0.3rem;
}

.cash-dashboard-chart-head h2 {
  margin: 0;
  color: var(--ink-dark);
}

.cash-dashboard-chart-head span {
  color: var(--muted-dark);
}

.cash-dashboard-chart-shell {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.cash-dashboard-chart {
  position: relative;
  width: min(100%, 310px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cash-chart, conic-gradient(#dfeaf6 0 100%));
  box-shadow: inset 0 0 0 1px rgba(16, 33, 56, 0.06);
}

.cash-dashboard-chart::after {
  content: "";
  position: absolute;
  inset: 23%;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #f6faff);
  box-shadow: inset 0 0 0 1px rgba(16, 33, 56, 0.06);
}

.cash-dashboard-chart-center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.25rem;
}

.cash-dashboard-chart-center small {
  color: var(--muted-dark);
  font-weight: 700;
}

.cash-dashboard-chart-center strong {
  color: var(--ink-dark);
  font-size: clamp(1rem, 2vw, 1.45rem);
}

.cash-dashboard-chart-legend {
  display: grid;
  width: 100%;
  gap: 0.75rem;
}

.cash-dashboard-legend-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.cash-dashboard-legend-item strong {
  display: block;
  color: var(--ink-dark);
}

.cash-dashboard-legend-item small {
  color: var(--muted-dark);
}

.cash-dashboard-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.cash-dashboard-pill {
  display: grid;
  gap: 0.3rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(11, 124, 255, 0.12);
  background: rgba(246, 250, 255, 0.95);
}

.cash-dashboard-pill span {
  color: #5a6d82;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cash-dashboard-pill strong {
  color: var(--ink-dark);
  font-size: 1.02rem;
}

.cash-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.cash-summary-card {
  padding: 1rem 1.05rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 254, 0.96));
}

.cash-summary-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: #5a6d82;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cash-summary-card strong {
  color: var(--ink-dark);
  font-size: 1.12rem;
}

.cash-method-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cash-method-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 124, 255, 0.16);
  background: rgba(11, 124, 255, 0.07);
  color: #0e4c8f;
  font-weight: 700;
}

.cash-panel-head {
  display: grid;
  gap: 0.25rem;
}

.cash-panel-head h2 {
  margin: 0;
  color: var(--ink-dark);
}

.cash-panel-head span {
  color: var(--muted-dark);
}

.cash-amount-positive {
  color: #1f8f4b;
}

.cash-amount-negative {
  color: #c92a2a;
}

.cash-close-preview,
.cash-receivable-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.cash-close-preview article,
.cash-receivable-summary article {
  padding: 1rem 1.05rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 254, 0.96));
}

.cash-close-preview span,
.cash-receivable-summary span {
  display: block;
  margin-bottom: 0.35rem;
  color: #5a6d82;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cash-close-preview strong,
.cash-receivable-summary strong {
  color: var(--ink-dark);
}

.cash-close-preview small,
.cash-receivable-summary small {
  color: var(--muted-dark);
}

.cash-close-methods {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
}

.cash-close-methods h3 {
  margin: 0;
  color: var(--ink-dark);
  font-size: 1rem;
}

.cash-close-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.cash-close-method-card {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(11, 124, 255, 0.14);
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.98), rgba(236, 245, 255, 0.92));
}

.cash-close-method-card span {
  color: #4f6680;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cash-close-method-card strong {
  color: var(--ink-dark);
  font-size: 1.05rem;
}

.cash-close-method-card small {
  color: var(--muted-dark);
}

.cash-receivable-lines {
  display: grid;
  gap: 0.8rem;
}

.cash-receivable-line {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: rgba(247, 251, 255, 0.96);
}

.cash-receivable-line strong {
  color: var(--ink-dark);
}

.cash-receivable-line span {
  color: var(--muted-dark);
}

.cash-movement-help {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px dashed rgba(19, 33, 53, 0.14);
  background: rgba(246, 250, 255, 0.95);
  color: var(--muted-dark);
  font-size: 0.92rem;
  line-height: 1.55;
}

.cash-movement-balance {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(11, 124, 255, 0.14);
  background: rgba(232, 244, 255, 0.9);
  color: #0c2342;
  font-size: 0.92rem;
}

.cash-movement-balance strong {
  color: #0b5bc0;
}

.cash-movement-balance.is-warning {
  border-color: rgba(201, 42, 42, 0.18);
  background: rgba(255, 242, 242, 0.94);
  color: #a61e1e;
}

.cash-close-preview [data-cash-close-difference] {
  transition: color 0.18s ease;
}

.cash-session-detail-shell {
  display: grid;
  gap: 1rem;
}

.cash-close-preview-detail {
  margin-top: 0.2rem;
}

.sale-quick-scan-feed {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.95rem;
}

.sale-scan-chip {
  display: grid;
  gap: 0.2rem;
  min-width: 220px;
  padding: 0.8rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94));
  box-shadow: 0 14px 28px rgba(15, 42, 70, 0.06);
}

.sale-scan-chip strong {
  color: var(--ink-dark);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sale-scan-chip span {
  color: var(--muted-dark);
  font-size: 0.9rem;
  line-height: 1.45;
}

.sale-scan-chip.is-success {
  border-color: rgba(43, 138, 62, 0.16);
  background: linear-gradient(180deg, rgba(240, 255, 245, 0.98), rgba(232, 250, 239, 0.94));
}

.sale-scan-chip.is-info {
  border-color: rgba(11, 124, 255, 0.14);
  background: linear-gradient(180deg, rgba(239, 247, 255, 0.98), rgba(232, 244, 255, 0.94));
}

.sale-scan-chip.is-danger,
.sale-scan-chip.is-warning {
  border-color: rgba(201, 42, 42, 0.16);
  background: linear-gradient(180deg, rgba(255, 245, 245, 0.98), rgba(255, 239, 239, 0.94));
}

.warranty-board-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.1rem 0 1.2rem;
}

.warranty-board-card {
  padding: 1rem 1.05rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 254, 0.96));
}

.warranty-board-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: #607895;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.warranty-board-card strong {
  display: block;
  color: #0c2342;
  font-size: 1.18rem;
}

.warranty-board-card small {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted-dark);
  line-height: 1.45;
}

.warranty-board-card.is-danger {
  border-color: rgba(201, 42, 42, 0.18);
  background: linear-gradient(180deg, rgba(255, 246, 246, 0.98), rgba(255, 238, 238, 0.94));
}

.warranty-technician-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1.15rem;
}

.warranty-technician-card {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: rgba(247, 251, 255, 0.96);
}

.warranty-technician-card strong {
  color: #0c2342;
}

.warranty-technician-card span {
  color: var(--muted-dark);
  font-size: 0.9rem;
}

.warranty-inline-alert {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 191, 63, 0.16);
  color: #8b5e00;
  font-size: 0.76rem;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .warranty-board-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .cash-close-preview,
  .cash-receivable-summary,
  .warranty-board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .warranty-technician-strip {
    grid-template-columns: 1fr;
  }

  .sale-quick-scan-feed {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sale-scan-chip {
    min-width: 0;
  }

  .cash-close-preview,
  .cash-receivable-summary,
  .warranty-board-grid {
    grid-template-columns: 1fr;
  }
}

.purchase-totals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.purchase-totals-grid article {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(205, 219, 238, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.95));
}

.purchase-totals-grid span,
.purchase-detail-grid span,
.purchase-detail-totals span {
  display: block;
  margin-bottom: 0.35rem;
  color: #607895;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.purchase-totals-grid strong,
.purchase-detail-grid strong,
.purchase-detail-totals strong {
  color: #0c2342;
  font-size: 1rem;
}

.purchase-detail-shell {
  display: grid;
  gap: 1rem;
}

.purchase-detail-note {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(205, 219, 238, 0.9);
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.98), rgba(236, 244, 255, 0.94));
}

.purchase-detail-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #0c2342;
  font-size: 0.95rem;
}

.purchase-detail-note p {
  margin: 0;
  color: #607895;
  font-size: 0.9rem;
  line-height: 1.65;
}

.purchase-detail-grid,
.purchase-detail-totals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.purchase-detail-grid article,
.purchase-detail-totals article {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(205, 219, 238, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.95));
}

.purchase-detail-grid small {
  color: #607895;
  font-size: 0.8rem;
}

.purchase-detail-lines {
  display: grid;
  gap: 0.8rem;
}

.purchase-detail-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(205, 219, 238, 0.9);
  background: rgba(255, 255, 255, 0.96);
}

.purchase-detail-item strong {
  display: block;
  color: #0c2342;
}

.purchase-detail-item small {
  color: #607895;
  font-size: 0.8rem;
}

.purchase-detail-item-side {
  display: grid;
  justify-items: end;
  gap: 0.25rem;
}

.purchase-detail-item-side span {
  margin: 0;
}

.detail-tracking-shell {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.95rem;
  border: 1px dashed rgba(11, 124, 255, 0.18);
  background: rgba(244, 249, 255, 0.92);
}

.detail-tracking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.detail-tracking-head strong {
  color: #0c2342;
  font-size: 0.86rem;
}

.detail-tracking-head small {
  color: #607895;
  font-size: 0.76rem;
}

.detail-tracking-list {
  display: grid;
  gap: 0.55rem;
}

.detail-tracking-item {
  display: grid;
  gap: 0.18rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(205, 219, 238, 0.85);
  background: rgba(255, 255, 255, 0.96);
}

.detail-tracking-item strong {
  color: #0c2342;
  font-size: 0.82rem;
}

.detail-tracking-item small {
  color: #607895;
  font-size: 0.74rem;
}

.detail-tracking-empty {
  padding: 0.85rem 0.95rem;
  border-radius: 0.9rem;
  border: 1px dashed rgba(205, 219, 238, 0.9);
  color: #607895;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.94);
}

.inventory-kardex-panel {
  margin-top: 1rem;
}

.inventory-restock-board {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.inventory-restock-highlight {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
}

.inventory-restock-highlight-copy {
  display: grid;
  gap: 0.4rem;
}

.inventory-restock-highlight-copy h2 {
  margin: 0;
  color: #0c2342;
}

.inventory-restock-highlight-copy span {
  color: #607895;
  font-size: 0.94rem;
}

.inventory-restock-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.inventory-restock-metrics article,
.inventory-restock-item,
.inventory-detail-restock-note {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(205, 219, 238, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.95));
}

.inventory-restock-metrics span {
  display: block;
  margin-bottom: 0.35rem;
  color: #607895;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inventory-restock-metrics strong {
  color: #0c2342;
  font-size: 1.2rem;
}

.inventory-restock-list {
  display: grid;
  gap: 0.9rem;
}

.inventory-restock-item {
  display: grid;
  gap: 0.9rem;
}

.inventory-restock-item-main {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.inventory-restock-item-main strong {
  color: #0c2342;
  font-size: 1rem;
}

.inventory-restock-item-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.inventory-restock-item-grid article span,
.inventory-detail-restock-note strong {
  display: block;
  margin-bottom: 0.28rem;
  color: #607895;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inventory-restock-item-grid article strong,
.inventory-detail-restock-note span {
  color: #0c2342;
  font-size: 0.93rem;
}

.inventory-restock-item-actions {
  display: flex;
  justify-content: flex-end;
}

.inventory-detail-shell {
  display: grid;
  gap: 1rem;
}

.inventory-detail-grid,
.inventory-detail-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.inventory-detail-grid article,
.inventory-detail-stats article,
.inventory-form-context article {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(205, 219, 238, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.95));
}

.inventory-detail-grid span,
.inventory-detail-stats span,
.inventory-form-context span {
  display: block;
  margin-bottom: 0.35rem;
  color: #607895;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inventory-detail-grid strong,
.inventory-detail-stats strong,
.inventory-form-context strong {
  color: #0c2342;
  font-size: 1rem;
}

.inventory-detail-grid small,
.inventory-form-context small {
  color: #607895;
  font-size: 0.82rem;
}

.inventory-cycle-board {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.inventory-cycle-highlight {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
}

.inventory-cycle-highlight-copy {
  display: grid;
  gap: 0.4rem;
}

.inventory-cycle-highlight-copy h2,
.inventory-cycle-panel h2 {
  margin: 0;
  color: #0c2342;
}

.inventory-cycle-highlight-copy span,
.inventory-cycle-panel .panel-head span {
  color: #607895;
  font-size: 0.94rem;
}

.inventory-cycle-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.inventory-cycle-metrics article,
.inventory-count-line,
.inventory-count-warning,
.inventory-count-detail-context article {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(205, 219, 238, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.95));
}

.inventory-cycle-metrics span,
.inventory-count-detail-context span,
.inventory-count-line-grid article span,
.inventory-count-lines-head span {
  display: block;
  margin-bottom: 0.35rem;
  color: #607895;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inventory-cycle-metrics strong,
.inventory-count-detail-context strong,
.inventory-count-line-grid article strong {
  color: #0c2342;
  font-size: 1.02rem;
}

.inventory-count-progress {
  display: grid;
  gap: 0.35rem;
}

.inventory-count-detail-context {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.inventory-count-detail-context small,
.inventory-count-line-main small,
.inventory-count-lines-head strong {
  color: #607895;
  font-size: 0.84rem;
}

.inventory-count-warning {
  margin-bottom: 1rem;
  border-style: dashed;
  color: #385271;
  line-height: 1.55;
}

.inventory-count-warning strong {
  color: #0c2342;
}

.inventory-count-scope-note {
  display: grid;
  gap: 0.3rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(192, 210, 231, 0.95);
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.98), rgba(238, 246, 255, 0.92));
}

.inventory-count-scope-note strong {
  color: #0c2342;
  font-size: 0.95rem;
}

.inventory-count-scope-note p {
  margin: 0;
  color: #607895;
  font-size: 0.85rem;
  line-height: 1.55;
}

.inventory-count-lines-head {
  display: grid;
  gap: 0.25rem;
  margin: 0.35rem 0 0.85rem;
}

.inventory-count-lines-head strong,
.inventory-count-line-main strong {
  color: #0c2342;
}

.inventory-count-lines {
  display: grid;
  gap: 0.9rem;
  max-height: 420px;
  overflow: auto;
  padding-right: 0.25rem;
}

.inventory-count-line {
  display: grid;
  gap: 0.85rem;
}

.inventory-count-line-main {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.inventory-count-line-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: end;
}

.inventory-count-line-grid .field {
  margin: 0;
}

.inventory-count-diff-pill {
  min-height: 100%;
}

.inventory-count-diff-pill strong {
  display: block;
}

.inventory-form-context {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.empty-state.compact {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
}

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

  .purchase-detail-grid,
  .purchase-detail-totals,
  .inventory-detail-grid,
  .inventory-detail-stats,
  .inventory-cycle-highlight,
  .inventory-count-detail-context,
  .inventory-restock-highlight,
  .inventory-restock-item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .purchase-builder-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .purchase-detail-cards {
    padding: 0.65rem;
  }

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

  .purchase-line-total,
  .purchase-line-remove {
    width: 100%;
  }

  .cash-session-hero,
  .cash-close-preview,
  .cash-receivable-summary,
  .cash-summary-grid,
  .cash-dashboard,
  .cash-dashboard-strip,
  .cash-history-stats {
    grid-template-columns: 1fr;
  }

  .purchase-scan-stack {
    width: 100%;
    max-width: none;
  }

  .purchase-scan-control {
    grid-template-columns: 1fr;
  }

  .purchase-scan-control .button {
    width: 100%;
    min-width: 0;
  }

  .supplier-detail-grid,
  .supplier-detail-columns,
  .purchase-totals-grid,
  .purchase-detail-grid,
  .purchase-detail-totals,
  .inventory-detail-grid,
  .inventory-detail-stats,
  .inventory-count-detail-context,
  .inventory-count-line-grid,
  .inventory-form-context,
  .inventory-cycle-highlight,
  .inventory-cycle-metrics,
  .inventory-restock-highlight,
  .inventory-restock-item-grid,
  .inventory-restock-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .inventory-count-line-main,
  .inventory-restock-item-main,
  .inventory-restock-item-actions {
    align-items: start;
    flex-direction: column;
  }

  .purchase-builder-summary {
    justify-items: start;
  }

  .purchase-detail-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .purchase-detail-item-side {
    justify-items: start;
  }
}

.client-detail-shell {
  display: grid;
  gap: 1rem;
}

.client-detail-grid,
.client-detail-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.client-detail-grid article,
.client-detail-stats article,
.client-detail-block {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(205, 219, 238, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.95));
}

.client-detail-grid span,
.client-detail-stats span,
.client-detail-block h3 {
  display: block;
  margin-bottom: 0.35rem;
  color: #607895;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.client-detail-grid strong,
.client-detail-stats strong,
.client-detail-line strong {
  color: #0c2342;
  font-size: 1rem;
}

.client-detail-grid small,
.client-detail-stats small,
.client-detail-line span,
.client-detail-line small,
.client-detail-empty {
  color: #607895;
  font-size: 0.86rem;
  line-height: 1.55;
}

.client-detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.client-detail-lines {
  display: grid;
  gap: 0.8rem;
}

.client-detail-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 0.9rem;
  padding: 0.9rem 0.95rem;
  border-radius: 0.95rem;
  background: rgba(247, 250, 255, 0.95);
  border: 1px solid rgba(205, 219, 238, 0.8);
}

.client-detail-line-side {
  display: grid;
  justify-items: end;
  align-content: center;
  gap: 0.2rem;
  text-align: right;
}

.client-detail-line-tags {
  justify-items: stretch;
  text-align: left;
}

.client-detail-line-tags span {
  margin: 0;
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  background: rgba(11, 124, 255, 0.08);
  color: #0b5bc0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
}

.client-detail-empty {
  padding: 0.95rem 1rem;
  border-radius: 0.95rem;
  background: rgba(248, 250, 253, 0.92);
  border: 1px dashed rgba(96, 120, 149, 0.35);
}

.warranty-summary-side {
  display: grid;
  justify-items: end;
  gap: 0.25rem;
}

.warranty-unit-preview {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(205, 219, 238, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.95));
}

.warranty-checkbox {
  align-items: start;
}

.warranty-checkbox .check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(205, 219, 238, 0.9);
  background: rgba(247, 250, 255, 0.95);
}

.warranty-checkbox .check-label span {
  margin: 0;
  color: #607895;
}

.warranty-detail-layout {
  display: grid;
  gap: 1rem;
}

.warranty-detail-events {
  display: grid;
  gap: 0.8rem;
}

.warranty-event-item {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(205, 219, 238, 0.9);
  background: rgba(247, 250, 255, 0.95);
}

.warranty-event-item strong {
  color: #0c2342;
}

.warranty-event-item span,
.warranty-event-item small,
.warranty-event-item p {
  margin: 0;
  color: #607895;
}

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

@media (max-width: 780px) {
  .client-detail-grid,
  .client-detail-stats,
  .client-detail-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .warranty-summary-side {
    justify-items: start;
  }

  .client-detail-line {
    grid-template-columns: minmax(0, 1fr);
  }

  .client-detail-line-side {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .admin-content {
    padding: 1rem 0.8rem 1.6rem;
  }

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

  .sale-quick-search-button {
    width: 100%;
    min-width: 0;
  }
}

.sale-ai-card {
  margin-top: 1rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(245, 249, 255, 0.98), rgba(233, 242, 255, 0.95));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.sale-ai-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.sale-ai-card-head h3 {
  margin: 0.2rem 0 0;
  font-size: 1.1rem;
  color: #0f172a;
}

.sale-ai-copy {
  margin: 0.5rem 0 0;
  color: #38506c;
  line-height: 1.55;
}

.sale-ai-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.sale-ai-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.08);
  border: 1px solid rgba(30, 64, 175, 0.15);
  color: #1e3a5f;
  font-size: 0.85rem;
  font-weight: 700;
}

.sale-ai-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.sale-ai-columns > div {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.sale-ai-columns strong {
  display: block;
  margin-bottom: 0.6rem;
  color: #0f172a;
}

.sale-ai-list {
  margin: 0;
  padding-left: 1rem;
  color: #38506c;
}

.sale-ai-list li + li {
  margin-top: 0.45rem;
}

.sale-ai-card-quote {
  margin-top: 1.25rem;
}

.sale-ai-columns-secondary {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
}

.sale-ai-suggested-grid {
  display: grid;
  gap: 0.8rem;
}

.sale-ai-suggested-card,
.sale-ai-suggested-empty {
  display: grid;
  gap: 0.7rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.sale-ai-suggested-copy {
  display: grid;
  gap: 0.3rem;
}

.sale-ai-suggested-copy strong {
  margin: 0;
  color: #0f172a;
}

.sale-ai-suggested-copy small,
.sale-ai-suggested-copy span,
.sale-ai-suggested-empty span {
  color: #49617d;
  line-height: 1.45;
}

.sale-ai-suggested-empty strong {
  color: #0f172a;
}

.sale-ai-suggested-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.sale-ai-suggested-foot strong {
  margin: 0;
  color: #0b63d1;
}

.sale-ai-message-box {
  display: grid;
  gap: 0.8rem;
}

.sale-ai-message-preview {
  margin: 0;
  min-height: 172px;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-size: 0.92rem;
  line-height: 1.55;
  white-space: pre-wrap;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.sale-ai-message-actions {
  display: flex;
  justify-content: flex-end;
}

.configuration-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  margin-top: 0.35rem;
}

.configuration-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
}

.configuration-subnav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: rgba(255, 255, 255, 0.82);
  color: #17304d;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.configuration-subnav-link:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.configuration-subnav-link.is-active {
  background: linear-gradient(135deg, #0b63d1 0%, #21c3f6 100%);
  border-color: transparent;
  color: #fff;
}

.inventory-module-subnav {
  margin-bottom: 1rem;
}

.configuration-ai-stage {
  gap: 1rem;
}

.configuration-ai-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 1.25rem;
  align-items: stretch;
}

.configuration-ai-hero-copy h2 {
  margin: 0.2rem 0 0.7rem;
}

.configuration-ai-hero-copy p {
  margin: 0;
  color: #52657f;
  line-height: 1.7;
}

.configuration-ai-hero-side {
  display: grid;
}

.configuration-ai-status-card {
  border-radius: 24px;
  padding: 1.2rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.configuration-ai-status-card.is-ready {
  border-color: rgba(34, 197, 94, 0.22);
  background: linear-gradient(180deg, #f8fffb 0%, #eefcf3 100%);
}

.configuration-ai-status-card.is-local {
  border-color: rgba(59, 130, 246, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
}

.configuration-ai-status-card strong {
  display: block;
  margin-top: 0.35rem;
  color: #17304d;
  font-size: 1.05rem;
}

.configuration-ai-status-card p {
  margin: 0.55rem 0 0;
  color: #5a7090;
  line-height: 1.6;
}

.configuration-ai-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.configuration-checklist-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.configuration-check-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.38);
  background: rgba(255, 255, 255, 0.8);
  color: #52657f;
  font-weight: 700;
}

.configuration-check-chip.is-done {
  border-style: solid;
  border-color: rgba(34, 197, 94, 0.22);
  background: rgba(220, 252, 231, 0.8);
  color: #166534;
}

.configuration-ai-form-card,
.configuration-ai-test-card {
  padding: 1.1rem 1.2rem;
}

.configuration-ai-provider-note {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(59, 130, 246, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(240, 247, 255, 0.9) 100%);
  color: #35506d;
}

.configuration-ai-provider-note strong {
  color: #17304d;
}

[data-ai-provider-dependent] {
  transition: opacity 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}

.configuration-ai-form.is-local-mode [data-ai-provider-dependent] {
  opacity: 0.78;
  filter: saturate(0.85);
}

.configuration-ai-test-form {
  display: grid;
  gap: 1rem;
}

.configuration-ai-test-status {
  color: #5a7090;
  font-weight: 600;
  line-height: 1.5;
}

.configuration-ai-test-status.is-success {
  color: #15803d;
}

.configuration-ai-test-status.is-danger {
  color: #b91c1c;
}

.configuration-ai-test-status.is-info {
  color: #1d4ed8;
}

.configuration-ai-test-output {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(244, 249, 255, 0.95) 100%);
}

.configuration-ai-test-runtime,
.configuration-ai-test-answer {
  display: grid;
  gap: 0.35rem;
}

.configuration-ai-test-runtime span,
.configuration-ai-test-answer p {
  margin: 0;
  color: #17304d;
  line-height: 1.7;
}

.configuration-ai-test-extra {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.configuration-ai-test-extra ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #52657f;
}

.configuration-ai-test-extra li + li {
  margin-top: 0.3rem;
}

.inventory-ai-panel,
.reports-ai-panel,
.warranty-ai-card {
  margin-top: 0;
}

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

  .configuration-feature-grid {
    grid-template-columns: 1fr;
  }

  .configuration-ai-hero,
  .configuration-ai-grid,
  .configuration-ai-test-extra {
    grid-template-columns: 1fr;
  }
}

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

.ai-chat-widget {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 1400;
}

.ai-chat-fab {
  min-width: 86px;
  min-height: 76px;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #eef7ff 100%);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16);
  color: #12345b;
  display: inline-grid;
  gap: 0.42rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ai-chat-fab:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.26);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.2);
}

.ai-chat-fab-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ai-chat-fab-icon svg {
  width: 22px;
  height: 22px;
}

.ai-chat-fab-copy {
  display: grid;
  justify-items: center;
  gap: 0.08rem;
}

.ai-chat-fab-copy strong {
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #12345b;
}

.ai-chat-fab-copy small {
  max-width: 74px;
  color: #5a7090;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ai-chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.95rem);
  width: min(410px, calc(100vw - 1.6rem));
  display: grid;
  gap: 0.9rem;
  padding: 1.05rem;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.2);
  color: #17304d;
}

.ai-chat-panel[hidden] {
  display: none !important;
}

.ai-chat-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.ai-chat-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.ai-chat-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #ecf5ff 100%);
  border: 1px solid rgba(37, 99, 235, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ai-chat-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-chat-brand strong {
  display: block;
  color: #163457;
  font-size: 1rem;
}

.ai-chat-brand small {
  display: block;
  color: #64748b;
  font-size: 0.8rem;
}

.ai-chat-close {
  border: 1px solid rgba(239, 68, 68, 0.16);
  border-radius: 999px;
  background: linear-gradient(180deg, #ff7c7c 0%, #ef4444 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.7rem 1rem;
  cursor: pointer;
}

.ai-chat-messages {
  max-height: min(360px, 48vh);
  overflow-y: auto;
  display: grid;
  gap: 0.8rem;
  padding-right: 0.2rem;
}

.ai-chat-messages::-webkit-scrollbar {
  width: 8px;
}

.ai-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 999px;
}

.ai-chat-message {
  max-width: 92%;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  line-height: 1.55;
  font-size: 0.94rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.ai-chat-message p {
  margin: 0;
  white-space: pre-wrap;
}

.ai-chat-message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.ai-chat-action-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  background: #ffffff;
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  cursor: pointer;
}

.ai-chat-action-link.is-button {
  appearance: none;
  font: inherit;
}

.ai-chat-action-link:hover {
  transform: translateY(-1px);
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.3);
  color: #12345b;
}

.ai-chat-message.is-assistant {
  justify-self: start;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: #1e293b;
}

.ai-chat-message.is-user {
  justify-self: end;
  background: linear-gradient(135deg, #0b63d1 0%, #21c3f6 100%);
  color: #fff;
}

.ai-chat-message.is-pending {
  opacity: 0.8;
}

.ai-chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ai-chat-suggestion {
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: #163457;
  padding: 0.5rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.ai-chat-suggestion:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.26);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.ai-chat-field textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: #ffffff;
  color: #0f172a;
  padding: 0.95rem 1rem;
  resize: none;
  min-height: 78px;
  font: inherit;
}

.ai-chat-field textarea:focus {
  outline: none;
  border-color: rgba(33, 195, 246, 0.72);
  box-shadow: 0 0 0 4px rgba(33, 195, 246, 0.18);
}

.ai-chat-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.ai-chat-status {
  color: #64748b;
  line-height: 1.4;
}

.ai-chat-status.is-success {
  color: #15803d;
}

.ai-chat-status.is-danger {
  color: #b91c1c;
}

.ai-chat-status.is-info {
  color: #1d4ed8;
}

@media (max-width: 680px) {
  .ai-chat-widget {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .ai-chat-fab {
    min-width: 72px;
    min-height: 68px;
    padding: 0.7rem 0.75rem;
  }

  .ai-chat-panel {
    width: min(372px, calc(100vw - 1rem));
    right: -0.1rem;
    bottom: calc(100% + 0.7rem);
    padding: 0.9rem;
  }

  .ai-chat-fab-copy small {
    max-width: 62px;
  }

  .ai-chat-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ai-chat-actions .button {
    width: 100%;
  }
}

.erp-stage {
  gap: 1.15rem;
}

.erp-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.erp-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 0.95rem;
  align-items: start;
}

.erp-subsection {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(35, 74, 126, 0.12);
}

.erp-form {
  margin-bottom: 1rem;
}

.erp-card-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.erp-card-list {
  display: grid;
  gap: 0.85rem;
}

.erp-mini-card,
.erp-entry-card {
  border: 1px solid rgba(73, 149, 255, 0.16);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.92));
  box-shadow: 0 20px 40px rgba(15, 30, 56, 0.08);
  padding: 1rem 1.05rem;
}

.erp-mini-card header,
.erp-entry-card header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.65rem;
}

.erp-mini-card p,
.erp-entry-card p {
  margin: 0 0 0.6rem;
  color: rgba(15, 30, 56, 0.85);
}

.erp-entry-list {
  display: grid;
  gap: 1rem;
}

.erp-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  color: rgba(15, 30, 56, 0.68);
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
}

.erp-entry-card ul,
.erp-inline-list {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(15, 30, 56, 0.82);
}

.erp-inline-list {
  margin-bottom: 0.75rem;
}

.erp-dynamic-table {
  border: 1px solid rgba(73, 149, 255, 0.16);
  border-radius: 22px;
  background: rgba(246, 250, 255, 0.9);
  padding: 0.95rem;
  display: grid;
  gap: 0.75rem;
}

.erp-dynamic-table-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.quotations-stage .product-admin-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.quotation-summary-grid {
  align-items: stretch;
  margin-top: 0.95rem;
}

.quotation-summary-card {
  display: grid;
  align-content: start;
  gap: 0.32rem;
  min-height: 86px;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96)),
    radial-gradient(circle at 90% 18%, rgba(33, 123, 226, 0.1), transparent 30%);
  border: 1px solid rgba(18, 53, 88, 0.1);
  box-shadow: 0 12px 28px rgba(17, 36, 60, 0.06);
}

.quotation-summary-card span {
  margin: 0;
  color: #51677f;
  font-size: 0.68rem;
  line-height: 1;
}

.quotation-summary-card strong {
  display: block;
  color: #10233a;
  font-size: clamp(1.12rem, 1.5vw, 1.36rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.quotation-summary-card small {
  display: block;
  color: #60758b;
  font-size: 0.82rem;
  line-height: 1.25;
}

.quotation-search-bar {
  margin: 0 0 0.9rem;
}

.quotation-list-shell {
  margin-top: 1rem;
}

.quotation-list-head h2 {
  margin: 0;
  color: #10233a;
  font-size: 1.05rem;
  line-height: 1.2;
}

.quotation-data-table {
  min-width: 980px;
}

.quotation-data-table tbody tr.is-highlight td {
  border-color: rgba(0, 153, 255, 0.3);
  background: linear-gradient(180deg, #ffffff, #eef7ff);
  box-shadow: 0 18px 38px rgba(0, 114, 255, 0.1);
}

.quotation-total-cell strong {
  color: #0b63d1;
  font-size: 1rem;
}

.quotation-status-pill {
  white-space: nowrap;
}

.quotation-table-actions {
  justify-content: flex-start;
}

.quotation-modal-panel {
  width: min(1180px, calc(100vw - 2rem));
}

.quotation-modal-banner {
  align-items: center;
}

.quotation-live-total {
  display: grid;
  gap: 0.12rem;
  min-width: 190px;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: #f8fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.quotation-live-total span,
.quotation-live-total small {
  color: rgba(240, 247, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quotation-live-total strong {
  color: #ffffff;
  font-size: 1.22rem;
  line-height: 1;
}

.quotation-modal-form {
  width: 100%;
  max-width: 100%;
  justify-items: stretch;
  padding-top: 0.95rem;
}

body.theme-admin .modal-panel > form.quotation-modal-form,
.modal-product-panel > form.quotation-modal-form {
  width: 100%;
  max-width: 100%;
}

.quotation-form-section {
  justify-self: stretch;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  padding: 0.9rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-color: rgba(33, 123, 226, 0.1);
}

body.theme-admin .modal-product-panel .quotation-detail-section,
body.theme-admin .modal-product-panel .quotation-data-section,
.quotation-modal-form > .quotation-detail-section,
.quotation-modal-form > .quotation-data-section {
  grid-column: 1 / -1;
  justify-self: stretch;
  width: 100% !important;
  max-width: none;
}

.quotation-modal-form > .quotation-form-section:first-of-type {
  z-index: 4;
}

.quotation-form-section .form-section-head {
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.quotation-form-section .form-section-kicker {
  width: 34px;
  height: 34px;
  font-size: 0.78rem;
}

.quotation-form-section .form-section-head h3 {
  font-size: 1rem;
  line-height: 1.15;
}

.quotation-form-section .form-section-head .button {
  margin-left: auto;
}

.quotation-detail-head {
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 0.25rem 0.15rem 0.85rem;
}

.quotation-detail-title h3 {
  color: #10233a;
  font-size: 1rem;
}

.quotation-add-item-button {
  border-color: rgba(11, 124, 255, 0.18);
  background: linear-gradient(135deg, #ffffff, #edf7ff);
  color: #0b63d1;
  box-shadow: 0 12px 28px rgba(11, 124, 255, 0.12);
}

.quotation-item-search {
  width: 100%;
  z-index: 2;
  margin: 0 0 0.85rem;
}

.quotation-item-search.is-open {
  z-index: 8;
}

.quotation-item-search-input {
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(11, 124, 255, 0.18);
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(38, 64, 89, 0.06);
}

.quotation-item-results {
  max-height: 280px;
}

.quotation-item-option .sale-search-option-main {
  font-size: 0.86rem;
}

.quotation-head-grid {
  grid-template-columns: minmax(160px, 0.9fr) repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
  gap: 0.7rem;
}

body.theme-admin .erp-form .quotation-head-grid,
.modal-product-panel .quotation-head-grid {
  grid-template-columns: minmax(160px, 0.9fr) repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
}

.quotation-head-grid .field-span-3 {
  grid-column: span 3;
}

.quotation-head-grid .field {
  gap: 0.28rem;
}

.quotation-head-grid .field span {
  font-size: 0.8rem;
}

.quotation-head-grid input,
.quotation-head-grid select,
.quotation-head-grid textarea {
  min-height: 42px;
  padding: 0.58rem 0.82rem;
  border-radius: 13px;
  font-size: 0.9rem;
}

.quotation-head-grid textarea {
  min-height: 70px;
}

.quotation-number-field input[readonly] {
  color: #48617c;
  font-weight: 800;
  background: #eef4fb;
}

.quotation-dynamic-table {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(73, 149, 255, 0.13);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(235, 247, 255, 0.96), rgba(255, 255, 255, 0.98)),
    #f7fbff;
  padding: 0.8rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.quotation-dynamic-table .erp-dynamic-row {
  grid-template-columns: minmax(280px, 1fr) 86px 108px 112px auto;
  gap: 0.7rem;
}

.quotation-dynamic-table [data-quotation-detail-rows] {
  display: grid;
  gap: 0.75rem;
}

.quotation-dynamic-table .erp-dynamic-row:not(.is-header) {
  padding: 0.7rem;
  border: 1px solid rgba(18, 53, 88, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f9fcff);
  box-shadow: 0 14px 30px rgba(38, 64, 89, 0.06);
}

.quotation-dynamic-table .erp-dynamic-row.is-merged {
  border-color: rgba(19, 132, 255, 0.55);
  background: linear-gradient(135deg, rgba(226, 244, 255, 0.96), rgba(255, 255, 255, 0.98));
  box-shadow: 0 12px 28px rgba(19, 132, 255, 0.14);
}

.quotation-dynamic-table select,
.quotation-dynamic-table input {
  min-height: 38px;
  border-radius: 12px;
  background-color: #ffffff;
}

.quotation-line-product select {
  min-height: 48px;
  padding: 0.5rem 2.1rem 0.5rem 0.8rem;
  color: #1c2d42;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.18;
}

.quotation-line-product-name {
  display: block;
  min-height: 48px;
  padding: 0.62rem 0.82rem;
  border: 1px solid rgba(11, 124, 255, 0.15);
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff, #eef7ff);
  color: #1c2d42;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.22;
}

.quotation-line-field {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.quotation-line-field > span,
.quotation-line-total > span {
  color: #687b93;
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.quotation-line-total {
  display: grid;
  gap: 0.25rem;
  align-self: stretch;
  align-content: center;
  min-height: 42px;
  padding: 0.35rem 0.85rem;
  border-radius: 14px;
  background: #f0f7ff;
  border: 1px solid rgba(11, 124, 255, 0.12);
}

.quotation-line-total [data-quotation-line-total] {
  align-self: center;
  justify-self: start;
  color: #10233a;
  font-size: 1.02rem;
  line-height: 1;
}

.quotation-dynamic-table [data-quotation-remove-row] {
  align-self: end;
  min-height: 42px;
  border-color: rgba(226, 68, 75, 0.14);
  background: rgba(226, 68, 75, 0.07);
  color: #b4232b;
}

.quotation-pdf-action {
  position: relative;
  padding-left: 2.45rem;
  background: linear-gradient(135deg, #123a68, #1f8df5);
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(18, 58, 104, 0.16);
}

.quotation-pdf-action::before {
  content: "PDF";
  position: absolute;
  left: 0.62rem;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.05rem;
  border-radius: 0.32rem;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.52rem;
  font-weight: 950;
  letter-spacing: 0;
}

@media (max-width: 760px) {
  .quotation-modal-banner {
    align-items: stretch;
  }

  .quotation-live-total {
    width: 100%;
    min-width: 0;
  }

  .quotation-detail-head,
  .quotation-head-grid,
  .quotation-dynamic-table .erp-dynamic-row {
    grid-template-columns: 1fr;
  }

  .quotation-dynamic-table .erp-dynamic-row.is-header {
    display: none;
  }

  .quotation-form-section .form-section-head .button {
    margin-left: 0;
  }

  .quotation-line-total [data-quotation-line-total] {
    justify-self: start;
  }
}

.quotations-form-actions,
.quotations-history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.quotation-history-card.is-highlight {
  border-color: rgba(0, 153, 255, 0.36);
  box-shadow: 0 24px 46px rgba(0, 114, 255, 0.16);
}

.erp-dynamic-row {
  display: grid;
  grid-template-columns: 1.6fr 1.5fr 1fr 1fr auto;
  gap: 0.65rem;
  align-items: center;
}

.erp-dynamic-row.is-header {
  color: rgba(15, 30, 56, 0.65);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.erp-dynamic-row select,
.erp-dynamic-row input,
.erp-dynamic-row textarea {
  width: 100%;
}

.erp-dynamic-row .button {
  white-space: nowrap;
}

.erp-card-columns > div > h3 {
  margin: 0 0 0.8rem;
}

@media (max-width: 900px) {
  .erp-dynamic-row,
  .erp-dynamic-row.is-header {
    grid-template-columns: 1fr;
  }

  .erp-dynamic-row.is-header {
    display: none;
  }
}

.configuration-theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.85rem;
}

.configuration-theme-option {
  display: grid;
  gap: 0.45rem;
  min-height: 150px;
  padding: 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(19, 33, 53, 0.1);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 12px 24px rgba(13, 29, 53, 0.06);
}

.configuration-theme-option.is-active {
  border-color: rgba(11, 124, 255, 0.36);
  box-shadow: 0 16px 32px rgba(11, 124, 255, 0.12);
}

.configuration-theme-option strong,
.configuration-theme-option p {
  margin: 0;
}

.configuration-theme-option p {
  color: var(--muted-dark);
  line-height: 1.45;
  font-size: 0.86rem;
}

.configuration-theme-swatch {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  grid-template-rows: repeat(2, 28px);
  gap: 0.35rem;
  height: 62px;
}

.configuration-theme-swatch i {
  display: block;
  border-radius: 10px;
}

.configuration-theme-swatch i:first-child {
  grid-row: span 2;
}

.configuration-theme-option-light .configuration-theme-swatch i:first-child,
.configuration-theme-option-compact .configuration-theme-swatch i:first-child {
  background: #eaf2fb;
}

.configuration-theme-option-light .configuration-theme-swatch i:nth-child(2),
.configuration-theme-option-compact .configuration-theme-swatch i:nth-child(2) {
  background: #ffffff;
}

.configuration-theme-option-light .configuration-theme-swatch i:nth-child(3),
.configuration-theme-option-compact .configuration-theme-swatch i:nth-child(3) {
  background: #0b7cff;
}

.configuration-theme-option-corporate .configuration-theme-swatch i:first-child {
  background: #dceeff;
}

.configuration-theme-option-corporate .configuration-theme-swatch i:nth-child(2) {
  background: #ffffff;
}

.configuration-theme-option-corporate .configuration-theme-swatch i:nth-child(3) {
  background: #0b5bc0;
}

.configuration-theme-option-emerald .configuration-theme-swatch i:first-child {
  background: #e8f8f1;
}

.configuration-theme-option-emerald .configuration-theme-swatch i:nth-child(2) {
  background: #ffffff;
}

.configuration-theme-option-emerald .configuration-theme-swatch i:nth-child(3) {
  background: #10b981;
}

body.theme-admin.admin-theme-corporate {
  --brand: #38bdf8;
  --brand-strong: #0b5bc0;
  --brand-deep: #082f72;
  background:
    radial-gradient(circle at top left, rgba(11, 91, 192, 0.12), transparent 28%),
    linear-gradient(180deg, #eaf4ff 0%, #f7fbff 100%);
}

body.theme-admin.admin-theme-emerald {
  --brand: #34d399;
  --brand-strong: #059669;
  --brand-deep: #064e3b;
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.12), transparent 28%),
    linear-gradient(180deg, #edfdf6 0%, #f8fffc 100%);
}

body.theme-admin.admin-theme-compact {
  font-size: 14px;
  background: linear-gradient(180deg, #eef5fb 0%, #fbfdff 100%);
}

body.theme-admin.admin-theme-compact .admin-content {
  padding: 0.85rem 0.8rem 1.3rem;
}

body.theme-admin.admin-theme-compact :where(.panel-card, .metric-card, .form-section, .modal-panel) {
  border-radius: 16px;
}

body.theme-admin.admin-theme-compact :where(.panel-card, .metric-card) {
  padding: 0.72rem;
}

body.theme-admin.admin-theme-compact :where(.admin-form input, .admin-form textarea, .admin-form select) {
  padding: 0.62rem 0.72rem;
  border-radius: 10px;
}

body.theme-admin.admin-theme-compact :where(.data-table th, .data-table td) {
  padding: 0.48rem 0.46rem;
}

body.theme-admin.admin-theme-compact .configuration-edit-card {
  min-height: 150px;
  border-radius: 14px;
}

body.theme-admin.admin-theme-corporate :where(.product-admin-head.panel-card, .product-admin-head) {
  background:
    linear-gradient(112deg, #082f72 0%, #0b5bc0 50%, #e9f5ff 100%),
    radial-gradient(circle at 18% 18%, rgba(56, 189, 248, 0.22), transparent 20%);
}

body.theme-admin.admin-theme-emerald :where(.product-admin-head.panel-card, .product-admin-head) {
  background:
    linear-gradient(112deg, #064e3b 0%, #0f766e 48%, #eefdf7 100%),
    radial-gradient(circle at 18% 18%, rgba(52, 211, 153, 0.2), transparent 20%);
}

.reportx-stage {
  gap: 1.05rem;
}

body.theme-admin .reportx-head.panel-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 160px;
  padding: clamp(1.05rem, 2vw, 1.45rem);
  background:
    linear-gradient(112deg, rgba(8, 26, 48, 0.98) 0%, rgba(13, 64, 116, 0.96) 52%, rgba(246, 250, 255, 0.95) 100%),
    radial-gradient(circle at 18% 18%, rgba(29, 215, 255, 0.16), transparent 22%),
    radial-gradient(circle at 88% 82%, rgba(255, 191, 63, 0.18), transparent 20%);
}

.reportx-head .product-admin-head-title {
  justify-items: start;
  margin-inline: 0;
  text-align: left;
}

.reportx-head .product-admin-head-title h1 {
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}

.reportx-head .product-admin-head-title p {
  max-width: 680px;
}

.reportx-head-summary {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 0.18rem;
  min-width: 240px;
  min-height: 118px;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 18px 34px rgba(4, 14, 28, 0.18);
}

.reportx-head-summary span {
  color: rgba(244, 248, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reportx-head-summary strong {
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.reportx-head-summary small {
  color: rgba(244, 248, 255, 0.78);
  font-weight: 750;
}

.reportx-overline {
  width: fit-content;
  margin: 0 0 0.2rem;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(101, 196, 255, 0.18);
  background: rgba(12, 91, 192, 0.18);
  color: #d7f1ff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reportx-head .product-admin-head-actions {
  justify-content: end;
}

.reportx-head .product-admin-head-actions .button {
  min-width: 112px;
  border-radius: 14px;
}

.reportx-subnav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0;
  padding: 0.75rem;
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.07), transparent 28%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.reportx-subnav .configuration-subnav-link {
  justify-content: center;
  min-height: 54px;
  border-radius: 16px;
  font-size: 0.94rem;
  font-weight: 850;
}

.reportx-subnav .configuration-subnav-link.is-active {
  box-shadow: 0 14px 30px rgba(11, 99, 209, 0.18);
}

.reportx-filter {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.reportx-filter .filter-bar {
  margin-bottom: 0;
}

.reportx-filter .filter-grid {
  grid-template-columns: repeat(6, minmax(132px, 1fr));
}

.reportx-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.reportx-filter-head h2,
.reportx-filter-head p {
  margin: 0;
}

.reportx-filter-head h2 {
  color: var(--ink-dark);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.reportx-filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.reportx-filter-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 124, 255, 0.12);
  background: rgba(11, 124, 255, 0.07);
  color: #0b5bc0;
  font-size: 0.82rem;
  font-weight: 850;
}

.reportx-executive {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(180px, 0.55fr));
  gap: 1rem;
}

.reportx-result,
.reportx-clear-card {
  display: grid;
  align-content: space-between;
  min-width: 0;
  border: 1px solid rgba(19, 33, 53, 0.08);
  box-shadow: 0 16px 34px rgba(13, 29, 53, 0.07);
}

.reportx-result {
  gap: 0.65rem;
  min-height: 178px;
  padding: 1.15rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(9, 29, 51, 0.98), rgba(13, 64, 116, 0.96)),
    linear-gradient(90deg, rgba(29, 215, 255, 0.16), transparent);
  color: #f4f8ff;
}

.reportx-result.is-good {
  background: linear-gradient(135deg, #073b36, #0f766e);
}

.reportx-result.is-watch {
  background: linear-gradient(135deg, #452d05, #b87508);
}

.reportx-result.is-risk {
  background: linear-gradient(135deg, #4a0d18, #b42336);
}

.reportx-result span,
.reportx-clear-card span {
  color: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reportx-result h2,
.reportx-result p {
  margin: 0;
}

.reportx-result h2 {
  color: #ffffff;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.reportx-result p {
  max-width: 66ch;
  color: rgba(244, 248, 255, 0.82);
  line-height: 1.55;
}

.reportx-result div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.reportx-result div strong,
.reportx-result div small {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-weight: 850;
}

.reportx-result div small {
  color: rgba(244, 248, 255, 0.82);
}

.reportx-clear-card {
  gap: 0.45rem;
  min-height: 178px;
  padding: 1rem;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.reportx-clear-card strong {
  color: var(--ink-dark);
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.reportx-clear-card small {
  color: var(--muted-dark);
  font-weight: 750;
  line-height: 1.4;
}

.reportx-reading,
.reportx-kpis,
.reportx-main-grid,
.reportx-two-grid {
  display: grid;
  gap: 1rem;
}

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

.reportx-reading article,
.reportx-kpis article {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  min-width: 0;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 14px 28px rgba(13, 29, 53, 0.06);
}

.reportx-reading article {
  min-height: 118px;
  padding: 1rem;
  border-radius: 18px;
}

.reportx-reading article:nth-child(2) {
  background:
    radial-gradient(circle at top right, rgba(73, 215, 161, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff, #f8fffb);
}

.reportx-reading article:nth-child(3) {
  background:
    radial-gradient(circle at top right, rgba(255, 191, 63, 0.13), transparent 28%),
    linear-gradient(180deg, #ffffff, #fffaf0);
}

.reportx-reading article {
  position: relative;
  overflow: hidden;
}

.reportx-reading article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: #0b7cff;
}

.reportx-reading article.is-good::before {
  background: #0ca678;
}

.reportx-reading article.is-watch::before {
  background: #d98a0b;
}

.reportx-reading article.is-risk::before {
  background: #dc3545;
}

.reportx-reading span,
.reportx-kpis span {
  color: #0b5bc0;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reportx-reading strong,
.reportx-kpis strong,
.reportx-list strong,
.reportx-bar strong {
  color: var(--ink-dark);
  overflow-wrap: anywhere;
}

.reportx-reading strong {
  font-size: 1rem;
  line-height: 1.28;
}

.reportx-reading small,
.reportx-kpis small,
.reportx-list span,
.reportx-empty,
.reportx-bar span {
  color: var(--muted-dark);
  font-weight: 700;
}

.reportx-section {
  display: grid;
  gap: 1rem;
  scroll-margin-top: 110px;
}

.reportx-section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.35rem;
}

.reportx-section-head h2,
.reportx-section-head p {
  margin: 0;
}

.reportx-section-head h2 {
  color: var(--ink-dark);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.reportx-section-head span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted-dark);
  font-weight: 700;
}

.reportx-kpis {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.reportx-kpis article {
  min-height: 118px;
  padding: 0.95rem;
  border-radius: 18px;
}

.reportx-kpis strong {
  font-size: clamp(1.18rem, 2vw, 1.72rem);
  line-height: 1.1;
}

.reportx-main-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
}

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

.reportx-chart-card,
.reportx-two-grid > .panel-card {
  padding: 1.05rem;
}

.reportx-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.reportx-card-head h3,
.reportx-card-head p {
  margin: 0;
}

.reportx-card-head h3 {
  color: var(--ink-dark);
  font-size: 1.08rem;
}

.reportx-card-head p {
  margin-top: 0.2rem;
  color: var(--muted-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.reportx-card-head > strong {
  flex: 0 0 auto;
  color: #0b5bc0;
  font-size: 1rem;
  white-space: nowrap;
}

.reportx-trend-svg {
  display: block;
  width: 100%;
  min-height: 250px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.055) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid rgba(19, 33, 53, 0.06);
}

.reportx-trend-svg polygon {
  fill: rgba(11, 124, 255, 0.12);
}

.reportx-trend-svg polyline {
  fill: none;
  stroke: #0b7cff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.reportx-trend-svg circle {
  fill: #ffffff;
  stroke: #0b7cff;
  stroke-width: 4;
  cursor: pointer;
  transition: fill 0.16s ease, r 0.16s ease, stroke-width 0.16s ease;
}

.reportx-trend-svg circle:hover,
.reportx-trend-svg circle:focus {
  fill: #eaf4ff;
  stroke-width: 5;
  outline: none;
}

.report-trend-detail {
  display: grid;
  gap: 0.75rem;
  text-align: left;
}

.report-trend-detail article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(190, 210, 235, 0.9);
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
}

.report-trend-detail span {
  color: #5c708a;
  font-size: 0.82rem;
  font-weight: 700;
}

.report-trend-detail strong {
  color: #0c2342;
  font-size: 1rem;
}

.reportx-bars,
.reportx-list {
  display: grid;
  gap: 0.7rem;
}

.reportx-bar,
.reportx-list article,
.reportx-empty {
  padding: 0.82rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(19, 33, 53, 0.07);
  background: rgba(248, 251, 255, 0.9);
}

.reportx-bar > div,
.reportx-list article {
  display: grid;
  gap: 0.18rem;
}

.reportx-bar > div {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.85rem;
  margin-bottom: 0.45rem;
}

.reportx-bar span,
.reportx-list span {
  font-size: 0.86rem;
}

.reportx-bar i {
  display: block;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(11, 124, 255, 0.08);
}

.reportx-bar b {
  display: block;
  height: 100%;
  min-width: 6px;
  border-radius: inherit;
  background: linear-gradient(90deg, #0b7cff, #1dd7ff);
}

.reportx-list-accent article:not(.reportx-empty) {
  border-left: 4px solid rgba(11, 124, 255, 0.46);
}

.reportx-list-accent article:nth-child(2n):not(.reportx-empty) {
  border-left-color: rgba(15, 159, 110, 0.5);
}

.reportx-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: -0.35rem 0 0.85rem;
}

.reportx-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--muted-dark);
  font-size: 0.82rem;
  font-weight: 850;
}

.reportx-chart-legend span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #0ca678;
}

.reportx-chart-legend .is-out::before {
  background: #e03131;
}

.reportx-cash-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(34px, 1fr));
  gap: 0.45rem;
  min-height: 280px;
  align-items: end;
}

.reportx-cash-flow article {
  display: grid;
  align-items: end;
  gap: 0.35rem;
}

.reportx-cash-flow-day {
  cursor: pointer;
  border-radius: 12px;
  outline: none;
  padding: 0.18rem 0.08rem;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.reportx-cash-flow-day:hover,
.reportx-cash-flow-day:focus-visible {
  background: rgba(24, 144, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(24, 144, 255, 0.18);
  transform: translateY(-2px);
}

.reportx-cash-flow article > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 0.18rem;
  height: 210px;
}

.reportx-cash-flow i {
  display: block;
  min-height: 5px;
  border-radius: 999px 999px 0 0;
}

.reportx-cash-flow .in {
  background: linear-gradient(180deg, #49d7a1, #0ca678);
}

.reportx-cash-flow .out {
  background: linear-gradient(180deg, #ff8787, #e03131);
}

.reportx-cash-flow strong {
  color: var(--ink-dark);
  text-align: center;
  font-size: 0.72rem;
}

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

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

  .reportx-result {
    grid-column: 1 / -1;
  }

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

@media (max-width: 860px) {
  body.theme-admin .reportx-head.panel-card,
  .reportx-reading,
  .reportx-executive,
  .reportx-two-grid {
    grid-template-columns: 1fr;
  }

  .reportx-head-summary {
    min-width: 0;
    width: 100%;
    text-align: center;
  }

  .reportx-head .product-admin-head-title,
  .reportx-head .product-admin-head-actions {
    justify-items: center;
    justify-content: center;
    text-align: center;
  }

  .reportx-filter-head {
    display: grid;
  }

  .reportx-filter-pills {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .reportx-subnav {
    grid-template-columns: 1fr;
  }

  .reportx-filter .filter-grid {
    grid-template-columns: 1fr;
  }

  .reportx-card-head,
  .reportx-bar > div {
    grid-template-columns: 1fr;
    display: grid;
  }

  .reportx-card-head > strong {
    white-space: normal;
  }
}

.reports-pro-stage {
  gap: 1rem;
}

.reports-pro-head .product-admin-head-title p {
  max-width: 720px;
}

.reports-pro-period {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f4f8ff;
  font-weight: 800;
}

.reports-pro-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0.85rem;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.reports-pro-tab {
  display: grid;
  gap: 0.22rem;
  min-height: 82px;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background: rgba(248, 251, 255, 0.96);
}

.reports-pro-tab strong {
  color: var(--ink-dark);
  font-size: 1rem;
}

.reports-pro-tab span {
  color: var(--muted-dark);
  font-size: 0.82rem;
  line-height: 1.4;
}

.reports-pro-tab.is-active {
  background: linear-gradient(135deg, #0a1d33, #0b5bc0);
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(9, 27, 49, 0.16);
}

.reports-pro-tab.is-active strong,
.reports-pro-tab.is-active span {
  color: #ffffff;
}

.reports-pro-filter .filter-grid {
  grid-template-columns: repeat(6, minmax(140px, 1fr));
}

.reports-pro-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}

.reports-pro-kpis article {
  display: grid;
  gap: 0.28rem;
  min-height: 126px;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(19, 33, 53, 0.08);
  background:
    radial-gradient(circle at top right, rgba(29, 215, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 14px 28px rgba(13, 29, 53, 0.06);
}

.reports-pro-kpis span {
  color: #0b5bc0;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reports-pro-kpis strong {
  color: var(--ink-dark);
  font-size: clamp(1.12rem, 1.7vw, 1.55rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.reports-pro-kpis small {
  color: var(--muted-dark);
  font-weight: 700;
}

.reports-pro-grid-main,
.reports-pro-grid-two {
  display: grid;
  gap: 1rem;
}

.reports-pro-grid-main {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
}

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

.reports-pro-chart-card,
.reports-pro-grid-two > .panel-card {
  padding: 1.05rem;
}

.reports-pro-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.reports-pro-card-head h2,
.reports-pro-card-head p {
  margin: 0;
}

.reports-pro-card-head h2 {
  color: var(--ink-dark);
  font-size: 1.12rem;
}

.reports-pro-card-head > span {
  color: #0b5bc0;
  font-weight: 900;
  white-space: nowrap;
}

.reports-pro-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(34px, 1fr));
  gap: 0.45rem;
  align-items: end;
  min-height: 280px;
  padding-top: 1rem;
}

.reports-pro-columns article {
  display: grid;
  gap: 0.35rem;
  align-items: end;
  min-width: 0;
}

.reports-pro-column-track {
  display: flex;
  align-items: end;
  height: 210px;
  border-radius: 999px;
  background: linear-gradient(180deg, #edf4fb, #f8fbff);
  overflow: hidden;
  border: 1px solid rgba(19, 33, 53, 0.08);
}

.reports-pro-column-track i {
  display: block;
  width: 100%;
  min-height: 6px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--brand), var(--brand-strong));
}

.reports-pro-columns strong,
.reports-pro-columns span {
  text-align: center;
  font-size: 0.72rem;
}

.reports-pro-columns strong {
  color: var(--ink-dark);
}

.reports-pro-columns span {
  color: var(--muted-dark);
  font-weight: 800;
}

.reports-pro-bar-list,
.reports-pro-list {
  display: grid;
  gap: 0.72rem;
}

.reports-pro-bar-row,
.reports-pro-list article,
.reports-pro-empty {
  padding: 0.82rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(19, 33, 53, 0.07);
  background: rgba(248, 251, 255, 0.88);
}

.reports-pro-bar-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.45rem;
}

.reports-pro-bar-head strong,
.reports-pro-list strong {
  color: var(--ink-dark);
  overflow-wrap: anywhere;
}

.reports-pro-bar-head span,
.reports-pro-list span,
.reports-pro-empty {
  color: var(--muted-dark);
  font-size: 0.86rem;
  font-weight: 700;
}

.reports-pro-bar-track {
  height: 9px;
  border-radius: 999px;
  background: rgba(11, 124, 255, 0.08);
  overflow: hidden;
}

.reports-pro-bar-track i {
  display: block;
  height: 100%;
  min-width: 6px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-strong), var(--brand));
}

.reports-pro-cash-chart {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(34px, 1fr));
  gap: 0.45rem;
  min-height: 280px;
  align-items: end;
}

.reports-pro-cash-chart article {
  display: grid;
  gap: 0.35rem;
  align-items: end;
}

.reports-pro-cash-chart article > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.18rem;
  align-items: end;
  height: 210px;
}

.reports-pro-cash-chart i {
  display: block;
  min-height: 5px;
  border-radius: 999px 999px 0 0;
}

.reports-pro-cash-chart .is-in {
  background: linear-gradient(180deg, #49d7a1, #0ca678);
}

.reports-pro-cash-chart .is-out {
  background: linear-gradient(180deg, #ff8787, #e03131);
}

.reports-pro-cash-chart strong {
  color: var(--ink-dark);
  text-align: center;
  font-size: 0.72rem;
}

@media (max-width: 1180px) {
  .reports-pro-kpis,
  .reports-pro-filter .filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reports-pro-grid-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .reports-pro-tabs,
  .reports-pro-kpis,
  .reports-pro-grid-two,
  .reports-pro-filter .filter-grid {
    grid-template-columns: 1fr;
  }

  .reports-pro-card-head {
    display: grid;
  }
}

/* Reportes: lectura operativa refinada */
body.theme-admin .reportx-stage {
  gap: 0.85rem;
}

body.theme-admin .reportx-stage :where(.panel-card, .reportx-reading article, .reportx-kpis article) {
  border-radius: 8px;
}

body.theme-admin .reportx-head.panel-card {
  min-height: auto;
  padding: 1.05rem 1.15rem;
  background: linear-gradient(135deg, #10243a 0%, #155a8e 100%);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.reportx-head .product-admin-head-title {
  gap: 0.34rem;
}

.reportx-head .product-admin-head-title h1 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.14;
}

.reportx-head .product-admin-head-title p {
  max-width: 760px;
  font-size: 0.92rem;
  line-height: 1.52;
}

.reportx-overline {
  padding: 0.28rem 0.58rem;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
}

.reportx-head-summary {
  min-width: 210px;
  min-height: 88px;
  padding: 0.85rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.reportx-head-summary strong {
  font-size: clamp(1.08rem, 1.55vw, 1.48rem);
}

.reportx-head-summary span,
.reportx-head-summary small {
  font-size: 0.76rem;
}

.reportx-subnav {
  gap: 0.5rem;
  padding: 0.5rem;
  background: #ffffff;
  border: 1px solid rgba(19, 33, 53, 0.08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.055);
}

.reportx-subnav .configuration-subnav-link {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.15rem;
  min-height: 58px;
  padding: 0.72rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
}

.reportx-subnav .configuration-subnav-link strong {
  color: inherit;
  font-size: 0.92rem;
  line-height: 1.15;
}

.reportx-subnav .configuration-subnav-link span {
  color: currentColor;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.25;
  opacity: 0.72;
}

.reportx-subnav .configuration-subnav-link.is-active {
  box-shadow: 0 10px 20px rgba(11, 99, 209, 0.13);
}

.reportx-filter {
  gap: 0.8rem;
  padding: 0.95rem;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.reportx-filter-head {
  align-items: flex-start;
}

.reportx-filter-head h2 {
  font-size: clamp(1.02rem, 1.45vw, 1.28rem);
}

.reportx-filter-pills {
  gap: 0.38rem;
}

.reportx-filter-pills span {
  min-height: 30px;
  padding: 0 0.62rem;
  border-radius: 8px;
  font-size: 0.76rem;
}

.reportx-reading,
.reportx-executive,
.reportx-kpis,
.reportx-main-grid,
.reportx-two-grid {
  gap: 0.75rem;
}

.reportx-reading {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.reportx-reading article,
.reportx-kpis article,
.reportx-clear-card {
  min-height: 96px;
  padding: 0.82rem;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.055);
}

.reportx-reading article::before {
  width: 4px;
}

.reportx-reading span,
.reportx-kpis span,
.reportx-result span,
.reportx-clear-card span {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.reportx-reading strong {
  font-size: 1.02rem;
}

.reportx-reading small,
.reportx-kpis small,
.reportx-clear-card small,
.reportx-result p {
  font-size: 0.84rem;
}

.reportx-result {
  min-height: 140px;
  padding: 0.95rem;
  background: linear-gradient(135deg, #10243a, #155a8e);
}

.reportx-result.is-good {
  background: linear-gradient(135deg, #0c3b35, #137262);
}

.reportx-result.is-watch {
  background: linear-gradient(135deg, #49310b, #a66a0a);
}

.reportx-result.is-risk {
  background: linear-gradient(135deg, #4f1420, #a92338);
}

.reportx-result h2 {
  font-size: clamp(1.12rem, 1.65vw, 1.45rem);
  line-height: 1.16;
}

.reportx-result div strong,
.reportx-result div small {
  min-height: 28px;
  padding: 0 0.58rem;
  border-radius: 8px;
  font-size: 0.78rem;
}

.reportx-clear-card strong {
  font-size: clamp(0.98rem, 1.45vw, 1.34rem);
  line-height: 1.18;
}

.reportx-section {
  gap: 0.78rem;
  padding-top: 0.25rem;
}

.reportx-section-head h2 {
  font-size: clamp(1.08rem, 1.6vw, 1.34rem);
}

.reportx-section-head span {
  font-size: 0.86rem;
  font-weight: 650;
}

.reportx-kpis {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.reportx-kpis strong {
  font-size: clamp(1.02rem, 1.45vw, 1.36rem);
}

.reportx-chart-card,
.reportx-two-grid > .panel-card {
  padding: 0.9rem;
}

.reportx-card-head {
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}

.reportx-card-head h3 {
  font-size: 1rem;
}

.reportx-card-head p {
  font-size: 0.82rem;
  font-weight: 650;
}

.reportx-card-head > strong {
  font-size: 0.92rem;
}

.reportx-trend-svg {
  min-height: 210px;
  border-radius: 8px;
}

.reportx-trend-svg polyline {
  stroke-width: 4;
}

.reportx-bar,
.reportx-list article,
.reportx-empty {
  padding: 0.7rem 0.76rem;
  border-radius: 8px;
}

.reportx-bar > div {
  gap: 0.65rem;
  margin-bottom: 0.36rem;
}

.reportx-bar strong,
.reportx-list strong {
  font-size: 0.9rem;
}

.reportx-bar span,
.reportx-list span {
  font-size: 0.8rem;
}

.reportx-bar i {
  height: 7px;
}

.reportx-list-accent article:not(.reportx-empty) {
  border-left-width: 3px;
}

.reportx-profit-card {
  align-content: start;
}

.reportx-profit-bridge {
  display: grid;
  gap: 0.45rem;
}

.reportx-profit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 38px;
  padding: 0.56rem 0.66rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #ffffff;
}

.reportx-profit-row span {
  color: var(--muted-dark);
  font-size: 0.82rem;
  font-weight: 750;
}

.reportx-profit-row strong {
  color: var(--ink-dark);
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
}

.reportx-profit-row.is-muted {
  background: #f8fbff;
}

.reportx-profit-row.is-minus strong {
  color: #b42334;
}

.reportx-profit-row.is-total {
  background: #f3f7fb;
  border-color: rgba(11, 91, 192, 0.14);
}

.reportx-profit-row.is-net {
  background: #eefbf5;
  border-color: rgba(12, 166, 120, 0.18);
}

.reportx-profit-row.is-net span,
.reportx-profit-row.is-net strong {
  color: #096b52;
}

.reportx-cash-flow {
  min-height: 230px;
}

.reportx-cash-flow article > div {
  height: 170px;
}

.reportx-records {
  gap: 0.78rem;
}

.reportx-ledger-card {
  padding: 0.9rem;
}

.reportx-ledger-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #ffffff;
}

.reportx-ledger-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  color: var(--ink-dark);
}

.reportx-ledger-table th {
  padding: 0.72rem 0.8rem;
  background: #f3f7fb;
  color: var(--muted-dark);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.reportx-ledger-table td {
  padding: 0.78rem 0.8rem;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  font-size: 0.84rem;
  font-weight: 700;
  vertical-align: middle;
}

.reportx-ledger-table td strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 900;
}

.reportx-ledger-table td span:not(.status-pill) {
  display: block;
  margin-top: 0.18rem;
  color: var(--muted-dark);
  font-size: 0.76rem;
  font-weight: 750;
}

.reportx-ledger-table .is-money {
  font-weight: 950;
  text-align: right;
  white-space: nowrap;
}

.reportx-ledger-table .is-in {
  color: #08785f;
}

.reportx-ledger-table .is-out {
  color: #b42334;
}

.reportx-ledger-empty {
  padding: 1.1rem !important;
  color: var(--muted-dark);
  text-align: center;
}

.status-pill-danger {
  background: #fff1f2;
  color: #b42334;
  border-color: rgba(244, 63, 94, 0.18);
}

@media (max-width: 1180px) {
  .reportx-executive {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .reportx-subnav {
    grid-template-columns: 1fr;
  }

  .reportx-head .product-admin-head-title p {
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .reportx-ledger-table-wrap {
    border: 0;
    background: transparent;
  }

  .reportx-ledger-table {
    min-width: 0;
  }

  .reportx-ledger-table thead {
    display: none;
  }

  .reportx-ledger-table,
  .reportx-ledger-table tbody,
  .reportx-ledger-table tr,
  .reportx-ledger-table td {
    display: block;
    width: 100%;
  }

  .reportx-ledger-table tr {
    margin-bottom: 0.72rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
  }

  .reportx-ledger-table td {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 0.65rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    text-align: left !important;
  }

  .reportx-ledger-table td::before {
    content: attr(data-label);
    color: var(--muted-dark);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
}

/* Public solutions page */
.solutions-page {
  background: #f4f6fb;
  color: #111827;
}

.solutions-hero {
  min-height: 390px;
  display: grid;
  align-items: center;
  padding: 4.5rem 0;
  background:
    linear-gradient(120deg, rgba(3, 10, 30, 0.94), rgba(8, 32, 76, 0.9)),
    radial-gradient(circle at 82% 32%, rgba(119, 142, 255, 0.32), transparent 28%),
    radial-gradient(circle at 18% 18%, rgba(33, 180, 255, 0.18), transparent 24%);
  position: relative;
  overflow: hidden;
}

.solutions-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 18%, rgba(255, 255, 255, 0.08) 18.2% 18.6%, transparent 18.8% 100%),
    linear-gradient(35deg, transparent 0 58%, rgba(255, 255, 255, 0.08) 58.2% 58.6%, transparent 58.8% 100%),
    radial-gradient(circle at 76% 36%, rgba(255, 255, 255, 0.42) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 24%, rgba(255, 255, 255, 0.28) 0 2px, transparent 3px),
    radial-gradient(circle at 68% 18%, rgba(255, 255, 255, 0.22) 0 2px, transparent 3px);
  opacity: 0.7;
}

.solutions-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 2rem;
  align-items: center;
}

.solutions-hero-copy,
.solutions-hero-panel,
.solutions-nav-head,
.solutions-detail-copy,
.solutions-trust-head,
.solutions-cta-shell {
  display: grid;
  gap: 0.9rem;
}

.solutions-kicker {
  margin: 0;
  color: #2fb5ec;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solutions-hero .solutions-kicker {
  color: #c3ebff;
}

.solutions-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.solutions-hero-copy p {
  max-width: 720px;
  margin: 0;
  color: rgba(238, 246, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.7;
}

.solutions-hero-actions,
.solutions-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.solutions-hero-panel {
  padding: 1.45rem;
  border-radius: 16px;
  background: rgba(48, 53, 142, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(10px);
}

.solutions-hero-panel span {
  color: #a9dbff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solutions-hero-panel strong {
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.2;
}

.solutions-hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.solutions-nav-band {
  padding: 4rem 0 3.2rem;
  background:
    radial-gradient(circle at left center, rgba(48, 53, 142, 0.06), transparent 28%),
    #f4f4f6;
}

.solutions-nav-shell {
  display: grid;
  gap: 2rem;
}

.solutions-nav-head {
  text-align: center;
  justify-items: center;
}

.solutions-nav-head h2,
.solutions-trust-head h2,
.solutions-cta-shell h2 {
  margin: 0;
  color: #2d2d83;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.1;
}

.solutions-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.solutions-option {
  display: grid;
  gap: 0.55rem;
  min-height: 150px;
  padding: 1.25rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(32, 45, 80, 0.08);
  box-shadow: 0 18px 46px rgba(24, 35, 70, 0.08);
  color: #111827;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.solutions-option:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(24, 35, 70, 0.13);
}

.solutions-option span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eaf7ff;
  color: #2fb5ec;
  font-weight: 900;
}

.solutions-option strong {
  color: #2d2d83;
  font-size: 1.1rem;
  line-height: 1.25;
}

.solutions-option small {
  color: #6b7280;
  font-weight: 700;
}

.solutions-detail-section {
  padding: 3.5rem 0 4rem;
  background: #ffffff;
}

.solutions-detail-shell {
  display: grid;
  gap: 2rem;
}

.solutions-detail-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.85fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: 20px;
  background:
    linear-gradient(135deg, #ffffff, #f8fbff),
    radial-gradient(circle at right top, rgba(47, 181, 236, 0.12), transparent 32%);
  border: 1px solid rgba(31, 41, 55, 0.08);
  box-shadow: 0 24px 68px rgba(22, 35, 66, 0.08);
  scroll-margin-top: 120px;
}

.solutions-detail-card:nth-child(even) {
  grid-template-columns: minmax(340px, 0.85fr) minmax(0, 0.95fr);
}

.solutions-detail-card:nth-child(even) .solutions-detail-copy {
  order: 2;
}

.solutions-detail-card:nth-child(even) .solutions-detail-aside {
  order: 1;
}

.solutions-detail-copy h2 {
  margin: 0;
  color: #2d2d83;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1.08;
}

.solutions-detail-copy p {
  margin: 0;
  color: #586174;
  line-height: 1.72;
}

.solutions-detail-lead {
  color: #111827 !important;
  font-size: 1.1rem;
  font-weight: 800;
}

.solutions-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.solutions-detail-meta span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: #eef8ff;
  color: #1c5c86;
  font-size: 0.84rem;
  font-weight: 800;
}

.solutions-detail-aside {
  display: grid;
  gap: 1rem;
}

.solutions-detail-media {
  min-height: 260px;
  border-radius: 22px;
  overflow: hidden;
  background: #eaf0f8;
  box-shadow: 0 22px 54px rgba(16, 24, 40, 0.14);
}

.solutions-detail-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.solutions-benefit-box {
  padding: 1.25rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(31, 41, 55, 0.08);
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
}

.solutions-benefit-box h3 {
  margin: 0 0 1rem;
  color: #2d2d83;
  font-size: 1.2rem;
}

.solutions-benefit-box ul {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.solutions-benefit-box li {
  position: relative;
  padding-left: 2rem;
  color: #5b6472;
  font-weight: 700;
  line-height: 1.55;
}

.solutions-benefit-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: #ed5a32;
}

.solutions-benefit-box li::after {
  content: "";
  position: absolute;
  left: 0.42rem;
  top: 0.52rem;
  width: 0.42rem;
  height: 0.24rem;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.solutions-trust-section {
  padding: 4rem 0;
  background:
    radial-gradient(circle at left center, rgba(45, 45, 131, 0.08), transparent 30%),
    #f4f4f6;
}

.solutions-trust-shell {
  display: grid;
  gap: 2.4rem;
}

.solutions-trust-head {
  text-align: center;
  justify-items: center;
}

.solutions-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.solutions-trust-grid article {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.7rem;
  padding: 1rem;
}

.solutions-trust-grid span {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  border: 3px solid #2fb5ec;
  color: #2fb5ec;
  font-size: 1.5rem;
  font-weight: 900;
}

.solutions-trust-grid strong {
  color: #2d2d83;
  font-size: 1.25rem;
  line-height: 1.18;
}

.solutions-trust-grid p {
  margin: 0;
  color: #767b84;
  line-height: 1.55;
}

.solutions-cta-band {
  padding: 4.2rem 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(47, 181, 236, 0.18), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(45, 45, 131, 0.14), transparent 30%),
    linear-gradient(135deg, #eef9ff, #ffffff 46%, #f3f5ff);
  border-top: 1px solid rgba(47, 181, 236, 0.18);
  border-bottom: 1px solid rgba(45, 45, 131, 0.12);
}

.solutions-cta-shell {
  justify-items: center;
  text-align: center;
}

.solutions-cta-shell p,
.solutions-cta-shell h2 {
  margin: 0;
}

.solutions-cta-shell h2 {
  max-width: 980px;
  color: #1d2a70;
}

.solutions-cta-shell p {
  color: #1673a9;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.cases-hero {
  background:
    linear-gradient(120deg, rgba(4, 12, 32, 0.94), rgba(18, 38, 86, 0.9)),
    radial-gradient(circle at 82% 28%, rgba(47, 181, 236, 0.3), transparent 30%),
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.12), transparent 24%);
}

.cases-detail-card .solutions-detail-media {
  background:
    linear-gradient(135deg, #dceaf8, #f8fbff);
}

.cases-detail-card .solutions-benefit-box h3 {
  color: #1d2a70;
}

.cases-extra-section {
  background:
    radial-gradient(circle at 12% 22%, rgba(47, 181, 236, 0.12), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(45, 45, 131, 0.1), transparent 28%),
    #f5f7fb;
}

.cases-extra-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .solutions-hero-shell,
  .solutions-detail-card,
  .solutions-detail-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .solutions-detail-card:nth-child(even) .solutions-detail-copy,
  .solutions-detail-card:nth-child(even) .solutions-detail-aside {
    order: initial;
  }

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

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

@media (max-width: 640px) {
  .solutions-hero {
    padding: 3rem 0;
  }

  .solutions-option-grid,
  .solutions-trust-grid {
    grid-template-columns: 1fr;
  }

  .solutions-detail-card {
    padding: 1.25rem;
  }

  .solutions-detail-actions .button,
  .solutions-hero-actions .button {
    width: 100%;
  }
}
