/* A unified monochrome identity. Load after styles.css and tokens.css. */
:root {
  --navy: #111111;
  --blue: #242424;
  --ink: #191919;
  --muted: #5c5c5c;
  --bg: #f4f4f2;
  --border: #d8d8d5;
  --paper: #ffffff;
  --line-dark: #363636;
  --sidebar-width: 284px;
}

html {
  scroll-padding-top: 28px;
}
body {
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body,
#app {
  min-width: 320px;
}
::selection {
  color: white;
  background: #333;
}
a {
  color: #151515;
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #111;
  outline-offset: 2px;
  border-color: #111;
  box-shadow: none;
}
.icon {
  width: 21px;
  height: 21px;
  stroke-width: 1.65;
}
.icon-sm {
  width: 17px;
  height: 17px;
}
.muted {
  color: #5b5b5b;
}
.text-small {
  font-size: 12px;
}
.skip-link {
  border: 1px solid #111;
  color: #111;
  font-size: 14px;
}

.demo-bar {
  padding: 10px 24px;
  border-bottom: 1px solid #cfcfcc;
  color: #373737;
  background: #ededeb;
  font-size: 12px;
  line-height: 1.65;
}
.demo-bar strong {
  color: #111;
  font-weight: 750;
  letter-spacing: 0.05em;
}
.public-header {
  height: auto;
  min-height: 112px;
  max-width: none;
  padding: 22px max(40px, calc((100vw - 1280px) / 2));
  background: #fff;
  border-bottom: 1px solid #ddd;
  gap: 32px;
}
.brand {
  gap: 15px;
  align-items: center;
  color: #111;
  min-width: 0;
}
.brand-title {
  display: block;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -0.035em;
}
.brand-sub {
  display: block;
  margin-top: 5px;
  color: #525252;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.005em;
  text-transform: none;
}
.brand-mark,
.brand-logo {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  object-fit: contain;
  border-radius: 0;
  border: 0;
  background: transparent;
}
.brand-logo {
  padding: 3px;
}
.brand-symbol {
  width: 56px;
  height: 56px;
  border-radius: 0;
}
.public-nav {
  gap: 26px;
}
.public-nav > a {
  color: #333;
  font-size: 13px;
  font-weight: 600;
}
.public-identity {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding: 12px max(40px, calc((100vw - 1280px) / 2));
  background: #f0f0ed;
  border-bottom: 1px solid #d8d8d5;
  color: #414141;
  font-size: 12px;
}
.public-identity strong {
  font-weight: 650;
  color: #161616;
}

.button {
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid #111;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.005em;
  line-height: 1.4;
  box-shadow: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.button-primary {
  color: #fff;
  background: #111;
  border-color: #111;
}
.button-primary:hover {
  color: #fff;
  background: #383838;
  border-color: #383838;
}
.button-secondary {
  color: #111;
  background: #fff;
  border-color: #b8b8b5;
}
.button-secondary:hover {
  color: #111;
  background: #eee;
  border-color: #111;
}
.button-soft {
  color: #111;
  background: #eaeae7;
  border-color: #d0d0cd;
}
.button-soft:hover {
  background: #dededb;
  border-color: #777;
}
.button-danger {
  color: #111;
  border-color: #777;
  background: #fff;
}
.button-danger:hover {
  color: #fff;
  background: #111;
}
.button-small {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 12px;
}
.button-link {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #222;
  background: transparent;
  font-weight: 650;
}
.button-link:hover {
  text-decoration: underline;
}
.icon-button,
.table-arrow {
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  color: #454545;
  border-radius: 2px;
}
.icon-button:hover,
.table-arrow:hover {
  color: #111;
  background: #e8e8e5;
}
.table-arrow {
  display: inline-flex;
  border: 1px solid #ddd;
}
.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4b4b4b;
}
.eyebrow::before {
  width: 24px;
  height: 1px;
  background: currentColor;
}

/* Public pages use an editorial grid, a dark opening, and clear section rules. */
.hero {
  position: relative;
  max-width: none;
  min-height: 610px;
  margin: 0;
  padding: 78px max(40px, calc((100vw - 1280px) / 2)) 68px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  background: #111;
  color: #fff;
  border-bottom: 1px solid #111;
}
.hero::before,
.hero::after {
  content: none;
}
.hero-copy {
  min-width: 0;
  max-width: 720px;
}
.hero .eyebrow,
.hero .section-kicker {
  color: #c5c5c5;
}
.hero h1 {
  margin: 27px 0 25px;
  color: #fff;
  font-size: clamp(43px, 4.35vw, 68px);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -0.055em;
}
.hero h1 span {
  color: #bdbdbd;
}
.hero-copy > p {
  max-width: 560px;
  color: #c6c6c6;
  font-size: 16px;
  line-height: 1.85;
  margin: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 27px;
}
.hero-actions .button {
  min-height: 50px;
  padding: 14px 22px;
  font-size: 14px;
}
.hero-actions .button-primary {
  color: #111;
  background: #fff;
  border-color: #fff;
}
.hero-actions .button-primary:hover {
  background: #dcdcdc;
  border-color: #dcdcdc;
}
.hero-actions .button-secondary {
  color: #fff;
  border-color: #777;
  background: transparent;
}
.hero-actions .button-secondary:hover {
  color: #fff;
  border-color: #fff;
  background: #292929;
}
.hero-note {
  display: flex;
  align-items: flex-start;
  max-width: 580px;
  padding-top: 23px;
  border-top: 1px solid #424242;
  color: #bebebe;
  font-size: 12px;
  line-height: 1.75;
  gap: 11px;
}
.hero-note strong {
  color: #f0f0f0;
  font-size: 12px;
  font-weight: 650;
}
.hero-note .icon {
  color: #ccc;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.hero-index {
  color: #aaa;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-showcase {
  position: relative;
  min-height: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}
