:root {
  --background: #f7f9fb;
  --surface: #f7f9fb;
  --surface-lowest: #ffffff;
  --surface-low: #f2f4f6;
  --surface-container: #eceef0;
  --surface-high: #e6e8ea;
  --surface-highest: #e0e3e5;
  --primary: #1a2537;
  --primary-container: #303b4e;
  --primary-fixed: #d8e3fb;
  --secondary: #505f76;
  --secondary-container: #d0e1fb;
  --outline: #75777e;
  --outline-variant: #c6c6ce;
  --error: #ba1a1a;
  --success: #10b981;
  --shadow-soft: 0 24px 48px -18px rgba(26, 37, 55, 0.16);
  --shadow-card: 0 18px 44px rgba(26, 37, 55, 0.06);
}

html {
  min-height: 100%;
  font-size: 15px;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: #191c1e;
  font-family: "Inter", system-ui, sans-serif;
  letter-spacing: 0;
}

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

a:hover {
  color: inherit;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  line-height: 1;
}

.workspace-body {
  overflow-x: hidden;
}

.side-nav {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  width: 16rem;
  background: var(--surface-container);
}

.side-nav-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem 0.5rem;
}

.brand-block {
  padding: 0 1rem 2rem;
}

.brand-block h1 {
  margin: 0;
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.brand-block p {
  margin: 0.1rem 0 0;
  color: var(--secondary);
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.side-links {
  display: grid;
  gap: 0.25rem;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  margin: 0 0.25rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: #64748b;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, transform 120ms ease;
}

.side-link:hover {
  background: var(--surface);
  color: var(--primary);
}

.side-link:active {
  transform: scale(0.98);
}

.side-link.active {
  background: var(--surface-lowest);
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(26, 37, 55, 0.06);
}

.side-logout {
  margin-top: auto;
}

.logout-button {
  width: calc(100% - 0.5rem);
  cursor: pointer;
}

.workspace-shell {
  min-height: 100vh;
  margin-left: 16rem;
}

.workspace-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  padding: 0.75rem 2rem;
  border-bottom: 1px solid rgba(198, 198, 206, 0.22);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 18px rgba(26, 37, 55, 0.04);
}

.search-box,
.search-control,
.field-shell {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.search-box {
  width: min(100%, 24rem);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--surface-low);
}

.search-box span,
.search-control span {
  color: var(--outline);
}

.search-box input,
.search-control input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #191c1e;
  font-size: 0.9rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #45464e;
  transition: background 160ms ease, color 160ms ease;
}

.icon-button:hover {
  background: var(--surface-low);
  color: var(--primary);
}

.avatar-badge {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(26, 37, 55, 0.12);
}

.workspace-content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem;
}

.hero-row,
.module-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hero-row h2,
.module-header h2 {
  margin: 0 0 0.45rem;
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.05;
}

.hero-row p,
.module-header p {
  max-width: 34rem;
  margin: 0;
  color: var(--secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.system-health {
  text-align: right;
}

.system-health span {
  display: block;
  margin-bottom: 0.25rem;
  color: #98a6be;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.system-health strong {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  color: var(--primary);
  font-size: 0.88rem;
}

.system-health i,
.status-pill i,
.availability i {
  display: inline-block;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: var(--success);
}

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

.workspace-main,
.workspace-side {
  display: grid;
  gap: 2rem;
  align-content: start;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-head h3,
.activity-panel h3,
.quick-actions-card h3,
.insight-card h3,
.health-card h3,
.qr-preview-card h3 {
  margin: 0;
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
}

.section-head a {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
}

.module-feature-card,
.activity-panel,
.insight-card,
.executive-table,
.health-card {
  background: var(--surface-lowest);
  border: 1px solid rgba(198, 198, 206, 0.18);
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
}

.module-feature-card {
  display: grid;
  grid-template-columns: minmax(13rem, 0.9fr) minmax(0, 1.6fr);
  gap: 2rem;
  padding: 2rem;
}

.customer-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
  gap: 1.5rem;
  align-items: stretch;
}

.feature-media {
  position: relative;
  min-height: 16rem;
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--surface-container);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 37, 55, 0.62), transparent);
}

.feature-media.logo-mode {
  display: grid;
  place-items: center;
}

.feature-media.logo-mode::after {
  background:
    radial-gradient(circle at center, rgba(216, 227, 251, 0.72), transparent 72%),
    linear-gradient(135deg, rgba(26, 37, 55, 0.1), rgba(48, 59, 78, 0.2));
}

.feature-media .company-logo-display {
  position: relative;
  inset: auto;
  z-index: 1;
  width: min(72%, 12rem);
  height: min(72%, 12rem);
  object-fit: contain;
  padding: 1.2rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 46px rgba(26, 37, 55, 0.16);
}

.feature-media span {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-copy {
  display: grid;
  gap: 1.4rem;
}

.feature-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.feature-title-row h4 {
  margin: 0;
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
}

.feature-title-row p {
  margin: 0.25rem 0 0;
  color: var(--secondary);
}

.status-pill,
.availability {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.75rem;
  font-weight: 800;
}

.availability.off {
  background: var(--surface-container);
  color: var(--outline);
}

.availability.off i {
  background: var(--outline);
}

.availability.pending {
  background: #fff7ed;
  color: #c2410c;
}

.availability.pending i {
  background: #f97316;
}

.availability.failed {
  background: rgba(186, 26, 26, 0.1);
  color: var(--error);
}

.availability.failed i {
  background: var(--error);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(198, 198, 206, 0.22);
  border-bottom: 1px solid rgba(198, 198, 206, 0.22);
}

.metric-strip span {
  display: block;
  color: var(--outline);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-strip strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

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

.gradient-action,
.primary-gradient-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.75rem 1.35rem;
  border: 0;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(26, 37, 55, 0.16);
  transition: transform 120ms ease, opacity 160ms ease;
}

.gradient-action:hover,
.primary-gradient-button:hover {
  color: #ffffff;
  opacity: 0.95;
}

.gradient-action:active,
.primary-gradient-button:active,
.icon-square:active {
  transform: scale(0.98);
}

.icon-square {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--surface-container);
  color: var(--primary);
}

.activity-panel,
.insight-card {
  padding: 1.5rem;
}

.activity-list {
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--surface-lowest);
}

.activity-item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-top: 1px solid rgba(198, 198, 206, 0.14);
}

.activity-item:first-child {
  border-top: 0;
}

.activity-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--secondary-container);
  color: var(--primary-container);
}

.activity-icon.muted {
  background: var(--primary-fixed);
}

.activity-item strong {
  color: var(--primary);
}

.activity-item p,
.activity-item time,
.insight-note p,
.admin-note {
  margin: 0;
  color: var(--secondary);
  font-size: 0.82rem;
}

.quick-actions-card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem;
  border-radius: 1rem;
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 28px 56px rgba(26, 37, 55, 0.22);
}

.quick-actions-card::after {
  content: "";
  position: absolute;
  right: -4rem;
  top: -4rem;
  width: 13rem;
  height: 13rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  filter: blur(16px);
}

.quick-actions-card h3,
.quick-actions-card a,
.usage-block {
  position: relative;
  z-index: 1;
}

.admin-dashboard-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(198, 198, 206, 0.18);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.admin-dashboard-panel .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  background: var(--primary-fixed);
  color: var(--primary);
}

.admin-dashboard-panel h3 {
  margin: 0 0 0.4rem;
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.admin-dashboard-panel p {
  max-width: 40rem;
  margin: 0;
  color: var(--secondary);
  line-height: 1.6;
}

.customer-actions {
  margin-top: 1.5rem;
}

.quick-actions-card h3 {
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.dashboard-qr-card {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 0.85rem;
  padding: 1.5rem;
  border: 1px solid rgba(198, 198, 206, 0.18);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.dashboard-qr-card > .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.8rem;
  background: var(--primary);
  color: #ffffff;
}

.dashboard-qr-card h3 {
  margin: 0;
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
}

.dashboard-qr-card img {
  width: min(100%, 13rem);
  aspect-ratio: 1;
  padding: 0.65rem;
  border: 1px solid rgba(198, 198, 206, 0.28);
  border-radius: 1rem;
  background: #ffffff;
}

.dashboard-qr-card p {
  max-width: 100%;
  margin: 0;
  color: var(--secondary);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

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

.quick-grid a {
  display: grid;
  place-items: center;
  gap: 0.45rem;
  min-height: 5.2rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-align: center;
  transition: background 160ms ease;
}

.quick-grid a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.quick-grid strong {
  font-size: 0.8rem;
}

.usage-block {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.usage-block span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.usage-block div {
  height: 0.4rem;
  margin: 0.8rem 0 0.45rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.usage-block i,
.health-progress i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #ffffff;
}

.usage-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
}

.insight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.insight-head span {
  color: rgba(26, 37, 55, 0.35);
}

.insight-note {
  padding: 1rem;
  border: 1px solid rgba(198, 198, 206, 0.12);
  border-radius: 0.75rem;
  background: var(--surface-lowest);
}

.insight-note + .insight-note {
  margin-top: 0.9rem;
}

.insight-note strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--primary);
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
  color: var(--secondary);
  font-size: 0.82rem;
}

.crumbs .material-symbols-outlined {
  font-size: 1rem;
}

.module-tabs {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.8rem;
  overflow-x: auto;
  border-bottom: 1px solid rgba(198, 198, 206, 0.25);
}

.module-tabs a {
  position: relative;
  flex: 0 0 auto;
  padding-bottom: 1rem;
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 700;
}

.module-tabs a.active {
  color: var(--primary);
  font-weight: 800;
}

.module-tabs a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--primary);
}

