@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #101828;
  --muted: #667085;
  --line: #dbe3ef;
  --soft: #f6f8fb;
  --paper: #ffffff;
  --navy: #061d45;
  --blue: #1167e8;
  --sky: #47a7f5;
  --orange: #ff970f;
  --green: #169b72;
  --red: #c73939;
  --shadow: 0 18px 50px rgba(16, 24, 40, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    "Manrope", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--soft);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header[data-elevated="true"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 28px rgba(16, 24, 40, 0.08);
  backdrop-filter: blur(16px);
}

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

.brand img {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.brand span {
  display: grid;
  line-height: 1.1;
}

.brand strong {
  font-size: 1.08rem;
  letter-spacing: 0;
}

.brand small {
  color: currentColor;
  opacity: 0.76;
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logout-form {
  margin: 0;
}

.site-nav .logout-form,
.portal-header nav .logout-form {
  display: inline-flex;
}

.site-nav a,
.site-nav .nav-inline-button,
.admin-nav button {
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  padding: 10px 13px;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav .nav-inline-button:hover,
.admin-nav button:hover,
.admin-nav button.active {
  background: rgba(17, 103, 232, 0.1);
  color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 9px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  padding: 120px clamp(20px, 5vw, 72px) 34px;
  overflow: hidden;
  color: #fff;
  background: #061d45;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3, 13, 35, 0.55);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
}

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

.hero-copy {
  max-width: 820px;
  padding-bottom: 46px;
}

.hero-kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.hero-kicker-row .eyebrow {
  margin: 0;
}

.hero-kicker-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-kicker-chip.muted {
  color: #ffd9a0;
  border-color: rgba(255, 151, 15, 0.26);
  background: rgba(255, 151, 15, 0.12);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2.2vw, 1.42rem);
}

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

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

.hero-proof-strip article {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-proof-strip strong,
.hero-proof-strip span {
  display: block;
}

.hero-proof-strip strong {
  font-size: 0.95rem;
}

.hero-proof-strip span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.hero-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-contact-row span,
.footer-contact a,
.footer-contact strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.84rem;
  font-weight: 800;
}

.hero-contact-row span {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 11px 18px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  color: #111827;
  background: var(--orange);
  box-shadow: 0 14px 28px rgba(255, 151, 15, 0.26);
}

.btn.secondary {
  color: var(--blue);
  background: #eef5ff;
  border-color: #cfe2ff;
}

.btn.ghost {
  color: inherit;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.btn.danger {
  color: #fff;
  background: var(--red);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 920px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.hero-stats article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats strong {
  display: block;
  font-size: clamp(1.2rem, 3vw, 2rem);
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.76);
}

.platform-band,
.section,
.site-footer {
  padding: clamp(54px, 7vw, 92px) clamp(20px, 5vw, 72px);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: #dbe5f2;
}

.trust-strip span {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  color: #344054;
  background: #fff;
  font-weight: 800;
  text-align: center;
}

.trust-strip span i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), #ffd39b);
  box-shadow: 0 0 0 6px rgba(255, 151, 15, 0.12);
}

.platform-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: var(--paper);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 30px;
}

.section-heading h2,
.trial-copy h2,
.admin-topbar h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.trial-copy p,
.admin-card-head p {
  color: var(--muted);
}

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: end;
}

.control-preview {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.preview-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px 16px;
  background: var(--navy);
}

.preview-sidebar span {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.preview-sidebar span:first-child {
  background: var(--orange);
}

.preview-main {
  padding: 24px;
}

.preview-topline,
.preview-grid div,
.preview-table span {
  border-radius: var(--radius);
  background: #edf2f7;
}

.preview-topline {
  height: 56px;
  margin-bottom: 18px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.preview-grid div {
  min-height: 118px;
}

.preview-grid div:nth-child(2) {
  background: #e8f7f1;
}

.preview-grid div:nth-child(3) {
  background: #fff1df;
}

.preview-table {
  display: grid;
  gap: 10px;
}

.preview-table span {
  height: 34px;
}

.project-grid,
.pricing-grid,
.reviews-grid,
.steps,
.metric-grid,
.package-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card,
.pricing-card,
.review-card,
.steps article,
.metric-grid article,
.admin-card,
.package-admin-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.project-card,
.pricing-card,
.review-card,
.steps article {
  padding: 24px;
}

.project-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--blue);
}

.project-card.green::before {
  background: var(--green);
}

.project-card.orange::before {
  background: var(--orange);
}

.project-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

.project-card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.project-card-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.project-state-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 10px;
  background: #edf5ff;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.project-state-badge.muted {
  background: #fff3e1;
  color: #945c05;
}

.project-card h3,
.pricing-card h3,
.steps h3,
.admin-card h2,
.project-admin-item h3,
.package-admin-grid h3 {
  margin: 0 0 10px;
  line-height: 1.15;
}

.project-card p,
.project-card li,
.pricing-card p,
.pricing-card li,
.steps p,
.review-card span,
.project-admin-item p {
  color: var(--muted);
}

.project-quick-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.project-quick-metrics article {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.project-quick-metrics strong,
.project-quick-metrics span {
  display: block;
}

.project-quick-metrics strong {
  font-size: 1rem;
}

.project-quick-metrics span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
}

.project-card ul,
.pricing-card ul,
.check-list {
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.project-card li,
.pricing-card li,
.check-list li {
  position: relative;
  padding-left: 22px;
  margin-top: 8px;
}

.project-card li::before,
.pricing-card li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.project-card.featured {
  border-color: rgba(17, 103, 232, 0.28);
  box-shadow:
    0 20px 46px rgba(16, 24, 40, 0.1),
    0 0 0 1px rgba(17, 103, 232, 0.08);
}

.project-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.project-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.project-meta-list span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  color: #344054;
  background: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 800;
}

.project-card-footer strong,
.pricing-card strong {
  font-size: 1.45rem;
}

.project-card-footer small,
.pricing-card small {
  color: var(--muted);
  font-size: 0.82rem;
}

.project-card-footer span,
.status-pill,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--green);
  background: #e8f7f1;
  font-size: 0.82rem;
  font-weight: 800;
}

.project-detail-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.project-detail-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.project-detail-panel h3 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1;
}

.project-detail-copy p:not(.eyebrow),
.project-info-box span,
.module-list li,
.portal-project-note {
  color: var(--muted);
}

.project-info-box {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--radius);
  background: #f7fafc;
}

.module-list {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: #f8fbff;
}

.module-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.module-list li,
.admin-module-tags span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 10px 12px;
  font-weight: 800;
}

.pricing-section {
  background: #eef3f9;
}

.pricing-insights,
.pricing-decision-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pricing-insights {
  margin-bottom: 18px;
}

.pricing-insights article,
.pricing-decision-board article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: var(--shadow-soft);
}

.pricing-insights span,
.pricing-decision-board span {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-insights strong,
.pricing-decision-board strong {
  display: block;
  margin-top: 8px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.pricing-insights p,
.pricing-decision-board p {
  margin: 10px 0 0;
  color: var(--muted);
}

.billing-toggle {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 22px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.billing-toggle button {
  min-width: 96px;
  border: 0;
  border-radius: 6px;
  padding: 9px 14px;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.billing-toggle button.active {
  color: #fff;
  background: var(--navy);
}

.pricing-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: var(--shadow-soft);
}

.pricing-card.featured {
  border-color: #95c0ff;
  box-shadow: var(--shadow);
}

.pricing-card-topline,
.pricing-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.pricing-card-topline > span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-card-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pricing-card-pills small,
.pricing-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
}

.pricing-card h3 {
  margin: 0;
  font-size: 1.4rem;
}

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

.pricing-card strong {
  font-size: 2rem;
  line-height: 1;
}

.pricing-card strong small {
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 18px;
  color: #344054;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.comparison-table {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
  overflow: hidden;
}

.comparison-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.comparison-head h3 {
  margin: 0;
  font-size: 1.35rem;
}

.comparison-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.pricing-decision-board {
  margin-top: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #111827;
  background: #ffe2b5;
}

.steps article span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 900;
}

.reviews-section {
  background: var(--paper);
}

.stars {
  color: var(--orange);
  font-size: 1.05rem;
  letter-spacing: 0;
}

.review-card p {
  min-height: 96px;
  color: #344054;
}

.review-card strong,
.review-card span {
  display: block;
}

.trial-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: #fff;
}

.form-panel,
.comment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f9fbfd;
}

label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd8e5;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(17, 103, 232, 0.12);
}

.full {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.flash,
.alert {
  border-radius: var(--radius);
  padding: 14px 16px;
  font-weight: 800;
}

.flash {
  position: fixed;
  left: 50%;
  top: 86px;
  z-index: 30;
  width: min(720px, calc(100% - 32px));
  transform: translateX(-50%);
  border: 1px solid #bee7d7;
  color: #096b4e;
  background: #ebfff6;
  box-shadow: var(--shadow);
}

.flash.error,
.alert.error {
  border-color: #ffd0d0;
  color: #971b1b;
  background: #fff1f1;
}

.alert p {
  margin: 0;
}

.alert p + p {
  margin-top: 6px;
}

.comment-section {
  background: #f7fafc;
}

.comment-form {
  max-width: 920px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background: #07152e;
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
}

.site-footer small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.58);
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-contact strong {
  width: fit-content;
  color: #111827;
  background: #fff;
}

.footer-contact a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.auth-body,
.portal-body {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(6, 29, 69, 0.97), rgba(17, 103, 232, 0.82)),
    var(--navy);
}

.auth-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: center;
  margin: 0 auto;
  padding: 34px 0;
}

.auth-shell.compact {
  grid-template-columns: minmax(320px, 520px);
  justify-content: center;
}