.hero-showcase::before {
  content: none;
}
.preview-window {
  color: #111;
  background: #fff;
  border: 0;
  border-radius: 2px;
  transform: none;
  box-shadow: none;
}
.preview-head {
  padding: 20px 24px;
  border-bottom: 1px solid #d9d9d6;
  gap: 12px;
}
.preview-head strong {
  color: #151515;
  font-size: 13px;
}
.preview-body {
  padding: 28px 24px;
}
.preview-overline {
  color: #626262;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.preview-title {
  margin: 8px 0 24px;
  color: #111;
  font-size: 22px;
  letter-spacing: -0.025em;
}
.preview-amount {
  padding: 23px 20px;
  border: 1px solid #d4d4d1;
  border-radius: 0;
  background: #f2f2ef;
}
.preview-amount span {
  color: #525252;
  font-size: 11px;
  font-weight: 650;
}
.preview-amount strong {
  color: #111;
  font-size: 30px;
  line-height: 1.5;
  letter-spacing: -0.045em;
}
.preview-amount > .icon {
  color: #5b5b5b;
}
.preview-step {
  align-items: flex-start;
  margin-top: 26px;
  font-size: 12px;
  gap: 12px;
}
.preview-step > span {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  color: #fff;
  background: #111;
  border-radius: 0;
}
.preview-step strong {
  color: #111;
  font-size: 13px;
}
.preview-step p {
  margin-top: 4px;
  color: #555;
  font-size: 12px;
  line-height: 1.65;
}
.floating-note {
  position: static;
  margin: 18px 0 0;
  padding: 20px 0 0;
  border: 0;
  border-top: 1px solid #555;
  border-radius: 0;
  background: none;
  color: #fff;
  transform: none;
  box-shadow: none;
  align-items: flex-start;
}
.floating-note strong {
  color: #fff;
  font-size: 13px;
}
.floating-note p {
  margin-top: 4px;
  color: #c2c2c2;
  font-size: 12px;
}
.floating-note > .icon {
  width: 24px;
  height: 24px;
  color: #ddd;
}
.editorial-panel {
  min-width: 0;
  padding: 30px;
  background: #fff;
  color: #111;
  border: 1px solid #d0d0cd;
  border-radius: 2px;
}
.editorial-panel .eyebrow,
.editorial-panel .section-kicker {
  color: #515151;
}
.editorial-panel h2,
.editorial-panel h3 {
  color: #111;
  line-height: 1.3;
  letter-spacing: -0.035em;
}
.editorial-panel h2 {
  font-size: 28px;
  margin: 17px 0 20px;
}
.editorial-panel h3 {
  font-size: 18px;
}
.editorial-panel p,
.editorial-panel li {
  color: #505050;
  font-size: 14px;
}
.editorial-panel ul {
  margin: 24px 0 0;
  padding-left: 20px;
}
.editorial-panel li + li {
  margin-top: 12px;
}
.editorial-panel .hero-index {
  color: #5f5f5f;
}
.trust-strip {
  border: 0;
  border-bottom: 1px solid #ccc;
  background: #fff;
}
.trust-inner {
  max-width: 1280px;
  padding: 28px 0;
  gap: 0;
}
.trust-item {
  justify-content: flex-start;
  gap: 16px;
  padding: 3px 28px;
  border-right: 1px solid #d4d4d1;
}
.trust-item:first-child {
  padding-left: 0;
}
.trust-item:last-child {
  border-right: 0;
}
.trust-item > .icon {
  width: 27px;
  height: 27px;
  color: #333;
}
.trust-item strong {
  font-size: 14px;
  color: #191919;
}
.trust-item span {
  color: #5b5b5b;
  font-size: 12px;
}
.section {
  max-width: 1360px;
  padding: 78px 40px;
}
.section-heading {
  margin-bottom: 36px;
  align-items: flex-end;
  gap: 40px;
}
.section-heading h2 {
  max-width: 680px;
  margin-top: 14px;
  color: #111;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.045em;
  font-weight: 650;
}
.section-heading > p {
  max-width: 380px;
  color: #555;
  font-size: 14px;
  line-height: 1.85;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #d0d0cd;
  background: #fff;
}
.service-card {
  min-width: 0;
  padding: 30px;
  border-right: 1px solid #d0d0cd;
}
.service-card:last-child {
  border-right: 0;
}
.service-card > .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 22px;
  color: #111;
}
.service-card h3 {
  margin: 0 0 13px;
  font-size: 19px;
  line-height: 1.4;
  color: #111;
  letter-spacing: -0.025em;
}
.service-card p {
  color: #555;
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
}
.service-card .section-kicker {
  margin-bottom: 18px;
}
.process-intro {
  padding: 0 0 30px;
  border-bottom: 1px solid #bdbdb9;
  margin-bottom: 28px;
}
.process-intro h2 {
  font-size: clamp(28px, 3vw, 40px);
  color: #111;
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.process-intro p {
  max-width: 660px;
  color: #555;
  font-size: 14px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.step-card {
  padding: 29px 0 8px;
  border: 0;
  border-top: 2px solid #111;
  border-radius: 0;
  background: transparent;
}
.step-top {
  align-items: center;
  margin-bottom: 25px;
}
.step-icon {
  width: 42px;
  height: 42px;
  border: 1px solid #ccc;
  color: #111;
  background: #fff;
  border-radius: 0;
}
.step-number {
  color: #777;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.step-card h3 {
  margin-bottom: 12px;
  font-size: 18px;
  color: #111;
}
.step-card p {
  color: #555;
  font-size: 14px;
  line-height: 1.85;
}
.info-band {
  margin-top: 44px;
  padding: 30px 34px;
  background: #e8e8e4;
  color: #111;
  border: 1px solid #c9c9c5;
  border-radius: 0;
}
.info-band h3 {
  color: #111;
  font-size: 19px;
  margin-bottom: 10px;
}
.info-band p {
  color: #494949;
  font-size: 14px;
  max-width: 900px;
  line-height: 1.85;
}
.info-band > .icon {
  color: #303030;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
}
.faq-grid {
  gap: 0 36px;
}
.faq-grid details {
  padding: 22px 0;
  border: 0;
  border-top: 1px solid #bcbcb8;
  border-radius: 0;
  background: transparent;
}
.faq-grid summary {
  color: #171717;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 650;
}
.faq-grid details p {
  margin: 15px 0 0;
  color: #555;
  font-size: 14px;
  line-height: 1.85;
}
.public-contact {
  max-width: 1280px;
  margin: 0 auto 70px;
  padding: 34px 36px;
  background: #111;
  color: #fff;
  border-radius: 0;
}
.public-contact h2,
.public-contact h3 {
  color: #fff;
  letter-spacing: -0.03em;
}
.public-contact p {
  color: #c4c4c4;
  font-size: 14px;
  max-width: 850px;
}
.public-contact .section-kicker {
  color: #ccc;
}
.public-contact a {
  color: #fff;
  text-decoration: underline;
}
.public-footer {
  background: #fff;
  border-top: 1px solid #ccc;
}
.footer-inner {
  max-width: 1360px;
  padding: 34px 40px;
  gap: 45px;
  align-items: flex-start;
}
.footer-inner .brand {
  flex: 0 1 410px;
}
.footer-inner p {
  max-width: 600px;
  color: #555;
  font-size: 12px;
  line-height: 1.85;
}
.footer-inner strong {
  color: #292929;
  font-weight: 650;
  margin-bottom: 7px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 15px;
}
.footer-links a,
.footer-links button {
  color: #333;
  font-size: 12px;
}

/* Application navigation remains usable on both short and narrow screens. */
.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  width: var(--sidebar-width);
  top: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  padding: 26px 18px 20px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-right: 1px solid #d4d4d1;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #999 transparent;
  transform: none;
}
.sidebar > * {
  flex-shrink: 0;
}
.sidebar .brand {
  gap: 12px;
  padding: 0 4px 26px;
  border-bottom: 1px solid #d5d5d2;
}
.sidebar .brand-title {
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.sidebar .brand-sub {
  font-size: 11px;
  line-height: 1.45;
  margin-top: 6px;
  letter-spacing: 0;
  color: #555;
}
.sidebar .brand-mark,
.sidebar .brand-logo {
  width: 48px;
  height: 54px;
  flex-basis: 48px;
}
.nav-label {
  margin: 25px 14px 10px;
  color: #666;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
}
.side-nav {
  gap: 4px;
}
.side-link {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 2px;
  color: #4a4a4a;
  font-size: 14px;
  font-weight: 500;
  gap: 12px;
  text-align: left;
  white-space: normal;
  line-height: 1.4;
}
.side-link .icon {
  width: 19px;
  height: 19px;
}
.side-link:hover {
  color: #111;
  background: #ededeb;
}
.side-link.active {
  color: #fff;
  background: #111;
  border-color: #111;
  font-weight: 650;
}
.side-link.active::after {
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 0;
  flex-shrink: 0;
}
.sidebar-bottom {
  padding-top: 28px;
  margin-top: auto;
}
.sidebar-bottom > .side-link {
  margin-bottom: 16px;
  font-size: 13px;
}
.independent-label {
  padding: 14px;
  border: 1px solid #d2d2ce;
  border-radius: 0;
  color: #525252;
  background: #f3f3f0;
  font-size: 11px;
  line-height: 1.8;
}
.independent-label strong {
  color: #222;
  font-size: 12px;
  margin-bottom: 6px;
}
.sidebar-user {
  margin-top: 20px;
  padding: 20px 0 0;
  gap: 10px;
  border-color: #d1d1ce;
}
.avatar {
  width: 38px;
  height: 38px;
  border: 1px solid #bdbdb8;
  border-radius: 2px;
  color: #111;
  background: #ecece8;
  font-size: 13px;
}
.user-text strong {
  color: #222;
  font-size: 12px;
  font-weight: 650;
}
.user-text span {
  color: #5b5b5b;
  font-size: 11px;
}
.workspace {
  grid-column: 2;
  min-width: 0;
  background: #f4f4f2;
}
.topbar {
  height: 76px;
  padding: 0 36px;
  gap: 20px;
  background: #fff;
  border-color: #d6d6d2;
}
.breadcrumb {
  min-width: 0;
  gap: 10px;
  color: #606060;
  font-size: 12px;
}
.breadcrumb strong {
  color: #171717;
  font-weight: 650;
}
.topbar-actions {
  gap: 20px;
  flex-shrink: 0;
}
.date-label {
  color: #5c5c5c;
  font-size: 12px;
}
.demo-pill {
  padding: 5px 8px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #f0f0ed;
  color: #444;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.account-disclosure {
  padding: 11px 36px;
  border-bottom: 1px solid #cdcdc9;
  color: #333;
  background: #eaeae6;
  font-size: 12px;
  line-height: 1.65;
}
.content {
  max-width: 1540px;
  padding: 34px 36px 26px;
  min-height: calc(100vh - 118px);
}
.page-head {
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}
.page-head > div {
  min-width: 0;
}
.page-head .eyebrow {
  font-size: 11px;
  margin-bottom: 12px;
}
.page-head h1 {
  margin: 0 0 10px;
  color: #111;
  font-size: clamp(28px, 2.35vw, 36px);
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.045em;
}
.page-head p {
  color: #565656;
  font-size: 14px;
  line-height: 1.75;
}
.page-head > .button {
  flex-shrink: 0;
}
.notice,
.notice.warning,
.notice.success {
  padding: 17px 18px;
  margin-bottom: 26px;
  border: 1px solid #cbcbc7;
  border-left: 3px solid #555;
  border-radius: 0;
  background: #eeefeb;
  color: #494949;
  font-size: 13px;
  line-height: 1.8;
  gap: 12px;
}
.notice strong {
  color: #171717;
  font-weight: 650;
}
.notice > .icon {
  width: 19px;
  height: 19px;
  color: #4c4c4c;
  margin-top: 3px;
}
.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}
.stat-card {
  min-width: 0;
  min-height: 160px;
  padding: 23px 24px;
  border: 1px solid #cfcfcb;
  border-radius: 2px;
  background: #fff;
}
.stat-top {
  align-items: flex-start;
  color: #555;
  font-size: 12px;
  font-weight: 550;
  gap: 10px;
}
.stat-top .icon {
  width: 19px;
  height: 19px;
  color: #666;
}
.stat-value {
  margin: 12px 0 8px;
  color: #111;
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.stat-note {
  color: #595959;
  font-size: 11px;
  line-height: 1.65;
}
.stat-card:first-child {
  color: #fff;
  background: #111;
  border-color: #111;
}
.stat-card:first-child .stat-value {
  color: #fff;
}
.stat-card:first-child .stat-top,
.stat-card:first-child .stat-top .icon,
.stat-card:first-child .stat-note {
  color: #d0d0d0;
}
.dashboard-grid {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
}
.dashboard-grid > *,
.detail-grid > *,
.form-layout > *,
.aside-stack {
  min-width: 0;
}
.panel {
  min-width: 0;
  margin-bottom: 24px;
  border: 1px solid #cececa;
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
}
.panel-head {
  min-height: 70px;
  padding: 21px 24px;
  border-color: #d7d7d3;
  gap: 18px;
}
.panel-head h2,
.panel-head h3 {
  color: #161616;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 650;
  letter-spacing: -0.025em;
}
.panel-head span {
  color: #585858;
  font-size: 12px;
}
.panel-body {
  padding: 26px 24px;
}
.panel-body h3 {
  color: #1c1c1c;
  font-size: 16px;
  margin-bottom: 12px;
}
.panel-body p {
  color: #535353;
  font-size: 14px;
  line-height: 1.85;
}
.guide-list {
  gap: 23px;
}
.guide-list li {
  gap: 13px;
}
.guide-list .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: #444;
}
.guide-list strong {
  color: #282828;
  font-size: 13px;
  line-height: 1.55;
}
.guide-list p {
  margin-top: 6px;
  color: #5b5b5b;
  font-size: 12px;
  line-height: 1.8;
}
.callout-panel {
  padding: 25px 24px;
  border: 1px solid #ccc;
  border-top: 3px solid #111;
  border-radius: 0;
  background: #eaeae6;
}
.callout-panel > .icon {
  color: #343434;
  width: 26px;
  height: 26px;
  margin-bottom: 17px;
}
.callout-panel h3 {
  color: #191919;
  font-size: 16px;
  margin: 0 0 11px;
}
.callout-panel p {
  color: #4d4d4d;
  font-size: 13px;
  line-height: 1.85;
  margin: 0 0 22px;
}
.callout-panel p:last-child {
  margin-bottom: 0;
}
.content-footer {
  margin-top: 36px;
  padding-top: 23px;
  color: #555;
  font-size: 11px;
  line-height: 1.8;
  gap: 20px;
  border-color: #ccc;
}
.content-footer strong {
  color: #333;
  font-weight: 600;
}

/* Tables keep their semantics and scroll inside their own container. */
.table-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #888 #eee;
}
.data-table {
  width: 100%;
  min-width: 690px;
  border-collapse: collapse;
  text-align: left;
}
.data-table th {
  padding: 15px 20px;
  border-bottom: 1px solid #d2d2cf;
  background: #f0f0ed;
  color: #4b4b4b;
  font-size: 11px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0.035em;
}
.data-table td {
  max-width: 300px;
  padding: 19px 20px;
  border-bottom: 1px solid #e0e0dc;
  color: #383838;
  font-size: 13px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.data-table tbody tr:hover {
  background: #f5f5f2;
}
.data-table tr:last-child td {
  border-bottom: 0;
}
.case-title {
  max-width: 290px;
  color: #171717;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 650;
  white-space: normal;
  text-overflow: clip;
}
.case-ref {
  margin-top: 5px;
  color: #626262;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.015em;
  overflow-wrap: anywhere;
}
.money {
  color: #222;
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.badge {
  padding: 6px 9px;
  border: 1px solid #c4c4c0;
  border-radius: 0;
  color: #333;
  background: #f0f0ed;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 650;
  gap: 7px;
}
.badge::before {
  width: 5px;
  height: 5px;
  border-radius: 0;
}
.badge.reviewing {
  color: #fff;
  background: #333;
  border-color: #333;
}
.badge.information_requested {
  color: #222;
  background: #fff;
  border-color: #555;
  border-style: dashed;
}
.badge.resolved {
  color: #111;
  background: #deded8;
  border-color: #acaca6;
}
.badge.closed {
  color: #555;
  background: #f0f0ed;
  border-color: #d0d0cb;
}
.section-bar {
  gap: 20px;
  margin-bottom: 22px;
}
.search-wrap {
  max-width: 440px;
  min-width: 180px;
}
.search-wrap > .icon {
  left: 16px;
  top: 15px;
  width: 18px;
  height: 18px;
  color: #555;
}
.search-wrap input {
  padding-left: 45px;
}
.filters {
  gap: 12px;
}
.filters .field-label {
  white-space: nowrap;
}
.filters select {
  min-width: 200px;
  padding: 12px 30px 12px 14px;
}

/* Forms use comfortable control sizes and deliberate, numbered sections. */
.field {
  gap: 8px;
  margin-bottom: 23px;
}
.field label,
.field-label {
  color: #292929;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 650;
}
.required {
  color: #111;
}
.field small,
.help-text {
  color: #5e5e5e;
  font-size: 12px;
  line-height: 1.8;
}
.field input,
.field select,
.field textarea,
.control,
.search-wrap input,
.filters select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid #bdbdb8;
  border-radius: 2px;
  color: #191919;
  background: #fff;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: none;
}
.search-wrap input {
  padding-left: 45px;
}
.field input::placeholder,
.field textarea::placeholder,
.search-wrap input::placeholder {
  color: #717171;
  opacity: 1;
}
.field input:disabled {
  color: #626262;
  background: #eeeeea;
  border-color: #d1d1cc;
  opacity: 1;
}
.field textarea {
  min-height: 168px;
  resize: vertical;
}
.form-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 24px;
}
.form-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
}
.form-section {
  padding: 30px;
  border-color: #d3d3cf;
}
.form-section-title {
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.form-section-title > span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid #111;
  border-radius: 0;
  color: #fff;
  background: #111;
  font-size: 13px;
  font-weight: 650;
}
.form-section-title h2 {
  color: #111;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.025em;
}
.form-section-title p {
  margin-top: 5px;
  color: #606060;
  font-size: 12px;
  line-height: 1.7;
}
.check-label {
  color: #4d4d4d;
  font-size: 13px;
  line-height: 1.85;
  gap: 12px;
}
.check-label input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: #111;
}
.form-actions {
  margin-top: 27px;
  gap: 14px;
}
.form-error {
  padding: 14px 16px;
  border: 1px solid #666;
  border-left: 3px solid #111;
  border-radius: 0;
  color: #222;
  background: #ecece8;
  font-size: 13px;
  line-height: 1.75;
  margin-bottom: 22px;
}
.form-error:empty {
  display: none;
}
.mini-heading {
  color: #5d5d5d;
  font-size: 11px;
}
.admin-banner {
  gap: 10px;
  padding: 13px 16px;
  margin-bottom: 24px;
  background: #111;
  color: #eee;
  border: 0;
  border-radius: 0;
  font-size: 12px;
}

