:root {
  --navy: #061a3a;
  --navy2: #0a2348;
  --ink: #0b1733;
  --muted: #5a6475;
  --line: #e8edf5;
  --soft: #f7f9fc;
  --white: #fff;
  --blue: #061a3a;
  --blue2: #0a2348;
  --gold: #e4a522;
  --gold2: #f2bd42;
  --logo-blue: #1f90fe;
  --green: #1b8d5b;
  --red: #a92323;
  --amber: #8b5e00;
  --shadow: 0 18px 50px rgba(6, 26, 58, .12);
  --radius: 18px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6
}

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

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(19, 40, 61, .08)
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 1 auto;
  line-height: 1
}

.brand img {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto
}

.brand span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em
}

.header-actions {
  display: flex;
  gap: 14px;
  align-items: center
}

.header-actions .header-appointment-cta {
  white-space: nowrap
}

.top-cta {
  font-size: 14px;
  font-weight: 800;
  color: var(--blue)
}

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 82% 18%, rgba(48, 105, 155, .35), transparent 34%), linear-gradient(145deg, var(--navy), #0b1e32 58%, #12395e);
  color: #fff;
  padding: 84px 0 78px
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 52px;
  align-items: center
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 900;
  color: var(--gold2);
  margin-bottom: 12px
}

h1,
h2,
h3 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.14;
  letter-spacing: -.035em;
  margin: 0 0 18px
}

h1 {
  font-size: clamp(42px, 5.5vw, 66px);
  line-height: 1.06;
  max-width: 700px
}

h2 {
  font-size: clamp(31px, 4vw, 48px)
}

h3 {
  font-size: 21px
}

.hero-copy {
  font-size: 18px;
  color: #ced9e5;
  max-width: 610px
}

.cta-row {
  display: flex;
  gap: 12px;
  margin: 24px 0 12px
}

.micro {
  color: #d1dfed;
  font-weight: 800;
  font-size: 14px
}

.fine {
  font-size: 12px;
  color: #8fa3b8
}

.hero-card {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .5);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22)
}

.hero-card h2 {
  font-size: 28px
}

.hero-card ul {
  margin: 18px 0;
  padding: 0;
  list-style: none
}

.hero-card li {
  position: relative;
  padding: 9px 0 9px 26px;
  border-bottom: 1px solid var(--line)
}

.hero-card li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900
}

.hero-price {
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  margin-top: 18px;
  color: var(--navy)
}

.hero-caption {
  color: var(--muted);
  font-size: 14px
}

body[data-page="landing"] .hero {
  padding-top: clamp(68px, 8vw, 92px);
  padding-bottom: clamp(64px, 7vw, 82px)
}

body[data-page="landing"] .hero-grid {
  gap: clamp(32px, 5vw, 52px)
}

body[data-page="landing"] .hero-copy {
  max-width: 600px;
  line-height: 1.65
}

body[data-page="landing"] .hero .cta-row .btn-primary {
  min-height: 52px;
  padding-right: 24px;
  padding-left: 24px
}

body[data-page="landing"] .hero-card {
  padding: clamp(22px, 3vw, 30px)
}

body[data-page="landing"] .hero-card h2 {
  max-width: 360px
}

body[data-page="landing"] .hero-card li:last-child {
  border-bottom: 0
}

body[data-page="landing"] .hero-price {
  display: inline-block;
  margin-top: 12px;
  margin-right: 10px;
  vertical-align: middle
}

body[data-page="landing"] .hero-caption {
  display: inline-block;
  vertical-align: middle
}

body[data-page="landing"] .cards .card {
  height: 100%;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease
}

body[data-page="landing"] .cards .card:hover {
  border-color: #cad6e4;
  box-shadow: 0 10px 28px rgba(21, 39, 67, .07);
  transform: translateY(-2px)
}

body[data-page="landing"] .cred {
  height: 100%
}

body[data-page="landing"] .faq details {
  border-left: 3px solid transparent
}

body[data-page="landing"] .faq details[open] {
  border-left-color: var(--gold)
}

.error-page {
  min-height: 100vh;
  background: linear-gradient(145deg, #071a32 0%, #0d2a4d 58%, #f1f5fa 58%, #f8fafc 100%)
}

.error-page-main {
  min-height: 100vh;
  display: grid;
  align-items: center
}

.error-page-container {
  display: grid;
  place-items: center
}

.error-page-card {
  width: min(100%, 620px);
  padding: clamp(28px, 6vw, 48px);
  border: 1px solid #dfe7f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(6, 26, 58, .16);
  text-align: center
}

.error-page-logo {
  width: min(210px, 70%);
  height: auto;
  margin: 0 auto 28px
}

.error-page-card .eyebrow {
  margin-bottom: 10px
}

.error-page-card h1 {
  max-width: none;
  margin: 0 auto 12px;
  color: var(--navy);
  font-family: inherit;
  font-size: clamp(32px, 6vw, 44px);
  letter-spacing: -.02em
}

.error-page-card p {
  max-width: 480px;
  margin: 0 auto;
  color: #5e6d80;
  line-height: 1.65
}

.error-page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px
}

.error-page-actions .btn {
  min-height: 46px
}

@media(max-width:560px) {
  .error-page {
    background: linear-gradient(180deg, #071a32 0%, #0d2a4d 42%, #f8fafc 42%)
  }

  .error-page-card {
    padding: 26px 18px
  }

  .error-page-actions {
    align-items: stretch;
    flex-direction: column
  }

  .error-page-actions .btn {
    width: 100%
  }
}

@media(max-width:560px) {
  body[data-page="landing"] .hero {
    padding-top: 48px;
    padding-bottom: 52px
  }

  body[data-page="landing"] .hero-grid {
    gap: 26px
  }

  body[data-page="landing"] .hero-copy {
    font-size: 16px
  }

  body[data-page="landing"] .hero .cta-row,
  body[data-page="landing"] .hero .cta-row .btn-primary {
    width: 100%
  }

  body[data-page="landing"] .hero-card {
    padding: 20px
  }

  body[data-page="landing"] .hero-card h2 {
    font-size: 23px
  }

  body[data-page="landing"] .hero-price {
    display: block;
    margin-right: 0;
    font-size: 46px
  }

  body[data-page="landing"] .hero-caption {
    display: block;
    margin-top: 5px
  }
}

.section {
  padding: 72px 0
}

.section-soft {
  background: var(--soft)
}

.section-dark {
  background: var(--navy);
  color: #fff
}

.center {
  text-align: center
}

.heading {
  max-width: 790px;
  margin: 0 auto 36px
}

.heading p {
  color: var(--muted);
  font-size: 16px
}

.section-dark .heading p {
  color: #c4d1dd
}

.cards {
  display: grid;
  gap: 20px
}

.cards.three {
  grid-template-columns: repeat(3, 1fr)
}

.cards.two {
  grid-template-columns: repeat(2, 1fr)
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .18s ease, box-shadow .18s ease
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(6, 26, 58, .09)
}

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

.num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #edf5ff;
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 18px
}

.steps {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto
}

.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 21px;
  background: #fff
}

.step-no {
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900
}

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

.offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: start
}

.offer p {
  color: #ccd8e4
}

.amount {
  font-size: 78px;
  font-weight: 900;
  line-height: 1
}

.offer-box {
  background: #fff;
  color: var(--ink);
  padding: 32px;
  border-radius: var(--radius)
}

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

.checklist li {
  padding: 8px 0 8px 26px;
  position: relative
}

.checklist li:before {
  content: '✓';
  color: var(--blue);
  font-weight: 900;
  position: absolute;
  left: 0
}

.policy {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 18px;
  color: var(--muted);
  font-size: 13px
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.cred {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px
}

.cred strong {
  display: block;
  font-size: 19px;
  margin-bottom: 8px
}

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

.form-shell {
  max-width: 980px;
  margin: 0 auto
}

.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px
}

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

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

.field {
  display: grid;
  gap: 8px
}

.field label,
.legend {
  font-weight: 800;
  font-size: 14px
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 11px;
  border: 1px solid #cdd8e2;
  background: #fff;
  color: var(--ink);
  font: inherit
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(26, 115, 232, .13);
  border-color: var(--blue)
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  margin: 20px 0
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px
}

.opt {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 10px 11px;
  border-radius: 10px;
  font-weight: 700;
  background: #fff
}

.opt input {
  margin-top: 4px
}

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

body[data-page="intake"] .consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 20px 0 10px;
  padding: 14px 16px;
  border: 1px solid #e4e9f0;
  border-left: 4px solid var(--gold);
  border-radius: 11px;
  background: #f8fafd;
  color: #34445a;
  font-size: 14px;
  line-height: 1.6
}

body[data-page="intake"] .consent span {
  display: block;
  min-width: 0
}

body[data-page="intake"] .consent input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--navy)
}

.hidden {
  display: none !important
}

.error {
  padding: 12px 14px;
  border-radius: 11px;
  background: #fff1f1;
  border: 1px solid #f2c9c9;
  color: var(--red);
  margin: 16px 0
}

.notice {
  padding: 14px;
  border-radius: 12px;
  background: #eef6ff;
  border: 1px solid #cfe3ff;
  color: #174b83
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 14px 20px;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 22px rgba(6, 26, 58, .18)
}

.btn-primary:hover {
  background: var(--navy2)
}

.hero .btn-primary,
.section-dark .btn-primary {
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: #08172e;
  box-shadow: 0 10px 22px rgba(228, 165, 34, .22)
}

.hero .btn-primary:hover,
.section-dark .btn-primary:hover {
  background: var(--gold2)
}

.btn-secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink)
}

.btn-dark {
  background: var(--navy);
  color: #fff
}

.btn-wide {
  width: 100%
}

.btn+.btn {
  margin-left: 8px
}

.payment-box {
  max-width: 700px;
  margin: 0 auto
}

.payment-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: var(--radius)
}

.payment-amount {
  font-size: 44px;
  font-weight: 900
}

.status-chip {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: #edf5ff;
  color: #14569b;
  font-weight: 800;
  font-size: 12px
}

.success {
  background: #ecf8f1;
  border-color: #bfe7cf;
  color: #126a43
}

.danger {
  background: #fff1f1;
  border-color: #f2c9c9;
  color: var(--red)
}

.flow-page {
  min-height: calc(100vh - 126px);
  background: linear-gradient(180deg, #f0f5fb 0, #f8fafd 260px, var(--soft) 100%)
}

.flow-heading {
  max-width: 820px;
  margin: 0 auto 22px;
  text-align: left
}

.flow-heading h1 {
  font-size: clamp(34px, 5vw, 52px);
  max-width: 760px;
  margin-bottom: 12px
}

.flow-heading p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 16px
}

.flow-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 980px;
  margin: 0 auto 22px;
  padding: 0;
  list-style: none
}

.flow-progress li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid #e1e7ef;
  border-radius: 13px;
  background: rgba(255, 255, 255, .72);
  color: #758094;
  font-size: 13px;
  font-weight: 800
}

.progress-no {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e9edf3;
  color: #687386;
  font-size: 12px
}

.flow-progress li.is-current {
  border-color: #b8d2f1;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 5px 18px rgba(6, 26, 58, .06)
}

.flow-progress li.is-current .progress-no {
  background: var(--navy);
  color: #fff
}

.flow-progress li.is-complete {
  color: #276b4c
}

.flow-progress li.is-complete .progress-no {
  background: #e4f3eb;
  color: #23714d
}

.form-panel,
.payment-card,
.case-box {
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(6, 26, 58, .09)
}

.form-panel {
  padding: clamp(20px, 4vw, 34px)
}

.form-section {
  padding: 0 0 25px;
  margin: 0 0 25px;
  border-bottom: 1px solid var(--line)
}

.form-section-title {
  margin: 0 0 18px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.01em
}

.form-section-last {
  padding-bottom: 0;
  margin-bottom: 20px;
  border-bottom: 0
}

.form-section .form-grid {
  row-gap: 18px
}

.form-section .field.full {
  margin-top: 2px
}

.entity-hint {
  margin: 7px 0 18px
}

.payment-card {
  padding: clamp(18px, 4vw, 30px);
  background: #fff;
  border: 1px solid var(--line)
}

.payment-card #paymentStatus {
  margin-bottom: 16px
}

.payment-summary {
  margin-top: 0;
  background: var(--soft);
  border-color: #e7ecf3;
  padding: 22px
}

.payment-summary h3 {
  margin: 12px 0 6px;
  font-family: inherit;
  font-size: 20px;
  letter-spacing: 0
}

.payment-amount {
  color: var(--navy);
  font-size: clamp(38px, 5vw, 48px);
  letter-spacing: -.04em
}

.payment-actions {
  margin-top: 18px
}

.payment-policy {
  margin: 16px 0 0;
  line-height: 1.55
}

body[data-page="payment"] .payment-card {
  border-color: #dbe5f0;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%)
}

body[data-page="payment"] .payment-card #paymentStatus {
  min-height: 48px;
  display: flex;
  align-items: center;
  margin-bottom: 14px
}

body[data-page="payment"] .payment-summary {
  align-items: center;
  border-color: #dce5ef;
  background: #f7f9fc
}

body[data-page="payment"] .payment-summary h3 {
  margin: 10px 0 4px;
  color: var(--navy);
  font-size: clamp(19px, 3vw, 23px)
}

body[data-page="payment"] .payment-summary .hint {
  max-width: 360px;
  margin: 0;
  line-height: 1.45
}

body[data-page="payment"] .payment-amount-block {
  display: grid;
  justify-items: end;
  line-height: 1
}

body[data-page="payment"] .payment-amount-block > span {
  margin-bottom: 6px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase
}

body[data-page="payment"] .payment-amount-block small {
  margin-top: 5px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800
}

body[data-page="payment"] .payment-actions .btn-primary {
  min-height: 52px;
  background: linear-gradient(180deg, #f2bd42 0%, #d99512 100%);
  border: 1px solid #b77905;
  color: #08172e;
  box-shadow: 0 8px 18px rgba(153, 98, 0, .18)
}

body[data-page="payment"] .payment-actions .btn-primary:hover {
  border-color: #8f5d00;
  background: linear-gradient(180deg, #e9a91f 0%, #c27c06 100%);
  box-shadow: 0 10px 20px rgba(117, 73, 0, .24)
}

body[data-page="payment"] .payment-actions .btn-secondary,
body[data-page="payment"] .payment-actions button {
  min-height: 46px
}

body[data-page="payment"] .payment-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 12px 0 0;
  color: #64748b;
  font-size: 12px;
  text-align: center
}

body[data-page="payment"] .payment-secure-note span {
  color: #2866a3;
  font-size: 9px
}

body[data-page="payment"] .payment-policy {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #edf1f5;
  color: #64748b
}

@media(max-width:560px) {
  body[data-page="payment"] .payment-summary {
    grid-template-columns: minmax(0, 1fr) auto
  }

  body[data-page="payment"] .payment-summary .hint {
    max-width: 230px
  }

  body[data-page="payment"] .payment-amount {
    font-size: 36px
  }

  body[data-page="payment"] .payment-secure-note {
    align-items: flex-start
  }
}

.upload-form {
  display: grid;
  gap: 18px;
  margin-top: 20px
}

.upload-field {
  padding: 22px;
  border: 1px dashed #b9c8da;
  border-radius: 14px;
  background: #f8fafd
}

.upload-field input[type=file] {
  padding: 14px;
  border: 1px solid #d7e0ea;
  background: #fff
}

.upload-field .hint {
  margin-top: 3px;
  line-height: 1.55
}

body[data-page="documents"] .form-panel {
  border-color: #dfe7f0
}

body[data-page="documents"] #documentCase {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin: 0 0 16px
}