.auth-panel {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 36px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.auth-copy-panel {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background: rgba(6, 29, 69, 0.74);
}

.auth-copy-panel .brand,
.auth-copy-panel p,
.auth-copy-panel small {
  color: #fff;
}

.auth-copy-panel h1,
.auth-head h1,
.auth-head h2,
.portal-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.auth-copy-panel p:not(.eyebrow),
.auth-switch,
.auth-note span,
.portal-hero p,
.portal-project-card p,
.portal-project-card dd {
  color: var(--muted);
}

.auth-copy-panel p:not(.eyebrow),
.auth-note span {
  color: rgba(255, 255, 255, 0.78);
}

.auth-note {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.auth-showcase-panel {
  gap: 22px;
}

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

.auth-metric-grid,
.auth-project-preview-list,
.auth-feature-list {
  display: grid;
  gap: 12px;
}

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

.auth-metric-grid article {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-metric-grid strong {
  font-size: 1.7rem;
  line-height: 1;
}

.auth-metric-grid span,
.auth-project-preview-list small {
  color: rgba(255, 255, 255, 0.72);
}

.auth-project-preview-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-project-preview-list article div {
  display: grid;
  gap: 4px;
}

.auth-project-preview-list article span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.auth-feature-list span,
.auth-inline-band {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 16px;
}

.auth-feature-list span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.auth-inline-band {
  justify-content: space-between;
  margin-top: 18px;
  border: 1px solid rgba(17, 103, 232, 0.12);
  background: linear-gradient(135deg, rgba(17, 103, 232, 0.08), rgba(255, 151, 15, 0.12));
  color: #123158;
  font-size: 0.95rem;
}

.auth-inline-band strong {
  color: #061d45;
}

.auth-note-contrast {
  background: rgba(255, 255, 255, 0.11);
}

.auth-head {
  margin-bottom: 22px;
}

.auth-brand {
  margin-bottom: 28px;
}

.stack-form {
  display: grid;
  gap: 15px;
}

.project-checks {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.project-checks > span {
  color: #344054;
  font-weight: 900;
}

.check-row {
  grid-template-columns: 18px 1fr;
  align-items: center;
  color: var(--ink);
  font-weight: 700;
}

.check-row input {
  width: 18px;
  height: 18px;
  padding: 0;
}

.auth-switch a {
  color: var(--blue);
  font-weight: 900;
}

.portal-body {
  background: #eef3f8;
}

.portal-body.unified-site-header .site-header {
  position: relative;
  top: 12px;
  left: auto;
  right: auto;
  margin: 0 clamp(14px, 3vw, 28px) 12px;
  color: #fff;
  background: rgba(6, 29, 69, 0.96);
}

.portal-body.unified-site-header .site-header[data-elevated="true"] {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(6, 29, 69, 0.96);
  box-shadow: none;
}

.portal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px clamp(18px, 5vw, 64px);
  color: #fff;
  background: var(--navy);
}

.portal-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portal-header nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
}

.portal-header nav .nav-inline-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: var(--radius);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.portal-header nav .nav-inline-button:hover {
  background: rgba(255, 255, 255, 0.18);
}

.portal-main {
  padding: clamp(22px, 5vw, 56px);
}

.portal-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 360px);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 22px;
}

.portal-hero > div,
.portal-hero article,
.empty-panel,
.portal-project-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.portal-hero > div,
.portal-hero article {
  padding: 24px;
}

.portal-hero article {
  display: grid;
  align-content: center;
  gap: 8px;
}

.portal-hero article span,
.portal-project-card dt {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.portal-hero article strong {
  overflow-wrap: anywhere;
}

.portal-hero-pills,
.portal-summary-grid,
.portal-action-strip,
.portal-project-pills,
.portal-project-actions,
.account-access-grid {
  display: grid;
  gap: 14px;
}

.portal-hero-pills {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.portal-hero-pills span,
.portal-project-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
}

.portal-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 22px;
}

.portal-summary-grid article,
.portal-action-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.portal-summary-grid span,
.portal-action-card span,
.portal-project-topline span,
.account-access-grid article span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-summary-grid strong,
.portal-action-card strong,
.account-access-grid article strong {
  display: block;
  margin-top: 8px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.portal-summary-grid p,
.portal-action-card,
.account-access-grid article p {
  color: var(--muted);
}

.portal-action-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.portal-action-card {
  display: grid;
  gap: 8px;
}

.portal-project-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.portal-project-topline small {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff5e8;
  color: #b95d00;
  font-size: 0.75rem;
  font-weight: 900;
}

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

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

.portal-inline-form,
.account-access-grid article form {
  display: grid;
}

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

.account-access-grid article {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.account-access-grid article small {
  color: var(--blue);
  font-weight: 800;
}

.account-trial-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.account-trial-summary > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.account-trial-summary > div > span {
  display: block;
  font-size: 0.68rem;
}

.account-trial-summary > div > strong {
  margin-top: 4px;
  overflow-wrap: anywhere;
  font-size: 0.92rem;
}

.account-extension-actions {
  grid-template-columns: 1fr;
}

.account-request-pending {
  padding: 12px 14px;
  border: 1px solid rgba(22, 155, 114, 0.24);
  border-radius: 10px;
  background: rgba(22, 155, 114, 0.08);
  color: #087b62;
  font-size: 0.82rem;
  font-weight: 900;
}

.portal-section {
  padding: 0;
}

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

.portal-project-card {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.portal-project-card h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.portal-project-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.portal-project-card dd {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}

.portal-hero-discovery article p {
  margin: 0;
  color: var(--muted);
}

.portal-summary-grid-tight {
  margin-top: -6px;
}

.empty-panel {
  padding: 26px;
}

.admin-body {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  background: #eef3f8;
  overflow-x: clip;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 18px 20px;
  color: #fff;
  background: var(--navy);
  z-index: 40;
  overflow: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.06);
}

.admin-brand {
  flex: 0 0 auto;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 24px rgba(0, 0, 0, 0.12);
}

.admin-sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(6, 29, 69, 0.42);
  backdrop-filter: blur(6px);
}

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

.admin-sidebar-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  width: max-content;
  margin-bottom: 10px;
  border: 1px solid #cdd9ea;
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.admin-sidebar-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #061d45;
}

.admin-sidebar-toggle strong {
  margin-left: 2px;
  font-size: 0.78rem;
}

.admin-nav {
  display: grid;
  gap: 6px;
}

.admin-nav button {
  min-height: 44px;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
}

.admin-nav button:hover,
.admin-nav button.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.admin-home {
  margin-top: 0;
}

.admin-main {
  min-width: 0;
  padding: 28px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}

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

.admin-welcome {
  margin: 6px 0 0;
  color: var(--muted);
}

.admin-quick-dock {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin: 18px 0 20px;
  border: 1px solid rgba(17, 103, 232, 0.12);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 36px rgba(6, 29, 69, 0.08);
  backdrop-filter: blur(12px);
}

.admin-quick-dock-current {
  display: grid;
  gap: 2px;
}

.admin-quick-dock-current span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-quick-dock-current strong {
  color: var(--ink);
  font-size: 1rem;
}

.admin-quick-dock-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.admin-section-jump {
  position: sticky;
  top: 86px;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  padding: 12px;
  border: 1px solid rgba(17, 103, 232, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 28px rgba(6, 29, 69, 0.05);
  backdrop-filter: blur(12px);
}

.admin-section-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #dce7f7;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-section-jump a:hover {
  border-color: rgba(17, 103, 232, 0.28);
  background: #eef5ff;
  color: var(--blue);
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.metric-grid article {
  padding: 20px;
}

.metric-grid span,
td small,
.admin-mini-meta span,
.comment-admin-item span,
.comment-admin-item small {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
}

.admin-card {
  min-width: 0;
  padding: 20px;
}

.admin-card-head {
  margin-bottom: 16px;
}

.admin-card-head p {
  margin: 0;
}

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

.content-editor-grid,
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.content-editor-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.content-editor-card h3 {
  margin: 0 0 4px;
}

.content-editor-meta {
  margin: -2px 0 12px;
  color: var(--muted);
  font-size: 0.84rem;
}

.content-workflow-grid,
.content-overview-board,
.content-admin-strip,
.content-preview-grid,
.content-editor-layout,
.content-editor-nav,
.content-editor-sidepoints,
.content-editor-fields {
  display: grid;
  gap: 16px;
}

.content-workflow-grid,
.content-overview-board {
  margin-bottom: 18px;
}

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

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

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

.content-workflow-card,
.content-overview-card,
.content-admin-strip article,
.content-preview-card,
.content-editor-sidecard {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.content-workflow-card,
.content-overview-card {
  display: grid;
  gap: 8px;
}

.content-workflow-card span,
.content-overview-card span,
.content-admin-strip article span,
.content-preview-card span,
.content-editor-sidecard p,
.content-editor-nav a span,
.content-editor-sidepoints span,
.content-editor-card-head small,
.content-editor-nav a small {
  color: var(--muted);
}

.content-workflow-card strong,
.content-overview-card strong,
.content-admin-strip article strong,
.content-preview-card strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 1.6rem;
  line-height: 1.05;
}

.content-workflow-card strong,
.content-overview-card strong {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.35;
}

.content-workflow-card p,
.content-overview-card p,
.content-admin-strip article p,
.content-preview-card p {
  margin: 0;
}

.content-overview-card.tone-primary {
  background: linear-gradient(180deg, rgba(17, 103, 232, 0.12), #ffffff);
}

.content-overview-card.tone-warning {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.14), #ffffff);
}

.content-overview-card.tone-success {
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.12), #ffffff);
}

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

.content-preview-card small {
  display: block;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 800;
}

.content-editor-layout {
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
}

.content-editor-sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 16px;
}

.content-editor-sidecard h3,
.content-editor-card-head h3 {
  margin: 0;
}

.content-editor-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: #fff;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.content-editor-nav a:hover {
  border-color: rgba(17, 103, 232, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(17, 103, 232, 0.08);
}

.content-editor-nav a strong {
  font-size: 0.96rem;
}

.content-editor-nav a > div {
  display: grid;
  gap: 4px;
}

.content-editor-nav a small {
  font-size: 0.78rem;
  line-height: 1.45;
}

.content-editor-sidepoints article {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid #e6edf7;
}

.content-editor-sidepoints article:first-child {
  padding-top: 0;
  border-top: 0;
}

.content-editor-grid-single {
  grid-template-columns: 1fr;
}

.content-editor-card-advanced {
  gap: 14px;
  padding: 22px;
  scroll-margin-top: 24px;
}

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

.content-editor-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
}

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

.content-editor-fields label {
  display: grid;
  gap: 8px;
}

.content-editor-fields label:has(textarea) {
  grid-column: 1 / -1;
}

.content-save-dock {
  position: sticky;
  bottom: 16px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(17, 103, 232, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(14px);
}

.content-save-dock > div {
  display: grid;
  gap: 6px;
}

.content-save-dock span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.content-save-dock strong {
  font-size: 1.02rem;
  line-height: 1.35;
}

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

.admin-workspace-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.admin-workspace-main,
.admin-workspace-side {
  display: grid;
  gap: 18px;
}

.admin-workspace-side {
  position: sticky;
  top: 24px;
}

.admin-side-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: var(--shadow-soft);
}

.admin-side-card > span,
.admin-side-card ul span,
.admin-form-tip span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-side-card strong,
.admin-form-tip strong {
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.24;
}

.admin-side-card p,
.admin-form-tip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin-side-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-side-card li {
  display: grid;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid #e7edf6;
}

.admin-side-card li:first-child {
  padding-top: 0;
  border-top: 0;
}

.admin-side-actions {
  display: grid;
  gap: 10px;
}

.admin-side-actions .btn {
  justify-content: center;
}

.admin-form-grid label,
.content-editor-card label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-weight: 700;
}

.admin-form-grid label,
.content-editor-card label,
.project-access-grant label {
  padding: 12px;
  border: 1px solid #e4eaf3;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.admin-form-grid label:focus-within,
.content-editor-card label:focus-within,
.project-access-grant label:focus-within {
  border-color: rgba(17, 103, 232, 0.28);
  box-shadow: 0 12px 28px rgba(17, 103, 232, 0.08);
}

.admin-form-grid .full {
  grid-column: 1 / -1;
}

.admin-form-grid textarea,
.content-editor-card textarea {
  min-height: 96px;
  resize: vertical;
}

.admin-check {
  align-self: end;
  min-height: 44px;
  margin: 0;
}

.admin-form-tip {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px dashed #c9d7eb;
  border-radius: 16px;
  background: #f8fbff;
}

.project-admin-list.editable {
  margin-top: 18px;
}

.table-wrap {
  position: relative;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 103, 232, 0.36) rgba(17, 103, 232, 0.08);
}

