:root {
  color-scheme: dark;
  --bg: #0d0f12;
  --bg-soft: #141920;
  --surface: rgba(20, 26, 34, 0.82);
  --surface-strong: rgba(16, 21, 28, 0.9);
  --surface-border: rgba(255, 255, 255, 0.1);
  --text: #eff2f4;
  --muted: #aeb8c3;
  --muted-strong: #cdd4dc;
  --amber: #f0a824;
  --amber-soft: #ffc55b;
  --cyan: #6ed8ff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --container: min(1180px, calc(100vw - 2rem));
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f1eee8;
  --bg-soft: #e6e1d8;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(249, 247, 242, 0.94);
  --surface-border: rgba(24, 31, 39, 0.14);
  --text: #182027;
  --muted: #596672;
  --muted-strong: #35424d;
  --shadow: 0 24px 60px rgba(38, 43, 48, 0.15);
}

html[data-theme="light"] .page-bg {
  background:
    radial-gradient(circle at 15% 15%, rgba(240, 168, 36, 0.2), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(110, 216, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #f7f4ee, #ebe6dd);
}

html[data-theme="light"] .header-row,
html[data-theme="light"] .notification-panel {
  border-color: var(--surface-border);
  background: var(--surface-strong);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

.theme-toggle {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: var(--shadow);
  cursor: pointer;
  backdrop-filter: blur(16px);
}

.theme-toggle:hover {
  border-color: var(--amber);
}

.site-messages {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  gap: 0.6rem;
  padding: 0.9rem 1rem 0;
}

.site-message {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 18, 24, 0.92);
  color: var(--text);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.site-message-success {
  border-color: rgba(112, 210, 156, 0.4);
}

.site-message-error {
  border-color: rgba(255, 120, 120, 0.4);
}

.site-notice-stack {
  position: sticky;
  top: 0;
  z-index: 45;
  display: grid;
  gap: 0.6rem;
  padding: 0.9rem 1rem 0;
}

.site-notice-banner {
  width: min(100%, 100vw);
  margin: 0 auto;
  overflow: hidden;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(240, 168, 36, 0.32);
  border-bottom: 1px solid rgba(240, 168, 36, 0.32);
  background: linear-gradient(90deg, rgba(240, 168, 36, 0.18), rgba(255, 197, 91, 0.08), rgba(240, 168, 36, 0.18));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.site-notice-marquee {
  overflow: hidden;
  width: 100%;
}

.site-notice-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-left: 1.5rem;
  will-change: transform;
  animation: siteNoticeRightward 28s linear infinite;
}

.site-notice-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  white-space: nowrap;
}

.site-notice-copy strong {
  color: var(--text);
}

.site-notice-copy span {
  color: var(--muted-strong);
}

@keyframes siteNoticeRightward {
  0% {
    transform: translateX(-55%);
  }
  100% {
    transform: translateX(0%);
  }
}

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

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

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

select option,
select optgroup {
  background: #101318;
  color: #eff2f4;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 15%, rgba(240, 168, 36, 0.22), transparent 30%),
    radial-gradient(circle at 30% 55%, rgba(255, 197, 91, 0.08), transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(110, 216, 255, 0.12), transparent 24%),
    radial-gradient(circle at 70% 75%, rgba(240, 168, 36, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(13, 15, 18, 0.92), rgba(13, 15, 18, 1));
}

.page-bg::before,
.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
}

.page-bg::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='156' viewBox='0 0 180 156' fill='none'%3E%3Cg stroke='%23ffc55b' stroke-opacity='0.22' stroke-width='1.5'%3E%3Cpath d='M45 3 87 27v48L45 99 3 75V27Z'/%3E%3Cpath d='M135 3l42 24v48l-42 24-42-24V27Z'/%3E%3Cpath d='M90 81l42 24v48l-42 24-42-24v-48Z'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(circle at 50% 50%, rgba(255, 197, 91, 0.08), transparent 62%);
  background-size: 180px 156px, cover;
  background-position: center top, center;
  opacity: 0.68;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.12) 55%, transparent 88%);
}

.page-bg::after {
  background:
    radial-gradient(circle at 52% 44%, rgba(255, 197, 91, 0.14), transparent 32%),
    radial-gradient(circle at 18% 72%, rgba(240, 168, 36, 0.1), transparent 24%);
  filter: blur(44px);
  opacity: 0.72;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.page-shell {
  overflow-x: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 0 0;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(10, 12, 16, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
  padding: 0.36rem;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 46%),
    #000000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 10px 22px rgba(0, 0, 0, 0.28);
}

.brand-name,
.brand-tag {
  display: block;
}

.brand-name,
h1,
h2,
h3,
.quote-range,
.process-index {
  font-family: var(--font-display);
}

.brand-name {
  letter-spacing: 0.24em;
  font-size: 0.8rem;
  font-weight: 700;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.85rem;
}

.parent-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.parent-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 999px;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

.account-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.account-chip,
.account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.account-chip {
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.03);
}

.account-button {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.account-actions form {
  margin: 0;
}

.account-actions button {
  cursor: pointer;
}

.notification-shell {
  position: relative;
}

.notification-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 42px;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
}

.notification-button-label {
  font-size: 0.92rem;
}

.notification-button-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(240, 168, 36, 0.9), rgba(255, 197, 91, 0.95));
  color: #0d0f12;
  font-size: 0.78rem;
  font-weight: 700;
}

.notification-panel {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  width: min(420px, calc(100vw - 1rem));
  display: grid;
  gap: 0.7rem;
  padding: 0.95rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(13, 17, 22, 0.98);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.notification-panel-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
}

.notification-panel-header strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
}

.notification-panel-header p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

body.pollen-theme,
.pollen-shell {
  --bg: #090b16;
  --bg-soft: #12162a;
  --surface: rgba(22, 24, 45, 0.84);
  --surface-strong: rgba(12, 15, 31, 0.93);
  --surface-border: rgba(196, 181, 253, 0.2);
  --text: #f6f4ff;
  --muted: #b9b3d6;
  --muted-strong: #ddd8f2;
  --amber: #8b5cf6;
  --amber-soft: #c4b5fd;
  --cyan: #34d399;
}

body.pollen-theme .page-bg,
.pollen-page-bg {
  background:
    radial-gradient(circle at 16% 16%, rgba(139, 92, 246, 0.32), transparent 30%),
    radial-gradient(circle at 84% 16%, rgba(52, 211, 153, 0.16), transparent 24%),
    radial-gradient(circle at 68% 82%, rgba(79, 70, 229, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(8, 9, 22, 0.98), rgba(9, 11, 22, 1));
}

html[data-theme="light"] body.pollen-theme,
html[data-theme="light"] .pollen-shell {
  --bg: #f5f2ff;
  --bg-soft: #ece7ff;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: rgba(250, 249, 255, 0.96);
  --surface-border: rgba(91, 63, 172, 0.18);
  --text: #1f1b35;
  --muted: #665f82;
  --muted-strong: #3f395e;
  --amber: #6d28d9;
  --amber-soft: #7c3aed;
  --cyan: #059669;
}

html[data-theme="light"] body.pollen-theme .page-bg,
html[data-theme="light"] .pollen-page-bg {
  background:
    radial-gradient(circle at 18% 16%, rgba(124, 58, 237, 0.18), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(5, 150, 105, 0.12), transparent 24%),
    radial-gradient(circle at 70% 82%, rgba(79, 70, 229, 0.12), transparent 28%),
    linear-gradient(180deg, #faf8ff, #ece7ff);
}

.pollen-landing-hero {
  padding-bottom: 3.5rem;
}

.pollen-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 1.5rem;
  align-items: center;
}

.pollen-hero-copy {
  display: grid;
  gap: 1.2rem;
}

.pollen-system-card {
  display: grid;
  gap: 1rem;
  min-height: 420px;
  align-content: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(139, 92, 246, 0.2), transparent 36%),
    radial-gradient(circle at 72% 68%, rgba(52, 211, 153, 0.08), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.pollen-orbit {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
}

.pollen-orbit::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  border: 1px solid rgba(196, 181, 253, 0.34);
  box-shadow: 0 0 70px rgba(139, 92, 246, 0.18);
}

.pollen-orbit-main,
.pollen-orbit-parent {
  position: relative;
  object-fit: contain;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.pollen-orbit-main {
  width: 132px;
  height: 132px;
  padding: 0.7rem;
  border-radius: 28px;
}

.pollen-orbit-parent {
  position: absolute;
  right: calc(50% - 106px);
  bottom: 18px;
  width: 62px;
  height: 62px;
  padding: 0.35rem;
  border-radius: 999px;
}

.pollen-capability-grid .service-card {
  min-height: 230px;
}

.hivecore-brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
}

.hivecore-brand-card {
  display: grid;
  gap: 0.55rem;
  min-height: 255px;
  min-width: 0;
  align-content: start;
  overflow: hidden;
}

.hivecore-brand-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hivecore-brand-card .service-tag {
  min-height: 32px;
  max-width: 100%;
  border-radius: 999px;
  padding: 0.3rem 0.72rem;
  overflow-wrap: anywhere;
}

.hivecore-status {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 28px;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 0.74rem;
  border: 1px solid rgba(196, 181, 253, 0.18);
  background: rgba(139, 92, 246, 0.1);
  overflow-wrap: anywhere;
}

.hivecore-brand-card h3,
.hivecore-brand-card .section-copy,
.hivecore-brand-card .service-link {
  min-width: 0;
  overflow-wrap: anywhere;
}

.hivecore-brand-card .service-link {
  justify-self: start;
  max-width: 100%;
}

.hivecore-brand-card h3,
.pollen-system-card h2,
.pollen-access-card h2 {
  margin: 0;
}

.pollen-access-card {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(52, 211, 153, 0.08)),
    rgba(255, 255, 255, 0.03);
}

.notification-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.notification-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--amber-soft);
  cursor: pointer;
  font-size: 0.82rem;
}

.notification-link-anchor {
  text-decoration: none;
}

.notification-link-button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.notification-status {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.82rem;
  line-height: 1.45;
}

.notification-list {
  display: grid;
  gap: 0.5rem;
  max-height: min(58vh, 520px);
  overflow-y: auto;
  padding-right: 0.2rem;
}