body[data-page="documents"] .document-preparation {
  margin: 0 0 16px;
  padding: 16px 18px;
  border-left: 4px solid #2866a3
}

body[data-page="documents"] .document-preparation h2 {
  margin-bottom: 5px
}

body[data-page="documents"] .document-preparation ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
  margin: 10px 0
}

body[data-page="documents"] .document-preparation .hint {
  margin-top: 8px
}

body[data-page="documents"] .upload-form {
  gap: 14px;
  margin-top: 0
}

body[data-page="documents"] .upload-field {
  padding: 16px
}

body[data-page="documents"] .upload-field input[type=file] {
  min-height: 48px
}

body[data-page="documents"] .upload-field .hint {
  color: #5d6b7d;
  font-size: 12px;
  line-height: 1.45
}

body[data-page="documents"] .selected-files-preview,
body[data-page="documents"] .upload-progress {
  margin: 0
}

body[data-page="documents"] .upload-receipt-list li {
  align-items: center;
  min-height: 42px
}

body[data-page="documents"] .uploaded-list {
  margin-top: 16px
}

body[data-page="documents"] .upload-security {
  margin: 14px 0 0;
  text-align: center
}

@media(max-width:700px) {
  body[data-page="documents"] .document-preparation ul {
    grid-template-columns: 1fr
  }
}

@media(max-width:560px) {
  body[data-page="documents"] .document-preparation {
    padding: 14px 15px
  }

  body[data-page="documents"] .upload-field {
    padding: 13px
  }

  body[data-page="documents"] .upload-field input[type=file] {
    min-height: 44px;
    padding: 9px
  }

  body[data-page="documents"] .upload-receipt-list li {
    align-items: flex-start;
    flex-direction: column
  }
}

.uploaded-list {
  margin-top: 22px
}

.selected-files-preview {
  margin: 14px 0;
  padding: 14px;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  background: #f8fafc
}

.selected-files-preview h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 15px
}

.selected-files-total {
  margin: 10px 0 0;
  color: #536177;
  font-size: 12px
}

.upload-progress {
  display: grid;
  gap: 9px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  background: #f8fafc;
  color: #173c66;
  font-size: 13px;
  font-weight: 700
}

.upload-progress progress {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  accent-color: var(--navy)
}

.upload-progress progress::-webkit-progress-bar {
  border-radius: 999px;
  background: #e1e8f0
}

.upload-progress progress::-webkit-progress-value {
  border-radius: 999px;
  background: var(--navy)
}

.upload-progress progress::-moz-progress-bar {
  border-radius: 999px;
  background: var(--navy)
}

.upload-receipt-heading {
  margin: 14px 0 8px;
  color: var(--navy);
  font-size: 15px
}

.upload-receipt-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none
}

.upload-receipt-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 10px 12px;
  border: 1px solid #e1e8f0;
  border-radius: 8px;
  background: #fff
}

.upload-receipt-name {
  overflow-wrap: anywhere;
  font-weight: 600
}

.upload-receipt-size {
  color: #69778d;
  font-size: 12px
}

.case-reference {
  margin-top: 20px;
  padding: 15px 17px;
  border-radius: 13px;
  background: var(--soft)
}

.case-ref {
  margin-top: 4px;
  color: var(--navy)
}

.confirmation-progress {
  max-width: 720px;
  margin-bottom: 20px
}

.confirmation-next-step {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: clamp(16px, 3vw, 22px);
  border: 1px solid #d7e5f4;
  border-left: 4px solid #2866a3;
  border-radius: 14px;
  background: #f5f9fe
}

.confirmation-next-step-label {
  color: #2866a3;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase
}

.confirmation-next-step h2 {
  margin: -5px 0 0;
  color: var(--navy);
  font-family: inherit;
  font-size: clamp(19px, 3vw, 23px)
}

.confirmation-next-step > p:not(.hint) {
  margin: 0;
  color: var(--muted);
  line-height: 1.55
}

.confirmation-next-step .turnaround-note {
  margin: 0
}

body[data-page="confirmation"] .case-box {
  position: relative;
  max-width: 720px;
  border-color: #dfe7f0
}

body[data-page="confirmation"] .confirmation-heading-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid #b9d8c5;
  border-radius: 50%;
  background: #edf8f1;
  color: #26734b;
  font-size: 22px;
  font-weight: 900
}

body[data-page="confirmation"] #confirmationTitle {
  margin-bottom: 8px;
  color: var(--navy)
}

body[data-page="confirmation"] #confirmationCopy {
  max-width: 590px;
  margin-bottom: 16px;
  line-height: 1.55
}

body[data-page="confirmation"] .case-reference {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 13px 16px
}

body[data-page="confirmation"] .case-reference .hint {
  margin: 0
}

body[data-page="confirmation"] .case-reference .case-ref {
  margin: 0;
  font-size: 18px;
  font-weight: 900
}

body[data-page="confirmation"] .confirmation-next-step {
  margin: 14px 0;
  padding: 18px;
  border-color: #d4e1ef
}

body[data-page="confirmation"] .confirmation-next-step .btn-primary {
  min-height: 52px
}

body[data-page="confirmation"] .timeline {
  margin: 14px 0
}

@media(max-width:560px) {
  body[data-page="confirmation"] .case-reference {
    grid-template-columns: minmax(0, 1fr)
  }

  body[data-page="confirmation"] .case-reference .case-ref {
    overflow-wrap: anywhere
  }

  body[data-page="confirmation"] .confirmation-heading-mark {
    width: 44px;
    height: 44px
  }
}

.case-box {
  padding: clamp(22px, 5vw, 38px)
}

.case-box>h1 {
  font-size: clamp(34px, 5vw, 52px);
  max-width: 650px;
  margin-bottom: 12px
}

.case-box>p:not(.hint) {
  color: var(--muted)
}

.case-box .notice {
  margin-top: 20px
}

.case-box .timeline {
  margin: 20px 0
}

.status-row.complete {
  border-color: #cbe7d7;
  background: #f4fbf7
}

.turnaround-note {
  margin: 15px 0 0;
  line-height: 1.5
}

.upload-security {
  margin: 16px 0 0;
  line-height: 1.55
}

.footer {
  background: #050d16;
  color: #9eb0c1;
  padding: 28px 0
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px
}

.footer strong {
  color: #fff
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px
}

.footer-links a,
.consent-links a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px
}

.service-categories {
  display: grid;
  gap: 34px
}

.service-catalog-hero {
  padding: clamp(54px, 8vw, 84px) 0 clamp(52px, 7vw, 76px)
}

.service-catalog-hero h1 {
  max-width: 760px
}

.service-catalog-hero .hero-copy {
  max-width: 700px;
  margin-bottom: 24px
}

.service-catalog-hero .btn {
  min-width: 180px
}

.service-category {
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid #e2e9f2;
  border-radius: 20px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 12px 34px rgba(6, 26, 58, .045)
}

.service-category h2 {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 36px)
}

.service-category h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 54px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  content: ""
}

.service-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch
}

.service-product-card,
.service-cart-row {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  min-width: 0;
  padding: 22px;
  border: 1px solid #e1e8f1;
  border-top: 3px solid var(--gold);
  border-radius: 15px;
  background: linear-gradient(155deg, #fff 0%, #fff 76%, #f7f9fc 100%);
  box-shadow: 0 7px 20px rgba(6, 26, 58, .045);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease
}

.service-product-card:hover {
  transform: translateY(-3px);
  border-color: #cbd8e8;
  box-shadow: 0 16px 32px rgba(6, 26, 58, .1)
}

.service-product-card h3,
.service-cart-row h3 {
  font-family: inherit;
  font-size: 18px;
  letter-spacing: 0;
  margin: 0
}

.service-product-card h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px
}

.service-product-card h3 a:focus-visible,
.service-product-actions a:focus-visible,
.service-header-actions a:focus-visible {
  outline: 3px solid rgba(228, 165, 34, .65);
  outline-offset: 4px;
  border-radius: 3px
}

.service-header-actions .top-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 4px 11px rgba(6, 26, 58, .16);
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease
}

.service-header-actions .top-cta:hover {
  transform: translateY(-1px);
  border-color: #d99512;
  background: var(--navy2);
  box-shadow: 0 7px 16px rgba(6, 26, 58, .22)
}

.service-header-actions .top-cta:first-child {
  border-color: #b77905;
  background: linear-gradient(180deg, #f2bd42 0%, #d99512 100%);
  color: #08172e;
  box-shadow: 0 4px 11px rgba(153, 98, 0, .2)
}

.service-header-actions .top-cta:first-child:hover {
  border-color: #8f5d00;
  background: linear-gradient(180deg, #e9a91f 0%, #c27c06 100%);
  box-shadow: 0 7px 16px rgba(117, 73, 0, .26)
}

.service-header-actions [data-cart-count] {
  display: inline-grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold2);
  color: #08172e;
  font-size: 11px;
  font-weight: 900
}

.service-product-card p,
.service-cart-row p {
  margin: 0;
  color: #3f4b5d;
  font-size: 14px
}

.service-product-price,
.service-cart-row strong {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  padding: 5px 11px;
  border: 1px solid #f1dfb7;
  border-radius: 999px;
  background: #fff8e9;
  color: var(--navy);
  font-size: 15px;
  font-weight: 900
}

.service-product-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%
}

.service-product-price-row .service-product-price {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap
}

.service-product-price-row .service-years-link {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  min-height: 34px;
  padding: 7px 10px;
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  text-decoration: none
}

.service-product-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  margin-top: auto
}

.service-product-actions .btn {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 13px
}

.service-product-actions .btn-primary,
.service-catalog-hero .btn-primary,
.service-detail .service-product .btn-primary,
.service-quote-form .btn-primary {
  border: 1px solid #b77905;
  background: linear-gradient(180deg, #f2bd42 0%, #d99512 100%);
  color: #08172e;
  box-shadow: 0 5px 13px rgba(153, 98, 0, .22);
  font-weight: 900
}

.service-product-actions .btn-primary:hover,
.service-catalog-hero .btn-primary:hover,
.service-detail .service-product .btn-primary:hover,
.service-quote-form .btn-primary:hover {
  border-color: #8f5d00;
  background: linear-gradient(180deg, #e9a91f 0%, #c27c06 100%);
  color: #061a3a;
  box-shadow: 0 7px 18px rgba(117, 73, 0, .28)
}

.service-product-actions .btn-secondary {
  border-color: #aebdce;
  background: #fff;
  color: #26364d;
  font-weight: 800
}

.service-product-actions .btn-secondary:hover {
  border-color: #778ba4;
  background: #f0f4f9
}

.service-product-actions>a {
  text-decoration: none
}

.service-price-note,
.service-simple-note {
  padding: 16px 18px;
  border: 1px solid #f0dfb9;
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  background: linear-gradient(100deg, #fff9ed, #fff);
  color: #3f4b5d;
  margin-bottom: 30px
}

.service-catalog-note {
  margin-top: 34px;
  color: #3f4b5d
}

.service-catalog-note a,
.service-consent a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px
}

.service-detail .service-product {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 24px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #dce6f0;
  border-top: 4px solid var(--gold);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, #f7f9fc);
  box-shadow: 0 16px 40px rgba(6, 26, 58, .08)
}

.service-detail .updated,
.service-cart .updated,
.service-quote-form .hint {
  color: #465266
}

.service-detail .legal-cta .btn-secondary {
  border-color: #b8c5d4;
  background: #fff;
  color: #26364d;
  font-weight: 800
}

.service-detail .legal-cta .btn-secondary:hover {
  border-color: #8a9bb0;
  background: #f0f4f9
}

.service-product .service-price-label {
  color: #3f4b5d;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em
}

.service-product .service-price {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.15
}

.service-product>div>p {
  margin: 8px 0 0
}

.service-quantity-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  align-items: center;
  gap: 8px 12px;
  min-width: min(100%, 250px)
}

.service-quantity-control label {
  color: #26364d;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35
}

.service-quantity-control input {
  grid-column: 2;
  width: 110px;
  min-height: 40px;
  padding: 7px 9px;
  border: 1px solid #b8c5d4;
  border-radius: 8px;
  background: #fff;
  color: #26364d;
  font: inherit;
  font-size: 15px
}

.service-quantity-control input:focus-visible {
  outline: 3px solid rgba(183, 140, 55, .35);
  outline-offset: 2px
}

.service-quantity-control p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45
}

.service-catalog-notice {
  position: sticky;
  top: 72px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin: 0 0 20px;
  padding: 8px 12px;
  border: 1px solid #b7d8c0;
  border-left: 4px solid #27834a;
  border-radius: 12px;
  background: #f0faf2;
  color: #173d26;
  box-shadow: 0 8px 24px rgba(6, 26, 58, .12)
}

.service-catalog-notice.is-error {
  border-color: #e7b6b2;
  border-left-color: #a12622;
  background: #fff3f1;
  color: #741d19
}

.service-catalog-notice.is-error .service-catalog-notice-icon {
  background: #a12622
}

.service-catalog-notice-icon {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #27834a;
  color: #fff;
  font-weight: 900
}

.service-catalog-notice .btn {
  flex: 0 0 auto;
  min-height: 34px;
  margin-left: auto;
  padding: 7px 11px
}

.service-payment-form {
  margin-top: 24px
}

.service-payment-form h2 {
  margin: 0 0 8px;
  color: var(--navy)
}

.service-payment-form>.hint {
  margin-top: 0;
  color: #465266
}

.service-payment-form .service-feedback {
  margin: 0 0 12px;
  color: #34445c
}

.service-payment-form .service-feedback.is-error {
  color: #a12622
}

.service-payment-form .service-consent {
  color: #34445c;
  line-height: 1.6
}

.service-detail .service-product .service-feedback {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-radius: 9px;
  background: #eef5fb
}

.service-detail .service-simple-note {
  margin-top: 18px;
  margin-bottom: 0
}

.service-detail .legal-cta {
  margin-top: 24px
}

.service-cart {
  max-width: 860px
}

.service-cart>h1 {
  font-size: clamp(36px, 5vw, 54px)
}

.service-request-items {
  display: grid;
  gap: 12px;
  margin: 24px 0
}

