/* Helen6666 — lớp giao diện riêng, ĐẶT TRÊN design system Helen (helen.css: helen-rail, hld-*, hag-*).
   Chỉ khai báo khối mới (h66-*); màu/viền/bo góc bám đúng token của helen.css. */
/* AI-MARK[QAI-UI:helen6666-no-demo-data] 2026-10-02 15:20 (GMT+7) — bỏ style banner fixture; trạng thái rỗng dùng design system Helen hiện có | rel: helen/helen.css, helen6666/helen6666.js */
.h66-root {
  --h66-ink: #0f172a; --h66-text: #334155; --h66-muted: #64748b; --h66-faint: #94a3b8;
  --h66-line: #dbe4f0; --h66-soft: #f8fafc; --h66-card: #fff;
  --h66-orange: #ff6b2b; --h66-orange-d: #ea580c; --h66-orange-bg: #fff7ed; --h66-orange-line: #fdba74;
  --h66-navy: #0b1437; --h66-blue: #1d4ed8; --h66-green: #047857; --h66-red: #b91c1c; --h66-amber: #b45309; --h66-purple: #6d28d9;
}
.h66-page { display: grid; gap: 12px; max-width: 1480px; margin: 0 auto; padding-bottom: 96px; }
.h66-muted { color: var(--h66-faint); font-size: 12px; font-weight: 700; }

/* Tiêu đề trang */
.h66-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border: 1px solid var(--h66-line); border-radius: 8px; padding: 16px 18px;
  background: linear-gradient(120deg, #fff 0%, #fff 62%, #fff7ed 100%); box-shadow: 0 1px 2px rgba(15,23,42,.05); }
.h66-head-main { min-width: 0; }
.h66-kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--h66-orange-d); font-size: 11.5px; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; }
.h66-head h1 { margin: 4px 0 4px; color: var(--h66-ink); font-size: 22px; font-weight: 900; line-height: 1.2; }
.h66-head p { margin: 0; max-width: 820px; color: var(--h66-muted); font-size: 13px; font-weight: 600; line-height: 1.5; }
.h66-head-actions { display: inline-flex; gap: 8px; flex: 0 0 auto; }
.h66-head-action-group { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }

/* Nút */
.h66-btn { min-height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--h66-line); border-radius: 7px; padding: 0 12px;
  background: #fff; color: var(--h66-text); font-size: 12.5px; font-weight: 850; text-decoration: none; cursor: pointer; white-space: nowrap; transition: .15s ease; }