.module-tabs span {
  position: relative;
  top: -0.45rem;
  margin-left: 0.2rem;
  padding: 0.08rem 0.42rem;
  border-radius: 999px;
  background: var(--primary-fixed);
  color: var(--primary);
  font-size: 0.65rem;
}

.control-row {
  display: grid;
  grid-template-columns: minmax(15rem, 2fr) minmax(11rem, 1fr) minmax(11rem, 1fr);
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.search-control,
.control-row select {
  min-height: 3.25rem;
  padding: 0 1rem;
  border: 1px solid rgba(198, 198, 206, 0.22);
  border-radius: 0.75rem;
  background: var(--surface-lowest);
  color: #191c1e;
  box-shadow: 0 8px 24px rgba(26, 37, 55, 0.04);
}

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

.executive-table table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.executive-table thead {
  background: rgba(242, 244, 246, 0.74);
}

.executive-table th {
  padding: 1rem 1.5rem;
  color: var(--outline);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.executive-table td {
  padding: 1.15rem 1.5rem;
  border-top: 1px solid rgba(198, 198, 206, 0.12);
  vertical-align: middle;
}

.executive-table tbody tr {
  transition: background 160ms ease;
}

.executive-table tbody tr:hover {
  background: rgba(242, 244, 246, 0.42);
}

.product-cell {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-thumb {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 3.5rem;
  height: 3.5rem;
  overflow: hidden;
  border-radius: 0.65rem;
  background: var(--surface-container);
  color: var(--primary);
}

.product-thumb.soft {
  background: var(--secondary-container);
}

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

.product-cell strong {
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.product-cell p {
  max-width: 28rem;
  margin: 0.2rem 0 0;
  color: var(--outline);
  font-size: 0.78rem;
}

.category-pill {
  display: inline-flex;
  padding: 0.36rem 0.7rem;
  border-radius: 999px;
  background: var(--secondary-container);
  color: var(--primary-container);
  font-size: 0.75rem;
  font-weight: 800;
}

.price-text {
  color: var(--primary);
}

.row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.35rem;
}

.row-actions a,
.row-actions button {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  color: var(--secondary);
  transition: background 160ms ease, color 160ms ease;
}

.row-actions a:hover,
.row-actions button:hover {
  background: var(--surface-high);
  color: var(--primary);
}

.row-actions button:hover {
  color: var(--error);
}

.empty-state {
  margin: 0;
  padding: 2rem;
  color: var(--secondary);
  text-align: center;
}

.analytics-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.quote-request-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.payment-admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.payment-admin-stats .stat-card {
  display: grid;
  gap: 0.45rem;
  min-height: 6rem;
  align-content: center;
  padding: 1.25rem;
  border: 1px solid rgba(198, 198, 206, 0.18);
  border-radius: 0.85rem;
  background: var(--surface-lowest);
  box-shadow: var(--shadow-card);
}

.payment-admin-stats .stat-card span {
  color: var(--outline);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.payment-admin-stats .stat-card strong {
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
}

.payments-table table {
  min-width: 980px;
}

.payments-table th,
.payments-table td {
  padding-right: 1rem;
  padding-left: 1rem;
}

.payment-order-code {
  display: inline-block;
  max-width: 10.5rem;
  overflow-wrap: anywhere;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.payment-date-note {
  display: block;
  margin-top: 0.3rem;
  color: var(--outline);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.phone-link {
  color: var(--primary);
  font-weight: 800;
  white-space: nowrap;
}

.phone-link:hover {
  color: var(--secondary);
}

.public-link-list {
  display: grid;
  gap: 0.35rem;
}

.request-detail {
  min-width: 18rem;
  max-width: 34rem;
  margin: 0;
  color: #45474c;
  line-height: 1.55;
}

.request-detail summary {
  display: block;
  max-width: 34rem;
  overflow-wrap: anywhere;
  cursor: pointer;
}

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

.request-detail summary::after {
  content: "Detay";
  display: inline-flex;
  margin-left: 0.5rem;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
}

.request-detail[open] summary::after {
  content: "Kapat";
}

.request-detail p {
  max-width: 34rem;
  max-height: 10rem;
  margin: 0.75rem 0 0;
  overflow: auto;
  overflow-wrap: anywhere;
  padding: 0.85rem;
  border-radius: 0.65rem;
  background: var(--surface-low);
  color: #45474c;
}

.date-text {
  color: var(--secondary);
  font-size: 0.86rem;
  white-space: nowrap;
}

.inline-form {
  display: inline-flex;
  margin: 0;
}

.table-action-group {
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
}

.table-action-button {
  min-height: 2.35rem;
  padding: 0.45rem 0.8rem;
  border: 0;
  border-radius: 0.55rem;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  transition: opacity 160ms ease, transform 120ms ease;
}

.table-action-button:hover {
  opacity: 0.92;
}

.table-action-button:active {
  transform: scale(0.98);
}

.table-action-button.muted {
  background: var(--surface-highest);
  color: var(--primary);
}

.table-action-button.danger {
  background: rgba(186, 26, 26, 0.1);
  color: var(--error);
}

.table-action-button.panel-action {
  background: var(--secondary-fixed);
  color: var(--on-secondary-fixed);
}

.panel-alert,
.impersonation-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(84, 95, 115, 0.18);
  border-radius: 0.85rem;
  background: #fff8df;
  color: var(--primary);
  box-shadow: var(--soft-shadow);
}

.impersonation-banner strong,
.impersonation-banner span {
  display: block;
}

.impersonation-banner span {
  margin-top: 0.15rem;
  color: var(--outline);
  font-size: 0.86rem;
}

.impersonation-banner form {
  margin: 0;
}

.impersonation-banner button {
  min-height: 2.35rem;
  border: 0;
  border-radius: 0.55rem;
  background: var(--primary);
  color: #ffffff;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.health-card,
.qr-preview-card {
  padding: 1.6rem;
  border-radius: 1rem;
}

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

.health-card > .material-symbols-outlined {
  padding: 0.8rem;
  border-radius: 0.8rem;
  background: rgba(26, 37, 55, 0.06);
  color: var(--primary);
}

.health-card p {
  margin: 0.25rem 0 0;
  color: var(--outline);
}

.health-progress {
  grid-column: 1 / -1;
  height: 0.65rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-highest);
}

.health-progress i {
  background: linear-gradient(90deg, var(--primary), var(--primary-container));
}

.qr-preview-card {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 24px 46px rgba(26, 37, 55, 0.2);
}

.qr-preview-card h3 {
  margin: 0.7rem 0 0.4rem;
  color: #ffffff;
}

.qr-preview-card p {
  margin: 0;
  color: #9aa5bc;
  font-size: 0.82rem;
}

.form-page {
  max-width: 52rem;
}

.edit-form {
  display: grid;
  gap: 1.15rem;
  padding: 1.5rem;
  border: 1px solid rgba(198, 198, 206, 0.18);
  border-radius: 1rem;
  background: var(--surface-lowest);
  box-shadow: var(--shadow-card);
}

.edit-form .form-control,
.edit-form .form-select {
  min-height: 2.9rem;
  border-color: rgba(198, 198, 206, 0.45);
  border-radius: 0.65rem;
}

.customer-form-page {
  max-width: 64rem;
}

.customer-form {
  gap: 1.35rem;
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.25rem;
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
}

.form-section-title .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.65rem;
  background: var(--primary-fixed);
  color: var(--primary);
}

.module-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.75rem;
}

.module-checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.15rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(198, 198, 206, 0.32);
  border-radius: 0.75rem;
  background: var(--surface-low);
  color: var(--primary);
  font-weight: 800;
  cursor: pointer;
}

.module-checkbox-grid input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary);
}