.service-request-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid #dce6f0;
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  background: #fff
}

.service-request-item>div {
  display: grid;
  gap: 8px
}

.service-request-item p {
  margin: 0;
  color: #465266
}

.service-request-item input {
  width: 130px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px
}

.service-order-review {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #dce6f0;
  border-radius: 12px;
  background: #f8fafd
}

.service-order-review h3 {
  margin: 0;
  color: var(--navy);
  font-size: 16px
}

.service-order-price-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 105px 150px;
  gap: 14px;
  align-items: center;
  color: #34445c;
  font-weight: 700
}

.service-order-price-line input,
.service-order-notes textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff
}

.service-order-notes {
  display: grid;
  gap: 7px;
  color: #34445c;
  font-weight: 700
}

.service-order-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.service-cart-items {
  display: grid;
  gap: 12px;
  margin: 24px 0
}

.service-cart-row {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-top-width: 1px;
  border-left: 4px solid var(--gold);
  background: #fff
}

.service-cart-row>div {
  display: grid;
  gap: 6px
}

.service-cart-empty {
  margin: 0;
  padding: 22px;
  border: 1px dashed #cbd7e6;
  border-radius: 14px;
  background: #f8fafd;
  color: #3f4b5d
}

.service-quote-form {
  margin-top: 24px
}

.service-quote-form h2 {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 28px
}

.service-consent {
  display: block;
  font-weight: 600
}

.service-consent input {
  width: auto;
  margin: 0 6px 0 0
}

.service-feedback {
  color: #26364d;
  font-weight: 700
}

.service-cart #serviceQuoteStatus:not(:empty) {
  padding: 11px 14px;
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  background: #fff4d9;
  color: #26364d
}

.service-cart-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 24px
}

.service-cart-footer .top-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 15px;
  border: 1px solid #efddb2;
  border-radius: 11px;
  background: #fff8e9;
  color: var(--navy);
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease
}

.service-cart-footer .top-cta:hover {
  border-color: var(--gold);
  background: #fff1ce
}

[hidden] {
  display: none !important
}

.consent-links a {
  color: var(--navy);
  font-weight: 700
}

.legal-main {
  min-height: calc(100vh - 126px);
  background: linear-gradient(180deg, #f0f5fb 0, #fff 320px)
}

.legal-content {
  max-width: 860px;
  margin: 0 auto
}

.legal-content h1 {
  font-size: clamp(36px, 5vw, 54px);
  max-width: 800px
}

.legal-content h2 {
  font-size: 27px;
  margin: 38px 0 12px
}

.legal-content h3 {
  font-family: inherit;
  font-size: 18px;
  letter-spacing: 0;
  margin: 22px 0 8px
}

.legal-content p,
.legal-content li {
  color: #425064
}

.legal-content ul {
  padding-left: 24px
}

.legal-content .updated {
  font-size: 14px;
  color: var(--muted)
}

.legal-callout {
  padding: 18px 20px;
  border: 1px solid #dce6f0;
  border-radius: 14px;
  background: #f7f9fc
}

.services-overview-page .legal-callout h2 {
  margin-top: 0
}

.services-overview-page .legal-callout .btn-primary,
.services-overview-page .legal-cta .btn-primary {
  border: 1px solid #b77905;
  background: linear-gradient(180deg, #f2bd42 0%, #d99512 100%);
  color: #08172e;
  box-shadow: 0 8px 18px rgba(153, 98, 0, .2)
}

.services-overview-page .legal-callout .btn-primary:hover,
.services-overview-page .legal-cta .btn-primary:hover {
  border-color: #8f5d00;
  background: linear-gradient(180deg, #e9a91f 0%, #c27c06 100%);
  box-shadow: 0 10px 20px rgba(117, 73, 0, .24)
}

.services-overview-page .legal-cta .btn-secondary {
  border-color: #b8c5d4;
  background: #fff;
  color: #26364d;
  font-weight: 800
}

.services-overview-page .legal-cta .btn-secondary:hover {
  border-color: #8a9bb0;
  background: #f0f4f9
}

.services-overview-page .legal-callout .btn:focus-visible,
.services-overview-page .legal-cta .btn:focus-visible {
  outline: 3px solid rgba(228, 165, 34, .7);
  outline-offset: 3px
}

.legal-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px
}

.faq {
  max-width: 900px;
  margin: 0 auto
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 20px 0
}

.faq details:last-child {
  border-bottom: 1px solid var(--line)
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
  list-style: none;
  padding-right: 24px;
  position: relative
}

.faq summary::-webkit-details-marker {
  display: none
}

.faq summary:after {
  content: '+';
  position: absolute;
  right: 0
}

.faq details[open] summary:after {
  content: '-'
}

.case-box {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow)
}

.case-ref {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .05em
}

.timeline {
  display: grid;
  gap: 11px;
  margin: 24px 0
}

.case-status-timeline {
  display: grid;
  gap: 0;
  margin: 24px 0;
  padding: 0;
  list-style: none
}

.case-status-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 48px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700
}

.case-status-step:not(:last-child)::before {
  position: absolute;
  top: 31px;
  bottom: -5px;
  left: 11px;
  width: 2px;
  background: #e1e7ef;
  content: ""
}

.case-status-marker {
  z-index: 1;
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 2px solid #cdd8e2;
  border-radius: 50%;
  background: #fff
}

.case-status-step.is-complete {
  color: #276b4c
}

.case-status-step.is-complete .case-status-marker {
  border-color: #23714d;
  background: #e4f3eb
}

.case-status-step.is-complete .case-status-marker::after {
  width: 6px;
  height: 10px;
  border: solid #23714d;
  border-width: 0 2px 2px 0;
  content: "";
  transform: translateY(-1px) rotate(45deg)
}

.case-status-step.is-current {
  color: var(--navy);
  font-weight: 900
}

.case-status-step.is-current .case-status-marker {
  border: 6px solid #b8d2f1;
  background: var(--navy)
}

.case-status-step.is-current[data-case-terminal] .case-status-marker {
  border-color: #f2d3d3;
  background: var(--red)
}

.case-status-step.is-current[data-case-terminal] {
  color: var(--red)
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px
}

.status-row.current {
  border-color: #a9cdfa;
  background: #f2f8ff
}

.status-row span:first-child {
  font-weight: 800
}

.status-row span:last-child {
  color: var(--muted);
  font-size: 13px
}

.admin {
  min-height: 100vh;
  background: #f4f6fa;
  padding: 0 0 64px
}

.admin-header {
  background: #fff;
  border-bottom: 1px solid #e8edf5
}

.admin-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px
}

.admin-brand {
  display: inline-flex;
  align-items: center
}

.admin-brand img {
  display: block;
  width: 154px;
  height: auto
}

.admin-header-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #58667a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 16px
}

.admin-lock {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1b8d5b;
  box-shadow: 0 0 0 4px #e8f5ef
}

.admin-intro {
  color: #fff;
  background: radial-gradient(ellipse at 85% 0, rgba(35, 91, 145, .42), transparent 35%), linear-gradient(125deg, #061a3a, #0b2d52);
  padding: 38px 0
}

.admin-intro-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px
}

.admin-intro .eyebrow {
  margin-bottom: 7px;
  color: #f2bd42
}

.admin-intro h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -.025em
}

.admin-intro p {
  margin: 9px 0 0;
  color: #ced9e8;
  font-size: 15px
}

.admin-access-note {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 13px;
  font-weight: 750
}

.admin-access-note span {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: #d9f3e5;
  color: #176844;
  font-size: 12px
}

.admin-content {
  display: grid;
  gap: 22px;
  padding-top: 26px
}

.admin-qbo-card,
.admin-cases-card {
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(6, 26, 58, .055)
}

.admin-qbo-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px 26px
}

.admin-qbo-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
  background: #eaf3ff;
  color: #1763ad;
  font-size: 21px;
  font-weight: 900
}

.admin-section-kicker {
  margin-bottom: 3px;
  color: #738095;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase
}

.admin-qbo-copy h2,
.admin-cases-heading h2 {
  margin: 0;
  color: #10213e;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em
}

.admin-qbo-copy>p {
  margin: 4px 0 0;
  color: #68758a;
  font-size: 13px
}

.admin-qbo-copy .admin-redirect {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  margin-top: 9px;
  color: #7b8798;
  font-size: 11px
}

.admin-redirect code {
  overflow-wrap: anywhere;
  color: #41526b;
  font-size: 11px
}

.admin-qbo-actions {
  display: grid;
  justify-items: end;
  gap: 10px
}

.admin-qbo-actions .btn {
  min-height: 42px;
  padding: 10px 15px;
  font-size: 13px
}

.admin-connection-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #68758a;
  font-size: 12px;
  font-weight: 750
}

.admin-connection-status>span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #aab4c2
}

.admin-connection-status.is-connected {
  color: #176844
}

.admin-connection-status.is-connected>span {
  background: #1b8d5b
}

.admin-connection-status.is-disconnected>span {
  background: #d49b2a
}

.admin-cases-card {
  overflow: hidden
}

.admin-cases-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px
}

.admin-cases-heading h2 {
  font-size: 20px
}

.admin-cases-tools {
  display: flex;
  align-items: center;
  gap: 13px
}

.admin-case-count {
  color: #6d7a8d;
  font-size: 12px;
  font-weight: 700
}

.admin-cases-tools .btn {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 13px
}

.admin-refresh-icon {
  margin-right: 7px;
  font-size: 18px;
  line-height: 1
}

.admin-table-wrap {
  overflow-x: auto;
  border-top: 1px solid #e8edf5
}

.admin-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
  background: #fff
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 12px;
  vertical-align: middle
}

.admin-table th {
  background: #f8f9fc;
  color: #657187;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap
}

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

.admin-table tbody tr:hover {
  background: #fafbfd
}

.admin-empty-state {
  padding: 38px 20px !important;
  color: #738095;
  text-align: center !important
}

.admin-actions select {
  max-width: 190px;
  padding: 8px 10px;
  border: 1px solid #dce3ed;
  border-radius: 8px;
  background: #fff;
  color: #26364d;
  font: inherit
}

.admin-actions .btn {
  margin-left: 7px;
  padding: 8px 11px;
  font-size: 11px
}

.admin-content>.error {
  margin: 0
}

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

.admin-summary-item {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #f8faff)
}

.admin-summary-item span {
  color: #6d7a8d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase
}

.admin-summary-item strong {
  color: #10213e;
  font-size: 26px;
  line-height: 1
}

.admin-chart-panel {
  display: grid;
  gap: 12px;
  margin: 0 26px 20px;
  padding: 17px 18px;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  background: #fbfcfe
}

.admin-chart-panel h3 {
  margin: 0;
  color: #26364d;
  font-size: 13px;
  font-weight: 800
}

.admin-status-chart {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 10px 20px
}

.admin-chart-row {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(48px, 1.5fr) 28px;
  align-items: center;
  gap: 9px
}

.admin-chart-label {
  overflow: hidden;
  color: #59677b;
  font-size: 10px;
  font-weight: 750;
  text-overflow: ellipsis;
  text-transform: capitalize;
  white-space: nowrap
}

.admin-chart-track {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf5
}

.admin-chart-bar {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b98725, #e1b750)
}

.admin-chart-value {
  color: #10213e;
  font-size: 11px;
  text-align: right
}

.admin-chart-empty {
  color: #738095;
  font-size: 12px
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 26px 20px;
  border-top: 1px solid #e8edf5
}

.admin-pagination-label,
.admin-pagination-controls {
  color: #66748a;
  font-size: 12px;
  font-weight: 700
}

.admin-pagination-controls {
  display: flex;
  align-items: center;
  gap: 11px
}

.admin-pagination-controls .btn {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 12px
}

.admin-login-content {
  display: grid;
  min-height: calc(100vh - 72px);
  place-items: center;
  padding-top: 40px;
  padding-bottom: 56px
}

.admin-login-card {
  display: grid;
  width: min(100%, 440px);
  gap: 16px;
  padding: 34px;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(6, 26, 58, .09)
}

.admin-login-card h1 {
  margin: -10px 0 0;
  color: #10213e;
  font-size: 30px
}

.admin-login-card p {
  margin: -8px 0 4px;
  color: #59677b;
  font-size: 14px;
  line-height: 1.55
}

.admin-login-card label {
  display: grid;
  gap: 7px;
  color: #34435a;
  font-size: 13px;
  font-weight: 750
}

.admin-login-card input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #dce3ed;
  border-radius: 9px;
  background: #fff;
  color: #26364d;
  font: inherit
}

.admin-login-card input:focus {
  border-color: #b98725;
  outline: 3px solid rgba(185, 135, 37, .16)
}

.admin-login-card .btn {
  min-height: 46px;
  margin-top: 2px
}

.admin-login-card .admin-login-footnote {
  margin: 0;
  color: #768297;
  font-size: 11px;
  text-align: center
}

.admin-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(2, minmax(160px, .8fr)) auto;
  align-items: end;
  gap: 12px;
  padding: 18px 26px;
  border-top: 1px solid #e8edf5;
  background: #f8f9fc
}

.admin-filters label {
  display: grid;
  gap: 6px;
  color: #58667a;
  font-size: 11px;
  font-weight: 800
}

.admin-filters input,
.admin-filters select,
.admin-case-actions select,
.admin-edit-form input,
.admin-edit-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #dce3ed;
  border-radius: 9px;
  background: #fff;
  color: #26364d;
  font: inherit;
  font-size: 13px
}

.admin-archived-filter {
  display: flex !important;
  align-items: center;
  gap: 8px !important;
  min-height: 42px;
  white-space: nowrap
}

.admin-archived-filter input {
  width: 17px;
  min-height: 17px;
  margin: 0
}

.admin-case-list {
  display: grid;
  gap: 12px;
  padding: 18px 26px 24px;
  border-top: 1px solid #e8edf5
}

.admin-case-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e5eaf2;
  border-radius: 13px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease
}

.admin-case-card:hover {
  border-color: #c9d8eb;
  box-shadow: 0 6px 18px rgba(6, 26, 58, .06)
}

.admin-case-card.is-archived {
  background: #f8f9fb
}

.admin-service-order-filters {
  grid-template-columns: minmax(220px, 1.5fr) minmax(180px, .8fr)
}

.admin-service-order-card {
  border-left: 4px solid var(--gold)
}

.service-order-email-draft {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #d5dfeb;
  border-radius: 12px;
  background: #f8fafd
}

.service-order-email-draft h3,
.service-order-email-draft p {
  margin: 0
}

.service-order-email-confirmation {
  padding: 10px 12px;
  border: 1px solid #b7d8c0;
  border-left: 4px solid #27834a;
  border-radius: 8px;
  background: #f0faf2;
  color: #173d26;
  font-weight: 750
}

.service-order-email-draft pre {
  max-width: 100%;
  max-height: 360px;
  overflow: auto;
  margin: 0;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #26364d;
  font: inherit;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  user-select: text
}

