:root {
  --bg: #0a1017;
  --bg-elevated: #101823;
  --panel: rgba(18, 26, 38, 0.88);
  --panel-strong: #111b27;
  --panel-soft: #162131;
  --line: rgba(142, 168, 204, 0.18);
  --line-strong: rgba(142, 168, 204, 0.28);
  --text: #e8eef8;
  --text-soft: #94a8c6;
  --text-dim: #6f829f;
  --primary: #2f7df6;
  --primary-strong: #1363e7;
  --primary-soft: rgba(47, 125, 246, 0.14);
  --success: #3ddc97;
  --warning: #ffbe55;
  --danger: #ff6b6b;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 14px 32px rgba(0, 0, 0, 0.28);
  --shadow-sm: 0 8px 18px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(47, 125, 246, 0.16), transparent 34%),
    linear-gradient(180deg, #0a1017 0%, #0d1420 100%);
}

body.auth-locked {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 72%);
  pointer-events: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 22px 28px 18px;
  background: rgba(10, 16, 23, 0.88);
  border-bottom: 1px solid rgba(47, 125, 246, 0.4);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.topbar-inner {
  width: min(1440px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-shell {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brand-logo-frame {
  width: min(420px, 52vw);
  height: 88px;
  display: flex;
  align-items: center;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.brand-claim {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: #f5f8fd;
}

.topbar-status {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.account-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(142, 168, 204, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

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

.account-meta strong,
.account-meta span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-meta strong {
  font-size: 13px;
}

.account-meta span {
  color: var(--text-soft);
  font-size: 11px;
}

.account-actions button {
  min-height: 38px;
}

.auth-gate {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  justify-items: center;
  align-items: start;
  padding: 28px;
  overflow-y: auto;
  background:
    radial-gradient(circle at top center, rgba(47, 125, 246, 0.22), transparent 32%),
    rgba(4, 10, 18, 0.92);
  backdrop-filter: blur(18px);
}

.auth-shell {
  width: min(1240px, 100%);
  margin: auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 430px);
  gap: 28px;
  align-items: stretch;
}

.auth-sales-panel {
  padding: 36px;
  border-radius: 32px;
  border: 1px solid rgba(142, 168, 204, 0.16);
  background:
    radial-gradient(circle at top right, rgba(47, 125, 246, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(17, 27, 39, 0.98), rgba(11, 18, 28, 0.96));
  box-shadow: var(--shadow-lg);
}

.auth-sales-panel h1 {
  margin: 0 0 16px;
  max-width: 12ch;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.auth-sales-copy {
  max-width: 60ch;
  margin: 0 0 24px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.6;
}

.auth-sales-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.auth-highlight {
  display: grid;
  gap: 4px;
  margin-bottom: 24px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(61, 220, 151, 0.18);
  background: linear-gradient(180deg, rgba(61, 220, 151, 0.12), rgba(61, 220, 151, 0.04));
}

.auth-highlight strong {
  font-size: 18px;
}

.auth-highlight span {
  color: #dfffee;
  font-size: 14px;
}

.auth-plan-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.auth-plan-teaser {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(142, 168, 204, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.auth-plan-teaser-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: #8cb4ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-plan-teaser strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.1;
}

.auth-plan-teaser p {
  margin: 0 0 14px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.auth-plan-teaser button {
  width: 100%;
}

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

.auth-benefit-card {
  min-height: 180px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(142, 168, 204, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.auth-benefit-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8cb4ff;
}

.auth-benefit-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.15;
}

.auth-benefit-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.auth-card {
  width: 100%;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(142, 168, 204, 0.18);
  background:
    linear-gradient(160deg, rgba(47, 125, 246, 0.12), transparent 54%),
    rgba(17, 27, 39, 0.96);
  box-shadow: var(--shadow-lg);
}

.auth-card h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.auth-copy {
  margin: 0 0 20px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}

.auth-mode-hint {
  margin: -8px 0 18px;
  color: #cdd9ed;
  font-size: 13px;
  line-height: 1.5;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-register-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(142, 168, 204, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.auth-register-grid .field {
  min-width: 0;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 86px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  min-height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(142, 168, 204, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.password-toggle:hover {
  border-color: rgba(47, 125, 246, 0.38);
  color: var(--text);
}

.auth-actions {
  margin-top: 6px;
}

.auth-links {
  display: flex;
  justify-content: flex-start;
}

.text-link {
  padding: 0;
  min-height: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #8cb4ff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.text-link:hover {
  color: #dfe9fb;
}

.auth-status {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(123, 147, 182, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 13px;
}

.auth-status-error {
  border-color: rgba(255, 107, 107, 0.28);
  background: rgba(255, 107, 107, 0.08);
  color: #ffd5d5;
}

.auth-status-success {
  border-color: rgba(61, 220, 151, 0.25);
  background: rgba(61, 220, 151, 0.08);
  color: #d8ffe8;
}

.auth-footnote {
  margin: 18px 0 0;
}

.auth-billing {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(142, 168, 204, 0.16);
  background: rgba(6, 12, 20, 0.42);
}

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

.auth-billing-kicker {
  display: inline-flex;
  margin-bottom: 6px;
  color: #8cb4ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-billing-head h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.auth-billing-plan {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(47, 125, 246, 0.28);
  background: rgba(47, 125, 246, 0.12);
  color: #dce9ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-billing-notice {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(142, 168, 204, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.auth-billing-notice-error {
  border-color: rgba(255, 107, 107, 0.24);
  background: rgba(255, 107, 107, 0.08);
  color: #ffd9d9;
}

.auth-billing-notice-success {
  border-color: rgba(61, 220, 151, 0.22);
  background: rgba(61, 220, 151, 0.08);
  color: #d8ffe8;
}

.auth-billing-offers {
  display: grid;
  gap: 12px;
}

.auth-plan-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(142, 168, 204, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.auth-plan-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.auth-plan-card p {
  margin: 0 0 12px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.auth-plan-card button {
  width: 100%;
}

.auth-billing-checkout {
  display: grid;
  gap: 14px;
}

.auth-billing-checkout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-billing-checkout-head strong {
  font-size: 16px;
}

.auth-billing-checkout-mount {
  min-height: 480px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(61, 220, 151, 0.28);
  background: rgba(61, 220, 151, 0.12);
  color: #d8ffe8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-chip-muted {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
}

.layout {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 26px 28px 34px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
}

.sidebar {
  position: sticky;
  top: 128px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar h3 {
  display: none;
}

.sidebar-panel,
.nav-group,
.card,
.metric-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.sidebar-panel {
  padding: 22px 20px;
  background:
    linear-gradient(160deg, rgba(47, 125, 246, 0.12), transparent 54%),
    rgba(17, 27, 39, 0.92);
}

.sidebar-kicker,
.nav-group-title,
.section-kicker,
.metric-label,
.hero-value-kicker,
.eyebrow {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #83a8e7;
}

.sidebar-panel h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1;
}

.sidebar-copy {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.nav-group {
  padding: 14px;
}

.nav-group-title {
  margin-bottom: 10px;
}

.sidebar button {
  width: 100%;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 12px 14px;
}

.sidebar button::before {
  content: "";
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}

.sidebar button.is-active {
  border-color: rgba(47, 125, 246, 0.45);
  background: linear-gradient(180deg, rgba(47, 125, 246, 0.18), rgba(20, 29, 42, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 14px 24px rgba(12, 18, 28, 0.22);
}

.sidebar button.is-active::before {
  background: linear-gradient(180deg, rgba(47, 125, 246, 0.35), rgba(19, 99, 231, 0.2));
  border-color: rgba(47, 125, 246, 0.38);
}

.sidebar button[data-nav-icon="import"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ec0fb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v11'/%3E%3Cpath d='m8 10 4 4 4-4'/%3E%3Cpath d='M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2'/%3E%3C/svg%3E");
}

.sidebar button[data-nav-icon="dashboard"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ec0fb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M7 16V9'/%3E%3Cpath d='M12 16V5'/%3E%3Cpath d='M17 16v-4'/%3E%3C/svg%3E");
}

.sidebar button[data-nav-icon="mapping"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ec0fb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h6'/%3E%3Cpath d='M15 6h6'/%3E%3Cpath d='M9 6a3 3 0 1 0 6 0 3 3 0 0 0-6 0Z'/%3E%3Cpath d='M3 18h10'/%3E%3Cpath d='M19 18h2'/%3E%3Cpath d='M13 18a3 3 0 1 0 6 0 3 3 0 0 0-6 0Z'/%3E%3C/svg%3E");
}

.sidebar button[data-nav-icon="settings"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ec0fb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15.5A3.5 3.5 0 1 0 12 8.5a3.5 3.5 0 0 0 0 7Z'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .34 1.87l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06A1.7 1.7 0 0 0 15 19.4a1.7 1.7 0 0 0-1 .6 1.7 1.7 0 0 0-.4 1.07V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-.4-1.07 1.7 1.7 0 0 0-1-.6 1.7 1.7 0 0 0-1.87.34l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06A1.7 1.7 0 0 0 4.6 15a1.7 1.7 0 0 0-.6-1 1.7 1.7 0 0 0-1.07-.4H2.9a2 2 0 1 1 0-4H3a1.7 1.7 0 0 0 1.07-.4 1.7 1.7 0 0 0 .6-1A1.7 1.7 0 0 0 4.34 6.3l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06A1.7 1.7 0 0 0 9 4.6c.38 0 .74-.14 1-.4.26-.28.4-.64.4-1.02V3a2 2 0 1 1 4 0v.1c0 .38.14.74.4 1.02.26.26.62.4 1 .4a1.7 1.7 0 0 0 1.87-.34l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06A1.7 1.7 0 0 0 19.4 9c0 .38.14.74.4 1 .28.26.64.4 1.02.4h.1a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.02.4 1.7 1.7 0 0 0-.4 1Z'/%3E%3C/svg%3E");
}

.sidebar button[data-nav-icon="sheets"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ec0fb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M9 5v14'/%3E%3C/svg%3E");
}

.sidebar button[data-nav-icon="scraps"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ec0fb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7.5 12 3l8 4.5v9L12 21l-8-4.5v-9Z'/%3E%3Cpath d='M12 21v-8'/%3E%3Cpath d='M20 7.5 12 13 4 7.5'/%3E%3C/svg%3E");
}

.sidebar button[data-nav-icon="history"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ec0fb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 3-6.7'/%3E%3Cpath d='M3 4v5h5'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.sidebar button.is-active[data-nav-icon="import"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f9ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v11'/%3E%3Cpath d='m8 10 4 4 4-4'/%3E%3Cpath d='M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2'/%3E%3C/svg%3E");
}

.sidebar button.is-active[data-nav-icon="dashboard"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f9ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M7 16V9'/%3E%3Cpath d='M12 16V5'/%3E%3Cpath d='M17 16v-4'/%3E%3C/svg%3E");
}

.sidebar button.is-active[data-nav-icon="mapping"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f9ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h6'/%3E%3Cpath d='M15 6h6'/%3E%3Cpath d='M9 6a3 3 0 1 0 6 0 3 3 0 0 0-6 0Z'/%3E%3Cpath d='M3 18h10'/%3E%3Cpath d='M19 18h2'/%3E%3Cpath d='M13 18a3 3 0 1 0 6 0 3 3 0 0 0-6 0Z'/%3E%3C/svg%3E");
}

.sidebar button.is-active[data-nav-icon="settings"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f9ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15.5A3.5 3.5 0 1 0 12 8.5a3.5 3.5 0 0 0 0 7Z'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .34 1.87l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06A1.7 1.7 0 0 0 15 19.4a1.7 1.7 0 0 0-1 .6 1.7 1.7 0 0 0-.4 1.07V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-.4-1.07 1.7 1.7 0 0 0-1-.6 1.7 1.7 0 0 0-1.87.34l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06A1.7 1.7 0 0 0 4.6 15a1.7 1.7 0 0 0-.6-1 1.7 1.7 0 0 0-1.07-.4H2.9a2 2 0 1 1 0-4H3a1.7 1.7 0 0 0 1.07-.4 1.7 1.7 0 0 0 .6-1A1.7 1.7 0 0 0 4.34 6.3l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06A1.7 1.7 0 0 0 9 4.6c.38 0 .74-.14 1-.4.26-.28.4-.64.4-1.02V3a2 2 0 1 1 4 0v.1c0 .38.14.74.4 1.02.26.26.62.4 1 .4a1.7 1.7 0 0 0 1.87-.34l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06A1.7 1.7 0 0 0 19.4 9c0 .38.14.74.4 1 .28.26.64.4 1.02.4h.1a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.02.4 1.7 1.7 0 0 0-.4 1Z'/%3E%3C/svg%3E");
}

.sidebar button.is-active[data-nav-icon="sheets"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f9ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M9 5v14'/%3E%3C/svg%3E");
}

.sidebar button.is-active[data-nav-icon="scraps"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f9ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7.5 12 3l8 4.5v9L12 21l-8-4.5v-9Z'/%3E%3Cpath d='M12 21v-8'/%3E%3Cpath d='M20 7.5 12 13 4 7.5'/%3E%3C/svg%3E");
}

.sidebar button.is-active[data-nav-icon="history"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f9ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 3-6.7'/%3E%3Cpath d='M3 4v5h5'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

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

.card {
  padding: 22px;
}

.card-hero {
  padding: 28px;
  background:
    radial-gradient(circle at top left, rgba(47, 125, 246, 0.18), transparent 38%),
    linear-gradient(135deg, rgba(11, 21, 33, 0.98), rgba(16, 24, 35, 0.94));
  border-color: rgba(90, 125, 170, 0.26);
  box-shadow: var(--shadow-lg);
}

.card-elevated {
  background:
    linear-gradient(180deg, rgba(17, 27, 39, 0.96), rgba(16, 24, 35, 0.92));
}

.card-elevated > h2:first-of-type {
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.hero-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 14ch;
}

.hero-text {
  max-width: 58ch;
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
}

.hero-actions {
  margin-bottom: 16px;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-chip,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid rgba(47, 125, 246, 0.28);
  color: #cce0ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-hint {
  margin: 0;
  font-size: 13px;
}

.hero-side {
  display: grid;
  gap: 14px;
}

.hero-value-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(142, 168, 204, 0.16);
}

.hero-value-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.15;
}

.hero-value-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

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

.metric-card {
  padding: 18px 18px 16px;
  position: relative;
  overflow: hidden;
}

.metric-card::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent 72%);
}

.metric-label {
  margin-bottom: 12px;
  color: var(--text-dim);
}

.metric-value {
  display: block;
  font-size: clamp(24px, 2vw, 34px);
  letter-spacing: -0.04em;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.card-data,
.card-plan {
  position: relative;
  overflow: hidden;
}

.card-data::before,
.card-plan::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(47, 125, 246, 0.6), transparent 70%);
}

.subsection-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
}

.section-block + .section-block {
  margin-top: 16px;
}

.section-note {
  margin-top: 12px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
}

.w3 { flex: 1 1 23%; }
.w4 { flex: 1 1 30%; }
.w6 { flex: 1 1 48%; }
.w8 { flex: 1 1 65%; }
.w12 { flex: 1 1 100%; }

label {
  font-size: 12px;
  color: var(--text-soft);
}

input,
select,
textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(8, 14, 22, 0.85);
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(47, 125, 246, 0.7);
  box-shadow: 0 0 0 4px rgba(47, 125, 246, 0.16);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

button,
.file {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(33, 46, 65, 0.95), rgba(20, 29, 42, 0.95));
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

button:hover,
.file:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 125, 246, 0.45);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
}

button.primary {
  border-color: rgba(47, 125, 246, 0.55);
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
}

button.danger {
  border-color: rgba(255, 107, 107, 0.38);
  background: linear-gradient(180deg, rgba(174, 52, 52, 0.96), rgba(132, 36, 36, 0.96));
}

button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.file {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.file input {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.file-hero {
  min-width: min(100%, 360px);
  justify-content: space-between;
}

.tblwrap {
  overflow-x: auto;
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.tbl th,
.tbl td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(142, 168, 204, 0.12);
  text-align: left;
  vertical-align: top;
}

.tbl th {
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tbl tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.warn {
  margin-bottom: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 190, 85, 0.22);
  background: rgba(255, 190, 85, 0.08);
  color: #ffe3b2;
}

.warn-box p,
.warn-box ul {
  margin-bottom: 0;
}

.warn-box ul {
  margin-top: 10px;
  padding-left: 18px;
}

.hint {
  font-size: 12px;
  color: var(--text-dim);
}

.sep {
  border: none;
  border-top: 1px solid rgba(142, 168, 204, 0.12);
  margin: 18px 0;
}

.mapping-grid {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(220px, 1fr);
  gap: 10px 14px;
  align-items: center;
}

.mapping-field {
  font-size: 13px;
  color: var(--text);
}

.mapping-field small {
  display: block;
  margin-top: 2px;
  color: var(--text-dim);
}

.mapping-select {
  width: 100%;
}

.import-validation {
  margin-bottom: 14px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 107, 107, 0.28);
  background: rgba(255, 107, 107, 0.08);
  color: #ffd5d5;
}

.import-validation ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.import-validation-table tr.invalid-row td {
  background: rgba(255, 107, 107, 0.08);
}

.manual-entry-table input[type="text"],
.manual-entry-table input[type="number"] {
  min-width: 110px;
}

.manual-entry-table input[type="checkbox"] {
  width: auto;
  transform: scale(1.12);
  margin-top: 12px;
}

.import-config-table input[type="text"],
.import-config-table select {
  min-width: 180px;
}

.import-config-table .actions {
  justify-content: flex-start;
}

#resultsSummary,
#partsPreview,
#importedCsvList {
  min-height: 18px;
}

#resultsSummary,
#partsPreview,
#importedCsvList,
#missingSheets,
#importValidationHost {
  position: relative;
  z-index: 1;
}

#resultsSummary .tblwrap,
#partsPreview .tblwrap,
#importedCsvList .tblwrap {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(6, 12, 18, 0.16);
  border: 1px solid rgba(142, 168, 204, 0.08);
}

.plan-toolbar {
  margin-bottom: 6px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(142, 168, 204, 0.1);
}

.preview-toolbar {
  padding: 14px;
  border-radius: 18px;
  background: rgba(7, 13, 20, 0.28);
  border: 1px solid rgba(142, 168, 204, 0.1);
}

.preview-nav-actions {
  justify-content: flex-end;
}

.preview-stage {
  margin-top: 16px;
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 42%),
    rgba(5, 10, 15, 0.32);
  border: 1px solid rgba(142, 168, 204, 0.1);
}

#preview {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background: #eef2f7;
  border-radius: 18px;
  border: 1px solid rgba(120, 138, 160, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 12px 26px rgba(0, 0, 0, 0.16);
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 10, 18, 0.8);
  backdrop-filter: blur(10px);
  z-index: 999;
}

.modal.hidden,
.hidden {
  display: none !important;
}

.modal-content {
  width: min(980px, 96vw);
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(18, 26, 38, 0.98), rgba(13, 20, 32, 0.98));
  box-shadow: var(--shadow-lg);
}

.td-actions {
  white-space: nowrap;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.catalog-status {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid transparent;
}

.catalog-status-new {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.35);
  color: #b6e8ff;
}

.catalog-status-imported {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.35);
  color: #bbf7d0;
}

.modal-content.modal-wide {
  width: min(1280px, 96vw);
}

.modal-dashboard {
  width: min(1360px, 96vw);
}

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

.dashboard-head h3 {
  margin: 0 0 6px;
  font-size: 30px;
  line-height: 1;
}

.dashboard-toolbar {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(123, 147, 182, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.dashboard-toolbar .field {
  flex: 0 1 180px;
}

.dashboard-toolbar label {
  display: grid;
  gap: 8px;
  color: var(--text-soft);
  font-size: 13px;
}

.dashboard-toolbar-actions {
  margin-left: auto;
}

.dashboard-shell {
  display: grid;
  gap: 18px;
}

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

.dashboard-panel {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 46%),
    rgba(10, 18, 28, 0.62);
  box-shadow: var(--shadow-sm);
}

.dashboard-panel h4 {
  margin: 0 0 14px;
  font-size: 18px;
}

.dashboard-kpi {
  min-height: 136px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dashboard-kpi strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 44px;
  line-height: 0.95;
}

.dashboard-kpi p,
.dashboard-panel .hint,
.dashboard-list p {
  margin: 0;
}

.dashboard-kpi .hint {
  color: var(--text-soft);
}

.dashboard-current-grid,
.dashboard-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.dashboard-inline-metrics article {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(123, 147, 182, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-inline-metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  line-height: 1;
}

.dashboard-progress {
  margin-top: 14px;
}

.dashboard-progress-track {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f7df6, #78b1ff);
}

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

.dashboard-list-item {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(123, 147, 182, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.dashboard-list-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.dashboard-table-meta {
  color: var(--text-dim);
  font-size: 12px;
}

.dashboard-empty {
  padding: 20px;
  border-radius: 18px;
  border: 1px dashed rgba(123, 147, 182, 0.24);
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.02);
}

.dashboard-caption {
  margin: 0 0 14px;
  color: var(--text-soft);
}

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

.dashboard-chart {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(123, 147, 182, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.dashboard-chart h5 {
  margin: 0 0 12px;
  font-size: 16px;
}

.dashboard-chart-columns {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  min-height: 220px;
}

.dashboard-chart-column {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  align-content: end;
  gap: 8px;
}

.dashboard-chart-value {
  color: var(--text-soft);
  font-size: 12px;
  text-align: center;
}

.dashboard-chart-bar-wrap {
  min-height: 170px;
  display: flex;
  align-items: flex-end;
}

.dashboard-chart-bar {
  width: 100%;
  min-height: 8px;
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(180deg, rgba(120, 177, 255, 0.98), rgba(47, 125, 246, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 8px 16px rgba(21, 54, 104, 0.22);
}

.dashboard-chart-bar.is-secondary {
  background: linear-gradient(180deg, rgba(111, 235, 200, 0.94), rgba(27, 170, 125, 0.7));
}

.dashboard-chart-label {
  color: var(--text-dim);
  font-size: 11px;
  text-align: center;
  line-height: 1.2;
  word-break: break-word;
}

.dashboard-mini-bars {
  display: grid;
  gap: 12px;
}

.dashboard-mini-bar-row {
  display: grid;
  gap: 8px;
}

.dashboard-mini-bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-soft);
  font-size: 13px;
}

.dashboard-mini-bar-track {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-mini-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f7df6, #78b1ff);
}

.dashboard-mini-bar-fill.is-secondary {
  background: linear-gradient(90deg, #1fb67c, #73e4bc);
}

.dashboard-mini-bar-fill.is-tertiary {
  background: linear-gradient(90deg, #8d65ff, #b7a0ff);
}

footer {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 28px 28px;
  color: var(--text-dim);
  font-size: 12px;
}

@media (max-width: 1380px) {
  .metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .topbar-inner,
  .layout,
  footer {
    width: 100%;
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-benefits-grid {
    grid-template-columns: 1fr;
  }

  .auth-plan-strip {
    grid-template-columns: 1fr;
  }

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

  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
  }

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

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

  .dashboard-chart-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .topbar {
    padding: 18px 18px 16px;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo-frame {
    width: min(360px, 72vw);
    height: 72px;
  }

  .brand-claim {
    font-size: 22px;
  }

  .layout {
    padding: 18px;
  }

  .auth-gate {
    padding: 18px;
    overflow: auto;
  }

  .auth-sales-panel,
  .auth-card {
    padding: 24px;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }

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

  .section-head {
    flex-direction: column;
  }

  .dashboard-current-grid,
  .dashboard-split {
    grid-template-columns: 1fr;
  }

  .dashboard-toolbar {
    align-items: stretch;
  }

  .dashboard-toolbar .field {
    flex-basis: calc(50% - 7px);
  }

  .auth-billing-head,
  .auth-billing-checkout-head {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .brand-logo-frame {
    width: min(320px, 78vw);
    height: 64px;
  }

  .brand-claim {
    font-size: 19px;
    line-height: 1;
  }

  .auth-sales-panel h1 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .auth-sales-copy {
    font-size: 16px;
  }

  .auth-sales-actions {
    display: grid;
  }

  .auth-billing {
    padding: 16px;
  }

  .auth-billing-head h3 {
    font-size: 18px;
  }

  .auth-billing-checkout-mount {
    min-height: 420px;
  }

  .card,
  .card-hero,
  .metric-card,
  .sidebar-panel,
  .nav-group {
    padding-left: 16px;
    padding-right: 16px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-grid,
  .dashboard-inline-metrics {
    grid-template-columns: 1fr;
  }

  .dashboard-toolbar .field,
  .dashboard-toolbar-actions {
    flex-basis: 100%;
    width: 100%;
  }

  .dashboard-chart-columns {
    min-height: 180px;
    gap: 8px;
  }

  .dashboard-chart-bar-wrap {
    min-height: 130px;
  }

  .hero-actions,
  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .file,
  button {
    width: 100%;
    justify-content: center;
  }

  .row {
    flex-direction: column;
  }

  .w3,
  .w4,
  .w6,
  .w8,
  .w12 {
    flex-basis: 100%;
  }
}