.slug-input-shell {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(198, 198, 206, 0.45);
  border-radius: 0.65rem;
  background: #ffffff;
}

.slug-input-shell span {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  padding: 0 0.85rem;
  border-right: 1px solid rgba(198, 198, 206, 0.28);
  background: var(--surface-low);
  color: var(--secondary);
  font-size: 0.88rem;
  font-weight: 800;
}

.slug-input-shell .form-control {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.slug-help {
  display: block;
  margin-top: 0.4rem;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
}

.slug-help[data-state="ok"] {
  color: #047857;
}

.slug-help[data-state="error"] {
  color: var(--error);
}

.slug-help[data-state="pending"] {
  color: var(--outline);
}

.module-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  max-width: 28rem;
}

.module-chip-list span,
.module-chip-list em {
  display: inline-flex;
  max-width: 100%;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: var(--secondary-container);
  color: var(--primary-container);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.module-chip-list em {
  background: var(--surface-container);
  color: var(--outline);
}

.module-chip-list .danger-chip {
  background: rgba(186, 26, 26, 0.1);
  color: var(--error);
}

.customer-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.customer-row-actions form {
  margin: 0;
}

.qr-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 24rem);
  gap: 2rem;
  align-items: start;
}

.payment-shell {
  display: grid;
  grid-template-columns: minmax(15rem, 20rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.payment-summary,
.payment-frame-card,
.payment-result-card {
  border: 1px solid rgba(198, 198, 206, 0.42);
  border-radius: 1rem;
  background: var(--surface-lowest);
  box-shadow: var(--soft-shadow);
}

.payment-summary {
  display: grid;
  gap: 0.65rem;
  padding: 1.5rem;
}

.payment-summary > .material-symbols-outlined {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  background: var(--secondary-fixed);
  color: var(--primary);
}

.payment-summary h3,
.payment-summary p {
  margin: 0;
}

.payment-summary strong {
  font-size: 1.7rem;
  color: var(--primary);
}

.payment-summary small {
  color: var(--outline);
  overflow-wrap: anywhere;
}

.payment-frame-card {
  min-height: 34rem;
  padding: 1rem;
}

.payment-frame-card iframe {
  width: 100%;
  min-height: 34rem;
}

.payment-result-card {
  max-width: 42rem;
  margin: 3rem auto;
  padding: 2rem;
  text-align: center;
}

.payment-result-card > .material-symbols-outlined {
  font-size: 3rem;
  color: var(--primary);
}

.module-plan-grid .panel-alert {
  grid-column: 1 / -1;
}

.qr-stats {
  margin-bottom: 2rem;
}

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

.template-card {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid rgba(198, 198, 206, 0.38);
  border-radius: 0.9rem;
  background: #ffffff;
  color: var(--primary);
  cursor: pointer;
  transition: border 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.template-card:hover,
.template-card.selected {
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}

.template-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.template-card strong {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.template-card p {
  margin: 0;
  color: var(--secondary);
  font-size: 0.82rem;
  line-height: 1.45;
}

.template-preview {
  height: 7.5rem;
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--surface-container);
}

.template-preview::before,
.template-preview::after {
  content: "";
  display: block;
  margin: 1rem;
  border-radius: 999px;
}

.template-preview::before {
  width: 42%;
  height: 0.65rem;
}

.template-preview::after {
  width: 72%;
  height: 3.4rem;
  border-radius: 0.65rem;
}

.template-preview.minimal {
  background: #ffffff;
  border: 1px solid rgba(198, 198, 206, 0.5);
}

.template-preview.minimal::before,
.template-preview.minimal::after {
  background: #e7e8ef;
}

.template-preview.dark {
  background: #051021;
}

.template-preview.dark::before {
  background: #d8e3fb;
}

.template-preview.dark::after {
  background: rgba(255, 255, 255, 0.12);
}

.template-preview.fresh {
  background: #f2fbf6;
}

.template-preview.fresh::before {
  background: #8fd7b2;
}

.template-preview.fresh::after {
  background: #ffffff;
}

.template-preview.street {
  background: linear-gradient(135deg, #111c2d, #eab308);
}

.template-preview.street::before,
.template-preview.street::after {
  background: rgba(255, 255, 255, 0.82);
}

.template-preview.appointment-modern {
  background: linear-gradient(135deg, #ffffff 0%, #eef2ff 100%);
  border: 1px solid rgba(198, 198, 206, 0.5);
}

.template-preview.appointment-modern::before {
  background: #111c2d;
}

.template-preview.appointment-modern::after {
  background: #d8e3fb;
}

.template-preview.appointment-fresh {
  background: #f0fdf4;
}

.template-preview.appointment-fresh::before {
  background: #34d399;
}

.template-preview.appointment-fresh::after {
  background: #ffffff;
}

.template-preview.appointment-fit {
  background: linear-gradient(135deg, #050505, #14532d);
}

.template-preview.appointment-fit::before {
  background: #a3e635;
}

.template-preview.appointment-fit::after {
  background: rgba(255, 255, 255, 0.12);
}

.template-preview.appointment-nail {
  background: linear-gradient(135deg, #fff1f2, #fdf2f8);
}

.template-preview.appointment-nail::before {
  background: #be185d;
}

.template-preview.appointment-nail::after {
  background: rgba(255, 255, 255, 0.92);
}

.live-preview-shell {
  position: sticky;
  top: 5.5rem;
}

.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.preview-head h3 {
  margin: 0;
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
}

.preview-head span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #047857;
  font-size: 0.78rem;
  font-weight: 800;
}

.preview-head i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #10b981;
}

.qr-phone-frame {
  width: min(100%, 20rem);
  margin: 0 auto;
  padding: 0.7rem;
  border-radius: 2.6rem;
  background: #051021;
  box-shadow: 0 26px 60px rgba(5, 16, 33, 0.22);
}

.qr-phone-screen {
  min-height: 38rem;
  overflow: hidden;
  border-radius: 2rem;
  background: #ffffff;
}

.qr-phone-cover {
  display: flex;
  align-items: end;
  min-height: 12rem;
  padding: 1.25rem;
  background-position: center;
  background-size: cover;
}

.qr-phone-logo {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.6rem;
  overflow: hidden;
  border-radius: 0.8rem;
  background: #ffffff;
  color: #051021;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.qr-phone-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qr-phone-brand strong {
  display: block;
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.qr-phone-brand p {
  margin: 0.1rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
}

.qr-phone-cats {
  display: flex;
  gap: 0.55rem;
  overflow: hidden;
  padding: 1rem;
  border-bottom: 1px solid var(--surface-container);
}

.qr-phone-cats span {
  flex: 0 0 auto;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: var(--surface-container);
  color: var(--secondary);
  font-size: 0.74rem;
  font-weight: 800;
}

.qr-phone-cats span:first-child {
  background: var(--primary);
  color: #ffffff;
}

.qr-phone-items {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.qr-phone-items article {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.8rem;
  border: 1px solid rgba(198, 198, 206, 0.32);
  border-radius: 0.85rem;
}

.qr-phone-items strong,
.qr-phone-items b {
  color: var(--primary);
}

.qr-phone-items p {
  margin: 0.2rem 0 0.45rem;
  color: var(--secondary);
  font-size: 0.72rem;
}

.qr-phone-items .material-symbols-outlined {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.8rem;
  background: var(--primary-fixed);
  color: var(--primary);
}

.qr-phone-screen.dark-luxe {
  background: #051021;
}

.qr-phone-screen.dark-luxe .qr-phone-cats,
.qr-phone-screen.dark-luxe footer {
  border-color: rgba(255, 255, 255, 0.08);
}

.qr-phone-screen.dark-luxe .qr-phone-cats span {
  background: rgba(255, 255, 255, 0.1);
  color: #bcc7de;
}

.qr-phone-screen.dark-luxe .qr-phone-cats span:first-child {
  background: #d8e3fb;
  color: #051021;
}

.qr-phone-screen.dark-luxe .qr-phone-items article {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.qr-phone-screen.dark-luxe .qr-phone-items strong,
.qr-phone-screen.dark-luxe .qr-phone-items b,
.qr-phone-screen.dark-luxe footer {
  color: #ffffff;
}

.qr-phone-screen.dark-luxe .qr-phone-items p {
  color: rgba(255, 255, 255, 0.55);
}

.qr-phone-screen.fresh-cafe {
  background: #f7fbf8;
}

.qr-phone-screen.street-menu .qr-phone-cats span:first-child,
.qr-phone-screen.street-menu .qr-phone-items .material-symbols-outlined {
  background: #111c2d;
}

.qr-phone-screen footer {
  padding: 1rem;
  border-top: 1px solid var(--surface-container);
  color: var(--secondary);
  font-size: 0.72rem;
  text-align: center;
}

.asset-preview {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  margin-top: 0.8rem;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid rgba(198, 198, 206, 0.5);
}

.asset-preview.wide {
  width: 9rem;
  height: 5rem;
}

.asset-upload-help {
  margin: -0.25rem 0 0.6rem;
  color: var(--secondary);
  font-size: 0.82rem;
  line-height: 1.4;
}

.asset-cropper {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.85rem;
  padding: 0.85rem;
  border: 1px solid rgba(198, 198, 206, 0.5);
  border-radius: 0.9rem;
  background: var(--surface-container-low);
}

.asset-cropper[hidden] {
  display: none !important;
}

.asset-crop-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 22rem;
  border: 1px solid rgba(5, 16, 33, 0.14);
  border-radius: 0.85rem;
  background: #ffffff;
}

.asset-crop-frame.logo {
  max-width: 13rem;
  aspect-ratio: 1 / 1;
}

.asset-crop-frame.cover {
  aspect-ratio: 16 / 9;
}

.asset-crop-frame img {
  position: absolute;
  left: 50%;
  top: 50%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  object-fit: cover;
  transform-origin: center;
  user-select: none;
  pointer-events: none;
}

.asset-crop-controls {
  display: grid;
  gap: 0.65rem;
}

.asset-crop-controls label {
  display: grid;
  gap: 0.35rem;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
}

.asset-crop-controls input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}

.qr-color-input {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.35rem;
}

.publish-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(198, 198, 206, 0.18);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.module-purchase-panel {
  align-items: center;
}

.module-purchase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.publish-card .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1rem;
  border-radius: 0.9rem;
  background: var(--primary);
  color: #ffffff;
}

.publish-card h3 {
  margin: 0;
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.publish-card p {
  margin: 0.4rem 0 0;
  color: var(--secondary);
  overflow-wrap: anywhere;
}

.publish-actions {
  display: flex;
  gap: 0.7rem;
}

.public-qr-menu {
  --qr-primary: #051021;
  --qr-secondary: #d8e3fb;
  min-height: 100vh;
  max-width: 30rem;
  margin: 0 auto;
  background: #fbf8fa;
  color: #191c21;
  box-shadow: 0 24px 80px rgba(5, 16, 33, 0.16);
}

.public-qr-hero {
  display: grid;
  justify-items: center;
  align-content: end;
  min-height: 20rem;
  padding: 2rem 1.25rem;
  background-position: center;
  background-size: cover;
  color: #ffffff;
  text-align: center;
}

.public-qr-logo {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.8);
  border-radius: 1.25rem;
  background: #ffffff;
  color: var(--qr-primary);
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.public-qr-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-qr-hero h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
}

.public-qr-hero p {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.public-qr-tabs {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 1rem;
  border-bottom: 1px solid rgba(198, 198, 206, 0.3);
  background: rgba(251, 248, 250, 0.92);
  backdrop-filter: blur(10px);
}

.public-qr-tabs a {
  flex: 0 0 auto;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--surface-container);
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 800;
}

.public-qr-tabs a.active {
  background: var(--qr-primary);
  color: #ffffff;
}

.public-qr-content {
  padding: 1rem;
}

.public-qr-category {
  margin-bottom: 2rem;
  scroll-margin-top: 5.5rem;
}

.public-qr-category h2 {
  margin: 0 0 1rem;
  padding-left: 0.75rem;
  border-left: 4px solid var(--qr-primary);
  color: var(--qr-primary);
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.public-qr-items {
  display: grid;
  gap: 0.9rem;
}

.public-qr-item {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.75rem;
  border: 1px solid rgba(198, 198, 206, 0.3);
  border-radius: 1rem;
  background: #ffffff;
}

.public-qr-item:not(:has(img)) {
  grid-template-columns: 1fr;
}

.public-qr-item img {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: cover;
  border-radius: 0.75rem;
}

.public-qr-item-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
}

.public-qr-item h3 {
  margin: 0;
  color: var(--qr-primary);
  font-size: 1rem;
  font-weight: 800;
}

.public-qr-item strong {
  color: var(--qr-primary);
  white-space: nowrap;
}

.public-qr-item p {
  margin: 0.35rem 0 0;
  color: #545f73;
  font-size: 0.86rem;
  line-height: 1.45;
}

.public-qr-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 2rem 1rem;
  background: var(--qr-primary);
  color: var(--qr-secondary);
  font-size: 0.78rem;
  font-weight: 800;
}

.public-qr-menu.dark-luxe {
  background: #051021;
}

.public-qr-menu.dark-luxe .public-qr-tabs {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(5, 16, 33, 0.9);
}

.public-qr-menu.dark-luxe .public-qr-tabs a {
  background: rgba(255, 255, 255, 0.1);
  color: #bcc7de;
}

.public-qr-menu.dark-luxe .public-qr-tabs a.active {
  background: var(--qr-secondary);
  color: #051021;
}

.public-qr-menu.dark-luxe .public-qr-category h2,
.public-qr-menu.dark-luxe .public-qr-item h3,
.public-qr-menu.dark-luxe .public-qr-item strong {
  color: #ffffff;
}

.public-qr-menu.dark-luxe .public-qr-item {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.public-qr-menu.dark-luxe .public-qr-item p {
  color: rgba(255, 255, 255, 0.58);
}

.public-qr-menu.fresh-cafe {
  background: #f6fbf8;
}

.public-qr-menu.fresh-cafe .public-qr-tabs a.active,
.public-qr-menu.fresh-cafe .public-qr-footer {
  background: #0f5132;
}

.public-qr-menu.street-menu .public-qr-item {
  grid-template-columns: 7rem minmax(0, 1fr);
}

.public-qr-menu.street-menu .public-qr-item img {
  width: 7rem;
  height: 6rem;
}

.btn-primary,
.btn-secondary {
  border: 0;
  border-radius: 0.65rem;
  background: var(--primary);
  font-weight: 800;
}

.btn-outline-secondary,
.btn-outline-primary {
  border-radius: 0.65rem;
  font-weight: 800;
}

.auth-body {
  min-height: 100vh;
  background: var(--surface);
}

.executive-login {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 2rem;
  overflow: hidden;
}

.compact-login {
  align-content: center;
}

.login-background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
}

.ambient-one {
  top: -8rem;
  left: -8rem;
  width: 24rem;
  height: 24rem;
  background: rgba(216, 227, 251, 0.55);
}

.ambient-two {
  right: -8rem;
  bottom: -8rem;
  width: 30rem;
  height: 30rem;
  background: rgba(208, 225, 251, 0.4);
}

.login-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
}

.login-brand {
  margin-bottom: 2rem;
  text-align: center;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.login-brand h1 {
  margin: 0;
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.login-brand p {
  margin: 0.35rem 0 0;
  color: #45464e;
  font-size: 0.9rem;
}

.login-card {
  padding: 2rem;
  border: 1px solid rgba(198, 198, 206, 0.18);
  border-radius: 1rem;
  background: var(--surface-lowest);
  box-shadow: var(--shadow-soft);
}

.login-copy h2 {
  margin: 0;
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
}

.login-copy p {
  margin: 0.25rem 0 1.5rem;
  color: #45464e;
  font-size: 0.9rem;
}

.login-form {
  display: grid;
  gap: 1.1rem;
}

.field-block label {
  display: block;
  margin: 0 0 0.35rem 0.1rem;
  color: #45464e;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.field-label-row a {
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
}

.field-shell {
  min-height: 3rem;
  padding: 0 0.9rem;
  border: 1px solid rgba(198, 198, 206, 0.3);
  border-radius: 0.75rem;
  background: var(--surface-lowest);
  transition: border 160ms ease, box-shadow 160ms ease;
}

.field-shell:focus-within {
  border-color: rgba(26, 37, 55, 0.45);
  box-shadow: 0 0 0 0.22rem rgba(26, 37, 55, 0.08);
}

.field-shell span {
  color: var(--outline);
}

.field-shell input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.92rem;
}

.primary-gradient-button {
  width: 100%;
  margin-top: 0.3rem;
}

.auth-link {
  margin: 1.25rem 0 0;
  color: #45464e;
  font-size: 0.9rem;
  text-align: center;
}

.auth-link a {
  color: var(--primary);
  font-weight: 800;
}

.login-testimonial {
  position: fixed;
  right: clamp(2rem, 6vw, 6rem);
  top: 50%;
  display: block;
  width: 20rem;
  transform: translateY(-50%);
}

.testimonial-card {
  padding: 1.5rem;
  border: 1px solid rgba(198, 198, 206, 0.2);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.mini-avatar {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
}

.testimonial-head p,
.testimonial-foot strong {
  margin: 0;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
}

.testimonial-head span,
.testimonial-foot span {
  color: #45464e;
  font-size: 0.66rem;
  text-transform: uppercase;
}

.progress-line {
  height: 0.28rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-highest);
}

.progress-line span {
  display: block;
  width: 68%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
}

.quote {
  margin: 1.2rem 0;
  color: #45464e;
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.7;
}

.testimonial-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.quote-page {
  min-height: 100vh;
  padding: 2rem;
  background:
    radial-gradient(circle at top left, rgba(216, 227, 251, 0.5), transparent 32rem),
    #fbf8fa;
}

.quote-panel {
  display: grid;
  align-content: center;
  width: min(100%, 780px);
  min-height: calc(100vh - 4rem);
  margin: 0 auto;
}

.quote-brand {
  display: inline-flex;
  margin: 0 auto 1.5rem;
  color: #051021;
  font-family: "Manrope", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
}

.quote-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(198, 198, 206, 0.22);
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 24px 56px rgba(5, 16, 33, 0.1);
}

.quote-copy {
  margin-bottom: 1.6rem;
  text-align: center;
}

.quote-copy h1 {
  max-width: 42rem;
  margin: 0 auto 1rem;
  color: #051021;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
}

.quote-copy p {
  max-width: 39rem;
  margin: 0 auto;
  color: #45474c;
  font-size: 1rem;
  line-height: 1.7;
}

.quote-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  padding: 1rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 0.75rem;
  background: #ecfdf5;
  color: #047857;
  font-weight: 700;
}

.quote-success p {
  margin: 0;
}

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

.textarea-shell {
  align-items: flex-start;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.textarea-shell textarea {
  width: 100%;
  min-height: 8rem;
  border: 0;
  outline: 0;
  resize: vertical;
  background: transparent;
}

.public-menu {
  max-width: 820px;
  margin: 0 auto;
}

.landing-body {
  background: #fbf8fa;
  color: #1b1b1d;
}

.landing-container {
  width: min(100% - 8rem, 1280px);
  margin: 0 auto;
}

.landing-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  border-bottom: 1px solid rgba(197, 198, 205, 0.32);
  background: rgba(251, 248, 250, 0.82);
  backdrop-filter: blur(14px);
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  width: min(100% - 8rem, 1280px);
  margin: 0 auto;
  gap: 1.5rem;
}

.landing-brand {
  color: #051021;
  font-family: "Manrope", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
}

.landing-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.landing-links a {
  position: relative;
  color: #45474c;
  font-weight: 600;
  transition: color 160ms ease;
}

.landing-links a:hover,
.landing-links a.active {
  color: #051021;
}

.landing-links a.active {
  font-weight: 800;
}

.landing-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  background: #051021;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.landing-links a.active::after {
  transform: scaleX(1);
}

.landing-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.link-button {
  color: #051021;
  font-weight: 700;
}

.solid-button,
.soft-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 800;
  transition: background 160ms ease, transform 120ms ease, color 160ms ease;
}

