:root {
  --navy: #06266a;
  --blue: #075da9;
  --gold: #d49700;
  --ink: #121722;
  --muted: #5f6570;
  --line: #dfe4eb;
  --paper: #ffffff;
  --page: #f7faff;
  --danger: #d50c12;
  --danger-bg: #ffe4e7;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 50% 40%, #fff 0, #f8fbff 48%, #f3f7fc 100%); font-size: 15px; }
a { color: inherit; }
.shell { width: calc(100% - 120px); max-width: 1552px; margin: 0 auto; }

.site-header { height: 108px; background: rgba(255,255,255,.97); border-bottom: 1px solid #dce1e8; }
.header-inner { height: 100%; display: flex; align-items: center; }
.brand { flex: 0 0 auto; display: flex; align-items: center; color: var(--navy); text-decoration: none; }
.brand-mark { width: 112px; height: 102px; flex: 0 0 112px; display: grid; place-items: center; overflow: hidden; }
.brand-logo-image { display: block; width: 112px; height: auto; max-width: none; }

.main-nav { height: 100%; margin-left: auto; display: flex; align-items: center; gap: 64px; white-space: nowrap; }
.main-nav a { position: relative; display: grid; place-items: center; align-self: stretch; color: var(--navy); text-decoration: none; font-size: 17px; font-weight: 500; transition: color .2s; }
.main-nav a:hover,.main-nav a:focus-visible { color: #c88400; }
.main-nav a.active { color: #c88400; }
.main-nav a.active::before { content: ""; position: absolute; top: 24px; left: -18px; right: -18px; height: 3px; background: var(--gold); }
.menu-toggle { display: none; }

.main-shell { padding: 16px 0 20px; }
.back-link { display: inline-flex; align-items: center; gap: 10px; color: #0968ad; text-decoration: none; font-weight: 650; line-height: 30px; }
.back-link span { font-size: 28px; font-weight: 300; transform: translateY(-2px); }
.back-link:hover { text-decoration: underline; }
.page-heading { height: 84px; display: flex; align-items: center; gap: 24px; }
.page-heading h1 { margin: 0; color: var(--navy); font-size: 30px; line-height: 1.15; letter-spacing: -.5px; }
.page-heading p { margin: 7px 0 0; color: var(--muted); font-size: 15.5px; }
.verify-shield { position: relative; width: 54px; height: 58px; flex: 0 0 54px; background: linear-gradient(135deg,#164d8f,#2b6eb8); clip-path: polygon(50% 0, 94% 16%, 88% 63%, 72% 84%, 50% 100%, 27% 84%, 11% 63%, 5% 16%); filter: drop-shadow(0 5px 8px rgba(27,78,139,.18)); }
.verify-shield::after { content: ""; position: absolute; left: 16px; top: 21px; width: 22px; height: 11px; border-left: 4px solid white; border-bottom: 4px solid white; transform: rotate(-45deg); }

.summary-card { min-height: 177px; display: grid; grid-template-columns: 2.12fr .87fr 1.07fr .87fr 1.12fr; background: rgba(255,255,255,.92); border: 1px solid #d8dde4; border-radius: 12px; box-shadow: 0 4px 14px rgba(20,42,77,.13); overflow: hidden; }
.company-block { padding: 27px 37px; position: relative; }
.company-block h2 { margin: 0 0 15px; color: var(--navy); font-size: 29px; line-height: 1.2; letter-spacing: -.4px; white-space: nowrap; }
.status-line { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.status-badge { display: inline-flex; align-items: center; min-height: 33px; padding: 5px 12px; border-radius: 6px; background: linear-gradient(#69f595,#7af3ac); color: var(#000000); font-size: 16px; font-weight: 650; }
.status-badge.small { min-height: 30px; padding: 4px 12px; font-size: 14px; }
.updated { margin-top: 18px; display: flex; align-items: center; gap: 10px; color: #596171; font-size: 15.5px; }
.updated strong { color: #414958; }
.calendar-mini { width: 16px; height: 15px; border: 2px solid #7c8490; border-radius: 2px; position: relative; }
.calendar-mini::before { content:""; position:absolute; left:1px; right:1px; top:3px; border-top:2px solid #7c8490; }
.calendar-mini::after { content:"··"; position:absolute; left:2px; top:1px; letter-spacing:2px; font-weight:900; }
.summary-stat { position: relative; margin: 32px 0 27px; padding: 0 26px 0 39px; border-left: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.summary-stat.first-stat { border-left: 1px solid var(--gold); }
.line-icon { height: 41px; color: var(--gold); font-size: 39px; line-height: 33px; font-family: Arial,sans-serif; font-weight: 400; }
.case-icon { font-size: 43px; transform: scaleY(.7); transform-origin: left center; }
.person-icon { font-size: 47px; transform: rotate(180deg); line-height: 39px; }
.stat-label { margin-top: 4px; font-size: 15px; }
.stat-value { margin-top: 10px; font-size: 19px; line-height: 1.2; white-space: nowrap; }
.stat-value.blue { color: #173b86; font-size: 21px; }

.detail-grid { margin-top: 21px; display: grid; grid-template-columns: 1fr 1.03fr 1fr 1.05fr; gap: 10px; }
.detail-card { min-width: 0; height: 307px; background: rgba(255,255,255,.94); border: 1px solid #e9edf2; border-radius: 7px; box-shadow: 0 3px 11px rgba(30,52,84,.09); overflow: hidden; }
.card-heading { height: 67px; margin: 0 15px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid var(--gold); }
.card-heading h2 { margin: 0; color: var(--navy); font-size: 16.5px; line-height: 1.15; white-space: nowrap; }
.heading-icon { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; display: grid; place-items: center; background: #e4f0ff; color: #154f9a; font-size: 25px; font-weight: 700; }
.document-icon { font-size: 26px; }
.shield-outline { font-size: 29px; }
.contact-icon { transform: rotate(180deg); }
.card-content { padding: 16px 22px; }
.overview-content { height: calc(100% - 67px); display: flex; flex-direction: column; }
.overview-content > p { margin: 2px 0 0; max-width: 300px; font-size: 15px; line-height: 1.54; }
.notice { display: flex; gap: 11px; align-items: flex-start; }
.blue-notice { margin-top: auto; min-height: 68px; padding: 12px 14px; border: 1px solid #cee0f7; border-radius: 6px; background: #eef6ff; color: #27558c; line-height: 1.45; font-size: 14px; }
.info-icon { width: 21px; height: 21px; flex: 0 0 21px; border: 2px solid currentColor; border-radius: 50%; display: grid; place-items: center; color: #2c66a7; font-family: Georgia,serif; font-size: 14px; font-weight: 700; line-height: 1; }
.rows { padding: 8px 14px 0 20px; }
.row { min-height: 36px; display: grid; grid-template-columns: 51% 49%; align-items: center; border-bottom: 1px dashed #e0e3e8; font-size: 14.5px; }
.row:last-child { border-bottom: 0; }
.row strong { font-weight: 400; line-height: 1.35; }
.compliance-rows .row { min-height: 48px; grid-template-columns: 43% 57%; }
.contact-rows { padding-left: 22px; }
.contact-rows .row { grid-template-columns: 45% 55%; }
.contact-rows .address-row { min-height: 103px; align-items: start; padding-top: 10px; }
.contact-rows a { color: inherit; text-decoration: none; }
.contact-rows a:hover { color: var(--blue); text-decoration: underline; }

.registry-note { min-height: 65px; margin-top: 20px; padding: 12px 26px; border: 1px solid #edc758; border-radius: 7px; background: #fffdf6; display: flex; align-items: center; gap: 27px; }
.registry-note .gold { color: #d69800; width: 25px; height: 25px; flex-basis: 25px; font-size: 16px; }
.registry-note p { margin: 0; max-width: 1080px; font-size: 13.7px; line-height: 1.55; }
.registry-note a { color: #0564aa; }

.site-footer { min-height: 81px; border-top: 1px solid #dde2e8; background: rgba(255,255,255,.35); }
.footer-inner { min-height: 81px; display: grid; grid-template-columns: 1fr 1px 340px; align-items: center; gap: 78px; }
.footer-inner p { margin: 0; font-size: 12.5px; line-height: 1.52; }
.footer-divider { height: 35px; background: #aab0b8; }
.copyright { white-space: nowrap; }

/* Compact PC layout also covers 125% display scaling on 1920px monitors. */
@media (min-width: 1121px) and (max-width: 1800px) {
  body { font-size: 13px; }
  .shell { width: calc(100% - 80px); max-width: none; }

  .site-header { height: 90px; }
  .brand-mark { width: 92px; height: 86px; flex-basis: 92px; }
  .brand-logo-image { width: 92px; }
  .main-nav { gap: 30px; }
  .main-nav a { font-size: 14px; }
  .main-nav a.active::before { top: 20px; left: -12px; right: -12px; }

  .main-shell { padding-top: 12px; padding-bottom: 14px; }
  .back-link { gap: 8px; font-size: 12.5px; line-height: 24px; }
  .back-link span { font-size: 23px; }
  .page-heading { height: 66px; gap: 18px; }
  .page-heading h1 { font-size: 25px; }
  .page-heading p { margin-top: 5px; font-size: 13px; }
  .verify-shield { width: 45px; height: 48px; flex-basis: 45px; }
  .verify-shield::after { left: 13px; top: 17px; width: 18px; height: 9px; border-width: 0 0 3px 3px; }

  .summary-card { min-height: 145px; }
  .company-block { padding: 20px 30px; }
  .company-block h2 { margin-bottom: 11px; font-size: 24px; }
  .status-line { gap: 8px; font-size: 15px; }
  .status-badge { min-height: 27px; padding: 4px 10px; font-size: 13.5px; }
  .status-badge.small { min-height: 25px; padding: 3px 9px; font-size: 12px; }
  .updated { margin-top: 14px; gap: 8px; font-size: 13px; }
  .calendar-mini { transform: scale(.85); transform-origin: center; }
  .summary-stat { margin: 25px 0 22px; padding-right: 18px; padding-left: 28px; }
  .line-icon { height: 34px; font-size: 32px; line-height: 28px; }
  .case-icon { font-size: 36px; }
  .person-icon { font-size: 39px; line-height: 33px; }
  .stat-label { margin-top: 3px; font-size: 12.5px; }
  .stat-value { margin-top: 7px; font-size: 16px; }
  .stat-value.blue { font-size: 18px; }

  .detail-grid { margin-top: 17px; gap: 9px; }
  .detail-card { height: 250px; }
  .card-heading { height: 55px; margin: 0 13px; gap: 10px; }
  .card-heading h2 { font-size: 14px; }
  .heading-icon { width: 35px; height: 35px; flex-basis: 35px; font-size: 21px; }
  .document-icon { font-size: 22px; }
  .shield-outline { font-size: 24px; }
  .card-content { padding: 12px 17px; }
  .overview-content { height: calc(100% - 55px); }
  .overview-content > p { margin-top: 1px; max-width: 250px; font-size: 12.5px; line-height: 1.5; }
  .blue-notice { min-height: 56px; padding: 9px 11px; gap: 9px; font-size: 11.5px; }
  .info-icon { width: 18px; height: 18px; flex-basis: 18px; font-size: 12px; }
  .rows { padding: 6px 12px 0 17px; }
  .row { min-height: 29px; font-size: 12px; }
  .compliance-rows .row { min-height: 39px; }
  .contact-rows { padding-left: 18px; }
  .contact-rows .address-row { min-height: 83px; padding-top: 8px; }

  .registry-note { min-height: 52px; margin-top: 16px; padding: 9px 22px; gap: 21px; }
  .registry-note .gold { width: 21px; height: 21px; flex-basis: 21px; font-size: 13px; }
  .registry-note p { max-width: 920px; font-size: 11.5px; line-height: 1.45; }

  .site-footer { min-height: 66px; }
  .footer-inner { min-height: 66px; grid-template-columns: 1fr 1px 285px; gap: 60px; }
  .footer-inner p { font-size: 10.5px; line-height: 1.45; }
  .footer-divider { height: 29px; }
}

/* Balance short, scaled PC viewports without forcing browser zoom. */
@media (min-width: 1121px) and (max-width: 1800px) and (min-height: 650px) and (max-height: 800px) {
  body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  main {
    min-height: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .main-shell {
    min-height: 0;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
  }

  .detail-grid {
    min-height: 250px;
    max-height: 326px;
    display: grid;
    flex: 1;
  }

  .detail-card {
    height: 100%;
  }

  .detail-card .rows {
    height: calc(100% - 55px);
    display: flex;
    flex-direction: column;
  }

  .detail-card .rows .row {
    min-height: 0;
    flex: 1;
  }

  .detail-card .contact-rows .address-row {
    min-height: 0;
    flex: 3;
  }

  .site-footer {
    flex: 0 0 66px;
  }
}

@media (max-width: 1120px) {
  .site-header { height: 90px; }
  .brand { width: auto; flex: 1; }
  .brand-mark { width: 92px; height: 86px; flex-basis: 92px; }
  .brand-logo-image { width: 92px; }
  .main-nav { display: none; }
  .menu-toggle { width: 42px; height: 42px; display: flex; flex-direction: column; justify-content: center; gap: 5px; border: 0; border-radius: 6px; background: #eef4fb; padding: 10px; }
  .menu-toggle span { display: block; height: 2px; background: var(--navy); }
  .header-inner.open .main-nav { position: absolute; z-index: 20; top: 90px; left: 0; right: 0; height: auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid #dce1e8; box-shadow: 0 8px 20px rgba(0,0,0,.1); }
  .header-inner.open .main-nav a { padding: 15px 32px; display: block; }
  .header-inner.open .main-nav a.active::before { top: auto; bottom: 0; left: 32px; right: 32px; }
  .summary-card { grid-template-columns: repeat(4,1fr); }
  .company-block { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .summary-stat { margin: 22px 0; }
  .detail-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .detail-card { height: 307px; }
  .footer-inner { gap: 32px; grid-template-columns: 1fr 1px 310px; }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  .main-shell { padding-top: 10px; }
  .page-heading { height: 90px; gap: 15px; }
  .page-heading h1 { font-size: 25px; }
  .page-heading p { font-size: 13px; }
  .verify-shield { transform: scale(.82); }
  .summary-card { display: block; }
  .company-block { padding: 23px 20px; }
  .company-block h2 { font-size: 22px; white-space: normal; }
  .updated { align-items: flex-start; flex-wrap: wrap; }
  .summary-stat { min-height: 115px; margin: 0 20px; padding: 16px 5px 16px 58px; border-left: 0; border-top: 1px solid var(--line); }
  .summary-stat.first-stat { border-left: 0; border-top-color: var(--gold); }
  .summary-stat .line-icon { position: absolute; left: 5px; top: 34px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-card { height: auto; min-height: 307px; }
  .registry-note { align-items: flex-start; gap: 15px; padding: 16px; }
  .footer-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px 0; }
  .footer-divider { width: 100%; height: 1px; }
  .copyright { white-space: normal; }
}

@media (max-width: 450px) {
  .brand-mark { width: 80px; height: 74px; flex-basis: 80px; }
  .brand-logo-image { width: 80px; }
  .row,.contact-rows .row,.compliance-rows .row { grid-template-columns: 42% 58%; }
  .row { font-size: 13.5px; }
  .card-content { padding-left: 15px; padding-right: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: .01ms !important; }
}