.table-wrap::before,
.table-wrap::after {
  content: "";
  position: sticky;
  top: 0;
  width: 22px;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.table-wrap::before {
  left: 0;
  float: left;
  margin-right: -22px;
  background: linear-gradient(90deg, rgba(238, 243, 248, 0.95), rgba(238, 243, 248, 0));
}

.table-wrap::after {
  right: 0;
  float: right;
  margin-left: -22px;
  background: linear-gradient(270deg, rgba(238, 243, 248, 0.95), rgba(238, 243, 248, 0));
}

.table-wrap.is-scrollable:not(.is-left-edge)::before,
.table-wrap.is-scrollable:not(.is-right-edge)::after {
  opacity: 1;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
}

.admin-grid table {
  min-width: 0;
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.empty-cell,
.empty-state {
  color: var(--muted);
  text-align: center;
}

.status-list,
.project-admin-list,
.comment-admin-list {
  display: grid;
  gap: 14px;
}

.status-list article,
.project-admin-item,
.comment-admin-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
}

.status-list article div,
.project-admin-item,
.comment-admin-item div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

progress {
  width: 100%;
  height: 10px;
  margin-top: 12px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #e5eaf2;
}

progress::-webkit-progress-bar {
  background: #e5eaf2;
}

progress::-webkit-progress-value {
  background: var(--blue);
}

.admin-mini-meta {
  display: grid;
  gap: 8px;
  min-width: 210px;
}

.admin-module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.admin-module-tags span {
  color: #344054;
  font-size: 0.82rem;
}

.portal-project-note {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.comment-admin-item {
  display: grid;
  gap: 10px;
}

.comment-admin-item p {
  margin: 0;
  color: #344054;
}

.package-admin-grid article {
  padding: 18px;
}

.package-admin-grid strong,
.package-admin-grid span {
  display: block;
}

.package-admin-grid strong {
  font-size: 1.35rem;
}

.package-admin-grid span,
.package-admin-grid p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .platform-band,
  .section-heading.split,
  .trial-section,
  .project-detail-panel,
  .admin-grid,
  .content-workflow-grid,
  .content-overview-board,
  .content-admin-strip,
  .content-preview-grid,
  .content-editor-layout,
  .content-editor-grid,
  .content-editor-fields,
  .admin-form-grid,
  .auth-shell,
  .portal-hero {
    grid-template-columns: 1fr;
  }

  .project-grid,
  .pricing-grid,
  .reviews-grid,
  .steps,
  .metric-grid,
  .ops-overview-grid,
  .ops-insight-grid,
  .package-admin-grid,
  .trust-strip,
  .module-list ul,
  .portal-hero-pills,
  .auth-metric-grid,
  .portal-summary-grid,
  .portal-action-strip,
  .account-access-grid,
  .portal-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .admin-sidebar {
    position: static;
    height: auto;
  }

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

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

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

@media (max-width: 760px) {
  .content-save-dock {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

  .content-save-dock .btn {
    width: 100%;
  }

  .site-header {
    padding: 12px 16px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .hero {
    min-height: 86vh;
    padding-top: 104px;
  }

  .hero-stats,
  .project-grid,
  .pricing-grid,
  .reviews-grid,
  .steps,
  .metric-grid,
  .package-admin-grid,
  .trust-strip,
  .module-list ul,
  .portal-project-grid,
  .form-panel,
  .comment-form,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .control-preview {
    grid-template-columns: 54px 1fr;
    min-height: 300px;
  }

  .preview-main {
    padding: 16px;
  }

  .site-footer,
  .admin-topbar,
  .comparison-head,
  .project-admin-item,
  .status-list article div,
  .portal-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-copy-panel {
    min-height: 420px;
  }

  .auth-project-preview-list article,
  .auth-inline-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-main {
    padding: 18px;
  }

  .admin-nav {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 440px) {
  .brand small {
    display: none;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

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

  .platform-band,
  .section,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .form-panel,
  .comment-form {
    padding: 16px;
  }
}

/* Modern refresh */
:root {
  --shadow: 0 20px 46px rgba(16, 24, 40, 0.1);
  --shadow-soft: 0 10px 26px rgba(16, 24, 40, 0.07);
  --panel: #fbfdff;
}

body {
  background:
    linear-gradient(90deg, rgba(17, 103, 232, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 103, 232, 0.035) 1px, transparent 1px),
    var(--soft);
  background-size: 42px 42px;
}

.site-header {
  top: 12px;
  left: clamp(14px, 3vw, 28px);
  right: clamp(14px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(6, 29, 69, 0.7);
  backdrop-filter: blur(18px);
}

.site-header[data-elevated="true"] {
  border-color: rgba(219, 227, 239, 0.9);
}

.site-nav a {
  font-weight: 800;
}

.hero {
  min-height: 92vh;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 440px);
  grid-template-areas:
    "copy console"
    "stats stats";
  gap: 24px;
  align-items: end;
  padding-top: 138px;
  background: #061d45;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(3, 13, 35, 0.82), rgba(3, 13, 35, 0.36)),
    rgba(3, 13, 35, 0.18);
}

.hero-media img {
  opacity: 0.5;
  filter: saturate(1.08) contrast(1.04);
}

.hero-copy {
  grid-area: copy;
  padding-bottom: 0;
}

.hero h1 {
  font-size: 6.4rem;
  max-width: 760px;
}

.hero-console {
  position: relative;
  z-index: 1;
  grid-area: console;
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.hero-console-foot {
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-console-foot span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 700;
}

.console-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.console-head span,
.console-list small,
.console-list em {
  color: rgba(255, 255, 255, 0.7);
}

.console-list {
  display: grid;
}

.console-list article {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.console-list article:last-child {
  border-bottom: 0;
}

.console-list article > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  color: #061d45;
  background: #fff;
  font-weight: 900;
}

.console-list strong,
.console-list small,
.console-list em {
  display: block;
}

.console-list em {
  font-style: normal;
  font-weight: 900;
}

.hero-stats {
  grid-area: stats;
  max-width: none;
  margin-top: 8px;
}

.quick-suite {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: #fff;
}

.quick-suite a {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: var(--shadow-soft);
}

.quick-suite-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quick-suite-top em {
  color: var(--blue);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
}

.quick-suite a:hover,
.project-card:hover,
.pricing-card:hover,
.portal-project-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.quick-suite span,
.quick-suite small {
  color: var(--muted);
}

.quick-suite strong {
  font-size: 1.2rem;
}

.quick-suite b {
  color: var(--ink);
  font-size: 0.85rem;
}

.section-heading h2,
.trial-copy h2 {
  font-size: 3rem;
}

.admin-topbar h1 {
  font-size: 2.25rem;
}

.hero-copy p:not(.eyebrow) {
  font-size: 1.22rem;
}

.hero-stats strong {
  font-size: 1.75rem;
}

.project-detail-panel h3 {
  font-size: 2rem;
}

.auth-copy-panel h1,
.auth-head h1,
.auth-head h2,
.portal-hero h1 {
  font-size: 3.2rem;
}

.project-card,
.pricing-card,
.review-card,
.steps article,
.portal-project-card,
.admin-card,
.metric-grid article,
.package-admin-grid article,
.comparison-table,
.project-detail-panel {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.project-card,
.pricing-card,
.review-card,
.steps article,
.metric-grid article,
.admin-card,
.package-admin-grid article {
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.project-grid .project-card ul {
  display: none;
}

.project-mark {
  box-shadow: inset 0 -10px 22px rgba(255, 255, 255, 0.08);
}

.pricing-card.featured {
  border-color: rgba(255, 151, 15, 0.7);
}

.admin-body {
  background:
    linear-gradient(90deg, rgba(17, 103, 232, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 103, 232, 0.035) 1px, transparent 1px),
    #eef3f8;
  background-size: 40px 40px;
}

.admin-sidebar {
  background:
    linear-gradient(180deg, #07152e, #061d45 54%, #0b2a58);
  box-shadow: 12px 0 34px rgba(6, 29, 69, 0.18);
}

.admin-sidebar-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.admin-brand span {
  min-width: 0;
}

.admin-brand strong {
  font-size: 1.32rem;
}

.admin-brand small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
}

.admin-logout-compact,
.admin-logout-compact.btn {
  min-width: 0;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.admin-sidebar-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 6px;
  flex: 0 0 auto;
}

.admin-sidebar-status-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 2px 0 4px;
}

.admin-sidebar-status article {
  padding: 11px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
  text-align: center;
}

.admin-sidebar-status span {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
  font-weight: 800;
}

.admin-sidebar-status strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 0.98rem;
}

.admin-sidebar-current {
  display: none;
}

.admin-nav-copy strong {
  display: block;
  margin: 0;
  color: #fff;
}

.admin-nav {
  display: grid;
  gap: 14px;
  align-content: start;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) rgba(255, 255, 255, 0.06);
}

.admin-nav-group {
  display: grid;
  gap: 10px;
  align-content: start;
  grid-auto-rows: max-content;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-nav-group:first-child {
  padding-top: 0;
  border-top: 0;
}

.admin-nav-group p {
  margin: 0 0 2px;
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 2px 2px 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, rgba(6, 29, 69, 0.98), rgba(6, 29, 69, 0.84));
}

.admin-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  font-weight: 900;
  justify-content: space-between;
}

.admin-nav-link {
  position: relative;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 15px;
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.admin-nav-link::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.admin-nav-copy {
  display: grid;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}

.admin-nav-copy small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  display: none;
}

.admin-nav-link:hover,
.admin-nav-link.active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.admin-nav-link.active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.1));
}

.admin-nav-link.active .admin-nav-copy small,
.admin-nav-link:hover .admin-nav-copy small {
  display: none;
  color: rgba(255, 255, 255, 0.86);
}

.admin-nav-link.active::before {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 151, 15, 0.16);
}

.admin-nav button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  flex: 0 0 auto;
  order: -1;
}

.admin-nav button:hover,
.admin-nav button.active {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
}

.admin-nav button.active::before {
  background: var(--orange);
}

.admin-nav button > span:first-of-type {
  flex: 1 1 auto;
  text-align: left;
}

.admin-nav button small {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
}

.admin-sidebar-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex: 0 0 auto;
  background: transparent;
}

.admin-sidebar-actions .btn,
.admin-sidebar-actions form {
  width: 100%;
}

.admin-sidebar-actions .btn {
  justify-content: center;
  min-height: 42px;
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.admin-nav::-webkit-scrollbar {
  width: 8px;
}

.admin-nav::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.admin-nav::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.admin-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.34);
}

.admin-main {
  padding: 24px clamp(18px, 3vw, 36px) 36px;
}

.admin-topbar {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.admin-topbar-copy {
  display: grid;
  gap: 6px;
}

.admin-topbar-summary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-topbar-pill {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f7faff);
}

.admin-topbar-pill span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-topbar-pill strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 1.12rem;
}

