/* Customer account UX. Does not apply to the admin entry. */
body:has(#workspace){background:#f8fafc}
#dialog-content form>button[type=submit]{width:100%;margin-top:8px;min-height:46px}
#dialog-content .actions{display:flex;margin-bottom:20px;border-bottom:1px solid #e2e8f0;padding-bottom:12px}
#dialog-content .actions button[aria-pressed=true]{background:#eff6ff;color:#1d4ed8;border-color:#93c5fd}
#dialog-content [role=alert]:not(:empty){padding:12px;background:#fff1f2;color:#9f1239;border-radius:10px}
#dialog-content .field button{justify-self:end;font-size:12px;padding:5px 8px;border:0;background:transparent;color:#2563eb}
#dialog-content .field{min-width:0}#dialog-content p{margin:10px 0}
.embedded-workflow{background:#fff;min-width:0}
.embedded-workflow>.topline,.embedded-workflow>header,.embedded-workflow>footer,.embedded-workflow main>.hero,.embedded-workflow #session-state:empty{display:none}
.embedded-workflow main{padding:12px 20px;max-width:none}
.embedded-workflow #dialog{position:relative;inset:auto;margin:0;width:100%;max-width:none;max-height:none;box-shadow:none;border-radius:0;padding:16px 20px 24px;overflow:visible}
.embedded-workflow #dialog .dialog-top{display:none}
.embedded-workflow #dialog-content{margin-top:0}
.embedded-workflow #workspace h2{font-size:21px;margin:8px 0 18px}
.embedded-workflow #toast:not(:empty){position:static;margin:12px 20px}
@media(max-width:480px){.embedded-workflow #dialog{padding:12px 16px 20px}.embedded-workflow main{padding:12px 16px}}

/* ---- Round 6: Tài khoản ---- */
.acct{display:grid;gap:14px;min-width:0}
.acct-head{display:flex;gap:14px;align-items:center;flex-wrap:wrap;background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:16px}
.acct-avatar{width:52px;height:52px;border-radius:50%;background:#2563eb;color:#fff;display:grid;place-items:center;font-weight:800;font-size:22px;flex:none}
.acct-who{display:grid;gap:3px;min-width:0;flex:1}
.acct-who strong{font-size:17px;overflow-wrap:anywhere}
.acct-meta{display:block;color:#64748b;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.acct-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.acct-stat{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:12px 14px;display:grid;gap:3px}
.acct-stat strong{font-size:19px;color:#0f172a;overflow-wrap:anywhere}
.acct-stat span{font-size:12px;color:#64748b}
.acct-section{display:grid;gap:8px}
.acct-section h3{font-size:15px;margin:6px 0 0;color:#0f172a}
.acct-item{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:space-between;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:12px 14px}
.acct-item-main{display:grid;gap:2px;min-width:0;flex:1 1 180px}
.acct-item-main strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.acct-btn{flex:none;min-width:84px}
.acct-slot{flex-basis:100%;margin:0}
.acct-slot:empty{display:none}
.acct-link{display:inline-block;background:#2563eb;color:#fff;text-decoration:none;font-weight:700;font-size:13px;padding:10px 14px;border-radius:12px;text-align:center}
.acct-error{color:#9f1239;background:#fff1f2;border-radius:10px;padding:10px 12px;font-size:12px;margin:0}
#dialog-content .acct>button.danger{width:100%;min-height:46px}
@media(min-width:640px){.acct-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}
