/* CÔNG CỤ TÍNH (bản web) — 3 nút ngay đầu trang, mỗi nút mở RIÊNG một công cụ trong hộp thoại.
   Dùng bảng màu chung (--surface, --civic, --seal…) nên tự theo nền sáng / tối. */
.web-tools{display:none!important}            /* chỗ gắn công cụ trong index.html (không hiển thị) */
.cc-launch{display:none}
body.web .cc-launch{display:block}
/* mỗi nhóm một hàng riêng: nhãn nhóm bên trái, các nút chia đều phần còn lại (nhóm có thêm nút thì tự chia lại) */
.cc-launch-in{max-width:1440px;margin:16px auto 0;padding:0 max(24px,env(safe-area-inset-left,0px));display:grid;gap:10px}
.lx-g{display:grid;grid-template-columns:168px minmax(0,1fr);align-items:center;gap:14px;min-width:0}
.lx-h{margin:0;padding-left:12px;border-left:3px solid var(--civic);font-size:12px;font-weight:800;letter-spacing:.08em;line-height:1.45;
  text-transform:uppercase;color:var(--ink-2);text-wrap:balance}
.lx-g[data-g="tinh"] .lx-h{border-left-color:var(--ok)}
.lx-row{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));gap:10px}
/* một nút: nền pha nhẹ màu riêng --c, ô biểu tượng đậm màu hơn, mũi tên tròn */
.lx{--c:#2457A3;display:flex;align-items:center;gap:12px;min-width:0;text-align:left;padding:10px 12px 10px 10px;border-radius:18px;cursor:pointer;
  font:inherit;color:var(--ink);border:1px solid color-mix(in srgb,var(--c) 20%,var(--rule));
  background:linear-gradient(135deg,color-mix(in srgb,var(--c) 11%,var(--surface)),var(--surface) 72%);
  box-shadow:0 1px 2px rgba(20,33,58,.05),0 14px 26px -22px color-mix(in srgb,var(--c) 80%,transparent);
  transition:transform .16s,box-shadow .2s,border-color .16s}
.lx:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--c) 55%,var(--rule));
  box-shadow:0 2px 4px rgba(20,33,58,.05),0 20px 32px -20px color-mix(in srgb,var(--c) 80%,transparent)}
.lx:active{transform:translateY(0)}
.lx:focus-visible{outline:3px solid color-mix(in srgb,var(--c) 50%,transparent);outline-offset:2px}
.lx-ic{flex:none;width:54px;height:54px;border-radius:16px;display:grid;place-items:center;
  background:linear-gradient(150deg,color-mix(in srgb,var(--c) 28%,var(--surface)),color-mix(in srgb,var(--c) 10%,var(--surface)));
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 24%,transparent)}
.lx-ic img{width:38px;height:38px;object-fit:contain;filter:drop-shadow(0 4px 6px rgba(20,33,58,.22));transition:transform .2s}
.lx:hover .lx-ic img{transform:scale(1.08) rotate(-4deg)}
.lx-t{flex:1;min-width:0;display:grid;gap:2px}
.lx-t b{font-size:15.5px;font-weight:800;line-height:1.25;letter-spacing:-.01em;color:var(--ink);text-wrap:balance}
.lx-t small{font-size:12.5px;line-height:1.35;color:var(--muted)}
.lx-go{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:20px;line-height:1;font-weight:700;
  color:var(--c);background:color-mix(in srgb,var(--c) 13%,var(--surface));transition:background .16s,color .16s,transform .16s}