.h66-btn:hover { border-color: var(--h66-orange-line); background: var(--h66-orange-bg); color: #c2410c; }
.h66-btn--primary { border-color: transparent; background: linear-gradient(135deg, #ff7a3d, var(--h66-orange-d)); color: #fff; }
.h66-btn--primary:hover { color: #fff; filter: brightness(1.05); background: linear-gradient(135deg, #ff7a3d, var(--h66-orange-d)); }
.h66-btn--ghost { background: var(--h66-soft); color: var(--h66-muted); }
.h66-btn:focus-visible, .h66-chip:focus-visible, .h66-item:focus-visible, .h66-cell:focus-visible { outline: 3px solid rgba(255,107,43,.4); outline-offset: 2px; }
.h66-link { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 0; color: var(--h66-orange-d); font-size: 12px; font-weight: 850; text-decoration: none; cursor: pointer; }
.h66-link:hover { text-decoration: underline; }

/* Nhãn trạng thái */
.h66-pill { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; border-radius: 999px; padding: 2px 9px; font-size: 11px; font-weight: 850; line-height: 1.5; white-space: nowrap; }
.h66-pill--green { background: #ecfdf5; color: var(--h66-green); }
.h66-pill--amber { background: #fffbeb; color: var(--h66-amber); }
.h66-pill--red { background: #fef2f2; color: var(--h66-red); }
.h66-pill--blue { background: #eff6ff; color: var(--h66-blue); }
.h66-pill--purple { background: #f5f3ff; color: var(--h66-purple); }
.h66-pill--slate { background: #f1f5f9; color: #475569; }

/* Thanh công cụ + chip lọc */
.h66-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; border: 1px solid var(--h66-line); border-radius: 8px; background: #fff; padding: 10px 12px; }
.h66-toolbar-label { color: var(--h66-muted); font-size: 12px; font-weight: 850; }
.h66-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.h66-chip { min-height: 30px; border: 1px solid var(--h66-line); border-radius: 999px; padding: 0 12px; background: #fff; color: var(--h66-muted); font-size: 12px; font-weight: 800; cursor: pointer; transition: .15s ease; }
.h66-chip:hover { border-color: var(--h66-orange-line); color: #c2410c; }
.h66-chip.is-active { border-color: var(--h66-orange-line); background: var(--h66-orange-bg); color: var(--h66-orange-d); }
.h66-search { flex: 1 1 340px; min-width: 240px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--h66-line); border-radius: 8px; padding: 0 10px; background: var(--h66-soft); color: var(--h66-faint); }
.h66-search input { flex: 1; min-width: 0; height: 36px; border: 0; background: transparent; color: var(--h66-ink); font-size: 13px; font-weight: 600; outline: none; }
.h66-search:focus-within { border-color: var(--h66-orange-line); background: #fff; }

/* Bố cục danh sách + chi tiết */
.h66-split { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 12px; align-items: start; }
.h66-split--reader { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); }
.h66-list { display: grid; gap: 6px; max-height: calc(100vh - 140px); overflow-y: auto; padding-right: 2px; position: sticky; top: 12px; }
.h66-group { margin: 8px 2px 0; color: var(--h66-faint); font-size: 11px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.h66-item { display: grid; gap: 5px; width: 100%; text-align: left; border: 1px solid var(--h66-line); border-left: 3px solid transparent; border-radius: 8px; background: #fff; padding: 10px 12px; cursor: pointer; transition: .15s ease; }
.h66-item:hover { border-color: #cbd5e1; box-shadow: 0 2px 8px rgba(15,23,42,.06); }
.h66-item.is-active { border-color: var(--h66-orange-line); border-left-color: var(--h66-orange); background: #fffaf5; }
.h66-item-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.h66-item-top b { color: var(--h66-ink); font-size: 13px; font-weight: 900; line-height: 1.35; }
.h66-item-title { color: var(--h66-muted); font-size: 12px; font-weight: 650; line-height: 1.4; }
.h66-item-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; color: var(--h66-faint); font-size: 11px; font-weight: 750; }
.h66-key { display: inline-flex; align-items: center; gap: 3px; color: var(--h66-orange-d); font-size: 10.5px; font-weight: 900; white-space: nowrap; }
.h66-num { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; margin-right: 7px; border-radius: 6px; background: #f1f5f9; color: #475569; font-size: 11px; font-style: normal; font-weight: 900; }
.h66-detail { min-width: 0; border: 1px solid var(--h66-line); border-radius: 8px; background: #fff; padding: 16px 18px; box-shadow: 0 1px 2px rgba(15,23,42,.05); }
.h66-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #eef2f7; margin-bottom: 12px; }
.h66-detail-head em { color: var(--h66-faint); font-size: 11.5px; font-style: normal; font-weight: 850; }
.h66-detail-head h2 { margin: 2px 0; color: var(--h66-ink); font-size: 18px; font-weight: 900; line-height: 1.3; }
.h66-detail-head p { margin: 0; color: var(--h66-muted); font-size: 12.5px; font-weight: 650; }
.h66-detail-pills { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.h66-facts, .h66-evidence { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--h66-muted); font-size: 12px; font-weight: 700; }
.h66-facts span, .h66-evidence span { display: inline-flex; align-items: center; gap: 5px; }
.h66-facts b, .h66-evidence b { color: var(--h66-ink); }
.h66-evidence { border: 1px dashed #cbd5e1; border-radius: 7px; padding: 7px 10px; background: var(--h66-soft); margin-bottom: 12px; }
.h66-h3 { margin: 16px 0 8px; color: var(--h66-ink); font-size: 13px; font-weight: 900; }
.h66-note { margin: 10px 0 0; color: var(--h66-text); font-size: 13px; font-weight: 600; line-height: 1.55; }
.h66-note--fallback { display: flex; gap: 6px; border-radius: 7px; background: #f0f9ff; color: #075985; padding: 8px 10px; }
.h66-lead { margin: 0 0 12px; color: var(--h66-text); font-size: 13.5px; font-weight: 650; line-height: 1.6; }
.h66-empty { display: grid; justify-items: center; gap: 4px; text-align: center; border: 1px dashed #cbd5e1; border-radius: 8px; padding: 22px 14px; color: var(--h66-muted); font-size: 12.5px; font-weight: 650; }
.h66-empty b { color: var(--h66-ink); font-size: 13px; }
.h66-empty--sm { display: flex; justify-content: flex-start; text-align: left; padding: 10px 12px; }

/* Cảnh báo */
.h66-alert { display: flex; align-items: flex-start; gap: 10px; border: 1px solid; border-radius: 8px; padding: 12px 14px; font-size: 12.5px; font-weight: 650; line-height: 1.5; }
.h66-alert > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.h66-alert b { font-size: 13px; font-weight: 900; }
.h66-alert--red { border-color: #fecaca; background: #fef2f2; color: #7f1d1d; }
.h66-alert--red > svg { color: #dc2626; flex: 0 0 auto; }
.h66-alert--amber { border-color: #fde68a; background: #fffbeb; color: #78350f; }
.h66-alert--amber > svg { color: #d97706; flex: 0 0 auto; }
.h66-alert--navy { border-color: #c7d2fe; background: #f8faff; color: #1e3a8a; }
.h66-alert--navy > svg { color: #2563eb; flex: 0 0 auto; }
.h66-alert--sm { padding: 9px 12px; margin-top: 10px; }
.h66-alert .h66-btn { align-self: center; }

/* Điều/Khoản, căn cứ, liên kết */
.h66-articles { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.h66-articles li { border: 1px solid #eef2f7; border-radius: 8px; padding: 10px 12px; background: var(--h66-soft); }
.h66-articles li.is-hot { border-color: #fecaca; background: #fff8f8; }
.h66-articles li > div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.h66-articles li b { color: var(--h66-ink); font-size: 12.5px; font-weight: 900; }
.h66-articles li span { color: var(--h66-muted); font-size: 12px; font-weight: 750; }
.h66-articles li p { margin: 5px 0 6px; color: var(--h66-text); font-size: 13px; font-weight: 600; line-height: 1.55; }
.h66-ref { display: inline-block; border-radius: 6px; background: #eef2ff; color: #3730a3; padding: 1px 7px; font-size: 11.5px; font-weight: 850; white-space: nowrap; }
.h66-linkcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.h66-linkcard { display: flex; align-items: center; gap: 8px; border: 1px solid var(--h66-line); border-radius: 8px; padding: 9px 11px; background: #fff; color: var(--h66-text); font-size: 12.5px; font-weight: 800; text-decoration: none; transition: .15s ease; }
.h66-linkcard > span { flex: 1; min-width: 0; display: grid; }
.h66-linkcard small { color: var(--h66-faint); font-size: 11px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h66-linkcard svg { color: var(--h66-orange); flex: 0 0 auto; }
.h66-linkcard:hover { border-color: var(--h66-orange-line); background: var(--h66-orange-bg); }

/* Bảng */
.h66-table-wrap { overflow-x: auto; border: 1px solid #eef2f7; border-radius: 8px; }
.h66-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.h66-table th { position: sticky; top: 0; background: var(--h66-soft); color: #475569; font-size: 11.5px; font-weight: 900; text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--h66-line); white-space: nowrap; }
.h66-table th small { display: block; color: var(--h66-faint); font-size: 10.5px; font-weight: 750; }
.h66-table td { padding: 9px 10px; border-bottom: 1px solid #eef2f7; color: var(--h66-text); font-weight: 600; vertical-align: top; line-height: 1.45; }
.h66-table td b { color: var(--h66-ink); font-weight: 850; }
.h66-table--issues td:first-child b { white-space: nowrap; }
.h66-table tr:last-child td { border-bottom: 0; }
.h66-table tr.is-hot td { background: #fff8f8; }
.h66-table tr.is-hot td:first-child { box-shadow: inset 3px 0 0 #ef4444; }
.h66-table td .h66-pill { margin-left: 4px; }
.h66-table--sm td, .h66-table--sm th { padding: 6px 8px; font-size: 12px; }
.h66-table--num td:not(:first-child), .h66-table--num th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.h66-table tr.is-total td { background: #f8fafc; font-weight: 900; color: var(--h66-ink); }
.h66-table td.is-neg { color: var(--h66-red); font-weight: 900; }
.h66-del { color: #9f1239 !important; text-decoration: line-through; text-decoration-color: rgba(159,18,57,.35); }
.h66-ins { color: #065f46 !important; font-weight: 800 !important; }
.h66-foot-note { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; color: var(--h66-muted); font-size: 11.5px; font-weight: 700; }
.h66-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* Radar thay đổi */
.h66-radar { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.h66-radar-item { display: grid; gap: 6px; border: 1px solid var(--h66-line); border-top: 3px solid #cbd5e1; border-radius: 8px; background: #fff; padding: 12px 14px; }
.h66-radar-item--red { border-top-color: #ef4444; }
.h66-radar-item--amber { border-top-color: #f59e0b; }
.h66-radar-item--blue { border-top-color: #3b82f6; }
.h66-radar-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.h66-radar-top em { color: var(--h66-faint); font-size: 11px; font-style: normal; font-weight: 800; }
.h66-radar-item > b { color: var(--h66-ink); font-size: 13.5px; font-weight: 900; }
.h66-radar-item p { margin: 0; color: var(--h66-text); font-size: 12.5px; font-weight: 600; line-height: 1.5; }
.h66-radar-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--h66-muted); font-size: 11.5px; font-weight: 700; }
.h66-radar-foot > span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }

/* Tổng quan: 6 khu vực */
.h66-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.h66-area { position: relative; display: grid; gap: 4px; border: 1px solid var(--h66-line); border-radius: 8px; background: #fff; padding: 14px 14px 12px 56px; text-decoration: none; transition: .15s ease; min-height: 104px; }
.h66-area:hover { border-color: var(--h66-orange-line); box-shadow: 0 6px 18px rgba(234,88,12,.08); transform: translateY(-1px); }
.h66-area-ico { position: absolute; left: 14px; top: 14px; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--h66-orange-bg); color: var(--h66-orange-d); }
.h66-area b { color: var(--h66-ink); font-size: 14px; font-weight: 900; padding-right: 26px; }
.h66-area-desc { color: var(--h66-muted); font-size: 12.5px; font-weight: 600; line-height: 1.45; }
.h66-area em { margin-top: 2px; color: var(--h66-orange-d); font-size: 11.5px; font-style: normal; font-weight: 850; }

/* Lưới */
.h66-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.h66-grid-main { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); align-items: start; }
.h66-side, .h66-stack { display: grid; gap: 12px; min-width: 0; }

/* Dòng thời gian mốc */
.h66-timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.h66-timeline li { display: grid; grid-template-columns: 116px minmax(0, 1fr) auto; align-items: start; gap: 10px; padding: 9px 0; border-bottom: 1px solid #eef2f7; }
.h66-timeline li:last-child { border-bottom: 0; }
.h66-tl-date { color: var(--h66-orange-d); font-size: 12px; font-weight: 900; font-variant-numeric: tabular-nums; }
.h66-timeline li > div { display: grid; gap: 2px; min-width: 0; }
.h66-timeline li b { color: var(--h66-ink); font-size: 12.5px; font-weight: 850; line-height: 1.4; }
.h66-timeline li a { color: var(--h66-muted); font-size: 11.5px; font-weight: 750; text-decoration: none; }
.h66-timeline li a:hover { color: var(--h66-orange-d); text-decoration: underline; }

/* Quyết định cần chốt */
.h66-decisions { display: grid; gap: 8px; }
.h66-decision { display: grid; gap: 4px; border: 1px solid var(--h66-line); border-left: 3px solid #cbd5e1; border-radius: 8px; padding: 10px 12px; background: #fff; }
.h66-decision--red { border-left-color: #ef4444; }
.h66-decision--amber { border-left-color: #f59e0b; }
.h66-decision > div { display: grid; gap: 2px; }
.h66-decision em { color: var(--h66-faint); font-size: 11px; font-style: normal; font-weight: 900; }
.h66-decision b { color: var(--h66-ink); font-size: 13px; font-weight: 900; line-height: 1.4; }
.h66-decision span { color: var(--h66-text); font-size: 12px; font-weight: 600; }
.h66-decision small { color: var(--h66-muted); font-size: 11.5px; font-weight: 750; }

/* Trình đọc hợp đồng */
.h66-rtabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid #eef2f7; margin-bottom: 12px; }
.h66-rtab { display: inline-flex; align-items: center; gap: 6px; border: 0; border-bottom: 2px solid transparent; background: none; padding: 8px 10px; color: var(--h66-muted); font-size: 12.5px; font-weight: 850; cursor: pointer; }
.h66-rtab:hover { color: #c2410c; }
.h66-rtab.is-active { border-bottom-color: var(--h66-orange); color: var(--h66-orange-d); }
.h66-rbody { min-height: 220px; }
.h66-terms { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.h66-terms > div { display: grid; gap: 2px; border: 1px solid #eef2f7; border-radius: 8px; padding: 9px 11px; background: var(--h66-soft); }
.h66-terms em { color: var(--h66-faint); font-size: 11px; font-style: normal; font-weight: 850; }
.h66-terms b { color: var(--h66-ink); font-size: 12.5px; font-weight: 800; line-height: 1.4; }
.h66-clauses { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.h66-clause { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; border: 1px solid #eef2f7; border-radius: 8px; padding: 9px 12px; background: #fff; }
.h66-clause > div { display: grid; gap: 2px; min-width: 0; }
.h66-clause b { color: var(--h66-ink); font-size: 12.5px; font-weight: 900; }
.h66-clause span { color: var(--h66-muted); font-size: 12px; font-weight: 650; }
.h66-clause--green > svg { color: #059669; }
.h66-clause--amber { border-color: #fde68a; background: #fffdf5; }
.h66-clause--amber > svg { color: #d97706; }
.h66-clause--red { border-color: #fecaca; background: #fff8f8; }
.h66-clause--red > svg { color: #dc2626; }
.h66-actions-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.h66-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.h66-related-card { display: grid; gap: 4px; justify-items: start; text-align: left; border: 1px solid var(--h66-line); border-radius: 8px; padding: 10px 12px; background: #fff; cursor: pointer; }
.h66-related-card:hover { border-color: var(--h66-orange-line); background: var(--h66-orange-bg); }
.h66-related-card b { color: var(--h66-ink); font-size: 13px; font-weight: 900; }
.h66-related-card span { color: var(--h66-muted); font-size: 11.5px; font-weight: 700; }
.h66-ask { display: flex; align-items: center; gap: 8px; margin-top: 16px; border: 1px solid var(--h66-line); border-radius: 10px; padding: 6px 6px 6px 12px; background: var(--h66-soft); color: var(--h66-orange); }
.h66-ask input { flex: 1; min-width: 0; height: 34px; border: 0; background: transparent; color: var(--h66-ink); font-size: 13px; font-weight: 600; outline: none; }
.h66-ask:focus-within { border-color: var(--h66-orange-line); background: #fff; }

/* Đề xuất điều khoản */
.h66-anchors { display: flex; flex-wrap: wrap; gap: 6px; }
.h66-anchors span { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #e0e7ff; border-radius: 999px; background: #eef2ff; color: #3730a3; padding: 3px 10px; font-size: 11.5px; font-weight: 850; }
.h66-proposal { border: 1px solid var(--h66-orange-line); border-radius: 8px; background: #fffbf7; overflow: hidden; }
.h66-proposal-tag { display: flex; align-items: center; gap: 5px; background: var(--h66-orange-bg); color: #c2410c; padding: 6px 12px; font-size: 11px; font-weight: 900; border-bottom: 1px solid #fed7aa; }
.h66-proposal p { margin: 0; padding: 12px 14px; color: var(--h66-ink); font-family: Georgia, 'Times New Roman', serif; font-size: 14px; line-height: 1.7; }
.h66-covrow { display: flex; flex-wrap: wrap; gap: 6px; }
.h66-cov { display: inline-flex; align-items: center; gap: 6px; border-radius: 7px; padding: 5px 9px; font-size: 11.5px; font-weight: 850; }
.h66-cov b { font-weight: 900; color: var(--h66-ink); }
.h66-cov--green { background: #ecfdf5; color: var(--h66-green); }
.h66-cov--amber { background: #fffbeb; color: var(--h66-amber); }
.h66-cov--red { background: #fef2f2; color: var(--h66-red); }
.h66-cov--slate { background: #f1f5f9; color: #64748b; }
.h66-matrix td { vertical-align: middle; }
.h66-cell { width: 100%; min-height: 30px; border: 1px solid transparent; border-radius: 6px; font-size: 11.5px; font-weight: 850; cursor: pointer; transition: .12s ease; }
.h66-cell:hover { filter: brightness(.96); border-color: rgba(15,23,42,.12); }
.h66-cell--green { background: #ecfdf5; color: var(--h66-green); }
.h66-cell--amber { background: #fffbeb; color: var(--h66-amber); }
.h66-cell--red { background: #fef2f2; color: var(--h66-red); }
.h66-cell--slate { background: #f8fafc; color: #94a3b8; }

/* Lưu trữ đàm phán */
.h66-rounds { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.h66-round { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 0 0 16px; }
.h66-round:not(:last-child)::before { content: ''; position: absolute; left: 21px; top: 40px; bottom: 0; width: 2px; background: #e2e8f0; }
.h66-round-badge { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--h66-navy); color: #fff; font-size: 13px; font-weight: 900; }
.h66-round:first-child .h66-round-badge { background: linear-gradient(135deg, #ff7a3d, var(--h66-orange-d)); }
.h66-round-body { min-width: 0; border: 1px solid #eef2f7; border-radius: 8px; padding: 10px 12px; background: #fff; }
.h66-round-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.h66-round-head b { color: var(--h66-ink); font-size: 13.5px; font-weight: 900; }
.h66-round-head em { color: var(--h66-faint); font-size: 11.5px; font-style: normal; font-weight: 750; }
.h66-round-body p { margin: 6px 0 8px; color: var(--h66-text); font-size: 12.5px; font-weight: 600; line-height: 1.5; }
.h66-openlist { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.h66-openlist li { display: grid; gap: 3px; justify-items: start; border: 1px solid #eef2f7; border-radius: 8px; padding: 9px 11px; }
.h66-openlist b { color: var(--h66-ink); font-size: 12.5px; font-weight: 900; }
.h66-openlist span { color: var(--h66-text); font-size: 12px; font-weight: 600; }
.h66-openlist small { color: var(--h66-faint); font-size: 11px; font-weight: 750; }

/* Công cụ tính phí */
.h66-calc { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 12px; align-items: start; }
.h66-calc-form { position: sticky; top: 12px; }
.h66-calc-out { display: grid; gap: 12px; min-width: 0; }
.h66-fieldset { border: 0; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.h66-fieldset legend { margin-bottom: 6px; color: var(--h66-orange-d); font-size: 11.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; }
.h66-field { display: grid; gap: 4px; }
.h66-field > span { color: var(--h66-text); font-size: 12px; font-weight: 800; }
.h66-field > div { display: flex; align-items: center; border: 1px solid var(--h66-line); border-radius: 7px; background: var(--h66-soft); overflow: hidden; }
.h66-field input { flex: 1; min-width: 0; height: 34px; border: 0; background: transparent; padding: 0 10px; color: var(--h66-ink); font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; outline: none; }
.h66-field em { padding: 0 10px; color: var(--h66-faint); font-size: 11.5px; font-style: normal; font-weight: 850; border-left: 1px solid var(--h66-line); }
.h66-field:focus-within > div { border-color: var(--h66-orange-line); background: #fff; }
.h66-field--inline { max-width: 420px; margin-bottom: 10px; }
.h66-scen { display: flex; flex-wrap: wrap; gap: 6px; }
.h66-metrics-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.h66-bars { display: grid; gap: 10px; }
.h66-bar { display: grid; grid-template-columns: 170px minmax(0, 1fr) 70px; align-items: center; gap: 10px; }
.h66-bar span { color: var(--h66-text); font-size: 12px; font-weight: 800; }
.h66-bar b { color: var(--h66-ink); font-size: 12.5px; font-weight: 900; text-align: right; font-variant-numeric: tabular-nums; }
.h66-bar-track { height: 10px; border-radius: 999px; background: #f1f5f9; overflow: hidden; }
.h66-bar-fill { display: block; height: 100%; border-radius: 999px; }
.h66-bar-fill--green { background: #10b981; }
.h66-bar-fill--amber { background: #f59e0b; }
.h66-bar-fill--blue { background: #3b82f6; }
.h66-bar-fill--purple { background: #8b5cf6; }
.h66-bar-fill--slate { background: #94a3b8; }
.h66-checks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.h66-checks li { display: flex; align-items: flex-start; gap: 8px; border-radius: 8px; padding: 9px 11px; }
.h66-checks li > div { display: grid; gap: 2px; }
.h66-checks li b { color: var(--h66-ink); font-size: 12.5px; font-weight: 900; }
.h66-checks li span { color: var(--h66-text); font-size: 12px; font-weight: 600; }
.h66-checks li.is-ok { background: #f0fdf4; } .h66-checks li.is-ok > svg { color: #059669; flex: 0 0 auto; }
.h66-checks li.is-warn { background: #fffbeb; } .h66-checks li.is-warn > svg { color: #d97706; flex: 0 0 auto; }

/* Audit — dải các vòng */
.h66-roundstrip { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.h66-roundcard { display: grid; gap: 4px; text-align: left; border: 1px solid var(--h66-line); border-radius: 8px; background: #fff; padding: 12px; cursor: pointer; transition: .15s ease; }
.h66-roundcard:hover { border-color: #cbd5e1; }
.h66-roundcard.is-active { border-color: var(--h66-orange-line); background: #fffaf5; box-shadow: inset 0 3px 0 var(--h66-orange); }
.h66-roundcard > div { display: flex; align-items: baseline; justify-content: space-between; }
.h66-roundcard > div b { color: var(--h66-ink); font-size: 14px; font-weight: 900; }
.h66-roundcard > div em { color: var(--h66-faint); font-size: 11.5px; font-style: normal; font-weight: 800; }
.h66-roundcard strong { font-size: 26px; font-weight: 900; line-height: 1.1; }
.h66-roundcard span { color: var(--h66-text); font-size: 12px; font-weight: 750; }
.h66-roundcard small { color: var(--h66-faint); font-size: 11px; font-weight: 750; }
.h66-root .is-good { color: #059669; } .h66-root .is-mid { color: #d97706; } .h66-root .is-low { color: #dc2626; }
.h66-trend { display: flex; align-items: flex-end; justify-content: space-around; gap: 10px; height: 170px; padding-top: 6px; }
.h66-trend-col { flex: 1; display: grid; justify-items: center; gap: 4px; height: 100%; grid-template-rows: auto 1fr auto auto; }
.h66-trend-col b { color: var(--h66-ink); font-size: 12px; font-weight: 900; }
.h66-trend-bar { width: 100%; max-width: 44px; display: flex; align-items: flex-end; border-radius: 7px 7px 0 0; background: #f1f5f9; overflow: hidden; }
.h66-trend-bar i { display: block; width: 100%; border-radius: 7px 7px 0 0; }
.h66-trend-bar i.is-good { background: #10b981; } .h66-trend-bar i.is-mid { background: #f59e0b; } .h66-trend-bar i.is-low { background: #ef4444; }
.h66-trend-col span { color: var(--h66-text); font-size: 12px; font-weight: 900; }
.h66-trend-col small { color: var(--h66-faint); font-size: 10.5px; font-weight: 750; }
.h66-gates { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.h66-gates li { display: flex; align-items: center; gap: 8px; color: var(--h66-faint); font-size: 12.5px; font-weight: 750; }
.h66-gates li.is-done { color: var(--h66-green); }
.h66-gates li.is-current { color: var(--h66-orange-d); font-weight: 900; }
.h66-progress { height: 10px; border-radius: 999px; background: #f1f5f9; overflow: hidden; margin-bottom: 10px; }
.h66-progress i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #ff7a3d, var(--h66-orange-d)); }

/* Audit — góc nhìn CEO */
.h66-ceo { display: grid; gap: 12px; }
.h66-verdict { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; border: 1px solid; border-radius: 10px; padding: 18px 20px; }
.h66-verdict--green { border-color: #a7f3d0; background: linear-gradient(120deg, #ecfdf5, #fff); }
.h66-verdict--amber { border-color: #fde68a; background: linear-gradient(120deg, #fffbeb, #fff); }
.h66-verdict--red { border-color: #fecaca; background: linear-gradient(120deg, #fef2f2, #fff); }
.h66-verdict em { color: var(--h66-muted); font-size: 11.5px; font-style: normal; font-weight: 850; }
.h66-verdict h2 { margin: 2px 0 4px; color: var(--h66-ink); font-size: 24px; font-weight: 900; }
.h66-verdict p { margin: 0; max-width: 760px; color: var(--h66-text); font-size: 13.5px; font-weight: 650; line-height: 1.55; }
.h66-light { display: inline-block; width: 14px; height: 14px; border-radius: 999px; box-shadow: 0 0 0 4px rgba(15,23,42,.05); }
.h66-light--lg { width: 46px; height: 46px; box-shadow: 0 0 0 8px rgba(15,23,42,.04); }
.h66-light--green { background: #10b981; } .h66-light--amber { background: #f59e0b; } .h66-light--red { background: #ef4444; }
.h66-countdown { display: grid; justify-items: center; border-left: 1px solid rgba(15,23,42,.08); padding-left: 18px; }
.h66-countdown b { color: var(--h66-ink); font-size: 34px; font-weight: 900; line-height: 1; }
.h66-countdown span { color: var(--h66-muted); font-size: 11.5px; font-weight: 800; text-align: center; max-width: 110px; }
.h66-ceorisks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.h66-ceorisks li { display: flex; align-items: flex-start; gap: 10px; border-bottom: 1px solid #eef2f7; padding-bottom: 10px; }
.h66-ceorisks li:last-child { border-bottom: 0; padding-bottom: 0; }
.h66-ceorisks li > div { display: grid; gap: 2px; }
.h66-ceorisks b { color: var(--h66-ink); font-size: 13.5px; font-weight: 850; line-height: 1.45; }
.h66-ceorisks span { color: var(--h66-faint); font-size: 11.5px; font-weight: 750; }
.h66-portfolio { display: grid; gap: 8px; }
.h66-port { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "b l" "e e" "s s"; gap: 3px 10px; text-align: left; border: 1px solid var(--h66-line); border-radius: 8px; background: #fff; padding: 11px 12px; cursor: pointer; }
.h66-port.is-active { border-color: var(--h66-orange-line); background: #fffaf5; }
.h66-port b { grid-area: b; color: var(--h66-ink); font-size: 13px; font-weight: 900; }
.h66-port .h66-light { grid-area: l; align-self: center; }
.h66-port em { grid-area: e; color: var(--h66-text); font-size: 12.5px; font-style: normal; font-weight: 850; }
.h66-port small { grid-area: s; color: var(--h66-faint); font-size: 11.5px; font-weight: 750; }

/* Khoá quyền */
.h66-locked { display: grid; justify-items: center; gap: 10px; max-width: 560px; margin: 80px auto; text-align: center; border: 1px solid var(--h66-line); border-radius: 12px; background: #fff; padding: 36px 28px; color: var(--h66-muted); }
.h66-locked > svg { color: var(--h66-orange); }
.h66-locked h1 { margin: 0; color: var(--h66-ink); font-size: 20px; font-weight: 900; }
.h66-locked p { margin: 0; font-size: 13.5px; font-weight: 600; line-height: 1.6; }

/* Thư viện pháp lý — mô hình danh mục/chi tiết, bộ lọc gọn và đủ khoảng thở */
.h66-library-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.h66-library-tools { display: grid; gap: 9px; border: 1px solid var(--h66-line); border-radius: 9px; background: #fff; padding: 11px 12px; }
.h66-library-searchrow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.h66-library-search { flex: 1 1 360px; min-width: 220px; }
.h66-library-resultcount { margin-left: auto; color: var(--h66-muted); font-size: 11.5px; font-weight: 750; white-space: nowrap; }
.h66-library-resultcount b { color: var(--h66-ink); font-size: 13px; font-weight: 900; }
.h66-library-filter { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; align-items: start; padding-top: 8px; border-top: 1px solid #eef2f7; }
.h66-library-filter > b { display: inline-flex; align-items: center; gap: 6px; padding-top: 6px; color: var(--h66-muted); font-size: 11.5px; font-weight: 900; }
.h66-library-filter > b svg { color: var(--h66-orange-d); }
.h66-library-filter .h66-chips { min-width: 0; }
.h66-library-filter .h66-chip { min-height: 28px; padding: 0 10px; font-size: 11.5px; }
.h66-library-split { display: grid; grid-template-columns: minmax(290px, .9fr) minmax(0, 1.35fr); gap: 12px; align-items: start; }
.h66-library-results { min-width: 0; }
.h66-library-section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 2px 8px; }
.h66-library-section-head > div { display: grid; gap: 2px; }
.h66-library-section-head b { color: var(--h66-ink); font-size: 13px; font-weight: 900; }
.h66-library-section-head span { color: var(--h66-muted); font-size: 11.5px; font-weight: 650; }
.h66-library-section-head > svg { color: var(--h66-faint); }
.h66-library-list { display: grid; gap: 7px; max-height: min(720px, calc(100vh - 290px)); overflow: auto; padding: 1px 3px 2px 1px; scrollbar-gutter: stable; }
.h66-library-card { display: grid; gap: 7px; width: 100%; min-width: 0; text-align: left; border: 1px solid var(--h66-line); border-left: 3px solid transparent; border-radius: 9px; background: #fff; padding: 10px 11px; cursor: pointer; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.h66-library-card:hover { border-color: #cbd5e1; box-shadow: 0 3px 10px rgba(15,23,42,.06); }
.h66-library-card.is-active { border-color: var(--h66-orange-line); border-left-color: var(--h66-orange); background: #fffaf5; box-shadow: 0 3px 12px rgba(234,88,12,.08); }
.h66-library-card:focus-visible { outline: 3px solid rgba(255,107,43,.32); outline-offset: 2px; }
.h66-library-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.h66-library-card-top > b { min-width: 0; color: var(--h66-ink); font-size: 12.5px; font-weight: 900; line-height: 1.45; overflow-wrap: anywhere; }
.h66-library-card-top .h66-pill { white-space: normal; text-align: center; }
.h66-library-card > strong { color: var(--h66-text); font-size: 12px; font-weight: 800; line-height: 1.45; overflow-wrap: anywhere; }
.h66-library-card-note { color: var(--h66-muted); font-size: 11.5px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.h66-library-card-meta, .h66-library-card-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 12px; color: var(--h66-faint); font-size: 10.8px; font-weight: 750; }
.h66-library-card-meta span, .h66-library-card-foot em { display: inline-flex; align-items: center; gap: 4px; }
.h66-library-card-meta svg, .h66-library-card-foot svg { flex: 0 0 auto; color: var(--h66-orange-d); }
.h66-library-card-foot { justify-content: space-between; padding-top: 6px; border-top: 1px solid #eef2f7; }
.h66-library-card-foot em { color: var(--h66-orange-d); font-style: normal; font-weight: 850; }
.h66-law-detail { min-height: 300px; }
.h66-law-detail .h66-detail-head { align-items: flex-start; }
.h66-law-detail .h66-detail-head h2 { font-size: 17px; overflow-wrap: anywhere; }
.h66-law-signal { display: grid; gap: 5px; border: 1px solid #dbeafe; border-left: 3px solid #3b82f6; border-radius: 8px; background: #f8fbff; padding: 10px 12px; }
.h66-law-signal > div { display: inline-flex; align-items: center; gap: 6px; color: #1d4ed8; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }
.h66-law-signal p { margin: 0; color: var(--h66-text); font-size: 12.5px; font-weight: 650; line-height: 1.6; overflow-wrap: anywhere; }
.h66-law-detail .h66-facts { margin-top: 10px; gap: 8px 14px; }
.h66-law-detail .h66-h3 { margin-top: 18px; }
.h66-law-detail .h66-articles { gap: 9px; }
.h66-law-detail .h66-articles li { padding: 12px 13px; }
.h66-library-view-intro { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--h66-line); border-radius: 9px; background: linear-gradient(110deg, #fff 0%, #fffaf5 100%); padding: 12px 14px; }
.h66-library-view-intro > div { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.h66-library-view-intro > div > svg { flex: 0 0 auto; color: var(--h66-orange-d); margin-top: 1px; }
.h66-library-view-intro > div > div { display: grid; gap: 2px; }
.h66-library-view-intro b { color: var(--h66-ink); font-size: 13px; font-weight: 900; }
.h66-library-view-intro span, .h66-library-view-intro > span { color: var(--h66-muted); font-size: 11.5px; font-weight: 700; line-height: 1.5; }
.h66-library-view-intro > span { flex: 0 0 auto; }
.h66-library-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.h66-library-feed .h66-radar-item { min-width: 0; padding: 14px; }
.h66-library-feed .h66-radar-foot { flex-wrap: wrap; }
.h66-library-feed .h66-radar-foot > span { min-width: 0; overflow-wrap: anywhere; }
.h66-library-alert-summary { display: flex; align-items: flex-start; gap: 10px; border: 1px solid #fed7aa; border-left: 3px solid #f97316; border-radius: 9px; background: #fffaf5; padding: 11px 13px; color: #9a3412; }
.h66-library-alert-summary > svg { flex: 0 0 auto; margin-top: 1px; }
.h66-library-alert-summary > div { display: grid; gap: 2px; }
.h66-library-alert-summary b { font-size: 12.5px; font-weight: 900; }
.h66-library-alert-summary span { color: #7c2d12; font-size: 12px; font-weight: 650; line-height: 1.5; }
.h66-library-alert-tools { justify-content: flex-start; }
.h66-library-impact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.h66-library-impact-card { display: grid; align-content: start; gap: 10px; min-width: 0; border: 1px solid var(--h66-line); border-radius: 9px; background: #fff; padding: 13px; }
.h66-library-impact-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.h66-library-impact-head > div { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.h66-library-impact-head > div > svg { flex: 0 0 auto; color: var(--h66-orange-d); margin-top: 2px; }
.h66-library-impact-head > div > div { display: grid; gap: 2px; min-width: 0; }
.h66-library-impact-head b { color: var(--h66-ink); font-size: 13px; font-weight: 900; }
.h66-library-impact-head span { color: var(--h66-muted); font-size: 11px; font-weight: 700; line-height: 1.45; }
.h66-library-impact-card > p { margin: 0; color: var(--h66-text); font-size: 12px; font-weight: 600; line-height: 1.55; }
.h66-library-impact-laws { display: grid; gap: 6px; }
.h66-library-impact-laws > b { color: var(--h66-faint); font-size: 10.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .025em; }
.h66-library-impact-laws > button { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; text-align: left; border: 1px solid #eef2f7; border-radius: 7px; background: var(--h66-soft); padding: 7px 9px; cursor: pointer; }
.h66-library-impact-laws > button:hover { border-color: var(--h66-orange-line); background: var(--h66-orange-bg); }
.h66-library-impact-laws > button > span:first-child { color: var(--h66-text); font-size: 11.5px; font-weight: 800; overflow-wrap: anywhere; }
.h66-library-impact-card > .h66-btn { justify-self: start; }

/* Thanh tab ngang cho màn hẹp (rail ẩn dưới 1024px) */
.h66-mobilenav { display: none; }
@media (max-width: 1023px) {
  .h66-mobilenav { position: sticky; top: 6px; z-index: 20; display: flex; gap: 6px; overflow-x: auto; margin: 0 0 12px; padding: 8px; border-radius: 12px; background: var(--h66-navy); box-shadow: 0 6px 18px rgba(2,6,23,.18); scrollbar-width: none; }
  .h66-root .hld-view-tabs-note { display: none; }
  .h66-mobilenav::-webkit-scrollbar { display: none; }
  .h66-mobilenav a { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; border-radius: 999px; padding: 7px 12px; color: #cbd5e1; font-size: 12.5px; font-weight: 800; text-decoration: none; }
  .h66-mobilenav a.is-active { background: rgba(255,107,43,.18); color: #fff; }
  .h66-mobilenav a.is-active svg { color: var(--h66-orange); }
  .h66-split, .h66-split--reader, .h66-calc, .h66-grid-main, .h66-grid-2 { grid-template-columns: minmax(0, 1fr); }
  .h66-library-split { grid-template-columns: minmax(0, 1fr); }
  .h66-library-list { max-height: 480px; }
  .h66-list { position: static; max-height: 360px; }
  .h66-calc-form { position: static; }
  .h66-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h66-root .hld-metrics, .h66-metrics-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
  .h66-head { flex-direction: column; align-items: flex-start; }
  .h66-head-actions, .h66-head-action-group { width: 100%; }
  .h66-head-action-group { justify-content: flex-start; }
  .h66-head-action-group .h66-btn { flex: 1 1 auto; white-space: normal; }
  .h66-head h1 { font-size: 19px; }
  .h66-areas { grid-template-columns: minmax(0, 1fr); }
  .h66-verdict { grid-template-columns: minmax(0, 1fr); }
  .h66-countdown { border-left: 0; padding-left: 0; justify-items: start; }
  .h66-timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .h66-bar { grid-template-columns: 110px minmax(0, 1fr) 54px; }
  .h66-clause { grid-template-columns: 18px minmax(0, 1fr); }
  .h66-clause > .h66-pill, .h66-clause > .h66-link { grid-column: 2; justify-self: start; }
  .h66-detail { padding: 14px; }
  .h66-alert { flex-wrap: wrap; }
  .h66-library-metrics, .h66-library-impact-grid, .h66-library-feed { grid-template-columns: minmax(0, 1fr) !important; }
  .h66-library-filter { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .h66-library-filter > b { padding-top: 0; }
  .h66-library-searchrow .h66-btn { flex: 0 0 auto; }
  .h66-library-resultcount { margin-left: 0; }
  .h66-library-view-intro { align-items: flex-start; flex-direction: column; }
  .h66-law-detail .h66-detail-head { flex-direction: column; }
  .h66-library-impact-head { flex-direction: column; }
}

/* AI-MARK[QAI-UI:helen6666-law-library] 2026-10-01 11:04 (GMT+7) — chế độ đọc luật giảm phần trang trí, tăng diện tích điều luật và neo phân tích theo bằng chứng; không giả lập nội dung toàn văn/AI thật | rel: helen6666/helen6666.js, helen/helen.css */
.h66-library-page { display: grid; gap: 12px; min-width: 0; }
.h66-library-page--reading .h66-head { align-items: center; padding: 12px 16px; }
.h66-library-page--reading .h66-head h1 { font-size: 20px; }
.h66-library-page--reading .h66-head p { max-width: 760px; font-size: 12.5px; }
.h66-law-sample-note { display: flex; align-items: center; gap: 9px; min-width: 0; border: 1px solid #fed7aa; border-radius: 8px; background: #fffbf5; padding: 8px 11px; color: #9a3412; }
.h66-law-sample-note > svg { flex: 0 0 auto; color: var(--h66-orange-d); }
.h66-law-sample-note > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 9px; min-width: 0; }
.h66-law-sample-note b { font-size: 11.5px; font-weight: 950; white-space: nowrap; }
.h66-law-sample-note span { color: #7c2d12; font-size: 11.5px; font-weight: 650; line-height: 1.45; }
.h66-library-page--reading .hld-view-tabs { align-items: flex-start; gap: 7px; padding: 8px 10px; }
.h66-library-page--reading .hld-view-tabs-list { flex-wrap: wrap; overflow: visible; gap: 5px; }
.h66-library-page--reading .hld-view-tab { min-height: 34px; padding: 6px 9px; font-size: 11.5px; }
.h66-library-page--reading .hld-view-tabs-note { align-self: center; margin-left: auto; font-size: 10.5px; }
.h66-law-advanced-filters { border-top: 1px solid #eef2f7; padding-top: 7px; }
.h66-law-advanced-filters > summary { display: flex; align-items: center; gap: 8px; min-height: 28px; cursor: pointer; list-style: none; color: var(--h66-muted); font-size: 11.5px; font-weight: 850; }
.h66-law-advanced-filters > summary::-webkit-details-marker { display: none; }
.h66-law-advanced-filters > summary::after { content: '⌄'; margin-left: 1px; color: var(--h66-faint); font-size: 15px; }
.h66-law-advanced-filters[open] > summary::after { content: '⌃'; }
.h66-law-advanced-filters > summary span { display: inline-flex; align-items: center; gap: 6px; }
.h66-law-advanced-filters > summary span svg { color: var(--h66-orange-d); }
.h66-law-advanced-filters > summary em { color: var(--h66-faint); font-size: 10.5px; font-style: normal; font-weight: 700; }
.h66-law-filter-groups { display: grid; gap: 7px; padding-top: 7px; }
.h66-law-filter-groups .h66-library-filter:first-child { border-top: 0; padding-top: 0; }
.h66-library-page--reading .h66-library-split { grid-template-columns: minmax(270px, .72fr) minmax(0, 1.65fr); gap: 10px; }
.h66-library-page--reading .h66-library-list { max-height: min(760px, calc(100vh - 300px)); }
.h66-library-page--reading .h66-library-results { position: sticky; top: 10px; }
.h66-library-page--reading .h66-library-section-head { margin-bottom: 6px; }
.h66-library-page--reading .h66-library-section-head span { font-size: 10.8px; }
.h66-law-detail { padding: 18px 20px; }
.h66-law-detail .h66-detail-head { padding-bottom: 10px; margin-bottom: 10px; }
.h66-law-detail .h66-law-signal { margin-bottom: 8px; }
.h66-law-detail .h66-facts { gap: 5px 13px; font-size: 11px; }
.h66-law-reader-shell { display: grid; gap: 9px; margin-top: 12px; }
.h66-law-reader-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.h66-law-reader-toolbar > div:first-child { display: grid; gap: 2px; }
.h66-law-reader-toolbar > div:first-child > span { display: inline-flex; align-items: center; gap: 6px; color: #1d4ed8; font-size: 10px; font-weight: 950; letter-spacing: .04em; }
.h66-law-reader-toolbar > div:first-child > b { color: var(--h66-ink); font-size: 13px; font-weight: 900; }
.h66-law-reader-size { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--h66-line); border-radius: 8px; background: #fff; padding: 3px; }
.h66-law-reader-size > span { padding: 0 5px; color: var(--h66-muted); font-size: 10.5px; font-weight: 750; }
.h66-law-reader-size button { min-width: 34px; min-height: 30px; border: 0; border-radius: 6px; background: var(--h66-soft); color: var(--h66-text); font-size: 12px; font-weight: 900; cursor: pointer; }
.h66-law-reader-size button:hover, .h66-law-reader-size button:focus-visible { background: var(--h66-orange-bg); color: var(--h66-orange-d); outline: 2px solid var(--h66-orange-line); outline-offset: 1px; }
/* AI-MARK[QAI-UI:helen6666-law-picker-map-styles] 2026-10-05 15:06 (GMT+7) — bố trí picker điều/khoản dạng thanh gọn và sơ đồ văn bản co giãn, không chiếm một khung mục lục cuộn | rel: helen6666/helen6666.js#apiLawDetailHtml,libTt36Html */
.h66-law-article-picker { display: grid; grid-template-columns: minmax(180px, .85fr) minmax(240px, 1.1fr) minmax(180px, .8fr); align-items: end; gap: 8px 11px; padding: 2px 0 7px; }
.h66-law-article-picker label { display: grid; gap: 4px; min-width: 0; }
.h66-law-article-picker label > span { color: var(--h66-muted); font-size: 10.5px; font-weight: 800; }
.h66-law-article-picker input, .h66-law-article-picker select { width: 100%; min-width: 0; min-height: 38px; border: 1px solid var(--h66-line); border-radius: 8px; background: #fff; padding: 0 10px; color: var(--h66-ink); font: inherit; font-size: 12px; }
.h66-law-article-picker input:focus-visible, .h66-law-article-picker select:focus-visible { outline: 3px solid rgba(255,107,43,.24); outline-offset: 1px; border-color: var(--h66-orange-line); }
.h66-law-article-picker select:disabled { background: var(--h66-soft); color: var(--h66-faint); cursor: not-allowed; }
.h66-law-article-help { align-self: center; color: var(--h66-faint); font-size: 10px; font-weight: 650; line-height: 1.4; }
.h66-tt36-map { display: grid; gap: 12px; min-width: 0; }
.h66-tt36-intro { border: 1px solid var(--h66-orange-line); border-radius: 9px; background: linear-gradient(100deg, #fffaf4, #fff); padding: 13px 15px; }
.h66-tt36-intro > div { display: flex; align-items: flex-start; gap: 9px; }
.h66-tt36-intro > div > svg { flex: 0 0 auto; color: var(--h66-orange-d); }
.h66-tt36-intro > div > div { display: grid; gap: 3px; }
.h66-tt36-intro b { color: var(--h66-ink); font-size: 13px; font-weight: 900; }
.h66-tt36-intro span { color: var(--h66-muted); font-size: 11.5px; line-height: 1.5; }
.h66-tt36-lineage { display: grid; grid-template-columns: minmax(220px, .8fr) 52px minmax(0, 1.4fr); align-items: stretch; gap: 10px; }
.h66-tt36-group { display: grid; align-content: start; gap: 8px; min-width: 0; }
.h66-tt36-group--root { grid-column: 1; grid-row: 1 / span 2; }
.h66-tt36-group--amendments { grid-column: 3; grid-row: 1; }
.h66-tt36-group--consolidated { grid-column: 3; grid-row: 2; }
.h66-tt36-group > h2 { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--h66-ink); font-size: 12px; font-weight: 900; }
.h66-tt36-group > h2 > span { display: inline-grid; place-items: center; min-width: 21px; height: 21px; border-radius: 999px; background: var(--h66-soft); color: var(--h66-muted); font-size: 10px; }
.h66-tt36-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 8px; }
.h66-tt36-card { display: grid; align-content: start; gap: 7px; min-width: 0; border: 1px solid var(--h66-line); border-radius: 9px; background: #fff; padding: 11px; }
.h66-tt36-group--root .h66-tt36-card { height: 100%; }
.h66-tt36-card > div { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.h66-tt36-card > div > span:first-child { color: var(--h66-orange-d); font-size: 10px; font-weight: 850; }
.h66-tt36-card h3 { margin: 0; color: var(--h66-ink); font-size: 13px; font-weight: 950; }
.h66-tt36-card p, .h66-tt36-card small { margin: 0; color: var(--h66-text); font-size: 11px; line-height: 1.45; }
.h66-tt36-card small { color: var(--h66-muted); font-size: 10px; }
.h66-tt36-card .h66-btn { justify-self: start; min-height: 33px; margin-top: 2px; }
.h66-tt36-connector { grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; color: var(--h66-faint); text-align: center; }
.h66-tt36-connector svg { color: var(--h66-orange); }
.h66-tt36-connector span { font-size: 9px; line-height: 1.3; }
.h66-tt36-missing { margin: 0; border: 1px dashed var(--h66-line); border-radius: 8px; padding: 12px; color: var(--h66-muted); font-size: 11px; line-height: 1.5; }
.h66-tt36-missing a { color: var(--h66-blue); font-weight: 800; }
.h66-tt36-limit { margin: 0; border-left: 3px solid #f59e0b; border-radius: 0 7px 7px 0; background: #fffbeb; padding: 8px 11px; color: #854d0e; font-size: 10.5px; line-height: 1.5; }
.h66-law-reading-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .88fr); align-items: start; gap: 10px; }
.h66-law-reader { display: grid; gap: 9px; min-width: 0; }
.h66-law-article { scroll-margin-top: 18px; min-width: 0; border: 1px solid var(--h66-line); border-radius: 9px; background: #fff; padding: 15px 16px; }
.h66-law-article.is-hot { border-left: 3px solid var(--h66-orange); background: linear-gradient(110deg, #fffaf5, #fff 42%); }
.h66-law-article:focus { outline: 3px solid rgba(37,99,235,.2); outline-offset: 2px; }
.h66-law-article > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.h66-law-article > header > div { display: grid; gap: 2px; }
.h66-law-article > header span { color: var(--h66-faint); font-size: 9.5px; font-weight: 900; letter-spacing: .045em; }
.h66-law-article h3 { margin: 0; color: var(--h66-ink); font-size: 15px; font-weight: 950; line-height: 1.35; }
.h66-law-article h4 { margin: 7px 0 3px; color: var(--h66-text); font-size: 14px; font-weight: 850; line-height: 1.45; }
.h66-law-article p { max-width: 74ch; margin: 5px 0 13px; color: #26364b; font-size: var(--h66-reader-font-size, 16px); font-weight: 500; line-height: 1.88; white-space: pre-wrap; overflow-wrap: anywhere; }
.h66-law-article > footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px; border-top: 1px solid #eef2f7; padding-top: 8px; }
.h66-law-article > footer > span { display: inline-flex; align-items: center; gap: 5px; color: var(--h66-faint); font-size: 10px; font-weight: 700; }
.h66-law-article > footer > span svg { color: var(--h66-amber); }
.h66-law-reader-empty { min-height: 190px; }
.h66-law-analysis { position: sticky; top: 10px; display: grid; gap: 10px; max-height: calc(100vh - 104px); overflow: auto; min-width: 0; border: 1px solid #dbeafe; border-radius: 9px; background: linear-gradient(180deg, #f8fbff, #fff 36%); padding: 13px; }
.h66-law-analysis-head { display: grid; gap: 5px; }
.h66-law-analysis-head > span:first-child { display: inline-flex; align-items: center; gap: 6px; color: #1d4ed8; font-size: 9.5px; font-weight: 950; letter-spacing: .045em; }
.h66-law-analysis-head > .h66-pill { justify-self: start; }
.h66-law-analysis-head h3 { margin: 0; color: var(--h66-ink); font-size: 17px; font-weight: 950; line-height: 1.28; }
.h66-law-analysis-head p { margin: 0; color: var(--h66-muted); font-size: 11.5px; font-weight: 650; line-height: 1.55; }
.h66-law-analysis-block { display: grid; gap: 5px; border-top: 1px solid #e8eef6; padding-top: 9px; }
.h66-law-analysis-label { color: var(--h66-faint); font-size: 9.5px; font-weight: 950; letter-spacing: .04em; }
.h66-law-analysis-block > b { color: var(--h66-ink); font-size: 11.5px; font-weight: 900; line-height: 1.4; }
.h66-law-analysis-block > p { margin: 0; color: var(--h66-text); font-size: 11px; font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; }
.h66-law-citations, .h66-law-related { display: grid; gap: 5px; }
.h66-law-citations button, .h66-law-related a { display: flex; align-items: flex-start; gap: 6px; min-width: 0; text-align: left; border: 1px solid #e8eef6; border-radius: 7px; background: #fff; padding: 6px 7px; color: var(--h66-text); font-size: 10.5px; font-weight: 750; line-height: 1.4; text-decoration: none; cursor: pointer; }
.h66-law-citations button:hover, .h66-law-related a:hover { border-color: var(--h66-orange-line); background: var(--h66-orange-bg); }
.h66-law-citations button > svg, .h66-law-related a > svg { flex: 0 0 auto; margin-top: 1px; color: var(--h66-blue); }
.h66-law-citations button > span, .h66-law-related a > span { flex: 1; min-width: 0; }
.h66-law-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.h66-law-tags span { border-radius: 999px; background: #eff6ff; padding: 3px 7px; color: #1d4ed8; font-size: 9.5px; font-weight: 850; }
.h66-law-analysis-gap { border: 1px solid #fde68a; border-radius: 7px; background: #fffbeb; padding: 8px; }
.h66-law-analysis-gap .h66-law-analysis-label { color: #a16207; }
.h66-law-analysis-gap p { color: #713f12; }
.h66-law-analysis-disclaimer { display: flex; align-items: flex-start; gap: 6px; border-radius: 7px; background: #eff6ff; padding: 8px; color: #1e40af; font-size: 10px; font-weight: 700; line-height: 1.45; }
.h66-law-analysis-disclaimer svg { flex: 0 0 auto; margin-top: 1px; }
.h66-law-full-text { margin: 8px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: var(--h66-reader-font-size, 15px); font-weight: 500; line-height: 1.9; color: #263348; }
.h66-law-article > footer { align-items: center; gap: 10px; flex-wrap: wrap; }
.h66-law-article > footer > span { flex: 1 1 240px; }
.h66-law-article > footer .h66-btn { min-height: 36px; }
.h66-law-source-raw { margin: 10px 0; overflow: hidden; border: 1px solid #cbd5e1; border-radius: 10px; background: #f8fafc; }
.h66-law-ocr-note { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; border: 1px solid #fed7aa; border-left: 3px solid #f97316; border-radius: 10px; padding: 10px 12px; background: #fff7ed; color: #9a3412; }
.h66-law-ocr-note > svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 1px; }
.h66-law-ocr-note span { display: grid; gap: 3px; }
.h66-law-ocr-note b { font-size: 12px; font-weight: 800; }
.h66-law-ocr-note small { color: #7c2d12; font-size: 11px; line-height: 1.5; }
.h66-law-source-refs { display: grid; gap: 9px; margin: 8px 0 12px; border: 1px solid #dbe4f0; border-radius: 10px; background: #fff; padding: 10px 12px; color: var(--h66-text); }
.h66-law-source-refs summary { display: flex; align-items: center; gap: 7px; color: #334155; cursor: pointer; list-style: none; font-size: 12px; font-weight: 800; }
.h66-law-source-refs summary::-webkit-details-marker { display: none; }
.h66-law-source-refs > p { margin: 0; color: #64748b; font-size: 11px; line-height: 1.55; white-space: pre-line; }
.h66-law-source-refs > div { display: grid; gap: 6px; padding-top: 8px; border-top: 1px solid #eef2f7; }
.h66-law-source-refs > div > b { color: #64748b; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.h66-law-source-refs > div > span { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; color: #334155; font-size: 11px; }
.h66-law-source-refs a { display: inline-flex; align-items: center; gap: 5px; color: #c2410c; font-weight: 750; text-decoration: none; }
.h66-law-source-refs a:hover { text-decoration: underline; }
.h66-law-source-refs small { color: #94a3b8; font-size: 10px; overflow-wrap: anywhere; }
.h66-law-source-raw > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 9px; cursor: pointer; padding: 10px 12px; color: #334155; list-style: none; }
.h66-law-source-raw > summary::-webkit-details-marker { display: none; }
.h66-law-source-raw > summary > svg { width: 16px; height: 16px; color: #ea580c; }
.h66-law-source-raw > summary > b { font-size: 12px; font-weight: 900; }
.h66-law-source-raw > summary > span { color: #64748b; font-size: 10px; }
.h66-law-source-raw pre { max-height: 420px; overflow: auto; margin: 0; border-top: 1px solid #e2e8f0; padding: 14px; white-space: pre-wrap; overflow-wrap: anywhere; color: #334155; font: 12px/1.75 ui-monospace, SFMono-Regular, Menlo, monospace; }
@media (max-width: 1023px) {
  .h66-library-page--reading .h66-library-split { grid-template-columns: minmax(0, 1fr); }
  .h66-library-page--reading .h66-library-results { position: static; }
  .h66-library-page--reading .h66-library-list { max-height: 330px; }
  .h66-law-reading-grid { grid-template-columns: minmax(0, 1fr); }
  .h66-law-analysis { position: static; max-height: none; }
  .h66-law-article-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h66-law-article-help { grid-column: 1 / -1; }
  .h66-tt36-lineage { grid-template-columns: minmax(0, 1fr); }
  .h66-tt36-group--root, .h66-tt36-group--amendments, .h66-tt36-group--consolidated, .h66-tt36-connector { grid-column: 1; grid-row: auto; }
  .h66-tt36-connector { flex-direction: row; }
}
@media (max-width: 640px) {
  .h66-law-sample-note { align-items: flex-start; }
  .h66-law-sample-note > div { display: grid; gap: 2px; }
  .h66-library-page--reading .h66-head-actions { width: 100%; }
  .h66-library-page--reading .h66-head-actions .h66-btn { width: 100%; }
  .h66-law-reader-toolbar { align-items: flex-start; flex-direction: column; }
  .h66-law-article-picker { grid-template-columns: minmax(0, 1fr); }
  .h66-law-article-help { grid-column: 1; }
  .h66-law-article { padding: 12px; }
  .h66-law-article > footer { align-items: flex-start; flex-direction: column; }
}

/* AI-MARK[QAI-UI:helen6666-contract-upload-modal] 2026-10-01 11:50 (GMT+7) — hộp thoại intake hợp đồng responsive, đặt ngoài vùng SPA để không bị stacking context của hiệu ứng trang; dùng tầng modal đã đăng ký trong UI-STACKING-REGISTRY | rel: helen6666/helen6666.js contractUploadHtml, helen6666/index.html#h66ContractUploadHost */
#h66ContractUploadHost {
  --h66-ink: #0f172a; --h66-text: #334155; --h66-muted: #64748b; --h66-faint: #94a3b8;
  --h66-line: #dbe4f0; --h66-soft: #f8fafc; --h66-orange: #ff6b2b; --h66-orange-d: #ea580c;
  --h66-orange-bg: #fff7ed; --h66-orange-line: #fdba74; --h66-blue: #1d4ed8;
}
#h66ContractUploadHost:empty { display: none; }
body.h66-contract-upload-open { overflow: hidden; }
/* AI-MARK[QAI-UI:helen6666-contract-documents] 2026-10-02 12:06 (GMT+7) — khu tài liệu theo hồ sơ, dễ quét tên/loại/trạng thái và giữ thao tác nạp/phân tích tách bạch | rel: QAI-UI:helen6666-contract-upload-flow, HELEN6666-SERVER:contract-document-intake */
.h66-contract-documents { display: grid; gap: 9px; margin: 12px 0; border: 1px solid var(--h66-line); border-radius: 10px; background: #f8fafc; padding: 12px; }
.h66-contract-documents-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.h66-contract-documents-head > div:first-child { display: flex; align-items: center; gap: 9px; min-width: 0; }
.h66-contract-documents-head > div:first-child > span:last-child { display: grid; gap: 2px; }
.h66-contract-documents-head b { color: var(--h66-ink); font-size: 12px; font-weight: 900; }
.h66-contract-documents-head small { color: var(--h66-faint); font-size: 10px; font-weight: 700; }
.h66-contract-documents-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px; background: #fff; color: var(--h66-orange-d); }
.h66-contract-documents-head > div:last-child { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.h66-contract-documents-head .h66-btn { min-height: 31px; padding: 0 9px; font-size: 11px; }
.h66-contract-documents-head .h66-btn--primary { color: #fff; }
.h66-contract-document-list { display: grid; gap: 6px; max-height: 260px; overflow: auto; margin: 0; padding: 0; list-style: none; }
.h66-contract-document { display: flex; align-items: center; gap: 9px; min-width: 0; border: 1px solid #e6edf5; border-radius: 8px; background: #fff; padding: 8px 9px; }
.h66-contract-document-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 31px; height: 31px; border-radius: 8px; background: #eff6ff; color: #2563eb; }
.h66-contract-document-meta { display: grid; flex: 1; min-width: 0; gap: 3px; }
.h66-contract-document-meta > b { overflow: hidden; color: var(--h66-ink); font-size: 11.5px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.h66-contract-document-meta > small { color: var(--h66-muted); font-size: 10px; font-weight: 650; }
.h66-contract-document-analyze { flex: 0 0 auto; min-height: 30px; border-radius: 7px; padding: 0 8px; background: #fff7ed; }
.h66-contract-document-warning { display: flex; align-items: flex-start; gap: 4px; color: #9a3412; font-size: 10px; font-weight: 750; line-height: 1.4; }
.h66-contract-documents-empty { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; border: 1px dashed #cbd5e1; border-radius: 8px; background: #fff; padding: 10px 12px; color: var(--h66-muted); font-size: 11px; font-weight: 700; }
.h66-contract-documents-empty > span { display: grid; gap: 3px; }
.h66-contract-documents-empty b { color: var(--h66-text); font-size: 11px; }
.h66-contract-documents-empty small { color: var(--h66-faint); font-size: 10px; font-weight: 600; }
.h66-contract-documents-empty--error { justify-content: space-between; border-color: #fecaca; background: #fffafa; color: #991b1b; }
.h66-contract-documents-note { margin: 0; color: var(--h66-faint); font-size: 9.5px; font-weight: 650; line-height: 1.45; }
.h66-upload-type { display: grid; gap: 5px; color: var(--h66-text); font-size: 11px; font-weight: 850; }
/* AI-MARK[QAI-UI:helen6666-project-reader-responsive] 2026-10-02 17:11 (GMT+7) — input tên hồ sơ và CTA phân tích co giãn trên mobile | rel: QAI-UI:helen6666-project-contract-reader */
.h66-upload-type select, .h66-upload-type input { width: 100%; min-height: 38px; border: 1px solid var(--h66-line); border-radius: 8px; background: #fff; padding: 0 10px; color: var(--h66-ink); font: inherit; }
.h66-upload-type select:focus-visible, .h66-upload-type input:focus-visible { outline: 3px solid rgba(255,107,43,.3); outline-offset: 1px; border-color: var(--h66-orange-line); }
.h66-analysis-ready { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; border: 1px solid #bfdbfe; border-radius: 10px; background: #f8fbff; padding: 16px; color: #2563eb; }
.h66-analysis-ready > div { display: grid; gap: 4px; }
.h66-analysis-ready b { color: var(--h66-ink); font-size: 13px; }
.h66-analysis-ready span { color: var(--h66-muted); font-size: 11px; line-height: 1.55; }
.h66-upload-backdrop {
  position: fixed; inset: 0; z-index: 1300; display: flex; align-items: center; justify-content: center;
  overflow-y: auto; overscroll-behavior: contain; padding: 24px;
  background: rgba(15, 23, 42, .58); backdrop-filter: blur(5px);
}
.h66-upload-dialog {
  display: flex; flex-direction: column; width: min(720px, 100%); max-height: min(900px, calc(100dvh - 48px));
  overflow: hidden; border: 1px solid #dbe4f0; border-radius: 16px; background: #fff;
  box-shadow: 0 28px 90px rgba(15, 23, 42, .3); color: var(--h66-text);
}
.h66-upload-dialog:focus { outline: none; }
.h66-upload-head { display: flex; align-items: flex-start; gap: 13px; border-bottom: 1px solid #eef2f7; padding: 20px 22px 16px; }
.h66-upload-head-icon, .h66-upload-drop-icon, .h66-upload-file-icon, .h66-upload-privacy-icon {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.h66-upload-head-icon { width: 42px; height: 42px; border-radius: 12px; background: #fff7ed; color: #ea580c; }
.h66-upload-heading { min-width: 0; flex: 1; }
.h66-upload-kicker { color: #ea580c; font-size: 10px; font-weight: 950; letter-spacing: .06em; }
.h66-upload-heading h2 { margin: 4px 0 5px; color: #0f172a; font-size: 20px; font-weight: 900; line-height: 1.28; }
.h66-upload-heading p { max-width: 590px; margin: 0; color: #64748b; font-size: 12px; font-weight: 600; line-height: 1.55; }
.h66-upload-close, .h66-upload-remove {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  border: 1px solid #e2e8f0; border-radius: 9px; background: #fff; color: #64748b; cursor: pointer;
}
.h66-upload-close { width: 34px; height: 34px; }
.h66-upload-close:hover, .h66-upload-remove:hover { border-color: #fdba74; background: #fff7ed; color: #c2410c; }
.h66-upload-body { display: grid; gap: 12px; min-height: 0; overflow: auto; padding: 16px 22px; }
.h66-upload-dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 100%; min-height: 150px;
  border: 1.5px dashed #cbd5e1; border-radius: 12px; background: #f8fafc; color: #334155;
  font: inherit; text-align: center; cursor: pointer; transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.h66-upload-dropzone:hover, .h66-upload-dropzone.is-dragging { border-color: #fb923c; background: #fff7ed; }
.h66-upload-dropzone.is-dragging { transform: scale(1.005); }
.h66-upload-drop-icon { width: 38px; height: 38px; margin-bottom: 2px; border-radius: 11px; background: #fff; color: #ea580c; box-shadow: 0 1px 4px rgba(15, 23, 42, .09); }
.h66-upload-dropzone > b { color: #1e293b; font-size: 13px; font-weight: 900; }
.h66-upload-dropzone > span:not(.h66-upload-drop-icon) { color: #64748b; font-size: 11.5px; font-weight: 650; }
.h66-upload-dropzone u { color: #c2410c; font-weight: 850; text-underline-offset: 2px; }
.h66-upload-dropzone > small { margin-top: 3px; color: #94a3b8; font-size: 10px; font-weight: 750; }
.h66-upload-input { display: none; }
.h66-upload-dropzone:focus-visible, .h66-upload-close:focus-visible, .h66-upload-remove:focus-visible, .h66-upload-footer .h66-btn:focus-visible {
  outline: 3px solid rgba(255, 107, 43, .36); outline-offset: 2px;
}
.h66-upload-error { display: flex; align-items: flex-start; gap: 7px; margin: 0; border: 1px solid #fecaca; border-radius: 8px; background: #fef2f2; padding: 9px 10px; color: #991b1b; font-size: 11px; font-weight: 750; line-height: 1.45; }
.h66-upload-error svg { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 1px; }
.h66-upload-list-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 2px 0 -5px; }
.h66-upload-list-head > b { color: #334155; font-size: 11px; font-weight: 900; }
.h66-upload-list-head > b span { margin-left: 4px; border-radius: 999px; background: #f1f5f9; padding: 2px 7px; color: #64748b; font-size: 10px; }
.h66-upload-list-head > small { color: #94a3b8; font-size: 10px; font-weight: 750; }
.h66-upload-empty { display: flex; align-items: center; flex-direction: column; gap: 3px; border: 1px solid #eef2f7; border-radius: 9px; background: #fff; padding: 13px; text-align: center; }
.h66-upload-empty > span { color: #94a3b8; }
.h66-upload-empty > b { color: #475569; font-size: 11px; font-weight: 850; }
.h66-upload-empty > small { color: #94a3b8; font-size: 10px; }
.h66-upload-files { display: grid; gap: 6px; max-height: 180px; overflow: auto; margin: 0; padding: 0 2px 0 0; list-style: none; }
.h66-upload-file { display: flex; align-items: center; gap: 9px; min-width: 0; border: 1px solid #e8eef6; border-radius: 9px; background: #fff; padding: 8px 9px; }
.h66-upload-file-icon { width: 30px; height: 30px; border-radius: 8px; background: #eff6ff; color: #2563eb; }
.h66-upload-file-meta { display: grid; flex: 1; min-width: 0; gap: 2px; }
.h66-upload-file-meta b { overflow: hidden; color: #1e293b; font-size: 11px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.h66-upload-file-meta small { color: #94a3b8; font-size: 9.5px; font-weight: 700; }
.h66-upload-remove { width: 28px; height: 28px; }
.h66-upload-remove svg, .h66-upload-close svg { width: 15px; height: 15px; }
.h66-upload-privacy, .h66-upload-analysis { display: flex; align-items: flex-start; gap: 9px; border-radius: 9px; padding: 10px 11px; }
.h66-upload-privacy { border: 1px solid #cfe5d8; background: #f0fdf4; }
.h66-upload-privacy-icon { width: 26px; height: 26px; border-radius: 7px; background: #dcfce7; color: #047857; }
.h66-upload-privacy-icon svg { width: 15px; height: 15px; }
.h66-upload-privacy > div, .h66-upload-analysis > div { min-width: 0; }
.h66-upload-privacy b, .h66-upload-analysis b { display: block; font-size: 10.5px; font-weight: 900; line-height: 1.4; }
.h66-upload-privacy b { color: #166534; }
.h66-upload-privacy p, .h66-upload-analysis p { margin: 3px 0 0; font-size: 10px; font-weight: 650; line-height: 1.5; }
.h66-upload-privacy p { color: #3f6650; }
.h66-upload-analysis { border: 1px solid #dbeafe; background: #f8fbff; }
.h66-upload-analysis > span { display: inline-flex; flex: 0 0 auto; color: #2563eb; }
.h66-upload-analysis > span svg { width: 17px; height: 17px; }
.h66-upload-analysis b { color: #1e40af; }
.h66-upload-analysis p { color: #526988; }
.h66-upload-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #eef2f7; background: #fff; padding: 12px 22px; }
.h66-upload-footer > div { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.h66-upload-footer small { color: #94a3b8; font-size: 9.5px; font-weight: 700; }
.h66-upload-footer .h66-btn:disabled { border-color: #e2e8f0; background: #f1f5f9; color: #94a3b8; cursor: not-allowed; filter: none; }
@media (max-width: 640px) {
  .h66-analysis-ready { grid-template-columns: auto minmax(0, 1fr); }
  .h66-analysis-ready .h66-btn { grid-column: 1 / -1; width: 100%; }
  .h66-contract-documents { padding: 9px; }
  .h66-contract-documents-head { align-items: flex-start; flex-direction: column; }
  .h66-contract-documents-head > div:last-child { width: 100%; justify-content: stretch; }
  .h66-contract-documents-head .h66-btn { flex: 1 1 auto; }
  .h66-contract-document { align-items: flex-start; flex-wrap: wrap; }
  .h66-contract-document-meta { flex-basis: calc(100% - 52px); }
  .h66-contract-document-analyze { margin-left: 40px; }
  .h66-upload-backdrop { align-items: flex-end; padding: 8px; }
  .h66-upload-dialog { width: 100%; max-height: calc(100dvh - 16px); border-radius: 15px; }
  .h66-upload-head { gap: 9px; padding: 15px 14px 12px; }
  .h66-upload-head-icon { width: 36px; height: 36px; }
  .h66-upload-heading h2 { font-size: 17px; }
  .h66-upload-heading p { font-size: 11px; }
  .h66-upload-close { width: 31px; height: 31px; }
  .h66-upload-body { gap: 10px; padding: 12px 14px; }
  .h66-upload-dropzone { min-height: 130px; }
  .h66-upload-footer { align-items: stretch; flex-direction: column-reverse; padding: 10px 14px max(10px, env(safe-area-inset-bottom)); }
  .h66-upload-footer > div { align-items: stretch; flex-direction: column; }
  .h66-upload-footer .h66-btn { width: 100%; min-height: 40px; }
  .h66-upload-footer small { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .h66-upload-dropzone { transition: none; }
}

/* AI-MARK[QAI-UI:helen6666-contract-create-workspace] 2026-10-01 13:27 (GMT+7) — workspace chat soạn HĐ ưu tiên vùng đọc, composer rõ trạng thái và lịch sử responsive | rel: QAI-UI:helen6666-contract-create-tab, helen/helen.css */
.h66-create-workspace { display: grid; grid-template-columns: minmax(230px, .72fr) minmax(0, 2fr); gap: 12px; min-height: 620px; }
.h66-create-history, .h66-create-chat { min-width: 0; overflow: hidden; border: 1px solid var(--h66-line); border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(15, 23, 42, .035); }
.h66-create-history { display: flex; flex-direction: column; padding: 14px; }
.h66-create-history-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.h66-create-eyebrow { color: var(--h66-orange-d); font-size: 9px; font-weight: 950; letter-spacing: .07em; }
.h66-create-history-head h2, .h66-create-chat-head h2 { margin: 3px 0 0; color: var(--h66-ink); font-size: 15px; font-weight: 900; line-height: 1.3; }
.h66-create-new { min-height: 34px; padding: 0 10px; }
.h66-create-new svg, .h66-create-refresh svg { width: 14px; height: 14px; }
.h66-create-history-note { margin: 8px 0 10px; color: var(--h66-faint); font-size: 10.5px; font-weight: 650; line-height: 1.45; }
.h66-create-history-list { display: grid; align-content: start; gap: 6px; min-height: 180px; max-height: 490px; overflow: auto; }
.h66-create-history-item { display: flex; align-items: flex-start; gap: 8px; width: 100%; min-width: 0; border: 1px solid transparent; border-radius: 9px; background: #fff; padding: 9px; color: var(--h66-text); text-align: left; cursor: pointer; }
.h66-create-history-item:hover { border-color: #fed7aa; background: #fffaf5; }
.h66-create-history-item.is-active { border-color: var(--h66-orange-line); background: #fff8f1; box-shadow: inset 3px 0 #f97316; }
.h66-create-history-item-icon { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 29px; height: 29px; border-radius: 8px; background: #f1f5f9; color: #64748b; }
.h66-create-history-item-icon svg { width: 15px; height: 15px; }
.h66-create-history-item-copy { display: grid; min-width: 0; gap: 4px; }
.h66-create-history-item-copy b { display: -webkit-box; overflow: hidden; color: var(--h66-ink); font-size: 11px; font-weight: 850; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.h66-create-history-item-copy small { color: var(--h66-faint); font-size: 9.5px; font-weight: 700; }
.h66-create-history-empty { display: flex; align-items: flex-start; gap: 7px; padding: 12px 8px; color: var(--h66-faint); font-size: 10.5px; font-weight: 650; line-height: 1.5; }
.h66-create-history-empty svg { flex: 0 0 auto; width: 15px; height: 15px; }
.h66-create-history-error { display: flex; align-items: flex-start; gap: 6px; margin: 8px 0; border-radius: 8px; background: #fff7ed; padding: 8px; color: #9a3412; font-size: 10px; font-weight: 700; line-height: 1.45; }
.h66-create-history-error svg { width: 14px; height: 14px; flex: 0 0 auto; }
.h66-create-refresh { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; margin-top: auto; border: 1px solid #e8eef6; border-radius: 8px; background: #fff; color: #64748b; font: inherit; font-size: 10.5px; font-weight: 800; cursor: pointer; }
.h66-create-refresh:hover { border-color: var(--h66-orange-line); background: var(--h66-orange-bg); color: var(--h66-orange-d); }
.h66-create-chat { display: flex; flex-direction: column; min-height: 620px; }
.h66-create-chat-head { display: flex; align-items: center; gap: 10px; min-height: 63px; border-bottom: 1px solid #edf1f6; padding: 10px 14px; }
.h66-create-avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px; background: #fff4e8; color: var(--h66-orange-d); }
.h66-create-avatar svg { width: 17px; height: 17px; }
.h66-create-chat-head > div:nth-child(2) { min-width: 0; }
.h66-create-chat-head p { margin: 3px 0 0; color: var(--h66-muted); font-size: 10.5px; font-weight: 600; line-height: 1.4; }
.h66-create-status { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: #15803d; font-size: 10px; font-weight: 850; white-space: nowrap; }
.h66-create-status svg { width: 14px; height: 14px; }
.h66-create-status.is-busy { color: #b45309; }
.h66-create-skill-row { display: grid; grid-template-columns: auto minmax(190px, 260px) minmax(0, 1fr); align-items: center; gap: 8px 11px; border-bottom: 1px solid #edf1f6; background: #fbfcfe; padding: 9px 14px; }
.h66-create-skill-row label { color: #52647b; font-size: 10.5px; font-weight: 850; }
.h66-create-skill-row select { min-width: 0; min-height: 34px; border: 1px solid #dbe4f0; border-radius: 8px; background: #fff; padding: 0 9px; color: #243044; font: inherit; font-size: 11px; font-weight: 750; }
.h66-create-skill-row select:focus-visible { outline: 3px solid rgba(255,107,43,.25); border-color: #fb923c; }
.h66-create-skill-row > span { color: #94a3b8; font-size: 10px; font-weight: 650; line-height: 1.45; }
.h66-create-messages { display: flex; flex: 1; flex-direction: column; align-items: stretch; gap: 11px; min-height: 330px; max-height: min(720px, calc(100vh - 520px)); overflow: auto; overscroll-behavior: contain; padding: 16px; scroll-behavior: smooth; }
.h66-create-message { display: flex; align-items: flex-start; gap: 8px; max-width: min(850px, 92%); }
.h66-create-message--user { align-self: flex-end; flex-direction: row-reverse; }
.h66-create-message-avatar { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 27px; height: 27px; border: 1px solid #e7edf5; border-radius: 9px; background: #fff; color: #64748b; }
.h66-create-message--helen .h66-create-message-avatar { border-color: #ffedd5; background: #fff7ed; color: #ea580c; }
.h66-create-message-avatar svg { width: 14px; height: 14px; }
.h66-create-message-body { min-width: 0; border: 1px solid #e8eef6; border-radius: 3px 11px 11px; background: #fff; padding: 9px 11px; }
.h66-create-message--user .h66-create-message-body { border-color: #ffedd5; border-radius: 11px 3px 11px 11px; background: #fffaf5; }
.h66-create-message-body > b { display: block; margin-bottom: 4px; color: #94a3b8; font-size: 9px; font-weight: 900; }
.h66-create-message-body p { margin: 0; color: #334155; font-size: 12px; font-weight: 600; line-height: 1.65; overflow-wrap: anywhere; }
.h66-create-message-text { color: #334155; font-size: 12px; font-weight: 600; line-height: 1.65; overflow-wrap: anywhere; }
.h66-create-message-text > :first-child { margin-top: 0; }
.h66-create-message-text > :last-child { margin-bottom: 0; }
.h66-create-message-text h3 { margin: 10px 0 5px; color: #1e293b; font-size: 13px; font-weight: 850; line-height: 1.4; }
.h66-create-message-text p { margin: 0 0 7px; }
.h66-create-message-text ul, .h66-create-message-text ol { display: grid; gap: 3px; margin: 2px 0 8px; padding-left: 20px; }
.h66-create-message-text li { padding-left: 2px; }
.h66-create-message-text hr { margin: 8px 0; border: 0; border-top: 1px solid #e8eef6; }
.h66-create-message-text code { border-radius: 4px; background: #f1f5f9; padding: 1px 4px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .94em; }
.h66-create-message-text strong { color: #1e293b; font-weight: 850; }
.h66-create-sources { display: grid; gap: 8px; margin-top: 9px; border-top: 1px solid #edf1f6; padding-top: 8px; }
.h66-create-sources > div { display: grid; gap: 5px; }
.h66-create-sources > div > b { color: #64748b; font-size: 9px; font-weight: 900; letter-spacing: .025em; text-transform: uppercase; }
.h66-create-source { display: flex; align-items: flex-start; gap: 6px; min-width: 0; border-radius: 7px; padding: 6px 8px; font-size: 9.5px; font-weight: 750; line-height: 1.45; overflow-wrap: anywhere; }
.h66-create-source--approved { border: 1px solid #bbf7d0; background: #f0fdf4; color: #166534; text-decoration: none; }
.h66-create-source--approved:hover { border-color: #86efac; background: #dcfce7; }
.h66-create-source--approved > svg { flex: 0 0 auto; width: 13px; height: 13px; margin-top: 1px; }
.h66-create-source--approved > span { display: grid; gap: 2px; min-width: 0; }
.h66-create-source--approved small { color: #64748b; font-size: 8.5px; font-weight: 650; }
.h66-create-source--blocked { border: 1px solid #fde68a; background: #fffbeb; color: #92400e; }
.h66-create-draft { display: grid; gap: 10px; border: 1px solid #bbf7d0; border-radius: 11px; background: #f8fff9; padding: 12px; }
.h66-create-draft header, .h66-create-draft header > span { display: flex; align-items: center; gap: 7px; min-width: 0; }
.h66-create-draft header { justify-content: space-between; }
.h66-create-draft header svg { flex: 0 0 auto; width: 16px; height: 16px; color: #15803d; }
.h66-create-draft header b { overflow: hidden; color: #14532d; font-size: 12px; font-weight: 900; text-overflow: ellipsis; }
.h66-create-draft header small { color: #64748b; font-size: 9px; font-weight: 800; white-space: nowrap; }
.h66-create-draft pre { max-height: 470px; overflow: auto; margin: 0; border: 1px solid #e2eee5; border-radius: 8px; background: #fff; padding: 12px; color: #243044; font: inherit; font-size: 12px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.h66-create-draft-empty { color: #64748b; font-size: 11px; font-weight: 650; line-height: 1.55; }
.h66-create-progress { display: flex; align-items: flex-start; gap: 9px; border: 1px solid #fed7aa; border-radius: 9px; background: #fffaf5; padding: 10px 12px; color: #9a3412; }
.h66-create-progress > svg { flex: 0 0 auto; width: 16px; height: 16px; animation: h66-create-spin 1.15s linear infinite; }
.h66-create-progress span { display: grid; gap: 3px; }
.h66-create-progress b { font-size: 11px; font-weight: 900; }
.h66-create-progress small { color: #9a6041; font-size: 9.5px; font-weight: 650; line-height: 1.45; }
.h66-create-suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.h66-create-suggestions[hidden] { display: none; }
.h66-create-suggestions button { max-width: 100%; border: 1px solid #e6edf5; border-radius: 8px; background: #fff; padding: 7px 9px; color: #52647b; font: inherit; font-size: 10px; font-weight: 700; text-align: left; line-height: 1.45; cursor: pointer; }
.h66-create-suggestions button:hover { border-color: #fdba74; background: #fffaf5; color: #9a3412; }
.h66-create-composer { display: flex; align-items: flex-end; gap: 7px; margin: 0 14px; border: 1px solid #cbd5e1; border-radius: 11px; background: #fff; padding: 7px; box-shadow: 0 4px 16px rgba(15, 23, 42, .045); }
.h66-create-composer:focus-within { border-color: #fb923c; box-shadow: 0 0 0 3px rgba(249, 115, 22, .1); }
.h66-create-file-input { display: none; }
.h66-create-attach, .h66-create-send { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; border-radius: 9px; cursor: pointer; }
.h66-create-attach { background: #f1f5f9; color: #64748b; }
.h66-create-attach:hover { background: #fff7ed; color: #c2410c; }
.h66-create-send { background: linear-gradient(135deg, #fb923c, #ea580c); color: #fff; }
.h66-create-send:hover { filter: brightness(1.06); }
.h66-create-send:disabled, .h66-create-attach:disabled, .h66-create-new:disabled { opacity: .52; cursor: not-allowed; }
.h66-create-attach svg, .h66-create-send svg { width: 16px; height: 16px; }
.h66-create-composer textarea { flex: 1; min-width: 0; min-height: 36px; max-height: 144px; resize: none; border: 0; outline: 0; padding: 8px 4px; color: #1e293b; font: inherit; font-size: 12px; font-weight: 600; line-height: 1.55; }
.h66-create-composer textarea::placeholder { color: #94a3b8; font-weight: 600; }
.h66-create-footnote { display: flex; align-items: flex-start; gap: 6px; padding: 8px 16px 12px; color: #94a3b8; font-size: 9px; font-weight: 650; line-height: 1.45; }
.h66-create-footnote svg { flex: 0 0 auto; width: 13px; height: 13px; color: #0f766e; }
.h66-create-workspace select:focus-visible { outline: 3px solid rgba(255,107,43,.34); outline-offset: 2px; }
.h66-create-workspace button:focus-visible { outline: 3px solid rgba(255, 107, 43, .34); outline-offset: 2px; }
@keyframes h66-create-spin { to { transform: rotate(360deg); } }
@media (max-width: 940px) {
  .h66-create-workspace { grid-template-columns: minmax(0, 1fr); }
  .h66-create-history { min-height: 0; }
  .h66-create-history-list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 190px; }
  .h66-create-refresh { margin-top: 8px; }
}
@media (max-width: 640px) {
  .h66-create-workspace { gap: 9px; }
  .h66-create-history { padding: 10px; }
  .h66-create-history-head h2 { font-size: 13px; }
  .h66-create-history-list { grid-template-columns: 1fr; max-height: 152px; }
  .h66-create-chat { min-height: 590px; }
  .h66-create-chat-head { align-items: flex-start; padding: 10px; }
  .h66-create-chat-head h2 { font-size: 13px; }
  .h66-create-chat-head p { font-size: 9.5px; }
  .h66-create-skill-row { grid-template-columns: minmax(0, 1fr); gap: 5px; padding: 8px 10px; }
  .h66-create-skill-row select { width: 100%; }
  .h66-create-status { font-size: 0; }
  .h66-create-messages { min-height: 300px; max-height: none; padding: 11px; }
  .h66-create-message { max-width: 100%; }
  .h66-create-suggestions { padding: 0 10px 8px; }
  .h66-create-suggestions button { width: 100%; }
  .h66-create-composer { margin: 0 10px; }
  .h66-create-composer textarea { font-size: 11px; }
  .h66-create-footnote { padding: 7px 11px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .h66-create-progress > svg { animation: none; }
  .h66-create-messages { scroll-behavior: auto; }
}