.solid-button {
  background: #051021;
  color: #ffffff;
}

.solid-button:hover {
  background: #1a2537;
  color: #ffffff;
}

.soft-button {
  background: #d8e3fb;
  color: #051021;
}

.soft-button:hover {
  background: #c5c6cd;
  color: #051021;
}

.solid-button.large,
.soft-button.large {
  min-height: 3.5rem;
  padding: 0.9rem 2.25rem;
  font-size: 1.05rem;
}

.solid-button:active,
.soft-button:active {
  transform: scale(0.98);
}

.landing-hero {
  padding: 10rem 0 7.5rem;
  background: #ffffff;
}

.hero-inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: #d8e3fb;
  color: #101c2d;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-pill.warm {
  background: #fcdeb8;
  color: #271903;
}

.landing-hero h1 {
  max-width: 56rem;
  margin: 0 0 2rem;
  color: #051021;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
}

.landing-hero p {
  max-width: 44rem;
  margin: 0 0 3rem;
  color: #45474c;
  font-size: 1.12rem;
  line-height: 1.7;
}

.dashboard-showcase {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  width: 100%;
  margin-top: 5rem;
  overflow: hidden;
  border: 1px solid #c5c6cd;
  border-radius: 0.75rem;
  background: #f0edef;
  box-shadow: 0 30px 80px rgba(5, 16, 33, 0.18);
  text-align: left;
}