.admin-badge.quote-status-new {
  background: #fff5dd;
  color: #805900
}

.admin-badge.quote-status-reviewed {
  background: #eaf3ff;
  color: #245b91
}

.admin-badge.quote-status-awaiting-payment {
  background: #fff5dd;
  color: #805900
}

.admin-badge.quote-status-paid {
  background: #e7f5ed;
  color: #176844
}

.admin-case-card-heading,
.admin-case-badges,
.admin-case-actions,
.admin-edit-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px
}

.admin-case-card-heading {
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px
}

.admin-case-card-heading>div:first-child {
  display: grid;
  gap: 5px
}

.admin-case-reference {
  color: #10213e;
  font-size: 15px;
  letter-spacing: .01em
}

.admin-case-client {
  color: #68758a;
  font-size: 13px;
  font-weight: 650
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef2f7;
  color: #49576b;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: capitalize
}

.admin-badge.status-ready-for-review,
.admin-badge.payment-paid {
  background: #e7f5ed;
  color: #176844
}

.admin-badge.status-awaiting-documents,
.admin-badge.payment-pending {
  background: #fff5dd;
  color: #805900
}

.admin-badge.status-declined,
.admin-badge.payment-failed,
.admin-badge.payment-refunded {
  background: #fff0f0;
  color: #9e3333
}

.admin-badge.is-muted {
  background: #e8ebf0;
  color: #5e6877
}

.admin-case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: #68758a;
  font-size: 12px
}

.admin-case-actions {
  padding-top: 12px;
  border-top: 1px solid #eef1f5
}

.admin-case-actions select {
  width: auto;
  min-width: 185px;
  min-height: 40px
}

.admin-case-actions .btn,
.admin-edit-actions .btn {
  min-height: 40px;
  padding: 9px 13px;
  font-size: 12px
}

.admin-case-details .case-box {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid #dce5f0;
  box-shadow: none;
  box-sizing: border-box
}

.admin-case-details .case-box>h2 {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid #e8edf5;
  color: #10213e;
  font-size: 20px
}

.admin-case-details .case-box>h3 {
  margin: 6px 0 -8px;
  padding-top: 16px;
  border-top: 1px solid #e8edf5;
  color: #10213e;
  font-size: 16px
}

.admin-case-details .case-box>.form-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 10px
}

.admin-case-details .form-grid .field {
  min-width: 0;
  gap: 6px;
  padding: 12px;
  border: 1px solid #e8edf5;
  border-radius: 10px;
  background: #f8faff;
  overflow-wrap: anywhere
}

.admin-case-details .form-grid .field.is-wide {
  grid-column: 1 / -1
}

.admin-case-details .admin-case-value {
  min-width: 0;
  overflow-wrap: anywhere
}

.admin-case-details .form-grid .field.is-wide .admin-case-value {
  white-space: pre-wrap
}

.admin-case-details .form-grid .field strong {
  color: #6d7a8d;
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase
}

.admin-case-details .admin-detail-actions,
.admin-case-details .admin-access-actions,
.admin-case-details .admin-link-actions,
.admin-case-details .admin-document-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px
}

.admin-case-details .admin-detail-actions {
  justify-content: flex-end
}

.admin-case-details .btn {
  min-height: 42px;
  margin: 0;
  padding: 10px 15px;
  font-size: 12px
}

.admin-case-details .admin-access-status {
  margin: 0;
  padding: 11px 13px;
  border-radius: 9px;
  background: #f3f7fc;
  color: #526178;
  font-size: 13px
}

.admin-access-expiry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(100px, 150px);
  align-items: center;
  gap: 14px;
  max-width: 480px
}

.admin-access-expiry label,
.admin-link-panel>label {
  color: #58667a;
  font-size: 12px;
  font-weight: 750
}

.admin-access-expiry input,
.admin-link-actions input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #dce3ed;
  border-radius: 9px;
  background: #fff;
  color: #26364d;
  font: inherit;
  font-size: 13px
}

.admin-access-actions {
  padding-top: 2px
}

.admin-link-panel {
  gap: 8px;
  padding: 14px;
  border: 1px solid #dce5f0;
  border-radius: 10px;
  background: #f8faff
}

.admin-link-actions {
  width: 100%
}

.admin-link-actions input {
  flex: 1 1 280px
}

.admin-document-list {
  align-items: stretch
}

.admin-case-document-row,
.admin-service-document-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px
}

.admin-document-delete {
  flex: 0 0 auto
}

.admin-empty-note {
  margin: 0;
  color: #738095;
  font-size: 13px
}

.admin-audit-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none
}

.admin-audit-list li {
  padding: 10px 12px;
  border: 1px solid #e8edf5;
  border-radius: 9px;
  background: #f8faff;
  color: #58667a;
  font-size: 12px;
  overflow-wrap: anywhere
}

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

.admin-edit-form .field {
  display: grid;
  gap: 6px;
  color: #58667a;
  font-size: 12px;
  font-weight: 750
}

.admin-edit-form .admin-edit-notes,
.admin-edit-actions {
  grid-column: 1 / -1
}

.admin-edit-form textarea {
  min-height: 100px;
  resize: vertical
}

.admin-edit-actions {
  justify-content: flex-end
}

.admin .case-box {
  border-radius: 12px
}

.admin .case-box h2,
.admin .case-box h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif
}

.admin-dialog {
  width: min(480px, calc(100vw - 32px));
  max-width: none;
  padding: 28px;
  overflow: visible;
  border: 1px solid #e1e7ef;
  border-radius: 18px;
  background: #fff;
  color: #26364d;
  box-shadow: 0 24px 80px rgba(6, 26, 58, .26)
}

.admin-dialog::backdrop {
  background: rgba(8, 20, 38, .58);
  backdrop-filter: blur(3px)
}

.admin-dialog form {
  display: grid;
  gap: 14px
}

.admin-dialog-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: #fff4da;
  color: #916500;
  font-size: 21px;
  font-weight: 900
}

.admin-dialog.is-danger .admin-dialog-icon {
  background: #fff0f0;
  color: #a63838
}

.admin-dialog h2 {
  margin: 0;
  color: #10213e;
  font-size: 20px
}

.admin-dialog p {
  margin: 0;
  color: #68758a;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere
}

.admin-dialog-field {
  display: grid;
  gap: 7px;
  color: #58667a;
  font-size: 12px;
  font-weight: 750
}

.admin-dialog-field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d4ddea;
  border-radius: 10px;
  background: #fff;
  color: #26364d;
  font: inherit;
  font-size: 14px
}

.admin-dialog-field input:focus {
  outline: 3px solid rgba(40, 112, 190, .17);
  border-color: #397dbd
}

.admin-dialog-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px
}

.admin-dialog-actions .btn {
  min-height: 42px;
  margin: 0;
  padding: 10px 15px;
  font-size: 12px
}

.admin-dialog .btn-danger {
  background: #a63838;
  color: #fff
}

.admin-dialog .btn-danger:hover {
  background: #872c2c
}

.admin-dialog .btn:focus-visible {
  outline: 3px solid rgba(40, 112, 190, .3);
  outline-offset: 2px
}

.admin #toast-container {
  z-index: 10000
}

.admin #toast-container>.toast {
  width: min(360px, calc(100vw - 32px));
  border-radius: 10px;
  box-shadow: 0 8px 26px rgba(6, 26, 58, .2);
  opacity: .98
}

.admin #toast-container>.toast:hover {
  box-shadow: 0 8px 26px rgba(6, 26, 58, .25);
  opacity: 1
}

.admin [aria-busy="true"] .admin-refresh-icon {
  display: inline-block;
  animation: admin-spin .8s linear infinite
}

@keyframes admin-spin {
  to {
    transform: rotate(360deg)
  }
}

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

@media(max-width:900px) {
  .header-actions.service-header-actions .top-cta {
    display: inline-flex;
    min-height: 39px;
    padding: 8px 11px;
    font-size: 12px
  }

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

  .admin-service-order-filters {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr)
  }

  .service-category {
    padding: 22px
  }

  .hero-grid,
  .offer {
    grid-template-columns: 1fr
  }

  .cards.three,
  .cred-grid {
    grid-template-columns: 1fr
  }

  .cards.two {
    grid-template-columns: 1fr
  }

  .form-grid {
    grid-template-columns: 1fr
  }

  .option-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .header-actions .top-cta {
    display: none
  }

  .hero {
    padding-top: 70px
  }

  .footer-inner {
    flex-direction: column
  }

  .admin-qbo-card {
    grid-template-columns: 42px minmax(0, 1fr)
  }

  .admin-qbo-actions {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-items: start
  }

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

  .admin-filters {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr)
  }

  .admin-filter-search {
    grid-column: 1 / -1
  }

  .admin-chart-panel {
    margin-right: 16px;
    margin-left: 16px
  }

  .admin-pagination {
    align-items: flex-start;
    flex-direction: column;
    padding-right: 16px;
    padding-left: 16px
  }

  .admin-pagination-controls {
    width: 100%;
    justify-content: space-between
  }
}

@media(max-width:560px) {
  .admin-header-label {
    display: none
  }

  .admin-login-card {
    padding: 24px 20px
  }

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

  .admin-chart-row {
    grid-template-columns: minmax(100px, 1fr) minmax(40px, 1fr) 24px
  }

  .service-product-grid {
    grid-template-columns: 1fr
  }

  .admin-service-order-filters {
    grid-template-columns: 1fr
  }

  .service-catalog-hero {
    padding: 52px 0
  }

  .service-catalog-hero h1 {
    font-size: clamp(38px, 11vw, 52px)
  }

  .service-catalog-hero .btn {
    width: 100%
  }

  .service-catalog-notice {
    align-items: flex-start;
    flex-wrap: wrap
  }

  .service-catalog-notice #serviceCatalogStatus {
    flex: 1 1 calc(100% - 44px)
  }

  .service-catalog-notice .btn {
    flex: 0 1 calc(100% - 40px);
    width: calc(100% - 40px);
    min-height: 34px;
    margin-left: 40px;
    padding: 7px 10px;
    white-space: normal
  }

  .service-catalog-notice {
    top: 64px;
    gap: 8px;
    padding: 9px 10px
  }

  .service-category {
    padding: 18px 14px;
    border-radius: 15px
  }

  .service-category h2 {
    font-size: 26px
  }

  .service-product-card {
    padding: 19px;
    gap: 11px
  }

  .service-product-actions {
    align-items: stretch
  }

  .service-product-actions .btn {
    flex: 1 1 100%
  }

  .service-product-actions>a {
    padding: 8px 0
  }

  .service-detail .service-product {
    grid-template-columns: 1fr
  }

  .service-detail .service-product>.btn {
    width: 100%;
    min-height: 48px
  }

  .service-cart-row {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px
  }

  .service-cart-row>div {
    width: 100%
  }

  .service-cart-row .btn {
    width: 100%
  }

  .service-cart-footer {
    align-items: stretch;
    flex-direction: column
  }

  .service-cart-footer .top-cta {
    justify-content: center;
    text-align: center
  }

  .service-header-actions {
    min-width: 0
  }

  .header-actions.service-header-actions a:first-child {
    display: none
  }

  .container {
    width: min(100% - 24px, 1140px)
  }

  .header-inner {
    min-height: 60px;
    gap: 12px
  }

  .brand img {
    width: 120px
  }

  .header-actions {
    gap: 8px
  }

  .section {
    padding: 64px 0
  }

  .option-grid {
    grid-template-columns: 1fr
  }

  .payment-summary {
    grid-template-columns: 1fr;
    align-items: start
  }

  .cta-row {
    flex-direction: column
  }

  .btn {
    width: 100%
  }

  .btn+.btn {
    margin: 8px 0 0
  }

  .flow-progress {
    gap: 6px
  }

  .flow-progress li {
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 9px 4px;
    text-align: center;
    font-size: 11px;
    line-height: 1.2
  }

  .confirmation-progress {
    margin-bottom: 16px
  }

  .upload-field {
    padding: 15px
  }

  .status-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px
  }

  .admin {
    padding-bottom: 32px
  }

  .admin-header-inner {
    min-height: 60px
  }

  .admin-brand img {
    width: 128px
  }

  .admin-header-label {
    gap: 7px;
    font-size: 9px;
    letter-spacing: .04em
  }

  .admin-header-actions {
    gap: 8px
  }

  .admin-header-actions .btn {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 11px
  }

  .admin-intro {
    padding: 28px 0
  }

  .admin-intro-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px
  }

  .admin-intro p {
    font-size: 14px
  }

  .admin-content {
    gap: 14px;
    padding-top: 16px
  }

  .admin-qbo-card {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 18px
  }

  .admin-qbo-actions {
    grid-column: 1;
    align-items: flex-start;
    flex-direction: column
  }

  .admin-qbo-actions .btn,
  .admin-cases-tools .btn {
    width: auto
  }

  .admin-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 18px 16px
  }

  .admin-summary-item {
    padding: 13px
  }

  .admin-summary-item strong {
    font-size: 22px
  }

  .admin-filters {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 15px 18px
  }

  .admin-filter-search {
    grid-column: 1 / -1
  }

  .admin-case-list {
    gap: 10px;
    padding: 14px 12px 18px
  }

  .admin-case-card {
    gap: 12px;
    padding: 14px
  }

  .admin-case-card-heading {
    display: grid
  }

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

  .admin-case-actions {
    display: grid;
    grid-template-columns: 1fr 1fr
  }

  .admin-case-actions select,
  .admin-case-actions .btn {
    width: 100%;
    min-width: 0;
    margin: 0
  }

  .admin-edit-form {
    grid-template-columns: 1fr
  }

  .admin-edit-form .admin-edit-notes,
  .admin-edit-actions {
    grid-column: 1
  }

  .admin-case-details .case-box>.form-grid {
    grid-template-columns: 1fr
  }

  .admin-access-expiry {
    grid-template-columns: 1fr;
    gap: 7px;
    max-width: none
  }

  .admin-case-details .admin-access-actions,
  .admin-case-details .admin-document-list {
    display: grid;
    grid-template-columns: 1fr
  }

  .admin-case-details .admin-access-actions .btn,
  .admin-case-details .admin-document-list .btn,
  .admin-case-details .admin-link-actions .btn {
    width: 100%
  }

  .admin-case-details .admin-link-actions {
    display: grid;
    grid-template-columns: 1fr
  }

  .admin-dialog {
    padding: 22px
  }

  .admin-dialog-actions .btn {
    width: auto;
    flex: 1 1 120px
  }

  .admin-cases-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px
  }

  .admin-cases-tools {
    justify-content: space-between;
    width: 100%
  }

  .admin-table th,
  .admin-table td {
    padding: 12px
  }
}

.admin-service-document-list {
  display: grid;
  justify-items: start;
  gap: 7px;
  padding-top: 12px;
  border-top: 1px solid #e8edf5
}

