:root { --nen: #f6f7f9; --chu: #1d2230; --mo: #5d6678; --vien: #dde1e8; --chinh: #0b5cad; --do: #c62828; --vang: #b26a00; --xanh: #1b7a3d; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--chu); background: var(--nen); }
header { background: #102a4c; color: #fff; padding: 10px 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
header a { color: #fff; text-decoration: none; }
.logo { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; letter-spacing: 1px; font-size: 18px; }
.logo-aki { background: #f5a623; color: #102a4c; border-radius: 5px; padding: 1px 7px; }
.logo-hm { color: #fff; }
header nav { display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: 15px; }
header nav a { opacity: .88; padding: 4px 9px; border-radius: 6px; }
header nav a:hover { opacity: 1; background: rgba(255,255,255,.08); }
header nav a.dang { opacity: 1; background: rgba(255,255,255,.16); font-weight: 600; }
main { max-width: 1100px; margin: 0 auto; padding: 16px; }
h1 { font-size: 24px; margin: 8px 0 16px; }
h2 { font-size: 19px; margin: 0 0 10px; }
h3 { font-size: 16px; margin: 14px 0 6px; }
section, .the-xe, .tong { background: #fff; border: 1px solid var(--vien); border-radius: 10px; padding: 14px 16px; margin: 0 0 14px; }
a { color: var(--chinh); }
.bien { font-size: 30px; font-weight: 800; letter-spacing: 1px; }
.bien a { color: inherit; text-decoration: none; }
.nhat { color: var(--mo); font-size: 14px; }
.dem { background: #e8edf5; color: var(--chu); border-radius: 20px; padding: 0 9px; font-size: 14px; margin-left: 4px; }
.flash { background: #e7f6ec; border: 1px solid #b7e2c4; padding: 10px 12px; border-radius: 8px; }
.loi { background: #fdecea; border: 1px solid #f5c2bd; padding: 10px 12px; border-radius: 8px; color: var(--do); }
.canh { background: #fff6e5; border: 1px solid #f1d39a; padding: 8px 12px; border-radius: 8px; }
.nhac-sai { background: #eef4ff; border: 1px dashed #9db8e6; padding: 8px 12px; border-radius: 8px; font-size: 15px; }
.ma { font-size: 20px; letter-spacing: 2px; }
.nhan { display: inline-block; border-radius: 6px; padding: 1px 8px; font-size: 13px; font-weight: 600; background: #eceff3; }
.nhan.do { background: #fdecea; color: var(--do); }
.nhan.vang { background: #fff4e0; color: var(--vang); }
.nhan.xanh { background: #e7f6ec; color: var(--xanh); }
.nhan.xam { background: #eceff3; color: var(--mo); }
.nhan.cam { background: #fff1e0; color: #8a4b00; }
.nhan.lam { background: #e6effa; color: #0b4a8c; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.chip { display: inline-block; background: #fff; border: 1px solid var(--vien); border-radius: 20px; padding: 6px 12px; font-size: 15px; text-decoration: none; color: var(--chu); }
.chip.vang { background: #fff4e0; border-color: #f1d39a; }
.chip.do { background: #fdecea; border-color: #f5c2bd; }
.chip:hover { border-color: var(--chinh); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.tab { display: inline-block; background: #fff; border: 1px solid var(--vien); border-radius: 8px; padding: 6px 10px; font-size: 15px; text-decoration: none; color: var(--chu); }
.tab.dang { border-color: var(--chinh); background: #e6effa; font-weight: 600; }
a.nut { display: inline-block; background: var(--chinh); color: #fff; border-radius: 8px; padding: 9px 16px; font-weight: 600; text-decoration: none; }
a.nut.phu { background: #e8edf5; color: var(--chu); padding: 6px 12px; }
table.kho th[scope=row] { background: #fff; }
table.kho th:first-child { position: sticky; left: 0; z-index: 1; }
table.kho thead th:first-child { background: #f0f3f7; }
table.kho tfoot th, table.kho tfoot td { border-top: 2px solid var(--vien); font-weight: 600; }
th.so { text-align: right; }
.ghim { border: 1px solid var(--vien); border-left: 4px solid #f5a623; border-radius: 8px; padding: 10px 12px; margin: 0 0 10px; }
.ghim p { margin: 4px 0; }
.ghim .loi-xe { font-size: 17px; font-weight: 600; }
.ghim .ghi { background: #f6f7f9; border-radius: 6px; padding: 6px 8px; font-size: 14px; }
.ghim details { margin: 6px 0; }
form.ghi-them { display: flex; gap: 6px; margin-top: 8px; max-width: 560px; }
fieldset.chon { border: 1px solid var(--vien); border-radius: 8px; display: grid; gap: 6px; }
fieldset.chon label.o { display: flex !important; }
details.khung { background: #fff; border: 1px solid var(--vien); border-radius: 10px; padding: 10px 16px; margin: 0 0 14px; }
.the-xe .lon { font-size: 22px; }
.bieu-do { width: 100%; height: auto; max-width: 760px; display: block; margin: 0 0 8px; }
.bieu-do .cot { fill: #9db8e6; }
.bieu-do .cot.chon { fill: var(--chinh); }
.bieu-do a:hover .cot { fill: #6f97d6; }
.bieu-do a:hover .cot.chon { fill: #0a4f95; }
.bieu-do .vung { fill: transparent; }
.bieu-do .truc { stroke: var(--vien); stroke-width: 1; }
.bieu-do .so-cot { font-size: 13px; font-weight: 600; fill: var(--chu); }
.bieu-do .nhan-cot { font-size: 12px; fill: var(--mo); }
.bieu-do .nhan-cot.dam { fill: var(--chu); font-weight: 700; }
.bieu-do .nhan-cot.nho { font-size: 11px; }
.cuon { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--vien); vertical-align: top; }
th { background: #f0f3f7; font-weight: 600; white-space: nowrap; }
td.so { text-align: right; white-space: nowrap; }
td a[href^="/xe/"] { white-space: nowrap; }
tr.tat td { opacity: .5; }
form.hop { display: grid; gap: 10px; max-width: 560px; }
form.hop label { display: grid; gap: 4px; font-weight: 600; font-size: 15px; }
label.o { display: inline-flex !important; gap: 6px; align-items: center; font-weight: 400 !important; margin-right: 14px; }
input, select, textarea, button { font: inherit; }
input, select, textarea { padding: 9px 10px; border: 1px solid #c4cad4; border-radius: 8px; background: #fff; width: 100%; }
input[type=checkbox], input[type=radio] { width: auto; }
textarea { min-height: 80px; }
button { background: var(--chinh); color: #fff; border: 0; border-radius: 8px; padding: 9px 16px; font-weight: 600; cursor: pointer; }
button.phu { background: #e8edf5; color: var(--chu); }
button:disabled { opacity: .6; }
.dong { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dong form { margin: 0; }
.dong select { width: auto; }
form.trong { display: inline; }
form.tim { display: flex; gap: 8px; margin: 0 0 14px; max-width: 520px; }
form.tim button { white-space: nowrap; }
form.loc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
form.loc select, form.loc input { width: auto; }
.o-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.o-co-so { display: grid; gap: 2px; background: #fff; border: 1px solid var(--vien); border-radius: 10px; padding: 14px; text-decoration: none; color: inherit; }
.o-co-so:hover { border-color: var(--chinh); }
form.kiem fieldset { border: 1px solid var(--vien); border-radius: 10px; margin: 0 0 10px; background: #fff; }
form.kiem legend { padding: 0 6px; }
form.kiem input[type=text], form.kiem input:not([type]) { margin-top: 6px; }
.anh { display: flex; flex-wrap: wrap; gap: 8px; }
.anh img { width: 150px; height: 150px; object-fit: cover; border-radius: 8px; border: 1px solid var(--vien); }
.tong p { margin: 4px 0; }
.tong .lon { font-size: 20px; }
footer { text-align: center; color: var(--mo); font-size: 13px; padding: 20px; }
@media (max-width: 600px) { main { padding: 10px; } .bien { font-size: 26px; } th, td { padding: 6px; font-size: 14px; } }