/* Authentication uses a clear division between identity and action. */
.auth-page {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: calc(100vh - 40px);
}
.auth-story {
  display: flex;
  padding: 48px clamp(35px, 5vw, 90px);
  min-height: 0;
  background: #111;
  color: #fff;
}
.auth-story .brand {
  color: #fff;
  align-items: center;
}
.auth-story .brand-title {
  color: #fff;
  font-size: 18px;
}
.auth-story .brand-sub {
  color: #c6c6c6;
  font-size: 12px;
}
.auth-story .brand-mark {
  width: 64px;
  height: 64px;
  flex-basis: 64px;
  padding: 7px;
  background: #fff;
  border: 0;
}
.auth-story .brand-logo {
  background: #fff;
  padding: 6px;
}
.auth-story-main {
  margin: auto 0;
  max-width: 500px;
  padding: 75px 0;
}
.auth-story .eyebrow {
  color: #c5c5c5;
}
.auth-story h1 {
  color: #fff;
  font-size: clamp(36px, 3.65vw, 54px);
  line-height: 1.15;
  letter-spacing: -0.045em;
  font-weight: 650;
  margin: 24px 0;
}
.auth-story p {
  color: #bfbfbf;
  font-size: 15px;
  line-height: 1.9;
}
.auth-feature {
  color: #e0e0e0;
  font-size: 13px;
  gap: 14px;
  margin: 24px 0;
}
.auth-feature .icon {
  width: 20px;
  height: 20px;
  color: #ddd;
}
.auth-story-footer {
  padding-top: 24px;
  border-top: 1px solid #444;
  color: #c8c8c8;
  font-size: 12px;
  line-height: 1.8;
}
.auth-main {
  min-width: 0;
  padding: 50px 42px;
  background: #fff;
}
.auth-card {
  max-width: 450px;
}
.back-link {
  margin-bottom: 35px;
  color: #535353;
  font-size: 13px;
  gap: 9px;
}
.auth-card h2 {
  color: #111;
  font-size: 33px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.04em;
  margin-bottom: 13px;
}
.auth-card > p {
  color: #5b5b5b;
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 30px;
}
.auth-card .field {
  margin-bottom: 22px;
}
.auth-card .button-primary {
  min-height: 49px;
  margin-top: 17px;
}
.auth-tabs {
  gap: 28px;
  border-color: #bcbcb6;
  margin-bottom: 28px;
}
.auth-tabs a {
  padding: 13px 0;
  color: #626262;
  font-size: 13px;
  border-bottom-width: 2px;
}
.auth-tabs a.active {
  color: #111;
  border-color: #111;
}
.demo-access {
  padding: 21px;
  margin-top: 30px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #f3f3ef;
}
.demo-access strong {
  color: #222;
  font-size: 13px;
}
.demo-access p {
  color: #555;
  font-size: 12px;
  line-height: 1.85;
  margin: 7px 0 15px;
}
.demo-buttons {
  gap: 10px;
}
.demo-buttons button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid #aaa;
  border-radius: 2px;
  background: #fff;
  color: #222;
  font-size: 12px;
  text-align: left;
}
.demo-buttons button:hover {
  color: #fff;
  background: #111;
  border-color: #111;
}
.auth-card > .help-text {
  margin-top: 24px;
  color: #565656;
  font-size: 11px;
}