.admin-service-document-list>strong {
  color: #536177;
  font-size: 11px;
  font-weight: 800
}

.admin-service-document-row>a {
  color: #1d5e9d;
  font-size: 12px;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 2px
}

.admin-service-document-row>a {
  flex: 1 1 220px
}

.service-document-panel {
  display: grid;
  gap: 18px
}

.service-document-reference {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc
}

.service-document-reference span {
  color: #68758a;
  font-size: 12px;
  font-weight: 700
}

.service-document-reference strong {
  color: #172941;
  overflow-wrap: anywhere
}

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

.service-document-list h2 {
  margin: 0;
  color: #172941;
  font-size: 17px
}

.service-document-list ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none
}

.service-document-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 11px 13px;
  border: 1px solid #e5eaf1;
  border-radius: 9px;
  overflow-wrap: anywhere
}

.service-document-list li strong {
  font-size: 13px
}

.service-document-list li span {
  color: #69778d;
  font-size: 12px
}

@media(max-width:560px) {
  .service-document-reference {
    align-items: flex-start;
    flex-direction: column
  }
}

.admin-shell .admin-service-order-filters {
  grid-template-columns: minmax(0, 1.6fr) minmax(190px, .8fr) auto;
  align-items: end
}

.admin-shell .admin-service-order-filters>label {
  min-width: 0
}

.admin-shell .admin-service-order-filters .admin-filter-search {
  grid-column: auto
}

.admin-shell .admin-service-order-filters input[type="search"],
.admin-shell .admin-service-order-filters select {
  min-width: 0
}

.admin-shell .admin-service-order-filters .admin-archived-filter {
  justify-self: start;
  padding: 0 2px 10px
}

@media(max-width:900px) {
  .admin-shell .admin-service-order-filters {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr)
  }

  .admin-shell .admin-service-order-filters .admin-filter-search {
    grid-column: 1 / -1
  }

  .admin-shell .admin-service-order-filters .admin-archived-filter {
    min-height: 42px;
    padding: 0
  }
}

@media(max-width:560px) {
  .admin-shell .admin-service-order-filters {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 15px 16px
  }

  .admin-shell .admin-service-order-filters .admin-filter-search {
    grid-column: 1
  }

  .admin-shell .admin-service-order-filters .admin-archived-filter {
    min-height: 38px;
    justify-self: stretch;
    padding: 0 2px
  }
}

.admin-shell {
  min-height: 100vh;
  background: #f5f7fb
}

.admin-shell .admin-header {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: #e5eaf2
}

.admin-shell .admin-intro {
  padding: 30px 0;
  color: #526179;
  background: #f5f7fb;
  border-bottom: 1px solid #e8edf5
}

.admin-shell .admin-intro .eyebrow {
  color: #8b641b
}

.admin-shell .admin-intro h1 {
  color: #16243b;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -.035em
}

.admin-shell .admin-intro p {
  max-width: 720px;
  color: #68758a
}

.admin-shell .admin-access-note {
  border-color: #d7e6dc;
  background: #fff;
  color: #28714c
}

.admin-shell .admin-content {
  padding-top: 20px;
  padding-bottom: 50px
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 2px
}

.admin-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e0e6ef;
  border-radius: 9px !important;
  background: #fff;
  color: #526179;
  font-size: 13px;
  font-weight: 700
}

.admin-nav-link:hover,
.admin-nav-link:focus-visible {
  border-color: #b8c8dd;
  background: #edf3fa;
  color: #15325b
}

.admin-nav-link span {
  color: #9a6d13;
  font-size: 15px;
  font-weight: 800
}

.admin-shell .admin-qbo-card,
.admin-shell .admin-cases-card {
  border-color: #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(21, 39, 67, .045)
}

.admin-shell .admin-cases-heading {
  padding: 22px 24px
}

.admin-section-description {
  margin: 5px 0 0;
  color: #69778d;
  font-size: 13px
}

.admin-ticket-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 24px 18px
}

.admin-ticket-summary-item {
  display: grid;
  gap: 7px;
  padding: 15px 17px;
  border: 1px solid #e6ebf2;
  border-radius: 11px;
  background: #fafbfd
}

.admin-ticket-summary-item span {
  color: #68758a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase
}

.admin-ticket-summary-item strong {
  color: #172941;
  font-size: 24px;
  line-height: 1.1
}

.admin-ticket-filters {
  grid-template-columns: minmax(240px, 1.6fr) minmax(180px, .7fr)
}

.admin-ticket-card {
  gap: 9px;
  padding: 13px;
  border-color: #e3e9f1;
  border-left: 3px solid #d5deeb;
  border-radius: 12px
}

.admin-ticket-card.is-urgent {
  border-left-color: #c54343
}

.admin-ticket-title {
  margin: 1px 0 0;
  color: #1b2b43;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -.01em
}

.admin-ticket-description {
  margin: 0;
  color: #657187;
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere
}

.admin-ticket-update-form {
  display: grid;
  grid-template-columns: minmax(130px, .8fr) minmax(130px, .8fr) minmax(170px, 1fr) minmax(220px, 1.5fr) auto;
  align-items: end;
  gap: 10px;
  padding: 14px;
  border: 1px solid #edf0f5;
  border-radius: 10px;
  background: #fafbfd
}

.admin-ticket-update-form label,
.admin-ticket-comment {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: #5e6b80;
  font-size: 11px;
  font-weight: 750
}

.admin-ticket-update-form input,
.admin-ticket-update-form select,
.admin-ticket-update-form textarea,
.admin-ticket-dialog input,
.admin-ticket-dialog select,
.admin-ticket-dialog textarea {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #dce3ed;
  border-radius: 8px;
  background: #fff;
  color: #26364d;
  font: inherit;
  font-size: 13px
}

.admin-ticket-update-form textarea,
.admin-ticket-dialog textarea {
  min-height: 64px;
  resize: vertical
}

.admin-ticket-update-form .btn {
  min-height: 38px;
  white-space: nowrap
}

.admin-ticket-history {
  color: #66748a;
  font-size: 12px
}

.admin-ticket-history summary {
  width: fit-content;
  cursor: pointer;
  font-weight: 750
}

.admin-ticket-history ol {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-left: 20px
}

.admin-record-dialog {
  width: min(940px, calc(100vw - 32px));
  max-width: none;
  max-height: min(88vh, 900px);
  max-height: min(88dvh, 900px);
  padding: 0;
  overflow: hidden;
  border-radius: 16px
}

.admin-record-dialog-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: min(88vh, 900px);
  max-height: min(88dvh, 900px);
  min-width: 0;
  min-height: 0
}

.admin-record-dialog-header {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 1px solid #e8edf5;
  background: #fff
}

.admin-record-dialog-header h2 {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: #172941;
  font-size: 17px;
  line-height: 1.35;
  overflow-wrap: anywhere
}

.admin-record-dialog-header .btn {
  flex: 0 0 auto;
  min-height: 36px;
  margin: 0;
  padding: 7px 12px
}

.admin-record-dialog-content {
  min-height: 0;
  min-width: 0;
  padding: 20px;
  overflow: auto;
  overscroll-behavior: contain
}

.admin-record-dialog-content .admin-case-details .case-box {
  padding: 0;
  border: 0;
  background: transparent
}

.admin-record-dialog-content .admin-ticket-detail-view,
.admin-record-dialog-content .admin-service-order-detail {
  display: grid;
  gap: 16px
}

.admin-record-dialog-content .admin-ticket-detail-view>.admin-ticket-title {
  margin: 0;
  font-size: 19px
}

.admin-record-dialog-content .admin-ticket-detail-label {
  margin-bottom: -12px;
  color: #68758a;
  font-size: 11px;
  text-transform: uppercase
}

.admin-record-dialog-content .admin-ticket-detail-view .admin-ticket-update-form {
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #f8fafd
}

.admin-record-dialog-content .admin-ticket-update-form .admin-ticket-save-button {
  position: sticky;
  z-index: 3;
  top: 0;
  grid-column: 1 / -1;
  justify-self: end;
  width: auto;
  min-width: 120px;
  box-shadow: 0 5px 12px rgba(21, 39, 67, .12)
}

.admin-appointment-save-bar {
  position: sticky;
  z-index: 3;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 -20px 8px;
  padding: 12px 20px;
  border-bottom: 1px solid #e8edf5;
  background: #fff
}

.admin-appointment-save-bar>span {
  color: #68758a;
  font-size: 12px;
  font-weight: 700
}

.admin-appointment-save-bar .btn {
  flex: 0 0 auto
}

.admin-record-dialog-content.has-appointment-setup {
  padding-top: 0
}

.admin-service-order-request {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #e5eaf2;
  border-radius: 11px;
  background: #f8fafd
}

.admin-service-order-request h3,
.admin-service-order-request p {
  margin: 0
}

.admin-service-order-request h3 {
  color: #68758a;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase
}

.admin-service-order-request p {
  color: #26364d;
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere
}

@media(max-width:560px) {
  .admin-record-dialog {
    width: calc(100vw - 16px);
    margin: auto;
    max-height: calc(92vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(92dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    border-radius: 12px
  }

  .admin-record-dialog-shell {
    max-height: calc(92vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    max-height: calc(92dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom))
  }

  .admin-record-dialog-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 11px 12px
  }

  .admin-record-dialog-header h2 {
    width: auto;
    max-width: none;
    min-width: 0;
    font-size: 14px;
    line-height: 1.3;
    word-break: normal;
    overflow-wrap: break-word
  }

  .admin-record-dialog-header .btn {
    width: auto !important;
    min-width: 0;
    min-height: 32px;
    justify-self: end;
    padding: 5px 9px;
    font-size: 11px
  }

  .admin-record-dialog-content .admin-case-actions > .btn,
  .admin-record-dialog-content .admin-appointment-save-bar > .btn,
  .admin-record-dialog-content .admin-ticket-update-form > .admin-ticket-save-button {
    width: auto !important;
    max-width: 100%;
    justify-self: end;
    flex: 0 1 auto
  }

  .admin-record-dialog-content {
    padding: 12px
  }

  .admin-appointment-save-bar {
    top: 0;
    margin: 0 -12px 6px;
    padding: 10px 12px
  }

  .admin-record-dialog-content .admin-ticket-update-form .admin-ticket-save-button {
    top: 0;
    justify-self: end;
    width: auto
  }

  .admin-record-dialog-content .admin-ticket-detail-view .admin-ticket-update-form {
    grid-template-columns: minmax(0, 1fr)
  }
}

.ticket-status-open {
  background: #e9f1ff;
  color: #245c9e
}

.ticket-status-in-progress {
  background: #f0eaff;
  color: #6944a3
}

.ticket-status-waiting {
  background: #fff4dc;
  color: #835800
}

.ticket-status-resolved,
.ticket-status-closed {
  background: #e6f4ec;
  color: #26734b
}

.ticket-priority-low {
  background: #eef1f5;
  color: #5f6b7b
}

.ticket-priority-normal {
  background: #e9f1ff;
  color: #245c9e
}

.ticket-priority-high {
  background: #fff1dc;
  color: #935e0b
}

.ticket-priority-urgent {
  background: #fde9e8;
  color: #a13430
}

.admin-ticket-dialog {
  width: min(620px, calc(100vw - 32px))
}

.admin-ticket-dialog form {
  display: grid;
  gap: 14px
}

.admin-ticket-dialog .admin-dialog-field {
  display: grid;
  gap: 6px;
  color: #34435a;
  font-size: 12px;
  font-weight: 750
}

.admin-ticket-dialog-source {
  margin: -7px 0 0;
  color: #6a778b;
  font-size: 13px;
  overflow-wrap: anywhere
}

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

@media(max-width:900px) {
  .admin-ticket-update-form {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .admin-ticket-comment {
    grid-column: 1 / -1
  }
}

@media(max-width:560px) {
  .admin-shell .admin-intro {
    padding: 22px 0
  }

  .admin-nav {
    gap: 6px
  }

  .admin-nav-link {
    padding: 8px 10px;
    font-size: 12px
  }

  .admin-ticket-summary {
    padding: 0 16px 14px
  }

  .admin-ticket-filters {
    grid-template-columns: minmax(0, 1fr)
  }

  .admin-ticket-update-form,
  .admin-ticket-form-grid {
    grid-template-columns: 1fr
  }

  .admin-ticket-comment {
    grid-column: 1
  }

  .admin-ticket-update-form .btn {
    width: 100%
  }
}

.admin-shell [hidden] {
  display: none !important
}

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

.admin-sidebar {
  position: sticky;
  top: 0;
  z-index: 81;
  display: flex;
  height: 100vh;
  min-height: 560px;
  flex-direction: column;
  padding: 23px 15px 16px;
  border-right: 1px solid #e6ebf2;
  background: #fff
}

.admin-sidebar-brand {
  margin: 0 8px 36px
}

.admin-sidebar-brand img {
  width: 168px
}

.admin-sidebar-label {
  margin: 0 12px 9px;
  color: #97a1b0;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase
}

.admin-nav {
  display: grid;
  gap: 5px;
  padding: 0
}

.admin-nav-link {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 9px !important;
  background: transparent;
  color: #5c697d;
  font-size: 13px;
  font-weight: 700;
  transition: background .15s ease, color .15s ease, border-color .15s ease
}

.admin-nav-link:hover,
.admin-nav-link:focus-visible {
  border-color: #e6ebf2;
  background: #f7f9fc;
  color: #172941
}

.admin-nav-link.is-active {
  border-color: #dbe7f6;
  background: #edf4fc;
  color: #1c4c83
}

.admin-nav-icon {
  display: grid;
  width: 21px;
  flex: 0 0 21px;
  place-items: center;
  color: #7d8ba0;
  font-size: 17px;
  font-weight: 800
}

.admin-nav-link .admin-nav-icon {
  color: #7d8ba0
}

.admin-nav-link.is-active .admin-nav-icon {
  color: #1c64a6
}

.admin-nav-count {
  display: grid;
  min-width: 24px;
  height: 22px;
  place-items: center;
  margin-left: auto;
  padding: 0 6px;
  border-radius: 999px;
  background: #edf0f5;
  color: #5f6b7b;
  font-size: 11px;
  font-weight: 800
}

.admin-nav-link.is-active .admin-nav-count {
  background: #fff;
  color: #1c4c83
}

.admin-sidebar-divider {
  height: 1px;
  margin: 18px 8px 12px;
  background: #edf0f5
}

.admin-integration-link {
  margin-bottom: auto
}

.admin-sidebar-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 8px 5px;
  border-top: 1px solid #edf0f5
}

.admin-sidebar-secure {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 9px;
  background: #e9f5ee;
  color: #26734b;
  font-size: 13px;
  font-weight: 900
}

.admin-sidebar-footer div {
  display: grid;
  gap: 2px
}

.admin-sidebar-footer strong {
  color: #435168;
  font-size: 11px
}

.admin-sidebar-footer div span {
  color: #8a95a5;
  font-size: 10px
}

.admin-sidebar-backdrop {
  display: none
}

.admin-main {
  min-width: 0;
  padding: 0;
  background: #f5f7fb
}

.admin-main .container {
  width: min(1480px, calc(100% - 48px))
}

.admin-main .admin-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom-color: #e8edf3;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px)
}

