
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif; color: #334155;
       background: radial-gradient(circle at 20% 10%, #FFEDE6, #F8FAFC 55%); font-size: 15px; line-height: 1.5; }
a { color: #E25822; }
.khung { max-width: 460px; margin: 0 auto; padding: 32px 16px 48px; }
.khung.rong { max-width: 760px; }
.the { background: #fff; border-radius: 16px; padding: 26px; box-shadow: 0 20px 40px -12px rgba(15, 23, 42, .18);
       margin-bottom: 16px; }
.dau { text-align: center; margin-bottom: 18px; }
.logo { display: block; margin: 0 auto 8px; width: 48px; height: 48px; }
h1 { margin: 4px 0 2px; font-size: 24px; color: #E25822; }
h1 span { color: #0F172A; }
h2 { margin: 0 0 12px; font-size: 18px; color: #0F172A; }
.phu { color: #64748B; margin: 0; font-size: 14px; }
label { display: block; font-weight: 600; color: #475569; margin: 12px 0 6px; font-size: 14px; }
input[type=email], input[type=password], input[type=text], input[type=date], select {
  width: 100%; padding: 11px 12px; border: 1px solid #CBD5E1; border-radius: 8px; font-size: 16px; background: #fff;
  color: #0F172A; }
textarea { width: 100%; padding: 11px 12px; border: 1px solid #CBD5E1; border-radius: 8px; font-size: 16px; font-family: inherit;
           color: #0F172A; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid #FFEDE6; border-color: #E25822; }
.chon { display: flex; gap: 16px; margin-top: 4px; }
.chon label { display: flex; align-items: center; gap: 6px; font-weight: 500; margin: 0; }
button, .nut { display: inline-block; width: 100%; margin-top: 16px; padding: 12px; border: 0; border-radius: 8px;
               font-size: 15px; font-weight: 700; color: #fff; background: #E25822; cursor: pointer; text-align: center;
               text-decoration: none; font-family: inherit; }
button:disabled { opacity: .6; cursor: default; }
.nut.phu, button.phu { background: #F1F5F9; color: #334155; }
button.gon, .nut.gon { width: auto; margin-top: 8px; padding: 7px 14px; font-size: 13.5px; }
button.do { background: #FEF2F2; color: #B91C1C; }
.bao { display: none; margin-top: 12px; padding: 9px 11px; border-radius: 8px; background: #FEF2F2; color: #B91C1C;
       font-size: 14px; }
.bao.hien { display: block; }
.bao.ok { background: #ECFDF5; color: #047857; }
.duoi { text-align: center; margin-top: 16px; font-size: 14px; color: #64748B; }
.duoi a { font-weight: 600; text-decoration: none; }
.nho { font-size: 13px; color: #64748B; }
.menu { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.menu a { padding: 7px 12px; border-radius: 999px; background: #fff; color: #334155; text-decoration: none; font-size: 14px;
          font-weight: 600; box-shadow: 0 1px 3px rgba(15, 23, 42, .1); }
.menu a.dang { background: #E25822; color: #fff; }
.an { display: none !important; }
.nhan { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.nhan.xanh { background: #ECFDF5; color: #047857; }
.nhan.vang { background: #FFFBEB; color: #B45309; }
.nhan.xam { background: #F1F5F9; color: #475569; }
.dong { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0;
        border-top: 1px solid #F1F5F9; flex-wrap: wrap; }
.dong:first-child { border-top: 0; }
.dong .ten { font-weight: 600; color: #0F172A; }
.cot { flex: 1 1 220px; min-width: 0; }
.cot-nut { flex: 0 0 auto; }
.cot-nut button, .cot-nut .nut { width: auto; margin-top: 0; padding: 8px 14px; font-size: 14px; }
details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 600; color: #475569; padding: 6px 0; }
pre.thu { white-space: pre-wrap; word-break: break-all; background: #F8FAFC; border-radius: 8px; padding: 10px; font-size: 13px;
          margin: 6px 0 0; }
.luoi { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 520px) {
  .khung { padding: 16px 10px 32px; }
  .the { padding: 18px; border-radius: 14px; }
  .luoi { grid-template-columns: 1fr; }
  h1 { font-size: 22px; }
}
