      /* ── TOKENS ── */
      :root {
        --main-orange: #F26518;
        --dark-charcoal: #222222;
        --soft-beige: #FFF3E7;
        --card-peach: #FCE7DB;
        --muted-brown: #D44A14;
        --sub-text-gray: #666666;
        --brand-green: var(--main-orange);
        --brand-green-900: var(--dark-charcoal);
        --brand-green-800: var(--muted-brown);
        --brand-green-100: var(--card-peach);
        --brand-gold: var(--main-orange);
        --brand-gold-700: var(--muted-brown);
        --brand-gold-100: var(--card-peach);
        --navy: var(--dark-charcoal);
        --navy2: var(--dark-charcoal);
        --navy-lt: var(--card-peach);
        --navy-xlt: var(--soft-beige);
        --green: var(--main-orange);
        --green-lt: var(--card-peach);
        --terra: var(--muted-brown);
        --terra-lt: var(--card-peach);
        --ink: var(--dark-charcoal);
        --ink2: var(--dark-charcoal);
        --ink3: var(--sub-text-gray);
        --ink4: #9ca3af;
        --rule: var(--card-peach);
        --paper: var(--soft-beige);
        --white: #ffffff;
        --p0-bg: #fef2f2;
        --p0-txt: #991b1b;
        --p0-bdr: #fecaca;
        --p1-bg: #fffbeb;
        --p1-txt: #92400e;
        --p1-bdr: #fde68a;
        --p2-bg: #f0fdf4;
        --p2-txt: #166534;
        --p2-bdr: #bbf7d0;
        --sidebar-w: 240px;
        --doc-max: 900px;
      }

      /* ── RESET ── */
      *,
      *::before,
      *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }
      html {
        font-size: 15px;
        scroll-behavior: smooth;
      }
      body {
        font-family: "IBM Plex Sans KR", sans-serif;
        background: var(--paper);
        color: var(--ink);
        line-height: 1.7;
      }
      a {
        color: var(--navy);
        text-decoration: none;
      }
      ::-webkit-scrollbar {
        width: 5px;
        height: 5px;
      }
      ::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 3px;
      }

      /* ── LAYOUT ── */
      .layout {
        display: flex;
        min-height: 100vh;
      }

      /* ── SIDEBAR ── */
      aside {
        width: var(--sidebar-w);
        flex-shrink: 0;
        background: var(--navy2);
        position: sticky;
        top: 0;
        height: 100vh;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
      }
      .aside-brand {
        padding: 22px 20px 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      }
      .aside-logo {
        font-family: "Noto Serif KR", serif;
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--main-orange);
        margin-bottom: 3px;
      }
      .aside-ver {
        font-size: 0.65rem;
        font-weight: 500;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.45);
      }
      .aside-status {
        margin-top: 8px;
        display: flex;
        align-items: center;
        gap: 5px;
      }
      .status-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--main-orange);
      }
      .aside-status span {
        font-size: 0.67rem;
        color: rgba(255, 255, 255, 0.5);
      }
      nav.toc {
        padding: 14px 0;
        flex: 1;
      }
      .toc-section {
        margin-bottom: 2px;
      }
      .toc-section-hd {
        display: flex;
        align-items: center;
        gap: 7px;
        padding: 6px 20px;
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.35);
        cursor: pointer;
        transition: all 0.2s;
      }
      .toc-section-link {
        text-decoration: none;
        border-left: 2px solid transparent;
      }
      .toc-section-hd:hover {
        color: rgba(255, 255, 255, 0.6);
      }
      .toc-section-link.active {
        color: #fff;
        border-left-color: var(--main-orange);
        background: rgba(242, 101, 24, 0.18);
      }
      .toc-link {
        display: block;
        padding: 5px 20px 5px 30px;
        font-size: 0.74rem;
        color: rgba(255, 255, 255, 0.55);
        transition: all 0.18s;
        border-left: 2px solid transparent;
        line-height: 1.45;
        word-break: keep-all;
        overflow-wrap: anywhere;
      }
      .toc-link code {
        color: inherit;
        font-family: "IBM Plex Mono", monospace;
        font-size: 0.68rem;
      }
      .toc-link:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.05);
      }
      .toc-link.active {
        color: #fff;
        border-left-color: var(--main-orange);
        background: rgba(242, 101, 24, 0.18);
      }
      .aside-footer {
        padding: 16px 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 0.64rem;
        color: rgba(255, 255, 255, 0.3);
        line-height: 1.6;
      }
      .print-btn {
        width: 100%;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 6px;
        padding: 7px;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.72rem;
        cursor: pointer;
        font-family: "IBM Plex Sans KR", sans-serif;
        transition: all 0.2s;
        margin-bottom: 10px;
      }
      .print-btn:hover {
        background: rgba(255, 255, 255, 0.14);
        color: #fff;
      }

      /* ── MAIN DOCUMENT ── */
      main {
        flex: 1;
        padding: 0 48px 80px;
        max-width: calc(var(--doc-max) + 96px);
        min-width: 0;
      }
      main#cover > h1#cover-title {
        padding: 56px 0 10px;
        border-bottom: none;
        color: var(--navy);
        font-family: "Noto Serif KR", serif;
        font-size: 2.4rem;
        line-height: 1.2;
        margin-bottom: 6px;
      }
      main#cover > h1#cover-title + p {
        color: var(--ink3);
        font-size: 1rem;
        font-style: italic;
        margin-bottom: 8px;
      }
      main#cover > blockquote {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        margin: 26px 0 44px;
        border: 1px solid var(--rule);
        border-radius: 8px;
        overflow: hidden;
        background: var(--white);
      }
      main#cover > blockquote p {
        margin: 0;
        padding: 11px 16px;
        border-right: 1px solid var(--rule);
        color: var(--ink);
        font-size: 0.82rem;
        font-weight: 600;
      }
      main#cover > blockquote p:last-child {
        border-right: 0;
      }
      main#cover > h1.s-h1:not(#cover-title) {
        margin-top: 52px;
      }

      /* ── DOCUMENT COVER ── */
      .doc-cover {
        padding: 56px 0 44px;
        border-bottom: 2px solid var(--navy);
        margin-bottom: 44px;
      }
      .cover-label {
        font-size: 0.67rem;
        font-weight: 600;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--muted-brown);
        margin-bottom: 10px;
      }
      .cover-title {
        font-family: "Noto Serif KR", serif;
        font-size: 2.4rem;
        font-weight: 700;
        color: var(--navy);
        line-height: 1.2;
        margin-bottom: 6px;
        overflow-wrap: anywhere;
      }
      .cover-subtitle {
        font-size: 1rem;
        color: var(--ink3);
        margin-bottom: 32px;
        font-style: italic;
      }
      .cover-meta {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 0;
        border: 1px solid var(--rule);
        border-radius: 8px;
        overflow: hidden;
      }
      .meta-item {
        padding: 11px 16px;
        border-right: 1px solid var(--rule);
      }
      .meta-item:last-child {
        border-right: none;
      }
      .meta-item:nth-child(n + 3) {
        border-top: 1px solid var(--rule);
      }
      .meta-key {
        font-size: 0.66rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--ink4);
        margin-bottom: 3px;
      }
      .meta-val {
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--ink);
      }
      .meta-val.green {
        color: var(--green);
      }
      .detail-docs {
        margin: 0 0 44px;
        padding: 24px;
        border: 1px solid var(--rule);
        border-left: 4px solid var(--green);
        border-radius: 8px;
        background: var(--white);
      }
      .detail-docs h2 {
        margin: 0 0 8px;
        color: var(--dark-charcoal);
        font-family: "Noto Serif KR", serif;
        font-size: 1.2rem;
      }
      .detail-docs p {
        margin: 0 0 18px;
        color: var(--ink3);
        font-size: 0.9rem;
      }
      .detail-doc-list {
        display: grid;
        gap: 10px;
        margin: 0;
        padding: 0;
        list-style: none;
      }
      .detail-doc-list a,
      .detail-doc-list li {
        display: block;
        padding: 13px 15px;
        border: 1px solid var(--rule);
        border-radius: 8px;
        color: var(--ink);
        text-decoration: none;
        background: var(--navy-xlt);
      }
      .detail-doc-list a:hover {
        border-color: var(--green);
        background: var(--green-lt);
      }
      .detail-doc-list strong {
        display: block;
        color: var(--navy);
        font-size: 0.92rem;
      }
      .detail-doc-list span {
        display: block;
        margin-top: 3px;
        color: var(--ink3);
        font-size: 0.8rem;
      }

      /* ── SECTION ── */
      .doc-section {
        margin-bottom: 52px;
        scroll-margin-top: 28px;
      }
      #s9 {
        margin-top: 72px;
        padding-top: 28px;
        border-top: 1px solid var(--rule);
      }
      .section-num {
        font-size: 0.65rem;
        font-weight: 600;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--navy);
        margin-bottom: 5px;
      }
      h1.s-h1 {
        font-family: "Noto Serif KR", serif;
        font-size: 1.55rem;
        font-weight: 700;
        color: var(--navy);
        padding-bottom: 10px;
        border-bottom: 2px solid var(--navy);
        margin-bottom: 24px;
      }
      h2.s-h2 {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--ink);
        margin: 28px 0 12px;
        padding-left: 10px;
        border-left: 3px solid var(--main-orange);
      }
      h3.s-h3 {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--muted-brown);
        margin: 20px 0 10px;
      }
      p.doc-p {
        font-size: 0.86rem;
        color: var(--ink2);
        line-height: 1.85;
        margin-bottom: 10px;
      }
      .card-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        margin: 10px 0 18px;
      }
      .mini-card {
        min-height: 150px;
        padding: 18px;
        border: 1px solid var(--rule);
        border-left: 4px solid var(--green);
        border-radius: 8px;
        background: var(--white);
      }
      .mc-type {
        display: inline-flex;
        align-items: center;
        min-height: 22px;
        margin-bottom: 10px;
        padding: 3px 8px;
        border-radius: 999px;
        background: var(--brand-gold-100);
        color: var(--muted-brown);
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.04em;
      }
      .mc-name {
        margin-bottom: 8px;
        color: var(--navy);
        font-size: 0.98rem;
        font-weight: 700;
      }
      .mc-desc {
        color: var(--ink2);
        font-size: 0.82rem;
        line-height: 1.75;
        word-break: keep-all;
        overflow-wrap: anywhere;
      }
      .bullet-list {
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin: 10px 0 14px;
        padding-left: 16px;
      }
      .bullet-list li {
        font-size: 0.84rem;
        color: var(--ink2);
        line-height: 1.7;
        list-style: none;
        display: flex;
        gap: 8px;
      }
      .bullet-list li::before {
        content: "—";
        color: var(--ink4);
        flex-shrink: 0;
      }

      .doc-figure {
        margin: 16px 0 24px;
      }

      .doc-figure img {
        display: block;
        width: 100%;
        height: auto;
        border: 1px solid var(--rule);
        border-radius: 8px;
        background: var(--white);
      }

      .doc-figure figcaption {
        margin-top: 8px;
        color: var(--ink3);
        font-size: 0.82rem;
        line-height: 1.5;
      }

      /* ── SIMPLE 2-COL TABLE ── */
      .info-tbl {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.82rem;
        margin: 12px 0 20px;
      }
      .table-wrap {
        width: 100%;
        max-width: 100%;
        overflow-x: visible;
        margin: 12px 0 20px;
        border: 1px solid var(--rule);
        border-radius: 8px;
        background: var(--white);
        box-shadow: 0 8px 22px rgba(34, 34, 34, 0.05);
      }
      .table-wrap.scroll-table {
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-color: rgba(242, 101, 24, 0.42) transparent;
        scrollbar-width: thin;
      }
      .table-wrap.scroll-table::after {
        content: "";
        display: block;
        height: 4px;
      }
      .table-wrap .info-tbl {
        min-width: 100%;
        margin: 0;
      }
      @media (min-width: 1024px) {
        .table-wrap.wide {
          width: 100%;
          max-width: 100%;
        }
        .table-wrap.extra-wide {
          width: 100%;
          max-width: 100%;
        }
        .table-wrap.scroll-table.wide .info-tbl {
          min-width: 1080px;
        }
        .table-wrap.scroll-table.extra-wide .info-tbl {
          min-width: 1360px;
        }
      }
      .table-wrap .role-list-tbl,
      .table-wrap .priority-scope-tbl,
      .table-wrap .pipeline-tbl,
      .table-wrap .api-status-tbl,
      .table-wrap .budget-tbl,
      .table-wrap .phase-staffing-tbl,
      .table-wrap .milestone-summary-tbl,
      .table-wrap .sprint-tbl {
        table-layout: fixed;
      }
      .table-wrap .role-list-tbl {
        min-width: 1040px;
      }
      .role-list-tbl th:first-child,
      .role-list-tbl td:first-child {
        width: 130px;
      }
      .role-list-tbl th:nth-child(2),
      .role-list-tbl td:nth-child(2) {
        width: 130px;
      }
      .role-list-tbl th:nth-child(3),
      .role-list-tbl td:nth-child(3) {
        width: 300px;
      }
      .role-list-tbl th:nth-child(4),
      .role-list-tbl td:nth-child(4) {
        width: 120px;
      }
      .table-wrap .journey-flow-tbl {
        min-width: 760px;
      }
      .journey-flow-tbl th:first-child,
      .journey-flow-tbl td:first-child {
        width: 90px;
      }
      .journey-flow-tbl th:nth-child(2),
      .journey-flow-tbl td:nth-child(2) {
        width: 190px;
      }
      .table-wrap .priority-scope-tbl {
        min-width: 1080px;
      }
      .priority-scope-tbl th:first-child,
      .priority-scope-tbl td:first-child {
        width: 110px;
      }
      .priority-scope-tbl th:nth-child(3),
      .priority-scope-tbl td:nth-child(3) {
        width: 92px;
      }
      .priority-scope-tbl th:nth-child(4),
      .priority-scope-tbl td:nth-child(4) {
        width: 120px;
      }
      .priority-scope-tbl th:nth-child(5),
      .priority-scope-tbl td:nth-child(5) {
        width: 110px;
      }
      .table-wrap .pipeline-tbl {
        min-width: 1040px;
      }
      .pipeline-tbl th:first-child,
      .pipeline-tbl td:first-child {
        width: 150px;
      }
      .pipeline-tbl th:last-child,
      .pipeline-tbl td:last-child {
        width: 170px;
      }
      .table-wrap .api-status-tbl {
        min-width: 900px;
      }
      .api-status-tbl th:first-child,
      .api-status-tbl td:first-child {
        width: 150px;
      }
      .api-status-tbl th:nth-child(3),
      .api-status-tbl td:nth-child(3),
      .api-status-tbl th:nth-child(4),
      .api-status-tbl td:nth-child(4) {
        width: 110px;
      }
      .api-status-tbl th:last-child,
      .api-status-tbl td:last-child {
        width: 170px;
      }
      .table-wrap .cost-standard-tbl,
      .table-wrap .team-role-tbl {
        min-width: 760px;
      }
      .cost-standard-tbl th:first-child,
      .cost-standard-tbl td:first-child,
      .team-role-tbl th:first-child,
      .team-role-tbl td:first-child {
        width: 170px;
      }
      .cost-standard-tbl th:last-child,
      .cost-standard-tbl td:last-child,
      .team-role-tbl th:last-child,
      .team-role-tbl td:last-child {
        width: 150px;
      }
      .table-wrap .budget-tbl {
        min-width: 1140px;
      }
      .budget-tbl th:first-child,
      .budget-tbl td:first-child {
        width: 150px;
      }
      .budget-tbl th:nth-child(2),
      .budget-tbl td:nth-child(2) {
        width: 120px;
      }
      .budget-tbl th:last-child,
      .budget-tbl td:last-child {
        width: 160px;
      }
      .table-wrap .phase-staffing-tbl,
      .table-wrap .milestone-summary-tbl,
      .table-wrap .sprint-tbl {
        min-width: 1120px;
      }
      .phase-staffing-tbl th:first-child,
      .phase-staffing-tbl td:first-child,
      .milestone-summary-tbl th:first-child,
      .milestone-summary-tbl td:first-child,
      .sprint-tbl th:first-child,
      .sprint-tbl td:first-child {
        width: 110px;
      }
      .phase-staffing-tbl th:nth-child(2),
      .phase-staffing-tbl td:nth-child(2) {
        width: 180px;
      }
      .phase-staffing-tbl th:nth-child(3),
      .phase-staffing-tbl td:nth-child(3) {
        width: 220px;
      }
      .phase-staffing-tbl th:nth-child(4),
      .phase-staffing-tbl td:nth-child(4) {
        width: 200px;
      }
      .milestone-summary-tbl th:nth-child(2),
      .milestone-summary-tbl td:nth-child(2) {
        width: 140px;
      }
      .milestone-summary-tbl th:nth-child(3),
      .milestone-summary-tbl td:nth-child(3) {
        width: 150px;
      }
      .sprint-tbl th:nth-child(2),
      .sprint-tbl td:nth-child(2) {
        width: 190px;
      }
      .sprint-tbl th:nth-child(3),
      .sprint-tbl td:nth-child(3) {
        width: 96px;
      }
      .info-tbl th {
        background: var(--navy);
        color: #fff;
        padding: 10px 14px;
        font-weight: 600;
        font-size: 0.78rem;
        text-align: left;
        vertical-align: middle;
        border-right: 1px solid rgba(255, 255, 255, 0.14);
        line-height: 1.45;
      }
      .info-tbl th:last-child {
        border-right: none;
      }
      .info-tbl td {
        padding: 10px 14px;
        border-bottom: 1px solid var(--rule);
        border-right: 1px solid rgba(252, 231, 219, 0.76);
        vertical-align: top;
        line-height: 1.62;
        word-break: keep-all;
        overflow-wrap: anywhere;
      }
      .info-tbl td:last-child {
        border-right: none;
      }
      .info-tbl tr:last-child td {
        border-bottom: none;
      }
      .info-tbl tr:nth-child(even) td {
        background: var(--navy-xlt);
      }
      .info-tbl tbody tr:hover td {
        background: #fff8f1;
      }
      .info-tbl .key-cell {
        background: var(--navy-lt);
        font-weight: 600;
        color: var(--navy);
        white-space: nowrap;
        width: 18%;
        min-width: 120px;
      }
      .compact-tbl th:first-child,
      .compact-tbl td:first-child {
        width: 28%;
        font-weight: 600;
        color: var(--dark-charcoal);
      }
      .compact-tbl td:first-child {
        background: rgba(252, 231, 219, 0.42);
      }
      .info-tbl .key-cell.green-key {
        background: var(--green-lt);
        color: var(--green);
      }
      .info-tbl .key-cell.amber-key {
        background: #fdf3eb;
        color: var(--terra);
      }
      .info-tbl .key-cell.red-key {
        background: #fef2f2;
        color: #991b1b;
      }
      .info-tbl .key-cell.blue-key {
        background: #eff6ff;
        color: #1d4ed8;
      }
      .decision-tbl th:first-child,
      .decision-tbl td:first-child {
        width: 180px;
        white-space: nowrap;
      }
      .api-contract-tbl th:first-child,
      .api-contract-tbl td:first-child {
        width: 96px;
        white-space: nowrap;
      }
      .api-contract-tbl th:nth-child(2),
      .api-contract-tbl td:nth-child(2) {
        width: 260px;
      }
      .api-contract-tbl th:nth-child(3),
      .api-contract-tbl td:nth-child(3) {
        width: 110px;
        white-space: nowrap;
      }
      .agent-pipeline-tbl {
        table-layout: fixed;
      }
      .agent-pipeline-tbl th:first-child,
      .agent-pipeline-tbl td:first-child {
        width: 68px;
        text-align: center;
        white-space: nowrap;
      }
      .agent-pipeline-tbl th:nth-child(2),
      .agent-pipeline-tbl td:nth-child(2) {
        width: 190px;
      }
      .agent-pipeline-tbl th:nth-child(4),
      .agent-pipeline-tbl td:nth-child(4),
      .agent-pipeline-tbl th:nth-child(5),
      .agent-pipeline-tbl td:nth-child(5) {
        width: 210px;
      }
      .change-log-tbl {
        table-layout: fixed;
      }
      .change-log-tbl th:first-child,
      .change-log-tbl td:first-child {
        width: 82px;
        white-space: nowrap;
      }
      .change-log-tbl th:nth-child(2),
      .change-log-tbl td:nth-child(2) {
        width: 116px;
        white-space: nowrap;
      }
      .change-log-tbl th:nth-child(3),
      .change-log-tbl td:nth-child(3) {
        width: 120px;
        white-space: nowrap;
      }
      .info-tbl code {
        font-family: "IBM Plex Mono", monospace;
        font-size: 0.76rem;
        background: var(--paper);
        padding: 1px 5px;
        border-radius: 3px;
        border: 1px solid var(--rule);
        word-break: normal;
        overflow-wrap: anywhere;
        white-space: normal;
      }
      main#cover > blockquote code,
      p.doc-p code {
        white-space: normal;
        overflow-wrap: anywhere;
      }
      .info-tbl code {
        white-space: normal;
        overflow-wrap: anywhere;
      }
      .db-schema-tbl {
        table-layout: fixed;
      }
      .table-wrap .db-schema-tbl {
        min-width: 1040px;
      }
      .db-schema-tbl th:first-child,
      .db-schema-tbl td:first-child {
        width: 190px;
      }
      .db-schema-tbl th:nth-child(2),
      .db-schema-tbl td:nth-child(2) {
        width: 130px;
      }
      .db-schema-tbl th:nth-child(3),
      .db-schema-tbl td:nth-child(3) {
        width: 130px;
      }
      .db-schema-tbl td:first-child,
      .db-schema-tbl td:nth-child(2),
      .db-schema-tbl td:nth-child(3) {
        word-break: normal;
        overflow-wrap: normal;
      }
      .data-field-tbl,
      .data-source-tbl,
      .data-quality-tbl,
      .db-decision-tbl,
      .db-storage-tbl,
      .retention-tbl,
      .phase-scope-tbl {
        table-layout: fixed;
      }
      .table-wrap .data-field-tbl {
        min-width: 1280px;
      }
      .data-field-tbl th:first-child,
      .data-field-tbl td:first-child {
        width: 180px;
      }
      .data-field-tbl th:nth-child(2),
      .data-field-tbl td:nth-child(2),
      .data-field-tbl th:nth-child(3),
      .data-field-tbl td:nth-child(3) {
        width: 390px;
      }
      .data-field-tbl th:last-child,
      .data-field-tbl td:last-child {
        width: 120px;
        text-align: center;
        white-space: nowrap;
      }
      .table-wrap .data-source-tbl {
        min-width: 1080px;
      }
      .data-source-tbl th:first-child,
      .data-source-tbl td:first-child {
        width: 260px;
      }
      .data-source-tbl th:nth-child(2),
      .data-source-tbl td:nth-child(2) {
        width: 330px;
      }
      .table-wrap .data-quality-tbl {
        min-width: 900px;
      }
      .data-quality-tbl th:first-child,
      .data-quality-tbl td:first-child {
        width: 190px;
      }
      .table-wrap .db-decision-tbl,
      .table-wrap .db-storage-tbl {
        min-width: 1040px;
      }
      .db-decision-tbl th:first-child,
      .db-decision-tbl td:first-child,
      .db-storage-tbl th:first-child,
      .db-storage-tbl td:first-child {
        width: 180px;
      }
      .db-decision-tbl th:nth-child(2),
      .db-decision-tbl td:nth-child(2),
      .db-storage-tbl th:nth-child(2),
      .db-storage-tbl td:nth-child(2) {
        width: 250px;
      }
      .table-wrap .retention-tbl {
        min-width: 900px;
      }
      .retention-tbl th:first-child,
      .retention-tbl td:first-child {
        width: 270px;
      }
      .retention-tbl th:nth-child(2),
      .retention-tbl td:nth-child(2) {
        width: 260px;
      }
      .table-wrap .phase-scope-tbl {
        min-width: 860px;
      }
      .phase-scope-tbl th:first-child,
      .phase-scope-tbl td:first-child {
        width: 170px;
      }
      .db-nosql-tbl {
        table-layout: fixed;
        font-size: 0.76rem;
      }
      .table-wrap .db-nosql-tbl {
        min-width: 1520px;
      }
      .db-nosql-tbl th:first-child,
      .db-nosql-tbl td:first-child {
        width: 190px;
      }
      .db-nosql-tbl th:nth-child(2),
      .db-nosql-tbl td:nth-child(2),
      .db-nosql-tbl th:nth-child(3),
      .db-nosql-tbl td:nth-child(3) {
        width: 250px;
      }
      .db-nosql-tbl th:last-child,
      .db-nosql-tbl td:last-child {
        width: 100px;
      }
      .db-summary-tbl {
        table-layout: fixed;
      }
      .table-wrap .db-summary-tbl {
        min-width: 1160px;
      }
      .db-summary-tbl th:first-child,
      .db-summary-tbl td:first-child {
        width: 170px;
      }
      .db-summary-tbl th:nth-child(2),
      .db-summary-tbl td:nth-child(2) {
        width: 560px;
      }
      pre {
        margin: 12px 0 20px;
        padding: 14px 16px;
        overflow-x: auto;
        border: 1px solid var(--rule);
        border-radius: 8px;
        background: var(--dark-charcoal);
        color: var(--soft-beige);
        font-family: "IBM Plex Mono", monospace;
        font-size: 0.78rem;
        line-height: 1.7;
      }
      pre code {
        font-family: inherit;
      }

      /* ── REQUIREMENTS TABLE ── */
      .req-tbl {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.81rem;
        margin: 10px 0 22px;
        table-layout: fixed;
      }
      .table-wrap .req-tbl {
        min-width: 860px;
        margin: 0;
      }
      .req-tbl thead th {
        background: var(--navy);
        color: #fff;
        padding: 10px 12px;
        font-weight: 600;
        font-size: 0.75rem;
        text-align: left;
        position: sticky;
        top: 0;
        vertical-align: middle;
        border-right: 1px solid rgba(255, 255, 255, 0.14);
        line-height: 1.45;
      }
      .req-tbl thead th:last-child {
        border-right: none;
      }
      .req-tbl thead th:first-child {
        width: 118px;
      }
      .req-tbl thead th:nth-child(3) {
        width: 96px;
        text-align: center;
      }
      .req-tbl thead th:last-child {
        width: 160px;
      }
      .table-wrap .feature-req-tbl {
        min-width: 1040px;
      }
      .feature-req-tbl thead th:first-child {
        width: 128px;
      }
      .feature-req-tbl thead th:nth-child(2) {
        width: 150px;
      }
      .feature-req-tbl thead th:nth-child(3) {
        width: auto;
        text-align: left;
      }
      .feature-req-tbl thead th:last-child {
        width: 160px;
      }
      .table-wrap .nfr-tbl {
        min-width: 820px;
      }
      .nfr-tbl thead th:first-child {
        width: 124px;
      }
      .nfr-tbl thead th:nth-child(2) {
        width: auto;
        text-align: left;
      }
      .nfr-tbl thead th:nth-child(3) {
        width: 170px;
        text-align: left;
      }
      .role-permission-tbl {
        font-size: 0.76rem;
      }
      .table-wrap .role-permission-tbl {
        min-width: 1120px;
      }
      .role-permission-tbl thead th:first-child {
        width: 160px;
        text-align: left;
      }
      .role-permission-tbl thead th:nth-child(2),
      .role-permission-tbl thead th:nth-child(3),
      .role-permission-tbl thead th:last-child {
        width: 150px;
        text-align: left;
      }
      .role-permission-tbl td {
        word-break: keep-all;
        overflow-wrap: anywhere;
      }
      .req-tbl tbody td {
        padding: 10px 12px;
        border-bottom: 1px solid var(--rule);
        border-right: 1px solid rgba(252, 231, 219, 0.76);
        vertical-align: top;
        line-height: 1.62;
        word-break: keep-all;
        overflow-wrap: anywhere;
      }
      .req-tbl tbody td:last-child {
        border-right: none;
      }
      .req-tbl tbody tr:nth-child(even) td {
        background: var(--navy-xlt);
      }
      .req-tbl tbody tr:hover td {
        background: #fff8f1;
      }
      .req-tbl tbody tr:hover td {
        background: var(--card-peach);
      }
      .req-id {
        font-family: "IBM Plex Mono", monospace;
        font-size: 0.74rem;
        font-weight: 500;
        color: var(--navy);
        white-space: nowrap;
      }
      .req-note {
        font-size: 0.74rem;
        color: var(--ink4);
      }

      /* ── PRIORITY BADGES ── */
      .pri {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.68rem;
        font-weight: 700;
        padding: 2px 9px;
        border-radius: 20px;
        letter-spacing: 0.05em;
        white-space: nowrap;
      }
      .pri.p0 {
        background: var(--p0-bg);
        color: var(--p0-txt);
        border: 1px solid var(--p0-bdr);
      }
      .pri.p1 {
        background: var(--p1-bg);
        color: var(--p1-txt);
        border: 1px solid var(--p1-bdr);
      }
      .pri.p2 {
        background: var(--p2-bg);
        color: var(--p2-txt);
        border: 1px solid var(--p2-bdr);
      }

      /* ── STATUS BADGES ── */
      .sbadge {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 0.7rem;
        font-weight: 600;
        padding: 2px 9px;
        border-radius: 12px;
      }
      .sb-ok {
        background: #f0fdf4;
        color: #166534;
        border: 1px solid #bbf7d0;
      }
      .sb-part {
        background: #fffbeb;
        color: #92400e;
        border: 1px solid #fde68a;
      }
      .sb-no {
        background: #fef2f2;
        color: #991b1b;
        border: 1px solid #fecaca;
      }
      .sb-link {
        background: #fdf3eb;
        color: var(--terra);
        border: 1px solid #fed7aa;
      }
      .sb-auto {
        background: #eff6ff;
        color: #1d4ed8;
        border: 1px solid #bfdbfe;
      }

      /* ── PRIORITY / PHASE BADGES ── */
      .priority-phase-tbl {
        margin: 16px 0 22px;
      }
      .priority-phase-tbl td:first-child {
        white-space: nowrap;
      }
      .phase-badge,
      .phase-status {
        display: inline-flex;
        align-items: center;
        width: fit-content;
        max-width: 100%;
        margin: 2px 4px 2px 0;
        padding: 2px 8px;
        border-radius: 999px;
        font-size: 0.68rem;
        font-weight: 700;
        line-height: 1.35;
        vertical-align: middle;
      }
      .phase-p1 {
        background: #ecfdf5;
        color: #047857;
        border: 1px solid #a7f3d0;
      }
      .phase-p2 {
        background: #eff6ff;
        color: #1d4ed8;
        border: 1px solid #bfdbfe;
      }
      .phase-p3 {
        background: #f5f3ff;
        color: #6d28d9;
        border: 1px solid #ddd6fe;
      }
      .phase-p4 {
        background: #fff7ed;
        color: #c2410c;
        border: 1px solid #fed7aa;
      }
      .phase-p5 {
        background: #f8fafc;
        color: #475569;
        border: 1px solid #cbd5e1;
      }
      .status-build {
        background: #dcfce7;
        color: #166534;
      }
      .status-design {
        background: #e0f2fe;
        color: #075985;
      }
      .status-define {
        background: #fef9c3;
        color: #854d0e;
      }
      .status-prod {
        background: #ffedd5;
        color: #9a3412;
      }
      .status-out {
        background: #f1f5f9;
        color: #64748b;
      }

      /* ── API SUMMARY GRID ── */
      .api-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 14px;
        margin: 14px 0 24px;
      }
      .api-card {
        border: 1px solid var(--rule);
        border-radius: 10px;
        overflow: hidden;
      }
      .api-card-hd {
        padding: 11px 14px;
        display: flex;
        align-items: center;
        gap: 9px;
      }
      .api-card-ico {
        width: 32px;
        height: 32px;
        border-radius: 7px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        flex-shrink: 0;
      }
      .api-ic-g {
        background: #eff6ff;
      }
      .api-ic-k {
        background: #fffbeb;
      }
      .api-ic-y {
        background: #fef2f2;
      }
      .api-ic-w {
        background: #eff6ff;
      }
      .api-card-name {
        font-size: 0.85rem;
        font-weight: 700;
      }
      .api-card-role {
        font-size: 0.71rem;
        color: var(--ink4);
      }
      .api-card-body {
        padding: 10px 14px;
        border-top: 1px solid var(--rule);
        background: var(--navy-xlt);
      }
      .api-card-body p {
        font-size: 0.75rem;
        color: var(--ink3);
        line-height: 1.65;
        margin-bottom: 4px;
      }
      .api-card-body p:last-child {
        margin-bottom: 0;
      }
      .api-card-body strong {
        color: var(--ink);
      }

      /* ── COMPARISON TABLE ── */
      .cmp-tbl {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.8rem;
        margin: 12px 0 20px;
      }
      .cmp-tbl th {
        background: var(--navy);
        color: #fff;
        padding: 9px 12px;
        font-weight: 600;
        font-size: 0.76rem;
      }
      .cmp-tbl td {
        padding: 9px 12px;
        border-bottom: 1px solid var(--rule);
        vertical-align: middle;
      }
      .cmp-tbl tr:nth-child(even) td {
        background: var(--navy-xlt);
      }
      .cmp-tbl tr:hover td {
        background: var(--card-peach);
      }
      .sym-ok {
        color: #16a34a;
        font-weight: 700;
      }
      .sym-no {
        color: #dc2626;
        font-weight: 700;
      }
      .sym-pt {
        color: #d97706;
        font-weight: 700;
      }

      /* ── VALUE TABLE ── */
      .val-tbl {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.81rem;
        margin: 12px 0 18px;
      }
      .val-tbl th {
        background: var(--green);
        color: #fff;
        padding: 9px 14px;
        font-weight: 600;
        font-size: 0.76rem;
        text-align: left;
      }
      .val-tbl td {
        padding: 9px 14px;
        border-bottom: 1px solid var(--rule);
        line-height: 1.65;
      }
      .val-tbl tr:last-child td {
        border-bottom: none;
      }
      .val-tbl tr:nth-child(even) td {
        background: var(--green-lt);
      }
      .val-key {
        font-weight: 700;
        color: var(--green);
      }

      /* ── PRIORITY LEGEND ── */
      .pri-legend {
        display: flex;
        gap: 10px;
        align-items: center;
        flex-wrap: wrap;
        padding: 10px 14px;
        background: var(--navy-xlt);
        border-radius: 7px;
        margin-bottom: 16px;
        font-size: 0.75rem;
        color: var(--ink3);
      }
      .pri-legend span:first-child {
        font-weight: 600;
        color: var(--ink);
        margin-right: 4px;
      }

      /* ── FLOW TABLE ── */
      .flow-tbl {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.82rem;
        margin: 10px 0 18px;
      }
      .flow-tbl th {
        background: var(--navy);
        color: #fff;
        padding: 9px 13px;
        font-weight: 600;
        font-size: 0.76rem;
      }
      .flow-tbl td {
        padding: 9px 13px;
        border-bottom: 1px solid var(--rule);
        line-height: 1.65;
        vertical-align: top;
      }
      .flow-tbl tr:nth-child(even) td {
        background: var(--navy-xlt);
      }
      .flow-num {
        font-family: "IBM Plex Mono", monospace;
        font-size: 0.78rem;
        font-weight: 600;
        color: var(--navy);
        text-align: center;
      }
      .flow-in {
        background: var(--navy-lt);
        color: var(--navy);
        font-size: 0.78rem;
      }

      /* ── FLOW BRANCH ── */
      .flow-branch-hd {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 22px 0 6px;
      }
      .flow-branch-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 3px 14px;
        border-radius: 20px;
        font-family: "IBM Plex Mono", monospace;
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        white-space: nowrap;
        flex-shrink: 0;
      }
      .branch-a {
        background: var(--navy);
        color: #fff;
      }
      .branch-b {
        background: var(--terra-lt);
        color: var(--navy2);
        border: 1px solid #dac87a;
      }
      .flow-branch-title {
        font-weight: 700;
        font-size: 0.88rem;
        color: var(--navy);
      }
      .flow-branch-desc {
        font-size: 0.81rem;
        color: var(--ink3);
        margin: 0 0 8px;
        line-height: 1.6;
      }
      .flow-tbl th.th-branch-a {
        background: var(--navy);
      }
      .flow-tbl th.th-branch-b {
        background: var(--terra);
      }
      .flow-tbl td em {
        font-size: 0.79rem;
        color: var(--ink3);
        font-style: italic;
      }

      /* ── CONSTRAINT / NOTE BOX ── */
      .note-box {
        background: var(--navy-lt);
        border-left: 3px solid var(--navy);
        border-radius: 0 7px 7px 0;
        padding: 12px 16px;
        margin: 12px 0 16px;
        font-size: 0.82rem;
        color: var(--ink2);
        line-height: 1.75;
      }
      .warn-box {
        background: var(--terra-lt);
        border-left: 3px solid var(--terra);
        border-radius: 0 7px 7px 0;
        padding: 12px 16px;
        margin: 12px 0 16px;
        font-size: 0.82rem;
        color: var(--ink2);
        line-height: 1.75;
      }
      .note-box strong,
      .warn-box strong {
        font-weight: 700;
        color: var(--navy);
      }
      .note-box p,
      .warn-box p {
        margin: 0 0 6px;
      }
      .note-box p:last-child,
      .warn-box p:last-child {
        margin-bottom: 0;
      }
      .warn-box strong {
        color: var(--terra);
      }

      /* ── CHANGE LOG TABLE ── */
      .log-tbl {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.82rem;
        margin: 12px 0;
        table-layout: fixed;
      }
      .table-wrap .log-tbl {
        min-width: 860px;
      }
      .log-tbl th:first-child,
      .log-tbl td:first-child,
      .log-tbl .key-cell {
        width: 72px;
        min-width: 72px;
        white-space: nowrap;
      }
      .log-tbl th:nth-child(2),
      .log-tbl td:nth-child(2) {
        width: 116px;
        white-space: nowrap;
      }
      .log-tbl th:nth-child(3),
      .log-tbl td:nth-child(3) {
        width: 112px;
        white-space: nowrap;
      }
      .log-tbl th {
        background: var(--navy);
        color: #fff;
        padding: 9px 14px;
        font-weight: 600;
        font-size: 0.76rem;
      }
      .log-tbl td {
        padding: 10px 14px;
        border-bottom: 1px solid var(--rule);
        vertical-align: top;
        word-break: keep-all;
        overflow-wrap: anywhere;
      }

      /* ── DOCUMENT NAVIGATION ── */
      .doc-nav {
        margin-top: 48px;
        padding-top: 18px;
        border-top: 1px solid var(--rule);
      }
      .doc-nav-home {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
        padding: 7px 12px;
        border: 1px solid var(--rule);
        border-radius: 7px;
        background: var(--white);
        color: var(--ink2);
        font-size: 0.82rem;
        font-weight: 700;
      }
      .doc-nav-pager {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 14px;
      }
      .doc-nav-link {
        display: block;
        min-height: 72px;
        padding: 13px 16px;
        border: 1px solid var(--rule);
        border-radius: 7px;
        background: var(--white);
        color: var(--ink3);
        font-size: 0.78rem;
        line-height: 1.45;
        word-break: keep-all;
        overflow-wrap: anywhere;
      }
      .doc-nav-link strong {
        display: block;
        margin-top: 4px;
        color: var(--ink);
        font-size: 0.92rem;
      }
      .doc-nav-link.disabled {
        opacity: 0.52;
      }

      /* ── RESPONSIVE ── */
      @media (max-width: 840px) {
        html,
        body,
        .layout {
          width: 100%;
          max-width: 100%;
          overflow-x: hidden;
        }
        aside {
          display: none;
        }
        main {
          flex: 0 0 100%;
          min-width: 0;
          padding: 20px 16px 60px;
          width: 100%;
          max-width: 100%;
          overflow-x: hidden;
        }
        .cover-title {
          font-size: 1.45rem;
          line-height: 1.28;
          word-break: keep-all;
          overflow-wrap: anywhere;
        }
        main#cover > h1#cover-title {
          font-size: 1.45rem;
          line-height: 1.28;
          word-break: keep-all;
          overflow-wrap: anywhere;
        }
        p.doc-p {
          word-break: break-all;
          overflow-wrap: anywhere;
        }
        .cover-meta,
        main#cover > blockquote {
          grid-template-columns: 1fr;
          min-width: 0;
        }
        .meta-item,
        main#cover > blockquote p {
          border-right: 0;
          border-top: 1px solid var(--rule);
          min-width: 0;
          word-break: keep-all;
          overflow-wrap: anywhere;
        }
        main#cover > blockquote code {
          word-break: break-all;
        }
        .meta-item:first-child,
        main#cover > blockquote p:first-child {
          border-top: 0;
        }
        .card-grid {
          grid-template-columns: 1fr;
        }
        .table-wrap.wide,
        .table-wrap.extra-wide {
          width: 100%;
          max-width: 100%;
        }
        .table-wrap.scroll-table.wide .info-tbl {
          min-width: 900px;
        }
        .table-wrap.scroll-table.extra-wide .info-tbl {
          min-width: 1120px;
        }
        .doc-nav-pager {
          grid-template-columns: 1fr;
        }
      }

      /* ── PRINT ── */
      @media print {
        aside {
          display: none;
        }
        main {
          padding: 0;
        }
        body {
          background: #fff;
        }
        .doc-cover {
          padding: 24px 0 20px;
        }
        .doc-section {
          break-inside: avoid;
        }
        #s9 {
          break-before: page;
          margin-top: 0;
          padding-top: 0;
          border-top: none;
        }
        .req-tbl thead th {
          background: #F26518 !important;
          -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
        }
      }