.admin-main .admin-header-inner {
  min-height: 66px;
  justify-content: space-between
}

.admin-menu-toggle {
  display: none
}

.admin-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: #8a95a5;
  font-size: 12px
}

.admin-breadcrumb strong {
  color: #28384f;
  font-weight: 750
}

.admin-main .admin-header-actions {
  gap: 15px
}

.admin-main .admin-header-label {
  font-size: 10px;
  letter-spacing: .04em
}

.admin-main .admin-header-actions .btn {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 12px
}

.admin-main .admin-intro {
  padding: 26px 0 22px;
  color: #526179;
  background: #f5f7fb;
  border-bottom: 0
}

.admin-main .admin-intro-inner {
  align-items: flex-end
}

.admin-main .admin-intro h1 {
  font-family: inherit;
  font-size: clamp(25px, 2.4vw, 32px)
}

.admin-main .admin-intro p {
  margin-top: 6px;
  font-size: 14px
}

.admin-dashboard-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px
}

.admin-dashboard-actions .btn {
  min-height: 39px;
  padding: 8px 12px;
  font-size: 12px
}

.admin-main .admin-content {
  display: grid;
  gap: 18px;
  padding-top: 0;
  padding-bottom: 40px
}

.admin-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px
}

.admin-section-heading h2 {
  margin: 0;
  color: #1b2b43;
  font-family: inherit;
  font-size: 19px;
  font-weight: 780;
  letter-spacing: -.025em
}

.admin-updated-label {
  padding-bottom: 3px;
  color: #8893a3;
  font-size: 11px
}

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

.admin-metric-card {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 13px;
  padding: 17px 18px;
  border: 1px solid #e5eaf1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(21, 39, 67, .025)
}

.admin-metric-link {
  color: inherit;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease
}

.admin-metric-link:hover {
  border-color: #cbd9e9;
  box-shadow: 0 6px 18px rgba(21, 39, 67, .07);
  transform: translateY(-1px)
}

.admin-metric-link:focus-visible {
  outline: 2px solid #467fbd;
  outline-offset: 2px
}

.admin-metric-card>div {
  display: grid;
  min-width: 0;
  gap: 3px
}

.admin-metric-icon,
.admin-queue-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 800
}

.metric-icon-blue {
  background: #e9f2fc;
  color: #2766a4
}

.metric-icon-purple {
  background: #f0ebfb;
  color: #7051a6
}

.metric-icon-amber {
  background: #fff4e0;
  color: #99670f
}

.metric-icon-green {
  background: #e8f5ed;
  color: #28734e
}

.metric-icon-teal {
  background: #e4f4f3;
  color: #287875
}

.admin-metric-label {
  overflow: hidden;
  color: #6d798c;
  font-size: 11px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap
}

.admin-metric-card strong {
  color: #1b2b43;
  font-size: 25px;
  line-height: 1.15
}

.admin-metric-card small {
  color: #8a95a5;
  font-size: 10px;
  line-height: 1.45
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, .85fr);
  align-items: start;
  gap: 14px
}

.admin-dashboard-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid #e4e9f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(21, 39, 67, .025)
}

.admin-dashboard-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px
}

.admin-dashboard-card-heading h3 {
  margin: 0;
  color: #1b2b43;
  font-family: inherit;
  font-size: 15px;
  font-weight: 750
}

.admin-notification-summary {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5
}

.admin-notification-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none
}

.admin-notification-list li {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  background: #fafbfd
}

.admin-notification-list li strong {
  color: #34445a;
  font-size: 11px;
  overflow-wrap: anywhere
}

.admin-notification-list li span {
  color: #7b8798;
  font-size: 10px
}

.admin-dashboard-card-heading a {
  color: #2866a3;
  font-size: 11px;
  font-weight: 750
}

.admin-dashboard-chart .admin-status-chart {
  grid-template-columns: minmax(0, 1fr);
  gap: 13px
}

.admin-dashboard-chart .admin-chart-row {
  grid-template-columns: minmax(122px, .85fr) minmax(80px, 1.5fr) 28px;
  gap: 12px
}

.admin-dashboard-chart .admin-chart-label {
  color: #526179;
  font-size: 11px
}

.admin-dashboard-chart .admin-chart-track {
  height: 9px;
  background: #edf1f6
}

.admin-dashboard-chart .admin-chart-bar {
  background: #467fbd
}

.admin-dashboard-queue {
  display: grid;
  gap: 0
}

.admin-dashboard-queue .admin-dashboard-card-heading {
  margin-bottom: 9px
}

.admin-queue-link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto 12px;
  align-items: center;
  gap: 11px;
  min-height: 69px;
  border-bottom: 1px solid #edf0f5
}

.admin-queue-link:last-child {
  border-bottom: 0
}

.admin-queue-link:hover strong {
  color: #24629f
}

.admin-queue-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 15px
}

.admin-queue-link>span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 2px
}

.admin-queue-link>span strong {
  color: #34445a;
  font-size: 12px
}

.admin-queue-link small {
  color: #8a95a5;
  font-size: 10px
}

.admin-queue-link .admin-queue-value {
  color: #233750;
  font-size: 15px
}

.admin-queue-link>span:last-child {
  color: #9aa4b2;
  font-size: 18px
}

.admin-main .admin-cases-card,
.admin-main .admin-qbo-card {
  width: 100%;
  margin: 0
}

.admin-main .admin-cases-heading {
  border-bottom: 1px solid #edf0f5
}

.admin-main .admin-ticket-summary {
  padding-top: 16px
}

.admin-login-shell {
  background: #f5f7fb
}

.admin-login .admin-login-content {
  display: grid;
  width: min(1040px, calc(100% - 40px));
  min-height: calc(100vh - 72px);
  place-items: center;
  padding-top: 48px;
  padding-bottom: 54px
}

.admin-login-layout {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 56px rgba(18, 38, 67, .09)
}

.admin-login-aside {
  display: flex;
  min-height: 470px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(30px, 5vw, 58px);
  background: radial-gradient(ellipse at 85% 15%, rgba(84, 134, 184, .24), transparent 36%), linear-gradient(145deg, #102746, #183d63);
  color: #fff
}

.admin-login-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 13px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .02em
}

.admin-login-aside .admin-section-kicker {
  color: #efc96e
}

.admin-login-aside h1 {
  max-width: 440px;
  margin: 8px 0 12px;
  color: #fff;
  font-family: inherit;
  font-size: clamp(28px, 3.5vw, 39px);
  font-weight: 750;
  letter-spacing: -.04em;
  line-height: 1.15
}

.admin-login-aside p {
  max-width: 390px;
  margin: 0;
  color: #d3deeb;
  font-size: 14px;
  line-height: 1.75
}

.admin-login-security {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 34px;
  color: #e6edf5;
  font-size: 11px;
  font-weight: 700
}

.admin-login-security .admin-lock {
  width: 8px;
  height: 8px;
  background: #76c69b;
  box-shadow: 0 0 0 4px rgba(118, 198, 155, .15)
}

.admin-login .admin-login-card {
  align-content: center;
  width: 100%;
  gap: 15px;
  padding: clamp(28px, 4vw, 48px);
  border: 0;
  border-radius: 0;
  box-shadow: none
}

.admin-login-card h2 {
  margin: -10px 0 -7px;
  color: #1b2b43;
  font-family: inherit;
  font-size: 26px;
  font-weight: 760;
  letter-spacing: -.03em
}

.admin-login-card>p {
  margin: 0 0 5px;
  color: #738095;
  font-size: 13px
}

.admin-login-card label {
  display: grid;
  gap: 7px;
  color: #45536a;
  font-size: 12px;
  font-weight: 750
}

.admin-login-card input {
  min-height: 46px;
  padding: 10px 12px;
  border-color: #dbe2eb;
  border-radius: 8px;
  font-size: 13px
}

.admin-login-card input:focus {
  border-color: #6a9bc9;
  outline: 3px solid rgba(54, 117, 176, .13)
}

.admin-password-control {
  position: relative;
  display: block
}

.admin-password-control input {
  padding-right: 64px
}

.admin-password-toggle {
  position: absolute;
  top: 50%;
  right: 9px;
  padding: 6px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #426d99;
  font-size: 11px;
  font-weight: 750
}

.admin-login-card #adminLoginSubmit {
  min-height: 46px;
  margin-top: 4px;
  font-size: 13px
}

.admin-login-card .admin-login-footnote {
  margin-top: 4px;
  color: #8490a0;
  font-size: 10px
}

.admin-login-card .admin-login-footnote span {
  color: #34845b
}

.admin-login-footnote-lock {
  display: inline-block;
  width: 8px;
  height: 7px;
  margin: 0 2px 1px 0;
  border: 1.5px solid #34845b;
  border-radius: 2px;
  vertical-align: middle
}

.admin-login-footnote-lock::before {
  display: block;
  width: 4px;
  height: 4px;
  margin: -5px auto 0;
  border: 1px solid #34845b;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  content: ""
}

.form-workspace .form-panel {
  border-color: #e0e7f0;
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(18, 38, 67, .055)
}

.form-workspace .form-section {
  padding-bottom: 23px;
  margin-bottom: 23px;
  border-color: #e9edf3
}

.form-workspace .form-section-last {
  padding-bottom: 0;
  margin-bottom: 8px
}

.form-workspace .consent {
  margin-top: 8px
}

.form-workspace .form-section-title {
  color: #1d314d;
  font-size: 16px
}

.form-workspace .field {
  gap: 7px
}

.form-workspace .field label,
.form-workspace .legend {
  color: #3e4e65;
  font-size: 12px;
  font-weight: 750
}

.form-workspace .field input,
.form-workspace .field select,
.form-workspace .field textarea {
  min-height: 44px;
  padding: 10px 12px;
  border-color: #d8e0ea;
  border-radius: 8px;
  font-size: 13px;
  transition: border-color .15s ease, box-shadow .15s ease
}

.form-workspace .field input:focus,
.form-workspace .field select:focus,
.form-workspace .field textarea:focus {
  border-color: #6a9bc9;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(54, 117, 176, .13)
}

.form-workspace .btn {
  min-height: 42px;
  border-radius: 8px;
  font-size: 13px
}

@media(max-width:1250px) {
  .admin-dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:1100px) {
  .admin-layout {
    grid-template-columns: 220px minmax(0, 1fr)
  }

  .admin-sidebar {
    padding-right: 12px;
    padding-left: 12px
  }

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

  .admin-dashboard-queue {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 14px
  }

  .admin-dashboard-queue .admin-dashboard-card-heading {
    grid-column: 1 / -1
  }

  .admin-queue-link {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 0
  }

  .admin-queue-link>span:last-child {
    display: none
  }
}

@media(max-width:900px) {
  .admin-layout {
    display: block
  }

  .admin-sidebar {
    position: fixed;
    left: 0;
    width: min(285px, calc(100vw - 54px));
    min-height: 0;
    transform: translateX(-105%);
    transition: transform .2s ease;
    box-shadow: 12px 0 34px rgba(12, 27, 46, .12)
  }

  .admin-sidebar.is-open {
    transform: translateX(0)
  }

  .admin-sidebar-backdrop.is-visible {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: block;
    background: rgba(18, 31, 49, .42)
  }

  .admin-menu-toggle {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #526179;
    font-size: 16px
  }

  .admin-main .admin-header-inner {
    gap: 12px
  }

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

@media(max-width:560px) {
  .admin-main .container {
    width: calc(100% - 28px)
  }

  .admin-main .admin-header-inner {
    min-height: 58px
  }

  .admin-breadcrumb {
    gap: 6px;
    font-size: 10px
  }

  .admin-breadcrumb>span:first-child,
  .admin-main .admin-header-label {
    display: none
  }

  .admin-main .admin-header-actions {
    gap: 0
  }

  .admin-main .admin-header-actions .btn {
    min-height: 33px;
    padding: 6px 9px;
    font-size: 10px
  }

  .admin-main .admin-intro {
    padding: 20px 0 16px
  }

  .admin-main .admin-intro-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px
  }

  .admin-main .admin-intro p {
    max-width: 360px;
    font-size: 12px
  }

  .admin-dashboard-actions {
    display: flex;
    width: 100%
  }

  .admin-dashboard-actions a {
    display: none
  }

  .admin-dashboard-actions #dashboardRefresh {
    width: 100%;
    justify-content: center
  }

  .admin-main .admin-content {
    gap: 13px
  }

  .admin-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px
  }

  .admin-dashboard-metrics {
    gap: 8px
  }

  .admin-metric-card {
    gap: 9px;
    padding: 12px 10px
  }

  .admin-metric-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    border-radius: 8px;
    font-size: 14px
  }

  .admin-metric-label {
    font-size: 10px
  }

  .admin-metric-card strong {
    font-size: 21px
  }

  .admin-metric-card small {
    font-size: 9px
  }

  .admin-dashboard-card {
    padding: 15px 13px
  }

  .admin-dashboard-chart .admin-chart-row {
    grid-template-columns: minmax(100px, .9fr) minmax(55px, 1.3fr) 22px;
    gap: 7px
  }

  .admin-dashboard-chart .admin-chart-label {
    font-size: 9px
  }

  .admin-dashboard-queue {
    grid-template-columns: minmax(0, 1fr);
    gap: 0
  }

  .admin-dashboard-queue .admin-dashboard-card-heading {
    grid-column: 1
  }

  .admin-queue-link {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    border-bottom: 1px solid #edf0f5
  }

  .admin-login .admin-login-content {
    width: min(100% - 28px, 480px);
    min-height: calc(100vh - 58px);
    padding-top: 24px;
    padding-bottom: 30px
  }

  .admin-login-layout {
    grid-template-columns: minmax(0, 1fr)
  }

  .admin-login-aside {
    min-height: 0;
    padding: 24px
  }

  .admin-login-mark {
    width: 39px;
    height: 39px;
    margin-bottom: 16px
  }

  .admin-login-aside h1 {
    margin-top: 6px;
    font-size: 25px
  }

  .admin-login-aside p {
    font-size: 12px
  }

  .admin-login-security {
    margin-top: 18px
  }

  .admin-login .admin-login-card {
    gap: 13px;
    padding: 24px
  }
}

.admin-ticket-access-panel {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin-top: 12px;
  padding: 12px 0 0;
  border-top: 1px solid #edf0f5
}

.admin-ticket-access-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px
}

.admin-ticket-access-panel h3 {
  margin: 0;
  padding: 0;
  border: 0;
  color: #435168;
  font-size: 13px;
  font-weight: 750
}