.detail-back {
  color: #4b4b4b;
  font-size: 13px;
  gap: 9px;
  margin-bottom: 27px;
}
.detail-head {
  align-items: flex-start;
  gap: 26px;
  margin-bottom: 28px;
}
.detail-head > div {
  min-width: 0;
}
.detail-head h1 {
  color: #111;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -0.035em;
  margin: 11px 0;
  overflow-wrap: anywhere;
}
.detail-ref {
  color: #5b5b5b;
  font-size: 12px;
  letter-spacing: 0.035em;
}
.detail-head p {
  color: #5c5c5c;
  font-size: 12px;
  line-height: 1.8;
}
.detail-head > .badge {
  margin-top: 7px;
}
.amount-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 26px;
}
.amount-box {
  min-width: 0;
  padding: 26px;
  border: 1px solid #c5c5c0;
  border-top: 3px solid #111;
  border-radius: 0;
  background: #fff;
}
.amount-box.management {
  background: #e8e8e3;
  border-color: #b8b8b2;
  border-top-color: #777;
}
.amount-label {
  color: #4a4a4a;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.03em;
  line-height: 1.7;
  gap: 9px;
}
.amount-label .icon {
  width: 18px;
  height: 18px;
}
.amount-value {
  color: #111;
  font-size: clamp(26px, 2.8vw, 37px);
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -0.035em;
  margin: 14px 0 12px;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.amount-box p {
  color: #535353;
  font-size: 12px;
  line-height: 1.8;
}
.detail-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
}
.info-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px;
  margin-bottom: 28px;
}
.info-grid dt {
  color: #656565;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 7px;
}
.info-grid dd {
  color: #242424;
  font-size: 14px;
  line-height: 1.7;
}
.prose-text {
  color: #454545;
  font-size: 14px;
  line-height: 1.95;
}
.divider {
  margin: 28px 0;
  border-color: #d3d3cf;
}
.timeline li {
  margin-left: 5px;
  padding-left: 24px;
  padding-bottom: 28px;
  border-color: #cacac6;
}
.timeline li::before {
  top: 5px;
  width: 8px;
  height: 8px;
  left: -4.5px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #aaa;
}
.timeline li:first-child::before {
  background: #111;
}
.timeline strong {
  color: #262626;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 650;
}
.timeline p {
  color: #555;
  font-size: 12px;
  line-height: 1.8;
  margin: 9px 0;
}
.timeline time {
  color: #606060;
  font-size: 11px;
  line-height: 1.8;
  display: block;
  margin-top: 9px;
}
.document-row {
  padding: 18px 0;
  gap: 14px;
  border-color: #ddd;
}
.document-icon {
  width: 39px;
  height: 43px;
  flex: 0 0 39px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #f0f0ec;
  color: #4a4a4a;
}
.document-text strong {
  color: #292929;
  font-size: 13px;
  line-height: 1.7;
}
.document-text span {
  color: #626262;
  font-size: 11px;
  line-height: 1.7;
}
.upload-area {
  padding: 24px;
  margin-top: 22px;
  border: 1px dashed #999;
  border-radius: 0;
  background: #f4f4f0;
  text-align: left;
}
.upload-area label {
  color: #292929;
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 17px;
}
.upload-area input {
  max-width: 100%;
  color: #444;
  font-size: 12px;
}
input[type="file"]::file-selector-button {
  min-height: 37px;
  margin-right: 12px;
  padding: 8px 12px;
  border: 1px solid #999;
  border-radius: 1px;
  color: #222;
  background: #fff;
  font: inherit;
  cursor: pointer;
}
.upload-area p {
  color: #5a5a5a;
  font-size: 12px;
  line-height: 1.85;
  margin: 16px 0;
}
.selected-file {
  font-size: 12px;
  color: #444;
}
.profile-top {
  padding-bottom: 26px;
  margin-bottom: 28px;
  border-bottom: 1px solid #d4d4cf;
  gap: 18px;
}
.profile-top .avatar {
  width: 58px;
  height: 58px;
  font-size: 22px;
}
.profile-top h2 {
  font-size: 21px;
  color: #111;
}
.profile-top p {
  color: #5b5b5b;
  font-size: 12px;
  margin-top: 7px;
}
.logo-preview {
  width: 190px;
  height: 120px;
  margin-bottom: 14px;
  border: 1px solid #bdbdb8;
  border-radius: 0;
  background: #f3f3ef;
}
.logo-preview img {
  max-width: 82%;
  max-height: 76%;
}
.logo-preview .brand-title {
  padding: 14px;
  color: #333;
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
}
.logo-layout {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 35px;
}
.branding-user-row {
  grid-template-columns: minmax(150px, 1fr) 150px minmax(230px, 1.2fr);
  gap: 25px;
  padding: 27px 24px;
  border-color: #d0d0cc;
}
.branding-user-row > * {
  min-width: 0;
}
.branding-user-row h3 {
  color: #222;
  font-size: 14px;
  line-height: 1.7;
}
.branding-user-row p {
  color: #5a5a5a;
  font-size: 12px;
  line-height: 1.8;
  margin: 6px 0;
  overflow-wrap: anywhere;
}
.branding-user-row .logo-preview {
  width: 150px;
  height: 88px;
}
.branding-form .field {
  margin-bottom: 12px;
}
.branding-form input {
  font-size: 12px;
  min-height: 44px;
}
.branding-actions {
  gap: 10px 16px;
  margin-top: 17px;
  align-items: center;
}
.empty-state {
  padding: 60px 28px;
}
.empty-state > .icon {
  width: 34px;
  height: 34px;
  color: #666;
  margin-bottom: 20px;
}
.empty-state h3 {
  color: #222;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.empty-state p {
  max-width: 450px;
  color: #5a5a5a;
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 24px;
}
.modal-backdrop {
  padding: 25px;
  background: #0009;
  backdrop-filter: blur(2px);
}
.modal {
  max-width: 620px;
  max-height: 85vh;
  border: 1px solid #777;
  border-radius: 2px;
  box-shadow: 0 20px 80px #0003;
}
.modal-head {
  padding: 22px 27px;
  border-color: #d0d0cb;
}
.modal-head h2 {
  color: #111;
  font-size: 20px;
  letter-spacing: -0.025em;
}
.modal-body {
  padding: 26px 27px;
}
.modal-body h3 {
  font-size: 16px;
  color: #222;
  margin-top: 25px;
}
.modal-body h3:first-child {
  margin-top: 0;
}
.modal-body p {
  font-size: 14px;
  color: #4e4e4e;
  line-height: 1.9;
}
#toast {
  max-width: calc(100vw - 40px);
  padding: 15px 21px;
  border: 1px solid #666;
  border-radius: 2px;
  background: #111;
  color: #fff;
  font-size: 13px;
  line-height: 1.75;
  box-shadow: 0 8px 28px #0002;
}
.table-scroll {
  max-width: 100%;
  /* Keep the wide table scroll inside its panel on mobile WebView. */
  contain: inline-size paint;
  overscroll-behavior-inline: contain;
}
.loading {
  color: #555;
  font-size: 14px;
}
.context-help,
.auth-affiliation,
.footer-description {
  color: #60605c;
  font-size: 12px;
  line-height: 1.8;
}
.context-help {
  margin: -8px 0 25px;
}
.auth-affiliation {
  margin: 30px 0 0;
  padding-top: 18px;
  border-top: 1px solid #deded9;
}
.footer-description {
  margin: 17px 0 0;
  max-width: 340px;
}