.dashboard-showcase aside {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: 2rem 1rem;
  background: #eceef0;
}

.dashboard-showcase aside strong {
  color: #1a2537;
  font-family: "Manrope", sans-serif;
  font-size: 1.25rem;
}

.dashboard-showcase aside > span {
  margin-bottom: 1.5rem;
  color: #545f73;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-showcase aside i {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  color: #64748b;
  font-style: normal;
  font-weight: 800;
}

.dashboard-showcase aside i.active {
  background: #ffffff;
  color: #1a2537;
}

.showcase-content {
  padding: 2rem;
  background: #fbf8fa;
}

.showcase-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.showcase-top span,
.showcase-card small {
  color: #75777d;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.showcase-top h3 {
  margin: 0.3rem 0 0;
  color: #051021;
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.showcase-top a {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.78rem;
  font-weight: 800;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
}

.showcase-card,
.showcase-chart {
  min-height: 8.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(197, 198, 205, 0.26);
  border-radius: 0.75rem;
  background: #ffffff;
}

.showcase-card.wide {
  grid-row: span 2;
}

.showcase-card .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  background: #1a2537;
  color: #818ca2;
}

.showcase-card strong {
  display: block;
  color: #051021;
  font-family: "Manrope", sans-serif;
  font-size: 1.6rem;
}

.showcase-card p {
  margin: 0.35rem 0 0;
  color: #545f73;
  font-size: 0.9rem;
}

.showcase-chart {
  grid-column: 2 / 4;
  display: flex;
  align-items: end;
  gap: 0.6rem;
}

.showcase-chart span {
  flex: 1;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #1a2537, #bcc7df);
}

.showcase-chart span:nth-child(1) { height: 35%; }
.showcase-chart span:nth-child(2) { height: 62%; }
.showcase-chart span:nth-child(3) { height: 46%; }
.showcase-chart span:nth-child(4) { height: 78%; }
.showcase-chart span:nth-child(5) { height: 58%; }

.trust-bar {
  padding: 3rem 0;
  border-top: 1px solid rgba(197, 198, 205, 0.22);
  border-bottom: 1px solid rgba(197, 198, 205, 0.22);
  background: #f5f3f4;
}

.trust-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.trust-grid div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #051021;
  font-weight: 800;
  opacity: 0.72;
}

.landing-section {
  padding: 7.5rem 0;
  background: #fbf8fa;
}

.landing-section.muted {
  background: #f5f3f4;
}

.module-detail-hero {
  padding: 10rem 0 6rem;
  background: #ffffff;
}

.module-detail-grid,
.module-feature-grid,
.module-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.module-detail-grid {
  align-items: center;
}

.module-detail-grid h1 {
  max-width: 46rem;
  margin: 1rem 0 1.25rem;
  color: #051021;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 0.98;
  font-weight: 800;
}

.module-detail-grid p {
  max-width: 40rem;
  color: #45474c;
  font-size: 1.08rem;
  line-height: 1.75;
}

.module-detail-panel,
.module-feature-grid article,
.module-plan-card,
.subscription-summary {
  border: 1px solid rgba(197, 198, 205, 0.7);
  border-radius: 0.85rem;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(5, 16, 33, 0.06);
}

.module-detail-panel {
  padding: 2rem;
}

.module-detail-panel > .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  border-radius: 0.85rem;
  background: #051021;
  color: #ffffff;
  font-size: 2rem;
}

.module-detail-panel h2 {
  margin: 0 0 1.25rem;
  color: #051021;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.module-detail-panel ul {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.module-detail-panel li {
  display: flex;
  gap: 0.65rem;
  color: #45474c;
  font-weight: 700;
}

.module-detail-panel li .material-symbols-outlined {
  color: #051021;
  font-size: 1.2rem;
}

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

.module-feature-grid article,
.module-plan-card {
  padding: 2rem;
}

.module-feature-grid .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.25rem;
  border-radius: 0.75rem;
  background: #d8e3fb;
  color: #051021;
}

.module-feature-grid h3,
.module-plan-card h3 {
  margin: 0 0 0.75rem;
  color: #051021;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.module-feature-grid p,
.module-plan-card p {
  margin: 0;
  color: #45474c;
  line-height: 1.65;
}

.module-plan-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 1rem;
}

.module-plan-card.featured {
  border-color: #051021;
}