.admin-ticket-access-panel .admin-access-status {
  margin: 0;
  padding: 0;
  background: transparent;
  color: #7a8698;
  font-size: 11px
}

.admin-ticket-access-panel .admin-access-status.is-active {
  color: #28714c
}

.admin-ticket-access-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px
}

.admin-ticket-access-expiry {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #5e6b80;
  font-size: 11px;
  font-weight: 700
}

.admin-ticket-access-expiry input {
  width: 68px;
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid #dce3ed;
  border-radius: 7px;
  background: #fff;
  color: #26364d;
  font: inherit;
  font-size: 12px
}

.admin-ticket-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px
}

.admin-ticket-access-actions .btn {
  min-height: 34px;
  margin: 0;
  padding: 6px 10px;
  font-size: 11px
}

.admin-ticket-link-panel {
  display: grid;
  gap: 6px;
  max-width: 700px
}

.admin-ticket-link-panel>label {
  color: #68758a;
  font-size: 11px
}

.appointment-booking-page {
  min-height: 100vh;
  background: #f5f7fb
}

.appointment-booking-main {
  display: grid;
  max-width: 760px;
  min-height: calc(100vh - 82px);
  place-items: start center;
  padding-top: 42px;
  padding-bottom: 60px
}

.appointment-booking-card {
  width: 100%;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid #e6ebf2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(6, 26, 58, .07)
}

.appointment-booking-card h1 {
  margin: 8px 0 10px;
  color: #203047;
  font-size: clamp(28px, 5vw, 40px)
}

.appointment-booking-intro,
.appointment-privacy-note,
.appointment-timezone {
  color: #68758a;
  line-height: 1.6
}

.appointment-type {
  margin: 20px 0;
  color: #1763ad;
  font-weight: 800
}

.appointment-booking-card form,
.appointment-booking-card form label {
  display: grid;
  gap: 8px
}

.appointment-booking-card form {
  gap: 16px
}

.appointment-booking-card form label {
  color: #44536a;
  font-size: 13px;
  font-weight: 700
}

.document-preparation {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid #e4e9f0;
  border-radius: 12px;
  background: #f8fafc
}

.document-preparation h2 {
  margin: 0 0 8px;
  color: #233750;
  font-size: 16px
}

.document-preparation p {
  margin: 0 0 10px;
  color: #526179;
  font-size: 13px;
  line-height: 1.55
}

.document-preparation ul {
  display: grid;
  gap: 7px;
  margin: 12px 0;
  padding-left: 20px;
  color: #34445a;
  font-size: 13px;
  line-height: 1.5
}

.document-preparation .hint {
  margin: 12px 0 0;
  font-size: 12px
}

.appointment-management-form {
  display: grid;
  gap: 16px;
  max-width: 520px;
  margin: 24px 0
}

.appointment-management-form .field {
  color: #44536a;
  font-size: 13px;
  font-weight: 700
}

.manage-appointment-page .appointment-cancel-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding: 17px 18px;
  border: 1px solid #f0d7d7;
  border-radius: 12px;
  background: #fff8f8
}

.manage-appointment-page .appointment-cancel-section h3 {
  margin: 0 0 4px;
  color: #743333;
  font-size: 14px
}

.manage-appointment-page .appointment-cancel-section p {
  margin: 0;
  color: #735b5b;
  font-size: 13px;
  line-height: 1.5
}

.manage-appointment-page .appointment-cancel-button {
  min-height: 44px;
  border: 1px solid #c77979;
  background: #fff;
  color: #8b2f2f;
  font-weight: 800
}

.manage-appointment-page .appointment-cancel-button:hover:not(:disabled) {
  border-color: #a63838;
  background: #fff0f0
}

.manage-appointment-page .appointment-cancel-button:focus-visible {
  outline: 3px solid rgba(166, 56, 56, .28);
  outline-offset: 3px
}

.manage-appointment-page .appointment-cancel-button:disabled {
  cursor: wait;
  opacity: .65
}

@media(max-width:560px) {
  .manage-appointment-page .appointment-cancel-section {
    grid-template-columns: minmax(0, 1fr)
  }

  .manage-appointment-page .appointment-cancel-button {
    width: 100%
  }
}

.appointment-booking-card input,
.appointment-booking-card select,
.appointment-booking-card textarea,
.appointment-management-form select,
.admin-appointment-controls input,
.admin-appointment-controls select,
.admin-appointment-controls textarea,
.admin-availability-day input {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #dce3ed;
  border-radius: 8px;
  background: #fff;
  color: #26364d;
  font: inherit
}

.appointment-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px
}

.appointment-choice-field {
  display: grid;
  grid-template-rows: 18px 46px minmax(32px, auto);
  align-content: start;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0
}

.appointment-field-label {
  display: block;
  min-width: 0;
  color: #44536a;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px
}

.appointment-date-picker {
  position: relative
}

#appointmentSlot {
  min-width: 0;
  min-height: 46px;
  margin: 0
}

.appointment-date-trigger {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  border: 1px solid #dce3ed;
  border-radius: 9px;
  background: #fff;
  color: #26364d;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer
}

.appointment-date-trigger:hover:not(:disabled),
.appointment-date-trigger[aria-expanded="true"] {
  border-color: #9eb4ce;
  background: #fbfdff
}

.appointment-date-trigger:disabled {
  background: #f7f8fa;
  color: #8b95a4;
  cursor: not-allowed
}

.appointment-date-trigger:focus-visible {
  outline: 3px solid rgba(31, 144, 254, .22);
  border-color: #1f90fe
}

.appointment-date-trigger-icon {
  color: #5e7088;
  font-size: 18px;
  line-height: 1
}

.appointment-calendar {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  width: min(320px, calc(100vw - 48px));
  padding: 14px;
  border: 1px solid #dce3ed;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(23, 42, 69, .18)
}

.appointment-calendar[hidden] {
  display: none
}

.appointment-calendar-header {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px
}

.appointment-calendar-header h2 {
  margin: 0;
  color: #26364d;
  font-size: 14px;
  text-align: center
}

.appointment-calendar-nav {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #dce3ed;
  border-radius: 9px;
  background: #fff;
  color: #34445a;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer
}

.appointment-calendar-nav:hover:not(:disabled) {
  border-color: #9eb4ce;
  background: #f5f8fc
}

.appointment-calendar-nav:disabled {
  opacity: .4;
  cursor: not-allowed
}

.appointment-calendar-weekdays,
.appointment-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px
}

.appointment-calendar-weekdays {
  margin-bottom: 4px;
  color: #748197;
  font-size: 11px;
  font-weight: 700;
  text-align: center
}

.appointment-calendar-weekdays span {
  padding: 5px 0
}

.appointment-calendar-day,
.appointment-calendar-empty {
  display: grid;
  min-width: 0;
  min-height: 36px;
  place-items: center
}

.appointment-calendar-day {
  padding: 0;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #a4adba;
  font: inherit;
  font-size: 13px
}

.appointment-calendar-day.is-available {
  border-color: #dce3ed;
  background: #f8fafc;
  color: #26364d;
  cursor: pointer
}

.appointment-calendar-day.is-available:hover {
  border-color: #8eacd0;
  background: #edf5ff
}

.appointment-calendar-day.is-selected,
.appointment-calendar-day.is-selected:hover {
  border-color: #0a2348;
  background: #0a2348;
  color: #fff
}

.appointment-calendar-day:focus-visible,
.appointment-calendar-nav:focus-visible {
  outline: 3px solid rgba(31, 144, 254, .28);
  outline-offset: 2px
}

.appointment-date-status {
  min-width: 0;
  min-height: 32px;
  margin: 0;
  color: #748197;
  font-size: 12px;
  line-height: 16px
}

.appointment-time-status {
  min-width: 0;
  min-height: 32px;
  margin: 0;
  color: #748197;
  font-size: 12px;
  line-height: 16px
}

.appointment-timezone,
.appointment-privacy-note {
  margin: -7px 0 0;
  font-size: 12px
}

.appointment-booking-card .btn {
  justify-self: start;
  min-height: 44px
}

.appointment-confirmation {
  padding: 20px;
  border: 1px solid #b8dfc7;
  border-radius: 12px;
  background: #f0faf4;
  color: #285d3b
}

.appointment-confirmation h2 {
  margin: 0 0 10px
}

.appointment-confirmation p:last-child {
  margin-bottom: 0
}

#appointmentsSection .admin-appointment-tools {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px
}

#appointmentsSection .admin-appointment-tools .btn {
  margin: 0
}

#appointmentSettingsForm {
  display: grid;
  gap: 18px;
  width: 100%
}

#appointmentSettingsForm[hidden] {
  display: none
}

.admin-appointment-list-heading h2 {
  margin: 0;
  color: #10213e;
  font-size: 18px;
  font-weight: 800
}

.appointment-settings-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 14px
}

.appointment-settings-fields label {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: #58667a;
  font-size: 11px;
  font-weight: 800
}

.appointment-settings-fields input,
.appointment-settings-fields select {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #dce3ed;
  border-radius: 9px;
  background: #fff;
  color: #26364d;
  font: inherit;
  font-size: 13px
}

.admin-availability-days {
  display: grid;
  gap: 0;
  padding: 6px 14px;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  background: #fafbfd
}

.admin-availability-day {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) repeat(2, minmax(120px, 180px));
  align-items: center;
  gap: 12px;
  min-height: 52px;
  border-bottom: 1px solid #edf0f5
}

.admin-availability-day:last-child {
  border-bottom: 0
}

.admin-availability-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #46556b;
  font-size: 13px;
  font-weight: 700
}

.admin-availability-toggle input {
  width: 16px;
  height: 16px;
  min-height: 16px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  accent-color: #0a2348
}

.admin-availability-day input:disabled {
  border-color: #edf0f5;
  background: #f0f2f6;
  color: #98a2b1;
  cursor: not-allowed
}

.admin-availability-day input:focus-visible,
.appointment-settings-fields input:focus-visible,
.appointment-settings-fields select:focus-visible,
.admin-appointment-controls input:focus-visible,
.admin-appointment-controls select:focus-visible,
.admin-appointment-controls textarea:focus-visible {
  outline: 3px solid rgba(31, 144, 254, .22);
  border-color: #1f90fe
}

.admin-appointment-date-input {
  min-width: 0;
  cursor: pointer;
  color-scheme: light
}

.admin-appointment-date-input::-webkit-calendar-picker-indicator {
  width: 18px;
  height: 18px;
  margin-left: 8px;
  cursor: pointer;
  opacity: .75
}

.admin-appointment-date-input::-webkit-calendar-picker-indicator:hover {
  opacity: 1
}

.admin-blocked-date-controls {
  display: grid;
  grid-template-columns: minmax(180px, 260px) auto;
  align-items: end;
  gap: 12px
}

.admin-blocked-date-controls>label {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: #5e6b80;
  font-size: 11px;
  font-weight: 700
}

.admin-blocked-date-controls input[type="date"] {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #dce3ed;
  border-radius: 9px;
  background: #fff;
  color: #26364d;
  color-scheme: light;
  font: inherit;
  font-size: 13px;
  cursor: pointer
}

.admin-blocked-date-controls input[type="date"]:focus-visible {
  outline: 3px solid rgba(31, 144, 254, .22);
  border-color: #1f90fe
}

.admin-blocked-date-controls input[type="date"]::-webkit-calendar-picker-indicator {
  width: 18px;
  height: 18px;
  margin-left: 8px;
  cursor: pointer;
  opacity: .75
}

.admin-blocked-date-controls input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1
}

.admin-blocked-date-controls .btn {
  min-height: 40px;
  margin: 0;
  padding: 8px 12px;
  font-size: 11px
}

.admin-blocked-date-controls ul {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none
}

.admin-blocked-date-controls li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border: 1px solid #e6ebf2;
  border-radius: 8px;
  color: #5e6b80;
  font-size: 11px
}

.admin-blocked-date-controls li .btn {
  min-height: 28px;
  padding: 4px 7px
}

.admin-appointment-list-heading {
  border-bottom: 1px solid #edf0f5
}

.admin-appointment-list-tools {
  gap: 16px
}

.admin-appointment-list-tools label,
.admin-appointment-controls label {
  display: grid;
  gap: 6px;
  color: #5e6b80;
  font-size: 11px;
  font-weight: 700
}

.admin-appointment-list-tools select {
  min-width: 180px;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #dce3ed;
  border-radius: 8px;
  background: #fff;
  color: #26364d;
  font: inherit;
  font-size: 12px
}

.admin-appointment-list {
  display: grid;
  gap: 12px;
  padding: 12px 26px 24px
}

.admin-appointment-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #fcfdff);
  box-shadow: 0 3px 12px rgba(21, 39, 67, .025)
}

.admin-appointment-manage {
  justify-self: start
}

.admin-ticket-open-button {
  justify-self: start;
  width: auto;
  max-width: 100%
}

.admin-appointment-card .admin-appointment-manage {
  width: auto;
  max-width: 100%
}

.admin-appointment-detail {
  display: grid;
  gap: 18px
}

.admin-record-dialog-content #appointmentSettingsForm {
  gap: 20px
}

.admin-record-dialog-content #appointmentSettingsForm .admin-availability-days {
  background: #fff
}

.admin-record-dialog-content #appointmentSettingsForm .btn-dark,
.admin-appointment-card .btn-dark {
  background: #0a2348;
  color: #fff;
  box-shadow: 0 4px 10px rgba(6, 26, 58, .12)
}

.admin-appointment-card-heading,
.admin-appointment-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.admin-appointment-card-heading h4,
.admin-appointment-card-heading p,
.admin-appointment-time,
.admin-appointment-client-note {
  margin: 0
}

.admin-appointment-card-heading h4 {
  color: #293a52;
  font-size: 15px
}

.admin-appointment-card-heading p,
.admin-appointment-client-note {
  margin-top: 4px;
  color: #738095;
  font-size: 12px;
  overflow-wrap: anywhere
}

.admin-appointment-time {
  color: #34445a;
  font-size: 13px;
  font-weight: 700
}

.admin-appointment-status {
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf3fa;
  color: #45617f;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap
}

.admin-appointment-status.is-confirmed {
  background: #e7f6ec;
  color: #28714c
}

.admin-appointment-status.is-cancelled,
.admin-appointment-status.is-no_show {
  background: #fff0ef;
  color: #a74742
}

.admin-appointment-status.is-completed {
  background: #eaf3ff;
  color: #1763ad
}

.admin-appointment-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px
}

.admin-appointment-controls label:nth-child(3) {
  grid-column: span 2
}

.admin-appointment-controls textarea {
  min-height: 58px
}

#appointmentSettingsForm .btn,
.admin-appointment-card .btn {
  min-height: 40px;
  margin: 0;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 12px;
  transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease
}

#appointmentSettingsForm .btn-dark,
.admin-appointment-card .btn-dark {
  background: #0a2348;
  color: #fff;
  box-shadow: 0 4px 10px rgba(6, 26, 58, .12)
}

