:root {
  --navy: #07162f;
  --blue: #0755ac;
  --deep-blue: #064996;
  --pale-blue: #e8f7ff;
  --gold: #d99b00;
  --line: #d9dde1;
  --muted: #53677d;
  --surface: #ffffff;
  --focus: rgba(7, 85, 172, .22);
  --serif: "Inter", Arial, Helvetica, sans-serif;
  --sans: "Inter", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { min-width: 320px; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--navy);
  background: #fdfefe;
  font-family: var(--serif);
  display: flex;
  flex-direction: column;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  height: 132px;
  flex: 0 0 132px;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid #26313e;
}

.header-inner,
.main-content,
.footer-inner {
  width: min(1430px, calc(100% - 48px));
  margin: 0 auto;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  width: 228px;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand img {
  display: block;
  width: 139px;
  height: auto;
}

.header-links { display: flex; align-items: center; gap: 72px; }
.main-nav { display: flex; align-items: stretch; gap: 47px; }

.main-nav a {
  min-height: 45px;
  padding: 17px 0 0;
  color: #101e7b;
  font: 16px/1 var(--sans);
  white-space: nowrap;
  border-top: 2px solid transparent;
}

.main-nav a.active { color: #c18100; border-color: var(--gold); }

.socials { display: flex; align-items: center; gap: 12px; }
.socials a {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font: bold 22px/1 var(--sans);
}
.socials .linkedin { background: #0777a8; font-size: 19px; }
.socials .facebook { background: #314e87; font-family: "Inter", Arial, sans-serif; }
.socials .instagram { background: #1d1d1d; }
.socials svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.socials svg .dot { fill: currentColor; stroke: none; }

.menu-toggle { display: none; }

.pdf-header { display: none; }

.main-content { flex: 1 0 auto; padding-top: 24px; padding-bottom: 32px; }

.breadcrumb {
  min-height: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.5;
}
.breadcrumb a { color: #0057c4; transition: color .15s ease; }
.breadcrumb a:hover { color: #003f8f; text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span[aria-hidden] { color: #79828d; font: 21px/1 var(--sans); }
.breadcrumb > span:last-child { color: #22344a; font-weight: 500; }

.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-bottom: 24px;
}

h1 {
  margin: 0 0 12px;
  color: #07162f;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.5px;
}

.title-rule { display: block; width: 64px; height: 4px; border-radius: 999px; background: #d09a00; }

.actions { display: flex; gap: 12px; }
.button {
  height: 52px;
  border-radius: 8px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font: 600 14px/1 var(--sans);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(7, 70, 145, .12); }
.button:active { transform: translateY(0); box-shadow: none; }
.button:disabled { cursor: wait; opacity: .72; transform: none; box-shadow: none; }
.button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button svg .fill { fill: currentColor; stroke: none; }
.button-outline { min-width: 126px; color: #064693; background: #fff; border: 1px solid #0758ae; }
.button-outline:first-child { min-width: 172px; }
.button-outline:hover { background: #f1f7fd; }
.button-primary { min-width: 177px; color: #fff; background: linear-gradient(90deg, #12589c, #0957a8); border: 1px solid #0751a1; }
.button-primary:hover { background: #06468d; }

.panel {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid #dce5eb;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(14, 45, 74, .08);
}

.panel-heading {
  min-height: 56px;
  margin: 0;
  padding: 15px 22px;
  color: #06152d;
  background: linear-gradient(90deg, #e7f7ff 0%, #d9f0fb 58%, #e4f6fd 100%);
  font-size: 22px;
  line-height: 26px;
  font-weight: 600;
}

.company-panel { margin-bottom: 16px; }
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 8px 20px 18px;
  gap: 36px;
}
.details-list { margin: 0; }
.details-list > div {
  min-height: 52px;
  display: grid;
  grid-template-columns: 41% 59%;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.details-list > div:last-child { border-bottom: 0; }
.details-list dt,
.details-list dd { margin: 0; padding: 13px 9px; font-size: 16px; line-height: 22px; }
.details-list dt {
  align-self: stretch;
  display: flex;
  align-items: center;
  color: #26394e;
  background: linear-gradient(90deg, #fafcfd, rgba(250,252,253,.2));
  font-size: 15px;
  font-weight: 600;
}
.details-list dd { color: #0b1e35; letter-spacing: 0; }
.details-list-right > div { grid-template-columns: 42% 58%; }
.details-list-right > div:nth-child(2),
.details-list-right > div:nth-child(4) { min-height: 78px; }
.details-list-right > div:nth-child(2) dd,
.details-list-right > div:nth-child(4) dd { line-height: 23px; }

.status {
  min-width: 74px;
  height: 30px;
  padding: 4px 16px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 20px;
}
.status-active { color: #176b38; background: #e4f7ea; border: 1px solid #c9ebd4; min-width: 88px; }
.note {
  min-height: 78px;
  border: 1px solid #d8effa;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #edf9ff;
  color: #17457c;
}
.note-icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 2px solid #0754a3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0754a3;
  font: bold 19px/1 "Inter", Arial, sans-serif;
}
.note strong { display: block; font-size: 16px; line-height: 22px; margin: 0 0 2px; }
.note p { margin: 0; color: var(--muted); font-size: 14px; line-height: 21px; }

.site-footer {
  flex: 0 0 55px;
  min-height: 55px;
  border-top: 2px solid #e5aa13;
  background: #fff;
}
.footer-inner { min-height: 53px; display: flex; align-items: center; justify-content: space-between; }
.footer-brand { color: #bd8000; font: 16px/15px var(--sans); }
.footer-brand small { display: block; font-size: 12px; }
.footer-inner nav { display: flex; gap: 34px; margin-left: auto; margin-right: 50px; }
.footer-inner nav a { color: #172278; font-size: 14px; white-space: nowrap; }
.footer-inner nav a.active { color: #c38400; }
.footer-inner .socials { gap: 8px; }
.footer-inner .socials a { width: 32px; height: 32px; font-size: 19px; }
.footer-inner .socials .linkedin { font-size: 17px; }
.footer-inner .socials svg { width: 18px; height: 18px; }

/* Desktop composition: visually equivalent to the former 80% browser view. */
@media (min-width: 1200px) {
  .site-header { height: 106px; flex-basis: 106px; }

  .header-inner,
  .main-content,
  .footer-inner { width: min(1144px, calc(100% - 38px)); }

  .brand { width: 182px; height: 94px; }
  .brand img { width: 111px; }
  .header-links { gap: 58px; }
  .main-nav { gap: 38px; }
  .main-nav a { min-height: 36px; padding-top: 14px; font-size: 13px; }
  .socials { gap: 10px; }
  .socials a { width: 30px; height: 30px; font-size: 18px; }
  .socials .linkedin { font-size: 15px; }
  .socials svg { width: 17px; height: 17px; }

  .main-content { padding-top: 19px; padding-bottom: 26px; }
  .breadcrumb { min-height: 19px; gap: 8px; margin-bottom: 16px; font-size: 12px; }
  .breadcrumb span[aria-hidden] { font-size: 17px; }
  .page-heading { gap: 26px; margin-bottom: 19px; }
  h1 { margin-bottom: 10px; font-size: 32px; }
  .title-rule { width: 51px; height: 3px; }

  .actions { gap: 10px; }
  .button { height: 42px; padding: 0 18px; gap: 13px; border-radius: 6px; font-size: 11px; }
  .button svg { width: 17px; height: 17px; }
  .button-outline { min-width: 101px; }
  .button-outline:first-child { min-width: 138px; }
  .button-primary { min-width: 142px; }

  .panel { border-radius: 10px; }
  .panel-heading { min-height: 45px; padding: 12px 18px; font-size: 18px; line-height: 21px; }
  .company-panel { margin-bottom: 13px; }
  .company-grid { padding: 6px 16px 14px; gap: 29px; }
  .details-list > div { min-height: 42px; }
  .details-list dt,
  .details-list dd { padding: 10px 7px; font-size: 13px; line-height: 18px; }
  .details-list dt { font-size: 12px; }
  .details-list-right > div:nth-child(2),
  .details-list-right > div:nth-child(4) { min-height: 62px; }
  .details-list-right > div:nth-child(2) dd,
  .details-list-right > div:nth-child(4) dd { line-height: 18px; }
  .status { height: 24px; min-width: 59px; padding: 3px 13px; line-height: 16px; }
  .status-active { min-width: 70px; }

  .note { min-height: 62px; padding: 13px; gap: 13px; border-radius: 10px; }
  .note-icon { flex-basis: 24px; width: 24px; height: 24px; font-size: 15px; }
  .note strong { font-size: 13px; line-height: 18px; }
  .note p { font-size: 11px; line-height: 17px; }

  .site-footer { flex-basis: 44px; min-height: 44px; }
  .footer-inner { min-height: 42px; }
  .footer-brand { font-size: 13px; line-height: 12px; }
  .footer-brand small { font-size: 10px; }
  .footer-inner nav { gap: 27px; margin-right: 40px; }
  .footer-inner nav a { font-size: 11px; }
  .footer-inner .socials { gap: 6px; }
  .footer-inner .socials a { width: 26px; height: 26px; font-size: 15px; }
  .footer-inner .socials .linkedin { font-size: 14px; }
  .footer-inner .socials svg { width: 14px; height: 14px; }
}

@media (max-width: 1180px) {
  .header-links { gap: 30px; }
  .main-nav { gap: 22px; }
  .company-grid { gap: 18px; }
  .details-list > div, .details-list-right > div { grid-template-columns: 45% 55%; }
  .footer-inner nav { gap: 18px; margin-right: 24px; }
}

@media (max-width: 900px) {
  .site-header { height: 92px; flex-basis: 92px; }
  .header-inner { position: relative; }
  .brand { width: auto; height: 86px; }
  .brand img { width: 105px; }
  .menu-toggle {
    width: 44px; height: 42px; padding: 9px; border: 0; border-radius: 5px;
    display: flex; flex-direction: column; justify-content: space-around; background: #0753a2; cursor: pointer;
  }
  .menu-toggle span { width: 100%; height: 2px; background: #fff; }
  .header-links {
    display: none; position: absolute; z-index: 10; top: 91px; right: 0; width: min(360px, calc(100vw - 32px));
    padding: 16px; flex-direction: column; align-items: stretch; gap: 14px; background: #fff;
    border: 1px solid #d5dce3; border-radius: 0 0 8px 8px; box-shadow: 0 8px 18px rgba(0,0,0,.13);
  }
  .header-links.open { display: flex; }
  .main-nav { flex-direction: column; gap: 0; }
  .main-nav a { min-height: 42px; padding: 13px 10px; border-top: 0; border-left: 3px solid transparent; }
  .main-nav a.active { border-left-color: var(--gold); background: #fff9eb; }
  .header-links .socials { padding: 0 10px; }
  .page-heading { flex-direction: column; align-items: stretch; gap: 20px; margin-bottom: 24px; }
  .actions { width: 100%; }
  .button, .button-outline:first-child, .button-primary { flex: 1; min-width: 0; padding: 0 12px; gap: 8px; }
  .company-grid { grid-template-columns: 1fr; gap: 0; }
  .details-list:first-child > div:last-child { border-bottom: 1px solid var(--line); }
  .details-list-right > div:nth-child(2), .details-list-right > div:nth-child(4) { min-height: 83px; }
  .footer-inner { padding: 12px 0; gap: 14px; flex-wrap: wrap; }
  .footer-inner nav { order: 3; width: 100%; margin: 0; justify-content: center; flex-wrap: wrap; row-gap: 8px; }
  .site-footer { flex-basis: auto; }
}

@media (max-width: 650px) {
  .header-inner, .main-content, .footer-inner { width: min(100% - 28px, 1430px); }
  .main-content { padding-top: 16px; padding-bottom: 24px; }
  .breadcrumb { overflow-x: auto; white-space: nowrap; font-size: 14px; }
  h1 { font-size: 33px; }
  .actions { display: grid; grid-template-columns: 1fr 1fr; }
  .button { height: 48px; }
  .button-primary { grid-column: 1 / -1; }
  .panel-heading { min-height: 52px; padding: 13px 16px; font-size: 20px; }
  .company-grid { padding: 6px 14px 12px; }
  .details-list > div, .details-list-right > div { display: block; min-height: 0 !important; padding: 11px 0; }
  .details-list dt, .details-list dd { padding: 2px 5px; background: none; }
  .details-list dt { font-size: 14px; color: #3f536a; }
  .details-list dd { font-size: 16px; }
  .note { padding: 14px; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-inner nav { gap: 10px 18px; }
}

@media print {
  .site-header, .site-footer, .actions { display: none !important; }
  .main-content { width: 100%; padding: 0; }
  .panel { box-shadow: none; break-inside: avoid; }
}

body.pdf-exporting .site-header,
body.pdf-exporting .site-footer,
body.pdf-exporting .breadcrumb,
body.pdf-exporting .actions { display: none !important; }

body.pdf-exporting .main-content {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  background: #fff;
}

body.pdf-exporting .pdf-header {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gold);
}

body.pdf-exporting .pdf-header img { width: 76px; height: auto; }
body.pdf-exporting .pdf-header strong { display: block; font-size: 20px; color: var(--navy); }
body.pdf-exporting .pdf-header span { display: block; margin-top: 4px; font-size: 12px; color: #b87900; }
body.pdf-exporting .page-heading { margin-bottom: 20px; }
body.pdf-exporting .company-panel { break-inside: avoid; }
body.pdf-exporting .note { break-inside: avoid; }
