/* ---------- Màn phương pháp ---------- */
.k-cluster{text-align:left;background:transparent;border:0;border-top:3px solid #171717;border-bottom:1px solid #DFE2E6;border-radius:0;padding:20px 4px 18px;display:grid;grid-template-columns:auto 1fr;gap:4px 20px;cursor:pointer;font:inherit;color:inherit}
.k-cluster:hover .k-unit-link{text-decoration:underline}
.k-cluster:hover .k-unit-num{color:#343B46}
.method-link-row{padding:8px 2px 12px;border-bottom:1px solid #DFE2E6;margin-bottom:12px}
.method-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.m-chip{border:1px solid #DFE2E6;background:#fff;border-radius:999px;padding:7px 14px;font-size:13px;font-weight:700;color:#171717}
.m-chip:hover{border-color:#343B46}
.m-chip.active{background:#343B46;border-color:#343B46;color:#fff}

/* Bài nhỏ 6 phần: thanh bên liệt kê 6 phần + nội dung 1 phần 1 màn hình */
.ml-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:36px;width:min(1240px,100%);margin:0 auto;padding:20px 0 0}
.ml-side{position:sticky;top:8px;align-self:start}
.ml-back{margin-bottom:18px}
.ml-eyebrow{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#5F6872;margin:0 0 6px}
.ml-side>.ml-num{font-size:13px;font-weight:900;color:#5F6872;margin:0 0 4px}
.ml-side h1{font-size:26px;line-height:1.2;margin:0 0 10px;letter-spacing:-.01em}
.ml-oneliner{font-size:14px;line-height:1.6;color:#5F6872;margin:0 0 20px}
.ml-stages{display:flex;flex-direction:column}
.ml-stage-btn{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:none;border:0;border-left:3px solid transparent;padding:9px 10px;font-size:14px;font-weight:600;color:#171717}
.ml-stage-btn:hover{background:#F3F4F5}
.ml-stage-btn.current{font-weight:900;border-left-color:#171717;background:#F3F4F5}
.ml-stage-btn .ml-num{flex:0 0 auto;width:22px;height:22px;border-radius:50%;border:1px solid #DFE2E6;background:#fff;display:grid;place-items:center;font-size:12px;font-weight:900;color:#171717}
.ml-stage-btn.current .ml-num{background:#343B46;border-color:#343B46;color:#fff}
.ml-stage-btn .ml-name{flex:1}
.ml-seen{color:#27624F;font-weight:900;font-size:13px}
.ml-main{min-width:0;padding-bottom:28px}
.ml-layout.has-cardbar .ml-main{padding-bottom:96px}
.ml-stage-head{display:flex;align-items:flex-start;gap:14px;border-bottom:3px solid #171717;padding-bottom:14px;margin-bottom:20px}
.ml-big{font-size:52px;line-height:.9;font-weight:900;letter-spacing:-.03em}
.ml-stage-head h2{flex:1;font-size:30px;line-height:1.15;margin:0;letter-spacing:-.01em;padding-top:6px}
.ml-viewall{flex:0 0 auto;border:1px solid #DFE2E6;background:#fff;border-radius:999px;padding:8px 16px;font-size:13px;font-weight:800;margin-top:10px}
.ml-viewall:hover{border-color:#343B46}
.ml-body{min-width:0}
.ml-card-title{font-size:17px;margin:0 0 14px}
.card-sep{border:0;border-top:1px dashed #C6CBD1;margin:28px 0}
.ml-block{margin-bottom:20px}
.ml-block:last-child{margin-bottom:0}
.ml-lead{font-size:17px;line-height:1.7;margin:0}
#goal-content.veiled{filter:blur(6px);pointer-events:none;user-select:none}

/* Pager cuối phần: hai nút hai dòng ghi tên phần */
.ml-pager{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #DFE2E6;padding-top:20px;margin-top:28px}
.ml-pager-btn{flex:1;max-width:340px;text-align:left;background:#fff;border:1px solid #DFE2E6;border-radius:12px;padding:12px 16px;font-size:14px;color:#171717}
.ml-pager-btn:hover{border-color:#343B46}
.ml-pager-btn.primary{background:#343B46;border-color:#343B46;color:#fff}
.ml-pager-btn.primary:hover{background:#171717}
.ml-pager-btn .ml-pager-label{display:block;font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;opacity:.75;margin-bottom:2px}
.ml-pager-btn .ml-pager-name{display:block;font-weight:800;font-size:15px;line-height:1.35}

/* Thanh thẻ viên thuốc dính đáy cho phần dài */
.ml-cardbar{position:fixed;left:50%;transform:translateX(-50%);bottom:16px;z-index:130;display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #DFE2E6;border-radius:999px;box-shadow:0 6px 24px rgba(23,23,23,.14);padding:8px 10px 8px 16px}
.ml-cardbar-btn{border:0;background:none;font-size:13.5px;font-weight:800;color:#171717;padding:8px 10px;border-radius:999px}
.ml-cardbar-btn:hover{background:#F3F4F5}
.ml-cardbar-btn:disabled{opacity:.4;cursor:default}
.ml-cardbar-btn.primary{background:#343B46;color:#fff;padding:8px 16px}
.ml-cardbar-btn.primary:hover{background:#171717}
.ml-cardbar-label{font-size:13px;font-weight:800;white-space:nowrap}
.ml-dots{display:flex;gap:7px}
.ml-dot{width:9px;height:9px;border-radius:50%;border:0;background:#DFE2E6;padding:0}
.ml-dot.current{background:#343B46}

/* Bảng: tiêu đề đen + tự kiểm che cột */
.m-table{width:100%;border-collapse:collapse;font-size:14px}
.m-table th,.m-table td{border:1px solid #DFE2E6;padding:9px 12px;text-align:left;vertical-align:top;line-height:1.5}
.m-table th{background:#171717;color:#fff;font-size:12.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;border-color:#171717}
.m-table th.col-hidden,.m-table td.col-hidden{display:none}
.m-ref{margin-bottom:16px}
.m-ref:last-child{margin-bottom:0}
.m-ref h4{margin:0 0 8px;font-size:14px}
.core-table td{font-size:16px;font-weight:600;line-height:1.6}
.colhide-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px;font-size:13px;font-weight:700;color:#5F6872}
.col-chip{border:1px solid #DFE2E6;background:#fff;border-radius:999px;padding:5px 12px;font-size:12.5px;font-weight:700;color:#171717}
.col-chip:hover{border-color:#343B46}
.col-chip.off{background:#F3F4F5;color:#9BA1A8;text-decoration:line-through}

/* Bảng bị che mờ: chỉ hiện khi bấm nút hoặc xếp xong */
.m-veil{position:relative}
.m-veil.veiled table{filter:blur(5px);pointer-events:none;user-select:none}
.m-veil-overlay{position:absolute;inset:0;display:grid;place-items:center;background:rgba(255,255,255,.45)}

/* Thẻ KENT nói ở phần tổng kết */
.kent-say{background:#171717;color:#fff;border-radius:16px;padding:20px 22px}
.kent-say h4{margin:0 0 10px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#C6CBD1}
.kent-say ol{margin:0;padding-left:22px;font-size:15.5px;line-height:1.75;font-weight:600}
.kent-say li{margin-bottom:2px}
.kent-say li:last-child{margin-bottom:0}

/* Tự kiểm 30 giây ở phần mục tiêu */
.selfcheck{border:1px solid #DFE2E6;border-radius:12px;padding:14px 16px}
.selfcheck-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.selfcheck-hint{font-size:13px;color:#5F6872}
.selfcheck-write{margin-top:12px}
.selfcheck-write textarea{width:100%;border:1px solid #DFE2E6;border-radius:8px;padding:9px 10px;font-size:14px;line-height:1.5;resize:vertical;min-height:70px;background:#fff;color:#171717}
.selfcheck-list{margin-top:12px}
.selfcheck-items{margin:0;padding-left:2px;list-style:none}
.selfcheck-items li{margin-bottom:8px;font-size:14px;line-height:1.55}
.selfcheck-items label{display:flex;gap:9px;align-items:flex-start;cursor:pointer}
.selfcheck-items input{width:18px;height:18px;accent-color:#343B46;flex:0 0 auto;margin-top:2px}

.m-example .m-task{font-size:14.5px;color:#5F6872;margin:0 0 12px}
.m-example .pq{margin-bottom:12px}
.m-example .letter-row{margin-bottom:4px}
.reveal-box{margin-top:14px;border:1px solid #DFE2E6;border-radius:12px;background:#F3F4F5;padding:14px 16px}
.reveal-box h4{margin:0 0 10px;font-size:13px;text-transform:uppercase;letter-spacing:.08em}
.reveal-line{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.55;margin:0 0 10px}
.reveal-key{flex:0 0 auto;width:28px;height:28px;border-radius:8px;background:#fff;border:1px solid #DFE2E6;display:grid;place-items:center;font-weight:900;font-size:14px}
.reveal-key.ok{background:#27624F;border-color:#27624F;color:#fff}
.reveal-note{margin:4px 0 0;font-size:13.5px;color:#5F6872;border-top:1px solid #DFE2E6;padding-top:10px}
.m-done-line{font-weight:800;color:#27624F;margin:0 0 12px}
.order-pool{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
.order-card{text-align:left;border:1px solid #DFE2E6;background:#fff;border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.5;color:#171717}
.order-card:hover{border-color:#343B46}
.order-card .order-label[hidden]{display:none}
.order-card .order-label{display:inline-block;background:#343B46;color:#fff;border-radius:6px;padding:1px 8px;font-size:12px;font-weight:900;margin-right:8px}
.order-card .order-name{font-weight:800}
.order-card .order-doing{display:block;font-size:13px;color:#5F6872;margin-top:4px}
.order-card.done{border-color:#27624F;background:#E6F1EB}
.order-slots{display:grid;gap:8px;margin-bottom:4px}
.order-slot{display:flex;gap:12px;align-items:center;min-height:52px;border:1px dashed #C6CBD1;border-radius:12px;padding:8px 12px;background:#fff}
.order-slot .slot-num{flex:0 0 auto;width:28px;height:28px;border-radius:50%;background:#F3F4F5;display:grid;place-items:center;font-weight:900;font-size:13px}
.order-slot .slot-empty{color:#9BA1A8;font-size:13.5px}
.order-slot .order-card{flex:1;border:0;padding:2px 0}
.order-slot .order-card:hover{border:0}
.order-slot.wrong{border:2px solid #9F3134;background:#F9EBEC}
.order-slot.right{border:2px solid #27624F;background:#E6F1EB}
.order-slot.filled{border-style:solid;border-color:#DFE2E6}
.order-slot.filled .slot-num{background:#343B46;color:#fff}
.order-why{margin-top:14px;border:1px solid #DFE2E6;border-radius:12px;padding:14px 16px;background:#fff}
.order-why h4{margin:0 0 8px;font-size:13px;text-transform:uppercase;letter-spacing:.08em}
.order-why p{font-size:14px;line-height:1.55;margin:0 0 8px}
.order-why p:last-child{margin-bottom:0}

/* Kiểm tra nhanh: từng câu một, không tính điểm */
.check-lead{font-size:14.5px;line-height:1.6;margin:0 0 14px}
.check-meta{display:flex;justify-content:space-between;align-items:center;font-size:13.5px;margin-bottom:12px}
.check-count{color:#5F6872}
.check-dots{display:flex;gap:8px;margin-bottom:16px}
.check-dot{width:30px;height:30px;border-radius:50%;border:1px solid #DFE2E6;background:#fff;font-size:13px;font-weight:900;color:#171717}
.check-dot.current{border-color:#343B46;box-shadow:0 0 0 2px rgba(52,59,70,.25)}
.check-dot.ok{background:#27624F;border-color:#27624F;color:#fff}
.check-dot.bad{background:#9F3134;border-color:#9F3134;color:#fff}
.check-q{margin-bottom:16px}
.check-prompt{font-size:15px;margin:0 0 10px}
.check-opt.correct{border:2px solid #27624F;background:#E6F1EB;padding:10px 12px}
.check-opt.wrong{border:2px solid #9F3134;background:#F9EBEC;padding:10px 12px}
.check-opt:disabled{cursor:default;opacity:1}
.check-nav{display:flex;justify-content:space-between;gap:12px;margin-top:4px}
.check-nav-btn{border:1px solid #DFE2E6;background:#fff;border-radius:999px;padding:8px 18px;font-size:13.5px;font-weight:800}
.check-nav-btn:hover{border-color:#343B46}
.check-nav-btn.strong{background:#343B46;border-color:#343B46;color:#fff}
.check-summary{margin-top:16px}
@media(max-width:960px){
  .ml-layout{grid-template-columns:1fr;gap:20px}
  .ml-side{position:static}
  .ml-stages{flex-direction:row;flex-wrap:wrap;gap:6px}
  .ml-stage-btn{width:auto;border:1px solid #DFE2E6;border-left-width:1px;border-radius:999px;padding:7px 12px}
  .ml-stage-btn.current{border-color:#343B46}
  .ml-stage-head h2{font-size:24px}
  .ml-big{font-size:42px}
}
@media(max-width:720px){
  .order-pool{grid-template-columns:1fr}
  .ml-cardbar{gap:8px;padding:8px}
  .ml-cardbar-label{display:none}
}

/* ---------- Tầng luyện tập ---------- */
.tier-bar{flex:0 0 auto;border:1px solid #DFE2E6;border-radius:12px;background:#F3F4F5;padding:8px 12px;margin-bottom:8px}
.tier-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.tier-label{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#5F6872;white-space:nowrap}
.tier-chips{display:flex;gap:8px;flex-wrap:wrap}
.tier-chip{border:1px solid #DFE2E6;background:#fff;border-radius:999px;padding:6px 13px;font-size:13px;font-weight:700;color:#171717}
.tier-chip:hover{border-color:#343B46}
.tier-chip.active{background:#343B46;border-color:#343B46;color:#fff}
.tier-chip.locked{opacity:.5;cursor:default}
.tier-progress{margin-top:6px;font-size:12.5px;color:#5F6872}
.review-line{margin:8px 0;font-size:13.5px;color:#171717}
.review-line .link-btn{font-size:13.5px}
.audio-strip.t5-locked{border-color:#343B46;background:#F3F4F5}
.bottom-note{font-size:12px;color:#5F6872;font-weight:700;padding:0 6px;white-space:nowrap}

/* ---------- Dang bai moi (pack ug2) ---------- */
/* Cho trong trong cau: gach duoi ngan, cung mau chu. */
.blankmark{font-weight:900;letter-spacing:.02em}
/* O nhap dien tu: NHO, nam trong cau, co theo dap an. */
.fill-answer{margin:0}
.fill-sent{font-size:15px;line-height:2.1;margin:0}
.fill-input{font:inherit;font-weight:700;color:#171717;background:#FFF8E6;border:1px solid #343B46;border-radius:8px;padding:3px 8px;margin:0 2px;max-width:100%;box-sizing:border-box}
.fill-input:focus{outline:2px solid #343B46;outline-offset:1px}
/* Van ban co cho trong (Part 3/4): dong thoai, cho trong gach duoi. */
.filltext{border:1px solid #DFE2E6;border-radius:12px;padding:10px 12px;margin-bottom:12px;background:#fff}
.filltext p{margin:0 0 6px;font-size:14px;line-height:1.55}
.filltext p:last-child{margin-bottom:0}
/* Hop tham khao: ly thuyet nho, tu vung, hop tu. Chi de doc. */
.refbox{border:1px solid #DFE2E6;border-radius:12px;padding:10px 12px;margin-bottom:12px;background:#F3F4F5}
.refbox h4{margin:0 0 6px;font-size:13px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;color:#343B46}
.refbox .word-group{margin:0 0 4px;font-size:13.5px;line-height:1.5}
.refbox .word-group:last-child{margin-bottom:0}
.word-chips{margin:0;display:flex;flex-wrap:wrap;gap:6px}
.word-chips span{border:1px solid #DFE2E6;background:#fff;border-radius:999px;padding:3px 10px;font-size:13px;font-weight:700}
.point-table{width:100%;border-collapse:collapse;font-size:13.5px;margin:4px 0 2px}
.point-table th,.point-table td{border:1px solid #DFE2E6;padding:6px 9px;text-align:left;vertical-align:top}
.point-table th{background:#fff}
/* Man ly thuyet cua unit (Points). */
.points-doc{max-width:860px;margin:0 auto;background:#fff;border:1px solid #DFE2E6;border-radius:16px;padding:24px 28px}
.points-doc h2{font-size:26px;margin:0 0 8px}
.points-intro{color:#5F6872;font-size:15px;line-height:1.6;margin:0 0 18px}
.point-sec{margin-bottom:20px}
.point-sec:last-child{margin-bottom:0}
.point-sec h3{font-size:18px;margin:0 0 6px}
.point-sec h4{font-size:15.5px;margin:12px 0 4px}
.point-sec h5{font-size:14px;margin:10px 0 4px}
.point-sec p{font-size:14.5px;line-height:1.6;margin:0 0 8px}
.point-sec .point-ex{color:#343B46;margin-left:12px}
.point-sec .point-table{margin-bottom:8px}


/* --- DOCREAL MERGED CSS: v1 base --- */

/* ===== DOCREAL preview-only styles (copy only; not in live tree) ===== */
.graphic .real-svg{width:100%;height:auto;display:block;font-family:inherit}
.real-wall-outer{fill:#FFFFFF;stroke:#2B2B2B;stroke-width:3}
.real-wall{stroke:#2B2B2B;stroke-width:2}
.real-room-label{font-family:Georgia,"Times New Roman",serif;font-size:30px;font-weight:700;fill:#1D1D1D;text-anchor:middle;dominant-baseline:middle}
.real-map-title{font-family:Georgia,"Times New Roman",serif;font-size:34px;font-weight:700;fill:#1D1D1D;text-anchor:middle;dominant-baseline:middle}
.real-wall-row{fill:#FFFFFF;stroke:#2B2B2B;stroke-width:2}
.real-wall-main{fill:#FFFFFF;stroke:#2B2B2B;stroke-width:2.5}
.real-site-roadline{stroke:#2B2B2B;stroke-width:2}
.real-site-road{font-family:Georgia,"Times New Roman",serif;font-size:34px;font-weight:700;fill:#1D1D1D;text-anchor:middle}
.real-site-step{fill:none;stroke:#2B2B2B;stroke-width:2.5}
.real-site-label{font-family:Georgia,"Times New Roman",serif;font-size:36px;font-weight:700;fill:#1D1D1D;text-anchor:middle}
.real-site-bldg{fill:#A8A8A8;stroke:#8A8A8A;stroke-width:1}
.real-site-window{fill:#FFFFFF}
.real-site-lake{fill:#A8B8C0;stroke:#8FA3AD;stroke-width:1.5}
.real-site-arrow{stroke:#2B2B2B;stroke-width:2.5}
.real-site-arrowhead{fill:#2B2B2B}
.real-road{fill:#DAD6CE;stroke:#9A968C;stroke-width:1.5}
.real-road-line{stroke:#FFFFFF;stroke-width:2;stroke-dasharray:14 10}
.real-road-label{font-size:14px;font-weight:700;fill:#3D3A34;text-anchor:middle;dominant-baseline:middle;paint-order:stroke;stroke:#DAD6CE;stroke-width:5px;stroke-linejoin:round}
.real-bldg{fill:#F0EDE5;stroke:#2B2B2B;stroke-width:2}
.real-park{fill:#E3E1DA;stroke:#2B2B2B;stroke-width:2}
.real-bldg-label{font-size:15px;font-weight:700;fill:#1D1D1D;text-anchor:middle;dominant-baseline:middle}
.real-lake{fill:#BFD9E8;stroke:#7FA8C4;stroke-width:2}
.real-lake-label{font-size:15px;font-weight:700;fill:#2C4A5E;text-anchor:middle;dominant-baseline:middle}
.real-grid{stroke:#E7E3DA;stroke-width:1}
.real-axis{stroke:#3A3A3A;stroke-width:1.5}
.real-tick{font-size:12px;fill:#5F6872;text-anchor:end}
.real-cat{font-size:14px;font-weight:700;fill:#1D1D1D;text-anchor:middle}
.real-val{font-size:13px;fill:#333333;text-anchor:middle}
.real-axis-title{font-size:13px;font-weight:700;fill:#333333;text-anchor:middle}
.real-bar{fill:#5B6B7A}
.doc-axis-line{color:#5F6872;font-size:12.5px;margin:0 0 6px}
.real-receipt{max-width:380px;margin:6px auto 0;background:#FFFFFF;border:1px solid #E4DFD2;border-bottom:none;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:18px 24px 14px;font-family:"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:14px;line-height:1.7;color:#222}
.rr-store{text-align:center;font-weight:700;font-size:15px}
.rr-rule{border-top:1px dashed #9A968C;margin:8px 0}
.rr-line{display:flex;justify-content:space-between;white-space:nowrap}
.rr-total{font-weight:800}
.real-receipt-teeth{max-width:380px;height:8px;margin:0 auto;background:linear-gradient(-45deg,#E9E4D6 5px,transparent 0) 0 0/14px 14px repeat-x,linear-gradient(45deg,#E9E4D6 5px,transparent 0) 7px 0/14px 14px repeat-x}
.real-program{background:#FFFFFF;border:1px solid #E4DFD2;padding:16px 20px 14px}
.rp-title{text-align:center;font-size:17px;font-weight:800;letter-spacing:.02em;color:#1D1D1D}
.rp-rule{border-top:3px double #3A3A3A;margin:10px 0 4px}
table.rp-table{width:100%;border-collapse:collapse}
table.rp-table td{padding:9px 6px;border-bottom:1px solid #DDD8CC;font-size:14px;vertical-align:top}
table.rp-table tr:last-child td{border-bottom:none}
table.rp-table td.rp-time{width:74px;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums;color:#333}

/* --- DOCREAL MERGED CSS: W1 --- */
/* ===== DOCREAL W1 preview-only styles (copy only; not in live tree) =====
   Schedule reuses the v1 .rp-* classes; .rp-sub / thead / .rp-price are
   new. Price uses new .rprice-* classes only. */
.rp-sub{text-align:center;font-size:13px;color:#5F6872;line-height:1.45;white-space:pre-line}
.rp-title{white-space:pre-line}
/* Decoration rows above the title, CSS-generated only (no DOM text):
   Palden Movie Palace (stars row) and ets-2020 T6-P3-11 (airplane). */
.real-program.rp-stars::before{content:'★ ★ ★ ★ ★ ★ ★ ★ ★ ★';display:block;text-align:center;font-size:14px;letter-spacing:5px;color:#1D1D1D;margin-bottom:4px}
.real-program.rp-plane::before{content:'✈';display:block;text-align:center;font-size:20px;color:#1D1D1D;margin-bottom:2px}
table.rp-table th{padding:8px 6px 7px;border-bottom:2px solid #3A3A3A;font-size:14px;font-weight:700;color:#1D1D1D;text-align:left}
table.rp-table th.rp-time{text-align:left}
table.rp-table th.rp-price{text-align:right}
table.rp-table td.rp-price{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;color:#333}
/* Spanning band row (all cells identical, e.g. "Lunch" in the
   Conference Room Sign-Up Sheet): grey band, centered, bold. */
table.rp-table td.rp-span{background:#E8E8E8;text-align:center;font-weight:700;color:#1D1D1D}
.rprice-panel{background:#FFFFFF;border:1px solid #E4DFD2;padding:16px 20px 14px}
.rprice-title{text-align:center;font-size:17px;font-weight:800;letter-spacing:.02em;color:#1D1D1D;white-space:pre-line}
.rprice-sub{text-align:center;font-size:13px;color:#5F6872;line-height:1.45;white-space:pre-line}
.rprice-rule{border-top:3px double #3A3A3A;margin:10px 0 4px}
table.rprice-table{width:100%;border-collapse:collapse}
table.rprice-table th{padding:8px 6px 7px;border-bottom:2px solid #3A3A3A;font-size:14px;font-weight:700;color:#1D1D1D;text-align:left}
table.rprice-table th.rprice-cur{text-align:right}
table.rprice-table td{padding:9px 6px;border-bottom:1px solid #DDD8CC;font-size:14px;vertical-align:top}
table.rprice-table tr:last-child td{border-bottom:none}
table.rprice-table td.rprice-key{color:#1D1D1D}
table.rprice-table td.rprice-cur{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;color:#333}
table.rprice-table tr.rprice-totalrow td{border-top:2px solid #3A3A3A;border-bottom:none;font-weight:800;color:#1D1D1D}
/* Table Packages 2x2 box grid: shared borders like the print (the
   print's outer edge is scalloped — a double frame is the closest
   CSS frame; the italic title sits inside the frame). */
.rprice-boxpanel{background:transparent;border:none;padding:0}
.rprice-boxframe{border:3px double #3A3A3A;padding:12px 14px 14px;background:#FFFFFF}
.rprice-boxtitle{text-align:center;font-family:Georgia,'Times New Roman',serif;font-style:italic;font-weight:700;font-size:17px;color:#1D1D1D;white-space:pre-line;margin-bottom:10px}
table.rprice-boxgrid{width:100%;border-collapse:collapse;border-spacing:0}
table.rprice-boxgrid td.rprice-box{border:1.5px solid #3A3A3A;background:#FFFFFF;padding:16px 12px;text-align:center;vertical-align:middle}
.rprice-boxname{font-size:16px;font-weight:800;letter-spacing:.08em;color:#1D1D1D}
.rprice-boxseat{font-size:13px;color:#5F6872;margin-top:4px}
.rprice-boxprice{font-size:18px;font-weight:800;color:#1D1D1D;margin-top:6px}
/* Advertising Price List three-block layout: Full Page left (rowspan
   2), Half Page upper right, Quarter Page lower right, dashed
   dividers, grey mock rectangle above "Quarter Page". */
table.rprice-ads{width:100%;border-collapse:collapse;border:1.5px solid #3A3A3A}
table.rprice-ads td{padding:12px 14px;font-size:15px;vertical-align:top}
table.rprice-ads td.rprice-adsl{border-right:2px dashed #3A3A3A;vertical-align:middle;width:55%}
table.rprice-ads tr:first-child td.rprice-adsr{border-bottom:2px dashed #3A3A3A}
.rprice-adsname{font-weight:700;text-decoration:underline;color:#1D1D1D;margin-bottom:2px}
.rprice-adsline{line-height:1.5}
.rprice-adsgrey{background:#D9D9D9;height:56px;margin:0 0 8px}
/* Expenses (ets-2019 T9-P3-13): grey empty edge columns, underlined
   left-aligned title, thick dark band under the title row. */
.rprice-edge .rprice-title{text-align:left;text-decoration:underline}
.rprice-edge .rprice-rule{border:none;height:12px;background:#4A4A4A;margin:10px 0 0}
.rprice-edge table.rprice-table td:first-child,.rprice-edge table.rprice-table td:last-child{background:#D9D9D9}
/* Original Invoice (ets-2020 T10-P4-9): no panel frame, left title,
   narrow centred grid table with left-aligned prices. */
.rprice-invoice{background:transparent;border:none;padding:0}
.rprice-invoice .rprice-title{text-align:left}
.rprice-invoice .rprice-rule{display:none}
.rprice-invoice table.rprice-table{max-width:360px;margin:8px auto 0;border:2px solid #3A3A3A}
.rprice-invoice table.rprice-table td{border:1px solid #3A3A3A}
.rprice-invoice table.rprice-table tr:last-child td{border-bottom:1px solid #3A3A3A}
.rprice-invoice table.rprice-table td.rprice-cur{text-align:left}

/* --- DOCREAL MERGED CSS: W2 --- */
/* ===== DOCREAL W2 preview-only styles (copy only; not in live tree) =====
   R-generic / R-directory. New class names only (rgen-*, rdir-*). */
.graphic .rgen-panel, .graphic .rdir-panel{background:#FFFFFF;border:1px solid #DDD8CC;border-radius:4px;padding:14px 16px 12px}
.graphic .rgen-panel .doc-title, .graphic .rdir-panel .doc-title{font-size:16px}
.graphic table.rgen-table, .graphic table.rdir-table{width:100%;border-collapse:collapse;margin-top:4px}
.graphic table.rgen-table th, .graphic table.rgen-table td, .graphic table.rdir-table th, .graphic table.rdir-table td{border:1px solid #3A3A3A;padding:8px 10px;font-size:14px;line-height:1.4;text-align:left;vertical-align:middle;background:#fff}
.graphic table.rgen-table th, .graphic table.rdir-table th{background:#F3F4F5;font-weight:800}
.graphic table.rgen-table td:empty, .graphic table.rdir-table td:empty, .graphic table.rgen-table th:empty{background:#fff}
/* --- directory --- */
.graphic .rdir-panel .doc-title{text-align:center;letter-spacing:.02em}
.graphic .rdir-ruled .doc-title{background:#D9D9D9;margin:-14px -16px 10px;padding:10px 12px;text-align:left}
.graphic .rdir-ptphone .doc-title{background:transparent;text-align:center;border-top:3px solid #1D1D1D;border-bottom:1px solid #1D1D1D;margin:-14px -16px 10px;padding:10px 12px}
.graphic .rdir-ruled table.rdir-table th, .graphic .rdir-ruled table.rdir-table td{border:none;border-bottom:1px solid #8A8A8A}
.graphic .rdir-ruled table.rdir-table th + th, .graphic .rdir-ruled table.rdir-table td + td{border-left:1px solid #8A8A8A}
.graphic .rdir-ruled table.rdir-table tr:last-child td{border-bottom:2px solid #1D1D1D}
.graphic .rdir-codelast table.rdir-table td.rdir-code, .graphic .rdir-codelast table.rdir-table th.rdir-code{text-align:center}
.graphic table.rdir-table td.rdir-code, .graphic table.rdir-table th.rdir-code{font-weight:700;letter-spacing:.14em;white-space:nowrap;font-variant-numeric:tabular-nums}
.graphic table.rdir-table tr td:first-child{font-weight:600}
.graphic .rdir-wood{background:repeating-linear-gradient(93deg,#E2E2E2 0 26px,#C9C9C9 26px 52px,#DADADA 52px 78px);border-color:#8A8A8A;padding:12px}
.graphic .rdir-wood .doc-title{background:#FFFFFF;border-radius:10px;padding:8px 10px;margin-bottom:10px;box-shadow:0 1px 3px rgba(0,0,0,.25)}
.graphic .rdir-wood table.rdir-table{border-radius:8px;overflow:hidden}
.graphic .rdir-wood table.rdir-table th{background:#fff}
/* --- generic frames --- */
.graphic .rgen-panel.rgen-frame-double{border:3px double #1D1D1D}
.graphic .rgen-frame-double .doc-title{font-family:Georgia,"Times New Roman",serif;text-align:center;font-size:19px}
.graphic table.rgen-frame-double th, .graphic table.rgen-frame-double td{border:none;border-bottom:1px solid #DDD8CC}
.graphic table.rgen-frame-double tr:last-child td{border-bottom:none}
.graphic table.rgen-frame-double td:first-child{font-weight:700;white-space:nowrap}
.graphic .rgen-menu .doc-title{font-family:Georgia,"Times New Roman",serif;text-align:center;font-size:18px}
.graphic .rgen-panel.rgen-menu{position:relative}
.graphic .rgen-menu-name{display:block;font-family:"Segoe Print","Comic Sans MS",cursive;font-style:italic;font-size:24px}
.graphic .rgen-menu-sub{display:block;font-family:Georgia,"Times New Roman",serif;font-weight:800;font-size:17px}
.graphic .rgen-menu-dash{font-size:0;line-height:0}
.graphic .rgen-chef{position:absolute;top:10px;right:14px;width:40px;height:34px}
.graphic table.rgen-menu th{background:#1D1D1D;color:#fff}
.graphic table.rgen-menu td:first-child{font-weight:700;white-space:nowrap}
.graphic .rgen-menu-black{background:#111;border-color:#111}
.graphic .rgen-menu-black .doc-title{color:#fff;font-family:Georgia,"Times New Roman",serif;font-style:italic;text-align:center;font-size:19px}
.graphic table.rgen-menu-black{border-collapse:separate;border-spacing:0 8px}
.graphic table.rgen-menu-black td{border:none;background:#fff;border-radius:10px;padding:12px 14px}
.graphic table.rgen-menu-black td:first-child{font-weight:800;border-radius:10px 0 0 10px}
.graphic table.rgen-menu-black td:last-child{border-radius:0 10px 10px 0}
.graphic table.rgen-menu-black td.rgen-mb-cell{border-radius:10px;text-align:center}
.graphic .rgen-mb-day{display:block;font-weight:800;font-size:17px;text-align:center}
.graphic .rgen-mb-dish{display:block;font-size:16px;text-align:center}
.graphic .rgen-panel.rgen-poster{border:3px solid #1D1D1D;border-radius:14px;text-align:center}
.graphic .rgen-poster .doc-title{font-family:Georgia,"Times New Roman",serif;font-size:19px;text-align:center}
.graphic .rgen-ball{width:64px;height:64px;margin:0 auto 4px;border:2px solid #1D1D1D;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff 0 18%,#1D1D1D 19% 26%,#fff 27% 55%,#E8E8E8 56%)}
.graphic table.rgen-poster th, .graphic table.rgen-poster td{border:none;text-align:center;padding:10px}
.graphic table.rgen-poster th{text-decoration:underline;background:transparent}
.graphic table.rgen-poster td:last-child{font-weight:700}
/* window frame (Feedback Survey) */
.graphic .rgen-panel.rgen-window{border:1px solid #9A968C;border-radius:6px;overflow:hidden;padding:0;background:#fff}
.graphic .rgen-winbar{background:linear-gradient(#F0F0F0,#DCDCDC);padding:6px 10px;display:flex;gap:6px;border-bottom:1px solid #B9B4A8}
.graphic .rgen-dot{width:11px;height:11px;border-radius:50%;background:#C9C4B8;border:1px solid #A39E92;display:inline-block}
.graphic .rgen-window .doc-title{text-align:center;padding:10px 12px 0}
.graphic .rgen-window table.rgen-table{margin:8px 12px 12px;width:calc(100% - 24px)}
.graphic .rgen-window td:last-child{text-align:center}
.rgen-stars{display:block;margin-bottom:2px}
.rgen-star{width:16px;height:16px;margin:0 1px}
.wx-star{fill:#2B2B2B}
/* clipboard (Rose Bloom / Community Center) */
.graphic .rgen-panel.rgen-clipboard, .graphic .rgen-panel.rgen-community{background:#8A8F96;border-radius:10px;padding:22px 14px 14px;position:relative}
.graphic .rgen-panel.rgen-clipboard-note{background:#8A8F96;border-radius:10px;padding:22px 14px 14px;position:relative}
.graphic .rgen-clipboard-note .doc-title{text-align:center;font-family:"Segoe Print","Comic Sans MS",cursive;font-size:19px;background:#fff;margin:0 -4px;padding:10px 8px 4px;border-radius:6px 6px 0 0}
.graphic table.rgen-clipboard-note{margin-top:0;background:#fff;font-family:"Segoe Print","Comic Sans MS",cursive}
.graphic table.rgen-clipboard-note th, .graphic table.rgen-clipboard-note td{border:none;text-align:left}
.graphic table.rgen-clipboard-note th{font-style:italic;text-decoration:underline;background:#fff}
.graphic table.rgen-clipboard-note td:first-child{padding-right:18px}
.graphic .rgen-clip{position:absolute;top:-2px;left:50%;transform:translateX(-50%);width:74px;height:26px;background:#5A5E63;border-radius:8px;border:2px solid #6E7278}
.graphic .rgen-clipboard .doc-title, .graphic .rgen-community .doc-title{text-align:center;font-family:Georgia,"Times New Roman",serif;font-size:18px;background:#fff;margin:0 -4px;padding:10px 8px 6px;border-radius:6px 6px 0 0}
.graphic .rgen-clipboard table.rgen-table, .graphic .rgen-community table.rgen-table{margin-top:0;background:#fff}
.graphic .rgen-clipboard table.rgen-table td:first-child{font-weight:600}
.graphic table.rgen-community td{text-align:center}
.graphic table.rgen-community .rgen-day{font-weight:800;font-size:15px}
/* web page (Accountant Jobs) */
.graphic .rgen-web{border:1px solid #B9B4A8;border-radius:6px;overflow:hidden}
.graphic .rgen-chrome{background:#EDEEF0;padding:8px 10px;display:flex;align-items:center;gap:6px;border-bottom:1px solid #C9C4B8}
.graphic .rgen-addr{flex:1;background:#fff;border:1px solid #C9C4B8;border-radius:999px;padding:3px 12px;font-size:12.5px;color:#3D3A34;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.graphic .rgen-tab{display:inline-block;background:#FFFFFF;border:1px solid #B9B4A8;border-bottom:none;border-radius:8px 8px 0 0;padding:8px 22px;font-weight:800;font-size:16px;margin:10px 0 0 14px}
.graphic .rgen-webbox{border-top:1px solid #B9B4A8;background:#FFFFFF;padding:12px 16px}
.graphic table.rgen-webpage td{border:none;border-bottom:1px dashed #C9C4B8;background:transparent}
.graphic table.rgen-webpage td:first-child::before{content:"•  ";font-weight:800}
.graphic table.rgen-webpage tr:last-child td{border-bottom:none}
/* form with torn edges (Evergreen order) */
.graphic .rgen-panel.rgen-form-torn{border:none;background:#FFFFFF;padding:16px 18px 10px;box-shadow:0 2px 8px rgba(0,0,0,.10);position:relative}
.graphic .rgen-panel.rgen-form-torn::before, .graphic .rgen-panel.rgen-form-torn::after{content:"";display:block;height:8px;background:linear-gradient(-45deg,#E9E4D6 5px,transparent 0) 0 0/14px 14px repeat-x,linear-gradient(45deg,#E9E4D6 5px,transparent 0) 7px 0/14px 14px repeat-x}
.graphic .rgen-form-torn .doc-title{font-size:17px;font-weight:700}
.graphic table.rgen-form-torn th{background:#F3F4F5}
.graphic table.rgen-form-torn td:last-child{font-weight:600}
/* directory plaque (Ninth Floor): patterned double border, dot leaders */
.graphic .rdir-plaque{border:3px double #1D1D1D;outline:1px solid #1D1D1D;outline-offset:3px}
.graphic .rdir-plaque .doc-title{font-family:Georgia,"Times New Roman",serif;font-size:18px;text-align:center;background:transparent;margin:0 0 6px}
.graphic .rdir-plaque table.rdir-table th, .graphic .rdir-plaque table.rdir-table td{border:none;background:transparent}
.graphic .rdir-plaque .rdir-name{display:flex;align-items:flex-end;gap:6px}
.graphic .rdir-plaque .rdir-leader{flex:1;border-bottom:2px dotted #6B655F;margin-bottom:4px}
.graphic .rdir-plaque td.rdir-code{text-align:right}
/* wire transfer form */
.graphic .rgen-wire .doc-title{text-align:center;font-size:17px}
.graphic table.rgen-wire tr.rgen-section td{text-align:center}
.graphic table.rgen-wire tr.rgen-blank td{height:26px;background:#fff}
.graphic table.rgen-wire tr.rgen-section td{background:#EDEEF0;font-weight:800}
.graphic table.rgen-wire td:first-child{font-weight:700;white-space:nowrap}
/* battery dots */
.graphic .rgen-panel.rgen-battery{border:1px solid #1D1D1D}
.graphic .rgen-battery .doc-title{font-weight:600;text-align:left}
.graphic table.rgen-battery th, .graphic table.rgen-battery td{border:none}
.graphic table.rgen-battery td{padding:16px 10px}
.graphic table.rgen-battery td:first-child{letter-spacing:.2em;font-size:44px;text-align:left;line-height:1.1}
.graphic table.rgen-battery td:last-child{text-align:right;font-variant-numeric:tabular-nums;font-size:20px;font-weight:600}
/* plain-band (bu2 unit tables): grey title band, ruled rows */
.graphic .rgen-plain-band .doc-title{background:#D9D9D9;margin:-14px -16px 10px;padding:10px 12px;text-align:center}
.graphic table.rgen-plain-band th, .graphic table.rgen-plain-band td{border:none;border-bottom:1px solid #8A8A8A}
.graphic table.rgen-plain-band th + th, .graphic table.rgen-plain-band td + td{border-left:1px solid #8A8A8A}
.graphic table.rgen-plain-band tr:last-child td{border-bottom:2px solid #1D1D1D}
.graphic table.rgen-plain-band th{background:#EDEDED}
.graphic table.rgen-plain-band td:last-child{text-align:center}
/* commercial property: 4 columns, address over feature */
.graphic .rgen-property .doc-title{background:#D9D9D9;margin:-14px -16px 10px;padding:10px 12px;text-align:center}
.graphic table.rgen-property td{border:none;border-left:1px solid #8A8A8A;vertical-align:top}
.graphic table.rgen-property td:first-child{border-left:none}
.graphic table.rgen-property tr:first-child td{font-weight:600;border-bottom:1px solid #8A8A8A}
/* car listing: centred title with thick rules, merged people/bags cell */
.graphic .rgen-carlist .doc-title{text-align:center;border-top:3px solid #1D1D1D;border-bottom:1px solid #1D1D1D;padding:8px 0}
.graphic table.rgen-carlist td{border:none;border-bottom:1px solid #8A8A8A}
.graphic table.rgen-carlist td + td{border-left:1px solid #8A8A8A}
.graphic table.rgen-carlist tr:last-child td{border-bottom:2px solid #1D1D1D}
/* cake 2x2 */
.graphic .rgen-cake .doc-title{text-align:center}
.graphic table.rgen-cake td{text-align:center;vertical-align:top;padding:14px 10px}
.graphic .rgen-cake-flav{display:block;font-weight:700;font-style:italic;font-size:15px;margin-bottom:4px}
.graphic .rgen-cake-soda{display:block}
.graphic .rgen-cakeicons{display:flex;align-items:center;justify-content:center;gap:8px;margin:6px 0}
.graphic .rgen-mixbox{width:38px;height:30px;background:repeating-linear-gradient(45deg,#fff 0 4px,#E4E4E4 4px 8px);border:2px solid #1D1D1D;border-radius:3px;position:relative}
.graphic .rgen-mixbox::after{content:"+";font-weight:900;font-size:18px;color:#1D1D1D;position:absolute;right:-16px;top:-4px}
.graphic .rgen-can{width:22px;height:34px;background:#fff;border:2px solid #1D1D1D;border-radius:4px 4px 3px 3px;margin-left:10px}
/* weather icons */
.graphic .rgen-celltop{display:block;margin-bottom:2px}
.graphic .rgen-wx{width:46px;height:30px;display:block;margin:0 auto}
.wx-cloud{fill:#9AA5AD}
.wx-sun{fill:#F2B705}
.wx-ray{stroke:#F2B705;stroke-width:2}
.wx-rain{stroke:#5B8DB8;stroke-width:2.5;stroke-linecap:round}
.wx-bolt{fill:#F2B705}
.graphic table.rgen-weather td, .graphic table.rgen-weather-cond td{text-align:center}
.graphic table.rgen-weather th{text-align:center}
.graphic table.rgen-weather-cond td:nth-child(2){text-align:center}
.graphic table.rgen-weather-cond td:first-child,.graphic table.rgen-weather-cond th:first-child{text-align:left}
.graphic .rgen-weather .doc-title, .graphic .rgen-weather-cond .doc-title{text-align:center}
.graphic .rgen-weather .doc-title{background:#D9D9D9;margin:-14px -16px 10px;padding:10px 12px}
/* matphase header icons */
.graphic .rgen-hicon{width:38px;height:28px;display:block;margin:4px auto 0}
.wx-hicon{stroke:#1D1D1D;stroke-width:2;fill:none}
.wx-hicon-fill{fill:#1D1D1D}
.graphic table.rgen-matphase th{text-align:center}
.graphic table.rgen-matphase th:first-child{text-align:left}
.graphic table.rgen-matphase td:nth-child(n+2){text-align:center;font-weight:700}
.graphic table.rgen-matphase td:first-child{font-weight:700}
/* plain generic: bold first column for 2-col KV tables, centred numeric cols */
.graphic table.rgen-plain td:first-child{font-weight:600}
/* comparison chart: title centred, check columns centred */
.graphic .rgen-compare .doc-title{text-align:center}
.graphic table.rgen-compare th{text-align:center}
.graphic table.rgen-compare td:nth-child(n+2){text-align:center}
.graphic table.rgen-compare td:first-child{font-weight:600}

/* --- DOCREAL MERGED CSS: W3 --- */
/* ===== DOCREAL W3 preview-only styles (copy only; not in live tree) =====
   .real-* rules are shared verbatim with the v1 patch (chart + receipt);
   .rkv-/.rlines-/.rsteps-/.rpie-/rr-head/rr-thanks are new W3 classes. */
.graphic .real-svg{width:100%;height:auto;display:block;font-family:inherit}
.real-grid{stroke:#E7E3DA;stroke-width:1}
.real-axis{stroke:#3A3A3A;stroke-width:1.5}
.real-tick{font-size:12px;fill:#5F6872;text-anchor:end}
.real-cat{font-size:14px;font-weight:700;fill:#1D1D1D;text-anchor:middle}
.real-val{font-size:13px;fill:#333333;text-anchor:middle}
.real-axis-title{font-size:13px;font-weight:700;fill:#333333;text-anchor:middle}
.real-bar{fill:#5B6B7A}
.doc-axis-line{color:#5F6872;font-size:12.5px;margin:0 0 6px}
.real-receipt{max-width:380px;margin:6px auto 0;background:#FFFFFF;border:1px solid #E4DFD2;border-bottom:none;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:18px 24px 14px;font-family:"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:14px;line-height:1.7;color:#222}
.rr-store{text-align:center;font-weight:700;font-size:15px}
.rr-head{text-align:center;font-weight:700;font-size:15px}
.rr-rule{border-top:1px dashed #9A968C;margin:8px 0}
.rr-line{display:flex;justify-content:space-between;white-space:nowrap}
.rr-total{font-weight:800}
.rr-thanks{justify-content:center}
.rr-right{justify-content:flex-end}
/* Order Ticket (ets-2021 T5-P3-13): the book ticket is a ruled ledger in
   script handwriting, not a monospace receipt. */
.rr-script{font-family:"Segoe Script","Brush Script MT","Snell Roundhand",cursive;font-size:15px}
.rr-script .rr-line{border-bottom:1px solid #DDD8CC}
.rr-script .rr-thanks{border-top:2px solid #3A3A3A;margin-top:8px;padding-top:8px}
.real-receipt-teeth{max-width:380px;height:8px;margin:0 auto;background:linear-gradient(-45deg,#E9E4D6 5px,transparent 0) 0 0/14px 14px repeat-x,linear-gradient(45deg,#E9E4D6 5px,transparent 0) 7px 0/14px 14px repeat-x}
/* L-kv: label bold, value plain, both inline so one row's text never
   splits across block boundaries. Multi-cell rows bold the first cell. */
.rkv-k{font-weight:800}
.rkv-mc-k{font-weight:700}
/* L-lines: plain sequential lines; base .g-list supplies the spacing. */
.rlines-list li{margin-bottom:4px}
/* L-steps: numbered badges via CSS counter (adds no DOM text); the full
   verbatim row text stays in the <li>. Non-step rows align, unbadged. */
.rsteps-list{counter-reset:rsteps;list-style:none;padding-left:0}
.rsteps-list li{position:relative;padding-left:34px;margin-bottom:8px}
.rsteps-step{counter-increment:rsteps}
.rsteps-step::before{content:counter(rsteps);position:absolute;left:0;top:1px;width:22px;height:22px;border-radius:50%;background:#343B46;color:#fff;font-size:12.5px;font-weight:800;line-height:22px;text-align:center}
/* L-chart pie: book-faithful B&W outline pie, labels stacked inside the
   slice; legend names every slice (small slices live here only). */
.rpie-wrap{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-top:4px}
/* Specificity (0,3,0) beats the base .graphic .real-svg width:100% (0,2,0);
   the pie must stay 280px wide so the legend fits beside it. */
.graphic .rpie-wrap .rpie-svg{flex:0 0 auto;width:280px;max-width:100%}
.rpie-slice{fill:#FFFFFF;stroke:#3A3A3A;stroke-width:1.5}
.rpie-inlabel{font-size:12.5px;fill:#1D1D1D;text-anchor:middle}
.rpie-inpct{font-size:12.5px;font-weight:700;fill:#1D1D1D;text-anchor:middle}
.rpie-leg{display:flex;flex-direction:column;gap:7px;flex:1;min-width:180px}
.rpie-row{display:flex;align-items:center;gap:8px;font-size:13.5px;line-height:1.4}
.rpie-sw{width:12px;height:12px;border-radius:3px;flex:0 0 auto;background:#FFFFFF;border:1px solid #3A3A3A}
.rpie-pct{margin-left:auto;font-weight:800;font-variant-numeric:tabular-nums}
/* Wallpaper Samples (ets-2021 T5-P3-12): 2x2 pattern swatches, CSS-drawn. */
.rwp-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:420px;margin:4px auto 12px}
.rwp-sw{height:90px;border:1px solid #3A3A3A}
.rwp-stripes{background:repeating-linear-gradient(90deg,#1D1D1D 0 14px,#FFFFFF 14px 28px)}
.rwp-circles{background-color:#8A8A8A;background-image:radial-gradient(circle,#FFFFFF 4px,transparent 5px);background-size:16px 16px}
.rwp-diamond{background-color:#FFFFFF;background-image:repeating-linear-gradient(45deg,transparent 0 8px,rgba(29,29,29,.9) 8px 10px,transparent 10px 18px),repeating-linear-gradient(-45deg,transparent 0 8px,rgba(29,29,29,.9) 8px 10px,transparent 10px 18px)}
.rwp-checker{background:conic-gradient(#1D1D1D 25%,#FFFFFF 0 50%,#1D1D1D 0 75%,#FFFFFF 0);background-size:28px 28px}
.rwp-num{text-align:center;font-weight:700;margin-top:4px}

/* --- DOCREAL MERGED CSS: W4 --- */
/* ===== DOCREAL W4 preview-only styles (copy only; not in live tree) =====
   New class names only (rmap-*, rpanel-*). Do not redefine existing classes. */
.graphic .rmap-svg{width:100%;height:auto;display:block;font-family:inherit}
.rmap-frame{fill:#FFFFFF;stroke:#2B2B2B;stroke-width:2.5}
.rmap-box{fill:#FFFFFF;stroke:#2B2B2B;stroke-width:2}
.rmap-boxfill{fill:#F0EDE5;stroke:#2B2B2B;stroke-width:2}
.rmap-grey{fill:#C9C9C9;stroke:#8A8A8A;stroke-width:1.5}
.rmap-greyline{fill:none;stroke:#8A8A8A;stroke-width:1.5}
.rmap-wall{fill:none;stroke:#2B2B2B;stroke-width:2}
.rmap-wall-thick{fill:none;stroke:#2B2B2B;stroke-width:3}
.rmap-road{fill:#DAD6CE;stroke:#9A968C;stroke-width:1.5}
.rmap-roadline{fill:none;stroke:#2B2B2B;stroke-width:2}
.rmap-dash{fill:none;stroke:#2B2B2B;stroke-width:2;stroke-dasharray:9 7}
.rmap-dashbox{fill:#FFFFFF;stroke:#2B2B2B;stroke-width:2;stroke-dasharray:9 7}
.rmap-dashoval{fill:#FFFFFF;stroke:#2B2B2B;stroke-width:2;stroke-dasharray:9 7}
.rmap-lake{fill:#BFD9E8;stroke:#7FA8C4;stroke-width:2}
.rmap-water{fill:#C7CFD4;stroke:#8A979E;stroke-width:1.5}
.rmap-trail{fill:none;stroke:#2B2B2B;stroke-width:5;stroke-linecap:round}
.rmap-trail-thin{fill:none;stroke:#2B2B2B;stroke-width:3.5;stroke-linecap:round}
.rmap-line{fill:none;stroke:#2B2B2B;stroke-width:2}
.rmap-arrow{fill:none;stroke:#2B2B2B;stroke-width:2.5}
.rmap-arrowhead{fill:#2B2B2B}
.rmap-seat{fill:#FFFFFF;stroke:#2B2B2B;stroke-width:2}
.rmap-seat-avail{fill:#9A9A9A;stroke:#2B2B2B;stroke-width:2}
.rmap-seatx{font-family:Georgia,"Times New Roman",serif;font-size:30px;font-weight:700;fill:#1D1D1D;text-anchor:middle;dominant-baseline:middle}
.rmap-circ{fill:#FFFFFF;stroke:#2B2B2B;stroke-width:2}
.rmap-title{font-family:Georgia,"Times New Roman",serif;font-size:30px;font-weight:700;fill:#1D1D1D;text-anchor:middle}
.rmap-label{font-family:Georgia,"Times New Roman",serif;font-size:24px;font-weight:700;fill:#1D1D1D;text-anchor:middle}
.rmap-label-sm{font-family:Georgia,"Times New Roman",serif;font-size:20px;font-weight:700;fill:#1D1D1D;text-anchor:middle}
.rmap-label-lg{font-family:Georgia,"Times New Roman",serif;font-size:28px;font-weight:700;fill:#1D1D1D;text-anchor:middle}
.rmap-sub{font-family:Georgia,"Times New Roman",serif;font-size:20px;fill:#1D1D1D;text-anchor:middle}
.rmap-sub-it{font-family:Georgia,"Times New Roman",serif;font-size:20px;font-style:italic;fill:#1D1D1D;text-anchor:middle}
.rmap-roadlabel{font-family:Georgia,"Times New Roman",serif;font-size:20px;font-weight:700;fill:#1D1D1D;text-anchor:middle}
.rmap-num{font-family:Georgia,"Times New Roman",serif;font-size:22px;font-weight:700;fill:#1D1D1D;text-anchor:middle}
.rmap-start{font-family:Georgia,"Times New Roman",serif;font-size:20px;font-weight:700;fill:#1D1D1D;text-anchor:start}
.rmap-pin{fill:#8A8A8A;stroke:#2B2B2B;stroke-width:2}
.rmap-tree{fill:#B9C4B0;stroke:#7A8A70;stroke-width:1.5}
.rmap-legend{display:flex;align-items:center;gap:10px;justify-content:center;margin:8px 0 0;font-size:15px;color:#1D1D1D}
.rmap-legend svg{flex:none}
.rmap-pin{fill:#FFFFFF;stroke:#2B2B2B;stroke-width:2}
.rmap-frame-thick{fill:none;stroke:#2B2B2B;stroke-width:6}
.rmap-sans{font-family:Arial,Helvetica,sans-serif;font-size:22px;font-weight:700;fill:#1D1D1D;text-anchor:middle}
.rmap-sans-l{font-family:Arial,Helvetica,sans-serif;font-size:22px;font-weight:700;fill:#1D1D1D;text-anchor:start}
.rmap-end{font-family:Georgia,"Times New Roman",serif;font-size:22px;font-weight:700;fill:#1D1D1D;text-anchor:end}
.rmap-start{font-family:Georgia,"Times New Roman",serif;font-size:20px;font-weight:700;fill:#1D1D1D;text-anchor:start}
.rpanel-title{font-family:Georgia,"Times New Roman",serif;font-size:22px;font-weight:700;text-align:center;color:#1D1D1D;margin:2px 0 8px}
.rpanel-chips{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:2px 0 8px}
.rpanel-chip{border:1px solid #C9C2B4;background:#F6F1E7;border-radius:999px;padding:3px 12px;font-size:14px;font-weight:700;color:#1D1D1D}
.g-foot{color:#5F6872;font-size:12.5px;margin:6px 0 0}

/* ---------- Sổ lỗi: tổng quan + sai ở bước tư duy ---------- */
.soloi-tabs{display:flex;gap:8px;margin:14px 0 4px;flex-wrap:wrap}
.soloi-tabs .k-btn{min-height:40px;padding:8px 18px}
.soloi-block{margin-top:16px}
.soloi-block h2{font-size:19px;margin:0 0 6px}
.soloi-block h3{font-size:15px;margin:18px 0 2px}
.soloi-note{color:#5F6872;font-size:13.5px;margin:8px 0}
.soloi-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0 4px}
.soloi-stat{border:1px solid #DFE2E6;border-radius:12px;padding:12px 14px;background:#fff}
.soloi-stat-label{display:block;font-size:12.5px;color:#5F6872;font-weight:700;margin-bottom:4px}
.soloi-num{border:0;background:none;padding:0;color:#294E6B;font-weight:800;text-decoration:underline;cursor:pointer;font-size:14px}
.soloi-num:hover{color:#171717}
.soloi-num-big{display:block;font-size:28px;line-height:1.1;text-decoration:none;color:#171717}
.soloi-num-big:hover{text-decoration:underline}
.soloi-table{width:100%;border-collapse:collapse;margin:6px 0;font-size:14px}
.soloi-table th,.soloi-table td{padding:7px 8px;border-bottom:1px solid #ECEEF0;text-align:left;vertical-align:top}
.soloi-table th{font-size:12.5px;color:#5F6872}
.soloi-table td.n,.soloi-table th.n{text-align:right;white-space:nowrap}
.soloi-filterbar{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#F3F4F5;border:1px solid #DFE2E6;border-radius:10px;padding:8px 12px;margin:14px 0 4px;font-size:13.5px}
.soloi-filterbar .k-btn{min-height:34px;padding:5px 14px}
.soloi-step-row{border:1px solid #DFE2E6;border-radius:12px;padding:12px 14px;background:#fff;margin-top:12px}
.soloi-step-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.soloi-step-head b{font-size:15px}
.soloi-step-count{font-size:13px;font-weight:800;color:#5F6872;white-space:nowrap}
.soloi-step-note{color:#5F6872;font-size:13.5px;margin:6px 0 0}
.soloi-step-row .err-list{margin-top:10px}
@media(max-width:640px){.soloi-summary{grid-template-columns:1fr}}