.lx:hover .lx-go{background:var(--c);color:var(--surface);transform:translateX(2px)}
/* bảng màu nút (dịu, hợp nền giấy + xanh công vụ) */
.lx[data-tone="blue"]{--c:#2457A3}  .lx[data-tone="red"]{--c:#B3261E}    .lx[data-tone="gold"]{--c:#A8690B}  .lx[data-tone="teal"]{--c:#0F766E}
.lx[data-tone="green"]{--c:#17784A} .lx[data-tone="violet"]{--c:#6A4BB0} .lx[data-tone="copper"]{--c:#B4570F}
:root[data-theme="dark"] .lx[data-tone="blue"]{--c:#86B1EC}  :root[data-theme="dark"] .lx[data-tone="red"]{--c:#F49A93}
:root[data-theme="dark"] .lx[data-tone="gold"]{--c:#F2C783}  :root[data-theme="dark"] .lx[data-tone="teal"]{--c:#6FD3C4}
:root[data-theme="dark"] .lx[data-tone="green"]{--c:#86D8AA} :root[data-theme="dark"] .lx[data-tone="violet"]{--c:#BBA4F0}
:root[data-theme="dark"] .lx[data-tone="copper"]{--c:#F5A66B}
@media (max-width:1050px){
  .cc-launch-in{margin-top:10px;padding:0 10px;gap:12px}
  .lx-g{grid-template-columns:minmax(0,1fr);gap:6px}
  .lx-h{padding-left:9px;font-size:11.5px}
}
@media (max-width:760px){
  .lx-h{font-size:11px}
  .lx-row{gap:8px}
  .lx{flex-direction:column;justify-content:flex-start;text-align:center;gap:6px;padding:10px 6px 12px;border-radius:16px}
  .lx-ic{width:46px;height:46px;border-radius:14px}
  .lx-ic img{width:32px;height:32px}
  .lx-t b{font-size:13.5px}
  .lx-t small,.lx-go{display:none}
}

/* hộp thoại công cụ */
html.cc-lock{overflow:hidden!important}
.cc-dlg{position:fixed;inset:0;z-index:85;background:rgba(10,20,35,.55);display:flex;align-items:flex-start;justify-content:center;
  padding:min(4vh,32px) 16px;overflow:hidden}
.cc-dlg[hidden]{display:none}
.cc-box{width:min(1100px,100%);max-height:calc(100vh - 2 * min(4vh,32px));display:flex;flex-direction:column;background:var(--bg);
  border-radius:22px;box-shadow:0 30px 80px rgba(0,0,0,.35);overflow:hidden;animation:ccIn .18s ease-out}
@keyframes ccIn{from{opacity:0;transform:translateY(8px)}}
.cc-top{display:flex;align-items:center;gap:10px;padding:10px 10px 10px 14px;background:var(--surface);border-bottom:1px solid var(--rule)}
.cc-tabs{display:flex;gap:6px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}
.cc-tabs::-webkit-scrollbar{display:none}
.cc-tabs button{flex:none;display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 16px;border-radius:999px;border:1px solid transparent;
  background:none;color:var(--ink-2);font:inherit;font-size:15.5px;font-weight:700;cursor:pointer;white-space:nowrap}
.cc-tabs button img{width:26px;height:26px}
.cc-tabs button:hover{background:var(--surface-2)}
.cc-tabs button[aria-selected="true"]{background:var(--civic);color:#fff;box-shadow:0 8px 18px -12px var(--civic)}
:root[data-theme="dark"] .cc-tabs button[aria-selected="true"]{color:#132238}
.cc-x{flex:none;width:44px;height:44px;border:0;border-radius:12px;background:var(--surface-2);color:var(--ink-2);font-size:28px;line-height:1;cursor:pointer}
.cc-x:hover{background:var(--seal-soft);color:var(--seal)}
.cc-scroll{overflow-y:auto;padding:18px 22px 24px;display:grid;gap:14px;overscroll-behavior:contain}

/* dẫn chứng / giải thích: ẩn sẵn, bấm mới hiện */
.cc-why{margin:0;min-width:0}
.cc-why>summary{list-style:none;display:inline-flex;align-items:center;gap:6px;cursor:pointer;user-select:none;
  font-size:13.5px;font-weight:700;color:var(--civic);padding:4px 10px 4px 8px;border-radius:999px;background:var(--civic-soft)}
.cc-why>summary::-webkit-details-marker{display:none}
.cc-why>summary::before{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(-45deg);transition:transform .15s;margin-right:2px}
.cc-why[open]>summary::before{transform:rotate(45deg)}
.cc-why>summary:hover{filter:brightness(.96)}
.cc-why-warn>summary{color:var(--warn);background:var(--warn-soft)}
.cc-out>.cc-why{display:block}
.cc-why-b{margin-top:8px;padding:10px 14px;border-radius:12px;background:var(--surface-2);border:1px solid var(--rule);
  font-size:14px;line-height:1.6;color:var(--ink-2)}
.cc-why-b .cc-note{margin:4px 0 0}
.cc-why-b .cc-r:last-of-type{border-bottom:0}
.cc-law>summary,.cc-src>summary{background:none;color:var(--muted);padding-left:0}
.cc-law{justify-self:start}
.cc-half{max-width:360px}
.cc-ic{width:44px;height:44px;flex:none;object-fit:contain}
@media (max-width:640px){
  .cc-dlg{padding:0}
  .cc-box{max-height:100%;height:100%;border-radius:0}
  .cc-top{align-items:flex-start}
  .cc-tabs{flex-wrap:wrap;overflow:visible}          /* điện thoại: thẻ xuống dòng, không bị cắt chữ sát nút × */
  .cc-tabs button{height:40px;padding:0 12px;font-size:13.5px}
  .cc-tabs button img{display:none}
  .cc-scroll{padding:12px 12px 20px}
  .cc-half{max-width:none}
}
/* nền tối: --civic là xanh nhạt -> chữ trên nút nền --civic dùng màu tối cho đủ tương phản */
:root[data-theme="dark"] .cc-go,:root[data-theme="dark"] .cc-qf button:hover,:root[data-theme="dark"] .cc-qf button:focus-visible,
:root[data-theme="dark"] .cc-why-i[open]>summary{color:#132238}

.cc-examples{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0}
.cc-examples button[hidden]{display:none}
.cc-examples button{height:38px;padding:0 14px;border-radius:999px;border:1px solid var(--rule);background:var(--surface);color:var(--ink-2);
  font-size:13.5px;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.cc-examples button:hover{border-color:var(--civic-2);color:var(--civic);background:var(--civic-soft)}
.cc-examples .cc-clear{border-style:dashed;color:var(--muted)}

.cc-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:16px;align-items:start}
.cc-time{grid-column:1/-1}
@media (max-width:1100px){.cc-grid{grid-template-columns:minmax(0,1fr)}}
.cc-card{background:var(--surface);border:1px solid var(--rule);border-radius:24px;padding:24px 26px 26px;display:grid;gap:16px;min-width:0;
  box-shadow:0 1px 2px rgba(20,33,58,.04),0 18px 40px -34px rgba(20,33,58,.45)}
.cc-ch{display:flex;gap:14px;align-items:flex-start}
.cc-n{flex:none;width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:var(--civic);color:#fff;font-weight:800;font-size:16px}
:root[data-theme="dark"] .cc-n{color:#132238}
.cc-ch h3{margin:4px 0 8px;font-size:21px;font-weight:800;letter-spacing:-.01em;color:var(--ink);line-height:1.3}
.cc-ch p{margin:0;font-size:14px;line-height:1.5;color:var(--muted)}

.cc-f{display:grid;gap:8px;min-width:0}
.cc-f>span:first-child{font-size:15px;font-weight:700;color:var(--ink);line-height:1.4}
.cc-f i{font-weight:500;color:var(--muted)}
.cc-card input,.cc-card select{width:100%;min-width:0;height:52px;padding:0 16px;border:1.5px solid var(--rule);border-radius:14px;background:var(--surface-2);
  color:var(--ink);font:inherit;font-size:17px;font-weight:600;outline:none;transition:border-color .15s,box-shadow .15s,background .15s}
.cc-card input::placeholder{color:var(--muted);font-weight:500;opacity:.8}
.cc-card input:hover,.cc-card select:hover{border-color:color-mix(in srgb,var(--civic) 35%,var(--rule))}
.cc-card input:focus,.cc-card select:focus{background:var(--surface)}
.cc-card input:focus,.cc-card select:focus{border-color:var(--civic-2);box-shadow:0 0 0 3px var(--civic-soft)}
.cc-card select:disabled{opacity:.75}
.cc-row2{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:12px}
.cc-row3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}
@media (max-width:760px){.cc-row2,.cc-row3{grid-template-columns:minmax(0,1fr)}}
.cc-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
.cc-help{margin:-4px 0 0;font-size:12.5px;line-height:1.5;color:var(--muted)}

/* 6 ô tiền lương */
/* mỗi tháng một dòng: nhãn | ô nhập; thanh "điền nhanh" hiện ngay dưới dòng đang nhập */
.cc-six{display:grid;gap:8px}
.cc-m{display:grid;grid-template-columns:minmax(0,190px) minmax(0,1fr);align-items:center;gap:8px 14px;padding:10px 12px 10px 16px;
  border-radius:16px;background:var(--surface-2);border:1px solid var(--rule);min-width:0;transition:border-color .15s,background .15s}
.cc-m:focus-within,.cc-m:has(.cc-qf:not([hidden])){border-color:color-mix(in srgb,var(--civic) 45%,var(--rule));background:var(--surface)}
.cc-ml{font-size:14.5px;font-weight:700;color:var(--ink);line-height:1.3;cursor:pointer}
.cc-ml b{color:var(--seal)}
.cc-ml em{display:block;font-style:normal;font-size:13.5px;font-weight:600;color:var(--civic);font-variant-numeric:tabular-nums}
.cc-in{position:relative;display:block;min-width:0}
.cc-m input{height:48px;font-variant-numeric:tabular-nums;font-weight:700;padding-right:52px;background:var(--surface)}
.cc-in small{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:13px;color:var(--muted);pointer-events:none}
.cc-qf{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding-top:2px}
.cc-qf[hidden]{display:none}
.cc-qf>span{font-size:13px;font-weight:600;color:var(--muted);margin-right:2px}
.cc-qf button{min-height:38px;padding:0 14px;border-radius:999px;border:1.5px solid color-mix(in srgb,var(--civic) 55%,var(--rule));
  background:var(--civic-soft);color:var(--civic);font:inherit;font-size:13.5px;font-weight:700;cursor:pointer;transition:background .15s,color .15s}
.cc-qf button:hover,.cc-qf button:focus-visible{background:var(--civic);color:#fff;outline:none}
@media (max-width:560px){
  .cc-m{grid-template-columns:minmax(0,1fr);padding:10px 12px}
  .cc-ml em{display:inline;margin-left:6px}
  .cc-qf{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .cc-qf>span{grid-column:1/-1}
  .cc-qf button{padding:0 4px;font-size:12.5px;white-space:nowrap}
}
.cc-acts{display:flex;flex-wrap:wrap;gap:10px}
.cc-acts button{min-height:48px;padding:0 22px;border-radius:14px;font:inherit;font-size:16px;font-weight:700;cursor:pointer}
.cc-go{border:0;background:var(--civic);color:#fff;flex:1 1 200px}
.cc-go:hover{filter:brightness(1.08)}
.cc-reset{border:1.5px solid var(--rule);background:var(--surface);color:var(--ink)}
.cc-reset:hover{border-color:var(--civic)}

/* ô ngày */
.cc-date{display:flex;position:relative}
.cc-date input[type=date]{position:absolute;right:0;bottom:0;width:44px;height:46px;opacity:0;pointer-events:none}
.cc-date input:first-child{padding-right:52px;font-variant-numeric:tabular-nums}
.cc-cal{position:absolute;right:4px;top:4px;width:40px;height:38px;border:0;border-radius:9px;background:var(--civic-soft);color:var(--civic);
  display:grid;place-items:center;cursor:pointer}
.cc-cal svg{width:19px;height:19px}
.cc-auto{font-size:12px;color:var(--ok);font-weight:600}
/* phiếu hẹn: chọn ngày đã nhập là ngày đầu hay ngày cuối của 03 ngày */
.cc-hh{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px}
.cc-seg{display:inline-flex;gap:2px;padding:2px;border:1px solid var(--rule);border-radius:999px;background:var(--surface-2)}
.cc-seg label{position:relative;display:flex}
.cc-seg input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.cc-seg span{padding:5px 12px;border-radius:999px;font-size:13px;font-weight:700;color:var(--muted);white-space:nowrap}
.cc-seg input:checked+span{background:var(--civic);color:#fff}
.cc-seg input:focus-visible+span{outline:2px solid var(--civic);outline-offset:1px}

/* kết quả */
.cc-out:empty{display:none}
.cc-card{grid-template-columns:minmax(0,1fr)}
.cc-card>*{min-width:0}
.cc-res{display:grid;gap:6px;padding:18px 20px;border-radius:20px;background:linear-gradient(180deg,var(--civic-soft),var(--surface) 70%);
  border:1px solid color-mix(in srgb,var(--civic) 22%,var(--rule))}
.cc-r{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:8px 0;border-bottom:1px dashed var(--rule);font-size:15px}
.cc-r span{color:var(--ink-2);min-width:0}
.cc-r b{flex:none;font-variant-numeric:tabular-nums;color:var(--ink);text-align:right}
.cc-big{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:6px 0}
.cc-big span{flex-basis:100%;font-size:14px;font-weight:700;color:var(--ink-2)}
.cc-big strong{font-size:clamp(30px,3.6vw,40px);line-height:1.1;font-weight:800;letter-spacing:-.02em;color:var(--civic);font-variant-numeric:tabular-nums}
.cc-big.bad strong{color:var(--seal)}
.cc-sum{border-top:1px solid var(--rule);margin-top:2px;padding-top:12px}
.cc-sum strong{font-size:clamp(24px,2.6vw,30px);color:var(--ok)}
.cc-tag{font-style:normal;font-size:13px;font-weight:700;padding:4px 12px;border-radius:999px;background:var(--warn-soft);color:var(--warn)}
.cc-tag.ok{background:var(--ok-soft);color:var(--ok)}
.cc-tag.bad{background:var(--seal-soft);color:var(--seal)}
.cc-note{margin:6px 0 0;font-size:14px;line-height:1.55;color:var(--ink-2)}
.cc-note.cc-vung{margin:0;padding:10px 14px;border-radius:12px;background:var(--civic-soft);border-left:4px solid var(--civic-2);color:var(--ink)}
.cc-note.warn{color:var(--warn);background:var(--warn-soft);padding:10px 14px;border-radius:12px;margin:0;font-weight:600}
.cc-wait .cc-r{border-bottom:0}

/* thanh tháng đóng */
.cc-bar{display:flex;height:14px;border-radius:999px;overflow:hidden;background:var(--rule);margin:8px 0 4px}
.cc-bar i{display:block;height:100%}
.cc-bar .u,.cc-legend .u{background:var(--civic)}
.cc-bar .k,.cc-legend .k{background:var(--ok)}
.cc-bar .l,.cc-legend .l{background:var(--muted);opacity:.5}
.cc-legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:var(--ink-2)}
.cc-legend span{display:inline-flex;align-items:center;gap:6px}
.cc-legend i{width:10px;height:10px;border-radius:3px;display:inline-block}

.cc-stop{border:1px solid var(--rule);border-radius:14px;padding:0 14px;background:var(--surface)}
.cc-stop[hidden]{display:none}
.cc-stop summary{cursor:pointer;padding:12px 0;font-size:14px;font-weight:700;color:var(--civic)}
.cc-stop[open]{padding-bottom:14px}
.cc-stop[open]>.cc-f{margin-bottom:10px}

/* lịch */
/* mỗi ô: hàng trên = việc, hàng dưới = ngày; căn cứ ẩn sau nút i */
.cc-steps{list-style:none;margin:0 0 16px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:12px;align-items:start}
.cc-steps li{position:relative;padding:14px 16px 16px;border-radius:16px;background:var(--surface);border:1px solid var(--rule);
  border-left:5px solid var(--rule);display:flex;flex-direction:column;gap:6px;min-width:0;box-shadow:0 10px 24px -22px rgba(20,33,58,.5)}
.cc-steps li.hl{border-left-color:var(--civic);background:var(--civic-soft)}
.cc-steps li.pay{border-left-color:var(--ok);background:var(--ok-soft)}
.cc-sl{font-size:14px;font-weight:700;line-height:1.35;color:var(--ink-2);padding-right:34px}
.cc-sd{font-size:19px;font-weight:800;line-height:1.3;color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.cc-steps li.hl .cc-sd{color:var(--civic)}
.cc-steps li.pay .cc-sd{color:var(--ok)}
/* chưa nhập ngày nộp: ngày suy ngược từ phiếu hẹn */
.cc-steps li.est{border-left-color:var(--civic);border-left-style:dashed}
.cc-est{font-style:normal;font-weight:700;color:var(--civic)}
.cc-shift{font-style:normal;font-weight:600;color:var(--muted)}
.cc-why-i{position:static}
.cc-why-i>summary{position:absolute;top:10px;right:10px;width:28px;height:28px;padding:0;justify-content:center;border-radius:50%;
  font:italic 800 15px/1 Georgia,serif;background:var(--surface-2);color:var(--muted);border:1px solid var(--rule)}
.cc-why-i>summary::before{display:none}
.cc-why-i[open]>summary{background:var(--civic);color:#fff;border-color:var(--civic)}
.cc-why-i .cc-why-b{margin-top:4px;font-size:13.5px}
.cc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.cc-tw{overflow-x:auto;border:1px solid var(--rule);border-radius:18px;background:var(--surface)}
.cc-table{width:100%;border-collapse:collapse;font-size:15.5px;min-width:620px}
.cc-table th,.cc-table td{padding:13px 16px;text-align:left;vertical-align:middle;border-bottom:1px solid var(--rule)}
.cc-table thead th{background:var(--surface-2);font-size:14px;font-weight:800;color:var(--ink-2)}
.cc-table tbody th{white-space:nowrap;color:var(--civic);font-weight:800}
.cc-table td{color:var(--ink-2);font-variant-numeric:tabular-nums;white-space:nowrap}
.cc-table td b{color:var(--ink);font-weight:700}
.cc-table tbody tr:nth-child(even)>*{background:color-mix(in srgb,var(--surface-2) 60%,transparent)}
.cc-table tbody tr:hover>*{background:var(--civic-soft)}
.cc-table tbody tr:last-child>*{border-bottom:0}
/* bảng lịch: 3 cột vừa màn hình điện thoại (không cuộn ngang); ngày không bị ngắt giữa chừng */
.cc-table.cc-table-lich{min-width:0;table-layout:fixed}
.cc-table-lich thead th:first-child{width:4.6em}
.cc-table-lich td{white-space:normal;line-height:1.4}
.cc-table-lich .cc-nw{white-space:nowrap}
.cc-table-lich .cc-wd{font-weight:600}
.cc-table-lich thead th.cc-pay{color:var(--ok)}
.cc-table.cc-table-lich tbody td.cc-pay{background:var(--ok-soft)}
.cc-table.cc-table-lich tbody td.cc-pay b{color:var(--ok);font-weight:800}
.cc-tnote{margin:8px 2px 0;font-size:13px;line-height:1.5;color:var(--muted)}
@media (max-width:560px){
  .cc-table-lich{font-size:14.5px}
  .cc-table-lich th,.cc-table-lich td{padding:10px 8px}
  .cc-table-lich thead th{font-size:13px}
  .cc-table-lich thead th:first-child{width:4.1em}
  .cc-table-lich .cc-wd{display:block;font-size:12.5px}
}
.cc-src{margin:8px 0 0}

/* chủ trang 06/12/2026: mọi kết quả là con số, ngày -> xanh lá tươi (--res cũng dùng cho tien_trinh.css) */
:root{--res:#16A34A}
:root[data-theme="dark"]{--res:#4ADE80}
.cc-big strong,.cc-sum strong,.cc-r b,.cc-legend b,.cc-sd,.cc-steps li.hl .cc-sd,.cc-steps li.pay .cc-sd,
.cc-table td b,.cc-table.cc-table-lich tbody td.cc-pay b{color:var(--res)}
.cc-big.bad strong{color:var(--seal)}
/* số tháng hưởng và thời gian bảo lưu cùng hàng, cùng cỡ chữ */
.cc-bigs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:4px 24px}
.cc-bigs .cc-big{flex-direction:column;align-items:flex-start;flex-wrap:nowrap}
.cc-bigs .cc-big span{flex-basis:auto;display:flex;align-items:center;gap:7px}
.cc-key{flex:none;width:12px;height:12px;border-radius:3px;display:inline-block;background:var(--ok)}
