/* Balanced · Practical Public-Service Handbook · serif headline-led hero with verdict strip · 5-Step Safe Vibe Coding SVG -> 4 Red-Line Guardrails -> 5-Step Workflow + Ready Prompt -> 6 Immediate Public-Service Micro-Apps Table -> Tool Selection Table -> Pitfalls & Sources · Lora + Plus Jakarta Sans + IBM Plex Mono · Crisp White (#FFFFFF) + Deep Forest (#15803D / #14532D) + Deep Rust (#9A3412) + Sage Mist Band (#EFF5F1) · 0px radius · 1 emphasis numeral (15p) · signature element: 5-Step Offline-Safe Vibe Coding SVG flow */

    :root {
      --paper: #FFFFFF;
      --band: #EFF5F1;
      --ink: #111827;
      --ink2: #27303F;
      --mute: #4B5563;
      --hair: #D1D5DB;
      --accent: #15803D;
      --accent-text: #14532D;
      --accent-2: #B45309;
      --accent-2-text: #9A3412;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    body {
      background: var(--paper);
      color: var(--ink);
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 16.5px;
      line-height: 1.7;
      padding: 36px clamp(24px, 10.4vw, 112px) 92px;
    }

    .top-nav {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px 24px;
      padding-bottom: 16px;
      margin-bottom: 40px;
      border-bottom: 1px solid var(--hair);
      font-family: 'IBM Plex Mono', monospace;
      font-size: 13px;
    }

    .top-nav a {
      text-decoration: none;
      color: var(--mute);
      padding-bottom: 4px;
      border-bottom: 2px solid transparent;
    }

    .top-nav a:hover {
      color: var(--accent-text);
      border-bottom-color: var(--hair);
    }

    .top-nav a.active {
      color: var(--accent-text);
      font-weight: 600;
      border-bottom-color: var(--accent);
    }

    .prompt-header {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 8px;
    }

    .copy-btn {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 12.5px;
      font-weight: 600;
      color: var(--accent-text);
      background: #FFFFFF;
      border: 1px solid var(--accent);
      padding: 5px 12px;
      cursor: pointer;
    }

    .copy-btn:hover {
      background: var(--accent);
      color: #FFFFFF;
    }

    .site-footer {
      margin-top: 72px;
      padding-top: 22px;
      border-top: 1px solid var(--hair);
      font-size: 13.5px;
      line-height: 1.6;
      color: var(--mute);
    }

    .site-footer strong {
      color: var(--ink);
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(12, minmax(0, 1fr));
      column-gap: 24px;
    }

    .col-full { grid-column: 1 / -1; }
    .col-10 { grid-column: 1 / span 10; }
    .col-8 { grid-column: 1 / span 8; }
    .col-4 { grid-column: 1 / span 4; }
    .col-right-8 { grid-column: 5 / -1; }

    .measure {
      max-width: 66ch;
    }

    h1 {
      font-family: 'Lora', Georgia, serif;
      font-size: clamp(38px, 4.8vw, 60px);
      font-weight: 700;
      line-height: 1.14;
      letter-spacing: -0.02em;
      color: var(--ink);
      text-wrap: balance;
      margin-bottom: 20px;
    }

    .deck {
      font-size: 19px;
      line-height: 1.58;
      color: var(--ink2);
      max-width: 64ch;
      margin-bottom: 26px;
    }

    .verdict-strip {
      border-top: 2px solid var(--accent);
      border-bottom: 1px solid var(--hair);
      padding: 22px 0;
      margin: 20px 0 40px;
      display: grid;
      grid-template-columns: repeat(12, minmax(0, 1fr));
      column-gap: 24px;
      align-items: baseline;
    }

    .verdict-lead {
      grid-column: 1 / span 8;
      font-size: 17px;
      color: var(--ink);
      line-height: 1.62;
    }

    .verdict-lead strong {
      color: var(--accent-text);
    }

    .emphasis-block {
      grid-column: 9 / -1;
      text-align: right;
    }

    .emphasis-num {
      font-family: 'Lora', Georgia, serif;
      font-size: clamp(48px, 5vw, 66px);
      font-weight: 700;
      line-height: 1;
      letter-spacing: -0.025em;
      color: var(--accent-text);
      display: block;
    }

    .emphasis-cap {
      font-size: 13px;
      line-height: 1.45;
      color: var(--mute);
      margin-top: 6px;
      display: block;
    }

    h2 {
      font-family: 'Lora', Georgia, serif;
      font-size: clamp(26px, 2.8vw, 34px);
      font-weight: 700;
      line-height: 1.24;
      letter-spacing: -0.015em;
      color: var(--ink);
      text-wrap: balance;
      margin-bottom: 18px;
    }

    h3 {
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 18px;
      font-weight: 700;
      line-height: 1.35;
      color: var(--ink);
      margin-bottom: 8px;
    }

    p {
      margin-bottom: 16px;
      color: var(--ink2);
    }

    p:last-child {
      margin-bottom: 0;
    }

    a {
      color: var(--accent-text);
      text-decoration: underline;
      text-decoration-color: var(--hair);
      text-underline-offset: 3px;
      font-weight: 500;
    }

    a:hover {
      color: var(--accent-2-text);
      text-decoration-color: var(--accent-2-text);
    }

    code {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 13.5px;
      color: var(--accent-text);
    }

    .sec {
      margin-top: 84px;
      padding-top: 30px;
      border-top: 1px solid var(--hair);
    }

    .full-band {
      margin: 84px calc(-1 * clamp(24px, 10.4vw, 112px)) 0;
      padding: 60px clamp(24px, 10.4vw, 112px);
      background: var(--band);
      border-top: 1px solid var(--hair);
      border-bottom: 1px solid var(--hair);
    }

    figure {
      margin: 28px 0;
    }

    figure .fig-title {
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 17px;
      font-weight: 700;
      color: var(--ink);
      line-height: 1.35;
      margin-bottom: 12px;
    }

    figcaption {
      font-size: 13px;
      line-height: 1.5;
      color: var(--mute);
      margin-top: 10px;
    }

    /* Open Multi-Column Strips (0 cards) */
    .strip-2 {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: 36px;
      row-gap: 28px;
      margin-top: 24px;
    }

    .strip-4 {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: 32px;
      row-gap: 28px;
      margin-top: 24px;
    }

    .strip-item {
      border-top: 2px solid var(--accent);
      padding-top: 14px;
    }

    .strip-item.rust-top {
      border-top-color: var(--accent-2);
    }

    /* Step Flow */
    ol.step-flow {
      list-style: none;
      counter-reset: s;
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      column-gap: 20px;
      row-gap: 24px;
      margin-top: 24px;
    }

    ol.step-flow li {
      counter-increment: s;
      border-top: 2px solid var(--ink);
      padding-top: 12px;
    }

    ol.step-flow li::before {
      content: "Bước " counter(s);
      font-family: 'IBM Plex Mono', monospace;
      font-size: 12px;
      font-weight: 600;
      color: var(--accent-text);
      display: block;
      margin-bottom: 6px;
    }

    ol.step-flow li h3 {
      font-size: 15.5px;
      margin-bottom: 6px;
    }

    ol.step-flow li p {
      font-size: 14px;
      line-height: 1.55;
    }

    /* Prompt Specimen (hairline left rule, no box/card) */
    .prompt-specimen {
      margin: 22px 0;
      padding: 6px 0 6px 22px;
      border-left: 3px solid var(--accent);
      font-family: 'IBM Plex Mono', monospace;
      font-size: 13.5px;
      line-height: 1.68;
      color: var(--ink);
      white-space: pre-wrap;
    }

    /* Open Tables (max 3) */
    .table-wrap {
      width: 100%;
      overflow-x: auto;
      margin: 22px 0 8px;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
      font-size: 15px;
      line-height: 1.54;
    }

    thead th {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 12px;
      font-weight: 600;
      color: var(--ink);
      border-top: 2px solid var(--ink);
      border-bottom: 1px solid var(--ink);
      padding: 12px 14px 12px 0;
      vertical-align: bottom;
    }

    tbody td {
      padding: 14px 14px 14px 0;
      border-bottom: 1px solid var(--hair);
      color: var(--ink2);
      vertical-align: top;
    }

    tbody tr:last-child td {
      border-bottom: 1px solid var(--ink);
    }

    .mono-val {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 13px;
      white-space: nowrap;
      font-weight: 600;
      color: var(--accent-text);
    }

    .rust-text {
      color: var(--accent-2-text);
      font-weight: 600;
    }

    ul.clean-list, ol.clean-list {
      margin: 12px 0 18px;
      padding-left: 20px;
      color: var(--ink2);
    }

    ul.clean-list li, ol.clean-list li {
      margin-bottom: 10px;
      padding-left: 4px;
    }

    ul.clean-list li strong, ol.clean-list li strong {
      color: var(--ink);
    }

    blockquote.pull-quote {
      margin: 40px 0 0;
      padding: 18px 0 18px 24px;
      border-left: 3px solid var(--accent-2);
      font-family: 'Lora', Georgia, serif;
      font-style: italic;
      font-size: clamp(20px, 2.2vw, 25px);
      line-height: 1.48;
      color: var(--ink);
      max-width: 48ch;
    }

    blockquote.pull-quote cite {
      display: block;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-style: normal;
      font-size: 13px;
      font-weight: 500;
      color: var(--mute);
      margin-top: 10px;
    }

    ol.sources-list {
      margin-top: 14px;
      padding-left: 22px;
      font-size: 14.5px;
      line-height: 1.6;
      color: var(--ink2);
    }

    ol.sources-list li {
      margin-bottom: 8px;
    }

    @media (max-width: 1050px) {
      ol.step-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 900px) {
      .col-10, .col-8, .col-4, .col-right-8,
      .verdict-lead, .emphasis-block {
        grid-column: 1 / -1;
      }
      .emphasis-block {
        text-align: left;
        margin-top: 16px;
      }
      .strip-2, .strip-4, ol.step-flow {
        grid-template-columns: 1fr;
      }
    }