.notification-item,
.notification-empty {
  margin: 0;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.notification-item {
  display: grid;
  gap: 0.3rem;
}

.notification-item.is-unread {
  background: rgba(255, 255, 255, 0.045);
}

.notification-item.is-info {
  box-shadow: inset 3px 0 0 rgba(110, 216, 255, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.notification-item.is-warning {
  box-shadow: inset 3px 0 0 rgba(240, 168, 36, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.notification-item.is-critical {
  box-shadow: inset 3px 0 0 rgba(255, 120, 120, 0.82), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.notification-item-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.65rem;
}

.notification-item-title {
  margin: 0;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.35;
}

.notification-item-time {
  color: var(--muted);
  font-size: 0.76rem;
  white-space: nowrap;
}

.notification-item-body {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.84rem;
  line-height: 1.45;
}

.notification-item-link {
  color: var(--amber-soft);
  font-size: 0.8rem;
}

.notification-toast-stack {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: grid;
  gap: 0.65rem;
  width: min(360px, calc(100vw - 1.5rem));
}

.notification-toast {
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(13, 17, 22, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.notification-toast.is-info {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), inset 3px 0 0 rgba(110, 216, 255, 0.75);
}

.notification-toast.is-warning {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), inset 3px 0 0 rgba(240, 168, 36, 0.82);
}

.notification-toast.is-critical {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), inset 3px 0 0 rgba(255, 120, 120, 0.85);
}

.notification-toast strong {
  font-size: 0.92rem;
}

.notification-toast p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.84rem;
}

.compact-button {
  min-height: 40px;
  padding: 0.65rem 0.9rem;
  white-space: nowrap;
}

.site-nav {
  display: inline-flex;
  gap: 0.45rem 0.82rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--muted-strong);
  font-size: 0.9rem;
}

.is-standalone-app .site-nav a:not([href^="/dashboard"]) {
  display: none;
}

.is-standalone-app .lang-toggle,
.is-standalone-app .auth-panel .section-copy a[href^="/recover"] {
  display: none;
}

.lang-toggle {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  color: var(--muted);
}

.lang-btn.is-active {
  background: linear-gradient(135deg, rgba(240, 168, 36, 0.22), rgba(255, 197, 91, 0.12));
  color: var(--text);
}

.menu-toggle {
  display: none;
  position: relative;
  border: 0;
  background: rgba(255, 255, 255, 0.05);
  width: 48px;
  height: 48px;
  border-radius: 16px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  margin: 0;
  background: var(--text);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span:first-child {
  top: 15px;
}

.menu-toggle span:nth-child(2) {
  top: 23px;
}

.menu-toggle span:last-child {
  top: 31px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateX(-50%) translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateX(-50%) translateY(-8px) rotate(-45deg);
}

.hero-section {
  padding: 6rem 0 2rem;
}

.hero-grid,
.hero-proof,
.services-grid,
.process-grid,
.service-detail-grid,
.two-column-grid,
.eco-3d-grid,
.eco-3d-point-stack,
.split-heading,
.form-split,
.contact-grid,
.equipment-list {
  display: grid;
  gap: 1rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 2rem;
  align-items: start;
}

.eco-3d-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 1.25rem;
  align-items: start;
}

.eco-3d-card {
  align-content: start;
}

.eco-3d-card h3 {
  margin: 0;
}

.auth-grid,
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.hero-grid > *,
.auth-grid > *,
.dashboard-grid > *,
.dashboard-shell > *,
.dashboard-grid-wide > *,
.dashboard-summary-grid > * {
  min-width: 0;
}

.auth-panel .primary-button,
.auth-panel .secondary-button {
  width: 100%;
}

.auth-copy-card,
.auth-panel {
  overflow: hidden;
}

.pollen-theme .auth-copy-card {
  position: relative;
  min-height: 420px;
  align-content: center;
  background:
    radial-gradient(circle at 22% 16%, color-mix(in srgb, var(--amber) 28%, transparent), transparent 34%),
    radial-gradient(circle at 86% 24%, color-mix(in srgb, var(--cyan) 14%, transparent), transparent 28%),
    var(--surface-strong);
}

.pollen-theme .auth-panel {
  background:
    linear-gradient(150deg, color-mix(in srgb, var(--amber) 16%, transparent), rgba(255, 255, 255, 0.02) 42%),
    var(--surface-strong);
}

.auth-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.04);
}

.auth-brand-lockup img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 14px;
  background: #000;
  padding: 0.26rem;
}

.auth-brand-lockup span {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
  opacity: 0.72;
}

.auth-remember-row {
  align-items: flex-start;
}

.auth-remember-row span {
  line-height: 1.4;
}

.dashboard-hero {
  padding-bottom: 1.35rem;
}

.dashboard-workspace-section {
  padding: 0.75rem 0 2rem;
}

.dashboard-hero .container,
.container.dashboard-shell {
  width: min(1540px, calc(100vw - 1.5rem));
}

.dashboard-hero .section-heading {
  max-width: 78rem;
  margin-bottom: 0;
}

.dashboard-hero .service-hero-title {
  max-width: 16ch;
  font-size: clamp(2.5rem, 4.9vw, 4.4rem);
}

.dashboard-hero .hero-body {
  max-width: 70ch;
  color: var(--muted-strong);
}

.dashboard-hero .detail-card,
.dashboard-shell .detail-card {
  background: var(--surface-strong);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow);
}

.dashboard-hero .primary-button,
.dashboard-hero .secondary-button,
.dashboard-content .primary-button,
.dashboard-content .secondary-button {
  border-radius: 14px;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
  min-width: 0;
}

.dashboard-shell.is-sidebar-collapsed {
  grid-template-columns: minmax(0, 1fr);
}

.container.dashboard-shell.is-sidebar-collapsed {
  width: min(1540px, calc(100vw - 1.5rem));
  max-width: none;
}

.dashboard-shell.is-sidebar-collapsed .dashboard-content,
.dashboard-shell.is-sidebar-collapsed .dashboard-stack,
.dashboard-shell.is-sidebar-collapsed .dashboard-calculator-layout {
  width: 100%;
  justify-items: stretch;
}

.dashboard-shell.is-sidebar-collapsed .dashboard-form,
.dashboard-shell.is-sidebar-collapsed .dashboard-form[data-formset-prefix],
.dashboard-shell.is-sidebar-collapsed .dashboard-stack > .detail-card:not(.dashboard-full-width-card),
.dashboard-shell.is-sidebar-collapsed .dashboard-calculator-layout > .detail-card:not(.dashboard-full-width-card) {
  width: 100%;
  max-width: none;
}

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

.dashboard-stack,
.message-stack,
.user-access-list {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.dashboard-sidebar {
  position: sticky;
  top: 6.5rem;
  padding: 1rem;
  border-radius: 20px;
  max-height: calc(100vh - 7.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--amber) 42%, transparent) rgba(255, 255, 255, 0.04);
}

.dashboard-shell.is-sidebar-collapsed .dashboard-sidebar {
  display: none;
}

.dashboard-sidebar::-webkit-scrollbar {
  width: 10px;
}

.dashboard-sidebar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.035);
  border-radius: 999px;
}

.dashboard-sidebar::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 197, 91, 0.58), rgba(240, 168, 36, 0.4));
  border-radius: 999px;
  border: 2px solid rgba(12, 16, 26, 0.22);
}

.dashboard-sidebar::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 210, 110, 0.76), rgba(240, 168, 36, 0.58));
}

.dashboard-tool-nav {
  display: grid;
  gap: 0.55rem;
}

.dashboard-tool-group {
  display: grid;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.018);
}

.dashboard-tool-group-summary {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.72rem 0.8rem;
  border-radius: 14px;
  border: 0;
  background: transparent;
  color: var(--muted-strong);
  cursor: pointer;
}

.dashboard-tool-group-summary:hover {
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-tool-group-summary::-webkit-details-marker {
  display: none;
}

.dashboard-tool-group-summary strong {
  color: var(--text);
  font-size: 0.95rem;
}

.dashboard-tool-group-toggle {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
  font-size: 1.05rem;
  line-height: 1;
}

.dashboard-tool-group[open] .dashboard-tool-group-toggle {
  background: rgba(240, 168, 36, 0.16);
  color: var(--text);
}

.dashboard-tool-subnav {
  display: grid;
  gap: 0.35rem;
  padding: 0 0 0.1rem;
}

.dashboard-tool-sublink {
  padding-left: 1.1rem;
}

.dashboard-tool-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 0.82rem;
  border-radius: 14px;
  border: 0;
  background: transparent;
  color: var(--muted-strong);
}

.dashboard-tool-link:hover {
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.dashboard-tool-link strong {
  color: var(--text);
  font-size: 0.94rem;
}

.dashboard-tool-link.is-active {
  background: rgba(240, 168, 36, 0.12);
  box-shadow: inset 3px 0 0 rgba(240, 168, 36, 0.72);
  color: var(--text);
}

.dashboard-content {
  display: grid;
  gap: 0.7rem;
  min-width: 0;
  max-width: 100%;
}

.dashboard-layout-toolbar {
  display: flex;
  justify-content: flex-start;
  position: sticky;
  top: 0.75rem;
  z-index: 80;
  pointer-events: none;
}

.dashboard-sidebar-toggle {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 120;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
  pointer-events: auto;
}

.dashboard-sidebar-toggle-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 13px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.dashboard-sidebar-toggle-icon::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 2px solid currentColor;
  transform: translateY(-50%);
}

.dashboard-privacy-toggle {
  white-space: nowrap;
}

.dashboard-sensitive-hidden [data-sensitive] {
  color: var(--muted-strong);
}

.dashboard-sensitive-hidden:not(.dashboard-sensitive-redacted) [data-sensitive] {
  visibility: hidden;
}

.dashboard-sensitive-hidden [data-sensitive] input,
.dashboard-sensitive-hidden [data-sensitive] select,
.dashboard-sensitive-hidden [data-sensitive] textarea {
  color: transparent !important;
  caret-color: transparent;
  pointer-events: none;
  user-select: none;
}

.dashboard-sensitive-hidden .dashboard-result-card .quote-meta[data-sensitive] + form {
  margin-top: 0;
}

.dashboard-inline-note {
  margin: 0.4rem 0 0;
  color: var(--amber-soft);
  font-size: 0.82rem;
}

.dashboard-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

.dashboard-summary-card {
  display: grid;
  gap: 0.38rem;
  padding: 0.95rem 1rem;
  align-content: start;
  min-height: 0;
  border-radius: 18px;
}

.dashboard-summary-card .section-copy {
  font-size: 0.88rem;
  line-height: 1.45;
}