.admin-topbar-pill.tone-success {
  border-color: rgba(22, 163, 74, 0.18);
  background: linear-gradient(180deg, #ffffff, #effbf3);
}

.admin-topbar-pill.tone-warning {
  border-color: rgba(245, 158, 11, 0.18);
  background: linear-gradient(180deg, #ffffff, #fff8ec);
}

.admin-topbar-pill.tone-danger {
  border-color: rgba(239, 68, 68, 0.18);
  background: linear-gradient(180deg, #ffffff, #fff2f2);
}

.admin-topbar-pill.tone-primary {
  border-color: rgba(17, 103, 232, 0.2);
  background: linear-gradient(180deg, #ffffff, #eef5ff);
}

.admin-command-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-command-strip button,
.admin-command-strip a {
  display: grid;
  gap: 6px;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  text-align: left;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.admin-command-strip button.active {
  border-color: rgba(17, 103, 232, 0.36);
  background: #eef5ff;
}

.admin-command-strip span,
.admin-project-summary span,
.admin-project-summary small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.admin-command-strip strong {
  font-size: 1rem;
}

.professional-section,
.faq-section {
  background: #fff;
}

.proof-grid,
.service-grid,
.faq-grid,
.admin-sales-board {
  display: grid;
  gap: 16px;
}

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

.proof-grid article,
.service-grid article,
.faq-grid article,
.admin-sales-board article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbfdff);
  box-shadow: var(--shadow-soft);
}

.proof-grid article,
.service-grid article,
.faq-grid article {
  padding: 22px;
}

.proof-grid span,
.delivery-list span,
.admin-sales-board span {
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-grid h3,
.faq-grid h3 {
  margin: 10px 0;
  font-size: 1.18rem;
}

.proof-grid p,
.service-grid p,
.faq-grid p,
.delivery-board p,
.delivery-list p,
.admin-sales-board p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-section {
  background: #f5f8fc;
}

.service-grid article {
  display: grid;
  align-content: start;
  min-height: 190px;
}

.service-grid strong {
  font-size: 1.25rem;
}

.delivery-section {
  background: #07152e;
}

.delivery-board {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: 28px;
  align-items: start;
  color: #fff;
}

.delivery-board h2 {
  margin: 0;
  font-size: 3rem;
  line-height: 1;
}

.delivery-board > div:first-child p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

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

.delivery-list article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.delivery-list strong {
  color: #fff;
  font-size: 1.1rem;
}

.delivery-list p {
  color: rgba(255, 255, 255, 0.72);
}

.sales-contact-section {
  background: #fff;
}

.sales-contact-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 22px;
}

.sales-contact-copy,
.contact-tiles article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbfdff);
  box-shadow: var(--shadow-soft);
}

.sales-contact-copy {
  padding: 26px;
}

.sales-contact-points {
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
}

.sales-contact-points article {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.sales-contact-points strong {
  display: block;
  font-size: 1rem;
}

.sales-contact-points p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

.contact-tiles article {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 18px;
}

.contact-tiles span {
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-tiles strong {
  font-size: 1.12rem;
  line-height: 1.2;
}

.contact-tiles p {
  margin: 0;
  color: var(--muted);
}

.admin-sales-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.admin-sales-board article {
  padding: 18px;
}

.admin-sales-board strong {
  display: block;
  margin-top: 8px;
  font-size: 1.25rem;
}

.metric-grid article {
  position: relative;
  overflow: hidden;
}

.metric-grid article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--blue);
}

.metric-grid article:nth-child(2)::before {
  background: var(--green);
}

.metric-grid article:nth-child(3)::before {
  background: var(--orange);
}

.metric-grid article:nth-child(4)::before {
  background: var(--navy);
}

.admin-project-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-project-hero,
.project-control-board,
.project-category-board {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-surface-hero,
.admin-surface-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-surface-hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.admin-surface-hero-main,
.admin-surface-focus-card,
.admin-surface-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: var(--shadow-soft);
}

.admin-surface-hero-main,
.admin-surface-focus-card,
.admin-surface-card {
  display: grid;
  gap: 10px;
}

.admin-surface-hero-main h2,
.admin-surface-focus-card strong,
.admin-surface-card strong {
  margin: 0;
}

.admin-surface-hero-main p,
.admin-surface-focus-card p,
.admin-surface-card p {
  margin: 0;
}

.admin-surface-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-surface-pills strong,
.admin-surface-focus-card small {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #edf4ff;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
}

.admin-surface-focus-card {
  align-content: space-between;
}

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

.admin-surface-card.tone-primary {
  background: linear-gradient(180deg, rgba(17, 103, 232, 0.12), #ffffff);
}

.admin-surface-card.tone-warning {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.14), #ffffff);
}

.admin-surface-card.tone-success {
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.12), #ffffff);
}

.admin-project-hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.admin-project-hero-main,
.admin-project-focus-card,
.project-control-card,
.project-category-board article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: var(--shadow-soft);
}

.admin-project-hero-main {
  display: grid;
  gap: 12px;
}

.admin-project-hero-main h2,
.admin-project-focus-card strong,
.project-control-card strong,
.project-category-board strong {
  margin: 0;
}

.admin-project-hero-main p,
.admin-project-focus-card p,
.project-control-card p,
.project-category-board p {
  margin: 0;
}

.admin-project-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-project-hero-pills strong,
.admin-project-focus-card small {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #edf4ff;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
}

.admin-project-focus-card {
  display: grid;
  gap: 10px;
  align-content: space-between;
}

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

.project-control-card,
.project-category-board article {
  display: grid;
  gap: 8px;
}

.project-control-card.tone-primary {
  background: linear-gradient(180deg, rgba(17, 103, 232, 0.12), #ffffff);
}

.project-control-card.tone-warning {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.14), #ffffff);
}

.project-control-card.tone-success {
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.12), #ffffff);
}

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

.admin-project-summary article {
  display: grid;
  gap: 6px;
  min-height: 98px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.admin-project-summary strong {
  font-size: 1.1rem;
}

.legacy-project-create,
.project-admin-list.editable,
.project-detail-list {
  display: none;
}

.admin-project-table {
  display: grid;
  gap: 14px;
}

.admin-project-table article {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: var(--shadow-soft);
}

.admin-project-table h3 {
  margin: 6px 0 4px;
  font-size: 1.22rem;
}

.admin-project-table p,
.admin-project-table span {
  margin: 0;
}

.admin-project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}

.admin-project-meta span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 5px 11px;
  color: #344054;
  background: #f3f6fb;
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-project-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
}

.inline-delete-form {
  margin: 0;
}

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

.settings-overview-grid article {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.settings-overview-grid span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.settings-overview-grid strong {
  overflow-wrap: anywhere;
  font-size: 1.45rem;
  line-height: 1.1;
}

.settings-overview-grid p {
  margin: 0;
  color: var(--muted);
}

.project-settings-form,
.project-access-grant,
.site-feature-settings {
  margin-bottom: 18px;
}

.project-access-grant {
  align-items: end;
}

.project-access-grant label {
  min-height: 100%;
}

.project-access-grant > .btn,
.project-user-list form .btn {
  align-self: stretch;
}

.project-user-list {
  display: grid;
  gap: 12px;
}

.project-user-list article {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(320px, 1.1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.project-user-list.enhanced article {
  grid-template-columns: minmax(230px, 1fr) minmax(230px, 0.9fr) minmax(320px, 1.1fr) auto;
}

.project-user-list article.has-access {
  border-color: #c7ddff;
  background: linear-gradient(135deg, #fff 0%, #f8fbff 100%);
}

.project-user-list article.no-access {
  background: #fbfcfe;
}

.project-user-list article:hover {
  border-color: #bfd8ff;
  box-shadow: 0 10px 26px rgba(17, 103, 232, 0.08);
}

.project-user-list article > div {
  display: grid;
  gap: 4px;
}

.project-user-list article span {
  color: var(--muted);
}

.project-user-identity small {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 9px;
  color: #1f4d86;
  background: #eaf3ff;
  font-size: 0.78rem;
  font-weight: 900;
}

.project-usage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-usage-meta span,
.access-waiting {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 10px;
  color: #475467;
  background: #f2f4f7;
  font-size: 0.82rem;
  font-weight: 800;
}

.access-waiting {
  color: #667085;
  justify-self: end;
}

.project-user-list form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
}

.project-user-list form:last-child {
  justify-content: flex-end;
}

.siteyonetim-member-admin {
  margin-top: 18px;
}

.siteyonetim-member-summary,
.siteyonetim-member-badges,
.siteyonetim-membership-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.siteyonetim-member-summary span,
.siteyonetim-member-badges span {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 10px;
  color: #344054;
  background: #f2f4f7;
  font-size: 0.8rem;
  font-weight: 900;
}

.siteyonetim-member-badges span.success {
  color: #087443;
  background: #e7f8ef;
}

.siteyonetim-member-badges span.warning {
  color: #9a5b00;
  background: #fff4dc;
}

.siteyonetim-manager-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.siteyonetim-global-mode-note {
  display: grid;
  gap: 3px;
  padding: 13px 15px;
  border: 1px solid #a9dfc2;
  border-radius: 14px;
  color: #087443;
  background: #eaf9f1;
}

.siteyonetim-global-mode-note span {
  color: #31725a;
}

.admin-form-tip.is-success {
  border-color: #a9dfc2;
  background: linear-gradient(135deg, #f4fff8 0%, #eaf9f1 100%);
}

/* Project-rich public showcase */
.hero h1 {
  max-width: 860px;
  font-size: clamp(3.35rem, 6vw, 5.45rem);
  letter-spacing: -0.055em;
}

/* Public content refinement */
.pricing-product-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--blue), #073c92);
  box-shadow: 0 8px 20px rgba(17, 103, 232, 0.22);
  font-size: 0.78rem !important;
  letter-spacing: 0 !important;
}

.pricing-card {
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.faq-grid article {
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.faq-grid article::before {
  content: "?";
  position: absolute;
  top: 14px;
  right: 16px;
  color: rgba(17, 103, 232, 0.11);
  font-size: 3.5rem;
  font-weight: 950;
  line-height: 1;
}

.faq-grid article:hover {
  transform: translateY(-4px);
  border-color: #b7cff2;
  box-shadow: 0 18px 42px rgba(7, 29, 67, 0.1);
}

.comment-section .section-heading > p:last-child:not(.eyebrow) {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
}

.project-screenshot-section {
  display: grid;
  gap: 24px;
  padding: 42px;
  border: 1px solid #d7e3f3;
  border-radius: 28px;
  background: linear-gradient(145deg, #f8fbff 0%, #eef5ff 100%);
  box-shadow: 0 24px 60px rgba(7, 29, 67, 0.08);
}

.project-screenshot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 18px;
}

.project-screenshot-grid figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(13, 79, 145, 0.14);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 29, 67, 0.12);
}

.project-screenshot-grid figure:first-child {
  grid-row: 1 / span 2;
}

.project-screenshot-grid img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 235px;
  object-fit: cover;
  object-position: top left;
}

.project-screenshot-grid figure:first-child img {
  min-height: 510px;
}

.project-screenshot-grid figure.is-portrait {
  background: linear-gradient(145deg, #f5f9fb, #e9f5f1);
}

.project-screenshot-grid figure.is-portrait img {
  object-fit: contain;
  object-position: top center;
}

.project-screenshot-grid figcaption {
  position: absolute;
  inset: auto 14px 14px;
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 14px;
  color: #fff;
  background: rgba(3, 20, 49, 0.84);
  backdrop-filter: blur(12px);
}

.project-screenshot-grid figcaption strong {
  font-size: 0.98rem;
}

.project-screenshot-grid figcaption span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  .project-screenshot-section {
    padding: 28px;
  }

  .project-screenshot-grid {
    grid-template-columns: 1fr;
  }

  .project-screenshot-grid figure:first-child {
    grid-row: auto;
  }

  .project-screenshot-grid figure:first-child img,
  .project-screenshot-grid img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 560px) {
  .project-screenshot-section {
    padding: 20px;
    border-radius: 20px;
  }

  .project-screenshot-grid figcaption {
    position: static;
    border: 0;
    border-radius: 0;
    background: #07152e;
  }
}

.hero-console-cover {
  position: relative;
  display: block;
  height: 210px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.hero-console-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 18, 44, 0.04) 15%, rgba(3, 18, 44, 0.78) 100%);
}