.module-plan-card em {
  width: fit-content;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: #051021;
  color: #ffffff;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.module-plan-card strong {
  color: #051021;
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.subscription-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.75rem;
  padding: 1rem;
  background: #f3f3fa;
}

.subscription-summary .material-symbols-outlined {
  grid-row: span 2;
  color: #051021;
}

.subscription-summary strong,
.subscription-summary p {
  margin: 0;
}

.subscription-summary p {
  color: #45474c;
}

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

.section-heading.centered {
  text-align: center;
}

.section-heading h2,
.spotlight-grid h2,
.cta-card h2,
.section-heading.inverse h2 {
  margin: 0 0 1rem;
  color: #051021;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
}

.section-heading p,
.spotlight-grid p {
  max-width: 44rem;
  margin: 0;
  color: #45474c;
  font-size: 1.08rem;
  line-height: 1.7;
}

.section-heading.centered p {
  margin: 0 auto;
}

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

.landing-module-card {
  display: flex;
  flex-direction: column;
  min-height: 15rem;
  padding: 2rem;
  border: 1px solid #c5c6cd;
  border-radius: 0.75rem;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  transition: border 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.landing-module-card:hover {
  border-color: #051021;
  color: inherit;
  box-shadow: 0 18px 44px rgba(5, 16, 33, 0.08);
  transform: translateY(-2px);
}

.landing-module-card.dark {
  display: grid;
  place-content: center;
  text-align: center;
  background: #051021;
  color: #ffffff;
}

.landing-module-card.dark h3 {
  color: #ffffff;
}

.module-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.module-card-head em {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #fcdeb8;
  color: #271903;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.module-icon {
  display: inline-grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  margin-bottom: 1.5rem;
  border-radius: 0.65rem;
  background: #d8e3fb;
  color: #051021;
  transition: background 160ms ease, color 160ms ease;
}

.landing-module-card:hover .module-icon {
  background: #051021;
  color: #ffffff;
}

.landing-module-card h3,
.steps-grid h3,
.advantage-grid h3 {
  margin: 0 0 1rem;
  color: #051021;
  font-family: "Manrope", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.landing-module-card p,
.steps-grid p,
.advantage-grid p {
  margin: 0;
  color: #45474c;
  line-height: 1.6;
}

.module-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.65rem;
  margin-top: auto;
  margin-left: auto;
  padding: 0.7rem 1.15rem;
  border-radius: 0.5rem;
  background: #051021;
  color: #ffffff;
  font-weight: 800;
  line-height: 1;
  transition: background 160ms ease, transform 120ms ease;
}

.landing-module-card:hover .module-card-action {
  background: #1a2537;
}

.module-card-action.secondary {
  background: #e7e8ef;
  color: #051021;
}

.landing-module-card:hover .module-card-action.secondary {
  background: #d8e3fb;
  color: #051021;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  position: relative;
}

.steps-grid::before {
  content: "";
  position: absolute;
  top: 2rem;
  right: 12%;
  left: 12%;
  height: 1px;
  background: #c5c6cd;
}

.steps-grid article {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  padding: 0 1rem;
  text-align: center;
}

.steps-grid article span {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  border: 8px solid #f5f3f4;
  border-radius: 999px;
  background: #051021;
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.82fr);
  gap: 4rem;
  align-items: center;
}

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

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #1b1b1d;
  font-weight: 800;
}

.check-list .material-symbols-outlined {
  color: #051021;
}

.phone-preview {
  display: grid;
  place-items: center;
}

.phone-frame {
  width: min(100%, 23rem);
  overflow: hidden;
  border: 8px solid #051021;
  border-radius: 3rem;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(5, 16, 33, 0.2);
}

.phone-cover {
  height: 10rem;
  background:
    linear-gradient(to top, rgba(5, 16, 33, 0.7), transparent),
    url("https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=900&q=80") center/cover;
}

.phone-content {
  padding: 1.35rem;
}

.phone-content > strong {
  display: block;
  color: #051021;
  font-family: "Manrope", sans-serif;
  font-size: 1.35rem;
}

.phone-content > span {
  display: block;
  color: #545f73;
  font-size: 0.78rem;
}

.phone-content nav {
  display: flex;
  gap: 1rem;
  margin: 1.4rem 0;
  overflow: hidden;
  border-bottom: 1px solid #f0edef;
}

.phone-content nav i {
  padding-bottom: 0.55rem;
  color: #545f73;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

.phone-content nav i:first-child {
  border-bottom: 2px solid #051021;
  color: #051021;
}

.phone-content article {
  position: relative;
  padding: 1rem 0;
  border-bottom: 1px solid #f0edef;
}

.phone-content b {
  display: block;
  color: #051021;
}

.phone-content em {
  position: absolute;
  top: 1rem;
  right: 0;
  color: #051021;
  font-style: normal;
  font-weight: 800;
}

.phone-content article p {
  margin: 0.35rem 3.5rem 0 0;
  color: #545f73;
  font-size: 0.78rem;
}

.advantage-section {
  padding: 7.5rem 0;
  background: #051021;
  color: #ffffff;
}

.section-heading.inverse h2 {
  color: #ffffff;
}

.section-heading.inverse p {
  color: #bcc7df;
}

.advantage-grid article {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  transition: background 160ms ease;
}

.advantage-grid article:hover {
  background: rgba(255, 255, 255, 0.05);
}

.advantage-grid .material-symbols-outlined {
  display: block;
  margin-bottom: 1.5rem;
  color: #d8e3fb;
  font-size: 2rem;
}

.advantage-grid h3 {
  color: #ffffff;
}

.advantage-grid p {
  color: #bcc7df;
}

.advantage-cta {
  display: grid;
  place-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
}

.advantage-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: #d8e3fb;
  font-weight: 800;
}

.company-section {
  background: #fbf8fa;
}

.company-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  gap: 2rem;
  align-items: start;
}

.company-about {
  padding: clamp(1.5rem, 3vw, 3rem);
}

.company-about h2 {
  max-width: 52rem;
  margin: 1.25rem 0 1rem;
  color: #051021;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
}

.company-about p {
  max-width: 48rem;
  margin: 0 0 1rem;
  color: #45474c;
  font-size: 1.05rem;
  line-height: 1.75;
}

.company-contact-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid #c5c6cd;
  border-radius: 0.75rem;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(5, 16, 33, 0.06);
}

.company-contact-card > .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.65rem;
  background: #d8e3fb;
  color: #051021;
}

.company-contact-card h3 {
  margin: 0;
  color: #051021;
  font-family: "Manrope", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
}

.company-contact-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.company-contact-card dl div {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 0;
  border-top: 1px solid #e7e8ef;
}

.company-contact-card dt {
  color: #545f73;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.company-contact-card dd {
  margin: 0;
  color: #051021;
  font-size: 1.05rem;
  font-weight: 800;
}

.company-contact-card a {
  color: inherit;
}

.legal-page {
  background: #f9f9ff;
}

.legal-hero {
  padding: clamp(7rem, 11vw, 10rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  background:
    linear-gradient(135deg, rgba(216, 227, 251, 0.72), rgba(249, 249, 255, 0)),
    #f9f9ff;
}

.legal-hero-inner {
  max-width: 62rem;
}

.legal-hero h1 {
  margin: 1.2rem 0 1rem;
  color: #051021;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
}

.legal-hero p {
  max-width: 54rem;
  margin: 0;
  color: #3c475a;
  font-size: 1.08rem;
  line-height: 1.75;
}

.legal-hero small {
  display: block;
  margin-top: 1rem;
  color: #545f73;
  font-weight: 700;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19rem;
  gap: 2rem;
  align-items: start;
}

.legal-document,
.legal-sidebar {
  border: 1px solid rgba(197, 198, 205, 0.72);
  border-radius: 0.75rem;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(5, 16, 33, 0.05);
}

.legal-document {
  padding: clamp(1.5rem, 3vw, 3rem);
}

.legal-document section + section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e7e8ef;
}