.dashboard-alert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.dashboard-alert-pill {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-alert-pill strong {
  color: var(--text);
  font-size: 1.25rem;
}

.dashboard-alert-pill span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.dashboard-alert-pill.is-warning {
  background: linear-gradient(135deg, rgba(240, 168, 36, 0.16), rgba(255, 197, 91, 0.08));
  border-color: rgba(240, 168, 36, 0.3);
}

.dashboard-summary-actions {
  align-content: start;
}

.dashboard-summary-actions .secondary-button {
  justify-self: start;
  margin-top: 0.2rem;
}

.dashboard-status-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.dashboard-status-chip-live {
  border-color: rgba(112, 210, 156, 0.36);
  background: rgba(112, 210, 156, 0.12);
  color: #dff7e8;
}

.dashboard-status-chip-stale {
  border-color: rgba(240, 168, 36, 0.28);
  background: rgba(240, 168, 36, 0.12);
  color: #ffe1a6;
}

.dashboard-summary-value {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.7vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #f3e4b4;
}

.dashboard-summary-actions .dashboard-summary-value {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.dashboard-sidebar-section {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-mini-list {
  display: grid;
  gap: 0.65rem;
}

.dashboard-mini-item {
  display: grid;
  gap: 0.2rem;
  padding: 0.72rem 0.78rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.dashboard-mini-item strong {
  color: var(--text);
}

.dashboard-mini-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 1400px) {
  .container.dashboard-shell {
    width: min(1560px, calc(100vw - 1rem));
  }

  .container.dashboard-shell.is-sidebar-collapsed {
    width: min(1560px, calc(100vw - 1rem));
  }

  .dashboard-shell {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 1rem;
  }

  .dashboard-shell.is-sidebar-collapsed {
    grid-template-columns: minmax(0, 1fr);
  }
}

.dashboard-calculator-layout {
  gap: 0.85rem;
  justify-items: start;
}

.dashboard-full-width-card {
  width: 100%;
}

.dashboard-hidden {
  display: none;
}

.service-hero-title {
  max-width: 16ch;
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  line-height: 1.02;
}

.home-hero-title {
  max-width: 15ch;
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  line-height: 1.02;
}

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

.eyebrow.soft {
  color: var(--cyan);
}

h1,
h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.hero-body,
.section-heading p,
.service-card p,
.process-card p,
.detail-card li,
.quote-panel p,
.quote-disclaimer,
.quote-meta,
.back-link {
  color: var(--muted-strong);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.primary-button,
.secondary-button,
.service-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.primary-button {
  background: linear-gradient(135deg, var(--amber), var(--amber-soft));
  color: #1a1307;
  font-weight: 700;
}

.secondary-button,
.service-link {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.secondary-button.is-active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.hero-proof {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.hero-proof div,
.quote-panel,
.service-card,
.process-card,
.detail-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%),
    var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-proof div {
  padding: 1.1rem;
}

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

.about-card {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.about-card h3,
.about-card p {
  margin: 0;
}

.quote-panel {
  padding: 1.6rem;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--amber) 18%, transparent), rgba(255, 255, 255, 0.02) 40%),
    var(--surface-strong);
}

.quote-form,
.quote-meta {
  display: grid;
  gap: 1rem;
}

.quote-form label {
  display: grid;
  gap: 0.45rem;
}

.quote-form span {
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.quote-form input,
.quote-form textarea,
.quote-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.95rem 1rem;
  outline: none;
}

.dashboard-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.7rem 0.8rem;
  outline: none;
}

.quote-form ul.errorlist {
  margin: 0;
  padding-left: 1.1rem;
  color: #ff9b9b;
}

.quote-form .helptext {
  color: var(--muted);
  font-size: 0.85rem;
}

.legal-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-form .legal-consent input {
  width: 18px;
  height: 18px;
  margin: 0.2rem 0 0;
  padding: 0;
  border-radius: 4px;
  accent-color: var(--amber);
}

.legal-consent a {
  color: var(--amber-soft);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.quote-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
}

.quote-legal-links a {
  color: var(--amber-soft);
  font-size: 0.86rem;
}

.quote-form textarea {
  resize: vertical;
  min-height: 120px;
}

.quote-bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.quote-toggle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quote-toggle-switch {
  position: relative;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 180ms ease, border-color 180ms ease;
}

.quote-toggle-switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--muted-strong);
  transition: transform 180ms ease, background 180ms ease;
}

.quote-toggle input:checked + .quote-toggle-switch {
  background: linear-gradient(135deg, rgba(240, 168, 36, 0.75), rgba(255, 197, 91, 0.55));
  border-color: transparent;
}

.quote-toggle input:checked + .quote-toggle-switch::after {
  transform: translateX(22px);
  background: #1a1307;
}

.quote-toggle input:focus-visible + .quote-toggle-switch {
  box-shadow: 0 0 0 4px rgba(110, 216, 255, 0.12);
}

.quote-toggle-copy {
  display: grid;
  gap: 0.15rem;
}

.quote-toggle-title {
  color: var(--text);
  font-weight: 700;
}

.quote-toggle-help {
  color: var(--muted);
  font-size: 0.88rem;
}

.quote-help {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(251, 132, 24, 0.24);
  background: rgba(251, 132, 24, 0.08);
}

.quote-help-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.quote-help-summary::-webkit-details-marker {
  display: none;
}

.quote-help-title {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.quote-help-toggle {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-strong);
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.quote-help[open] .quote-help-toggle {
  transform: rotate(45deg);
}

.quote-help-body {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.quote-help-copy {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.quote-help-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
  color: var(--muted-strong);
}

.form-split,
.split-heading,
.service-detail-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.25rem;
  align-items: stretch;
}

.blog-editor-card,
.blog-output-card,
.blog-pattern-card {
  display: grid;
  gap: 1rem;
}

.blog-output {
  min-height: 520px;
  max-height: 680px;
  overflow: auto;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  white-space: pre-wrap;
  line-height: 1.58;
}

.blog-pattern-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.blog-pattern-card p {
  margin: 0;
  color: var(--muted-strong);
}

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

.blog-card-grid-small {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 0.85rem;
}

.blog-card {
  align-content: start;
}

.blog-card-small {
  display: grid;
  gap: 0.65rem;
  min-height: 172px;
  padding: 1rem;
}

.blog-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.blog-card-dot {
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--amber-soft);
  box-shadow: 0 0 0 4px rgba(240, 168, 36, 0.12);
}

.blog-card-small h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.blog-card-small h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card-small h3 a:hover {
  color: var(--amber-soft);
}

.blog-card p {
  color: var(--muted-strong);
}

.blog-card-small p {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.blog-detail-layout {
  max-width: 920px;
}

.blog-detail-card {
  display: grid;
  gap: 1.2rem;
}

.blog-post-body {
  display: grid;
  gap: 1rem;
  color: var(--muted-strong);
}

.blog-post-body h2,
.blog-post-body h3 {
  margin: 1.2rem 0 0;
  line-height: 1.1;
}

.blog-post-body p,
.blog-post-body ul,
.blog-post-body ol {
  margin: 0;
}

.blog-post-body li + li {
  margin-top: 0.4rem;
}

.blog-post-body a {
  color: var(--amber-soft);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.blog-post-body table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
}

.blog-post-body th,
.blog-post-body td {
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  vertical-align: top;
}

.blog-post-body th {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.quote-result {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-range {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--amber-soft);
  margin: 0.7rem 0 1rem;
}

.quote-meta {
  list-style: none;
  margin: 0;
  padding: 0;
}

.section {
  padding: 2rem 0 5rem;
}

.section-heading {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 2.75rem;
}

.section-copy {
  margin: 0;
  color: var(--muted-strong);
}

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

.seo-link-grid {
  margin-top: 1.5rem;
}

.service-card,
.process-card,
.detail-card {
  padding: 1.4rem;
}

.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.detail-header .eyebrow {
  margin-bottom: 0;
}

.unit-toggle {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.unit-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  color: var(--muted);
  background: transparent;
}

.unit-btn.is-active {
  background: linear-gradient(135deg, rgba(240, 168, 36, 0.22), rgba(255, 197, 91, 0.12));
  color: var(--text);
}

.spec-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

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

.process-capability-card {
  display: grid;
  gap: 1rem;
}

.process-capability-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.materials-family-stack {
  display: grid;
  gap: 1rem;
}

.materials-family-card {
  width: 100%;
}

.spec-card {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.spec-value {
  color: var(--text);
  font-size: 1.05rem;
}

.service-tag,
.process-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  padding: 0.35rem 0.8rem;
  color: #1a1307;
  font-weight: 700;
  background: linear-gradient(135deg, var(--amber), var(--amber-soft));
}

.process-index {
  width: 52px;
  height: 52px;
  clip-path: polygon(24% 6%, 76% 6%, 100% 50%, 76% 94%, 24% 94%, 0% 50%);
}

.service-link {
  margin-top: 1.2rem;
}

.service-image-card {
  display: grid;
  place-items: center;
  min-height: 360px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.service-image-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.process-explorer-grid {
  display: grid;
  gap: 1rem;
}

.process-detail {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 22%),
    rgba(18, 23, 30, 0.88);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.process-detail summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem 1.5rem;
}

.process-detail summary::-webkit-details-marker {
  display: none;
}

.process-detail-summary {
  display: grid;
  gap: 0.65rem;
}

.process-detail-summary h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.05;
}

.process-detail-summary p {
  margin: 0;
  color: var(--muted-strong);
  max-width: 72ch;
}

.process-detail-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 1.5rem;
  line-height: 1;
}

.process-detail[open] .process-detail-toggle {
  color: #1a1307;
  background: linear-gradient(135deg, var(--amber), var(--amber-soft));
  border-color: transparent;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.detail-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
  font-size: 0.86rem;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  color: var(--amber-soft);
}

.offer-page-shell {
  overflow-x: hidden;
}

.offer-deck {
  position: relative;
}

.offer-slide {
  min-height: calc(100svh - 92px);
  display: flex;
  align-items: center;
  padding: clamp(2rem, 5vw, 4.5rem) 0;
  scroll-margin-top: 92px;
  opacity: 0.64;
  transition: opacity 0.45s ease, filter 0.45s ease, transform 0.45s ease;
}

.offer-slide.is-active {
  opacity: 1;
  filter: saturate(1.08);
}

.offer-slide + .offer-slide {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.offer-slide-heading {
  display: grid;
  gap: 0.75rem;
  max-width: 880px;
  text-align: center;
}

.offer-slide-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
}

.offer-slide-heading p {
  margin: 0;
  color: var(--muted-strong);
}

.offer-hero {
  padding-bottom: clamp(2rem, 5vw, 4.5rem);
}

.offer-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 2rem;
  align-items: center;
}

.offer-stage {
  position: relative;
  min-height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 50%, rgba(240, 168, 36, 0.22), transparent 28%),
    radial-gradient(circle at 18% 16%, rgba(94, 234, 212, 0.14), transparent 30%),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
}

.offer-stage::before {
  content: "";
  position: absolute;
  inset: -35%;
  background: conic-gradient(from 0deg, transparent, rgba(240, 168, 36, 0.2), transparent, rgba(94, 234, 212, 0.16), transparent);
  animation: offer-stage-spin 20s linear infinite;
  z-index: -1;
}

.offer-stage-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  gap: 0.7rem;
  width: 170px;
  height: 170px;
  border-radius: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 12, 16, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.offer-stage-core img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.offer-stage-core span {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.offer-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.offer-orbit-one {
  width: 70%;
  height: 70%;
  animation: offer-pulse 5s ease-in-out infinite;
}

.offer-orbit-two {
  width: 52%;
  height: 52%;
  animation: offer-pulse 5s ease-in-out infinite 0.8s;
}

.offer-orbit-three {
  width: 86%;
  height: 38%;
  transform: translate(-50%, -50%) rotate(-18deg);
  animation: offer-tilt 8s ease-in-out infinite;
}

.offer-orbit-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  color: var(--text);
  background: rgba(10, 12, 16, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  animation: offer-chip-float 4.8s ease-in-out infinite;
}

.offer-orbit-chip-1 { left: 10%; top: 18%; animation-delay: 0s; }
.offer-orbit-chip-2 { right: 12%; top: 16%; animation-delay: 0.45s; }
.offer-orbit-chip-3 { left: 6%; top: 48%; animation-delay: 0.9s; }
.offer-orbit-chip-4 { right: 7%; top: 50%; animation-delay: 1.35s; }
.offer-orbit-chip-5 { left: 18%; bottom: 15%; animation-delay: 1.8s; }
.offer-orbit-chip-6 { right: 18%; bottom: 14%; animation-delay: 2.25s; }
.offer-orbit-chip-7 { left: 50%; top: 8%; transform: translateX(-50%); animation-delay: 2.7s; }

.offer-marquee-section {
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.4rem, 4vw, 2.6rem);
  padding: clamp(2rem, 5vw, 4.5rem) 0;
}