.hero-console-cover img {
  object-position: center 58%;
  filter: saturate(1.08) contrast(1.04) brightness(1.1);
}

.hero-console-cover img,
.quick-suite-image img,
.project-card-visual img,
.project-detail-image img,
.project-offer-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-console-cover span {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 14px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
}

.hero-console .console-head {
  padding-block: 13px;
}

.hero-console .console-list article {
  padding-block: 12px;
}

.quick-suite a {
  overflow: hidden;
  padding: 0 18px 18px;
}

.quick-suite-image {
  height: 118px;
  margin: 0 -18px 8px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--navy);
}

.quick-suite-image img,
.project-card-visual img,
.project-detail-image img,
.project-offer-cover img {
  transition: transform 360ms ease;
}

.quick-suite a:hover .quick-suite-image img,
.project-card:hover .project-card-visual img,
.project-detail-panel:hover .project-detail-image img {
  transform: scale(1.035);
}

.project-card-visual {
  position: relative;
  display: block;
  height: 205px;
  margin: -24px -24px 4px;
  overflow: hidden;
  background: var(--navy);
}

.project-card-visual::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(3, 20, 49, 0.86));
}

.project-card-visual span {
  position: absolute;
  z-index: 1;
  left: 16px;
  bottom: 14px;
  border-radius: 999px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(3, 20, 49, 0.72);
  backdrop-filter: blur(8px);
  font-size: 0.76rem;
  font-weight: 900;
}

.project-detail-panel {
  grid-template-columns: minmax(250px, 0.85fr) minmax(260px, 1fr) minmax(260px, 1fr);
  align-items: stretch;
}

.project-detail-image {
  min-height: 320px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--navy);
}

.project-detail-copy,
.project-detail-panel .module-list {
  align-self: center;
}

.project-offer-cover {
  height: 210px;
  margin: -24px -24px 2px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--navy);
}

@media (max-width: 1180px) {
  .project-detail-panel {
    grid-template-columns: minmax(240px, 0.85fr) minmax(300px, 1.15fr);
  }

  .project-detail-panel .module-list {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(2.75rem, 14vw, 3.8rem);
  }

  .hero-console-cover {
    height: 155px;
  }

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

  .project-detail-panel .module-list {
    grid-column: auto;
  }

  .project-detail-image {
    min-height: 220px;
  }
}

.siteyonetim-manager-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #cdd9ea;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff 0%, #f6f9fd 100%);
}

.siteyonetim-manager-card.is-pro {
  border-color: #a9dfc2;
  background: linear-gradient(135deg, #fff 0%, #f2fcf6 100%);
}

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

.siteyonetim-member-identity {
  display: grid;
  gap: 4px;
}

.siteyonetim-member-identity strong {
  font-size: 1.08rem;
}

.siteyonetim-member-identity span,
.siteyonetim-member-identity small,
.siteyonetim-child-row span,
.siteyonetim-unlinked > p {
  color: var(--muted);
}

.siteyonetim-membership-actions form {
  margin: 0;
}

.siteyonetim-child-list {
  display: grid;
  gap: 8px;
  margin-left: 18px;
  padding-left: 14px;
  border-left: 3px solid #d9e5f4;
}

.siteyonetim-child-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid #e1e8f0;
  border-radius: 14px;
  background: #fff;
}

.siteyonetim-child-row > div:first-child {
  display: grid;
  gap: 3px;
}

.siteyonetim-unlinked {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.siteyonetim-unlinked h3,
.siteyonetim-unlinked p {
  margin: 0 0 8px;
}

.compact-empty {
  padding: 14px;
}

@media (max-width: 760px) {
  .siteyonetim-manager-head,
  .siteyonetim-child-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .siteyonetim-child-list {
    margin-left: 4px;
    padding-left: 10px;
  }
}

.project-user-list select,
.project-user-list input[type="date"] {
  width: auto;
  min-width: 150px;
}

.btn.compact {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.88rem;
}

.btn.ghost.dark {
  color: var(--blue);
  border-color: #cfe2ff;
  background: #fff;
}

.project-image-manager {
  display: grid;
  gap: 24px;
  margin-top: 20px;
}

.project-image-count {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #0b6f5b;
  background: #e8f7f2;
  font-size: 0.82rem;
  font-weight: 900;
}

.project-image-upload {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px dashed #9ebbdc;
  border-radius: 20px;
  background: linear-gradient(145deg, #f8fbff, #f2f8ff);
}

.project-image-dropzone {
  display: grid;
  gap: 6px;
  padding: 22px;
  border: 1px solid #d4e1f0;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}

.project-image-dropzone span {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 900;
}

.project-image-dropzone strong {
  color: var(--muted);
  font-size: 0.82rem;
}

.project-image-dropzone input,
.project-image-replace input {
  margin-top: 10px;
}

.project-image-fields {
  margin: 0;
}

.project-image-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-image-admin-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d8e2ed;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.project-image-admin-card.is-cover {
  border-color: #7bc8ae;
  box-shadow: 0 16px 38px rgba(12, 115, 89, 0.12);
}

.project-image-preview {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid #dfe7f0;
  background: #eef3f8;
}

.project-image-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.project-image-preview > span {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: #087b62;
  font-size: 0.74rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(8, 123, 98, 0.24);
}

.project-image-admin-card form {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.project-image-card-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  gap: 12px;
}

.project-image-card-fields label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.project-image-card-fields .full {
  grid-column: 1 / -1;
}

.project-image-card-actions {
  display: flex;
  gap: 10px;
}

.project-image-card-actions .btn {
  flex: 1;
}

@media (max-width: 760px) {
  .project-image-admin-grid,
  .project-image-card-fields {
    grid-template-columns: 1fr;
  }

  .project-image-card-fields .full {
    grid-column: auto;
  }

  .project-image-card-actions {
    flex-direction: column;
  }
}

.project-editor-page {
  max-width: 1180px;
}

.user-management-layout,
.user-access-grid {
  display: grid;
  gap: 18px;
}

.user-management-layout {
  grid-template-columns: minmax(320px, 1.1fr) minmax(280px, 0.9fr);
  margin-bottom: 18px;
}

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

.user-access-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.user-access-card.has-access {
  border-color: #c7ddff;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.user-access-card.no-access {
  background: #fbfcfe;
}

.user-access-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.user-access-head span,
.user-access-pills span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.user-access-head h3 {
  margin: 6px 0 0;
  font-size: 1.15rem;
}

.user-access-head small {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
}

.user-access-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.user-access-pills span {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f2f4f7;
  text-transform: none;
}

.user-access-card form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.user-access-card form .admin-check,
.user-access-card form .btn {
  grid-column: 1 / -1;
}

.admin-editor-summary,
.admin-form-sections {
  display: grid;
  gap: 18px;
}

.admin-editor-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.admin-editor-summary article,
.admin-field-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.admin-editor-summary article {
  padding: 20px;
}

.admin-editor-summary span,
.admin-field-group-title span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-editor-summary strong,
.admin-field-group-title strong {
  display: block;
  margin-top: 8px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.admin-editor-summary p,
.admin-field-group-title p {
  margin: 10px 0 0;
  color: var(--muted);
}

.admin-field-section {
  padding: 20px;
}

.admin-field-group-title {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
}

.admin-field-group-title > span {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef5ff;
  color: var(--blue);
  font-size: 1rem;
}

.admin-field-section .admin-form-grid {
  margin-top: 0;
}

.admin-page-divider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 6px 0 18px;
}

.admin-page-divider > div {
  display: grid;
  gap: 4px;
}

.admin-page-divider span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-page-divider strong {
  color: var(--ink);
  font-size: 1.2rem;
}

.project-detail-body {
  min-height: 100vh;
  background: #eef3f8;
}

.public-detail-header {
  color: #fff;
}

.project-detail-main {
  padding: 118px clamp(22px, 5vw, 56px) clamp(22px, 5vw, 56px);
}

.project-detail-body .site-header {
  color: #fff;
}

.project-detail-body .site-header[data-elevated="true"] {
  color: var(--ink);
}

.project-detail-hero {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 420px);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 22px;
}

.project-detail-hero > div,
.project-offer-panel,
.project-story-card,
.project-cta-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.project-detail-hero > div {
  padding: clamp(24px, 5vw, 42px);
}

.project-detail-hero h1 {
  margin: 0;
  font-size: 4rem;
  line-height: 1;
}

.project-detail-hero p,
.project-story-card p,
.project-cta-band p,
.project-offer-panel p,
.project-offer-panel dd {
  color: var(--muted);
}

.project-hero-strip,
.project-value-grid,
.project-flow-grid,
.project-story-points,
.project-offer-pills,
.project-offer-actions {
  display: grid;
  gap: 14px;
}

.project-hero-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 20px 0;
}

.project-hero-strip article,
.project-value-grid article,
.project-flow-grid article,
.project-story-points article {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.project-hero-strip span,
.project-value-grid span,
.project-flow-grid span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-hero-strip strong,
.project-value-grid strong,
.project-flow-grid strong,
.project-story-points strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.3;
}

.project-offer-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px;
}

.project-offer-panel > span {
  color: var(--muted);
  font-weight: 900;
}

.project-offer-panel > strong {
  font-size: 2.4rem;
  line-height: 1;
}

.project-offer-panel small {
  color: var(--muted);
  font-size: 1rem;
}

.project-offer-pills {
  grid-template-columns: 1fr;
}

.project-offer-pills small {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.project-offer-panel dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.project-offer-panel dt {
  color: var(--ink);
  font-weight: 900;
}

.project-offer-panel dd {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}

.project-offer-actions {
  grid-template-columns: 1fr;
}

.project-detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
  gap: 18px;
}

.project-value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.project-story-card {
  padding: 24px;
}

.project-story-card h2,
.project-cta-band h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
  padding: 12px;
  font-weight: 800;
}

