/* ============================================================
   PD-14b Comment Analysis — Enhanced Stylesheet
   Replaces the original Excel-exported stylesheet.css
   Visual style matches BA & PMO Prompt Library
   ============================================================ */

/* ── Base resets ─────────────────────────────────────────── */
tr   { mso-height-source: auto; }
col  { mso-width-source: auto; }
br   { mso-data-placement: same-cell; }

/* ── Page / table defaults ───────────────────────────────── */
body {
    background-color: #f5f5f3;
    font-family: "Segoe UI", "Aptos Narrow", Arial, sans-serif;
    font-size: 11pt;
    color: #2a2825;
    margin: 12px;
}

table {
    mso-displayed-decimal-separator: "\.";
    mso-displayed-thousand-separator: "\,";
    border-collapse: collapse;
}

/* ── Normal cell (style0) ────────────────────────────────── */
.style0 {
    mso-number-format: General;
    text-align: general;
    vertical-align: bottom;
    white-space: nowrap;
    mso-rotate: 0;
    mso-background-source: auto;
    mso-pattern: auto;
    color: #2a2825;
    font-size: 11.0pt;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    font-family: "Segoe UI", "Aptos Narrow", sans-serif;
    mso-font-charset: 0;
    border: none;
    mso-protection: locked visible;
    mso-style-name: Normal;
    mso-style-id: 0;
}

/* ── ALL cells — gridlines ───────────────────────────────── */
td {
    mso-style-parent: style0;
    padding-top: 4px;
    padding-right: 6px;
    padding-bottom: 4px;
    padding-left: 6px;
    mso-ignore: padding;
    color: #2a2825;
    font-size: 11.0pt;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    font-family: "Segoe UI", "Aptos Narrow", sans-serif;
    mso-font-charset: 0;
    mso-number-format: General;
    text-align: general;
    vertical-align: middle;
    border: 1px solid #d6d3ce;
    mso-background-source: auto;
    mso-pattern: auto;
    mso-protection: locked visible;
    white-space: nowrap;
    overflow: hidden;
    mso-rotate: 0;
}

/* ── Alternating row shading ─────────────────────────────── */
tr:nth-child(even) td {
    background-color: #DCE8F5;
    white-space: nowrap;
    overflow: hidden;
}

tr:nth-child(odd) td {
    background-color: #F5F5F5;
    white-space: nowrap;
    overflow: hidden;
}

/* Row hover highlight */
tr:hover td {
    background-color: #c4d8ef !important;
    transition: background-color 0.15s ease;
}

/* ── xl65 — Bold bordered cell ───────────────────────────── */
.xl65 {
    mso-style-parent: style0;
    font-weight: 700;
    border: 1px solid #d6d3ce;
    color: #2a2825;
}

/* ── xl66 — Dark header, white text ──────────────────────── */
.xl66 {
    mso-style-parent: style0;
    color: #ffffff;
    background-color: #243A5E !important;
    border-color: #243A5E;
}

/* ── xl67 — Dark header, white bold ──────────────────────── */
.xl67 {
    mso-style-parent: style0;
    color: #ffffff;
    font-weight: 700;
    background-color: #243A5E !important;
    border-color: #243A5E;
    letter-spacing: 0.3px;
}

/* ── xl68 — Dark column header, white bold, uppercase ─────── */
.xl68 {
    mso-style-parent: style0;
    color: #ffffff;
    font-weight: 700;
    background-color: #243A5E !important;
    border-color: #243A5E;
    text-transform: uppercase;
    font-size: 9.5pt;
    letter-spacing: 0.3px;
}

/* ── xl69 — Green bold bordered (positive/pass) ──────────── */
.xl69 {
    mso-style-parent: style0;
    color: #1a6b1a;
    font-weight: 700;
    border: 1px solid #d6d3ce;
}

/* ── xl70 — Red bold bordered (negative/fail) ────────────── */
.xl70 {
    mso-style-parent: style0;
    color: #cc0000;
    font-weight: 700;
    border: 1px solid #d6d3ce;
}

/* ── xl71 — Black bold bordered ─────────────────────────── */
.xl71 {
    mso-style-parent: style0;
    color: #2a2825;
    font-weight: 700;
    border: 1px solid #d6d3ce;
}

/* ── xl72 — Blue bold percent bordered ──────────────────── */
.xl72 {
    mso-style-parent: style0;
    color: #0050a0;
    font-weight: 700;
    mso-number-format: Percent;
    border: 1px solid #d6d3ce;
}

/* ── xl73 — Black bold date bordered ────────────────────── */
.xl73 {
    mso-style-parent: style0;
    color: #2a2825;
    font-weight: 700;
    mso-number-format: "[$-409]m\/d\/yy\ h\:mm\ AM\/PM\;@";
    border: 1px solid #d6d3ce;
}

/* ── xl74 — Green bold bordered ─────────────────────────── */
.xl74 {
    mso-style-parent: style0;
    color: #007a3d;
    font-weight: 700;
    border: 1px solid #d6d3ce;
}

/* ── xl75 — Blue bold bordered ──────────────────────────── */
.xl75 {
    mso-style-parent: style0;
    color: #0050a0;
    font-weight: 700;
    border: 1px solid #d6d3ce;
}

/* ── xl76 — Blue bold 0% bordered ───────────────────────── */
.xl76 {
    mso-style-parent: style0;
    color: #0050a0;
    font-weight: 700;
    mso-number-format: 0%;
    border: 1px solid #d6d3ce;
}

/* ── xl77 — Date cell no border ─────────────────────────── */
.xl77 {
    mso-style-parent: style0;
    mso-number-format: "[$-409]m\/d\/yy\ h\:mm\ AM\/PM\;@";
    color: #555;
    font-style: italic;
}