.offer-marquee {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.offer-marquee-track {
  display: flex;
  width: max-content;
  gap: 0.75rem;
  padding: 0.95rem 0;
  animation: offer-marquee 42s linear infinite;
}

.offer-marquee-track span {
  white-space: nowrap;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  color: var(--muted-strong);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.offer-capability-grid,
.offer-asset-grid,
.offer-process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

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

.offer-service-card {
  min-height: auto;
  padding: 1.05rem;
}

.offer-service-card h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.offer-service-card p {
  font-size: 0.92rem;
}

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

.offer-capability-card {
  animation: offer-card-rise 0.7s ease both;
  animation-delay: calc(var(--delay-index, 0) * 0.08s);
}

.offer-capability-card h3 {
  margin-top: 0.55rem;
}

.offer-process-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.offer-process-steps .detail-card {
  min-height: 170px;
}

.offer-asset-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.offer-asset-card img,
.offer-asset-empty img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.offer-asset-empty {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.offer-closing-card {
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem);
}

.offer-closing-card .hero-actions {
  justify-content: center;
}

.offer-deck-controls {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 50;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  max-width: calc(100vw - 1.2rem);
  padding: 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(10, 12, 16, 0.84);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.offer-deck-button {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 0.48rem 0.78rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.offer-deck-button:hover,
.offer-deck-button:focus-visible {
  border-color: rgba(240, 168, 36, 0.75);
  background: rgba(240, 168, 36, 0.16);
  outline: none;
}

.offer-deck-toggle {
  min-width: 86px;
}

.offer-deck-counter {
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.offer-deck-progress {
  width: min(150px, 18vw);
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.offer-deck-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
  transform: scaleX(0);
  transform-origin: left center;
}

.offer-deck-dots {
  display: flex;
  align-items: center;
  gap: 0.36rem;
}

.offer-deck-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  padding: 0;
  cursor: pointer;
}

.offer-deck-dot.is-active {
  background: var(--amber);
  transform: scale(1.32);
}

@keyframes offer-stage-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes offer-pulse {
  0%, 100% {
    opacity: 0.58;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.035);
  }
}

@keyframes offer-tilt {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(-18deg) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) rotate(-8deg) scale(1.04);
  }
}

@keyframes offer-chip-float {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@keyframes offer-marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes offer-card-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-stage::before,
  .offer-orbit,
  .offer-orbit-chip,
  .offer-marquee-track,
  .offer-capability-card {
    animation: none;
  }
}

.site-footer {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer-credit {
  margin: 0;
  color: var(--muted-strong);
}

.site-footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer-links a {
  color: var(--amber-soft);
}

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

.process-card {
  min-height: 250px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 1rem;
}

.equipment-item + .equipment-item {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.equipment-item h3 {
  margin: 0 0 0.4rem;
}

.equipment-item p {
  margin: 0 0 0.8rem;
  color: var(--muted-strong);
}

.floating-actions {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 35;
  display: grid;
  gap: 0.75rem;
  justify-items: end;
}

.floating-quote-button,
.floating-whatsapp-button,
.floating-email-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.floating-quote-button {
  min-height: 54px;
  padding: 0.95rem 1.3rem;
  background: linear-gradient(135deg, var(--amber), var(--amber-soft));
  color: #1a1307;
  font-weight: 700;
}

.floating-quote-button.is-attention {
  animation: quotePulse 1.1s ease 2;
}

.floating-whatsapp-button {
  min-height: 54px;
  padding: 0.9rem 1.2rem;
  gap: 0.65rem;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
}

.floating-email-button {
  min-height: 50px;
  padding: 0.85rem 1.1rem;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.email-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  font-weight: 700;
}

.whatsapp-icon {
  width: 26px;
  height: 26px;
}

.contact-panel {
  padding: 1.5rem;
  background:
    linear-gradient(160deg, rgba(110, 216, 255, 0.08), rgba(255, 255, 255, 0.02) 38%),
    rgba(15, 18, 24, 0.88);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.dashboard-heading {
  margin-bottom: 0;
}

.dashboard-form {
  width: 100%;
  max-width: 840px;
  margin-top: 0.72rem;
  gap: 0.62rem;
}

.newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.5rem;
  padding: 1.4rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter-panel h3 {
  margin: 0 0 0.5rem;
}

.newsletter-form {
  display: grid;
  gap: 0.9rem;
}

.newsletter-form label {
  display: grid;
  gap: 0.4rem;
}

.newsletter-form input:not([type="checkbox"]) {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.85rem 0.95rem;
}

.dashboard-form[data-formset-prefix] {
  max-width: 980px;
}

.dashboard-content .detail-card > .dashboard-form,
.user-access-card > .dashboard-form {
  width: 100%;
}

.dashboard-stack {
  justify-items: start;
}

.dashboard-stack > .detail-card:not(.dashboard-full-width-card),
.dashboard-calculator-layout > .detail-card:not(.dashboard-full-width-card) {
  width: min(100%, 900px);
}

.dashboard-content .detail-card,
.dashboard-full-width-card,
.dashboard-calculator-layout,
.table-wrap {
  min-width: 0;
}

.dashboard-content .detail-card {
  padding: 0.9rem 0.95rem;
  border-radius: 18px;
}

.dashboard-content .detail-header {
  margin-bottom: 0.85rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-content .detail-card > h2,
.dashboard-content .detail-header h2 {
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  letter-spacing: -0.03em;
}

.dashboard-form label {
  gap: 0.24rem;
}

.dashboard-form span,
.dashboard-form .chip-label {
  font-size: 0.8rem;
}

.dashboard-form input:not([type="checkbox"]):not([type="radio"]),
.dashboard-form textarea,
.dashboard-form select {
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  padding: 0.62rem 0.72rem;
  font-size: 0.95rem;
}

.dashboard-form input:not([type="checkbox"]):not([type="radio"]):focus,
.dashboard-form textarea:focus,
.dashboard-form select:focus {
  border-color: color-mix(in srgb, var(--amber) 48%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 18%, transparent);
}

.dashboard-form textarea {
  min-height: 76px;
}

.dashboard-form .form-split {
  grid-template-columns: repeat(auto-fit, minmax(150px, 210px));
  justify-content: start;
  gap: 0.58rem;
}

.dashboard-form[data-formset-prefix] .form-split {
  grid-template-columns: repeat(auto-fit, minmax(160px, 220px));
}

.dashboard-grid-wide {
  grid-template-columns: repeat(auto-fit, minmax(280px, 420px));
  justify-content: start;
  gap: 0.85rem;
}

.dashboard-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-section-switcher {
  display: grid;
  gap: 0.65rem;
}

.dashboard-section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-collapsible-card {
  padding: 0;
  overflow: hidden;
}

.admin-collapsible-details,
.admin-collapsible-options {
  display: grid;
  gap: 0;
}

.admin-collapsible-summary,
.admin-collapsible-options > summary {
  list-style: none;
  cursor: pointer;
}

.admin-collapsible-summary::-webkit-details-marker,
.admin-collapsible-options > summary::-webkit-details-marker {
  display: none;
}

.admin-collapsible-summary {
  position: relative;
  padding: 1rem 3rem 1rem 1rem;
}

.admin-collapsible-options > summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem 2.6rem 0.72rem 0.82rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 700;
}

.admin-collapsible-options > summary small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.admin-collapsible-summary::after,
.admin-collapsible-options > summary::after {
  content: "+";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  transform: translateY(-50%);
  background: rgba(240, 168, 36, 0.14);
  color: var(--amber-soft);
  font-weight: 700;
}

.admin-collapsible-details[open] > .admin-collapsible-summary::after,
.admin-collapsible-options[open] > summary::after {
  content: "-";
}

.admin-collapsible-summary:hover,
.admin-collapsible-options > summary:hover {
  background: rgba(255, 255, 255, 0.035);
}

.admin-collapsible-body {
  display: grid;
  gap: 0.72rem;
  padding: 0 1rem 1rem;
}

.admin-collapsible-options .admin-collapsible-body {
  padding: 0.72rem 0.82rem 0.2rem;
}

.dashboard-content .primary-button,
.dashboard-content .secondary-button {
  min-height: 42px;
  padding: 0.62rem 0.95rem;
  font-size: 0.92rem;
}

.dashboard-content .compact-button {
  min-height: 34px;
  padding: 0.44rem 0.72rem;
  font-size: 0.82rem;
}

.dashboard-limit-card {
  display: grid;
  gap: 0.6rem;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-result-card {
  min-height: 100%;
}

.dashboard-message {
  margin: 0;
  padding: 0.82rem 0.95rem;
  border-radius: 14px;
  background: rgba(110, 216, 255, 0.06);
  border: 1px solid rgba(110, 216, 255, 0.12);
  color: var(--muted-strong);
}

.dashboard-readonly-field {
  display: grid;
  gap: 0.35rem;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-readonly-field span {
  color: var(--muted);
  font-size: 0.85rem;
}

.dashboard-readonly-field strong {
  color: var(--text);
}

.dashboard-checkbox-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.dashboard-checkbox-group label,
.dashboard-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted-strong);
}

.dashboard-checkbox-group input[type="checkbox"],
.dashboard-checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.user-access-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-asset-admin-preview {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
}

.brand-asset-admin-preview img,
.brand-asset-file-icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.brand-asset-admin-preview img {
  object-fit: contain;
}

.brand-asset-file-icon {
  display: grid;
  place-items: center;
  padding: 0.5rem;
  color: var(--muted-strong);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.user-access-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.user-access-header p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.task-log-list {
  display: grid;
  gap: 0.4rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.task-log-entry {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.75rem 0.55rem;
}

.task-log-line {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  cursor: pointer;
}

.task-log-details {
  display: grid;
  gap: 0.35rem;
  padding: 0.35rem 0 0.1rem;
}

.task-log-detail {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.9rem;
}

.todo-workspace-stack {
  align-items: start;
}

.todo-workspace-hero-card {
  display: grid;
  gap: 1rem;
}

.todo-workspace-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
}

.todo-metric-card {
  display: grid;
  gap: 0.2rem;
  padding: 0.72rem 0.78rem;
  border-radius: 14px;
  border: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.028);
}

.todo-metric-card span,
.todo-metric-card small {
  color: var(--muted);
}

.todo-metric-card strong {
  font-size: 1.35rem;
  font-family: var(--font-display);
  line-height: 1;
}

.todo-metric-card.is-warning {
  background: linear-gradient(180deg, rgba(240, 168, 36, 0.12), rgba(255, 255, 255, 0.015));
  box-shadow: inset 3px 0 0 rgba(240, 168, 36, 0.65);
}

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

.operations-inbox-composer {
  width: min(100%, 980px);
}

.operations-inbox-list {
  width: 100%;
}

.operations-inbox-card {
  --todo-kind-color: rgba(174, 184, 195, 0.72);
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 4px 0 0 var(--todo-kind-color),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.operations-inbox-chip-row {
  justify-content: flex-start;
}

.operations-inbox-edit {
  margin-top: 0.55rem;
}

.daily-todo-panel {
  scroll-margin-top: 1rem;
}

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

.daily-todo-composer {
  margin-top: 1rem;
}

.daily-todo-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.daily-todo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-width: 0;
  padding: 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055);
}

.daily-todo-card.is-carryover {
  box-shadow:
    inset 3px 0 0 rgba(240, 168, 36, 0.72),
    inset 0 0 0 1px rgba(255, 255, 255, 0.055);
}

.daily-todo-card.is-complete {
  opacity: 0.72;
}

.daily-todo-card.is-complete .todo-checkmark {
  background: rgba(112, 210, 156, 0.82);
  box-shadow: inset 0 0 0 1px rgba(112, 210, 156, 0.95);
}

.daily-todo-main,
.daily-todo-title-row > div {
  min-width: 0;
}

.daily-todo-title-row {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.daily-todo-title-row strong,
.daily-todo-title-row p {
  overflow-wrap: anywhere;
}

.daily-todo-title-row p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.daily-todo-task-link {
  color: inherit;
  text-decoration: none;
}

.daily-todo-carryover-chip {
  color: #f0a824;
}

.daily-todo-progress {
  margin-top: 0.65rem;
}

.daily-todo-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
  max-width: 390px;
}

.daily-todo-progress-form {
  display: flex;
  align-items: end;
  gap: 0.4rem;
}

.daily-todo-progress-form label {
  display: grid;
  gap: 0.22rem;
  min-width: 96px;
  color: var(--muted);
  font-size: 0.78rem;
}

.daily-todo-progress-form .dashboard-input {
  width: 96px;
  min-width: 0;
}

.daily-todo-empty {
  margin-top: 1rem;
}

.todo-board-toolbar:empty {
  display: none;
}

.todo-board-toolbar {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 0.85rem;
}

.todo-board-shell {
  display: grid;
  gap: 0.7rem;
}

.todo-board-composer {
  width: min(100%, 860px);
  padding: 0.35rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.todo-board-composer[open] {
  padding: 0.8rem;
}

.todo-board-composer summary {
  list-style: none;
  cursor: pointer;
  width: fit-content;
}

.todo-board-composer summary::-webkit-details-marker {
  display: none;
}

.todo-board-create-form {
  max-width: 100%;
  margin-top: 0.7rem;
}

.todo-calendar-card {
  overflow: hidden;
}

.calendar-task-composer {
  margin: 1rem 0 1.25rem;
}

.todo-calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 1rem;
  align-items: start;
}

.todo-calendar-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.7rem;
  flex-wrap: wrap;
}

.todo-calendar-section-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.todo-calendar-weekdays,
.todo-calendar-days,
.todo-calendar-segments {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.todo-calendar-weekdays {
  gap: 0.3rem;
  margin-bottom: 0.35rem;
}

.todo-calendar-weekdays span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.todo-calendar-weeks {
  display: grid;
  gap: 0.5rem;
}

.todo-calendar-week {
  display: grid;
  gap: 0.25rem;
  padding: 0.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.018);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.todo-calendar-days {
  gap: 0.25rem;
}

.todo-calendar-day {
  min-height: 34px;
  padding: 0.35rem;
  border-radius: 10px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.028);
  font-size: 0.78rem;
}

.todo-calendar-day.is-outside {
  color: rgba(174, 184, 195, 0.45);
}

.todo-calendar-day.is-today {
  box-shadow: inset 0 0 0 1px rgba(240, 168, 36, 0.4);
  color: var(--amber-soft);
}

.todo-calendar-day.is-selected {
  background: rgba(110, 216, 255, 0.12);
  color: var(--text);
}

.todo-calendar-segments {
  grid-auto-rows: minmax(28px, auto);
  gap: 0.25rem;
}

.todo-calendar-segment,
.todo-calendar-pill,
.todo-day-event {
  --todo-kind-color: rgba(174, 184, 195, 0.72);
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(16, 21, 28, 0.92);
  box-shadow:
    inset 3px 0 0 var(--todo-kind-color),
    inset 0 0 0 1px rgba(255, 255, 255, 0.045);
}

.todo-calendar-segment {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
  padding: 0.32rem 0.46rem;
  border-radius: 9px;
  font-size: 0.74rem;
  line-height: 1.2;
}

.todo-calendar-segment span,
.todo-day-event strong,
.todo-calendar-pill strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.todo-calendar-segment small {
  color: var(--muted);
  font-size: 0.68rem;
}

.todo-calendar-segment.is-done,
.todo-day-event.is-done {
  opacity: 0.58;
}

.todo-calendar-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.todo-calendar-all-day {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.todo-calendar-all-day-list {
  display: grid;
  gap: 0.42rem;
}

.todo-calendar-pill {
  display: grid;
  gap: 0.12rem;
  padding: 0.48rem 0.58rem;
  border-radius: 12px;
}

.todo-calendar-pill span,
.todo-day-event span {
  color: var(--muted);
  font-size: 0.75rem;
}

.todo-day-timeline {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 0.5rem;
}

.todo-day-hours {
  display: grid;
  grid-template-rows: repeat(24, 42px);
}

.todo-day-hours span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1;
  transform: translateY(-0.12rem);
}

.todo-day-track {
  position: relative;
  min-height: 1008px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(10, 14, 20, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.todo-day-hour-line {
  display: block;
  height: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
}

.todo-day-event {
  position: absolute;
  inset: var(--calendar-top) 0.5rem auto;
  min-height: 36px;
  height: max(var(--calendar-height), 3.5%);
  display: grid;
  gap: 0.08rem;
  align-content: start;
  padding: 0.5rem 0.58rem;
  border-radius: 12px;
  overflow: hidden;
}

.todo-day-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.todo-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(265px, 1fr));
  gap: 0.75rem;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  padding: 0 0 0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable both-edges;
  scroll-snap-type: x proximity;
}

.todo-column {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  gap: 0.4rem;
  min-width: 0;
  height: 100%;
  scroll-snap-align: start;
}

.todo-column-header {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 0.18rem;
  padding: 0 0.1rem;
  height: 88px;
  border-radius: 0;
  background: transparent;
  border: 0;
  overflow: hidden;
}

.todo-column-header h3 {
  margin: 0;
  font-size: 0.96rem;
}

.todo-column-header .section-copy {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  display: -webkit-box;
  min-height: 2.3em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.todo-column-cards {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  align-self: stretch;
  min-height: 250px;
  height: 100%;
  padding: 0.55rem;
  border-radius: 16px;
  border: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008)),
    rgba(10, 14, 20, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}

.todo-column-cards.is-drag-target {
  box-shadow: inset 0 0 0 1px rgba(110, 216, 255, 0.24), inset 0 0 0 999px rgba(110, 216, 255, 0.025);
  background:
    linear-gradient(180deg, rgba(110, 216, 255, 0.05), rgba(255, 255, 255, 0.01)),
    rgba(10, 14, 20, 0.28);
  transform: translateY(-1px);
}

.todo-card {
  --todo-kind-color: rgba(174, 184, 195, 0.72);
  position: relative;
  display: grid;
  gap: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 46%),
    rgba(16, 21, 28, 0.98);
  border: 0;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.todo-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--todo-kind-color);
  pointer-events: none;
}