.project-story-points {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.project-story-points p {
  margin: 8px 0 0;
}

.project-flow-section {
  padding: 10px 0 26px;
}

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

.project-flow-grid p,
.project-value-grid p {
  margin: 10px 0 0;
}

.project-modules-section {
  padding: clamp(42px, 6vw, 72px) 0;
}

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

.project-cta-band {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 24px;
}

.project-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.content-editor-card,
.project-checks,
.module-list,
.form-panel,
.comment-form {
  background: var(--panel);
}

input,
select,
textarea {
  min-height: 46px;
  border-color: #d6deea;
  box-shadow: inset 0 1px 0 rgba(16, 24, 40, 0.02);
}

textarea {
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "console"
      "stats";
  }

  .hero h1 {
    font-size: 5rem;
  }

  .admin-command-strip,
  .admin-topbar-summary,
  .admin-surface-hero,
  .admin-surface-grid,
  .admin-project-hero,
  .project-control-board,
  .project-category-board,
  .admin-project-summary,
  .admin-editor-summary,
  .user-access-grid,
  .pricing-insights,
  .proof-grid,
  .service-grid,
  .faq-grid,
  .admin-sales-board,
  .settings-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-decision-board {
    grid-template-columns: 1fr;
  }

  .delivery-board {
    grid-template-columns: 1fr;
  }

  .project-hero-strip,
  .project-value-grid,
  .project-flow-grid,
  .project-story-points {
    grid-template-columns: 1fr;
  }

  .admin-project-table article,
  .project-user-list article,
  .project-user-list.enhanced article,
  .user-management-layout,
  .project-detail-hero,
  .project-detail-layout,
  .detail-modules ul,
  .sales-contact-shell,
  .contact-tiles {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .project-detail-main {
    padding-top: 96px;
  }

  .site-header {
    top: 8px;
    left: 10px;
    right: 10px;
  }

  .hero {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 3.4rem;
  }

  .hero-console,
  .hero-stats {
    width: 100%;
  }

  .console-list article {
    grid-template-columns: 40px 1fr;
  }

  .console-list em {
    grid-column: 2;
  }

  .quick-suite,
  .admin-command-strip,
  .admin-topbar-summary,
  .admin-surface-hero,
  .admin-surface-grid,
  .admin-project-hero,
  .project-control-board,
  .project-category-board,
  .admin-project-summary,
  .admin-editor-summary,
  .user-access-grid,
  .pricing-insights,
  .portal-hero-pills,
  .portal-summary-grid,
  .portal-action-strip,
  .portal-project-pills,
  .portal-project-actions,
  .account-access-grid,
  .proof-grid,
  .service-grid,
  .faq-grid,
  .admin-sales-board,
  .settings-overview-grid {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .trial-copy h2,
  .admin-topbar h1,
  .delivery-board h2 {
    font-size: 2.15rem;
  }

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

  .admin-topbar {
    grid-template-columns: 1fr;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 1.05rem;
  }

  .hero-stats strong {
    font-size: 1.35rem;
  }

  .auth-copy-panel h1,
  .auth-head h1,
  .auth-head h2,
  .portal-hero h1,
  .project-detail-panel h3,
  .project-detail-hero h1 {
    font-size: 2rem;
  }

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

  .admin-project-actions,
  .project-card-actions,
  .project-cta-band {
    justify-content: flex-start;
  }

  .project-cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Admin operations */
.request-manage-form {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(220px, 1.4fr) auto;
  gap: 8px;
  min-width: 520px;
  align-items: center;
}

.request-manage-form select,
.request-manage-form input {
  min-height: 40px;
}

.site-flash {
  position: fixed;
  top: 82px;
  left: 50%;
  z-index: 80;
  width: min(680px, calc(100% - 32px));
  transform: translateX(-50%);
  box-shadow: 0 18px 50px rgba(5, 20, 48, 0.24);
}

@media (max-width: 760px) {
  .request-manage-form {
    grid-template-columns: 1fr;
    min-width: 280px;
  }
}

/* Admin usability refresh */
.flash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.flash.is-hiding {
  opacity: 0;
  transform: translate(-50%, -10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.flash-close {
  flex: 0 0 auto;
  min-height: 36px;
  border: 1px solid rgba(9, 107, 78, 0.16);
  border-radius: 999px;
  padding: 7px 12px;
  color: inherit;
  background: rgba(255, 255, 255, 0.7);
  font-weight: 800;
  cursor: pointer;
}

.flash.error .flash-close {
  border-color: rgba(151, 27, 27, 0.16);
}

.admin-overview-hero,
.admin-overview-streams {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-overview-hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
}

.admin-overview-hero-main,
.admin-overview-priority-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: var(--shadow-soft);
}

.admin-overview-hero-main {
  display: grid;
  gap: 18px;
  min-height: 220px;
  padding: 24px;
}

.admin-overview-hero-main.tone-success {
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.11), #ffffff 68%);
}

.admin-overview-hero-main.tone-warning {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.15), #ffffff 70%);
}

.admin-overview-hero-main.tone-primary {
  background: linear-gradient(180deg, rgba(17, 103, 232, 0.13), #ffffff 70%);
}

.admin-overview-hero-main.tone-danger {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.12), #ffffff 70%);
}

.admin-overview-hero-copy {
  display: grid;
  gap: 10px;
}

.admin-overview-hero-copy span,
.admin-overview-priority-head span,
.admin-overview-priority-list article span,
.admin-overview-activity-list article span,
.admin-overview-support-item span,
.admin-overview-export-list article span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-overview-hero-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.02;
}

.admin-overview-hero-copy p,
.admin-overview-hero-note small,
.admin-overview-priority-list article strong,
.admin-overview-activity-list article small,
.admin-overview-support-item small,
.admin-overview-export-list article small {
  color: var(--muted);
}

.admin-overview-hero-copy p,
.admin-overview-hero-note small {
  margin: 0;
  max-width: 760px;
}

.admin-overview-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-overview-hero-note {
  display: grid;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(6, 29, 69, 0.08);
}

.admin-overview-hero-note strong,
.admin-overview-priority-head strong {
  font-size: 1.08rem;
  line-height: 1.3;
}

.admin-overview-priority-card {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.admin-overview-priority-head {
  display: grid;
  gap: 8px;
}

.admin-overview-priority-list,
.admin-overview-activity-list,
.admin-overview-support-list,
.admin-overview-export-list {
  display: grid;
  gap: 12px;
}

.admin-overview-priority-list article,
.admin-overview-activity-list article,
.admin-overview-export-list article,
.admin-overview-support-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

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

.admin-overview-activity-list article strong,
.admin-overview-support-item strong,
.admin-overview-export-list article strong {
  font-size: 1rem;
  line-height: 1.35;
}

.admin-overview-support-item {
  text-align: left;
}

.admin-overview-support-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.admin-overview-support-item.passive:hover {
  transform: none;
  box-shadow: none;
}

.admin-focus-grid,
.admin-hub-grid,
.admin-summary-strip,
.ops-overview-grid,
.ops-insight-grid {
  display: grid;
  gap: 16px;
}

.admin-focus-grid {
  grid-template-columns: minmax(300px, 0.92fr) minmax(320px, 1.08fr);
  margin-bottom: 18px;
}

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

.admin-summary-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.ops-overview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.ops-insight-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.admin-summary-strip article,
.attention-item,
.admin-hub-card,
.ops-kpi-card,
.ops-insight-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbfdff);
  box-shadow: var(--shadow-soft);
}

.admin-summary-strip article {
  display: grid;
  gap: 6px;
  min-height: 108px;
  padding: 16px;
}

.ops-kpi-card,
.ops-insight-grid article {
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 18px;
}

.admin-summary-strip span,
.attention-item p,
.admin-hub-card span,
.admin-hub-card p,
.admin-hub-card small,
.ops-kpi-card span,
.ops-kpi-card p,
.ops-insight-grid span,
.ops-insight-grid p {
  color: var(--muted);
}

.admin-summary-strip span,
.admin-hub-card span {
  font-size: 0.82rem;
  font-weight: 900;
}

.admin-summary-strip strong {
  font-size: 1.8rem;
  line-height: 1;
}

.ops-kpi-card strong,
.ops-insight-grid strong {
  font-size: 1.18rem;
  line-height: 1.2;
}

.ops-kpi-card strong {
  font-size: 1.9rem;
  line-height: 1;
}

.ops-kpi-card p,
.ops-insight-grid p {
  margin: 0;
}

.ops-kpi-card.accent-blue {
  background: linear-gradient(180deg, rgba(17, 103, 232, 0.12), #ffffff);
}

.ops-kpi-card.accent-green {
  background: linear-gradient(180deg, rgba(9, 107, 78, 0.12), #ffffff);
}

.ops-kpi-card.accent-amber {
  background: linear-gradient(180deg, rgba(255, 151, 15, 0.14), #ffffff);
}

.ops-kpi-card.accent-slate {
  background: linear-gradient(180deg, rgba(6, 29, 69, 0.08), #ffffff);
}

.overview-ops-grid .ops-kpi-card strong,
.analytics-ops-grid .ops-kpi-card strong,
.support-ops-grid .ops-kpi-card strong {
  font-size: 2rem;
}

.overview-insight-grid article,
.analytics-insight-grid article,
.support-insight-grid article {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.overview-insight-grid strong,
.analytics-insight-grid strong,
.support-insight-grid strong {
  font-size: 1.26rem;
}

.attention-list {
  display: grid;
  gap: 12px;
}

.attention-item,
.admin-hub-card {
  width: 100%;
  text-align: left;
}

.attention-item {
  padding: 16px;
  cursor: pointer;
}

.attention-item.passive {
  cursor: default;
}

.attention-item strong,
.admin-hub-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.attention-item p,
.admin-hub-card p,
.admin-hub-card small {
  margin: 0;
}

.admin-hub-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  cursor: pointer;
}

.attention-item:hover,
.admin-hub-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.overview-command-center,
.overview-launch-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.overview-command-center {
  grid-template-columns: minmax(320px, 1.08fr) minmax(280px, 0.92fr);
}

.overview-head-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.overview-agenda-list,
.overview-todo-list {
  display: grid;
  gap: 12px;
}

.overview-agenda-item,
.overview-todo-list article,
.overview-launch-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: var(--shadow-soft);
}

.overview-agenda-item,
.overview-launch-card {
  width: 100%;
  padding: 18px;
  text-align: left;
  cursor: pointer;
}

.overview-agenda-item {
  display: grid;
  gap: 8px;
}

.overview-agenda-item span,
.overview-todo-list article span,
.overview-launch-card span,
.overview-agenda-item small,
.overview-launch-card small {
  color: var(--muted);
}

.overview-agenda-item strong,
.overview-launch-card strong {
  font-size: 1.08rem;
  line-height: 1.3;
}

.overview-agenda-item.tone-amber {
  background: linear-gradient(180deg, rgba(255, 151, 15, 0.12), #ffffff);
}

.overview-agenda-item.tone-blue {
  background: linear-gradient(180deg, rgba(17, 103, 232, 0.12), #ffffff);
}

.overview-agenda-item.tone-green {
  background: linear-gradient(180deg, rgba(9, 107, 78, 0.12), #ffffff);
}

.overview-agenda-item:hover,
.overview-launch-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.overview-todo-list article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
}

.overview-todo-list article > span {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef5ff;
  color: var(--blue);
  font-size: 0.96rem;
  font-weight: 900;
}

.overview-todo-list article > div {
  display: grid;
  gap: 6px;
}

.overview-todo-list article strong {
  font-size: 1rem;
}

.overview-todo-list article p {
  margin: 0;
  color: var(--muted);
}

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

.overview-launch-card {
  display: grid;
  gap: 8px;
}

.overview-alert-strip,
.overview-performance-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

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

.overview-alert-card,
.overview-performance-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: var(--shadow-soft);
}

.overview-alert-card span,
.overview-performance-card span,
.overview-performance-meta small {
  color: var(--muted);
}

.overview-alert-card strong,
.overview-performance-card strong {
  font-size: 1.08rem;
  line-height: 1.28;
}

.overview-alert-card p,
.overview-performance-card p {
  margin: 0;
  color: var(--muted);
}

.overview-alert-card.danger {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.1), #ffffff);
}

.overview-alert-card.warning {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.12), #ffffff);
}

.overview-alert-card.success {
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.1), #ffffff);
}

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

.overview-performance-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.overview-performance-meta small {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f3f6fb;
  font-size: 0.8rem;
  font-weight: 800;
}

.overview-lifecycle-grid,
.overview-revenue-grid,
.sales-funnel-strip,
.lifecycle-strip {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.overview-lifecycle-grid,
.overview-revenue-grid,
.sales-funnel-strip,
.lifecycle-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.overview-lifecycle-card,
.overview-revenue-card,
.sales-funnel-strip article,
.lifecycle-strip article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: var(--shadow-soft);
}

.overview-lifecycle-card span,
.overview-revenue-card span,
.sales-funnel-strip span,
.lifecycle-strip span {
  color: var(--muted);
}

.overview-lifecycle-card strong,
.overview-revenue-card strong,
.sales-funnel-strip strong,
.lifecycle-strip strong {
  font-size: 1.08rem;
  line-height: 1.3;
}

.overview-lifecycle-card p,
.overview-revenue-card p,
.sales-funnel-strip p,
.lifecycle-strip p {
  margin: 0;
  color: var(--muted);
}

.overview-lifecycle-card.tone-blue {
  background: linear-gradient(180deg, rgba(17, 103, 232, 0.1), #ffffff);
}

.overview-lifecycle-card.tone-amber {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.12), #ffffff);
}

.overview-lifecycle-card.tone-green {
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.1), #ffffff);
}

