/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans-400i.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans-400.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans-500.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans-600.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/dm-sans-500.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/dm-sans-600.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/dm-sans-500.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/dm-sans-600.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/dm-sans-500.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/dm-sans-600.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-serif-400.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-serif-400b.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


    *, *::before, *::after { box-sizing: border-box; }
    body { margin: 0; background: #e8eded; font-family: 'DM Sans', system-ui, sans-serif; color: #1a2a2b; }

    /* ── Wrapper ── */
    .guide { max-width: 8.5in; margin: 32px auto; background: #fff; box-shadow: 0 4px 40px rgba(0,0,0,0.12); }

    /* ── Cover ── */
    .cover {
      background: #04454D;
      padding: 52px 64px 44px;
      color: white;
    }
    .cover-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
    .cover-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; }
    .cover-icon { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,0.12); flex-shrink: 0; }
    .cover-icon img { width: 100%; height: 100%; object-fit: cover; }
    .cover-brand-text p { margin: 0; }
    .cover-brand-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.55); font-weight: 600; }
    .cover-brand-version { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 3px !important; }
    .cover h1 { font-family: 'DM Serif Display', Georgia, serif; font-size: 52px; font-weight: 400; margin: 0 0 6px; line-height: 1.05; letter-spacing: -0.5px; }
    .cover-subtitle { font-size: 21px; color: rgba(255,255,255,0.65); margin: 0 0 6px; font-weight: 400; }
    .cover-tagline { font-size: 13px; color: rgba(255,255,255,0.4); margin: 0; font-style: italic; }
    .cover-vnc img { height: 44px; opacity: 0.7; margin-top: 4px; }
    .cover-divider { border: none; border-top: 1px solid rgba(255,255,255,0.12); margin: 28px 0 0; }

    /* ── Doc frame (for print margins) ── */
    .doc-frame { width: 100%; border-collapse: collapse; }
    .doc-frame td { padding: 0; }
    .pad-top, .pad-bottom { display: none; }

    /* ── Content ── */
    .content { padding: 48px 64px 60px; }

    /* ── Welcome ── */
    .welcome {
      font-size: 15px; line-height: 1.75; color: #3d5a5c;
      border-left: 3px solid #04454D; padding-left: 20px;
      margin: 0 0 36px;
    }

    /* ── TOC ── */
    .toc { background: #f0f7f7; border-radius: 10px; padding: 26px 30px; margin-bottom: 44px; }
    .toc-heading { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: #04454D; font-weight: 700; margin: 0 0 14px; }
    .toc ol { margin: 0; padding-left: 18px; columns: 2; column-gap: 28px; }
    .toc li { font-size: 13.5px; color: #2d3f40; margin-bottom: 5px; line-height: 1.4; }
    .toc a { color: #04454D; text-decoration: none; }
    .toc a:hover { text-decoration: underline; }

    /* ── Terminology ── */
    .terminology { background: #04454D; color: white; border-radius: 10px; padding: 22px 28px; margin-bottom: 44px; }
    .terminology h3 { font-family: 'DM Serif Display', serif; font-size: 19px; margin: 0 0 14px; font-weight: 400; }
    .terminology dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
    .terminology dt { font-weight: 700; font-size: 13px; color: #7ecfcf; white-space: nowrap; }
    .terminology dd { margin: 0; font-size: 13.5px; color: rgba(255,255,255,0.82); line-height: 1.55; }

    /* ── Sections ── */
    .section { margin-bottom: 44px; }
    .section-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid #e2eeee; }
    .section-num { width: 30px; height: 30px; background: #04454D; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
    .section-num-alt { background: #6b9090; font-size: 11px; }
    .section-title { font-family: 'DM Serif Display', serif; font-size: 24px; margin: 0; color: #04454D; font-weight: 400; }

    hr.divider { border: none; border-top: 1px solid #e2eeee; margin: 44px 0; }

    /* ── Two-col layout ── */
    .with-phone { display: flex; gap: 30px; align-items: flex-start; }
    .with-phone .text { flex: 1; min-width: 0; }

    /* ── Phone frame ── */
    .phone { width: 166px; border-radius: 26px; overflow: hidden; box-shadow: 0 6px 28px rgba(4,69,77,0.2); border: 2px solid rgba(4,69,77,0.1); flex-shrink: 0; }
    .phone img { width: 100%; display: block; }
    .phone-cap { text-align: center; font-size: 11px; color: #8fa5a5; margin-top: 6px; }

    /* ── Body text ── */
    p { font-size: 15px; line-height: 1.65; color: #2d3f40; margin: 0 0 14px; text-wrap: pretty; }
    ul, ol { font-size: 15px; line-height: 1.65; color: #2d3f40; margin: 0 0 14px; padding-left: 22px; }
    li { margin-bottom: 5px; }
    h3 { font-size: 15px; font-weight: 700; color: #04454D; margin: 20px 0 8px; }
    strong { color: #1a2a2b; }

    /* ── Steps ── */
    .steps { list-style: none; padding: 0; margin: 14px 0; }
    .steps li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
    .step-num { width: 24px; height: 24px; background: #04454D; color: white; border-radius: 50%; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
    .step-text { flex: 1; font-size: 15px; line-height: 1.6; color: #2d3f40; }
    .step-text strong { color: #04454D; }

    /* ── Callouts ── */
    .tip { background: #eaf5eb; border-left: 3px solid #2d7a3a; border-radius: 0 8px 8px 0; padding: 12px 16px; margin: 14px 0; font-size: 13.5px; color: #1a3a1e; line-height: 1.6; }
    .tip strong { color: #2d7a3a; }
    .note { background: #fffaeb; border-left: 3px solid #d97706; border-radius: 0 8px 8px 0; padding: 12px 16px; margin: 14px 0; font-size: 13.5px; color: #3a2800; line-height: 1.6; }
    .note strong { color: #d97706; }
    .info { background: #eaf0f7; border-left: 3px solid #04454D; border-radius: 0 8px 8px 0; padding: 12px 16px; margin: 14px 0; font-size: 13.5px; color: #1a2a3a; line-height: 1.6; }

    /* ── Sighting field grid ── */
    .field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
    .field-item { background: #f4fafa; border: 1px solid #cce5e5; border-radius: 8px; padding: 10px 14px; }
    .field-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: #04454D; font-weight: 700; margin-bottom: 3px; }
    .field-value { font-size: 13px; color: #2d3f40; }

    /* ── Status badges ── */
    .badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
    .badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
    .b-approved { background: #d4edda; color: #2d7a3a; }
    .b-pending  { background: #fff3cd; color: #b45309; }
    .b-draft    { background: #e5e5e5; color: #555; }
    .b-clarify  { background: #fde8d8; color: #c2410c; }

    /* ── Cards 3-col ── */
    .cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 14px 0; }
    .card { background: #f4fafa; border: 1px solid #cce5e5; border-radius: 10px; padding: 16px; }
    .card-title { font-weight: 700; font-size: 13.5px; color: #04454D; margin-bottom: 6px; }
    .card p { font-size: 13px; color: #4a6062; margin: 0; line-height: 1.55; }

    /* ── Quick reference table ── */
    table.ref { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 14px 0; }
    table.ref th { background: #04454D; color: white; padding: 9px 14px; text-align: left; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
    table.ref td { padding: 9px 14px; border-bottom: 1px solid #deeaea; color: #2d3f40; vertical-align: top; }
    table.ref tr:nth-child(even) td { background: #f4fafa; }
    table.ref tr:last-child td { border-bottom: none; }

    /* ── Footer ── */
    .guide-footer { background: #04454D; color: rgba(255,255,255,0.6); padding: 20px 64px; font-size: 12.5px; display: flex; align-items: center; justify-content: space-between; }
    .guide-footer a { color: rgba(255,255,255,0.8); }

    /* ── Print ── */
    @page { size: letter; margin: 0; }
    @media print {
      html { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
      html, body { margin: 0; padding: 0; background: #fff; }
      .guide { max-width: none !important; margin: 0 !important; box-shadow: none !important; }
      .content { padding: 0 0.75in !important; }
      .cover { padding: 52px 0.75in 44px !important; }
      .guide-footer { padding: 20px 0.75in !important; }
      .pad-top, .pad-bottom { display: table-cell !important; height: 0.6in; }
      .section-header, h3 { break-after: avoid; }
      .with-phone, .cards3, .field-grid, .tip, .note, .info, table.ref { break-inside: avoid; }
    }
  
    @media screen and (max-width: 768px) {
      .guide { margin: 0; border-radius: 0; }
      .cover { padding: 36px 20px 28px; }
      .cover-top { flex-direction: column; gap: 16px; }
      .cover-brand { margin-bottom: 20px; }
      .cover h1 { font-size: 32px; }
      .cover-subtitle { font-size: 17px; }
      .cover-tagline { font-size: 12px; }
      .cover-vnc img { height: 36px; }
      .cover-divider { margin: 20px 0 0; }
      .content { padding: 28px 20px 40px; }
      .with-phone { flex-direction: column; gap: 20px; }
      .phone { width: 100%; max-width: 260px; margin: 0 auto; }
      .cards3 { grid-template-columns: 1fr; }
      .field-grid { grid-template-columns: 1fr; }
      .toc ol { columns: 1; padding-left: 22px; }
      .section-title { font-size: 20px; }
      .guide-footer { flex-direction: column; gap: 8px; text-align: center; padding: 20px; }
      table.ref { display: block; overflow-x: auto; white-space: nowrap; }
      .phone-cap { text-align: center; }
      .section { margin-bottom: 32px; }
      .toc { padding: 20px 22px; margin-bottom: 28px; }
      .tip, .note, .info { padding: 10px 14px; }
      .terminology { padding: 18px 22px; }
      .field-item { padding: 10px 14px; }
      h3 { margin: 16px 0 6px; }
    }
    @media screen and (max-width: 480px) {
      .cover { padding: 28px 16px 22px; }
      .content { padding: 22px 16px 32px; }
      .cover h1 { font-size: 28px; }
      .cover-subtitle { font-size: 15px; }
      .section-title { font-size: 18px; }
      .cover-brand { gap: 10px; }
      .cover-icon { width: 44px; height: 44px; border-radius: 12px; }
    }