.legal-document h2,
.legal-sidebar h2 {
  margin: 0 0 0.9rem;
  color: #051021;
  font-family: "Manrope", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.legal-document p,
.legal-document li {
  color: #45474c;
  font-size: 1rem;
  line-height: 1.75;
}

.legal-document p:last-child {
  margin-bottom: 0;
}

.legal-document ul {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.legal-sidebar {
  position: sticky;
  top: 6.4rem;
  padding: 1.25rem;
}

.legal-sidebar nav {
  display: grid;
  gap: 0.45rem;
}

.legal-sidebar a {
  border-radius: 0.5rem;
  color: #3c475a;
  padding: 0.8rem;
  font-weight: 700;
}

.legal-sidebar a.active,
.legal-sidebar a:hover {
  background: #d8e3fb;
  color: #051021;
}

.legal-footer {
  padding-top: 1.5rem;
}

.legal-footer .footer-bottom {
  margin-top: 0;
}

.final-cta {
  padding: 7.5rem 0;
  background: #fbf8fa;
}

.cta-card {
  position: relative;
  overflow: hidden;
  max-width: 62rem;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem);
  border-radius: 2rem;
  background: #051021;
  color: #ffffff;
  text-align: center;
}

.cta-card h2 {
  color: #ffffff;
}

.cta-card p {
  max-width: 38rem;
  margin: 0 auto 3rem;
  color: #bcc7df;
  font-size: 1.1rem;
  line-height: 1.7;
}

.landing-footer {
  padding: 7.5rem 0 2rem;
  border-top: 1px solid #c5c6cd;
  background: #fbf8fa;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-grid strong {
  display: block;
  margin-bottom: 1.5rem;
  color: #051021;
  font-family: "Manrope", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
}

.footer-grid p {
  max-width: 20rem;
  color: #45474c;
  line-height: 1.6;
}

.footer-grid h4 {
  margin: 0 0 1.5rem;
  color: #051021;
  font-weight: 800;
}

.footer-grid nav {
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.footer-grid a,
.footer-bottom {
  color: #45474c;
}

.footer-grid a:hover {
  color: #051021;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(197, 198, 205, 0.36);
}

.footer-bottom div {
  display: flex;
  gap: 1.25rem;
}

.menu-hero {
  padding: 32px 0 18px;
  border-bottom: 1px solid #dfe5ec;
}

.menu-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

.menu-category {
  padding: 28px 0 8px;
}

.menu-category h2 {
  margin-bottom: 14px;
  font-size: 1.2rem;
  font-weight: 800;
}

.menu-items {
  display: grid;
  gap: 12px;
}

.menu-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
}

.menu-item img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 6px;
  background: #e8edf2;
}

.menu-item-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.menu-item h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.menu-item p {
  margin: 8px 0 0;
  color: #64748b;
}

.appointment-stats {
  margin-bottom: 2rem;
}

.appointment-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
  gap: 1.5rem;
  align-items: start;
}

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

.appointment-flow,
.appointment-side,
.appointment-service-card,
.appointment-add-card,
.weekly-calendar,
.appointment-public-card {
  border: 1px solid rgba(198, 198, 206, 0.18);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.appointment-flow {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.appointment-requests {
  margin-top: 1.5rem;
}

.appointment-card {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(198, 198, 206, 0.18);
  border-radius: 0.8rem;
  background: var(--surface-lowest);
}

.appointment-time {
  padding-right: 1rem;
  border-right: 1px solid rgba(198, 198, 206, 0.26);
  text-align: center;
}

.appointment-time strong,
.appointment-card h4,
.appointment-service-card h3,
.appointment-add-card strong {
  display: block;
  margin: 0;
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.appointment-time strong {
  font-size: 1.15rem;
}

.appointment-time span,
.appointment-card p,
.appointment-card small,
.appointment-service-card p,
.appointment-add-card p {
  color: var(--secondary);
}

.appointment-card p {
  margin: 0.2rem 0;
}

.appointment-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.appointment-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 800;
}

.appointment-phone .material-symbols-outlined {
  font-size: 1rem;
}

.appointment-status {
  display: inline-flex;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: var(--surface-container);
  color: var(--secondary);
  font-size: 0.72rem;
  font-weight: 800;
}

.appointment-status.bekliyor,
.calendar-booking.bekliyor {
  background: #fff7ed;
  color: #c2410c;
}

.appointment-status.onaylandi,
.calendar-booking.onaylandi {
  background: #dbeafe;
  color: #1d4ed8;
}

.appointment-status.tamamlandi,
.calendar-booking.tamamlandi {
  background: #ecfdf5;
  color: #047857;
}

.appointment-status.iptal,
.calendar-booking.iptal {
  background: #fee2e2;
  color: #b91c1c;
}

.mini-button {
  min-height: 2rem;
  border: 0;
  border-radius: 0.55rem;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  padding: 0.35rem 0.7rem;
}

.mini-button.muted {
  background: var(--surface-container);
  color: var(--primary);
}

.appointment-empty {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  padding: 3rem 1rem;
  border: 2px dashed rgba(198, 198, 206, 0.42);
  border-radius: 0.9rem;
  color: var(--secondary);
  text-align: center;
}

.appointment-empty .material-symbols-outlined {
  font-size: 2.4rem;
  color: rgba(26, 37, 55, 0.3);
}

.appointment-side {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
}

.appointment-phone-preview {
  overflow: hidden;
  border: 8px solid var(--primary);
  border-radius: 2.4rem;
  background: #ffffff;
  box-shadow: 0 24px 54px rgba(26, 37, 55, 0.18);
}

.appointment-phone-hero {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 2rem 1rem;
  background: var(--primary);
  color: #ffffff;
  text-align: center;
}

.appointment-phone-hero img,
.appointment-phone-hero > .material-symbols-outlined {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: #ffffff;
  object-fit: contain;
  padding: 0.5rem;
  color: var(--primary);
}

.appointment-phone-hero strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
}

.appointment-phone-list {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.appointment-phone-list div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid rgba(198, 198, 206, 0.22);
  border-radius: 0.75rem;
  font-size: 0.78rem;
}

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

.appointment-service-card,
.appointment-add-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 17rem;
  padding: 1.5rem;
}

.appointment-service-card.disabled {
  opacity: 0.62;
}

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

.service-card-head > .material-symbols-outlined,
.appointment-add-card > .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.8rem;
  background: var(--primary-fixed);
  color: var(--primary);
}

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

.service-metrics span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem;
  border-radius: 0.65rem;
  background: var(--surface-low);
  color: var(--primary);
  font-weight: 800;
}

.service-metrics i {
  font-size: 1rem;
}

.appointment-add-card {
  justify-items: center;
  align-content: center;
  border: 2px dashed rgba(198, 198, 206, 0.58);
  color: var(--secondary);
  text-align: center;
}

.weekly-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(9rem, 1fr));
  overflow-x: auto;
}

.weekly-calendar article {
  min-height: 28rem;
  border-right: 1px solid rgba(198, 198, 206, 0.18);
}

.weekly-calendar article:last-child {
  border-right: 0;
}

.weekly-calendar header {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(198, 198, 206, 0.18);
  background: var(--surface-low);
}

.weekly-calendar header span {
  color: var(--secondary);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.weekly-calendar header strong {
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
}

.calendar-day-body {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 0.8rem;
}

.calendar-day-body > p {
  margin: 1rem 0 0;
  color: var(--outline);
  text-align: center;
}

.calendar-booking {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem;
  border-radius: 0.7rem;
}

.calendar-booking small {
  font-weight: 800;
}

.publish-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 24rem);
  gap: 1.5rem;
  align-items: start;
}

.appointment-public {
  width: min(100%, 44rem);
  margin: 0 auto;
  padding-bottom: 6rem;
  --appointment-primary: #051021;
  --appointment-secondary: #d8e3fb;
}

.appointment-public-hero {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
  display: grid;
  align-content: end;
  margin-bottom: 1.5rem;
  background: var(--primary);
  color: #ffffff;
}

.appointment-public-hero > img,
.appointment-public-hero > div {
  position: absolute;
  inset: 0;
}

.appointment-public-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.appointment-public-hero > div {
  background: linear-gradient(to top, color-mix(in srgb, var(--appointment-primary) 84%, transparent), color-mix(in srgb, var(--appointment-primary) 18%, transparent));
}

.appointment-public-hero section {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  padding: 2rem;
  text-align: center;
}

.appointment-public-hero h1 {
  margin: 0.8rem 0 0.25rem;
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.appointment-theme-modern-studio {
  background: #ffffff;
}

.appointment-theme-fresh-salon {
  background: #f6fff9;
}

.appointment-theme-fit-coach {
  background: #0b0f0c;
}

.appointment-theme-nail-luxe {
  background: #fff7fb;
}

.appointment-theme-fresh-salon .appointment-public-card {
  border-color: color-mix(in srgb, var(--appointment-secondary) 55%, #ffffff);
  box-shadow: 0 14px 34px rgba(21, 128, 61, 0.08);
}

.appointment-theme-fit-coach .appointment-public-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: #111714;
  color: #f8fafc;
}

.appointment-theme-fit-coach .appointment-public-card h2,
.appointment-theme-fit-coach .public-choice-list strong,
.appointment-theme-fit-coach .date-slot-grid strong {
  color: #ffffff;
}

.appointment-theme-fit-coach .public-choice-list label,
.appointment-theme-fit-coach .date-slot-grid label,
.appointment-theme-fit-coach .time-slot-grid label {
  border-color: rgba(255, 255, 255, 0.14);
  background: #17211c;
}

.appointment-theme-nail-luxe .appointment-public-card {
  border-color: rgba(190, 24, 93, 0.12);
  box-shadow: 0 16px 42px rgba(190, 24, 93, 0.08);
}

.public-company-logo {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  overflow: hidden;
  border: 4px solid #ffffff;
  border-radius: 1.25rem;
  background: #ffffff;
  color: var(--primary);
}

.public-company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.4rem;
}