.overview-readiness-grid,
.sales-priority-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.overview-readiness-card,
.sales-priority-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: var(--shadow-soft);
}

.overview-readiness-card span,
.sales-priority-card span {
  color: var(--muted);
}

.overview-readiness-card strong,
.sales-priority-card strong {
  font-size: 1.08rem;
  line-height: 1.3;
}

.overview-readiness-card p,
.sales-priority-card p {
  margin: 0;
  color: var(--muted);
}

.admin-table-tools {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid rgba(17, 103, 232, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(6, 29, 69, 0.05);
  backdrop-filter: blur(10px);
}

.admin-table-stage {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.admin-table-stage article {
  display: grid;
  gap: 6px;
  min-height: 116px;
  padding: 16px 18px;
  border: 1px solid rgba(17, 103, 232, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  box-shadow: 0 12px 28px rgba(6, 29, 69, 0.05);
}

.admin-table-stage span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-table-stage strong {
  font-size: 1.5rem;
  line-height: 1.05;
}

.admin-table-stage p {
  margin: 0;
  color: #475467;
  font-size: 0.88rem;
  line-height: 1.45;
}

.admin-table-search {
  min-width: 0;
}

.admin-table-tools p {
  margin: 0;
  color: var(--muted);
  grid-column: 1 / -1;
}

.admin-table-tools input[type="search"] {
  min-height: 44px;
  background: #fff;
}

.admin-bulk-bar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.admin-bulk-fields {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-bulk-fields select,
.admin-bulk-fields input[type="text"],
.admin-bulk-fields input[type="number"] {
  min-height: 42px;
}

.admin-filter-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-filter-pills button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(16, 24, 40, 0.02);
}

.admin-filter-pills button:hover,
.admin-filter-pills button.is-active {
  border-color: rgba(17, 103, 232, 0.32);
  background: rgba(17, 103, 232, 0.08);
  color: var(--blue);
}

.admin-filter-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.admin-filter-meta strong {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 900;
}

.admin-card .table-wrap {
  border: 1px solid #e4ebf4;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.admin-card .table-wrap table {
  min-width: 860px;
}

.admin-card .table-wrap thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f8fbff;
  box-shadow: inset 0 -1px 0 #e4ebf4;
}

.admin-card .table-wrap tbody tr {
  transition: background 0.16s ease;
}

.admin-card .table-wrap tbody tr:hover {
  background: #f7fbff;
}

.admin-card .table-wrap td:first-child,
.admin-card .table-wrap th:first-child {
  position: sticky;
  left: 0;
}

.admin-card .table-wrap thead th:first-child {
  z-index: 3;
  background: #f8fbff;
}

.admin-card .table-wrap tbody td:first-child {
  z-index: 1;
  background: #ffffff;
}

.admin-card .table-wrap tbody tr:nth-child(even) td:first-child {
  background: #fbfdff;
}

.admin-card .table-wrap td {
  line-height: 1.45;
}

.admin-card .table-wrap td .btn.compact {
  min-width: 88px;
  justify-content: center;
}

.admin-project-table article[hidden],
tbody tr[hidden],
.comment-admin-item[hidden] {
  display: none !important;
}

#panel-users .status-pill,
#panel-access .status-pill,
#panel-requests .status-pill,
#panel-activity .status-pill {
  padding: 7px 10px;
  border: 1px solid #dce7f7;
  border-radius: 999px;
  background: #f5f8fd;
  color: #1f4d86;
  font-size: 0.8rem;
  font-weight: 900;
}

#panel-users .table-wrap,
#panel-access .table-wrap,
#panel-requests .table-wrap,
#panel-activity .table-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

#panel-users .admin-card,
#panel-access .admin-card,
#panel-requests .admin-card,
#panel-activity .admin-card {
  border-radius: 22px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

#panel-users table thead th,
#panel-access table thead th,
#panel-requests table thead th,
#panel-activity table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fbff;
}

#panel-users table tbody tr:nth-child(even),
#panel-access table tbody tr:nth-child(even),
#panel-requests table tbody tr:nth-child(even),
#panel-activity table tbody tr:nth-child(even) {
  background: #fbfdff;
}

#panel-users table tbody tr:hover,
#panel-access table tbody tr:hover,
#panel-requests table tbody tr:hover,
#panel-activity table tbody tr:hover {
  background: #eef5ff;
}

#panel-users table td small,
#panel-access table td small,
#panel-requests table td small,
#panel-activity table td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

#panel-users .status-pill,
#panel-access .status-pill,
#panel-requests .status-pill,
#panel-activity .status-pill {
  margin-right: 6px;
}

#panel-reviews .comment-admin-list {
  gap: 14px;
}

#panel-packages .package-admin-grid-rich article {
  gap: 10px;
  padding: 22px;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

#panel-packages .package-admin-grid-rich article span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

#panel-packages .package-admin-grid-rich article p {
  margin: 0;
}

#panel-reviews .comment-admin-item {
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

#panel-reviews .admin-card {
  border-radius: 22px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

#panel-reviews .comment-admin-item:hover {
  border-color: #bfd8ff;
  box-shadow: 0 14px 30px rgba(17, 103, 232, 0.08);
}

#panel-activity .status-list article,
#panel-requests .request-manage-form,
#panel-reviews .comment-admin-item form {
  border-radius: 14px;
}

.comment-admin-list {
  display: grid;
  gap: 12px;
}

.comment-admin-item {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.comment-admin-head,
.comment-admin-pills,
.comment-admin-actions {
  display: flex;
  gap: 10px;
}

.comment-admin-head {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.comment-admin-pills {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.comment-admin-actions {
  display: grid;
  gap: 10px;
}

.comment-rating-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  font-size: 0.8rem;
  font-weight: 900;
}

.comment-admin-item form {
  margin: 0;
}

.admin-project-table article {
  box-shadow: var(--shadow-soft);
}

.admin-command-strip button.active {
  color: var(--ink);
}

.status-list article span {
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .admin-workspace-shell {
    grid-template-columns: 1fr;
  }

  .admin-workspace-side {
    position: static;
  }

  .overview-command-center,
  .overview-launch-grid,
  .overview-alert-strip,
  .overview-performance-grid,
  .overview-lifecycle-grid,
  .overview-revenue-grid,
  .overview-readiness-grid,
  .admin-overview-hero,
  .admin-overview-streams,
  .sales-priority-grid,
  .sales-funnel-strip,
  .lifecycle-strip {
    grid-template-columns: 1fr;
  }

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

  .comment-admin-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .admin-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(320px, calc(100vw - 28px));
    height: 100dvh;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    overflow: hidden;
  }

  .admin-sidebar-toggle {
    display: inline-flex;
  }

  .admin-sidebar-actions {
    padding-bottom: 14px;
  }

  .admin-sidebar-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-main {
    padding: 18px 16px 34px;
  }

  .admin-command-strip {
    overflow-x: auto;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 1fr);
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .admin-nav {
    overflow-y: auto;
  }

  .admin-nav-copy small {
    display: none;
  }
}

@media (max-height: 860px) {
  .admin-sidebar {
    gap: 14px;
    padding: 18px 16px;
  }

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

  .admin-sidebar-status article {
    text-align: center;
  }

  .admin-sidebar-status strong {
    margin-top: 4px;
  }
}

@media (max-width: 760px) {
  .admin-sidebar {
    width: min(340px, calc(100vw - 18px));
    padding: 18px 14px 20px;
  }

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

  .admin-sidebar-head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .admin-brand {
    padding: 9px 10px;
  }

  .admin-brand strong {
    font-size: 1.16rem;
  }

  .admin-brand img {
    width: 38px;
    height: 38px;
  }

  .admin-logout-compact,
  .admin-logout-compact.btn {
    min-height: 38px;
    padding: 0 12px;
  }

  .admin-nav-link {
    min-height: 48px;
    align-items: center;
  }

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

  .admin-hub-grid,
  .admin-summary-strip,
  .admin-focus-grid,
  .admin-table-tools {
    grid-template-columns: 1fr;
  }

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

  .admin-filter-toolbar {
    align-items: flex-start;
  }

  .admin-filter-meta {
    margin-left: 0;
  }

  .admin-bulk-bar,
  .admin-bulk-fields {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-table-tools {
    padding: 12px;
  }

  .admin-table-stage {
    grid-template-columns: 1fr;
  }

  .admin-filter-pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .admin-quick-dock {
    top: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .admin-section-jump {
    top: 72px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .admin-quick-dock-actions {
    width: 100%;
  }

  .admin-quick-dock-actions .btn {
    flex: 1 1 0;
    justify-content: center;
  }
}

/* Support widget and admin support center */
.support-widget-shell {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 12px;
  z-index: 90;
}

.support-bubble {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  color: #fff;
  box-shadow: 0 18px 46px rgba(16, 24, 40, 0.2);
  cursor: pointer;
}

.support-bubble.online {
  background: linear-gradient(135deg, #12a46f, #0b7a54);
}

.support-bubble.offline {
  background: linear-gradient(135deg, #1167e8, #061d45);
}

.support-bubble-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.16);
}

.support-panel[hidden],
.support-lead-form[hidden],
.support-chat[hidden] {
  display: none !important;
}

.support-panel {
  display: flex;
  flex-direction: column;
  width: min(430px, calc(100vw - 28px));
  max-height: min(660px, calc(100dvh - 104px));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 22px 70px rgba(6, 29, 69, 0.22);
  overflow: hidden;
}

.support-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  color: #fff;
}

.support-panel-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex: 0 0 auto;
  position: relative;
  z-index: 4;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(6, 29, 69, 0.16);
  backdrop-filter: blur(12px);
}

.support-panel-head > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.support-panel-head.online {
  background: linear-gradient(135deg, #12a46f, #0b7a54);
}

.support-panel-head.offline {
  background: linear-gradient(135deg, #1167e8, #061d45);
}

.support-panel-head strong,
.support-panel-head p {
  margin: 0;
}

.support-panel-head p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
}

.support-window-button {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.18s ease, background 0.18s ease;
}

.support-window-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.22);
}

.support-window-button.danger:hover {
  background: rgba(230, 57, 70, 0.85);
}

.support-panel-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}