.todo-work-type-general {
  --todo-kind-color: rgba(174, 184, 195, 0.72);
}

.todo-work-type-3d_printing {
  --todo-kind-color: #6ed8ff;
}

.todo-work-type-3d_scanning {
  --todo-kind-color: #70d29c;
}

.todo-work-type-cnc_router {
  --todo-kind-color: #f0a824;
}

.todo-work-type-laser_cutting {
  --todo-kind-color: #ff7878;
}

.todo-work-type-design_engineering {
  --todo-kind-color: #b99cff;
}

.todo-work-type-software {
  --todo-kind-color: #7ad7c4;
}

.todo-work-type-admin {
  --todo-kind-color: #cdd4dc;
}

.todo-work-type-personal {
  --todo-kind-color: #ff9fc7;
}

.todo-work-type-second_job {
  --todo-kind-color: #8fb4ff;
}

.todo-card[draggable="true"] {
  cursor: grab;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.todo-card[draggable="true"]:hover {
  transform: translateY(-1px);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.045);
}

.todo-card.is-dragging {
  opacity: 0.56;
  cursor: grabbing;
}

.todo-card.is-attention {
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.14),
    inset 3px 0 0 rgba(240, 168, 36, 0.8),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.todo-card.is-overdue {
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.14),
    inset 3px 0 0 rgba(255, 120, 120, 0.8),
    inset 0 0 0 1px rgba(255, 120, 120, 0.08);
}

.todo-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.6rem;
}

.todo-card-trigger {
  display: grid;
  gap: 0.7rem;
  width: 100%;
  padding: 0.95rem 0.8rem 0.8rem;
  cursor: pointer;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  text-align: left;
}

.todo-card-trigger:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 1px rgba(110, 216, 255, 0.5);
}

.todo-card-title-group {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.todo-card-top h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.3;
}

.todo-card-top p,
.todo-card-owner {
  margin: 0.18rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.todo-card-description {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--muted-strong);
  display: -webkit-box;
  min-height: 3.6em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.todo-card-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.todo-card-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.todo-card-summary-row .todo-card-owner {
  margin: 0;
}

.todo-card .account-chip {
  min-height: 26px;
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.038);
}

.todo-work-type-chip {
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 2px 0 0 var(--todo-kind-color),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.todo-alert-chip.is-attention {
  background: rgba(240, 168, 36, 0.16);
  border-color: rgba(240, 168, 36, 0.28);
}

.todo-alert-chip.is-blocked,
.todo-alert-chip.is-urgent {
  background: rgba(255, 120, 120, 0.14);
  border-color: rgba(255, 120, 120, 0.28);
}

.todo-card-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.todo-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.52rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  font-size: 0.75rem;
  line-height: 1.25;
}

.todo-meta-pill.is-warning {
  box-shadow: inset 0 0 0 1px rgba(240, 168, 36, 0.18);
  color: var(--amber-soft);
}

.todo-meta-pill.is-danger {
  box-shadow: inset 0 0 0 1px rgba(255, 120, 120, 0.18);
  color: #ffb4b4;
}

.todo-progress-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
}

.todo-progress-row strong {
  font-size: 0.82rem;
  color: var(--muted-strong);
}

.todo-progress-bar {
  position: relative;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.todo-progress-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(110, 216, 255, 0.9), rgba(240, 168, 36, 0.95));
}

.todo-checklist-preview,
.todo-checklist-panel {
  display: grid;
  gap: 0.45rem;
  padding: 0.58rem 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.026);
  box-shadow:
    inset 2px 0 0 rgba(110, 216, 255, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.028);
}