.appointment-public-form {
  display: grid;
  gap: 1.25rem;
}

.appointment-public .quote-form input,
.appointment-public .quote-form textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(198, 198, 206, 0.42);
  border-radius: 0.75rem;
  background: var(--surface);
  outline: 0;
}

.appointment-public .quote-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.appointment-public .quote-form input:focus,
.appointment-public .quote-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(216, 227, 251, 0.65);
}

.appointment-public-card {
  padding: 1.25rem;
}

.appointment-public-card h2 {
  margin: 0 0 1rem;
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.public-choice-list {
  display: grid;
  gap: 0.75rem;
}

.public-choice-list label,
.date-slot-grid label,
.time-slot-grid label {
  cursor: pointer;
}

.public-choice-list input,
.date-slot-grid input,
.time-slot-grid input {
  position: absolute;
  opacity: 0;
}

.public-choice-list label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(198, 198, 206, 0.32);
  border-radius: 0.85rem;
}

.public-choice-list strong,
.public-choice-list small {
  display: block;
}

.public-choice-list small {
  color: var(--secondary);
}

.public-choice-list i {
  color: var(--outline-variant);
}

.public-choice-list input:checked + span + i {
  color: var(--primary);
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.public-choice-list label:has(input:checked),
.date-slot-grid label:has(input:checked),
.time-slot-grid label:has(input:checked) {
  border-color: var(--appointment-primary, var(--primary));
  background: color-mix(in srgb, var(--appointment-secondary, var(--primary-fixed)) 82%, #ffffff);
}

.date-slot-grid,
.time-slot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.date-slot-grid label,
.time-slot-grid label {
  display: grid;
  place-items: center;
  min-height: 4.5rem;
  border: 1px solid rgba(198, 198, 206, 0.32);
  border-radius: 0.75rem;
  background: #ffffff;
}

.time-slot-grid label[hidden] {
  display: none !important;
}

.quote-success[hidden] {
  display: none !important;
}

.date-slot-grid label.is-full,
.time-slot-grid label.is-full {
  cursor: not-allowed;
  opacity: 0.58;
  background: var(--surface-container-low);
}

.date-slot-grid label.is-full:has(input:checked),
.time-slot-grid label.is-full:has(input:checked) {
  border-color: rgba(198, 198, 206, 0.32);
  background: var(--surface-container-low);
}

.date-slot-grid span {
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.date-slot-grid small,
.time-slot-grid small {
  color: #047857;
  font-size: 0.68rem;
  font-weight: 800;
}

.date-slot-grid label.is-full small,
.time-slot-grid label.is-full small {
  color: #b91c1c;
}

.date-slot-grid strong {
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
}

.appointment-public .quote-success {
  margin: 1rem;
}

.appointment-public-submit {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: grid;
  gap: 0.5rem;
  padding: 1rem;
  border-top: 1px solid rgba(198, 198, 206, 0.2);
  background: rgba(247, 249, 251, 0.82);
  backdrop-filter: blur(12px);
}

.appointment-public-submit .gradient-action {
  width: 100%;
  background: linear-gradient(135deg, var(--appointment-primary), color-mix(in srgb, var(--appointment-primary) 72%, var(--appointment-secondary)));
}

.appointment-public-submit p {
  margin: 0;
  color: var(--outline);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 1180px) {
  .login-testimonial {
    display: none;
  }

  .module-feature-card,
  .customer-dashboard-grid,
  .workspace-grid,
  .analytics-row,
  .appointment-dashboard-grid,
  .publish-layout,
  .payment-admin-stats {
    grid-template-columns: 1fr;
  }

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

  .landing-container,
  .landing-nav {
    width: min(100% - 2rem, 1280px);
  }

  .landing-links {
    display: none;
  }

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

  .dashboard-showcase aside {
    display: none;
  }

  .module-card-grid,
  .advantage-grid,
  .steps-grid,
  .spotlight-grid,
  .module-detail-grid,
  .module-feature-grid,
  .module-plan-grid,
  .company-contact-grid,
  .legal-layout,
  .payment-shell,
  .appointment-service-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid::before {
    display: none;
  }

  .legal-sidebar {
    position: static;
  }
}

@media (max-width: 860px) {
  .side-nav {
    position: static;
    width: auto;
    height: auto;
  }

  .side-nav-inner {
    padding: 1rem;
  }

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

  .side-link {
    justify-content: center;
    margin: 0;
  }

  .side-link span:last-child {
    display: none;
  }

  .side-logout {
    margin: 0;
  }

  .logout-button {
    width: 100%;
  }

  .workspace-shell {
    margin-left: 0;
  }

  .workspace-topbar {
    padding: 0.75rem 1rem;
  }

  .search-box {
    width: min(100%, 18rem);
  }

  .workspace-content {
    padding: 1.25rem;
  }

  .hero-row,
  .module-header,
  .admin-dashboard-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .system-health {
    text-align: left;
  }

  .system-health strong {
    justify-content: flex-start;
  }

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

@media (max-width: 640px) {
  .landing-nav {
    height: auto;
    padding: 0.9rem 0;
  }

  .landing-actions {
    gap: 0.6rem;
  }

  .landing-actions .link-button {
    display: inline-flex;
    align-items: center;
    min-height: 2.6rem;
    padding: 0 0.25rem;
    white-space: nowrap;
    font-size: 0.92rem;
  }

  .landing-actions .solid-button {
    min-height: 2.6rem;
    padding: 0.65rem 0.85rem;
    white-space: nowrap;
    font-size: 0.92rem;
  }

  .solid-button,
  .soft-button {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .landing-hero {
    padding: 7.5rem 0 5rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
  }

  .landing-brand {
    font-size: 1.25rem;
  }

  .dashboard-showcase {
    margin-top: 3rem;
  }

  .showcase-content {
    padding: 1rem;
  }

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

  .showcase-card.wide,
  .showcase-chart {
    grid-column: auto;
    grid-row: auto;
  }

  .trust-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-section,
  .advantage-section,
  .final-cta,
  .landing-footer {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

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

  .phone-frame {
    width: min(100%, 19rem);
    border-radius: 2.4rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 3rem;
  }

  .executive-login {
    padding: 1rem;
  }

  .login-card {
    padding: 1.35rem;
  }

  .feature-title-row,
  .testimonial-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .metric-strip,
  .quick-grid {
    grid-template-columns: 1fr;
  }

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

  .menu-item {
    grid-template-columns: 76px 1fr;
  }

  .menu-item img {
    width: 76px;
    height: 76px;
  }
}

@media (max-width: 380px) {
  .landing-actions .solid-button {
    display: none;
  }
}

.guide-hero {
  padding: 8.5rem 0 4rem;
  background: linear-gradient(135deg, #f9f9ff 0%, #eef3ff 52%, #ffffff 100%);
}

.guide-hero-inner {
  max-width: 880px;
}

.guide-hero h1 {
  max-width: 900px;
  margin: 1rem 0;
  color: #111827;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.02;
  font-weight: 800;
}

.guide-hero p {
  max-width: 760px;
  color: #4b5563;
  font-size: 1.08rem;
  line-height: 1.8;
}

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

.guide-content {
  display: grid;
  gap: 1.25rem;
}

.guide-content section,
.guide-sidebar {
  border: 1px solid rgba(197, 198, 205, 0.55);
  border-radius: 1.1rem;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(5, 16, 33, 0.06);
}

.guide-content section {
  padding: 2rem;
}

.guide-content h2,
.guide-sidebar h2 {
  margin: 0 0 0.9rem;
  color: #111827;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.guide-content p {
  margin: 0;
  color: #4b5563;
  line-height: 1.8;
}

.guide-sidebar {
  position: sticky;
  top: 6rem;
  padding: 1.5rem;
}

.guide-sidebar ul {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  margin: 0 0 1.5rem;
  list-style: none;
}

.guide-sidebar li {
  display: flex;
  gap: 0.65rem;
  color: #374151;
  line-height: 1.5;
}

.guide-sidebar li span {
  color: #111827;
  font-size: 1.2rem;
}

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

@media (max-width: 1080px) {
  .guide-layout,
  .guide-card-grid {
    grid-template-columns: 1fr;
  }

  .guide-sidebar {
    position: static;
  }
}