.support-intro {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid #e7edf5;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbff, #eef6ff);
}

.support-intro span {
  width: max-content;
  border-radius: 999px;
  padding: 5px 9px;
  color: #0b5f43;
  background: rgba(18, 164, 111, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
}

.support-intro strong {
  color: var(--ink);
  font-size: 1rem;
}

.support-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.support-chat {
  display: flex;
  flex-direction: column;
  height: min(500px, calc(100dvh - 210px));
  min-height: 320px;
  background: #eef3f8;
}

.support-thread {
  display: grid;
  gap: 10px;
  align-content: start;
  align-items: start;
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  padding: 14px;
  overflow-y: auto;
  background:
    linear-gradient(rgba(247, 250, 252, 0.92), rgba(247, 250, 252, 0.92)),
    radial-gradient(circle at 18px 18px, rgba(6, 29, 69, 0.08) 1px, transparent 1.5px);
  background-size: auto, 28px 28px;
}

.support-empty-state,
.support-admin-empty {
  display: grid;
  gap: 6px;
  align-content: center;
  min-height: 120px;
  color: var(--muted);
}

.support-empty-state strong,
.support-admin-empty strong {
  color: var(--ink);
}

.support-empty-state p,
.support-admin-empty p {
  margin: 0;
}

.support-message,
.support-admin-message {
  display: grid;
  gap: 6px;
  align-items: start;
  width: fit-content;
  min-width: min(235px, 78%);
  max-width: min(94%, 390px);
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.support-message {
  align-self: start;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 10px 12px;
}

.support-message strong {
  grid-column: 1 / -1;
  line-height: 1.18;
}

.support-message p {
  grid-column: 1;
  align-self: end;
}

.support-message small {
  grid-column: 2;
  align-self: end;
}

.support-admin-message.admin {
  justify-self: end;
  background: #e9f3ff;
}

.support-admin-message.visitor {
  justify-self: start;
  background: #fff;
}

.support-message.admin {
  justify-self: start;
  border-bottom-left-radius: 4px;
  background: #fff;
}

.support-message.visitor {
  justify-self: end;
  border-bottom-right-radius: 4px;
  background: #dff8c8;
}

.support-message.system {
  justify-self: center;
  width: auto;
  max-width: 100%;
  grid-template-columns: 1fr;
  border: 1px dashed #c9d6e6;
  background: #f8fafc;
  box-shadow: none;
  text-align: center;
}

.support-message p,
.support-admin-message p {
  margin: 0;
  color: #344054;
  overflow-wrap: anywhere;
  line-height: 1.42;
}

.support-message small,
.support-admin-message small {
  justify-self: end;
  text-align: right;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.15;
}

.support-form {
  display: grid;
  gap: 14px;
  padding: 16px;
  overflow-y: auto;
}

.support-lead-form {
  gap: 12px;
}

.support-message-form {
  flex: 0 0 auto;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: #fff;
}

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

.support-form-grid label:first-child,
.support-form-grid label:nth-child(3) {
  grid-column: span 2;
}

.support-form-actions,
.support-admin-reply-actions,
.support-admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.support-chat-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.support-chat-actions .btn {
  width: 100%;
  min-width: 116px;
  justify-content: center;
}

.support-end-button {
  color: #9b1c31;
  border-color: #ffd3dc;
  background: #fff6f8;
}

.support-message-form textarea {
  min-height: 44px;
  max-height: 80px;
  resize: vertical;
}

.support-status-text,
.support-admin-reply-actions span {
  display: block;
  min-height: 20px;
  color: #9b1c31;
  font-size: 0.84rem;
  font-weight: 700;
}

.admin-inline-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  min-height: 22px;
  margin-left: 8px;
  border-radius: 999px;
  padding: 0 6px;
  color: #111827;
  background: #ffe2b5;
  font-size: 0.75rem;
  font-weight: 900;
}

.admin-inline-badge[hidden] {
  display: none;
}

.support-admin-shell {
  overflow: hidden;
}

.support-presence-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 900;
}

.support-presence-badge.is-online {
  color: #0b7a54;
  background: #e8f7f1;
}

.support-presence-badge.is-offline {
  color: #8a2d1f;
  background: #fff1df;
}

.support-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.support-toggle input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
}

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

.support-admin-meta article,
.support-admin-filters {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.support-admin-meta article {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
}

.support-admin-meta span {
  color: var(--muted);
  font-size: 0.82rem;
}

.support-admin-filters {
  display: grid;
  gap: 12px;
  padding: 14px;
  margin-bottom: 14px;
}

.support-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.support-filter-group button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

.support-filter-group button.is-active {
  border-color: rgba(17, 103, 232, 0.32);
  background: #eef5ff;
  color: #0d3d8b;
}

.support-admin-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(360px, 1.12fr);
  gap: 14px;
}

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

.analytics-card {
  overflow: hidden;
}

.analytics-full {
  grid-column: 1 / -1;
}

.analytics-bars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(52px, 1fr));
  gap: 10px;
  align-items: end;
  min-height: 260px;
}

.analytics-bar {
  display: grid;
  gap: 8px;
  align-items: end;
}

.analytics-bar span,
.analytics-bar small,
.analytics-ranking-list small,
.analytics-ranking-head span,
.analytics-conversion-grid span,
.analytics-three-col span {
  color: var(--muted);
}

.analytics-bar-track {
  height: 180px;
  display: flex;
  align-items: end;
  border-radius: var(--radius);
  background: #eef3f8;
  overflow: hidden;
}

.analytics-bar-track i {
  display: block;
  width: 100%;
  min-height: 8px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #47a7f5, #1167e8);
}

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

.analytics-conversion-grid article {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.analytics-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.analytics-chip-list span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 5px 11px;
  background: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 800;
}

.analytics-ranking-list {
  display: grid;
  gap: 12px;
}

.analytics-ranking-list article {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.analytics-ranking-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.analytics-progress {
  height: 10px;
  border-radius: 999px;
  background: #eef3f8;
  overflow: hidden;
}

.analytics-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1167e8, #47a7f5);
}

.analytics-progress.alt span {
  background: linear-gradient(90deg, #ff970f, #ffd48a);
}

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

.analytics-three-col > div {
  display: grid;
  gap: 10px;
}

.support-thread-list,
.support-thread-detail {
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #fbfdff, #f7faff);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.support-thread-list {
  display: grid;
  align-content: start;
  gap: 10px;
  max-height: 720px;
  padding: 14px;
  overflow-y: auto;
}

.support-thread-item {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px;
  text-align: left;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.support-thread-item.active {
  border-color: rgba(17, 103, 232, 0.36);
  background: #eef5ff;
  box-shadow: 0 14px 30px rgba(17, 103, 232, 0.08);
}

.support-thread-item:hover {
  border-color: rgba(17, 103, 232, 0.22);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.support-thread-item div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.support-thread-item span,
.support-thread-item small,
.support-thread-item p,
.support-thread-item em {
  color: var(--muted);
}

.support-thread-item p {
  margin: 0;
}

.support-thread-item em {
  font-style: normal;
  font-weight: 900;
  color: #0b7a54;
}

.support-thread-item strong {
  font-size: 0.98rem;
}

.support-thread-detail {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 0;
  overflow: hidden;
}

.support-admin-chat-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.support-admin-chat-head p,
.support-admin-chat-head small {
  margin: 4px 0 0;
  color: var(--muted);
}

.support-admin-messages {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px;
  overflow-y: auto;
  background: #f7fafc;
}

.support-admin-reply-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.confidence-section,
.reference-section {
  background: #fff;
}

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

.confidence-grid article,
.reference-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: var(--shadow-soft);
}

.confidence-grid span {
  display: block;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.confidence-grid strong,
.reference-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.confidence-grid p,
.reference-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.operations-section {
  background: #eef3f9;
}

.operations-board {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  gap: 24px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(7, 21, 46, 0.08);
  border-radius: 16px;
  background: linear-gradient(135deg, #07152e, #0b2a58);
  color: #fff;
  box-shadow: var(--shadow);
}

.operations-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

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

.operations-grid article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.operations-grid strong {
  display: block;
  font-size: 1rem;
}

.operations-grid p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
  .confidence-grid,
  .reference-grid,
  .analytics-grid,
  .analytics-conversion-grid,
  .analytics-three-col,
  .support-admin-meta {
    grid-template-columns: 1fr;
  }

  .operations-board,
  .operations-grid,
  .support-admin-layout,
  .support-form-grid {
    grid-template-columns: 1fr;
  }

  .support-form-grid label:first-child,
  .support-form-grid label:nth-child(3) {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .confidence-grid,
  .reference-grid {
    grid-template-columns: 1fr;
  }

  .analytics-bars {
    grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
    min-height: 220px;
  }

  .support-widget-shell {
    right: 12px;
    bottom: 12px;
    left: 12px;
    align-items: stretch;
  }

  .support-bubble {
    width: 100%;
    justify-content: center;
  }

  .support-panel {
    width: 100%;
    max-height: calc(100dvh - 92px);
  }

  .support-chat {
    height: min(430px, calc(100dvh - 196px));
    min-height: 300px;
  }

  .support-thread {
    min-height: 0;
  }

  .support-message,
  .support-admin-message {
    min-width: min(250px, 80%);
    max-width: min(95%, 360px);
  }

  .support-message {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .support-message-form {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .support-panel-head {
    align-items: flex-start;
  }

  .support-panel-actions {
    margin-left: auto;
  }
}