.todo-checklist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.todo-checklist-header strong {
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.todo-checklist-header span {
  color: var(--muted);
  font-size: 0.76rem;
}

.todo-checklist {
  display: grid;
  gap: 0.34rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.todo-checklist li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.45rem;
  align-items: start;
  color: var(--muted-strong);
  font-size: 0.82rem;
  line-height: 1.35;
}

.todo-checklist li.is-done {
  color: var(--muted);
  text-decoration: line-through;
}

.todo-checkmark {
  width: 0.9rem;
  height: 0.9rem;
  margin-top: 0.08rem;
  border-radius: 4px;
  border: 1px solid rgba(205, 212, 220, 0.5);
  background: rgba(255, 255, 255, 0.035);
}

.todo-checklist li.is-done .todo-checkmark {
  border-color: rgba(110, 216, 255, 0.45);
  background:
    linear-gradient(135deg, rgba(110, 216, 255, 0.9), rgba(240, 168, 36, 0.86));
  box-shadow: inset 0 0 0 2px rgba(20, 26, 34, 0.82);
}

.todo-checklist-compact li:nth-child(n + 4) {
  display: none;
}

.todo-notes-preview {
  display: grid;
  gap: 0.22rem;
  padding: 0.6rem 0.68rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.024);
  border: 0;
  box-shadow: inset 2px 0 0 rgba(240, 168, 36, 0.32);
}

.todo-notes-preview strong {
  font-size: 0.72rem;
  color: var(--amber-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.todo-notes-preview p,
.todo-card-last-update {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.82rem;
  line-height: 1.45;
}

.todo-card-panel {
  margin: 0;
}

.todo-card-panel.task-log-entry {
  padding: 0.05rem 0.55rem 0.42rem;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.022);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.028);
}

.todo-card-panel .task-log-line {
  font-size: 0.82rem;
}

.todo-card .task-log-list {
  gap: 0.35rem;
  padding-top: 0.2rem;
  border-top-color: rgba(255, 255, 255, 0.05);
}

.todo-card .task-log-entry {
  border: 0;
  padding: 0.08rem 0.5rem 0.38rem;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.018);
  box-shadow: inset 2px 0 0 rgba(255, 255, 255, 0.04);
}

.todo-card .task-log-details {
  padding-top: 0.24rem;
}

.todo-card .task-log-detail {
  font-size: 0.82rem;
}

.todo-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.todo-card-inline-action {
  margin: 0;
}

.todo-card-pass-select {
  min-width: min(100%, 180px);
}

.todo-card-move-form {
  display: none;
}

.todo-card-detail {
  display: grid;
  gap: 0.85rem;
}

.todo-card-detail-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.todo-card-detail-header h3 {
  margin: 0;
  font-size: 1.15rem;
}

.todo-card-modal-description {
  margin: 0;
}

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

.todo-board-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  justify-items: end;
  align-items: stretch;
  padding: 0;
}

.todo-board-modal.dashboard-hidden {
  display: none;
}

.todo-board-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 12, 0.74);
  backdrop-filter: blur(8px);
}

.todo-board-modal-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100vw);
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  padding: 1.1rem 1.1rem 1.35rem;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%),
    rgba(13, 17, 23, 0.98);
  box-shadow:
    -18px 0 44px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.todo-board-modal-body {
  display: grid;
  gap: 0.85rem;
}

@media (max-width: 860px) {
  .todo-board-modal-panel {
    width: 100vw;
  }
}

.todo-empty-column,
.todo-empty-board {
  padding: 0.85rem;
  border-radius: 14px;
  border: 0;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.todo-empty-column .section-copy,
.todo-empty-board .section-copy {
  margin: 0;
}

.todo-column[data-stage="backlog"] .todo-column-cards {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(13, 17, 22, 0.34);
}

.todo-column[data-stage="ready"] .todo-column-cards {
  background:
    linear-gradient(180deg, rgba(240, 168, 36, 0.055), rgba(255, 255, 255, 0.01)),
    rgba(13, 17, 22, 0.34);
}

.todo-column[data-stage="active"] .todo-column-cards {
  background:
    linear-gradient(180deg, rgba(110, 216, 255, 0.055), rgba(255, 255, 255, 0.01)),
    rgba(13, 17, 22, 0.34);
}

.todo-column[data-stage="review"] .todo-column-cards {
  background:
    linear-gradient(180deg, rgba(255, 197, 91, 0.06), rgba(255, 255, 255, 0.01)),
    rgba(13, 17, 22, 0.34);
}

.todo-column[data-stage="done"] .todo-column-cards {
  background:
    linear-gradient(180deg, rgba(112, 210, 156, 0.055), rgba(255, 255, 255, 0.01)),
    rgba(13, 17, 22, 0.34);
}

.contact-heading {
  margin-bottom: 1.25rem;
}

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

.contact-line {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
}

.contact-line strong {
  display: block;
  color: var(--amber-soft);
  margin-bottom: 0.35rem;
}

.contact-line a {
  color: var(--text);
}

.detail-list {
  margin: 0;
  padding-left: 1.1rem;
}

.detail-list-spaced {
  margin-top: 0.75rem;
}

.table-wrap {
  width: 100%;
  max-inline-size: 100%;
  max-width: 100%;
  display: block;
  overflow-x: auto;
  overflow-y: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable both-edges;
  border-radius: 14px;
}

.inventory-filter-form,
.inventory-stock-form,
.inventory-create-parent-form,
.inventory-parent-form,
.inventory-variant-form {
  max-width: 100%;
}

.inventory-filter-grid,
.inventory-field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.58rem;
}

.inventory-group-list {
  display: grid;
  gap: 0.95rem;
  margin-top: 1rem;
}