@media (min-width: 1500px) {
  .content {
    padding-right: 48px;
    padding-left: 48px;
  }
  .topbar,
  .account-disclosure {
    padding-right: 48px;
    padding-left: 48px;
  }
}
@media (max-width: 1320px) {
  .trust-inner {
    padding-right: 40px;
    padding-left: 40px;
  }
  .dashboard-grid,
  .detail-grid,
  .form-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .dashboard-grid > .aside-stack,
  .detail-grid > aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }
  .form-layout > aside {
    max-width: none;
  }
  .branding-user-row {
    grid-template-columns: minmax(0, 1fr) 160px;
  }
  .branding-user-row .branding-form {
    grid-column: 1 / -1;
  }
  .public-contact {
    margin-right: 40px;
    margin-left: 40px;
  }
  .stat-card {
    padding: 22px 20px;
  }
  .stat-value {
    font-size: 29px;
  }
}
@media (max-width: 1100px) {
  .public-header {
    padding: 22px 30px;
  }
  .public-nav {
    gap: 17px;
  }
  .public-nav > a {
    font-size: 12px;
  }
  .public-header .brand-title {
    font-size: 16px;
  }
  .public-header .brand-sub {
    font-size: 11px;
  }
  .public-header .brand-mark,
  .public-header .brand-logo {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }
  .hero {
    padding-right: 40px;
    padding-left: 40px;
    gap: 40px;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    min-height: 600px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-copy > p {
    font-size: 15px;
  }
  .content {
    padding: 30px 27px 25px;
  }
  .topbar,
  .account-disclosure {
    padding-right: 27px;
    padding-left: 27px;
  }
  .topbar-actions {
    gap: 12px;
  }
  .date-label {
    display: none;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-card {
    padding: 20px 17px;
  }
  .stat-value {
    font-size: 26px;
  }
  .stat-top {
    font-size: 12px;
  }
  .page-head {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 19px;
  }
  .page-head > .button {
    margin-bottom: 0;
  }
  .auth-story {
    padding-right: 35px;
    padding-left: 35px;
  }
  .auth-story .brand-title {
    font-size: 15px;
  }
  .auth-story .brand-sub {
    font-size: 11px;
  }
  .auth-story .brand-mark,
  .auth-story .brand-logo {
    width: 55px;
    height: 55px;
    flex-basis: 55px;
  }
}
@media (max-width: 960px) {
  .app-shell {
    display: block;
  }
  .workspace {
    width: 100%;
  }
  .sidebar {
    top: 64px;
    bottom: 0;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    width: 300px;
    max-width: calc(100vw - 35px);
    transform: translateX(-102%);
    transition: transform 0.18s ease;
    z-index: 50;
    box-shadow: none;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 0 0 0 100vmax #0007;
  }
  .sidebar .brand {
    padding-bottom: 20px;
  }
  .sidebar .brand-title {
    font-size: 14px;
  }
  .sidebar .brand-sub {
    font-size: 11px;
  }
  .topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    height: 64px;
    padding: 0 24px;
    background: #fff;
  }
  .mobile-toggle {
    display: inline-flex;
    margin-left: -8px;
    color: #111;
  }
  .breadcrumb {
    gap: 8px;
    font-size: 12px;
  }
  .topbar-actions {
    gap: 10px;
  }
  .account-disclosure {
    padding: 11px 24px;
    font-size: 12px;
  }
  .content {
    padding: 29px 24px 24px;
  }
  .page-head h1 {
    font-size: 31px;
  }
  .page-head {
    align-items: center;
  }
  .stat-value {
    font-size: 32px;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 45px;
    padding: 58px 40px;
    min-height: 0;
  }
  .hero h1 {
    max-width: 700px;
    font-size: 56px;
  }
  .hero-copy,
  .hero-copy > p {
    max-width: 720px;
  }
  .hero-showcase {
    max-width: 620px;
    width: 100%;
  }
  .editorial-panel {
    width: 100%;
    max-width: 680px;
  }
  .hero .editorial-panel {
    padding: 28px;
  }
  .public-nav > a:not(.button) {
    display: none;
  }
  .public-header {
    padding-right: 30px;
    padding-left: 30px;
    min-height: 104px;
  }
  .public-identity {
    padding-right: 30px;
    padding-left: 30px;
  }
  .service-card {
    padding: 26px 22px;
  }
  .service-card h3 {
    font-size: 17px;
  }
  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }
  .section-heading {
    flex-wrap: wrap;
    gap: 19px;
  }
  .section-heading > p {
    max-width: 630px;
  }
  .trust-inner {
    gap: 0;
    padding: 23px 30px;
  }
  .trust-item {
    gap: 12px;
    padding: 0 20px;
    align-items: flex-start;
  }
  .trust-item strong {
    font-size: 13px;
  }
  .trust-item span {
    font-size: 11px;
  }
  .trust-item > .icon {
    width: 22px;
    height: 22px;
    margin-top: 3px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 25px;
  }
  .footer-inner .brand {
    flex: none;
  }
  .footer-inner p {
    max-width: 760px;
  }
}
@media (max-width: 700px) {
  .demo-bar {
    padding: 10px 20px;
    font-size: 11px;
    text-align: left;
  }
  .public-header {
    min-height: 95px;
    padding: 19px 20px;
    gap: 15px;
  }
  .public-header .brand {
    gap: 11px;
  }
  .public-header .brand-mark,
  .public-header .brand-logo {
    width: 45px;
    height: 50px;
    flex-basis: 45px;
  }
  .public-header .brand-title {
    font-size: 14px;
    max-width: 210px;
    line-height: 1.35;
  }
  .public-header .brand-sub {
    font-size: 11px;
    line-height: 1.4;
    margin-top: 4px;
  }
  .public-nav {
    gap: 0;
  }
  .public-header .button {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 12px;
  }
  .public-header .button .icon {
    display: none;
  }
  .public-identity {
    padding: 12px 20px;
    font-size: 11px;
    line-height: 1.8;
  }
  .hero {
    padding: 43px 24px 40px;
    gap: 34px;
  }
  .hero h1 {
    font-size: clamp(39px, 9.5vw, 54px);
    line-height: 1.12;
    letter-spacing: -0.05em;
    margin: 23px 0;
  }
  .hero-copy > p {
    font-size: 14px;
    line-height: 1.9;
  }
  .hero .eyebrow,
  .hero .section-kicker {
    font-size: 11px;
    letter-spacing: 0.08em;
  }
  .hero-actions {
    gap: 10px;
    margin-top: 27px;
  }
  .hero-actions .button {
    min-height: 48px;
    font-size: 13px;
    padding: 12px 17px;
  }
  .hero-note {
    font-size: 12px;
    padding-top: 20px;
  }
  .hero-note strong {
    font-size: 12px;
  }
  .preview-head {
    padding: 18px;
  }
  .preview-head strong {
    font-size: 12px;
  }
  .preview-head .demo-pill {
    font-size: 11px;
  }
  .preview-body {
    padding: 23px 18px;
  }
  .preview-title {
    font-size: 20px;
  }
  .preview-amount {
    padding: 19px 16px;
  }
  .preview-amount strong {
    font-size: 28px;
  }
  .hero .editorial-panel {
    padding: 25px 22px;
  }
  .editorial-panel h2 {
    font-size: 26px;
  }
  .trust-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 7px 24px;
  }
  .trust-item,
  .trust-item:first-child {
    padding: 21px 0;
    border-right: 0;
    border-bottom: 1px solid #d6d6d2;
    gap: 15px;
  }
  .trust-item:last-child {
    border-bottom: 0;
  }
  .trust-item strong {
    font-size: 14px;
  }
  .trust-item span {
    font-size: 12px;
  }
  .section {
    padding: 45px 24px;
  }
  .section-heading {
    margin-bottom: 26px;
  }
  .section-heading h2 {
    font-size: 31px;
    line-height: 1.2;
  }
  .section-heading > p {
    font-size: 14px;
  }
  .service-grid,
  .steps,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-card {
    padding: 26px;
    border-right: 0;
    border-bottom: 1px solid #d0d0cd;
  }
  .service-card:last-child {
    border-bottom: 0;
  }
  .service-card > .icon {
    margin-bottom: 17px;
  }
  .service-card h3 {
    font-size: 19px;
  }
  .steps {
    gap: 28px;
  }
  .step-card {
    padding-top: 22px;
  }
  .step-top {
    margin-bottom: 19px;
  }
  .step-card p {
    font-size: 14px;
  }
  .info-band {
    padding: 25px;
    margin-top: 31px;
    gap: 20px;
    align-items: flex-start;
  }
  .info-band > .icon {
    display: none;
  }
  .info-band h3 {
    font-size: 19px;
  }
  .info-band p {
    font-size: 13px;
  }
  .faq-grid details {
    padding: 21px 0;
  }
  .faq-grid summary {
    font-size: 14px;
  }
  .faq-grid details p {
    font-size: 13px;
  }
  .public-contact {
    margin: 0 24px 45px;
    padding: 27px 25px;
  }
  .footer-inner {
    padding: 30px 24px;
  }
  .footer-inner .brand-mark,
  .footer-inner .brand-logo {
    width: 48px;
    height: 52px;
    flex-basis: 48px;
  }
  .footer-inner .brand-title {
    font-size: 15px;
  }
  .footer-inner .brand-sub {
    font-size: 11px;
  }
  .footer-inner p {
    font-size: 12px;
  }
  .auth-page {
    display: block;
  }
  .auth-story {
    display: none;
  }
  .auth-main {
    padding: 35px 24px 45px;
    min-height: calc(100vh - 65px);
  }
  .auth-card {
    max-width: 470px;
  }
  .auth-card h2 {
    font-size: 31px;
  }
  .auth-card > p {
    font-size: 14px;
  }
  .auth-card .back-link {
    margin-bottom: 29px;
  }
  .demo-access {
    padding: 20px;
  }
  .demo-buttons {
    flex-direction: column;
  }
  .demo-buttons button {
    font-size: 13px;
  }
  .content {
    padding: 25px 20px;
  }
  .topbar {
    padding: 0 20px;
    gap: 10px;
  }
  .breadcrumb {
    gap: 7px;
    font-size: 12px;
  }
  .breadcrumb > span {
    display: none;
  }
  .breadcrumb > .icon {
    display: none;
  }
  .breadcrumb strong {
    font-size: 12px;
  }
  .topbar-actions {
    gap: 6px;
  }
  .topbar-actions .demo-pill {
    padding: 4px 6px;
    font-size: 11px;
  }
  .topbar-actions .icon-button {
    min-width: 34px;
  }
  .account-disclosure {
    padding: 12px 20px;
    font-size: 11px;
    line-height: 1.8;
  }
  .page-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
    margin-bottom: 25px;
  }
  .page-head h1 {
    font-size: 29px;
    line-height: 1.25;
  }
  .page-head p {
    max-width: none;
    font-size: 13px;
    line-height: 1.85;
  }
  .page-head > .button {
    padding: 12px 17px;
    font-size: 13px;
    min-height: 45px;
  }
  .notice,
  .notice.warning,
  .notice.success {
    padding: 15px 14px;
    gap: 10px;
    font-size: 12px;
    line-height: 1.85;
    margin-bottom: 24px;
  }
  .notice > .icon {
    width: 18px;
    height: 18px;
  }
  .stats-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 25px;
  }
  .stat-card {
    min-height: 142px;
    padding: 20px 17px;
  }
  .stat-card:last-child {
    grid-column: 1 / -1;
    min-height: 140px;
  }
  .stat-top {
    font-size: 12px;
    line-height: 1.6;
  }
  .stat-top .icon {
    width: 17px;
    height: 17px;
  }
  .stat-value {
    margin: 12px 0 8px;
    font-size: 32px;
  }
  .stat-note {
    font-size: 11px;
  }
  .dashboard-grid,
  .detail-grid,
  .form-layout {
    gap: 0;
  }
  .dashboard-grid > .aside-stack,
  .detail-grid > aside {
    display: block;
  }
  .panel {
    margin-bottom: 22px;
  }
  .panel-head {
    min-height: 64px;
    padding: 19px 20px;
    gap: 15px;
    flex-wrap: wrap;
  }
  .panel-head h2,
  .panel-head h3 {
    font-size: 15px;
  }
  .panel-head span,
  .panel-head .text-small {
    font-size: 12px;
  }
  .panel-body {
    padding: 24px 20px;
  }
  .panel-body p {
    font-size: 13px;
  }
  .panel-body .button {
    font-size: 12px;
  }
  .callout-panel {
    padding: 24px 20px;
    margin-bottom: 23px;
  }
  .data-table {
    min-width: 680px;
  }
  .data-table td {
    padding: 18px;
    font-size: 13px;
  }
  .data-table th {
    padding: 14px 18px;
    font-size: 11px;
  }
  .case-title {
    max-width: 240px;
    font-size: 14px;
  }
  .case-ref {
    font-size: 11px;
  }
  .section-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .search-wrap {
    width: 100%;
    max-width: none;
  }
  .filters {
    width: 100%;
  }
  .filters select {
    flex: 1;
    width: auto;
    min-width: 0;
  }
  .form-section {
    padding: 25px 20px;
  }
  .form-section-title {
    gap: 13px;
    margin-bottom: 24px;
  }
  .form-section-title h2 {
    font-size: 17px;
  }
  .form-section-title p {
    font-size: 12px;
  }
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .field label,
  .field-label {
    font-size: 13px;
  }
  .field input,
  .field select,
  .field textarea,
  .control,
  .search-wrap input,
  .filters select {
    font-size: 16px;
  }
  .field small,
  .help-text {
    font-size: 12px;
  }
  .check-label {
    font-size: 12px;
    line-height: 1.9;
  }
  .form-actions {
    justify-content: space-between;
    align-items: stretch;
    gap: 11px;
    flex-wrap: wrap;
  }
  .form-actions .button {
    font-size: 13px;
  }
  .amount-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
    margin-bottom: 23px;
  }
  .amount-box {
    padding: 24px 21px;
  }
  .amount-label {
    font-size: 11px;
    line-height: 1.8;
  }
  .amount-value {
    font-size: 31px;
    margin-top: 14px;
  }
  .amount-box p {
    font-size: 12px;
  }
  .detail-head {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
  }
  .detail-head h1 {
    font-size: 28px;
  }
  .detail-head p {
    font-size: 12px;
  }
  .detail-head > .badge {
    margin-top: 5px;
    font-size: 11px;
  }
  .info-grid {
    gap: 24px 20px;
  }
  .info-grid dt {
    font-size: 11px;
  }
  .info-grid dd {
    font-size: 13px;
  }
  .timeline strong {
    font-size: 13px;
  }
  .timeline p {
    font-size: 12px;
  }
  .timeline time {
    font-size: 11px;
  }
  .document-row {
    gap: 12px;
  }
  .document-text strong {
    font-size: 13px;
  }
  .document-text span {
    font-size: 11px;
  }
  .upload-area {
    padding: 21px 17px;
  }
  .upload-area p {
    font-size: 12px;
  }
  .logo-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .logo-preview {
    margin-bottom: 12px;
    width: 190px;
    height: 115px;
  }
  .branding-user-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 26px 20px;
  }
  .branding-user-row .branding-form {
    grid-column: auto;
  }
  .branding-user-row .logo-preview {
    width: 180px;
    height: 100px;
  }
  .branding-user-row p {
    font-size: 12px;
  }
  .branding-actions {
    gap: 12px;
  }
  .branding-actions .button {
    font-size: 12px;
  }
  .content-footer {
    display: block;
    font-size: 11px;
    margin-top: 28px;
    line-height: 1.9;
  }
  .content-footer span {
    display: block;
    margin-top: 10px;
  }
  .modal-backdrop {
    padding: 16px;
  }
  .modal-head {
    padding: 20px;
  }
  .modal-head h2 {
    font-size: 18px;
  }
  .modal-body {
    padding: 23px 20px;
  }
  .modal-body p {
    font-size: 13px;
  }
}
@media (max-width: 380px) {
  .public-header {
    padding-right: 16px;
    padding-left: 16px;
  }
  .public-header .brand {
    gap: 8px;
  }
  .public-header .brand-mark,
  .public-header .brand-logo {
    width: 38px;
    height: 46px;
    flex-basis: 38px;
  }
  .public-header .brand-title {
    max-width: 175px;
    font-size: 13px;
  }
  .public-header .brand-sub {
    font-size: 11px;
  }
  .public-header .button {
    padding-right: 9px;
    padding-left: 9px;
    font-size: 11px;
  }
  .hero,
  .section {
    padding-right: 20px;
    padding-left: 20px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .button {
    width: 100%;
  }
  .preview-head {
    flex-wrap: wrap;
  }
  .content {
    padding-right: 16px;
    padding-left: 16px;
  }
  .topbar {
    padding-right: 16px;
    padding-left: 16px;
  }
  .topbar-actions .demo-pill {
    font-size: 11px;
    letter-spacing: 0;
  }
  .breadcrumb strong {
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .stat-card {
    padding-right: 14px;
    padding-left: 14px;
  }
  .stat-top {
    font-size: 11px;
  }
  .stat-top .icon {
    display: none;
  }
  .info-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-actions > .button {
    width: 100%;
  }
}
@media (max-height: 740px) and (min-width: 961px) {
  .sidebar {
    padding-top: 19px;
  }
  .sidebar .brand {
    padding-bottom: 19px;
  }
  .nav-label {
    margin-top: 20px;
  }
  .sidebar-bottom {
    padding-top: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
