/* Pauline MW Bootstrap-light polish
   Local, lightweight responsive layer. It intentionally avoids changing page wording or backend behavior. */
:root {
  --bs-body-font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --bs-primary: #12355b;
  --bs-primary-rgb: 18, 53, 91;
  --bs-info: #1f7fbf;
  --bs-success: #009f98;
  --bs-warning: #f5a623;
  --bs-body-color: #152033;
  --bs-muted: #64748b;
  --bs-border-color: #dbe5ef;
  --bs-light: #f6f9fc;
  --bs-radius: 14px;
  --bs-radius-lg: 22px;
  --bs-shadow-sm: 0 8px 22px rgba(15, 23, 42, .06);
  --bs-shadow: 0 18px 48px rgba(15, 23, 42, .1);
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--bs-body-font-family);
  color: var(--bs-body-color);
  background:
    radial-gradient(circle at top left, rgba(31, 127, 191, .08), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 48%, #ffffff 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe,
table {
  max-width: 100%;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
span,
td,
th,
li {
  overflow-wrap: anywhere;
}

.container {
  width: min(1160px, calc(100% - 32px));
}

header {
  box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
}

.nav {
  min-height: 68px;
}

.brand {
  color: #0f2742;
}

.brand-icon {
  background: linear-gradient(135deg, #e7f4ff, #eafbf8);
  color: var(--bs-primary);
  box-shadow: inset 0 0 0 1px rgba(18, 53, 91, .08);
}

.nav-links a {
  position: relative;
  color: #42526a;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--bs-info);
  transition: transform .18s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.btn,
.nav-btn,
.small-btn,
.ghost-btn,
.dashboard-chat-cta,
.dashboard-actions a,
.dashboard-stat {
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover,
.nav-btn:hover,
.small-btn:hover,
.ghost-btn:hover,
.dashboard-chat-cta:hover,
.dashboard-actions a:hover,
.dashboard-stat:hover {
  transform: translateY(-2px);
}

.btn,
.nav-btn {
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
  box-shadow: 0 14px 30px rgba(31, 127, 191, .22);
}

.btn-secondary,
.ghost-btn {
  color: var(--bs-primary);
  border-color: var(--bs-border-color);
  background: #fff;
}

.hero {
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 78%;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(231, 244, 255, .9), rgba(255, 255, 255, 0) 58%),
    radial-gradient(circle at 78% 20%, rgba(0, 159, 152, .12), transparent 20rem);
}

.eyebrow,
.tag {
  background: #eaf6ff;
  border-color: #cae7fb;
  color: #12537c;
}

.card,
.spectrum-card,
.step,
.about-box,
.testimonial,
.question-card,
.service-box,
.question-box,
.order-modal,
.admin-card,
.visitor-panel,
.chat-panel {
  border-color: var(--bs-border-color);
  box-shadow: var(--bs-shadow-sm);
}

.card:hover,
.spectrum-card:hover,
.question-card:hover,
.service-card-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--bs-shadow);
}

.card,
.spectrum-card,
.question-card,
.service-card-link {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.section-title,
.hero h1,
.service-box h1,
.question-box h1 {
  color: #0f2742;
}

.section-subtitle,
.service-lead,
.card p,
.spectrum-card p,
.question-card p {
  color: var(--bs-muted);
}

.premium-spectrum,
footer {
  background: linear-gradient(180deg, #f6f9fc, #eef6fd);
}

.quote-box,
.final-cta {
  background:
    radial-gradient(circle at top right, rgba(31, 127, 191, .38), transparent 24rem),
    linear-gradient(135deg, #102a45, #0f172a);
}

.form-grid {
  align-items: start;
}

input,
select,
textarea,
.rich-editor {
  max-width: 100%;
}

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

.order-modal .full-row {
  grid-column: 1 / -1;
}

.order-modal input,
.order-modal select,
.order-modal textarea,
.order-modal .rich-editor {
  border-color: #ccd8e5;
  background: #fbfdff;
}

.order-modal input:focus,
.order-modal select:focus,
.order-modal textarea:focus,
.order-modal .rich-editor:focus {
  background: #fff;
  border-color: var(--bs-info);
  box-shadow: 0 0 0 4px rgba(31, 127, 191, .12);
}

.toolbar button {
  background: #fff;
  border-color: #d7e2ee;
}

.math-check,
.form-notice,
.question-selected-box {
  background: #f7fbff;
  border-color: var(--bs-border-color);
}

.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(31, 127, 191, .13), transparent 32rem),
    linear-gradient(180deg, #f4f8fc, #eef4fa);
}

.admin-wrap {
  width: min(1180px, calc(100% - 32px));
}

.admin-wrap > h1 {
  margin-bottom: 12px;
  color: #0f2742;
  letter-spacing: -.03em;
}

.admin-nav {
  position: sticky;
  top: 8px;
  z-index: 20;
  background: rgba(246, 249, 252, .84);
  border: 1px solid rgba(219, 229, 239, .86);
  border-radius: 999px;
  padding: 8px;
  backdrop-filter: blur(12px);
}

.admin-nav a,
.small-btn {
  background: #fff;
  color: #12355b;
  border: 1px solid #d7e2ee;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
}

.admin-nav a.active,
.admin-nav a:hover,
.small-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, #12355b, #1f7fbf);
  border-color: transparent;
}

.admin-card {
  border-radius: var(--bs-radius-lg);
  overflow: hidden;
}

.admin-table {
  border-collapse: separate;
  border-spacing: 0;
}

.admin-table th {
  background: #f2f7fb;
  color: #36506c;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.admin-table td {
  color: #223047;
}

.admin-table tr:hover td {
  background: #fbfdff;
}

.admin-table td form {
  display: grid;
  gap: 8px;
}

.admin-table select,
.admin-table input,
.admin-card input,
.admin-card select,
.admin-card textarea {
  border-color: #ccd8e5;
  background: #fbfdff;
}

.dashboard-hero,
.dashboard-section,
.dashboard-note {
  border: 1px solid var(--bs-border-color);
  box-shadow: var(--bs-shadow-sm);
}

.dashboard-stat,
.dashboard-actions a {
  border: 1px solid var(--bs-border-color);
  background: #fff;
}

.dashboard-stat strong {
  color: #12355b;
}

.live-chat-admin {
  font-family: var(--bs-body-font-family);
}

.live-head,
.visitor-panel,
.chat-panel {
  border-color: var(--bs-border-color) !important;
}

.visitor-item:hover,
.visitor-item.active {
  background: #eef7ff !important;
}

.admin-chat-form input {
  min-width: 0;
}

.whatsapp-float {
  max-width: min(360px, calc(100vw - 24px));
}

@media (max-width: 992px) {
  .hero-grid {
    gap: 34px;
  }

  .admin-nav {
    border-radius: 20px;
  }
}

@media (max-width: 768px) {
  .container,
  .admin-wrap {
    width: min(100% - 24px, 1180px);
  }

  .nav {
    min-height: 62px;
  }

  .nav-right.menu-open {
    display: grid;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    padding: 14px;
    border: 1px solid var(--bs-border-color);
    border-radius: 20px;
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--bs-shadow);
  }

  .nav-right.menu-open .nav-links {
    display: grid;
    gap: 4px;
  }

  .nav-right.menu-open .nav-links a,
  .nav-right.menu-open .nav-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
  }

  .hero h1 {
    letter-spacing: -.035em;
  }

  .hero-photo-wrap {
    max-width: 360px;
  }

  .order-modal .form-grid,
  .form-grid,
  .radio-grid,
  .quote-grid,
  .steps,
  .services-grid,
  .portfolio-grid,
  .questions-grid {
    grid-template-columns: 1fr !important;
  }

  .order-modal {
    max-width: 100%;
  }

  .modal-actions {
    gap: 10px;
  }

  .modal-actions .btn,
  .modal-actions .ghost-btn {
    width: 100%;
    max-width: none;
  }

  .admin-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 18px;
  }

  .admin-nav a {
    justify-content: center;
    text-align: center;
  }

  .admin-card {
    padding: 16px;
  }

  .admin-table,
  .admin-table thead,
  .admin-table tbody,
  .admin-table th,
  .admin-table td,
  .admin-table tr {
    display: block;
    width: 100%;
    white-space: normal;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table tr {
    margin-bottom: 14px;
    border: 1px solid var(--bs-border-color);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
  }

  .admin-table td {
    border-bottom: 1px solid #edf2f7;
    padding: 12px 14px;
  }

  .admin-table td:last-child {
    border-bottom: 0;
  }

  .admin-table td .small-btn,
  .admin-table td form button {
    margin-top: 8px;
  }
}

@media (max-width: 520px) {
  .container,
  .admin-wrap {
    width: min(100% - 20px, 1180px);
  }

  .hero {
    padding-top: 38px;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .btn,
  .nav-btn {
    min-width: 0;
    width: 100%;
  }

  .card,
  .spectrum-card,
  .about-box,
  .testimonial,
  .step,
  .question-card,
  .service-box,
  .question-box {
    border-radius: 18px;
    padding: 20px;
  }

  .order-modal {
    border-radius: 20px 20px 0 0;
    padding: 16px;
  }

  .modal-head {
    align-items: flex-start;
  }

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

  .toolbar button {
    width: 100%;
  }

  .math-row {
    grid-template-columns: 1fr !important;
  }

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

  .admin-wrap {
    margin-top: 18px;
  }
}

/* Admin app-quality layer */
.admin-body {
  --admin-sidebar: #0f2742;
  --admin-accent: #1f7fbf;
  --admin-soft: #eef7ff;
  --admin-danger: #dc2626;
  --admin-good: #059669;
}

.admin-body::before {
  content: "";
  position: fixed;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, #12355b, #1f7fbf, #009f98);
  z-index: 0;
}

.admin-wrap {
  position: relative;
  z-index: 1;
  padding: 8px 0 36px;
}

.admin-wrap > h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1.1;
}

.admin-wrap > h1::before {
  content: "";
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.25)),
    linear-gradient(135deg, #12355b, #1f7fbf);
  box-shadow: 0 12px 24px rgba(31, 127, 191, .22);
}

.admin-wrap > .admin-card:first-of-type,
.admin-wrap > form.admin-card {
  margin-top: 18px;
}

.admin-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94)),
    radial-gradient(circle at top right, rgba(31,127,191,.08), transparent 18rem);
}

.admin-card h1,
.admin-card h2,
.admin-card h3 {
  color: #0f2742;
  letter-spacing: -.02em;
}

.admin-card p {
  color: #64748b;
}

.admin-nav {
  box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
}

.admin-nav a[href*="logout"] {
  color: #991b1b;
  border-color: #fecaca;
  background: #fff7f7;
}