#appointmentSettingsForm .btn-dark:hover,
.admin-appointment-card .btn-dark:hover {
  background: #12395e;
  transform: translateY(-1px)
}

#appointmentSettingsForm .btn-secondary,
.admin-appointment-card .btn-secondary {
  border: 1px solid #dce3ed;
  background: #fff;
  color: #34445a
}

#appointmentSettingsForm .btn-secondary:hover,
.admin-appointment-card .btn-secondary:hover {
  border-color: #aabbd0;
  background: #f6f9fc
}

#appointmentSettingsForm .btn:disabled,
.admin-appointment-card .btn:disabled {
  opacity: .6;
  cursor: wait;
  transform: none
}

@media (max-width: 700px) {
  .appointment-booking-main {
    padding-top: 20px
  }

  .appointment-choice-grid,
  .appointment-settings-fields,
  .admin-appointment-controls {
    grid-template-columns: 1fr
  }

  .admin-appointment-controls label:nth-child(3) {
    grid-column: auto
  }

  .admin-availability-day {
    grid-template-columns: minmax(100px, 1fr) repeat(2, minmax(90px, 1fr))
  }

  .admin-blocked-date-controls {
    grid-template-columns: 1fr
  }

  .admin-appointment-list-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    padding-right: 16px;
    padding-left: 16px
  }

  .admin-appointment-list-tools {
    width: 100%;
    align-items: flex-end;
    justify-content: space-between
  }

  .admin-appointment-list-tools label {
    flex: 1 1 160px;
    max-width: 220px
  }

  .admin-appointment-list-tools select {
    width: 100%;
    min-width: 0
  }

  #appointmentsSection .admin-appointment-tools {
    justify-content: flex-start
  }

  .admin-appointment-list {
    padding-right: 16px;
    padding-left: 16px
  }

  .admin-appointment-card-heading {
    align-items: start
  }
}

@media(max-width:767px) {
  body[data-page="landing"] .landing-header-actions .top-cta,
  body[data-page="landing"] .landing-header-actions .header-appointment-cta {
    display: inline-flex;
    width: auto;
    min-height: 38px;
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1.2;
    text-align: center
  }

  body[data-page="landing"] .landing-header-actions {
    gap: 6px
  }
}

@media(max-width:560px) {
  body[data-page="landing"] .header-inner {
    flex-wrap: wrap;
    row-gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px
  }

  body[data-page="landing"] .landing-header-actions {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 8px
  }

  body[data-page="landing"] .landing-header-actions .top-cta,
  body[data-page="landing"] .landing-header-actions .header-appointment-cta {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    margin: 0;
    padding: 7px 8px;
    font-size: clamp(10px, 2.8vw, 12px);
    white-space: normal
  }
}

.admin-ticket-link-actions {
  display: flex;
  min-width: 0;
  gap: 7px
}

.admin-ticket-link-actions input {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid #dce3ed;
  border-radius: 7px;
  background: #fff;
  color: #526179;
  font: inherit;
  font-size: 11px
}

.admin-ticket-link-actions .btn {
  min-height: 34px;
  margin: 0;
  padding: 6px 10px;
  font-size: 11px
}

.admin-ticket-conversation,
.client-ticket-conversation {
  display: grid;
  gap: 9px;
  margin: 10px 0;
  padding: 12px;
  border: 1px solid #e8edf4;
  border-radius: 10px;
  background: #fafbfd
}

.admin-ticket-message,
.client-ticket-message {
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid #e3e9f1;
  border-radius: 9px;
  background: #fff
}

.admin-ticket-message.is-client,
.client-ticket-message.is-client {
  border-color: #d8e6f8;
  background: #f3f8ff
}

.admin-ticket-message > strong,
.client-ticket-message-heading strong {
  color: #26364d;
  font-size: 12px;
  font-weight: 800
}

.admin-ticket-message time,
.client-ticket-message time {
  margin-left: 9px;
  color: #8792a2;
  font-size: 11px
}

.admin-ticket-message p,
.client-ticket-message p {
  margin: 6px 0 0;
  color: #526179;
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere
}

.admin-ticket-unattended,
.client-ticket-unattended {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ece5d7;
  border-radius: 999px;
  padding: 3px 8px;
  background: #f8f5ee;
  color: #786b52;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3
}

.client-ticket-portal {
  max-width: 900px
}

body[data-page="client-tickets"] .client-ticket-portal {
  background: linear-gradient(180deg, rgba(247, 250, 253, .72), rgba(255, 255, 255, 0));
  border-radius: 18px
}

body[data-page="client-tickets"] #clientTicketStatus {
  min-height: 48px;
  display: flex;
  align-items: center
}

body[data-page="client-tickets"] .client-ticket-source {
  align-items: center;
  border-left: 4px solid #2866a3;
  background: #f8fafc
}

body[data-page="client-tickets"] .client-ticket-policy {
  margin: 12px 0 16px;
  line-height: 1.55
}

body[data-page="client-tickets"] .client-ticket-card {
  border-color: #dfe7f0;
  box-shadow: 0 8px 24px rgba(21, 39, 67, .055)
}

body[data-page="client-tickets"] .client-ticket-card-heading {
  padding-bottom: 12px;
  border-bottom: 1px solid #edf1f5
}

body[data-page="client-tickets"] .client-ticket-conversation {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px
}

body[data-page="client-tickets"] .client-ticket-message {
  max-width: 88%;
  border-radius: 12px
}

body[data-page="client-tickets"] .client-ticket-message.is-client {
  justify-self: end
}

body[data-page="client-tickets"] .client-ticket-reply-form {
  padding-top: 14px;
  border-top: 1px solid #edf1f5
}

body[data-page="client-tickets"] .client-ticket-reply-form textarea,
body[data-page="client-tickets"] .client-ticket-form textarea {
  min-height: 84px
}

body[data-page="client-tickets"] .client-ticket-reply-form .btn,
body[data-page="client-tickets"] .client-ticket-form .btn {
  min-height: 44px
}

body[data-page="client-tickets"] .btn:disabled {
  cursor: wait;
  opacity: .65
}

@media(max-width:560px) {
  body[data-page="client-tickets"] .client-ticket-message {
    max-width: 100%
  }

  body[data-page="client-tickets"] .client-ticket-card-heading {
    align-items: flex-start;
    flex-direction: column
  }

  body[data-page="client-tickets"] .client-ticket-reply-form .btn,
  body[data-page="client-tickets"] .client-ticket-form .btn {
    width: 100%
  }
}

.client-ticket-source {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 15px 18px;
  border: 1px solid #e0e7f0;
  border-radius: 10px;
  background: #fff
}

.client-ticket-source span,
.client-ticket-meta {
  color: #68758a;
  font-size: 12px
}

.client-ticket-source strong {
  color: #1b2b43;
  font-size: 14px
}

.client-ticket-policy,
.client-ticket-closed-note {
  color: #68758a;
  font-size: 13px
}

.client-ticket-list {
  display: grid;
  gap: 16px;
  margin: 18px 0
}

.client-ticket-card,
.client-ticket-form {
  display: grid;
  gap: 14px;
  padding: clamp(16px, 3vw, 23px);
  border: 1px solid #e1e8f1;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(21, 39, 67, .04)
}

.client-ticket-card-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px
}

.client-ticket-reference {
  color: #7d8999;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em
}

.client-ticket-card h2,
.client-ticket-form h2 {
  margin: 4px 0 0;
  color: #1b2b43;
  font-size: 18px
}

.client-ticket-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px
}

.client-ticket-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  background: #edf2f8;
  color: #526179;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase
}

.client-ticket-badge.is-open {
  background: #e9f1ff;
  color: #245c9e
}

.client-ticket-badge.is-in-progress {
  background: #f0eaff;
  color: #6944a3
}

.client-ticket-badge.is-waiting {
  background: #fff4dc;
  color: #835800
}

.client-ticket-badge.is-closed,
.client-ticket-badge.is-resolved {
  background: #e6f4ec;
  color: #26734b
}

.client-ticket-meta {
  margin: -7px 0 0
}

.client-ticket-message-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px
}

.client-ticket-reply-form {
  display: grid;
  justify-items: start;
  gap: 10px
}

.client-ticket-reply-form .field {
  width: 100%
}

.client-ticket-reply-form textarea,
.client-ticket-form textarea {
  min-height: 96px;
  resize: vertical
}

.admin-ticket-update-form {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.admin-ticket-comment {
  grid-column: 1 / -1
}

@media(max-width:560px) {
  .admin-ticket-access-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px
  }

  .admin-ticket-access-controls {
    gap: 8px
  }

  .admin-ticket-access-actions .btn,
  .admin-ticket-link-actions .btn {
    width: auto
  }

  .admin-ticket-link-actions {
    flex-direction: column
  }
}

.case-status-card {
  max-width: 920px;
  padding: clamp(20px, 4vw, 36px);
  border-color: #dce5ef
}

.case-status-card {
  background: linear-gradient(180deg, #fff 0%, #fcfdff 100%)
}

.case-status-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e8edf4
}

.case-status-card-header .eyebrow {
  margin-bottom: 5px
}

.case-status-card-header h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(22px, 3vw, 28px)
}

.case-status-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 320px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800
}

.case-status-live::before {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  content: ""
}

.case-status-details {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 28px
}

.case-status-details .field {
  min-width: 0;
  gap: 8px;
  padding: 16px;
  border: 1px solid #e4eaf1;
  border-radius: 14px;
  background: #f8fafc
}

.case-status-details dt {
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase
}

.case-status-details dd {
  min-width: 0;
  margin: 0;
  color: #172941;
  font-size: 16px;
  font-weight: 800;
  overflow-wrap: anywhere
}

.case-status-details .case-ref {
  font-size: clamp(18px, 2.4vw, 22px)
}

.case-status-progress-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px
}

.case-status-progress-heading h3 {
  margin: 0;
  color: var(--navy);
  font-size: 17px
}

.case-status-progress-heading span {
  color: var(--muted);
  font-size: 12px
}

.case-status-timeline {
  gap: 8px;
  margin: 16px 0 26px
}

.case-status-step {
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid #e5eaf1;
  border-radius: 13px;
  background: #fff;
  transition: background-color .15s ease, border-color .15s ease
}

.case-status-step:not(:last-child)::before {
  top: 36px;
  bottom: -9px;
  left: 25px;
  width: 2px;
  background: #dce4ed
}

.case-status-marker {
  flex-basis: 24px
}

.case-status-step.is-complete {
  border-color: #d6eadd;
  background: #f5faf6
}

.case-status-step.is-current {
  border-color: #bfd4ee;
  background: #f3f8fe;
  box-shadow: 0 4px 14px rgba(6, 26, 58, .05)
}

.case-status-step.is-current[data-case-terminal] {
  border-color: #f0d1d1;
  background: #fff7f7
}

.case-status-next-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 20px;
  padding: 18px;
  border-color: #c9dbef;
  border-radius: 14px;
  background: #f2f7fd;
  color: #173c66
}

.case-status-next-step-icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #dceafa;
  color: #174b83;
  font-size: 20px;
  font-weight: 800
}

.case-status-next-step strong {
  display: block;
  margin: 1px 0 4px;
  color: var(--navy);
  font-size: 13px
}

.case-status-next-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55
}

.case-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0
}

.case-status-actions #caseStatusRefresh {
  min-height: 44px
}

.case-status-actions #caseStatusRefresh:disabled {
  cursor: wait;
  opacity: .65
}

.case-status-actions .btn+.btn {
  margin-left: 0
}

.case-status-privacy {
  margin: 20px 0 0;
  padding-top: 15px;
  border-top: 1px solid #e8edf4;
  line-height: 1.6
}

@media(max-width:700px) {
  .case-status-details {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:560px) {
  .case-status-card-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px
  }

  .case-status-live {
    max-width: 100%
  }

  .case-status-details {
    gap: 9px;
    margin: 18px 0 24px
  }

  .case-status-details .field {
    padding: 12px
  }

  .case-status-details .field:first-child {
    grid-column: 1 / -1
  }

  .case-status-progress-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px
  }

  .case-status-actions {
    align-items: stretch;
    flex-direction: column
  }

  .case-status-actions .btn {
    width: 100%
  }
}

@media(max-width:380px) {
  .case-status-details {
    grid-template-columns: 1fr
  }
}

.service-catalog-controls {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 1fr);
  gap: 12px 16px;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid #e2e9f2;
  border-radius: 14px;
  background: #f8fafd
}

.service-catalog-controls label {
  display: grid;
  gap: 6px;
  color: #34445a;
  font-size: 14px;
  font-weight: 750
}

.service-catalog-controls label[for="serviceSearch"] {
  width: 100%;
  max-width: 340px
}

.service-catalog-controls label[for="serviceCategoryFilter"] {
  width: 100%;
  max-width: 320px;
  justify-self: end
}

.service-catalog-controls input,
.service-catalog-controls select {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #cdd8e2;
  border-radius: 8px;
  background: #fff;
  color: #26364d;
  font: inherit;
  font-weight: 400
}

.service-catalog-controls input:focus-visible,
.service-catalog-controls select:focus-visible {
  outline: 3px solid rgba(26, 115, 232, .13);
  border-color: var(--blue)
}

.service-catalog-results {
  grid-column: 1 / -1;
  margin: 0;
  color: #68758a;
  font-size: 12px
}

.service-catalog-empty {
  margin: 0;
  padding: 22px;
  border: 1px dashed #cbd6e4;
  border-radius: 12px;
  background: #f8fafd;
  color: #526179;
  text-align: center
}

.intake-review {
  display: grid;
  gap: 16px
}

.intake-review h2 {
  margin: 0;
  color: var(--navy);
  font-family: inherit;
  font-size: 22px
}

.intake-review > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6
}

.intake-review-summary {
  display: grid;
  gap: 12px
}

.intake-review-summary section {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfe
}

.intake-review-summary h3 {
  margin: 0 0 11px;
  color: var(--navy);
  font-family: inherit;
  font-size: 15px
}

.intake-review-summary dl {
  display: grid;
  gap: 9px;
  margin: 0
}

.intake-review-summary dl > div {
  display: grid;
  grid-template-columns: minmax(150px, .7fr) minmax(0, 1.3fr);
  gap: 12px
}

.intake-review-summary dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700
}

.intake-review-summary dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere
}

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

.intake-review-actions .btn {
  min-height: 46px
}

@media(max-width:640px) {
  .service-catalog-controls {
    grid-template-columns: minmax(0, 1fr)
  }

  .service-catalog-controls label[for="serviceCategoryFilter"] {
    max-width: 300px
  }
}

@media(max-width:560px) {
  .service-catalog-controls {
    padding: 15px
  }

  .intake-review-summary dl > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px
  }

  .intake-review-actions {
    flex-direction: column-reverse
  }

  .intake-review-actions .btn {
    width: 100%
  }
}