/* ── xl78 — Dark header, white bold, left-aligned ────────── */
.xl78 {
    mso-style-parent: style0;
    color: #ffffff;
    font-weight: 700;
    text-align: left;
    background-color: #243A5E !important;
    border-color: #243A5E;
}

/* ── xl79 — Left-aligned plain ──────────────────────────── */
.xl79 {
    mso-style-parent: style0;
    text-align: left;
}

/* ── xl80 — General date left-aligned ───────────────────── */
.xl80 {
    mso-style-parent: style0;
    mso-number-format: "General Date";
    text-align: left;
    color: #555;
    font-style: italic;
}

/* ── xl81 — Normal wrapped ───────────────────────────────── */
.xl81 {
    mso-style-parent: style0;
    white-space: normal;
    line-height: 1.4;
    overflow: visible;
}

/* ── xl82 — Blue bold plain ──────────────────────────────── */
.xl82 {
    mso-style-parent: style0;
    color: #0050a0;
    font-weight: 700;
}

/* ── xl83 — Bold left-aligned ────────────────────────────── */
.xl83 {
    mso-style-parent: style0;
    font-weight: 700;
    text-align: left;
    color: #243A5E;
}

/* ── xl84 — Green bold plain ─────────────────────────────── */
.xl84 {
    mso-style-parent: style0;
    color: #007a3d;
    font-weight: 700;
}

/* ── xl85 — Green bold percent left ─────────────────────── */
.xl85 {
    mso-style-parent: style0;
    color: #007a3d;
    font-weight: 700;
    mso-number-format: Percent;
    text-align: left;
}

/* ── xl86 — Percent left ─────────────────────────────────── */
.xl86 {
    mso-style-parent: style0;
    mso-number-format: Percent;
    text-align: left;
}

/* ── xl87 — Red bold plain ───────────────────────────────── */
.xl87 {
    mso-style-parent: style0;
    color: #cc0000;
    font-weight: 700;
}

/* ── xl88 — Red bold percent left ───────────────────────── */
.xl88 {
    mso-style-parent: style0;
    color: #cc0000;
    font-weight: 700;
    mso-number-format: Percent;
    text-align: left;
}

/* ── xl89 — Dark header white bold left (variant) ────────── */
.xl89 {
    mso-style-parent: style0;
    color: #ffffff;
    font-weight: 700;
    text-align: left;
    background-color: #243A5E !important;
    border-color: #243A5E;
}

/* ── xl90 — General date plain ──────────────────────────── */
.xl90 {
    mso-style-parent: style0;
    mso-number-format: "General Date";
    color: #555;
    font-style: italic;
}

/* ── xl91 — Blue bold left ───────────────────────────────── */
.xl91 {
    mso-style-parent: style0;
    color: #0050a0;
    font-weight: 700;
    text-align: left;
}

/* ── xl92 — Bold plain ───────────────────────────────────── */
.xl92 {
    mso-style-parent: style0;
    font-weight: 700;
    color: #2a2825;
}

/* ── xl93 — Short date left ─────────────────────────────── */
.xl93 {
    mso-style-parent: style0;
    mso-number-format: "Short Date";
    text-align: left;
    color: #555;
    font-style: italic;
}

/* ── xl94 — Italic ───────────────────────────────────────── */
.xl94 {
    mso-style-parent: style0;
    font-style: italic;
    color: #555;
}

/* ── xl95 — Yellow highlight ─────────────────────────────── */
.xl95 {
    mso-style-parent: style0;
    background-color: #fff9c4 !important;
}

/* ── xl96 — Yellow highlight general date ────────────────── */
.xl96 {
    mso-style-parent: style0;
    mso-number-format: "General Date";
    background-color: #fff9c4 !important;
    color: #555;
    font-style: italic;
}

/* ── xl97 — Red bold percent bordered ───────────────────── */
.xl97 {
    mso-style-parent: style0;
    color: #cc0000;
    font-weight: 700;
    mso-number-format: Percent;
    border: 1px solid #d6d3ce;
}

/* ── xl98 — Green bold percent bordered ─────────────────── */
.xl98 {
    mso-style-parent: style0;
    color: #007a3d;
    font-weight: 700;
    mso-number-format: Percent;
    border: 1px solid #d6d3ce;
}

/* ── xl99 — Blue bold yellow highlight bordered ─────────── */
.xl99 {
    mso-style-parent: style0;
    color: #0050a0;
    font-weight: 700;
    border: 1px solid #d6d3ce;
    background-color: #fff9c4 !important;
}

/* ── xl100 — Black bold bordered ────────────────────────── */
.xl100 {
    mso-style-parent: style0;
    color: #2a2825;
    font-weight: 700;
    border: 1px solid #d6d3ce;
}

/* ── xl101 — Yellow highlight bordered ──────────────────── */
.xl101 {
    mso-style-parent: style0;
    border: 1px solid #d6d3ce;
    background-color: #fff9c4 !important;
}

/* ── xl102 — Yellow highlight bordered wrapped ───────────── */
.xl102 {
    mso-style-parent: style0;
    border: 1px solid #d6d3ce;
    background-color: #fff9c4 !important;
    white-space: normal;
    overflow: visible;
    line-height: 1.4;
}

/* ── xl103 — Large centered bold title ──────────────────── */
.xl103 {
    mso-style-parent: style0;
    font-size: 16.0pt;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    background-color: #243A5E !important;
    border-color: #243A5E;
    letter-spacing: 0.5px;
}

/* ── Link colors ─────────────────────────────────────────── */
a:link    { color: #243A5E; text-decoration: none; }
a:visited { color: #3a5a82; text-decoration: none; }
a:hover   { color: #1a2d4a; text-decoration: underline; }