.inventory-section-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.inventory-section-card {
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(240, 168, 36, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(255, 255, 255, 0.055);
}

.inventory-section-card-resin {
  background:
    linear-gradient(180deg, rgba(122, 215, 196, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.018);
}

.inventory-section-card:not([open]) {
  gap: 0;
}

.inventory-section-summary {
  position: relative;
  display: block;
  margin: -0.35rem;
  padding: 0.35rem 2.4rem 0.35rem 0.35rem;
  border-radius: 18px;
  cursor: pointer;
  list-style: none;
}

.inventory-section-summary::-webkit-details-marker {
  display: none;
}

.inventory-section-summary::after {
  content: "+";
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  color: var(--amber-soft);
  border: 1px solid rgba(240, 168, 36, 0.3);
  background: rgba(240, 168, 36, 0.075);
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1;
}

.inventory-section-card[open] .inventory-section-summary::after {
  content: "-";
}

.inventory-section-summary:hover {
  background: rgba(255, 255, 255, 0.025);
}

.inventory-section-summary:focus-visible {
  outline: 2px solid rgba(240, 168, 36, 0.58);
  outline-offset: 3px;
}

.inventory-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.inventory-section-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.05;
}

.inventory-section-body {
  margin-top: 0.35rem;
}

.inventory-group-card {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(110, 216, 255, 0.025), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.inventory-group-card:not([open]) {
  gap: 0;
}

.inventory-group-card.is-warning {
  box-shadow: inset 3px 0 0 rgba(240, 168, 36, 0.7);
}

.inventory-group-summary {
  position: relative;
  display: block;
  margin: -0.35rem;
  padding: 0.35rem 2.3rem 0.35rem 0.35rem;
  border-radius: 16px;
  cursor: pointer;
  list-style: none;
}

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

.inventory-group-summary::after {
  content: "+";
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  color: var(--amber-soft);
  border: 1px solid rgba(240, 168, 36, 0.28);
  background: rgba(240, 168, 36, 0.07);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.inventory-group-card[open] .inventory-group-summary::after {
  content: "-";
}

.inventory-group-summary:hover {
  background: rgba(255, 255, 255, 0.025);
}

.inventory-group-summary:focus-visible {
  outline: 2px solid rgba(240, 168, 36, 0.58);
  outline-offset: 3px;
}

.inventory-group-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.inventory-group-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.05;
}

.inventory-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.inventory-group-card .account-chip {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.inventory-parent-form,
.inventory-stock-form,
.inventory-create-parent-form,
.inventory-variant-form {
  padding: 0.85rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.inventory-stock-form {
  margin-top: 1rem;
  background:
    linear-gradient(180deg, rgba(240, 168, 36, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.025);
  box-shadow:
    inset 0 0 0 1px rgba(240, 168, 36, 0.16),
    0 14px 34px rgba(0, 0, 0, 0.16);
}

.inventory-stock-form h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.inventory-stock-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.inventory-stock-grid label:first-child {
  grid-column: span 2;
}

.inventory-advanced-settings,
.inventory-family-create-shell {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.018);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.inventory-advanced-settings {
  padding: 0.75rem 0.85rem;
}

.inventory-family-create-shell {
  margin-top: 0.75rem;
  padding: 0.75rem 0.85rem;
}

.inventory-json-import-shell[open] {
  background: rgba(240, 168, 36, 0.035);
}

.inventory-advanced-settings summary,
.inventory-family-create-shell summary {
  cursor: pointer;
  color: var(--amber-soft);
  font-weight: 700;
}

.inventory-advanced-settings[open] summary,
.inventory-family-create-shell[open] summary {
  margin-bottom: 0.75rem;
}

.inventory-parent-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.inventory-json-import-form {
  gap: 0.85rem;
}

.inventory-json-import-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(260px, 1fr);
  gap: 0.85rem;
  align-items: stretch;
}

.inventory-json-dropzone {
  position: relative;
  min-height: 190px;
  display: grid;
  align-content: center;
  gap: 0.45rem;
  padding: 1.1rem;
  border: 1px dashed rgba(240, 168, 36, 0.42);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.14);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.inventory-json-dropzone:hover,
.inventory-json-dropzone.is-drag-over {
  border-color: rgba(240, 168, 36, 0.82);
  background: rgba(240, 168, 36, 0.07);
  transform: translateY(-1px);
}

.inventory-json-dropzone input[type="file"] {
  width: 100%;
  margin-top: 0.4rem;
}

.inventory-json-dropzone-title {
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
}

.inventory-json-dropzone-copy,
.inventory-json-file-name,
.inventory-json-field-grid span,
.inventory-json-submit-note {
  color: var(--muted-strong);
}

.inventory-json-file-name {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.2rem;
  padding: 0.36rem 0.56rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.inventory-json-guide {
  display: grid;
  gap: 0.75rem;
  padding: 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.055);
}

.inventory-json-field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.55rem;
}

.inventory-json-field-grid span {
  display: grid;
  gap: 0.2rem;
  padding: 0.62rem 0.68rem;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.84rem;
}

.inventory-json-field-grid strong {
  color: var(--text);
}

.inventory-json-submit-note {
  max-width: 520px;
  margin: 0;
}

.inventory-json-review {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.inventory-readonly-copy {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.inventory-readonly-copy p {
  margin: 0;
}

.inventory-variant-stack {
  display: grid;
  gap: 0.7rem;
}

.inventory-subheader {
  margin-bottom: 0;
  padding-bottom: 0.55rem;
}

.inventory-variant-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.inventory-variant-grid {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.inventory-delete-parent-form {
  margin: 0;
}

.inventory-delete-parent-form .secondary-button {
  width: fit-content;
}

.material-table {
  width: max-content;
  max-width: none;
  border-collapse: collapse;
  min-width: 760px;
}

.printer-inventory-table {
  min-width: 1320px;
}

.printer-inventory-table-wrap {
  max-height: min(72vh, 720px);
  overflow: auto;
  position: relative;
}

.printer-choice-stack {
  display: grid;
  gap: 0.35rem;
  min-width: 160px;
}

.printer-new-choice-input[hidden] {
  display: none;
}

.material-table th,
.material-table td {
  padding: 0.65rem 0.72rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.material-table th {
  color: var(--amber-soft);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgba(18, 23, 31, 0.98);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.material-table td {
  color: var(--muted-strong);
}

.inventory-table-group-row td {
  padding: 0.55rem 0.72rem;
  color: var(--text);
  font-weight: 700;
  background: rgba(110, 216, 255, 0.055);
  box-shadow: inset 3px 0 0 rgba(110, 216, 255, 0.45);
}

.dashboard-cell-checkbox {
  text-align: center;
}

.dashboard-cell-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.material-table .dashboard-input {
  width: 100%;
  min-width: 96px;
}

.material-table td:first-child .dashboard-input {
  min-width: 160px;
}

.quote-line-items-table td:nth-child(4) .dashboard-input {
  min-width: 220px;
}

.quote-line-items-table td:nth-child(2) .dashboard-input,
.quote-line-items-table td:nth-child(5) .dashboard-input,
.quote-line-items-table td:nth-child(6) .dashboard-input {
  min-width: 120px;
}

.quote-line-items-table td:nth-child(7) .dashboard-input {
  min-width: 180px;
}

.quote-line-items-table textarea.dashboard-input {
  min-height: 72px;
  resize: vertical;
}

@keyframes quotePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  }
  45% {
    transform: scale(1.08);
    box-shadow: 0 18px 40px rgba(240, 168, 36, 0.28);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .auth-grid,
  .services-grid,
  .about-card-grid,
  .process-grid,
  .service-detail-grid,
  .two-column-grid,
  .newsletter-panel,
  .eco-3d-grid,
  .process-capability-grid,
  .process-capability-metrics,
  .dashboard-shell,
  .dashboard-grid-wide,
  .dashboard-summary-grid,
  .dashboard-alert-grid,
  .todo-workspace-metrics,
  .todo-calendar-layout,
  .spec-card-grid,
  .split-heading,
  .form-split,
  .contact-grid,
  .blog-grid,
  .blog-pattern-grid,
  .blog-card-grid,
  .offer-hero-grid,
  .offer-capability-grid,
  .offer-asset-grid,
  .offer-process-band,
  .offer-process-steps {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .dashboard-layout-toolbar {
    justify-content: stretch;
  }

  .dashboard-form {
    max-width: 100%;
  }

  .dashboard-form .form-split,
  .dashboard-form[data-formset-prefix] .form-split {
    grid-template-columns: 1fr;
  }

  .todo-board {
    grid-template-columns: repeat(5, minmax(240px, 1fr));
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.45rem;
  }

}

@media (max-width: 860px) {
  .header-row {
    align-items: center;
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .brand {
    gap: 0;
  }

  .brand > div {
    display: none;
  }

  .parent-brand {
    padding: 0.3rem;
  }

  .parent-brand span {
    display: none;
  }

  .nav-shell {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    display: none;
    padding-top: 0.75rem;
  }

  .account-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .notification-shell {
    width: 100%;
  }

  .notification-panel {
    position: static;
    width: 100%;
    margin-top: 0.6rem;
  }

  .pollen-hero-grid,
  .hivecore-brand-grid {
    grid-template-columns: 1fr;
  }

  .pollen-access-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 0.72rem 0.82rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
  }

  body.nav-open .nav-shell {
    display: flex;
  }

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

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

  .site-notice-track {
    gap: 1.5rem;
    padding-left: 1rem;
    animation-duration: 22s;
  }

  .notification-shell,
  .account-actions form,
  .account-chip,
  .lang-toggle {
    width: 100%;
  }

  .notification-button,
  .account-button,
  .account-chip {
    width: 100%;
    justify-content: flex-start;
  }

  .lang-toggle {
    justify-content: space-between;
  }

  .lang-btn {
    flex: 1 1 0;
    text-align: center;
  }

  .floating-actions {
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
    justify-items: stretch;
  }

  .floating-quote-button,
  .floating-whatsapp-button,
  .floating-email-button {
    width: auto;
    min-width: 54px;
    min-height: 54px;
    padding: 0;
    justify-self: end;
  }

  .floating-quote-button span,
  .floating-whatsapp-button span:not(.whatsapp-icon),
  .floating-email-button span:not(.email-icon) {
    display: none;
  }

  .inventory-section-header,
  .inventory-group-header,
  .inventory-variant-header {
    flex-direction: column;
  }

  .offer-stage {
    min-height: 380px;
  }

  .offer-slide {
    min-height: auto;
    padding: 3rem 0;
    opacity: 1;
  }

  .offer-orbit-chip {
    min-width: 78px;
    padding: 0.58rem 0.72rem;
    font-size: 0.74rem;
  }

  .offer-asset-card,
  .offer-asset-empty {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .offer-asset-card img,
  .offer-asset-empty img {
    width: 72px;
    height: 72px;
  }

  .offer-deck-controls {
    bottom: 0.55rem;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 24px;
  }

  .offer-deck-progress {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
  }

  .inventory-json-import-layout {
    grid-template-columns: 1fr;
  }

  .inventory-json-dropzone {
    min-height: 160px;
  }

  .inventory-stock-grid label:first-child {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(1180px, calc(100vw - 1rem));
  }

  .site-header {
    padding-top: 0.75rem;
  }

  .header-row {
    padding: 0.75rem;
    gap: 0.75rem;
    border-radius: 24px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .hero-section {
    padding: 5rem 0 1.3rem;
  }

  .section {
    padding: 1.4rem 0 3rem;
  }

  .section-heading {
    margin-bottom: 1.5rem;
  }

  .service-hero-title,
  .dashboard-hero .service-hero-title {
    max-width: none;
    font-size: clamp(2rem, 11vw, 3rem);
  }

  h1 {
    max-width: none;
    font-size: clamp(2.2rem, 11vw, 3.35rem);
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
  }

  .hero-body,
  .section-copy,
  .quote-panel p,
  .service-card p,
  .process-card p,
  .detail-card li {
    font-size: 0.94rem;
  }

  .quote-panel,
  .detail-card,
  .service-card,
  .process-card {
    padding: 1rem;
    border-radius: 18px;
  }

  .quote-form,
  .quote-meta {
    gap: 0.85rem;
  }

  .quote-form input,
  .quote-form textarea,
  .quote-form select {
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
  }

  .auth-grid {
    gap: 1rem;
  }

  .auth-panel,
  .auth-copy-card {
    width: 100%;
  }

  .auth-remember-row {
    gap: 0.55rem;
  }

  .auth-remember-row span {
    font-size: 0.88rem;
  }

  .dashboard-content .detail-card,
  .dashboard-sidebar {
    border-radius: 16px;
  }

  .dashboard-workspace-section {
    padding-top: 0.5rem;
  }

  .container.dashboard-shell.is-sidebar-collapsed {
    width: min(1540px, calc(100vw - 1rem));
  }

  .dashboard-content .primary-button,
  .dashboard-content .secondary-button {
    width: 100%;
  }

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

  .dashboard-actions-row > * {
    width: 100%;
  }

  .todo-board-toolbar {
    margin-bottom: 0.7rem;
  }

  .todo-board-composer {
    width: 100%;
  }

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

  .daily-todo-actions,
  .daily-todo-progress-form {
    width: 100%;
    max-width: none;
  }

  .daily-todo-actions {
    justify-content: stretch;
  }

  .daily-todo-progress-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .daily-todo-progress-form label,
  .daily-todo-progress-form .dashboard-input {
    width: 100%;
  }

  .todo-board {
    grid-template-columns: repeat(5, minmax(220px, 220px));
    gap: 0.55rem;
    padding-bottom: 0.65rem;
  }

  .todo-column-header {
    height: 76px;
  }

  .todo-column-cards {
    min-height: 220px;
    padding: 0.5rem;
  }

  .todo-card {
    padding: 0.68rem 0.72rem;
  }

  .notification-toast-stack {
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
  }

  .floating-actions {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
  }

  .table-wrap {
    margin-inline: -0.1rem;
    padding-bottom: 0.1rem;
  }

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

.route-configurator {
  padding-top: 1rem;
}

.route-embed-page {
  padding: 0;
}

.route-embed-page .route-configurator {
  padding: 0.75rem;
}

.route-embed-page .route-configurator > .container {
  width: 100%;
  max-width: none;
}

.route-embed-page .route-preview-card {
  top: 0.75rem;
}

.route-configurator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 1.25rem;
  align-items: start;
}

.route-preview-card,
.route-controls-card {
  padding: 1.25rem;
}

.route-preview-card {
  position: sticky;
  top: 7rem;
}

.route-card-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.route-card-heading > * {
  min-width: 0;
}

.route-card-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.route-preview-status {
  display: block;
  flex: 0 1 42%;
  max-width: 42%;
  color: var(--cyan);
  text-align: right;
  font-size: 0.85rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.route-preview-status.is-error {
  color: #ff9b9b;
}

.route-terrain-debug {
  max-height: 220px;
  margin: 0.75rem 0 0;
  padding: 0.75rem;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(5, 8, 12, 0.72);
  color: #c8f7ff;
  font: 0.78rem/1.45 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.route-fixed-size {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(110, 216, 255, 0.35);
  border-radius: 12px;
  background: rgba(110, 216, 255, 0.08);
}

.route-terrain-button {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.9rem 1.2rem;
  border: 2px solid #8fe8ff;
  border-radius: 14px;
  background: linear-gradient(135deg, #00a9d6, #6ed8ff);
  color: #071117;
  font-weight: 800;
  box-shadow: 0 0 0 4px rgba(110, 216, 255, 0.12), 0 10px 28px rgba(0, 169, 214, 0.24);
}

.route-terrain-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.route-terrain-status {
  margin: 0.65rem 0 0;
  text-align: center;
}

.route-file-validation {
  margin: 0.65rem 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--muted-strong);
  font-size: 0.86rem;
}

.route-file-validation.is-valid {
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(74, 222, 128, 0.08);
  color: #8ff0b2;
}

.route-file-validation.is-warning {
  border-color: rgba(255, 193, 92, 0.45);
  background: rgba(255, 193, 92, 0.08);
  color: var(--amber-soft);
}

.route-file-validation.is-error {
  border-color: rgba(255, 100, 100, 0.45);
  background: rgba(255, 100, 100, 0.08);
  color: #ffaaaa;
}

.route-configurator {
  padding-top: 1.5rem;
}

.route-preview-stage,
.route-elevation-shell {
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    rgba(6, 8, 11, 0.55);
  background-size: 32px 32px;
  overflow: hidden;
}

.route-preview-stage canvas,
.route-elevation-shell svg {
  display: block;
  width: 100%;
}

.route-preview-stage-3d {
  position: relative;
  height: min(62vh, 650px);
  min-height: 440px;
  background: #0b0f14;
}

.route-preview-stage-3d canvas {
  height: 100%;
}

.route-viewer-toolbar,
.route-preview-dimensions {
  position: absolute;
  z-index: 2;
}

.route-viewer-toolbar {
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: calc(100% - 2rem);
}

.route-preview-dimensions {
  left: 1rem;
  bottom: 1rem;
  max-width: calc(100% - 2rem);
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(110, 216, 255, 0.28);
  border-radius: 14px;
  background: rgba(10, 12, 16, 0.86);
  color: var(--cyan);
  font-weight: 700;
  pointer-events: none;
  backdrop-filter: blur(12px);
}

.route-working-overlay {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  background: rgba(5, 8, 12, 0.72);
  color: #fff;
  font-weight: 700;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.route-working-overlay[hidden] {
  display: none;
}

.route-working-spinner {
  width: 48px;
  height: 48px;
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: route-working-spin 0.8s linear infinite;
}

@keyframes route-working-spin {
  to { transform: rotate(360deg); }
}

.route-model-measurements {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.8rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(110, 216, 255, 0.24);
  border-radius: 14px;
  background: rgba(110, 216, 255, 0.07);
}

.route-model-measurements div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.route-model-measurements span {
  color: var(--muted);
  font-size: 0.82rem;
}

.route-model-measurements strong {
  color: var(--cyan);
}

.route-model-measurements p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.route-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.route-stats div {
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.route-stats span,
.route-elevation-shell > span {
  color: var(--muted);
  font-size: 0.78rem;
}

.route-elevation-shell > span {
  display: block;
  padding: 0.7rem 0.8rem 0;
}

[data-elevation-profile] {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-configurator-form,
.route-control-section {
  display: grid;
  gap: 0.8rem;
}

.route-control-section {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.route-control-section h3,
.route-control-section summary {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
}

.route-control-section summary {
  cursor: pointer;
  color: var(--amber-soft);
}

.route-control-section[open] summary {
  margin-bottom: 0.8rem;
}

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

.route-field-grid input[type="color"] {
  width: 100%;
  min-width: 0;
  height: 4.25rem;
  padding: 0.28rem;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.route-field-grid input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.route-field-grid input[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: 5px;
}

.route-field-grid input[type="color"]::-moz-color-swatch {
  border: 0;
  border-radius: 5px;
}

.route-layer-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(92px, 0.75fr);
  gap: 0.75rem;
  align-items: end;
}

.route-layer-row label {
  min-width: 0;
}

.route-layer-row input[type="color"] {
  height: 4.8rem;
}

.route-wrap-info {
  display: grid;
  gap: 0.75rem;
}

.route-wrap-side-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.route-wide-field {
  grid-column: 1 / -1;
}

.route-config-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.route-save-note {
  margin: 0;
  font-size: 0.82rem;
}

@media (max-width: 1080px) {
  .route-configurator-grid {
    grid-template-columns: 1fr;
  }

  .route-preview-card {
    position: static;
  }
}

@media (max-width: 680px) {
  .route-card-heading {
    display: grid;
  }

  .route-preview-status {
    max-width: 100%;
    width: 100%;
    text-align: left;
  }

  .route-viewer-toolbar {
    right: 1rem;
    max-width: none;
  }

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

  .route-layer-row {
    grid-template-columns: minmax(0, 1fr) minmax(86px, 0.45fr);
  }

  .route-wrap-side-grid {
    grid-template-columns: 1fr;
  }
}

.socials-page {
  min-height: 100vh;
  padding: 3rem 1rem;
}

.socials-shell {
  width: min(100%, 620px);
  margin: 0 auto;
}

.socials-profile {
  display: grid;
  justify-items: center;
  text-align: center;
  margin-bottom: 1.5rem;
}

.socials-logo-link {
  display: block;
  margin-bottom: 1rem;
}

.socials-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  padding: 0.45rem;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.socials-profile h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(2.5rem, 10vw, 4.6rem);
  line-height: 0.95;
}

.socials-profile > p:last-child {
  max-width: 48ch;
  margin: 1rem 0 0;
  color: var(--muted-strong);
}

.model-share-actions,
.model-viewer-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.model-viewer-page {
  width: min(1500px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.model-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  background: rgba(10, 12, 16, 0.86);
}

.model-viewer-meta {
  display: grid;
  gap: 0.15rem;
  text-align: right;
}

.model-viewer-meta span {
  color: var(--muted);
  font-size: 0.85rem;
}

.model-viewer-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  background: #0b0f14;
  box-shadow: var(--shadow);
}

.model-viewer-toolbar {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
}

.model-viewer-note-size {
  display: inline-grid;
  align-items: center;
  gap: 0.25rem;
  min-width: 132px;
  padding: 0.42rem 0.65rem;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 700;
}

.model-viewer-note-size input {
  width: 112px;
  accent-color: var(--amber);
}

.model-viewer-canvas {
  position: relative;
  width: 100%;
  height: min(76vh, 860px);
  min-height: 480px;
}

.model-viewer-canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.model-viewer-canvas.is-selecting-point canvas {
  cursor: crosshair;
}

.model-viewer-dimensions,
.model-viewer-measurement {
  position: absolute;
  z-index: 2;
  left: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(110, 216, 255, 0.28);
  border-radius: 14px;
  background: rgba(10, 12, 16, 0.86);
  color: var(--muted-strong);
  pointer-events: none;
  backdrop-filter: blur(12px);
}

.model-viewer-dimensions {
  bottom: 1rem;
  display: grid;
  gap: 0.15rem;
  text-align: left;
}

.model-viewer-dimensions strong {
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.model-viewer-measurement {
  bottom: 5rem;
  color: var(--amber-soft);
  font-weight: 700;
}

.model-viewer-watermark {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  opacity: 0.38;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  pointer-events: none;
  user-select: none;
}

.model-viewer-watermark img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.model-viewer-status {
  position: absolute;
  inset: 50% auto auto 50%;
  max-width: min(90%, 520px);
  transform: translate(-50%, -50%);
  padding: 0.8rem 1rem;
  border-radius: 14px;
  background: rgba(10, 12, 16, 0.88);
  color: var(--muted-strong);
  text-align: center;
}

.model-viewer-status.is-error {
  color: #ffd4c7;
  border: 1px solid rgba(255, 113, 76, 0.35);
}

.model-viewer-note {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  background: rgba(20, 26, 34, 0.82);
}

.model-note-composer {
  position: absolute;
  z-index: 3;
  top: 4.8rem;
  left: 1rem;
  width: min(360px, calc(100% - 2rem));
  padding: 1rem;
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  background: rgba(10, 12, 16, 0.96);
  box-shadow: var(--shadow);
}

.model-note-composer label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted-strong);
}

.model-note-composer textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 0.75rem;
}

.model-note-composer-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.model-cart-panel,
.model-part-panel,
.model-annotation-panel {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  background: rgba(20, 26, 34, 0.82);
}

.model-catalog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.model-catalog-item {
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem;
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.model-catalog-item.is-active {
  border-color: rgba(110, 216, 255, 0.45);
  background: rgba(110, 216, 255, 0.08);
}

.model-catalog-item strong {
  color: var(--muted-strong);
}

.model-catalog-item small,
.model-cart-line {
  color: var(--muted);
}

.model-catalog-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
}

.model-catalog-controls input {
  width: 80px;
}

.model-cart-summary {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.model-cart-total {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.model-part-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.model-part-item {
  display: grid;
  gap: 0.65rem;
  padding: 0.8rem;
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.model-part-item strong {
  min-width: 0;
  overflow: hidden;
  color: var(--muted-strong);
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.model-part-item label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.model-part-item input[type="color"] {
  width: 42px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  background: transparent;
}

.model-part-item select {
  min-width: 112px;
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  background: rgba(10, 12, 16, 0.92);
  color: var(--text);
  padding: 0.45rem 0.55rem;
}

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

.model-annotation-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  text-align: left;
}

.model-annotation-item strong {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--amber);
  color: #1a1307;
}

.model-share-note-details {
  margin-top: 0.75rem;
  color: var(--muted-strong);
}

.model-share-note-admin-list,
.model-share-note-admin-form {
  display: grid;
  gap: 0.75rem;
}

.model-share-note-admin-list {
  margin-top: 0.75rem;
}

.model-share-note-admin-form {
  padding: 0.8rem;
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.model-viewer-note p:last-child {
  margin-bottom: 0;
  color: var(--muted-strong);
}

@media (max-width: 720px) {
  .model-viewer-header {
    align-items: flex-start;
  }

  .model-viewer-meta {
    text-align: left;
  }

  .model-viewer-canvas {
    min-height: 62vh;
  }

  .model-viewer-dimensions,
  .model-viewer-measurement {
    left: 0.75rem;
    max-width: calc(100% - 1.5rem);
  }

  .model-viewer-dimensions {
    bottom: 0.75rem;
  }

  .model-viewer-measurement {
    bottom: 5rem;
  }

  .model-viewer-toolbar {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    padding: 0.75rem;
    background: rgba(10, 12, 16, 0.92);
    border-bottom: 1px solid var(--surface-border);
  }

  .model-viewer-note-size {
    min-width: 118px;
  }

  .model-viewer-note-size input {
    width: 96px;
  }
}

.socials-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.38rem 0.72rem;
  border: 1px solid rgba(110, 216, 255, 0.22);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(110, 216, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
}

.socials-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.socials-links {
  display: grid;
  gap: 0.8rem;
}

.socials-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  min-height: 78px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(20, 26, 34, 0.88);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.socials-link:hover,
.socials-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 197, 91, 0.38);
  background: rgba(29, 35, 43, 0.96);
}

.socials-link-primary {
  color: #1a1307;
  border-color: transparent;
  background: linear-gradient(135deg, var(--amber), var(--amber-soft));
}

.socials-link-primary:hover,
.socials-link-primary:focus-visible {
  background: linear-gradient(135deg, var(--amber-soft), var(--amber));
}

.socials-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--amber-soft);
}

.socials-link-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.socials-link-icon .socials-icon-fill {
  fill: currentColor;
  stroke: none;
}

.socials-link-primary .socials-link-icon {
  background: rgba(26, 19, 7, 0.12);
  color: #1a1307;
}

.socials-link-copy {
  display: grid;
  gap: 0.12rem;
}

.socials-link-copy strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
}

.socials-link-copy small {
  color: var(--muted);
  font-size: 0.82rem;
}

.socials-link-primary .socials-link-copy small {
  color: rgba(26, 19, 7, 0.72);
}

.socials-link-arrow {
  font-size: 1.25rem;
}

.socials-newsletter {
  margin-top: 1rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(20, 26, 34, 0.88);
  box-shadow: var(--shadow);
}

.socials-newsletter > p:not(.eyebrow) {
  margin: -0.5rem 0 1rem;
  color: var(--muted-strong);
}

.socials-newsletter-form {
  display: grid;
  gap: 0.75rem;
}

.socials-newsletter-form input[type="text"],
.socials-newsletter-form input[type="email"] {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.socials-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.78rem;
}

.socials-consent a,
.socials-footer a {
  color: var(--amber-soft);
}

.socials-footer {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.3rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 680px) {
  .socials-page {
    padding: 1.5rem 0.5rem 2rem;
  }

  .socials-link {
    min-height: 72px;
    border-radius: 18px;
  }

  .socials-newsletter {
    border-radius: 18px;
  }
}
