:root {
  --ink: #173e41;
  --ink-deep: #102f32;
  --muted: #647579;
  --accent: #eee0bc;
  --paper: #f7f3e9;
  --line: #d7dfe8;
  --error: #ab3535;
  --bs-body-font-family: Arial, Helvetica, sans-serif;
  --bs-body-color: #203b3d;
  --bs-body-bg: #f7f3e9;
  --bs-primary: #173e41;
  --bs-border-color: #d7dfe8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: var(--ink);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
a {
  text-underline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #39766c;
  outline-offset: 3px;
}
.demo-bar {
  background: var(--ink-deep);
  color: #e4ede7;
  padding: 7px 5vw;
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 12px;
  letter-spacing: 1.1px;
}
.demo-bar span {
  letter-spacing: 0;
}
.site-header {
  background: #fffdf7;
  border-bottom: 1px solid var(--line);
  padding: 24px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  flex-shrink: 0;
}
.brand-mark {
  background: var(--ink);
  color: #fffdf7;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-family: Georgia, serif;
  font-size: 34px;
  position: relative;
}
.brand-mark span {
  position: absolute;
  right: 4px;
  top: 3px;
  color: var(--accent);
  font: 16px Arial;
}
.brand-sub {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  margin-top: 7px;
  font-weight: 500;
}
nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
nav a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
nav a:hover,
nav a[aria-current="page"] {
  text-decoration: underline;
}
.agent-link {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}
.agent-link span {
  margin-left: 10px;
}
main {
  min-height: 72vh;
  outline: none;
}
.wrap {
  max-width: 1220px;
  margin: auto;
  padding: 48px 28px 72px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #567479;
  margin: 0 0 18px;
}
.eyebrow.light {
  color: #eee0bc;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--ink);
}
h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 500;
}
h2 {
  font-size: 28px;
  font-weight: 500;
}
h3 {
  font-size: 20px;
  font-weight: 600;
}
p {
  margin-bottom: 18px;
}
.muted,
small {
  color: var(--muted);
}
small {
  font-size: 14px;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--ink);
  color: #d9e7e6;
  border-radius: 20px;
  overflow: hidden;
}
.hero-copy {
  padding: 52px 48px;
}
.hero h1 {
  color: #fffdf7;
  font-size: clamp(36px, 4vw, 54px);
  margin-bottom: 24px;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 440px;
}
.hero-steps {
  border-left: 1px solid #426165;
  padding: 38px 40px;
  background: var(--ink-deep);
}
.hero-steps h2 {
  color: #fffdf7;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.journey {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: journey;
}
.journey li {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 12px 0;
  position: relative;
}
.journey li:before {
  counter-increment: journey;
  content: "0" counter(journey);
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid #607c76;
  border-radius: 50%;
  font-size: 12px;
  color: var(--accent);
  flex-shrink: 0;
}
.journey strong {
  display: block;
  font-size: 15px;
  color: #fffdf7;
}
.journey span {
  font-size: 13px;
  color: #b1c6c5;
}
.btn {
  min-height: 46px;
  border-radius: 8px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  line-height: 1.45;
}
.btn-primary {
  --bs-btn-bg: var(--ink);
  --bs-btn-border-color: var(--ink);
  --bs-btn-hover-bg: #28565a;
  --bs-btn-hover-border-color: #28565a;
  --bs-btn-disabled-bg: var(--ink);
  --bs-btn-disabled-border-color: var(--ink);
}
.btn-lime {
  background: var(--accent);
  color: var(--ink-deep);
  border-color: var(--accent);
}
.btn-lime:hover {
  background: #faf0d7;
  color: var(--ink-deep);
}
.btn-outline {
  border: 1px solid #bfcfcf;
  background: #fffdf7;
  color: var(--ink);
}
.btn-outline:hover {
  background: #f1eadb;
  border-color: var(--ink);
}
.btn-quiet {
  background: transparent;
  color: var(--ink);
  border: 0;
}
.btn:disabled {
  cursor: not-allowed;
}
.hero-link {
  display: block;
  color: #fffdf7;
  margin-top: 18px;
  font-size: 14px;
}
.read-first {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 44px 0 23px;
}
.read-first h2 {
  margin: 0;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.info-item {
  border-top: 1px solid #bbcccc;
  padding-top: 20px;
}
.info-item .number {
  font-size: 12px;
  color: #758786;
  letter-spacing: 1px;
}
.info-item h3 {
  font-size: 19px;
  margin: 13px 0;
}
.info-item p {
  font-size: 15px;
  color: #586c70;
}
.notice {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: #f0eadb;
  border: 1px solid #ded6c4;
  border-radius: 10px;
  padding: 20px 23px;
  font-size: 14px;
}
.notice strong {
  display: block;
  color: var(--ink);
}
.notice p:last-child {
  margin: 0;
}
.notice-icon {
  font-family: Georgia, serif;
  border: 1px solid #739482;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.landing-notice {
  margin-top: 26px;
}
.workspace-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}
.workspace-head h1 {
  font-size: 36px;
  margin: 0;
}
.workspace-head p {
  margin: 8px 0 0;
}
.scheme-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}
.scheme-label:before {
  content: "";
  width: 7px;
  height: 7px;
  background: #4a8064;
  border-radius: 50%;
}
.stepper {
  display: flex;
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  border-bottom: 1px solid var(--line);
  gap: 0;
}
.stepper li {
  flex: 1;
}
.stepper button {
  width: 100%;
  padding: 18px 10px;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  display: flex;
  gap: 10px;
  align-items: center;
  color: #6b7b7d;
  text-align: left;
  font-size: 14px;
}
.stepper button:disabled {
  opacity: 0.65;
}
.stepper button.active {
  border-color: var(--ink);
  color: var(--ink);
  font-weight: 700;
}
.step-dot {
  border: 1px solid #b9cbcb;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
}
.active .step-dot,
.done .step-dot {
  background: var(--ink);
  border-color: var(--ink);
  color: #fffdf7;
}
.wizard-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 44px;
}
.wizard-help {
  padding-top: 12px;
}
.wizard-help .page-count {
  color: #577779;
  font-size: 12px;
  letter-spacing: 1.4px;
  font-weight: 700;
}
.wizard-help h2 {
  font-size: 24px;
  margin: 14px 0;
}
.wizard-help p {
  font-size: 14px;
  color: var(--muted);
}
.help-line {
  height: 1px;
  background: var(--line);
  margin: 26px 0;
}
.time-box {
  background: #eee7d8;
  padding: 18px;
  border-radius: 10px;
  font-size: 14px;
}
.time-box strong {
  font-size: 30px;
  display: block;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.2;
}
.panel {
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 4px 15px #173e4108;
}
.panel h2 {
  font-size: 27px;
  margin-bottom: 10px;
}
.panel-intro {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 27px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 20px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.section-heading:first-child {
  margin-top: 0;
  border: 0;
  padding-top: 0;
}
.section-heading h3 {
  font-size: 18px;
  margin: 0;
}
.fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  margin-bottom: 20px;
  min-width: 0;
}
.fields-grid > .field {
  margin: 0;
}
.full {
  grid-column: 1/-1;
}
.form-label,
legend {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #294548;
}
.form-control,
.form-select {
  font-size: 16px;
  border-color: #cbd8d8;
  border-radius: 7px;
  padding: 11px 13px;
  min-height: 47px;
  color: #294548;
  background-color: #fffdf7;
}
.form-control:focus,
.form-select:focus {
  border-color: #4a7874;
  box-shadow: 0 0 0 3px #dcebe5;
}
.form-control[readonly] {
  background: #f4f0e7;
  color: #667a7a;
}
.form-control::placeholder {
  color: #7f9091;
  font-size: 14px;
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
  line-height: 1.65;
}
textarea.large {
  min-height: 190px;
}
.required {
  color: #a4423c;
}
.choices {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.choice {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid #cbd8d8;
  border-radius: 7px;
  cursor: pointer;
  font-size: 14px;
  min-height: 46px;
}
.choice:has(input:checked) {
  border-color: #35645e;
  background: #ecf2ec;
  color: var(--ink);
}
input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--ink);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.choices.stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.choices.stack .choice {
  align-items: flex-start;
}
.choices.stack input {
  margin-top: 3px;
}
.field-help {
  font-size: 13px;
  color: var(--muted);
  margin-top: 7px;
}
.counter {
  display: block;
  text-align: right;
  font-size: 12px;
  color: #65797b;
  margin-top: 5px;
}
.field-error {
  color: var(--error);
  font-size: 13px;
  margin-top: 6px;
  min-height: 0;
}
.field.invalid .form-control,
.field.invalid .form-select,
.field.invalid .choice {
  border-color: var(--error);
}
.validation-summary {
  background: #fff2f0;
  border: 1px solid #e7b8af;
  border-radius: 8px;
  padding: 13px 17px;
  color: #8c3029;
  font-size: 14px;
  margin: 0 0 24px;
}
.wizard-actions {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.action-right {
  display: flex;
  gap: 12px;
  align-items: center;
}
.progress-note {
  font-size: 12px;
  color: var(--muted);
}
.conditional {
  border-left: 3px solid #b9d0bb;
  padding: 8px 0 1px 18px;
  margin: 18px 0;
}
.party-block + .party-block {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 28px;
}
.party-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.party-title h3 {
  font-size: 18px;
  margin: 0;
}
.text-action {
  color: var(--ink);
  background: none;
  border: 0;
  text-decoration: underline;
  font-size: 14px;
  padding: 5px;
}
.upload-box {
  background: #faf7ef;
  border: 1px dashed #93afac;
  border-radius: 10px;
  padding: 20px;
}
.upload-box input {
  font-size: 14px;
  max-width: 100%;
}
.upload-box p {
  font-size: 13px;
  margin: 8px 0 0;
}
.file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.file-row .file-info {
  flex: 1;
  min-width: 170px;
  overflow-wrap: anywhere;
}
.file-info strong {
  font-size: 14px;
  display: block;
}
.file-row input {
  flex: 1;
  min-width: 160px;
  font-size: 14px;
}
.file-row small {
  font-size: 12px;
}
.review-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
}
.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.review-head h3 {
  font-size: 17px;
  margin: 0;
}
.review-block dl {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  font-size: 14px;
  margin: 18px 0 0;
  gap: 8px 16px;
}
.review-block dt {
  font-weight: 400;
  color: var(--muted);
}
.review-block dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  cursor: pointer;
}
.consent-row input {
  margin-top: 5px;
}
.receipt {
  max-width: 790px;
  margin: 0 auto;
}
.receipt-top {
  text-align: center;
  padding: 40px 30px;
  background: var(--ink);
  color: #d9e7e6;
  border-radius: 14px 14px 0 0;
}
.receipt-top h1 {
  font-size: 34px;
  color: #fffdf7;
}
.receipt-check {
  margin: 0 auto 20px;
  border: 1px solid var(--accent);
  color: var(--accent);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 24px;
}
.receipt-body {
  padding: 32px;
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 0 0 14px 14px;
}
.case-number {
  font-size: 30px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 1px;
  overflow-wrap: anywhere;
}
.receipt-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-block: 1px solid var(--line);
  padding: 22px 0;
  margin: 24px 0;
}
.receipt-dates span {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.receipt-dates strong {
  font-weight: 600;
}
.lookup-layout {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 28px;
}
.timeline {
  list-style: none;
  margin: 25px 0;
  padding: 0;
}
.timeline li {
  border-left: 2px solid #d5e4dc;
  padding: 0 0 24px 24px;
  position: relative;
  font-size: 14px;
}
.timeline li:before {
  content: "";
  position: absolute;
  left: -7px;
  top: 5px;
  width: 12px;
  height: 12px;
  background: #789b64;
  border: 3px solid #eef5ec;
  border-radius: 50%;
}
.timeline li strong {
  display: block;
}
.timeline li span {
  color: var(--muted);
  font-size: 13px;
}
.badge-status {
  display: inline-block;
  background: #eef2e9;
  color: #456327;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.badge-status.amber {
  background: #fff0d8;
  color: #8a5919;
}
.badge-status.red {
  background: #fbe7e4;
  color: #943e33;
}
.badge-status.blue {
  background: #e6eff6;
  color: #365e7c;
}
.dashboard-wrap {
  max-width: 1420px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 28px 0;
}
.stat-card {
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.stat-card span {
  font-size: 13px;
  color: var(--muted);
  display: block;
}
.stat-card strong {
  font-size: 35px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}
.stat-card.primary {
  background: var(--ink);
  border-color: var(--ink);
}
.stat-card.primary span {
  color: #cee0d9;
}
.stat-card.primary strong {
  color: #fffdf7;
}
.filters {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.filters .form-control,
.filters .form-select {
  font-size: 14px;
}
.queue-panel {
  padding: 24px;
}
.table {
  font-size: 14px;
  --bs-table-bg: transparent;
  margin: 0;
}
.table th {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #758789;
  font-weight: 500;
  background: #f6f2e9;
  white-space: nowrap;
  padding: 13px;
}
.table td {
  padding: 19px 13px;
  vertical-align: middle;
  max-width: 250px;
}
.table td small {
  display: block;
  font-size: 12px;
}
.table a {
  font-weight: 600;
  text-decoration: none;
}
.table a:hover {
  text-decoration: underline;
}
.case-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
}
.detail-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 14px;
}
.mini-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.empty-state {
  padding: 40px 25px;
  text-align: center;
  color: var(--muted);
}
.empty-symbol {
  font-size: 40px;
  color: #819b90;
  margin-bottom: 20px;
}
.empty-state h2 {
  font-size: 25px;
}
.toast-message {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink-deep);
  color: #fffdf7;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: 0 5px 25px #0002;
  z-index: 100;
  max-width: 90vw;
}
.skip-link {
  position: absolute;
  left: 10px;
  top: -60px;
  z-index: 200;
  background: #fffdf7;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 23px 5vw;
  font-size: 12px;
  color: #6d8382;
  border-top: 1px solid var(--line);
}
[hidden] {
  display: none !important;
}
details {
  font-size: 14px;
  margin-top: 18px;
}
summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 600;
}
details p {
  padding-top: 12px;
}
.inline-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.save-form {
  display: flex;
  gap: 10px;
  margin: 16px 0;
}
.save-form input {
  flex: 1;
  min-width: 0;
}
.panel + .panel {
  margin-top: 20px;
}
.note-item {
  font-size: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.note-item small {
  display: block;
  font-size: 12px;
}
.draft-panel {
  margin-top: 20px;
}
.demo-caption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 15px;
}
@media (max-width: 1000px) {
  .site-header {
    padding: 20px 25px;
  }
  nav {
    gap: 18px;
  }
  .agent-link {
    padding-left: 18px;
  }
  .hero-copy {
    padding: 35px;
  }
  .hero-steps {
    padding: 30px;
  }
  .wizard-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 25px;
  }
  .panel {
    padding: 25px;
  }
  .filters {
    grid-template-columns: repeat(3, 1fr);
  }
  .lookup-layout {
    grid-template-columns: 330px 1fr;
  }
  .case-detail-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .demo-bar {
    font-size: 10px;
    gap: 8px;
    padding: 7px 12px;
    letter-spacing: 0.5px;
  }
  .demo-bar span {
    font-size: 10px;
  }
  .site-header {
    flex-wrap: wrap;
    padding: 18px 20px;
    gap: 18px;
  }
  .brand {
    font-size: 17px;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  nav a {
    font-size: 12px;
  }
  .agent-link {
    padding-left: 12px;
  }
  .wrap {
    padding: 28px 18px 44px;
  }
  .hero {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }
  .hero-copy {
    padding: 32px 25px;
  }
  .hero h1 {
    font-size: 37px;
  }
  .hero-steps {
    padding: 25px;
    border-left: 0;
    border-top: 1px solid #426165;
  }
  .journey {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .journey li {
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
  }
  .journey strong {
    font-size: 13px;
  }
  .journey span {
    font-size: 12px;
  }
  .journey li:before {
    width: 27px;
    height: 27px;
    font-size: 10px;
  }
  .info-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .read-first {
    margin-top: 30px;
  }
  .read-first .muted {
    display: none;
  }
  .info-item {
    padding-top: 14px;
  }
  .info-item h3 {
    margin-top: 8px;
  }
  .workspace-head {
    align-items: start;
  }
  .workspace-head h1 {
    font-size: 29px;
  }
  .workspace-head .btn {
    padding: 9px 12px;
    font-size: 12px;
    white-space: nowrap;
  }
  .wizard-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .wizard-help {
    padding: 0;
  }
  .wizard-help h2,
  .wizard-help .help-line,
  .wizard-help .time-box {
    display: none;
  }
  .wizard-help p {
    margin: 7px 0 0;
  }
  .wizard-help .page-count {
    font-size: 11px;
  }
  .stepper {
    margin-bottom: 20px;
  }
  .stepper button {
    flex-direction: column;
    gap: 6px;
    padding: 13px 3px;
    font-size: 11px;
    text-align: center;
  }
  .step-dot {
    width: 25px;
    height: 25px;
    font-size: 11px;
  }
  .panel {
    padding: 22px 18px;
    border-radius: 10px;
  }
  .panel h2 {
    font-size: 25px;
  }
  .fields-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .choices.stack {
    grid-template-columns: 1fr;
  }
  .wizard-actions {
    flex-wrap: wrap;
  }
  .action-right {
    margin-left: auto;
  }
  .progress-note {
    display: none;
  }
  .review-block {
    padding: 16px;
  }
  .review-block dl {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .review-block dd {
    margin-bottom: 10px;
  }
  .lookup-layout {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat-card {
    padding: 17px;
  }
  .stat-card strong {
    font-size: 30px;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
  }
  .filters > .field:first-child {
    grid-column: 1/-1;
  }
  .queue-panel {
    padding: 18px 12px;
  }
  .receipt-top {
    padding: 30px 20px;
  }
  .receipt-body {
    padding: 23px;
  }
  .receipt-dates {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .case-number {
    font-size: 25px;
  }
  .receipt-top h1 {
    font-size: 29px;
  }
  .save-form {
    flex-wrap: wrap;
  }
  footer {
    flex-direction: column;
    gap: 4px;
    padding: 20px;
  }
  .notice {
    padding: 16px;
  }
  .file-row {
    align-items: flex-start;
  }
  .file-row input {
    flex-basis: 100%;
  }
  .workspace-head:has(.inline-actions) {
    flex-wrap: wrap;
  }
}
@media print {
  .demo-bar,
  .site-header,
  footer,
  .inline-actions,
  .btn {
    display: none !important;
  }
  .wrap {
    padding: 0;
  }
  .receipt {
    max-width: none;
  }
  .receipt-top {
    background: #fffdf7;
    color: #203b3d;
  }
  .receipt-top h1 {
    color: #203b3d;
  }
  .receipt-check {
    display: none;
  }
}
.btn[aria-disabled="true"] { opacity: .58; }
/* Client revision: text-only scheme identity and comfortable phone layouts. */
.brand { min-width: 0; flex-shrink: 1; overflow-wrap: anywhere; }
#scheme-brand { display: block; }
.attachment-guidance { margin: 18px 0; }
.attachment-guidance p { margin: 10px 0; }
.attachment-guidance strong { display: inline; }
.attachment-guidance > div > strong { display: block; }
#attachment-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; margin: auto; border: 1px solid var(--line); border-radius: 14px; padding: 28px; color: var(--ink); background: #fffdf7; box-shadow: 0 24px 80px #102f3240; }
#attachment-dialog::backdrop { background: #102f3299; }
#attachment-dialog h2 { font-size: 25px; margin-bottom: 18px; }
#attachment-dialog .btn { min-width: 100px; }
@media (max-width: 720px) {
  .site-header { padding: 16px; }
  nav { gap: 4px; flex-wrap: wrap; }
  nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px; font-size: 14px; }
  .agent-link { border-left: 0; padding-left: 6px; }
  .workspace-head { flex-wrap: wrap; }
  .workspace-head > div { min-width: 0; }
  .workspace-head .btn { font-size: 14px; min-height: 46px; }
  .stepper li { min-width: 0; }
  .stepper button { min-height: 74px; overflow-wrap: anywhere; }
  .stepper button > span:last-child { max-width: 100%; }
  .wizard-layout, .lookup-layout, .case-detail-grid { min-width: 0; }
  .panel, .review-block, .receipt-body { min-width: 0; }
  .panel h2, .workspace-head h1, .review-head h3 { overflow-wrap: anywhere; }
  .text-action { min-height: 44px; padding: 10px 5px; }
  .form-control, .form-select, .file-row input { font-size: 16px; }
  input[type="file"] { width: 100%; min-width: 0; }
  .wizard-actions { align-items: stretch; }
  .wizard-actions > .btn { flex: 1; }
  .wizard-actions .action-right { flex: 1; margin-left: 0; }
  .wizard-actions .action-right .btn { width: 100%; }
  .receipt .inline-actions > * { width: 100%; }
  .save-form { flex-direction: column; }
  .save-form input { width: 100%; }
  .notice { overflow-wrap: anywhere; }
  .attachment-guidance .text-action { text-align: left; }
  #attachment-dialog { padding: 22px; }
}
@media (max-width: 380px) {
  .wrap { padding-inline: 12px; }
  .hero-copy { padding: 26px 20px; }
  .hero h1 { font-size: 32px; }
  .hero-copy .btn { width: 100%; }
  .journey { grid-template-columns: 1fr; }
  .stepper button { font-size: 10px; }
  .demo-bar { flex-wrap: wrap; gap: 0 8px; text-align: center; }
}


.access-code{display:block;overflow-wrap:anywhere;font-size:16px;margin-top:16px}.preserve-text{white-space:pre-wrap;overflow-wrap:anywhere}.form-error{color:var(--error)}