.admin-nav a[href*="logout"]:hover {
  color: #fff;
  background: linear-gradient(135deg, #991b1b, #dc2626);
}

.admin-stats {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.admin-stats .admin-card {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.admin-stats .admin-card::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -26px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(31, 127, 191, .1);
}

.admin-stats .admin-card h3 {
  margin: 0 0 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.admin-stats .admin-card strong {
  color: #12355b;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1;
}

.admin-card .field {
  margin-bottom: 18px;
}

.admin-card .field label,
.admin-card label {
  color: #25364d;
  font-size: 13px;
  letter-spacing: .02em;
}

.admin-card input,
.admin-card select,
.admin-card textarea,
.admin-rich-editor {
  width: 100%;
  border: 1px solid #ccd8e5;
  border-radius: 14px;
  background: #fbfdff;
  color: #152033;
  font-size: 16px;
  line-height: 1.45;
  padding: 13px 14px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.admin-card textarea {
  min-height: 150px;
  resize: vertical;
}

.admin-card input:focus,
.admin-card select:focus,
.admin-card textarea:focus,
.admin-rich-editor:focus {
  background: #fff;
  border-color: #1f7fbf;
  box-shadow: 0 0 0 4px rgba(31, 127, 191, .12);
}

.admin-help-text {
  display: block;
  margin-top: 7px;
  color: #64748b;
  font-size: 13px;
}

.admin-rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #dbe5ef;
  border-radius: 16px;
  background: #f7fbff;
}

.admin-rich-toolbar button,
.admin-color-tool {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d2deeb;
  border-radius: 12px;
  background: #fff;
  color: #12355b;
  padding: 8px 11px;
  font-weight: 800;
  cursor: pointer;
}

.admin-rich-toolbar button:hover,
.admin-color-tool:hover {
  border-color: #1f7fbf;
  box-shadow: 0 8px 18px rgba(31, 127, 191, .11);
}

.admin-color-tool input {
  width: 34px;
  height: 28px;
  border: 0;
  padding: 0;
  background: transparent;
}

.admin-rich-editor {
  min-height: 320px;
  overflow: auto;
}

#questionTextField {
  display: none;
}

.admin-table {
  font-size: 14px;
}

.admin-table th:first-child,
.admin-table td:first-child {
  padding-left: 18px;
}

.admin-table th:last-child,
.admin-table td:last-child {
  padding-right: 18px;
}

.admin-table td small {
  color: #64748b;
}

.admin-table a:not(.small-btn) {
  color: #1f7fbf;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.small-btn,
.admin-card .btn {
  min-height: 40px;
}

.admin-card .btn {
  width: auto;
  min-width: 180px;
}

a.small-btn[href*="delete"],
.small-btn[onclick*="Delete"],
.small-btn[onclick*="delete"],
button.small-btn[type="submit"]:has(+ .danger-action) {
  color: #991b1b;
  border-color: #fecaca;
  background: #fff7f7;
}

a.small-btn[href*="delete"]:hover,
.small-btn[onclick*="Delete"]:hover,
.small-btn[onclick*="delete"]:hover {
  color: #fff;
  background: linear-gradient(135deg, #991b1b, #dc2626);
}

.alert {
  border: 1px solid transparent;
  font-weight: 700;
}

.alert.success {
  background: #ecfdf5;
  color: #047857;
  border-color: #bbf7d0;
}

.alert.error {
  background: #fff1f2;
  color: #be123c;
  border-color: #fecdd3;
}

body.admin-body .admin-wrap[style*="max-width:460px"] {
  min-height: 100vh;
  display: grid;
  align-content: center;
}

body.admin-body .admin-wrap[style*="max-width:460px"] .admin-card {
  padding: 30px;
  border-radius: 28px;
}

body.admin-body .admin-wrap[style*="max-width:460px"] .admin-card h1 {
  text-align: center;
  font-size: 2rem;
}

body.admin-body .admin-wrap[style*="max-width:460px"] .btn {
  width: 100%;
  max-width: none;
}

.dashboard-hero {
  overflow: hidden;
}

.dashboard-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(31, 127, 191, .14);
}

.dashboard-chat-cta {
  position: relative;
  z-index: 1;
}

.dashboard-stat,
.dashboard-actions a {
  border-radius: 20px;
}

.dashboard-actions {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

@media (min-width: 769px) {
  .admin-card form:not(#questionForm) .field:nth-child(1):nth-last-child(n+4),
  .admin-card form:not(#questionForm) .field:nth-child(2):nth-last-child(n+3),
  .admin-card form:not(#questionForm) .field:nth-child(3):nth-last-child(n+2),
  .admin-card form:not(#questionForm) .field:nth-child(4):nth-last-child(n+1) {
    max-width: 100%;
  }

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

  form.admin-card .field:has(textarea),
  form.admin-card .field:has(input[name="title"]),
  form.admin-card .field:has(input[name="slug"]),
  form.admin-card .field:has(input[name="meta_title"]),
  form.admin-card .field:has(textarea[name="meta_description"]),
  form.admin-card .field:has(textarea[name="content"]),
  form.admin-card button,
  form.admin-card .alert {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .admin-body::before {
    width: 5px;
  }

  .admin-wrap > h1::before {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .admin-card .btn {
    width: 100%;
    max-width: none;
  }

  .admin-table td {
    position: relative;
  }

  .admin-table td::before {
    content: "Detail";
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .admin-table td:nth-child(1)::before { content: "Primary"; }
  .admin-table td:nth-child(2)::before { content: "Info"; }
  .admin-table td:nth-child(3)::before { content: "Status"; }
  .admin-table td:nth-child(4)::before { content: "Details"; }
  .admin-table td:nth-child(5)::before { content: "File"; }
  .admin-table td:nth-child(6)::before { content: "Action"; }
  .admin-table td:nth-child(7)::before { content: "Action"; }

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

  .admin-rich-toolbar button,
  .admin-color-tool {
    width: 100%;
  }

  .admin-rich-editor {
    min-height: 260px;
  }
}

@media (max-width: 460px) {
  .admin-card {
    padding: 14px;
    border-radius: 18px;
  }

  .admin-stats .admin-card {
    min-height: 112px;
  }

  .admin-table td {
    padding: 11px 12px;
  }
}

/* Admin suite email workspace */
.admin-suite-body {
  background: #071318;
  color: #dbe7ff;
}

.admin-suite {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  background: #071318;
}

.suite-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px;
  border-right: 1px solid rgba(148, 163, 184, .18);
  background: linear-gradient(180deg, #081820, #050b10);
  overflow-y: auto;
}

.suite-brand {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 2px 12px;
  align-items: center;
  padding: 10px 8px 24px;
}

.suite-brand span {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b95a3, #22d3cc);
  color: #fff;
  font-weight: 900;
}

.suite-brand strong {
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.suite-brand small {
  color: #8ea4c6;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
}

.suite-sidebar nav {
  display: grid;
  gap: 8px;
}

.suite-sidebar nav a {
  color: #b9c8e5;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
}

.suite-sidebar nav a:hover,
.suite-sidebar nav a.active {
  background: linear-gradient(135deg, #0fb9c6, #22d3cc);
  border-color: rgba(255, 255, 255, .12);
  color: #fff;
}

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

.suite-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: auto minmax(220px, 520px) auto;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  background: rgba(7, 19, 24, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, .14);
}

.suite-topbar span {
  display: block;
  color: #8ea4c6;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.suite-topbar strong,
.suite-page-head h1,
.email-read-head h2,
.email-message-card h3 {
  color: #fff;
}

.suite-search input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 999px;
  background: #061016;
  color: #e5efff;
  padding: 0 18px;
}

.suite-pill {
  justify-self: end;
  color: #c9d8f4;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
}

.suite-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 20px;
}

.suite-page-head h1 {
  font-size: 30px;
  margin: 0 0 6px;
}

.suite-page-head p {
  color: #95a8c9;
  margin: 0;
}

.email-app {
  display: grid;
  grid-template-columns: 240px minmax(320px, 430px) minmax(0, 1fr);
  min-height: 700px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 14px;
  overflow: hidden;
  background: #0d222b;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.email-folders {
  background: #0b1b23;
  border-right: 1px solid rgba(148, 163, 184, .16);
  padding: 18px;
}

.email-compose-btn,
.email-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 900;
}

.email-compose-btn {
  color: #fff;
  background: linear-gradient(135deg, #0fb9c6, #22d3cc);
  box-shadow: 0 12px 26px rgba(34, 211, 204, .18);
}

.email-secondary-btn {
  color: #d8e5ff;
  background: #0c1424;
  border: 1px solid rgba(148, 163, 184, .18);
}

.email-folders > .email-compose-btn {
  width: 100%;
  margin-bottom: 18px;
}

.email-folders a:not(.email-compose-btn) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #b8c7e6;
  border-radius: 10px;
  padding: 12px;
  font-weight: 800;
}

.email-folders a.active,
.email-folders a:not(.email-compose-btn):hover {
  background: #12313c;
  color: #fff;
}

.email-folders b {
  min-width: 28px;
  text-align: center;
  border-radius: 999px;
  background: #0fb9c6;
  color: #fff;
  padding: 2px 7px;
  font-size: 12px;
}

.email-delivery-note {
  margin-top: 28px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(34, 49, 82, .7);
  color: #9fb1d2;
}

.email-delivery-note strong,
.email-delivery-note span {
  display: block;
}

.email-list {
  background: #0d222b;
  border-right: 1px solid rgba(148, 163, 184, .16);
  overflow-y: auto;
}

.email-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid rgba(148, 163, 184, .14);
  color: #dce8ff;
}

.email-row:hover,
.email-row.active {
  background: #12313c;
}

.email-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #0b95a3, #22d3cc);
}

.email-avatar.lg {
  width: 56px;
  height: 56px;
  font-size: 20px;
}

.email-row-main {
  min-width: 0;
}

.email-row-main strong,
.email-row-main b,
.email-row-main small {
  display: block;
}

.email-row-main strong {
  color: #fff;
}

.email-row-main b {
  margin-top: 2px;
  font-size: 13px;
}

.email-row-main small,
.email-row-meta small,
.email-read-head p,
.email-read-head small {
  color: #96a9ca;
}

.email-row-meta {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 8px;
}

.email-row-meta em {
  border-radius: 999px;
  background: rgba(47, 211, 159, .16);
  color: #70e4bd;
  padding: 4px 8px;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.email-reader {
  padding: 24px;
  background: #102731;
  overflow-y: auto;
}

.email-read-head {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(148, 163, 184, .16);
}

.email-read-head h2 {
  margin: 0 0 6px;
}

.email-message-card {
  margin-top: 24px;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 14px;
  padding: 22px;
  background: #0e1728;
  color: #dbe7ff;
}

.email-message-card h3 {
  margin-bottom: 12px;
}

.email-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

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

.email-compose-form label {
  color: #dce8ff;
}

.email-compose-form input,
.email-compose-form textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 12px;
  background: #0c1424;
  color: #fff;
  padding: 13px 14px;
}

.email-compose-form textarea {
  min-height: 300px;
  resize: vertical;
}

.email-empty {
  color: #95a8c9;
  padding: 28px;
}

.admin-suite .alert {
  border-radius: 12px;
}

@media (max-width: 1100px) {
  .admin-suite {
    grid-template-columns: 1fr;
  }

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

  .suite-sidebar nav {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }

  .email-app {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .email-reader {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(148, 163, 184, .16);
  }
}

@media (max-width: 760px) {
  .suite-main {
    padding: 0 14px 24px;
  }

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

  .suite-pill {
    justify-self: stretch;
    text-align: center;
  }

  .suite-page-head {
    align-items: stretch;
    flex-direction: column;
  }

  .email-app {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .email-folders,
  .email-list {
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, .16);
  }

  .email-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .email-row-meta {
    grid-column: 2;
    justify-items: start;
    grid-auto-flow: column;
    justify-content: start;
  }
}

/* Shared left-menu admin suite for all non-email admin pages */
body.admin-body:not(.admin-suite-body):not(.live-chat-page) {
  background: #071318;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0 28px 36px 0;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0 28px;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 204, .14), transparent 34rem),
    linear-gradient(180deg, #071318 0%, #0d222b 100%);
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .admin-nav {
  grid-column: 1;
  grid-row: 1 / span 80;
  position: sticky;
  top: 0;
  height: 100vh;
  align-self: start;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  padding: 86px 18px 18px;
  background: linear-gradient(180deg, #081820, #050b10);
  border-right: 1px solid rgba(148, 163, 184, .18);
  overflow-y: auto;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .admin-nav::before {
  content: "PaulineMW Admin Suite";
  position: absolute;
  top: 22px;
  left: 18px;
  right: 18px;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding-left: 58px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.02em;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .admin-nav::after {
  content: "PM";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b95a3, #22d3cc);
  color: #fff;
  font-weight: 900;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-nav a,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not(.dashboard-wrap) .admin-nav a {
  width: 100%;
  justify-content: flex-start;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #b9c8e5;
  box-shadow: none;
  padding: 12px 14px;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-nav a:hover,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-nav a.active,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-nav a[href*="email"]:hover,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .dashboard-nav a.active {
  background: linear-gradient(135deg, #0fb9c6, #22d3cc);
  border-color: rgba(255, 255, 255, .12);
  color: #fff;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-nav a[href*="logout"] {
  margin-top: auto;
  color: #fecaca;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > h1,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .admin-card,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .admin-stats,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .alert,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > form.admin-card,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .dashboard-hero,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .dashboard-section,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .dashboard-note {
  grid-column: 2;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > h1 {
  margin: 32px 0 18px;
  color: #fff;
  font-size: 30px;
  letter-spacing: -.03em;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-card,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .dashboard-hero,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .dashboard-section,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .dashboard-note {
  background: rgba(13, 34, 43, .94);
  border: 1px solid rgba(148, 163, 184, .18);
  color: #dbe7ff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .24);
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-card h1,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-card h2,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-card h3,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .dashboard-hero h1,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .dashboard-section h2 {
  color: #fff;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-card p,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-card small,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .dashboard-hero p,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .dashboard-section p,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .dashboard-note span {
  color: #9fb1d2;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-table {
  background: transparent;
  color: #dbe7ff;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-table th {
  background: #071820;
  color: #9fb1d2;
  border-bottom-color: rgba(148, 163, 184, .18);
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-table td {
  border-bottom-color: rgba(148, 163, 184, .14);
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-table tr:hover td {
  background: rgba(81, 109, 246, .08);
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-card input,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-card select,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-card textarea,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-rich-editor {
  background: #061016;
  border-color: rgba(148, 163, 184, .22);
  color: #fff;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .field label,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-card label {
  color: #dce8ff;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .dashboard-stats,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .dashboard-actions {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .dashboard-stat,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .dashboard-actions a {
  background: #071820;
  border-color: rgba(148, 163, 184, .16);
  color: #dbe7ff;
}

@media (max-width: 900px) {
  body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) {
    display: block;
    padding: 0 14px 24px;
  }

  body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .admin-nav {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 78px 12px 12px;
    margin: 0 -14px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, .18);
  }

  body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-nav a[href*="logout"] {
    margin-top: 0;
  }

  body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > h1 {
    margin-top: 22px;
  }
}

/* Admin uniform cleanup */
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > h1 {
  position: relative;
  max-width: 1280px;
  width: 100%;
  padding: 28px 0 14px;
  margin: 0;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > h1::after {
  content: "Workspace";
  display: block;
  margin-top: 6px;
  color: #8ea4c6;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .admin-card,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .admin-stats,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .alert,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > form.admin-card,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .dashboard-hero,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .dashboard-section,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .dashboard-note {
  max-width: 1280px;
  width: 100%;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-card,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) form.admin-card {
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 20px;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-card:has(.admin-table) {
  padding: 0;
  overflow: hidden;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-table {
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-table th,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-table td {
  padding: 16px;
  vertical-align: top;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-table td strong {
  color: #fff;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-table a:not(.small-btn) {
  color: #9db4ff;
  font-weight: 800;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .small-btn,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-card .btn {
  border-radius: 10px;
  background: linear-gradient(135deg, #0fb9c6, #22d3cc);
  color: #fff;
  box-shadow: 0 12px 26px rgba(34, 211, 204, .18);
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-table .small-btn {
  min-height: 34px;
  padding: 8px 11px;
  margin: 2px 4px 2px 0;
  font-size: 12px;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-stats .admin-card {
  margin: 0;
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-stats .admin-card h3 {
  color: #9fb1d2;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-stats .admin-card strong {
  color: #fff;
  font-size: 34px;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .field {
  margin-bottom: 18px;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-card input,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-card select,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-card textarea {
  min-height: 46px;
  border-radius: 12px;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-card textarea {
  line-height: 1.55;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .alert.success {
  background: rgba(16, 185, 129, .16);
  border: 1px solid rgba(16, 185, 129, .28);
  color: #a7f3d0;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .alert.error {
  background: rgba(244, 63, 94, .16);
  border: 1px solid rgba(244, 63, 94, .28);
  color: #fecdd3;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .dashboard-wrap {
  padding-top: 0;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .dashboard-hero {
  margin-top: 28px;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .dashboard-chat-cta {
  border: 1px solid rgba(148, 163, 184, .18);
  background: #0e1728;
  color: #dbe7ff;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .dashboard-eyebrow {
  background: rgba(104, 133, 255, .16);
  border-color: rgba(104, 133, 255, .28);
  color: #b8c7ff;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap[style*="max-width:460px"] {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap[style*="max-width:460px"] .admin-card {
  width: 100%;
  background: rgba(13, 34, 43, .94);
  border: 1px solid rgba(148, 163, 184, .18);
  color: #dbe7ff;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap[style*="max-width:460px"] .admin-card h1,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap[style*="max-width:460px"] .admin-card label {
  color: #fff;
}

@media (max-width: 900px) {
  body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-card:has(.admin-table) {
    padding: 14px;
  }

  body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-table tr {
    background: #0e1728;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 14px;
    overflow: hidden;
  }

  body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-table td {
    padding: 12px 14px 12px 44%;
    min-height: 44px;
    white-space: normal;
  }

  body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-table td::before {
    left: 14px;
    color: #8ea4c6;
  }
}

/* Operating dashboard */
.ops-dashboard {
  --ops-panel: rgba(13, 34, 43, .94);
  --ops-panel-deep: #071820;
  --ops-border: rgba(148, 163, 184, .18);
  --ops-blue: #22d3cc;
  --ops-green: #4ade80;
  --ops-cyan: #38bdf8;
  --ops-gold: #f59e0b;
}

body.admin-body:not(.admin-suite-body):not(.live-chat-page) .ops-dashboard > .ops-hero,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .ops-dashboard > .ops-main-grid,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .ops-dashboard > .ops-lower-grid {
  grid-column: 2;
  max-width: 1480px;
  width: 100%;
}

.ops-hero,
.ops-panel {
  border: 1px solid var(--ops-border);
  background: var(--ops-panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .24);
}

.ops-hero {
  position: relative;
  margin-top: 28px;
  border-radius: 16px;
  padding: 30px;
  display: grid;
  gap: 26px;
}

.ops-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #22d3cc;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ops-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.ops-hero p {
  max-width: 620px;
  margin: 12px 0 0;
  color: #9fb1d2;
  font-size: 16px;
}

.ops-hero-actions {
  position: absolute;
  right: 58px;
  top: 58px;
  display: flex;
  gap: 10px;
}

.ops-dark-btn,
.ops-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 900;
}

.ops-dark-btn {
  color: #dbe7ff;
  background: #061016;
  border: 1px solid var(--ops-border);
}

.ops-primary-btn {
  color: #fff;
  background: linear-gradient(135deg, #0fb9c6, #22d3cc);
  box-shadow: 0 14px 30px rgba(34, 211, 204, .2);
}

.ops-primary-btn.small {
  min-height: 38px;
  padding: 8px 14px;
}

.ops-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.ops-stat-card {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 4px 14px;
  min-height: 122px;
  padding: 18px;
  border: 1px solid var(--ops-border);
  border-radius: 12px;
  background: #0b1b23;
  color: #dbe7ff;
}

.ops-icon {
  grid-row: span 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(34, 211, 204, .14);
  color: #5eead4;
  font-weight: 900;
}

.ops-icon.teal { background: rgba(52, 211, 153, .14); color: #5eead4; }
.ops-icon.amber { background: rgba(245, 158, 11, .16); color: #f59e0b; }
.ops-icon.cyan { background: rgba(56, 189, 248, .14); color: #38bdf8; }
.ops-icon.green { background: rgba(34, 197, 94, .14); color: #4ade80; }

.ops-stat-card small {
  color: #9fb1d2;
  font-weight: 900;
}

.ops-stat-card strong {
  color: #fff;
  font-size: 26px;
  line-height: 1;
}

.ops-stat-card em {
  color: #4ade80;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.ops-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  margin-top: 22px;
}

.ops-main-grid.bottom {
  margin-bottom: 36px;
}

.ops-panel {
  border-radius: 14px;
  overflow: hidden;
}

.ops-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid rgba(148, 163, 184, .12);
}

.ops-panel-head.compact {
  padding-bottom: 18px;
}

.ops-panel-head h2 {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.ops-panel-head a {
  color: #22d3cc;
  font-weight: 900;
}

.ops-badge,
.ops-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(34, 211, 204, .16);
  color: #8df3ec;
  font-size: 12px;
  font-weight: 900;
}

.ops-status {
  background: rgba(74, 222, 128, .14);
  color: #74f0a6;
}

.ops-status.muted {
  background: rgba(34, 211, 204, .12);
  color: #8df3ec;
}

/* Admin analytics workspace */
.analytics-wrap {
  --ops-panel: rgba(13, 34, 43, .94);
  --ops-panel-deep: #071820;
  --ops-border: rgba(148, 163, 184, .18);
}

.analytics-wrap .admin-card {
  border: 1px solid var(--ops-border);
  background: var(--ops-panel);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .16);
}

.analytics-wrap .admin-card h3,
.analytics-wrap .admin-card p,
.analytics-wrap .admin-table td {
  color: #dbe7ff;
}

.analytics-wrap .admin-stats .admin-card strong {
  color: #fff;
}

.analytics-wrap .admin-table th {
  background: #071820;
  color: #91a6c6;
}

.analytics-wrap .admin-table tr:hover td {
  background: rgba(8, 19, 27, .5);
}

.analytics-wrap .analytics-stats {
  margin-bottom: 20px;
}

.analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 20px;
  margin-bottom: 20px;
}

.analytics-panel {
  overflow: hidden;
}

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

.analytics-head span {
  display: block;
  margin-bottom: 6px;
  color: #52d9e7;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.analytics-head h2 {
  margin: 0;
  color: #f8fbff;
  font-size: 20px;
}

.analytics-table small {
  display: block;
  max-width: 620px;
  overflow-wrap: anywhere;
}

.analytics-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 30px;
  border-radius: 999px;
  background: rgba(34, 211, 204, .14);
  color: #67e8f9;
  font-weight: 900;
}

.analytics-source-list,
.analytics-status-list {
  display: grid;
  gap: 14px;
}

.analytics-source {
  display: grid;
  gap: 9px;
}

.analytics-source div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #dbe7ff;
}

.analytics-source span,
.analytics-status-list span {
  color: #9fb1d2;
  font-size: 13px;
}

.analytics-source em {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, .16);
}

.analytics-source i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22d3cc, #4ade80);
}

.analytics-status-list div {
  padding: 15px;
  border: 1px solid var(--ops-border);
  border-radius: 14px;
  background: rgba(8, 19, 27, .48);
}

.analytics-status-list strong {
  display: block;
  margin-bottom: 6px;
  color: #f8fbff;
}

.ops-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px 22px 0;
}

.ops-metric-row div {
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 10px;
  background: #071820;
  padding: 16px;
}

.ops-metric-row small,
.ops-health-grid small,
.ops-list-item small,
.ops-table small,
.ops-activity small {
  display: block;
  color: #91a6c6;
  font-weight: 800;
}

.ops-metric-row strong,
.ops-health-grid strong {
  color: #fff;
  font-size: 22px;
}

.ops-chart {
  position: relative;
  height: 330px;
  margin: 8px 22px 22px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(to bottom, transparent 0 54px, rgba(148, 163, 184, .12) 55px),
    #0b1b23;
  overflow: hidden;
}

.ops-chart svg {
  width: 100%;
  height: 100%;
}

.ops-area {
  fill: url(#opsLineFill);
}

.ops-line {
  fill: none;
  stroke-width: 4;
}

.ops-line.blue { stroke: #22d3cc; }
.ops-line.green { stroke: #4ade80; }
.ops-line.gold { stroke: #f59e0b; }

.ops-chart-labels {
  position: absolute;
  right: 18px;
  top: 18px;
  display: flex;
  gap: 16px;
  color: #c6d5ef;
  font-size: 12px;
  font-weight: 900;
}

.ops-chart-labels span::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 5px;
  border-radius: 50%;
  background: #22d3cc;
}

.ops-chart-labels span:nth-child(2)::before { background: #4ade80; }
.ops-chart-labels span:nth-child(3)::before { background: #f59e0b; }

.ops-activity-list,
.ops-list,
.ops-shortcuts,
.ops-health-grid {
  padding: 18px 22px 22px;
}

.ops-activity {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  color: #dbe7ff;
  border-bottom: 1px solid rgba(148, 163, 184, .1);
}

.ops-dot {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(74, 222, 128, .14);
}

.ops-dot::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ade80;
}

.ops-lower-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.ops-progress-list {
  display: grid;
  gap: 20px;
  padding: 22px;
}

.ops-progress-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  color: #dbe7ff;
}

.ops-progress-list span {
  color: #9fb1d2;
  font-weight: 900;
}

.ops-progress-list strong {
  color: #fff;
}

.ops-progress-list em {
  grid-column: 1 / -1;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3cc, #38bdf8);
}

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

.ops-list-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 12px;
  background: #071820;
}

.ops-list-item > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(34, 211, 204, .14);
  color: #8df3ec;
  font-weight: 900;
}

.ops-list-item strong {
  color: #fff;
}

.ops-health-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ops-health-grid div {
  min-height: 92px;
  display: grid;
  align-content: center;
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 12px;
  background: #071820;
  padding: 14px;
}

.ops-table {
  width: 100%;
  border-collapse: collapse;
}

.ops-table th,
.ops-table td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, .12);
  color: #dbe7ff;
}

.ops-table th {
  color: #91a6c6;
  background: #071820;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ops-table td strong {
  display: block;
  color: #fff;
}

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

.ops-shortcuts a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 10px;
  background: #0e1728;
  color: #dbe7ff;
  font-weight: 900;
}

@media (max-width: 1200px) {
  .ops-stat-grid,
  .ops-lower-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-main-grid,
  .analytics-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .ops-hero {
    margin-top: 18px;
    padding: 20px;
  }

  .ops-hero-actions {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ops-stat-grid,
  .ops-lower-grid,
  .ops-metric-row,
  .ops-health-grid {
    grid-template-columns: 1fr;
  }

  .ops-chart {
    height: 230px;
    margin: 8px 14px 14px;
  }

  .ops-panel-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

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

  .ops-table,
  .analytics-table {
    display: block;
    overflow-x: auto;
  }

  .analytics-source div {
    display: grid;
  }
}

/* Public frontend Bootstrap-style polish */
body:not(.admin-body) {
  --public-primary: #12355b;
  --public-primary-2: #1f7fbf;
  --public-accent: #009f98;
  --public-accent-2: #22c7bd;
  --public-ink: #0f2742;
  --public-muted: #62748c;
  --public-border: #dce8f3;
  --public-soft: #f4f9fc;
  --public-card: #ffffff;
  background:
    radial-gradient(circle at 12% 0%, rgba(34, 199, 189, .12), transparent 28rem),
    radial-gradient(circle at 90% 12%, rgba(31, 127, 191, .12), transparent 26rem),
    linear-gradient(180deg, #fbfdff 0%, #f6fbff 42%, #ffffff 100%);
  color: #152033;
}

body:not(.admin-body) header {
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(220, 232, 243, .9);
  box-shadow: 0 12px 34px rgba(15, 39, 66, .06);
}

body:not(.admin-body) .container {
  width: min(1180px, calc(100% - 32px));
}

body:not(.admin-body) .brand {
  color: var(--public-ink);
  letter-spacing: -.02em;
}

body:not(.admin-body) .brand-icon {
  background: linear-gradient(135deg, #e9fbf9, #eaf4ff);
  color: var(--public-accent);
  box-shadow: inset 0 0 0 1px rgba(0, 159, 152, .12);
}

body:not(.admin-body) .nav-links a {
  color: #42526a;
  font-weight: 800;
}

body:not(.admin-body) .nav-links a::after {
  background: linear-gradient(90deg, var(--public-accent), var(--public-primary-2));
}

body:not(.admin-body) .btn,
body:not(.admin-body) .nav-btn {
  background: linear-gradient(135deg, var(--public-primary), var(--public-primary-2));
  color: #fff;
  box-shadow: 0 16px 34px rgba(31, 127, 191, .22);
}

body:not(.admin-body) .btn-secondary,
body:not(.admin-body) .ghost-btn {
  background: #fff;
  color: var(--public-primary);
  border: 1px solid var(--public-border);
  box-shadow: 0 10px 24px rgba(15, 39, 66, .06);
}

body:not(.admin-body) .hero {
  padding: clamp(54px, 7vw, 96px) 0 clamp(44px, 6vw, 76px);
}

body:not(.admin-body) .hero::before {
  height: 100%;
  background:
    linear-gradient(135deg, rgba(234, 251, 248, .96), rgba(255, 255, 255, 0) 60%),
    radial-gradient(circle at 82% 22%, rgba(31, 127, 191, .16), transparent 22rem);
}

body:not(.admin-body) .hero-grid {
  gap: clamp(30px, 5vw, 64px);
}

body:not(.admin-body) .hero h1 {
  color: var(--public-ink);
  letter-spacing: -.045em;
}

body:not(.admin-body) .hero h1 span {
  background: linear-gradient(90deg, var(--public-accent), var(--public-primary-2), #6b7cff);
  -webkit-background-clip: text;
  background-clip: text;
}

body:not(.admin-body) .hero p {
  color: #364c63;
}

body:not(.admin-body) .eyebrow,
body:not(.admin-body) .tag {
  background: #eafbf8;
  border-color: #c8f1eb;
  color: #007a73;
}

body:not(.admin-body) .trust-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 159, 152, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
}

body:not(.admin-body) .hero-photo-bg {
  background: linear-gradient(135deg, #dff8f5, #e6f2ff);
}

body:not(.admin-body) .hero-photo,
body:not(.admin-body) .photo-badge {
  box-shadow: 0 24px 60px rgba(15, 39, 66, .16);
}

body:not(.admin-body) .section-title,
body:not(.admin-body) .service-box h1,
body:not(.admin-body) .question-box h1 {
  color: var(--public-ink);
  letter-spacing: -.035em;
}

body:not(.admin-body) .section-subtitle,
body:not(.admin-body) .service-lead,
body:not(.admin-body) .card p,
body:not(.admin-body) .spectrum-card p,
body:not(.admin-body) .question-card p,
body:not(.admin-body) .question-text,
body:not(.admin-body) .service-content {
  color: var(--public-muted);
}

body:not(.admin-body) .premium-spectrum,
body:not(.admin-body) footer {
  background:
    radial-gradient(circle at 15% 0%, rgba(0, 159, 152, .08), transparent 24rem),
    linear-gradient(180deg, #f7fbff, #edf7fb);
}

body:not(.admin-body) .card,
body:not(.admin-body) .spectrum-card,
body:not(.admin-body) .step,
body:not(.admin-body) .about-box,
body:not(.admin-body) .testimonial,
body:not(.admin-body) .question-card,
body:not(.admin-body) .service-box,
body:not(.admin-body) .question-box {
  border: 1px solid var(--public-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 36px rgba(15, 39, 66, .07);
}

body:not(.admin-body) .card:hover,
body:not(.admin-body) .spectrum-card:hover,
body:not(.admin-body) .question-card:hover,
body:not(.admin-body) .service-card-link:hover {
  border-color: rgba(31, 127, 191, .28);
  box-shadow: 0 22px 54px rgba(15, 39, 66, .12);
}

body:not(.admin-body) .icon {
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}

body:not(.admin-body) .teal { background: linear-gradient(135deg, #009f98, #22c7bd); }
body:not(.admin-body) .coral { background: linear-gradient(135deg, #ff6b5f, #ff9d8f); }
body:not(.admin-body) .purple { background: linear-gradient(135deg, #5865d6, #7c8cff); }
body:not(.admin-body) .amber { background: linear-gradient(135deg, #f59e0b, #f7c45f); }

body:not(.admin-body) .quote-box,
body:not(.admin-body) .final-cta,
body:not(.admin-body) .question-selected-box {
  background:
    radial-gradient(circle at top right, rgba(34, 199, 189, .32), transparent 22rem),
    linear-gradient(135deg, #102a45, #071820);
}

body:not(.admin-body) .service-box,
body:not(.admin-body) .question-box {
  max-width: 980px;
  padding: clamp(24px, 4vw, 44px);
}

body:not(.admin-body) .service-content h2,
body:not(.admin-body) .question-support-panel h2,
body:not(.admin-body) .related-questions h2 {
  color: var(--public-ink);
}

body:not(.admin-body) .service-content p,
body:not(.admin-body) .service-content li,
body:not(.admin-body) .question-text p,
body:not(.admin-body) .question-text li {
  font-size: 1.02rem;
  line-height: 1.78;
}

body:not(.admin-body) .question-support-panel,
body:not(.admin-body) .question-intro {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid #d8edf1;
  border-radius: 18px;
  background: linear-gradient(135deg, #f0fbfa, #f8fbff);
}

body:not(.admin-body) .answer-preview-heading {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 24px 24px 8px;
  color: var(--public-ink);
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 900;
  text-align: center;
}

body:not(.admin-body) .locked-answer-preview {
  position: relative;
  margin-top: 0;
  min-height: 300px;
  border: 1px solid #d8edf1;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(0, 159, 152, .12), transparent 18rem),
    linear-gradient(180deg, #ffffff, #f4fbff);
  box-shadow: 0 18px 44px rgba(15, 39, 66, .08);
}

body:not(.admin-body) .locked-answer-copy {
  padding: clamp(24px, 4vw, 42px);
  color: #23384d;
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
}

body:not(.admin-body) .locked-answer-copy p {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: 1.03rem;
  line-height: 1.84;
}

body:not(.admin-body) .locked-answer-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 24, 32, .18), rgba(7, 24, 32, .52));
}

body:not(.admin-body) .locked-answer-preview .question-support-panel {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(520px, calc(100% - 32px));
  margin: 0;
  transform: translate(-50%, -50%);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .46);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 58px rgba(7, 24, 32, .26);
}

body:not(.admin-body) .locked-answer-preview .question-support-panel h2 {
  margin: 8px 0;
  font-size: clamp(1.7rem, 5vw, 2.35rem);
}

body:not(.admin-body) .locked-answer-preview .question-support-panel p {
  margin: 0 0 18px;
  color: #30465d;
  font-weight: 800;
}

body:not(.admin-body) .locked-answer-preview .question-support-panel .btn {
  width: 100%;
  max-width: 280px;
}

body:not(.admin-body) .question-actions,
body:not(.admin-body) .service-cta-row {
  align-items: center;
}

body:not(.admin-body) .question-filter-form {
  padding: 12px;
  border: 1px solid var(--public-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 34px rgba(15, 39, 66, .06);
}

body:not(.admin-body) .question-filter-form input,
body:not(.admin-body) .question-filter-form select {
  background: #fbfdff;
  border-color: #cbdced;
}

body:not(.admin-body) .order-modal {
  border: 1px solid rgba(220, 232, 243, .9);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(7, 24, 32, .28);
}

body:not(.admin-body) .modal-head {
  padding-bottom: 16px;
  border-bottom: 1px solid #edf3f8;
}

body:not(.admin-body) .modal-head h2 {
  color: var(--public-ink);
}

body:not(.admin-body) .form-notice,
body:not(.admin-body) .math-check {
  background: linear-gradient(135deg, #f8fbff, #f0fbfa);
  border-color: #d8edf1;
}

body:not(.admin-body) input,
body:not(.admin-body) select,
body:not(.admin-body) textarea,
body:not(.admin-body) .rich-editor {
  border-color: #cbdced;
  background: #fbfdff;
}

body:not(.admin-body) input:focus,
body:not(.admin-body) select:focus,
body:not(.admin-body) textarea:focus,
body:not(.admin-body) .rich-editor:focus {
  border-color: var(--public-accent);
  box-shadow: 0 0 0 4px rgba(0, 159, 152, .12);
}

body:not(.admin-body) .toolbar button {
  border-radius: 10px;
  background: #fff;
}

@media (min-width: 769px) {
  body:not(.admin-body) .questions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.admin-body) .all-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body:not(.admin-body) .container {
    width: min(100% - 24px, 1180px);
  }

  body:not(.admin-body) .nav-right {
    border-radius: 18px;
    border-color: var(--public-border);
  }

  body:not(.admin-body) .hero {
    padding: 38px 0 30px;
  }

  body:not(.admin-body) .hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  body:not(.admin-body) section {
    padding: 42px 0;
  }

  body:not(.admin-body) .card,
  body:not(.admin-body) .spectrum-card,
  body:not(.admin-body) .step,
  body:not(.admin-body) .about-box,
  body:not(.admin-body) .testimonial,
  body:not(.admin-body) .question-card {
    padding: 20px;
    border-radius: 16px;
  }

  body:not(.admin-body) #services .all-services-grid,
  body:not(.admin-body) #services .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body:not(.admin-body) #services .service-card-link {
    min-height: 68px;
    border-radius: 14px !important;
    border: 1px solid var(--public-border);
  }

  body:not(.admin-body) .questions-grid,
  body:not(.admin-body) .services-grid,
  body:not(.admin-body) .spectrum-grid,
  body:not(.admin-body) .portfolio-grid,
  body:not(.admin-body) .steps,
  body:not(.admin-body) .quote-grid {
    grid-template-columns: 1fr !important;
  }

  body:not(.admin-body) .question-filter-form {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 18px;
  }

  body:not(.admin-body) .service-box,
  body:not(.admin-body) .question-box {
    padding: 22px;
    border-radius: 18px;
  }

  body:not(.admin-body) .locked-answer-preview {
    min-height: 360px;
    border-radius: 18px;
  }

  body:not(.admin-body) .locked-answer-copy {
    padding: 22px;
    filter: blur(4.5px);
  }

  body:not(.admin-body) .service-cta-row,
  body:not(.admin-body) .question-actions,
  body:not(.admin-body) .modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .service-cta-row .btn,
  body:not(.admin-body) .question-actions .btn,
  body:not(.admin-body) .modal-actions .btn,
  body:not(.admin-body) .modal-actions .ghost-btn {
    width: 100%;
    max-width: none;
  }

  body:not(.admin-body) .order-modal {
    border-radius: 22px 22px 0 0;
    padding: 18px;
  }
}

@media (max-width: 430px) {
  body:not(.admin-body) .container {
    width: min(100% - 18px, 1180px);
  }

  body:not(.admin-body) #services .all-services-grid,
  body:not(.admin-body) #services .services-grid {
    gap: 9px !important;
  }

  body:not(.admin-body) #services .service-card-link h3 {
    font-size: 12.5px !important;
  }

  body:not(.admin-body) .hero-actions .btn,
  body:not(.admin-body) .btn {
    min-width: 0;
  }
}

/* Notika-style light admin refresh */
body.admin-body {
  --notika-teal: #00b894;
  --notika-teal-dark: #009f84;
  --notika-blue: #0ea5e9;
  --notika-red: #ef4444;
  --notika-ink: #071827;
  --notika-muted: #687386;
  --notika-border: #e6ebf1;
  --notika-soft: #f4f7fa;
  background: #f4f7fa !important;
  color: var(--notika-ink);
}

body.admin-body::before {
  display: none !important;
}

body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]),
body.admin-body:not(.live-chat-page) .dashboard-wrap {
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh;
  display: block !important;
  margin: 0 !important;
  padding: 0 18px 34px !important;
  background: #f4f7fa !important;
}

.notika-topbar {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 58px;
  margin: 0 -18px;
  padding: 0 18px;
  background: #fff;
  border-bottom: 1px solid #e7ebef;
  box-shadow: 0 2px 9px rgba(15, 23, 42, .06);
  position: sticky;
  top: 0;
  z-index: 80;
}

.notika-brand {
  display: grid;
  grid-template-columns: 32px auto;
  gap: 1px 10px;
  align-items: center;
  color: var(--notika-ink);
}

.notika-brand span {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--notika-teal);
  color: #fff;
  font-weight: 900;
}

.notika-brand strong {
  color: var(--notika-ink);
  font-size: 18px;
  line-height: 1;
}

.notika-brand small {
  color: #374151;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.notika-search input {
  width: min(100%, 480px);
  min-height: 38px;
  border: 1px solid #e0e6ec;
  border-radius: 999px;
  background: #f8fafc;
  padding: 8px 16px;
  color: var(--notika-ink);
}

.notika-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.notika-icon-btn {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #2f3a45;
  box-shadow: none;
  cursor: pointer;
  font-size: 17px;
}

.notika-icon-btn:hover,
.notika-action-dropdown:hover .notika-icon-btn {
  background: #edf9f6;
  color: var(--notika-teal);
}

.notika-icon-btn b {
  position: absolute;
  top: -5px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f04438;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  border: 2px solid #fff;
}

.notika-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--notika-ink);
  font-weight: 900;
}

.notika-profile span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--notika-teal), #1dd1a1);
  color: #fff;
}

.notika-action-dropdown {
  position: relative;
}

.notika-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: -12px;
  width: min(330px, calc(100vw - 24px));
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  overflow: hidden;
  z-index: 120;
}

.notika-action-dropdown:hover .notika-dropdown,
.notika-action-dropdown:focus-within .notika-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.notika-dropdown h3 {
  margin: 0;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--notika-teal), var(--notika-teal-dark));
  color: #fff;
  font-size: 18px;
}

.notika-dropdown a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 2px 12px;
  padding: 13px 18px;
  color: var(--notika-ink);
  border-bottom: 1px solid #edf1f5;
}

.notika-dropdown a span {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8edf3;
  color: #5c6673;
  font-size: 12px;
  font-weight: 900;
}

.notika-dropdown a strong {
  color: var(--notika-ink);
  font-size: 14px;
}

.notika-dropdown a small,
.notika-empty {
  color: var(--notika-muted);
  font-size: 13px;
}

.notika-dropdown .notika-view-all {
  display: block;
  padding: 15px 18px;
  color: var(--notika-teal);
  text-align: center;
  font-weight: 900;
  background: #f8fafc;
}

.notika-empty {
  margin: 0;
  padding: 18px;
}

body.admin-body:not(.live-chat-page) .admin-nav,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .admin-nav {
  position: sticky !important;
  top: 58px !important;
  z-index: 70;
  min-height: 58px;
  height: auto !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  gap: 0 !important;
  margin: 0 -18px 24px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-bottom: 1px solid #e7ebef !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .04) !important;
  overflow: visible !important;
}

body.admin-body .admin-nav::before,
body.admin-body .admin-nav::after {
  display: none !important;
}

.admin-menu-group {
  position: relative;
  display: flex;
  align-items: stretch;
}

body.admin-body:not(.live-chat-page) .admin-nav a,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-nav a,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not(.dashboard-wrap) .admin-nav a {
  width: auto !important;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center !important;
  gap: 8px;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #26323f !important;
  box-shadow: none !important;
  font-weight: 800;
}

.admin-menu-group > a::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: .7;
}

.admin-menu-group > a[href*="logout"]::after,
.admin-menu-dropdown a::after {
  display: none;
}

body.admin-body:not(.live-chat-page) .admin-nav a:hover,
body.admin-body:not(.live-chat-page) .admin-nav a.active,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .dashboard-nav a.active {
  color: var(--notika-teal) !important;
  background: #eefaf7 !important;
  box-shadow: inset 0 -3px 0 var(--notika-teal) !important;
}

.admin-menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid #edf1f5;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 90;
}

.admin-menu-group:hover .admin-menu-dropdown,
.admin-menu-group:focus-within .admin-menu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

body.admin-body:not(.live-chat-page) .admin-menu-dropdown a {
  width: 100% !important;
  min-height: 40px !important;
  justify-content: flex-start !important;
  padding: 10px 16px !important;
  color: #334155 !important;
}

body.admin-body:not(.live-chat-page) .admin-menu-dropdown a:hover {
  box-shadow: none !important;
}

body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > h1,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .admin-card,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .admin-stats,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .alert,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > form.admin-card,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .dashboard-hero,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .dashboard-section,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .dashboard-note,
body.admin-body:not(.live-chat-page) .ops-dashboard > .ops-hero,
body.admin-body:not(.live-chat-page) .ops-dashboard > .ops-main-grid,
body.admin-body:not(.live-chat-page) .ops-dashboard > .ops-lower-grid {
  max-width: 1280px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  grid-column: auto !important;
}

body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > h1 {
  margin: 24px auto 18px !important;
  padding: 0 !important;
  color: var(--notika-ink) !important;
}

body.admin-body:not(.live-chat-page) .admin-wrap > h1::before,
body.admin-body:not(.live-chat-page) .admin-wrap > h1::after {
  display: none !important;
}

body.admin-body:not(.live-chat-page) .admin-card,
body.admin-body:not(.live-chat-page) form.admin-card,
body.admin-body:not(.live-chat-page) .dashboard-hero,
body.admin-body:not(.live-chat-page) .dashboard-section,
body.admin-body:not(.live-chat-page) .dashboard-note,
body.admin-body:not(.live-chat-page) .ops-hero,
body.admin-body:not(.live-chat-page) .ops-panel,
body.admin-body:not(.live-chat-page) .analytics-wrap .admin-card {
  border: 1px solid var(--notika-border) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--notika-ink) !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .06) !important;
}

.ops-hero {
  margin-top: 26px !important;
  padding: 0 !important;
  overflow: hidden;
}

.ops-hero > div:first-child {
  padding: 30px 30px 10px;
}

.ops-kicker,
.analytics-head span {
  color: var(--notika-teal) !important;
}

.ops-hero h1,
.ops-panel-head h2,
.analytics-head h2,
body.admin-body:not(.live-chat-page) .admin-card h1,
body.admin-body:not(.live-chat-page) .admin-card h2,
body.admin-body:not(.live-chat-page) .admin-card h3 {
  color: var(--notika-ink) !important;
}

.ops-hero p,
.ops-metric-row small,
.ops-health-grid small,
.ops-list-item small,
.ops-table small,
.ops-activity small,
.analytics-source span,
.analytics-status-list span,
body.admin-body:not(.live-chat-page) .admin-card p,
body.admin-body:not(.live-chat-page) .admin-card small {
  color: var(--notika-muted) !important;
}

.ops-hero-actions {
  right: 30px !important;
  top: 30px !important;
}

.ops-dark-btn,
.ops-primary-btn,
body.admin-body:not(.live-chat-page) .small-btn,
body.admin-body:not(.live-chat-page) .admin-card .btn,
.email-compose-btn {
  border: 0 !important;
  border-radius: 4px !important;
  background: var(--notika-teal) !important;
  color: #fff !important;
  box-shadow: 0 3px 10px rgba(0, 184, 148, .22) !important;
  font-weight: 800;
}

.ops-dark-btn:hover,
.ops-primary-btn:hover,
body.admin-body:not(.live-chat-page) .small-btn:hover,
body.admin-body:not(.live-chat-page) .admin-card .btn:hover,
.email-compose-btn:hover {
  background: var(--notika-teal-dark) !important;
  transform: translateY(-1px);
}

.ops-stat-grid {
  padding: 20px 30px 30px;
}

.ops-stat-card {
  min-height: 116px;
  border: 1px solid #e7ebef !important;
  border-radius: 8px !important;
  position: relative;
  overflow: hidden;
  background: var(--notika-teal) !important;
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .08);
}

.ops-stat-card::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 36%;
  background:
    linear-gradient(135deg, transparent 46%, rgba(0, 184, 148, .24) 47% 49%, transparent 50%),
    #fff;
}

.ops-stat-card > * {
  position: relative;
  z-index: 1;
}

.ops-stat-card:nth-child(2) {
  background: #009f84 !important;
}

.ops-stat-card:nth-child(3) {
  background: #22c55e !important;
}

.ops-stat-card:nth-child(4) {
  background: #0891b2 !important;
}

.ops-stat-card:nth-child(5) {
  background: #0ea5e9 !important;
}

.ops-icon {
  background: rgba(255, 255, 255, .22) !important;
  color: #fff !important;
}

.ops-stat-card small,
.ops-stat-card strong,
.ops-stat-card em {
  color: #fff !important;
}

.ops-panel-head {
  border-bottom: 1px solid var(--notika-border) !important;
}

.ops-metric-row div,
.ops-health-grid div,
.ops-list-item,
.analytics-status-list div {
  border: 1px solid #edf1f5 !important;
  background: #f9fbfc !important;
}

.ops-metric-row strong,
.ops-health-grid strong,
.ops-list-item strong,
.ops-table td,
.ops-table td strong,
.ops-activity,
.ops-activity strong,
.analytics-wrap .admin-table td,
.analytics-source div,
.analytics-status-list strong {
  color: var(--notika-ink) !important;
}

.ops-chart {
  background:
    repeating-linear-gradient(to bottom, transparent 0 54px, rgba(15, 23, 42, .08) 55px),
    #fff !important;
}

.ops-line.blue,
.ops-line.green {
  stroke: var(--notika-teal) !important;
}

.ops-line.gold {
  stroke: #10b981 !important;
}

.ops-table th,
.analytics-wrap .admin-table th,
body.admin-body:not(.live-chat-page) .admin-table th {
  background: #f7f9fb !important;
  color: #334155 !important;
}

body.admin-body:not(.live-chat-page) .admin-table td {
  color: var(--notika-ink) !important;
  border-bottom-color: #edf1f5 !important;
}

body.admin-body:not(.live-chat-page) .admin-table tr:hover td,
.analytics-wrap .admin-table tr:hover td {
  background: #f8fffd !important;
}

body.admin-body:not(.live-chat-page) .admin-card input,
body.admin-body:not(.live-chat-page) .admin-card select,
body.admin-body:not(.live-chat-page) .admin-card textarea,
body.admin-body:not(.live-chat-page) .admin-rich-editor,
.suite-search input,
.email-compose-form input,
.email-compose-form textarea {
  border: 1px solid #dfe6ee !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: var(--notika-ink) !important;
  box-shadow: none !important;
}

body.admin-body:not(.live-chat-page) .field label,
body.admin-body:not(.live-chat-page) .admin-card label {
  color: #334155 !important;
}

.analytics-pill,
.ops-badge,
.ops-status {
  background: #e8faf6 !important;
  color: var(--notika-teal-dark) !important;
}

.analytics-source em {
  background: #e7ebef !important;
}

.analytics-source i,
.ops-progress-list em {
  background: linear-gradient(90deg, var(--notika-teal), #1dd1a1) !important;
}

/* Bring the email app into the same light admin family */
.admin-suite-body,
.admin-suite {
  background: #f4f7fa !important;
  color: var(--notika-ink) !important;
}

.suite-sidebar {
  background: #fff !important;
  border-right: 1px solid #e7ebef !important;
  box-shadow: 2px 0 10px rgba(15, 23, 42, .04);
}

.suite-brand strong,
.suite-page-head h1,
.email-read-head h2,
.email-message-card h3 {
  color: var(--notika-ink) !important;
}

.suite-brand span {
  border-radius: 6px !important;
  background: var(--notika-teal) !important;
}

.suite-brand small,
.suite-page-head p,
.email-row-main small,
.email-row-meta small,
.email-read-head p,
.email-read-head small {
  color: var(--notika-muted) !important;
}

.suite-sidebar nav a {
  color: #334155 !important;
  border-radius: 4px !important;
}

.suite-sidebar nav a:hover,
.suite-sidebar nav a.active {
  background: #e8faf6 !important;
  color: var(--notika-teal-dark) !important;
}

.suite-main {
  background: #f4f7fa !important;
}

.suite-topbar {
  background: #fff !important;
  border-bottom: 1px solid #e7ebef !important;
}

.suite-topbar strong,
.email-row-main strong,
.email-row-main b,
.email-message-card,
.email-message-card h3 {
  color: var(--notika-ink) !important;
}

.suite-pill,
.email-secondary-btn {
  border: 1px solid #dfe6ee !important;
  background: #fff !important;
  color: var(--notika-ink) !important;
}

.email-app,
.email-folders,
.email-list,
.email-reader,
.email-message-card,
.email-row {
  border-color: #e7ebef !important;
  background: #fff !important;
  color: var(--notika-ink) !important;
}

.email-folders a:not(.email-compose-btn):hover,
.email-folders a.active,
.email-row:hover,
.email-row.active {
  background: #e8faf6 !important;
}

.email-folders b,
.email-row-meta em {
  background: var(--notika-teal) !important;
  color: #fff !important;
}

@media (max-width: 900px) {
  .notika-topbar {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px 14px;
  }

  .notika-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .notika-search input {
    width: 100%;
  }

  body.admin-body:not(.live-chat-page) .admin-nav,
  body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .admin-nav {
    top: 103px !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
  }

  .admin-menu-dropdown {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 160px;
    min-width: 0;
  }

  .ops-hero-actions {
    position: static !important;
    padding: 0 30px;
  }
}

@media (max-width: 640px) {
  body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]),
  body.admin-body:not(.live-chat-page) .dashboard-wrap {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .notika-topbar,
  body.admin-body:not(.live-chat-page) .admin-nav {
    margin-left: -12px !important;
    margin-right: -12px !important;
  }

  .notika-brand strong {
    font-size: 15px;
  }

  .notika-profile strong {
    display: none;
  }

  .ops-hero > div:first-child,
  .ops-stat-grid {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Soft UI premium left-pane admin theme */
body.admin-body {
  --soft-bg: #f8f9fe;
  --soft-card: rgba(255, 255, 255, .94);
  --soft-ink: #344767;
  --soft-muted: #8392ab;
  --soft-line: #edf0f7;
  --soft-dark: #1f2a44;
  --soft-pink: #e91e8f;
  --soft-purple: #7b2ff7;
  --soft-blue: #2152ff;
  --soft-success: #17c1a3;
  background:
    radial-gradient(circle at 80% 0%, rgba(233, 30, 143, .08), transparent 28rem),
    linear-gradient(180deg, #fbfcff, var(--soft-bg)) !important;
  color: var(--soft-ink) !important;
}

body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]),
body.admin-body:not(.live-chat-page) .dashboard-wrap {
  display: grid !important;
  grid-template-columns: 248px minmax(0, 1fr) !important;
  gap: 0 26px !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 18px 24px 38px 18px !important;
  background: transparent !important;
}

body.admin-body:not(.live-chat-page) .admin-nav,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .admin-nav {
  grid-column: 1 !important;
  grid-row: 1 / span 120 !important;
  position: sticky !important;
  top: 18px !important;
  align-self: start !important;
  height: calc(100vh - 36px) !important;
  min-height: 0 !important;
  width: 248px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 86px 16px 18px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .86) !important;
  box-shadow: 0 20px 45px rgba(31, 42, 68, .08) !important;
  backdrop-filter: blur(16px);
}

body.admin-body:not(.live-chat-page) .admin-nav::before {
  content: "PaulineMW";
  position: absolute;
  top: 20px;
  left: 18px;
  right: 18px;
  min-height: 42px;
  display: flex !important;
  align-items: center;
  padding-left: 52px;
  border-bottom: 1px solid var(--soft-line);
  color: var(--soft-ink);
  font-size: 15px;
  font-weight: 900;
}

body.admin-body:not(.live-chat-page) .admin-nav::after {
  content: "PM";
  position: absolute;
  top: 16px;
  left: 18px;
  width: 36px;
  height: 36px;
  display: grid !important;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--soft-pink), var(--soft-purple));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(233, 30, 143, .25);
}

body.admin-body:not(.live-chat-page) .admin-nav > a,
body.admin-body:not(.live-chat-page) .admin-nav .admin-menu-group > a,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-nav a,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not(.dashboard-wrap) .admin-nav a {
  width: 100% !important;
  min-height: 44px !important;
  justify-content: flex-start !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: var(--soft-ink) !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

body.admin-body:not(.live-chat-page) .admin-nav > a::before,
body.admin-body:not(.live-chat-page) .admin-nav .admin-menu-group > a::before {
  content: "";
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .82), rgba(255,255,255,.38)),
    #f1f3fb;
  box-shadow: 0 7px 14px rgba(31, 42, 68, .08);
}

body.admin-body:not(.live-chat-page) .admin-nav a:hover,
body.admin-body:not(.live-chat-page) .admin-nav a.active,
body.admin-body:not(.admin-suite-body):not(.live-chat-page) .dashboard-nav a.active {
  color: var(--soft-ink) !important;
  background: #fff !important;
  box-shadow: 0 12px 26px rgba(31, 42, 68, .08) !important;
}

body.admin-body:not(.live-chat-page) .admin-nav a.active::before,
body.admin-body:not(.live-chat-page) .admin-nav a:hover::before {
  background: linear-gradient(135deg, var(--soft-pink), var(--soft-purple));
}

.admin-menu-group {
  width: 100%;
  display: grid !important;
}

.admin-menu-group > a::after {
  margin-left: auto;
  border-top-color: #9aa7bd;
}

.admin-menu-group > a[href*="logout"]::after {
  display: none;
}

.admin-menu-dropdown {
  position: static !important;
  min-width: 0 !important;
  max-height: 0;
  padding: 0 0 0 40px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  overflow: hidden;
  transition: max-height .22s ease;
}

.admin-menu-group:hover .admin-menu-dropdown,
.admin-menu-group:focus-within .admin-menu-dropdown {
  max-height: 260px;
}

body.admin-body:not(.live-chat-page) .admin-menu-dropdown a {
  min-height: 34px !important;
  padding: 7px 10px !important;
  color: var(--soft-muted) !important;
  font-size: 13px !important;
  border-radius: 10px !important;
}

body.admin-body:not(.live-chat-page) .admin-menu-dropdown a:hover {
  color: var(--soft-pink) !important;
  background: rgba(233, 30, 143, .07) !important;
  box-shadow: none !important;
}

.notika-topbar {
  grid-column: 2 !important;
  position: sticky !important;
  top: 18px !important;
  z-index: 60;
  min-height: 60px !important;
  margin: 0 0 22px !important;
  padding: 10px 18px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .9) !important;
  box-shadow: 0 18px 45px rgba(31, 42, 68, .08) !important;
  backdrop-filter: blur(16px);
}

.notika-brand span {
  background: linear-gradient(135deg, var(--soft-pink), var(--soft-purple)) !important;
  border-radius: 10px !important;
}

.notika-brand strong,
.notika-profile,
.notika-dropdown a strong {
  color: var(--soft-ink) !important;
}

.notika-brand small,
.notika-dropdown a small,
.notika-empty {
  color: var(--soft-muted) !important;
}

.notika-search input {
  border: 1px solid #e9edf5 !important;
  border-radius: 12px !important;
  background: #fff !important;
}

.notika-icon-btn {
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 10px 22px rgba(31, 42, 68, .08) !important;
}

.notika-icon-btn:hover {
  color: var(--soft-pink) !important;
}

.notika-profile span,
.notika-dropdown h3 {
  background: linear-gradient(135deg, var(--soft-pink), var(--soft-purple)) !important;
}

body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > h1,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .admin-card,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .admin-stats,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .alert,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > form.admin-card,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .dashboard-hero,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .dashboard-section,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .dashboard-note,
body.admin-body:not(.live-chat-page) .ops-dashboard > .ops-hero,
body.admin-body:not(.live-chat-page) .ops-dashboard > .ops-main-grid,
body.admin-body:not(.live-chat-page) .ops-dashboard > .ops-lower-grid {
  grid-column: 2 !important;
  max-width: 1320px !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > h1 {
  color: var(--soft-ink) !important;
  margin: 0 0 18px !important;
}

body.admin-body:not(.live-chat-page) .admin-card,
body.admin-body:not(.live-chat-page) form.admin-card,
body.admin-body:not(.live-chat-page) .dashboard-hero,
body.admin-body:not(.live-chat-page) .dashboard-section,
body.admin-body:not(.live-chat-page) .dashboard-note,
body.admin-body:not(.live-chat-page) .ops-hero,
body.admin-body:not(.live-chat-page) .ops-panel,
body.admin-body:not(.live-chat-page) .analytics-wrap .admin-card,
.email-app,
.email-folders,
.email-list,
.email-reader,
.email-message-card,
.email-row,
.live-chat-page .live-head,
.live-chat-page .visitor-panel,
.live-chat-page .chat-panel {
  border: 0 !important;
  border-radius: 18px !important;
  background: var(--soft-card) !important;
  color: var(--soft-ink) !important;
  box-shadow: 0 18px 45px rgba(31, 42, 68, .08) !important;
}

.ops-hero {
  padding: 24px !important;
}

.ops-hero > div:first-child {
  padding: 0 !important;
}

.ops-kicker,
.analytics-head span {
  color: var(--soft-pink) !important;
}

.ops-hero h1,
.ops-panel-head h2,
.analytics-head h2,
.suite-page-head h1,
.live-chat-page .live-head h1,
.live-chat-page .visitor-panel h2,
.live-chat-page .chat-panel-head h2,
body.admin-body:not(.live-chat-page) .admin-card h1,
body.admin-body:not(.live-chat-page) .admin-card h2,
body.admin-body:not(.live-chat-page) .admin-card h3 {
  color: var(--soft-ink) !important;
}

.ops-hero p,
.suite-page-head p,
.live-chat-page .live-head p,
.live-chat-page .chat-panel-head p,
.live-chat-page .visitor-page,
.ops-metric-row small,
.ops-health-grid small,
.ops-list-item small,
.ops-table small,
.ops-activity small,
body.admin-body:not(.live-chat-page) .admin-card p,
body.admin-body:not(.live-chat-page) .admin-card small {
  color: var(--soft-muted) !important;
}

.ops-stat-grid {
  padding: 0 !important;
  margin-top: 18px;
}

.ops-stat-card {
  min-height: 96px !important;
  grid-template-columns: 1fr 48px !important;
  background: #fff !important;
  color: var(--soft-ink) !important;
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 45px rgba(31, 42, 68, .08) !important;
}

.ops-stat-card::after {
  display: none !important;
}

.ops-icon {
  grid-column: 2;
  grid-row: 1 / span 3;
  background: linear-gradient(135deg, var(--soft-pink), var(--soft-purple)) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(233, 30, 143, .25);
}

.ops-stat-card small,
.ops-stat-card strong {
  color: var(--soft-ink) !important;
}

.ops-stat-card em {
  color: #16a34a !important;
}

.ops-panel-head {
  border-bottom: 1px solid var(--soft-line) !important;
}

.ops-metric-row div,
.ops-health-grid div,
.ops-list-item,
.analytics-status-list div,
.live-chat-page .visitor-item,
.live-chat-page .chat-filter-tabs button {
  border: 1px solid var(--soft-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: var(--soft-ink) !important;
}

.ops-metric-row strong,
.ops-health-grid strong,
.ops-list-item strong,
.ops-table td,
.ops-table td strong,
.ops-activity,
.ops-activity strong,
.analytics-wrap .admin-table td,
.analytics-source div,
.analytics-status-list strong {
  color: var(--soft-ink) !important;
}

.ops-chart {
  background:
    repeating-linear-gradient(to bottom, transparent 0 54px, rgba(131, 146, 171, .14) 55px),
    #fff !important;
}

.ops-line.blue,
.ops-line.gold {
  stroke: var(--soft-pink) !important;
}

.ops-line.green {
  stroke: var(--soft-dark) !important;
}

.ops-area {
  fill: rgba(233, 30, 143, .08) !important;
}

.ops-table th,
.analytics-wrap .admin-table th,
body.admin-body:not(.live-chat-page) .admin-table th {
  background: #f8f9fe !important;
  color: var(--soft-muted) !important;
}

body.admin-body:not(.live-chat-page) .admin-table td {
  color: var(--soft-ink) !important;
  border-bottom-color: var(--soft-line) !important;
}

body.admin-body:not(.live-chat-page) .small-btn,
body.admin-body:not(.live-chat-page) .admin-card .btn,
.ops-dark-btn,
.ops-primary-btn,
.email-compose-btn,
.live-chat-page .sound-btn,
.live-chat-page .back-admin,
.live-chat-page .admin-chat-form button,
.live-chat-page .mobile-chat-tabs button.active {
  border: 0 !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, var(--soft-pink), var(--soft-purple)) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(233, 30, 143, .22) !important;
  font-weight: 900 !important;
}

body.admin-body:not(.live-chat-page) .admin-card input,
body.admin-body:not(.live-chat-page) .admin-card select,
body.admin-body:not(.live-chat-page) .admin-card textarea,
body.admin-body:not(.live-chat-page) .admin-rich-editor,
.suite-search input,
.email-compose-form input,
.email-compose-form textarea,
.live-chat-page .chat-search-wrap input,
.live-chat-page .admin-chat-form input {
  border: 1px solid var(--soft-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--soft-ink) !important;
  box-shadow: inset 0 1px 2px rgba(31, 42, 68, .03) !important;
}

.analytics-pill,
.ops-badge,
.ops-status,
.email-folders b,
.email-row-meta em,
.live-chat-page .unread-pill,
.live-chat-page #liveStatus {
  background: rgba(233, 30, 143, .1) !important;
  color: var(--soft-pink) !important;
}

.analytics-source i,
.ops-progress-list em {
  background: linear-gradient(90deg, var(--soft-pink), var(--soft-purple)) !important;
}

/* Email uses the exact same left-pane shell */
.admin-suite-body .admin-suite {
  grid-template-columns: 248px minmax(0, 1fr) !important;
  gap: 0 26px;
  min-height: 100vh;
  padding: 18px 24px 38px 18px;
  background: transparent !important;
}

.suite-sidebar {
  position: sticky !important;
  top: 18px !important;
  height: calc(100vh - 36px) !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .86) !important;
  box-shadow: 0 20px 45px rgba(31, 42, 68, .08) !important;
  backdrop-filter: blur(16px);
}

.suite-brand {
  border-bottom: 1px solid var(--soft-line);
  margin-bottom: 14px;
}

.suite-brand span {
  background: linear-gradient(135deg, var(--soft-pink), var(--soft-purple)) !important;
  border-radius: 10px !important;
}

.suite-sidebar nav a {
  min-height: 44px;
  border-radius: 12px !important;
  color: var(--soft-ink) !important;
}

.suite-sidebar nav a:hover,
.suite-sidebar nav a.active {
  background: #fff !important;
  color: var(--soft-ink) !important;
  box-shadow: 0 12px 26px rgba(31, 42, 68, .08) !important;
}

.suite-main {
  min-width: 0;
  padding: 0 !important;
  background: transparent !important;
}

.suite-topbar {
  top: 18px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .9) !important;
  box-shadow: 0 18px 45px rgba(31, 42, 68, .08) !important;
}

/* Chat uses the same premium shell without changing chat behavior */
body.live-chat-page {
  background:
    radial-gradient(circle at 80% 0%, rgba(233, 30, 143, .08), transparent 28rem),
    linear-gradient(180deg, #fbfcff, var(--soft-bg)) !important;
  display: grid !important;
  grid-template-columns: 248px minmax(0, 1fr) !important;
  gap: 0 26px;
  padding: 18px 24px 38px 18px !important;
  overflow: auto !important;
}

.chat-admin-sidebar {
  position: sticky !important;
  top: 18px !important;
  grid-column: 1;
  width: 248px !important;
  height: calc(100vh - 36px) !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .86) !important;
  box-shadow: 0 20px 45px rgba(31, 42, 68, .08) !important;
  backdrop-filter: blur(16px);
}

.chat-admin-brand {
  border-bottom: 1px solid var(--soft-line) !important;
}

.chat-admin-brand span {
  background: linear-gradient(135deg, var(--soft-pink), var(--soft-purple)) !important;
  color: #fff !important;
}

.chat-admin-brand strong,
.chat-admin-sidebar a {
  color: var(--soft-ink) !important;
}

.chat-admin-brand small,
.live-chat-page .visitor-page,
.live-chat-page .visitor-detail,
.live-chat-page .visitor-last-event {
  color: var(--soft-muted) !important;
}

.chat-admin-sidebar a {
  border-radius: 12px !important;
  background: transparent !important;
}

.chat-admin-sidebar a:hover,
.chat-admin-sidebar a.active {
  background: #fff !important;
  box-shadow: 0 12px 26px rgba(31, 42, 68, .08) !important;
}

.live-chat-page .live-chat-admin {
  grid-column: 2;
  height: auto !important;
  min-height: calc(100vh - 36px) !important;
  padding: 0 !important;
}

.live-chat-page .live-layout {
  box-shadow: none !important;
}

.live-chat-page .visitor-panel,
.live-chat-page .chat-panel {
  overflow: hidden;
}

.live-chat-page .admin-msg.admin {
  background: linear-gradient(135deg, var(--soft-pink), var(--soft-purple)) !important;
}

.live-chat-page .admin-msg.visitor {
  background: #fff !important;
  color: var(--soft-ink) !important;
  box-shadow: 0 8px 18px rgba(31, 42, 68, .08);
}

.live-chat-page .admin-msg.system {
  background: #fff8e7 !important;
  color: #92630f !important;
}

@media (max-width: 980px) {
  body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]),
  body.admin-body:not(.live-chat-page) .dashboard-wrap,
  .admin-suite-body .admin-suite,
  body.live-chat-page {
    display: block !important;
    padding: 12px !important;
  }

  body.admin-body:not(.live-chat-page) .admin-nav,
  body.admin-body:not(.admin-suite-body):not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .admin-nav,
  .suite-sidebar,
  .chat-admin-sidebar {
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    display: block !important;
    padding: 74px 12px 12px !important;
    margin: 0 0 14px !important;
    overflow: visible !important;
  }

  body.admin-body:not(.live-chat-page) .admin-nav,
  .suite-sidebar nav,
  .chat-admin-sidebar nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body.admin-body:not(.live-chat-page) .admin-nav::before,
  body.admin-body:not(.live-chat-page) .admin-nav::after {
    display: flex !important;
  }

  body.admin-body:not(.live-chat-page) .admin-nav::after {
    display: grid !important;
  }

  .notika-topbar,
  .suite-topbar {
    position: static !important;
    margin-bottom: 14px !important;
  }

  .notika-topbar {
    grid-template-columns: 1fr !important;
  }

  .admin-menu-dropdown {
    max-height: none;
    padding-left: 14px !important;
  }

  .live-chat-page .live-chat-admin {
    min-height: 0 !important;
  }
}

@media (max-width: 560px) {
  body.admin-body:not(.live-chat-page) .admin-nav,
  .suite-sidebar nav,
  .chat-admin-sidebar nav {
    grid-template-columns: 1fr !important;
  }

  .ops-hero {
    padding: 18px !important;
  }

  .ops-hero-actions {
    padding: 0 !important;
  }

  .ops-stat-card {
    grid-template-columns: 1fr 42px !important;
  }
}

/* Full-width admin cleanup */
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]),
body.admin-body:not(.live-chat-page) .dashboard-wrap,
.admin-suite-body .admin-suite,
body.live-chat-page {
  grid-template-columns: 250px minmax(0, 1fr) !important;
  gap: 0 24px !important;
  width: 100vw !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > h1,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .admin-card,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .admin-stats,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .alert,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > form.admin-card,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .dashboard-hero,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .dashboard-section,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > .dashboard-note,
body.admin-body:not(.live-chat-page) .ops-dashboard > .ops-hero,
body.admin-body:not(.live-chat-page) .ops-dashboard > .ops-main-grid,
body.admin-body:not(.live-chat-page) .ops-dashboard > .ops-lower-grid,
.notika-topbar,
.suite-main,
.live-chat-page .live-chat-admin {
  grid-column: 2 !important;
  max-width: none !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body.admin-body:not(.live-chat-page) .admin-wrap > h1,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > h1 {
  display: block !important;
  min-height: 0 !important;
  padding: 4px 0 2px !important;
  margin: 0 0 18px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--soft-ink) !important;
  font-size: clamp(1.45rem, 2vw, 2rem) !important;
  line-height: 1.2 !important;
}

body.admin-body:not(.live-chat-page) .admin-wrap > h1::before,
body.admin-body:not(.live-chat-page) .admin-wrap > h1::after,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > h1::before,
body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]) > h1::after {
  content: none !important;
  display: none !important;
}

body.admin-body:not(.live-chat-page) .admin-card {
  overflow: hidden !important;
}

body.admin-body:not(.live-chat-page) .admin-card:has(.admin-table) {
  overflow-x: auto !important;
  padding: 0 !important;
}

body.admin-body:not(.live-chat-page) .admin-table {
  width: 100% !important;
  min-width: 1080px;
  table-layout: auto !important;
}

body.admin-body:not(.live-chat-page) .admin-table th,
body.admin-body:not(.live-chat-page) .admin-table td {
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  vertical-align: top !important;
}

body.admin-body:not(.live-chat-page) .admin-table td:first-child,
body.admin-body:not(.live-chat-page) .admin-table td:nth-child(2),
body.admin-body:not(.live-chat-page) .admin-table td:nth-child(3),
body.admin-body:not(.live-chat-page) .admin-table td:last-child {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
}

body.admin-body:not(.live-chat-page) .admin-table td small {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

body.admin-body:not(.live-chat-page) .admin-stats {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
}

body.admin-body:not(.live-chat-page) .admin-stats .admin-card {
  min-height: 130px !important;
}

.ops-main-grid,
.ops-main-grid.bottom {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px) !important;
}

.ops-lower-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.email-app {
  width: 100% !important;
}

.live-chat-page .live-layout {
  width: 100% !important;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr) !important;
}

@media (max-width: 1180px) {
  .ops-main-grid,
  .ops-main-grid.bottom,
  .ops-lower-grid,
  .live-chat-page .live-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 980px) {
  body.admin-body:not(.live-chat-page) .admin-wrap:not([style*="max-width:460px"]),
  body.admin-body:not(.live-chat-page) .dashboard-wrap,
  .admin-suite-body .admin-suite,
  body.live-chat-page {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.admin-body:not(.live-chat-page) .admin-table {
    min-width: 760px;
  }
}

/* Public Bootstrap 5 style, mobile, speed and SEO-friendly polish */
body:not(.admin-body) {
  --wp-primary: #12355b;
  --wp-primary-soft: #eaf4ff;
  --wp-accent: #009f98;
  --wp-accent-2: #22c7bd;
  --wp-ink: #0f2742;
  --wp-muted: #64748b;
  --wp-border: #dce8f3;
  --wp-soft: #f6fbff;
  --wp-card: #ffffff;
  width: 100%;
  min-width: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 10% 0%, rgba(34, 199, 189, .11), transparent 28rem),
    radial-gradient(circle at 92% 10%, rgba(31, 127, 191, .10), transparent 28rem),
    linear-gradient(180deg, #fbfdff 0%, #f7fbff 44%, #fff 100%);
  color: #152033;
}

body:not(.admin-body) *,
body:not(.admin-body) *::before,
body:not(.admin-body) *::after {
  min-width: 0;
}

body:not(.admin-body) img,
body:not(.admin-body) video,
body:not(.admin-body) iframe,
body:not(.admin-body) table {
  max-width: 100%;
}

body:not(.admin-body) img {
  height: auto;
}

body:not(.admin-body) .container {
  width: min(1180px, calc(100% - 32px));
}

body:not(.admin-body) header {
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(220, 232, 243, .85);
  box-shadow: 0 12px 34px rgba(15, 39, 66, .06);
}

body:not(.admin-body) .nav {
  height: 72px;
}

body:not(.admin-body) .brand {
  color: var(--wp-ink);
  letter-spacing: -.02em;
}

body:not(.admin-body) .brand-icon {
  background: linear-gradient(135deg, #e9fbf9, #eaf4ff);
  color: var(--wp-accent);
  border: 1px solid rgba(0, 159, 152, .12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}

body:not(.admin-body) .nav-links a {
  color: #42526a;
  font-weight: 800;
}

body:not(.admin-body) .nav-links a:hover {
  color: var(--wp-primary);
}

body:not(.admin-body) .btn,
body:not(.admin-body) .nav-btn,
body:not(.admin-body) .ghost-btn,
body:not(.admin-body) .small-btn {
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, var(--wp-primary), #1f7fbf);
  color: #fff;
  box-shadow: 0 16px 34px rgba(31, 127, 191, .22);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

body:not(.admin-body) .btn:hover,
body:not(.admin-body) .nav-btn:hover,
body:not(.admin-body) .ghost-btn:hover,
body:not(.admin-body) .small-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(31, 127, 191, .28);
}

body:not(.admin-body) .btn-secondary,
body:not(.admin-body) .ghost-btn {
  background: #fff;
  color: var(--wp-primary);
  border: 1px solid var(--wp-border);
  box-shadow: 0 10px 24px rgba(15, 39, 66, .06);
}

body:not(.admin-body) .hero {
  padding: clamp(54px, 7vw, 92px) 0 clamp(42px, 6vw, 76px);
  position: relative;
  isolation: isolate;
}

body:not(.admin-body) .hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(234, 251, 248, .94), rgba(255, 255, 255, 0) 60%),
    radial-gradient(circle at 82% 22%, rgba(31, 127, 191, .15), transparent 22rem);
}

body:not(.admin-body) .hero-grid {
  gap: clamp(30px, 5vw, 64px);
}

body:not(.admin-body) .hero h1 {
  color: var(--wp-ink);
  letter-spacing: -.045em;
}

body:not(.admin-body) .hero p,
body:not(.admin-body) .section-subtitle,
body:not(.admin-body) .service-lead,
body:not(.admin-body) .question-card p,
body:not(.admin-body) .card p,
body:not(.admin-body) .spectrum-card p {
  color: var(--wp-muted);
}

body:not(.admin-body) .eyebrow,
body:not(.admin-body) .tag {
  background: #eafbf8;
  border: 1px solid #c8f1eb;
  color: #007a73;
}

body:not(.admin-body) section {
  padding: clamp(44px, 6vw, 76px) 0;
}

body:not(.admin-body) .section-title,
body:not(.admin-body) .service-box h1,
body:not(.admin-body) .question-box h1 {
  color: var(--wp-ink);
  letter-spacing: -.035em;
}

body:not(.admin-body) .card,
body:not(.admin-body) .spectrum-card,
body:not(.admin-body) .step,
body:not(.admin-body) .about-box,
body:not(.admin-body) .testimonial,
body:not(.admin-body) .question-card,
body:not(.admin-body) .service-box,
body:not(.admin-body) .question-box,
body:not(.admin-body) .order-modal {
  border: 1px solid var(--wp-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 36px rgba(15, 39, 66, .07);
}

body:not(.admin-body) .card,
body:not(.admin-body) .spectrum-card,
body:not(.admin-body) .question-card,
body:not(.admin-body) .service-card-link {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body:not(.admin-body) .card:hover,
body:not(.admin-body) .spectrum-card:hover,
body:not(.admin-body) .question-card:hover,
body:not(.admin-body) .service-card-link:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 127, 191, .28);
  box-shadow: 0 22px 54px rgba(15, 39, 66, .12);
}

body:not(.admin-body) .services-grid,
body:not(.admin-body) .portfolio-grid,
body:not(.admin-body) .questions-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body:not(.admin-body) .spectrum-grid,
body:not(.admin-body) .steps,
body:not(.admin-body) .quote-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body:not(.admin-body) .service-card-link,
body:not(.admin-body) .question-card-link {
  height: 100%;
  color: inherit;
}

body:not(.admin-body) .icon {
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24);
}

body:not(.admin-body) .premium-spectrum,
body:not(.admin-body) footer {
  background:
    radial-gradient(circle at 15% 0%, rgba(0, 159, 152, .08), transparent 24rem),
    linear-gradient(180deg, #f7fbff, #edf7fb);
}

body:not(.admin-body) .quote-box,
body:not(.admin-body) .final-cta,
body:not(.admin-body) .question-selected-box {
  background:
    radial-gradient(circle at top right, rgba(34, 199, 189, .32), transparent 22rem),
    linear-gradient(135deg, #102a45, #071820);
}

body:not(.admin-body) .service-box,
body:not(.admin-body) .question-box {
  max-width: 1000px;
  padding: clamp(24px, 4vw, 44px);
}

body:not(.admin-body) .question-text,
body:not(.admin-body) .service-content {
  overflow-wrap: anywhere;
}

body:not(.admin-body) .question-text p,
body:not(.admin-body) .question-text li,
body:not(.admin-body) .service-content p,
body:not(.admin-body) .service-content li {
  font-size: 1.02rem;
  line-height: 1.78;
}

body:not(.admin-body) .question-filter-form {
  padding: 12px;
  border: 1px solid var(--wp-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 34px rgba(15, 39, 66, .06);
}

body:not(.admin-body) input,
body:not(.admin-body) select,
body:not(.admin-body) textarea,
body:not(.admin-body) .rich-editor {
  max-width: 100%;
  border-color: #cbdced;
  background: #fbfdff;
}

body:not(.admin-body) input:focus,
body:not(.admin-body) select:focus,
body:not(.admin-body) textarea:focus,
body:not(.admin-body) .rich-editor:focus {
  border-color: var(--wp-accent);
  box-shadow: 0 0 0 4px rgba(0, 159, 152, .12);
}

body:not(.admin-body) .order-modal {
  width: min(820px, calc(100vw - 28px));
  max-height: min(92vh, 900px);
}

body:not(.admin-body) .modal-head {
  padding-bottom: 16px;
  border-bottom: 1px solid #edf3f8;
}

body:not(.admin-body) .form-grid,
body:not(.admin-body) .radio-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body:not(.admin-body) .locked-answer-preview {
  border-radius: 22px;
}

body:not(.admin-body) .whatsapp-float {
  max-width: min(360px, calc(100vw - 24px));
}

@media (max-width: 992px) {
  body:not(.admin-body) .hero-grid,
  body:not(.admin-body) .spectrum-grid,
  body:not(.admin-body) .steps,
  body:not(.admin-body) .quote-grid {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .hero-grid {
    text-align: center;
  }

  body:not(.admin-body) .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  body:not(.admin-body) .trust-points,
  body:not(.admin-body) .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  body:not(.admin-body) {
    overflow-x: hidden;
  }

  body:not(.admin-body) .container {
    width: min(100% - 24px, 1180px);
  }

  body:not(.admin-body) .nav {
    height: 60px;
  }

  body:not(.admin-body) .nav-right {
    border-radius: 18px;
    border-color: var(--wp-border);
  }

  body:not(.admin-body) .hero {
    padding: 42px 0 34px;
  }

  body:not(.admin-body) .hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.08;
  }

  body:not(.admin-body) .hero p,
  body:not(.admin-body) .section-subtitle {
    font-size: 15.5px;
  }

  body:not(.admin-body) .services-grid,
  body:not(.admin-body) .portfolio-grid,
  body:not(.admin-body) .questions-grid,
  body:not(.admin-body) .form-grid,
  body:not(.admin-body) .radio-grid {
    grid-template-columns: 1fr !important;
  }

  body:not(.admin-body) #services .all-services-grid,
  body:not(.admin-body) #services .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body:not(.admin-body) .card,
  body:not(.admin-body) .spectrum-card,
  body:not(.admin-body) .step,
  body:not(.admin-body) .about-box,
  body:not(.admin-body) .testimonial,
  body:not(.admin-body) .question-card {
    padding: 20px;
    border-radius: 16px;
  }

  body:not(.admin-body) .service-box,
  body:not(.admin-body) .question-box {
    padding: 22px;
    border-radius: 18px;
  }

  body:not(.admin-body) .question-filter-form {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  body:not(.admin-body) .question-actions,
  body:not(.admin-body) .service-cta-row,
  body:not(.admin-body) .modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .question-actions .btn,
  body:not(.admin-body) .service-cta-row .btn,
  body:not(.admin-body) .modal-actions .btn,
  body:not(.admin-body) .modal-actions .ghost-btn,
  body:not(.admin-body) .nav-btn {
    width: 100%;
    max-width: none;
  }

  body:not(.admin-body) .order-modal {
    width: 100%;
    max-height: 96vh;
    border-radius: 22px 22px 0 0;
    padding: 18px;
  }

  body:not(.admin-body) .locked-answer-preview {
    min-height: 360px;
    border-radius: 18px;
  }

  body:not(.admin-body) .locked-answer-preview .question-support-panel {
    width: min(100% - 28px, 520px);
  }
}

@media (max-width: 430px) {
  body:not(.admin-body) .container {
    width: min(100% - 18px, 1180px);
  }

  body:not(.admin-body) #services .all-services-grid,
  body:not(.admin-body) #services .services-grid {
    gap: 9px !important;
  }

  body:not(.admin-body) #services .service-card-link {
    min-height: 58px;
    padding: 10px !important;
  }

  body:not(.admin-body) #services .service-card-link h3 {
    font-size: 12.8px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.admin-body) *,
  body:not(.admin-body) *::before,
  body:not(.admin-body) *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body:not(.admin-body) .service-faq {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--wp-border, #dce8f3);
}

body:not(.admin-body) .service-faq h2 {
  margin: 0 0 16px;
  color: var(--wp-ink, #10233f);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 900;
}

body:not(.admin-body) .faq-list {
  display: grid;
  gap: 12px;
}

body:not(.admin-body) .faq-item {
  border: 1px solid var(--wp-border, #dce8f3);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(18, 53, 91, .08);
  overflow: hidden;
}

body:not(.admin-body) .faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  color: var(--wp-ink, #10233f);
  font-weight: 900;
}

body:not(.admin-body) .faq-item summary::-webkit-details-marker {
  display: none;
}

body:not(.admin-body) .faq-item summary::after {
  content: "+";
  float: right;
  color: var(--wp-primary, #1689c8);
  font-weight: 900;
}

body:not(.admin-body) .faq-item[open] summary::after {
  content: "-";
}

body:not(.admin-body) .faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--wp-muted, #5f6f86);
  line-height: 1.7;
}

body:not(.admin-body) .question-category-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 24px;
}

body:not(.admin-body) .question-category-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid var(--wp-border, #dce8f3);
  border-radius: 999px;
  background: #fff;
  color: var(--wp-ink, #10233f);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(18, 53, 91, .08);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

body:not(.admin-body) .question-category-links a:hover,
body:not(.admin-body) .question-category-links a.active {
  transform: translateY(-1px);
  border-color: rgba(22, 137, 200, .45);
  background: linear-gradient(135deg, rgba(22, 137, 200, .12), rgba(17, 198, 155, .14));
  color: var(--wp-primary, #1689c8);
}

body:not(.admin-body) .question-empty-state {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  max-width: 880px;
  margin: 8px auto 0;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(22, 137, 200, .18);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(17, 198, 155, .16), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 24px 70px rgba(18, 53, 91, .12);
  text-align: center;
}

body:not(.admin-body) .question-empty-state::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #1689c8, #11c69b, #7c5cff);
}

body:not(.admin-body) .question-empty-state h2 {
  margin: 10px auto 14px;
  color: var(--wp-ink, #10233f);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -.03em;
}

body:not(.admin-body) .question-empty-state p {
  max-width: 720px;
  margin: 0 auto 24px;
  color: var(--wp-muted, #5f6f86);
  font-size: 1.02rem;
  line-height: 1.75;
}

@media (max-width: 640px) {
  body:not(.admin-body) .question-category-links {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  body:not(.admin-body) .question-category-links::-webkit-scrollbar {
    display: none;
  }

  body:not(.admin-body) .question-category-links a {
    flex: 0 0 auto;
  }

  body:not(.admin-body) .question-empty-state .btn {
    width: 100%;
    max-width: none;
  }
}

body:not(.admin-body) .subjects-page {
  background:
    radial-gradient(circle at top left, rgba(22, 137, 200, .10), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #f8fafc 100%);
}

body:not(.admin-body) .subjects-hero {
  padding: 76px 0 42px;
  text-align: center;
}

body:not(.admin-body) .subjects-hero .container {
  max-width: 980px;
}

body:not(.admin-body) .subjects-hero h1 {
  margin: 10px auto 16px;
  color: var(--wp-ink, #10233f);
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}

body:not(.admin-body) .subjects-hero p,
body:not(.admin-body) .subjects-level-head p {
  color: var(--wp-muted, #5f6f86);
  font-size: 1.05rem;
  line-height: 1.75;
}

body:not(.admin-body) .subjects-quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

body:not(.admin-body) .subjects-quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(22, 137, 200, .20);
  color: var(--wp-ink, #10233f);
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(18, 53, 91, .09);
}

body:not(.admin-body) .subjects-level {
  padding: 42px 0;
}

body:not(.admin-body) .subjects-level-head {
  max-width: 860px;
  margin: 0 auto 26px;
  text-align: center;
}

body:not(.admin-body) .subjects-level-head h2 {
  margin: 8px 0 10px;
  color: var(--wp-ink, #10233f);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -.03em;
}

body:not(.admin-body) .subjects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body:not(.admin-body) .subject-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(18, 53, 91, .10);
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 45px rgba(18, 53, 91, .08);
  padding: 22px;
}

body:not(.admin-body) .subject-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, #1689c8, #11c69b, #7c5cff);
}

body:not(.admin-body) .subject-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

body:not(.admin-body) .subject-card h3 {
  margin: 0;
  color: var(--wp-ink, #10233f);
  font-size: 1.18rem;
  line-height: 1.25;
}

body:not(.admin-body) .subject-card-head span {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(22, 137, 200, .10);
  color: var(--wp-primary, #1689c8);
  font-size: .78rem;
  font-weight: 900;
}

body:not(.admin-body) .subject-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body:not(.admin-body) .subject-chip-list a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--wp-border, #dce8f3);
  color: #334155;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
}

body:not(.admin-body) .subject-chip-list a:hover {
  border-color: rgba(22, 137, 200, .45);
  background: rgba(22, 137, 200, .08);
  color: var(--wp-primary, #1689c8);
}

body:not(.admin-body) .subjects-cta {
  padding: 30px 0 70px;
}

@media (max-width: 980px) {
  body:not(.admin-body) .subjects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body:not(.admin-body) .subjects-hero {
    padding: 50px 0 28px;
  }

  body:not(.admin-body) .subjects-quick-links {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  body:not(.admin-body) .subjects-quick-links::-webkit-scrollbar {
    display: none;
  }

  body:not(.admin-body) .subjects-quick-links a {
    flex: 0 0 auto;
  }

  body:not(.admin-body) .subjects-grid {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .subject-card {
    padding: 18px;
    border-radius: 18px;
  }

  body:not(.admin-body) .subject-card-head {
    display: block;
  }

  body:not(.admin-body) .subject-card-head span {
    display: inline-flex;
    margin-top: 9px;
  }
}

/* Professional public button polish */
body:not(.admin-body) .btn,
body:not(.admin-body) .nav-btn,
body:not(.admin-body) button.btn,
body:not(.admin-body) a.btn,
body:not(.admin-body) .question-card .btn,
body:not(.admin-body) .service-cta-row .btn,
body:not(.admin-body) .final-cta .btn,
body:not(.admin-body) .question-actions .btn,
body:not(.admin-body) .modal-actions .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid rgba(0, 112, 129, .28);
  border-radius: 14px;
  background: linear-gradient(135deg, #007f8f 0%, #05a992 100%);
  color: #fff !important;
  font-size: .94rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .01em;
  text-decoration: none !important;
  box-shadow: 0 14px 30px rgba(0, 127, 143, .22), inset 0 1px 0 rgba(255, 255, 255, .25);
  cursor: pointer;
  overflow: hidden;
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

body:not(.admin-body) .btn::before,
body:not(.admin-body) .nav-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, 0) 42%);
  opacity: .9;
  pointer-events: none;
}

body:not(.admin-body) .btn:hover,
body:not(.admin-body) .nav-btn:hover,
body:not(.admin-body) .question-card:hover .btn {
  transform: translateY(-2px);
  border-color: rgba(0, 73, 94, .34);
  background: linear-gradient(135deg, #006d82 0%, #009f8a 100%);
  box-shadow: 0 18px 36px rgba(0, 96, 119, .28), inset 0 1px 0 rgba(255, 255, 255, .28);
}

body:not(.admin-body) .btn:active,
body:not(.admin-body) .nav-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 96, 119, .22);
}

body:not(.admin-body) .btn:focus-visible,
body:not(.admin-body) .nav-btn:focus-visible,
body:not(.admin-body) .ghost-btn:focus-visible {
  outline: 3px solid rgba(14, 165, 233, .28);
  outline-offset: 3px;
}

body:not(.admin-body) .btn-secondary,
body:not(.admin-body) a.btn-secondary,
body:not(.admin-body) .question-card .btn-secondary {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: #082a4d !important;
  border: 1px solid rgba(8, 42, 77, .18);
  box-shadow: 0 10px 24px rgba(8, 42, 77, .08), inset 0 1px 0 rgba(255, 255, 255, .95);
}

body:not(.admin-body) .btn-secondary:hover,
body:not(.admin-body) a.btn-secondary:hover,
body:not(.admin-body) .question-card:hover .btn-secondary {
  background: linear-gradient(180deg, #ffffff 0%, #edf7ff 100%);
  color: #006d82 !important;
  border-color: rgba(0, 127, 143, .32);
  box-shadow: 0 14px 30px rgba(8, 42, 77, .12);
}

body:not(.admin-body) .question-card .btn,
body:not(.admin-body) .question-card .btn-secondary {
  min-height: 42px;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: .86rem;
}

body:not(.admin-body) .question-card .wp-view-answer-btn {
  min-width: 132px;
  min-height: 40px;
  padding: .62rem 1rem;
  border-radius: .65rem;
  border: 1px solid #0d6efd;
  background: #0d6efd;
  color: #fff !important;
  font-size: .88rem;
  font-weight: 800;
  box-shadow: 0 .45rem 1rem rgba(13, 110, 253, .22);
}

body:not(.admin-body) .question-card:hover .wp-view-answer-btn,
body:not(.admin-body) .question-card .wp-view-answer-btn:hover {
  border-color: #0b5ed7;
  background: #0b5ed7;
  color: #fff !important;
  box-shadow: 0 .65rem 1.25rem rgba(13, 110, 253, .28);
}

body:not(.admin-body) .hero-actions .btn,
body:not(.admin-body) .service-cta-row .btn,
body:not(.admin-body) .question-actions .btn {
  min-width: 168px;
}

body:not(.admin-body) .final-cta .btn {
  border-color: rgba(255, 255, 255, .2);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .22);
}

body:not(.admin-body) .ghost-btn {
  border-radius: 14px;
  border: 1px solid rgba(8, 42, 77, .16);
  background: #fff;
  color: #082a4d;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(8, 42, 77, .08);
}

@media (max-width: 640px) {
  body:not(.admin-body) .hero-actions,
  body:not(.admin-body) .service-cta-row,
  body:not(.admin-body) .question-actions,
  body:not(.admin-body) .modal-actions {
    gap: 10px;
  }

  body:not(.admin-body) .hero-actions .btn,
  body:not(.admin-body) .service-cta-row .btn,
  body:not(.admin-body) .question-actions .btn,
  body:not(.admin-body) .modal-actions .btn,
  body:not(.admin-body) .modal-actions .ghost-btn {
    width: 100%;
    max-width: none;
  }

  body:not(.admin-body) .question-card .btn,
  body:not(.admin-body) .question-card .btn-secondary {
    width: 100%;
  }
}

/* Bootstrap-style download answer form */
body:not(.admin-body) #questionQuickFlow {
  max-width: 560px;
  margin: 0 auto;
}

body:not(.admin-body) #questionQuickFlow .question-selected-box {
  padding: 16px 18px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
  box-shadow: 0 10px 24px rgba(13, 110, 253, .08);
}

body:not(.admin-body) #questionQuickFlow .question-selected-box strong,
body:not(.admin-body) #questionQuickFlow .form-notice strong,
body:not(.admin-body) #questionQuickFlow label {
  display: block;
  color: #0f172a;
  font-weight: 800;
}

body:not(.admin-body) #questionQuickFlow .question-selected-box strong {
  margin-bottom: 6px;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #0d6efd;
}

body:not(.admin-body) #questionQuickFlow .question-selected-box span {
  display: block;
  color: #1e293b;
  font-size: .98rem;
  line-height: 1.45;
}

body:not(.admin-body) #questionQuickFlow .form-notice {
  margin: 14px 0 16px;
  padding: 14px 16px;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  background: #f0fdf4;
  color: #166534;
}

body:not(.admin-body) #questionQuickFlow .form-notice span {
  display: block;
  margin-top: 3px;
  color: #166534;
  font-size: .94rem;
}

body:not(.admin-body) #questionQuickFlow .form-grid {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 14px;
}

body:not(.admin-body) #questionQuickFlow .full-row {
  grid-column: 1 / -1;
}

body:not(.admin-body) #questionQuickFlow .form-group {
  margin-bottom: 0;
}

body:not(.admin-body) #questionQuickFlow label {
  margin-bottom: 7px;
  font-size: .91rem;
}

body:not(.admin-body) #questionQuickFlow input {
  width: 100%;
  min-height: 48px;
  padding: .72rem .95rem;
  border: 1px solid #ced4da;
  border-radius: .5rem;
  background: #fff;
  color: #111827;
  font-size: 1rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .035);
}

body:not(.admin-body) #questionQuickFlow input:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .2);
}

body:not(.admin-body) .phone-with-code.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 .2rem rgba(220, 53, 69, .16) !important;
}

body:not(.admin-body) .phone-with-code.is-valid {
  border-color: #198754 !important;
}

body:not(.admin-body) .phone-rule-hint {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: .82rem;
  line-height: 1.35;
}

body:not(.admin-body) .phone-rule-hint.text-danger {
  color: #dc3545;
  font-weight: 700;
}

body:not(.admin-body) #questionQuickFlow .math-check {
  margin-top: 16px;
  padding: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f8fafc;
}

body:not(.admin-body) #questionQuickFlow .math-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 12px;
  align-items: center;
}

body:not(.admin-body) #questionQuickFlow .math-question {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .62rem .85rem;
  border-radius: .5rem;
  background: #fff;
  border: 1px dashed #94a3b8;
  color: #0f172a;
  font-weight: 800;
}

body:not(.admin-body) #questionQuickFlow .math-check small {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-size: .84rem;
}

body:not(.admin-body) #questionQuickFlow .single-submit {
  margin-top: 18px;
}

body:not(.admin-body) #questionQuickFlow .single-submit .btn {
  width: 100%;
  min-height: 50px;
  border-radius: .65rem;
  background: #0d6efd;
  border-color: #0d6efd;
  box-shadow: 0 .6rem 1.3rem rgba(13, 110, 253, .24);
}

body:not(.admin-body) #questionQuickFlow .single-submit .btn:hover {
  background: #0b5ed7;
  border-color: #0a58ca;
}

@media (max-width: 560px) {
  body:not(.admin-body) #questionQuickFlow .form-grid,
  body:not(.admin-body) #questionQuickFlow .math-row {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) #questionQuickFlow {
    max-width: none;
  }
}
