@media screen {
  :root {
    --brand-blue: #0b172d;
    --brand-light: #c6d1de;
    --brand-gray: #f1f4f8;
    --ink: #14243b;
    --marble-background: linear-gradient(90deg,rgba(7,17,32,.74),rgba(7,17,32,.36)),url("navy-marble.png") center/cover,#0b172d;
    --marble-hover: linear-gradient(90deg,rgba(7,17,32,.55),rgba(7,17,32,.22)),url("navy-marble.png") center/cover,#0b172d;
  }
  body { background: #f1f4f8; color: #14243b; padding-bottom: 32px; }
  body,button,input,textarea,select { font-family: "Segoe UI",Arial,sans-serif; }
  .tool-utility { background: var(--marble-background); color: #dce4ef; font-size: .72rem; letter-spacing: .055em; }
  .tool-utility > div { width: min(1240px,calc(100% - 100px)); margin: auto; min-height: 33px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .tool-utility a { color: inherit; text-decoration: none; white-space: nowrap; }
  .tool-utility span { text-transform: uppercase; font-weight: 650; letter-spacing: .12em; }
  header.tool-header { padding: 0; display: block; background: white; color: #14243b; border-bottom: 1px solid #cfd8e4; }
  .tool-header-inner { width: min(1240px,calc(100% - 100px)); margin: auto; min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .tool-header .tool-brand { display: inline-flex; align-items: center; gap: 9px; color: #14243b; font-size: 1.43rem; font-weight: 760; letter-spacing: -.055em; text-decoration: none; white-space: nowrap; line-height: 1; }
  .tool-mark { width: 56px; height: 56px; object-fit: contain; background: white; border-radius: 4px; flex: none; }
  .tool-brand small { font-size: .56em; margin-left: .25em; font-weight: 600; letter-spacing: .055em; }
  .tool-header nav { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
  .tool-header nav a { color: #14243b; text-decoration: none; font-size: .88rem; font-weight: 650; white-space: nowrap; }
  .tool-header nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
  .tool-header nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
  .tool-header nav .tool-portal { color: white; background: var(--marble-background); border-radius: 4px; padding: 10px 14px; }
  .tool-header nav .tool-portal:hover { background: var(--marble-hover); text-decoration: none; }
  main { width: min(1240px,calc(100% - 100px)); max-width: 1240px; margin: 42px auto; padding: 0; }
  h1 { color: #14243b; font-weight: 660; font-size: clamp(2rem,4.3vw,3.8rem); line-height: 1.08; letter-spacing: -.045em; margin: 12px 0 16px; max-width: 25ch; }
  h2,h3 { letter-spacing: -.025em; }
  .eyebrow { display: flex; align-items: center; gap: 10px; color: #4f5e72; font-size: .69rem; font-weight: 750; letter-spacing: .18em; }
  .eyebrow::before { content: ""; width: 7px; height: 7px; background: #8196b3; }
  .page-heading p, main > p { color: #4f5e72; max-width: 75ch; line-height: 1.6; }
  .search { background: white; color: #14243b; padding: 14px 16px; font-size: 1rem; border: 1px solid #8293ac; border-radius: 4px; margin: 9px 0 10px; }
  label[for="search"] { display: block; margin-top: 24px; font-size: .9rem; font-weight: 650; }
  .search:focus { outline: 3px solid #4971a8; outline-offset: 3px; }
  .grid { grid-template-columns: repeat(auto-fill,minmax(min(100%,270px),1fr)); gap: 12px; }
  .card { background: white; border: 1px solid #cfd8e4; border-radius: 4px; padding: 21px; color: #4f5e72; gap: 16px; box-shadow: none; min-height: 128px; font-size: .89rem; }
  .card b { color: #14243b; font-size: 1.12rem; font-weight: 660; letter-spacing: -.025em; line-height: 1.3; }
  .card:hover { background: #e5eaf1; border-color: #a3b2c6; }
  .card small,.count,.notice,footer { color: #4f5e72; }
  .count { font-size: .9rem; margin: 10px 0 22px; }
  button,.button { border: 1px solid #8293ac; border-radius: 4px; background: white; color: #14243b; padding: 10px 15px; font-size: .89rem; font-weight: 650; line-height: 1.4; }
  button:hover,.button:hover { background: #e5eaf1; }
  button.primary,.button.primary { background: var(--marble-background); border-color: #0b172d; color: white; font-weight: 700; }
  button.primary:hover,.button.primary:hover { background: var(--marble-hover); }
  :focus-visible { outline: 3px solid #4971a8; outline-offset: 3px; }
  .toolbar { gap: 10px; margin: 20px 0; }
  .review-note { background: #e5eaf1; color: #4f5e72; border-color: #cfd8e4; font-size: .88rem; padding: 12px 15px; }
  .paper { box-shadow: 0 5px 25px #0b172d17; }
  .field { background: #e5eaf1cc; border-color: #8293ac; color: #14243b; }
  .field:focus { outline: 2px solid #4971a8; background: white; }
  input[type=checkbox].field { accent-color: #0b172d; }
  .application-section { background: white; border: 1px solid #cfd8e4; border-radius: 4px; padding: clamp(18px,3vw,32px); margin: 22px 0; }
  .application-section h2 { color: #14243b; font-size: clamp(1.4rem,2.5vw,2rem); font-weight: 660; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid #cfd8e4; }
  .application-section h3 { color: #14243b; font-weight: 650; }
  .form-grid { gap: 18px; }
  .form-item { color: #14243b; }
  .form-item input,.form-item select,.form-item textarea { background: #f1f4f8; color: #14243b; border-color: #a5b3c6; min-height: 44px; }
  .form-item.required-field :is(input,select,textarea) { background: #e5eaf1; border-color: #647b9a; }
  .required-marker { color: #14243b; }
  .required-view-toggle { color: #14243b; padding: 10px 13px; background: white; border: 1px solid #cfd8e4; border-radius: 4px; font-size: .9rem; }
  .form-options { border-color: #cfd8e4; }
  .required-view-toggle input,.form-options input,.extra-toggle input,.authorization-consent input { accent-color: #0b172d; }
  .form-note,.signature-note { color: #4f5e72; }
  .authorization-consent { background: #e5eaf1; border-color: #8293ac; color: #14243b; }
  .signature-record { background: #f1f4f8; border-color: #cfd8e4; }
  .script-signature { color: #14243b; }
  .back-to-top { background: var(--marble-background); color: white; border-color: #0b172d; box-shadow: 0 2px 8px #0b172d22; }
  .back-to-top:hover { background: var(--marble-hover); }
  #status { color: #4f5e72; font-size: .88rem; }
}
@media screen and (max-width: 980px) {
  main,.tool-header-inner,.tool-utility > div { width: calc(100% - 62px); }
}
@media screen and (max-width: 760px) {
  main,.tool-header-inner,.tool-utility > div { width: calc(100% - 36px); }
  .tool-header-inner { min-height: 65px; flex-wrap: wrap; gap: 13px; padding: 14px 0; }
  .tool-header nav { gap: 12px; }
  .tool-header nav a { font-size: .8rem; }
  .tool-header nav .tool-portal { padding: 8px 10px; }
  .tool-utility span { font-size: .62rem; letter-spacing: .06em; }
  main { margin-block: 28px; }
}
@media screen and (max-width: 420px) {
  .tool-utility > div { gap: 10px; font-size: .67rem; }
  .tool-header-inner { justify-content: center; }
  .tool-header nav { width: 100%; justify-content: center; }
  .tool-header .tool-brand { font-size: 1.35rem; }
  .toolbar { align-items: stretch; }
}
@media print {
  .tool-utility,.tool-header { display: none!important; }
}

