:root{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#e8eef7;background:#0b1220}*{box-sizing:border-box}body{margin:0;background:#0b1220;color:#e8eef7}a{color:inherit;text-decoration:none}.topbar{height:68px;background:#111a2b;border-bottom:1px solid #273249;display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:10}.brand{display:flex;gap:12px;align-items:center;font-weight:800}.brand small,.account small{color:#9aa9be}.account{display:flex;gap:10px;align-items:center}.account a{padding:8px 10px;border:1px solid #33435f;border-radius:8px}.shell{display:grid;grid-template-columns:250px 1fr;min-height:calc(100vh - 116px)}.sidebar{background:#0f1728;border-right:1px solid #273249;padding:18px 12px}.sidebar a{display:block;padding:12px;border-radius:10px;margin:4px 0;color:#cbd5e1}.sidebar a:hover{background:#1b2942}.content,.standalone{padding:28px;max-width:1400px;width:100%;margin:0 auto}.standalone{max-width:980px}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.card{background:#111a2b;border:1px solid #273249;border-radius:14px;padding:18px}.card h3,.card h2{margin-top:0}.metric{font-size:32px;font-weight:800}.muted{color:#9aa9be}.btn{display:inline-block;border:0;border-radius:10px;background:#2b6ef3;color:white;padding:10px 14px;font-weight:700;cursor:pointer}.btn.secondary{background:#24334e}.btn.danger{background:#a93636}.toolbar{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:18px;flex-wrap:wrap}.table-wrap{overflow:auto;border:1px solid #273249;border-radius:12px}table{width:100%;border-collapse:collapse;background:#111a2b}th,td{padding:12px 14px;text-align:left;border-bottom:1px solid #243047;vertical-align:top}th{color:#9fb3cc;background:#152037}tr:last-child td{border-bottom:0}.badge{display:inline-block;padding:5px 8px;border-radius:999px;background:#22314a;font-size:12px}.badge.ok{background:#153c2b}.badge.warn{background:#493b18}.badge.danger{background:#522128}label{display:block;margin:12px 0 6px;color:#c5d1e1;font-weight:600}input,select,textarea{width:100%;background:#0d1627;border:1px solid #33435f;border-radius:9px;color:#fff;padding:10px 12px}textarea{min-height:90px}.row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.alert{padding:12px 14px;border-radius:10px;margin-bottom:16px;background:#24334e}.alert.success{background:#163e2c}.alert.error{background:#57242a}.alert.warning{background:#53441e}.hero{padding:30px;background:linear-gradient(135deg,#162340,#111a2b);border:1px solid #2b3c5a;border-radius:18px;margin-bottom:20px}.hero h1{font-size:34px;margin:0 0 10px}footer{height:48px;border-top:1px solid #273249;display:flex;align-items:center;justify-content:center;color:#8796ab;font-size:13px}.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#0a1120;padding:2px 6px;border-radius:6px}.progress{height:10px;background:#26334a;border-radius:999px;overflow:hidden}.progress>span{display:block;height:100%;background:#4c83f3}.section-title{margin:0 0 18px}.actions{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:950px){.shell{grid-template-columns:1fr}.sidebar{display:flex;overflow:auto;border-right:0;border-bottom:1px solid #273249}.sidebar a{white-space:nowrap}.grid{grid-template-columns:1fr 1fr}.content{padding:18px}.topbar{padding:0 14px}.account small{display:none}}@media(max-width:560px){.grid,.row{grid-template-columns:1fr}.hero h1{font-size:27px}.account span{display:none}}

/* Mở rộng Build 005 */
.top-actions{display:flex;align-items:center;gap:12px}.bell{position:relative;text-decoration:none;font-size:20px}.counter{position:absolute;top:-8px;right:-10px;background:#b42318;color:#fff;border-radius:20px;min-width:18px;height:18px;line-height:18px;text-align:center;font-size:11px;font-weight:700;padding:0 4px}.hidden{display:none!important}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.tab{padding:8px 12px;border:1px solid #d0d5dd;border-radius:8px;text-decoration:none;background:#fff}.tab.active{font-weight:700;border-color:#344054}.progress{height:10px;background:#eaecf0;border-radius:999px;overflow:hidden}.progress>span{display:block;height:100%;background:#667085}.editor-toolbar{display:flex;gap:6px;flex-wrap:wrap;padding:8px;border:1px solid #d0d5dd;border-bottom:0;border-radius:8px 8px 0 0;background:#f9fafb}.editor-area{min-height:420px;border:1px solid #d0d5dd;padding:22px;background:#fff;outline:none;border-radius:0 0 8px 8px;line-height:1.65}.editor-area:focus{border-color:#667085;box-shadow:0 0 0 3px rgba(102,112,133,.15)}.diff-ins{background:#d1fadf;text-decoration:none}.diff-del{background:#fee4e2;text-decoration:line-through}.message-list{display:flex;flex-direction:column;gap:9px;max-height:560px;overflow:auto;padding:8px}.message{max-width:78%;padding:10px 12px;border-radius:12px;background:#f2f4f7}.message.mine{align-self:flex-end;background:#e0e7ff}.message small{display:block;color:#667085;margin-top:4px}.chat-layout{display:grid;grid-template-columns:280px 1fr;gap:16px}.conversation-list a{display:block;padding:10px;border-bottom:1px solid #eaecf0;text-decoration:none}.conversation-list a.active{font-weight:700;background:#f2f4f7}.issue{border-left:4px solid #f79009;padding:8px 12px;background:#fffaeb;margin:8px 0}.issue strong{display:block}.severity-danger{border-left-color:#d92d20}.kanban{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:12px;overflow-x:auto}.kanban-col{background:#f9fafb;border:1px solid #eaecf0;border-radius:10px;padding:10px;min-height:180px}.task-card{background:#fff;border:1px solid #eaecf0;border-radius:8px;padding:10px;margin:8px 0}.code-block{white-space:pre-wrap;background:#101828;color:#f2f4f7;border-radius:8px;padding:12px;overflow:auto}.status-dot{width:9px;height:9px;border-radius:50%;display:inline-block;background:#12b76a;margin-right:5px}@media(max-width:900px){.chat-layout{grid-template-columns:1fr}.kanban{grid-template-columns:1fr}.top-actions{gap:6px}.account small{display:none}}

/* VIC HOANUI 1.0.0 V2 product shell */
.vic-topbar{gap:18px;position:sticky;top:0;z-index:50}.vic-brand{min-width:210px}.vic-brand a{font-weight:800;letter-spacing:.2px}.vic-global-search{flex:1;max-width:720px;display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.22);border-radius:12px;padding:5px 10px}.vic-global-search input{flex:1;border:0;background:transparent;color:inherit;min-width:90px;padding:7px}.vic-global-search input::placeholder{color:#d6deea}.vic-global-search kbd{font-size:11px;opacity:.7}.vic-create{display:inline-flex;align-items:center;padding:8px 11px;border-radius:9px;background:#fff;color:#17365d!important;font-weight:700}.vic-sidebar a{display:flex;gap:8px;align-items:center}.vic-content{min-width:0}.vic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.vic-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.vic-metric{padding:16px}.vic-metric strong{display:block;font-size:26px;line-height:1.1;margin-top:5px}.vic-metric small{color:var(--muted,#677)}.vic-health.good{border-left:4px solid #2e7d32}.vic-health.warn{border-left:4px solid #ed6c02}.vic-health.bad{border-left:4px solid #d32f2f}.vic-progress{height:9px;background:#e7ebf0;border-radius:999px;overflow:hidden}.vic-progress span{display:block;height:100%;background:currentColor}.vic-context-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 16px}.vic-context-tabs a{padding:7px 10px;border-radius:999px;background:#eef3f8;text-decoration:none}.vic-context-tabs a.active{background:#2f5597;color:#fff}.vic-task-actions{display:flex;gap:8px;flex-wrap:wrap}.vic-next-action{border-left:4px solid #ed6c02}.vic-package{position:relative}.vic-package.recommended{outline:2px solid #2f5597}.vic-package .price-note{font-size:12px;color:#667}.vic-split{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:16px}.vic-panel-sticky{position:sticky;top:86px;align-self:start}.vic-empty{padding:26px;text-align:center;color:#667}.vic-hero{padding:18px 20px;background:linear-gradient(135deg,#f4f7fb,#eef6ff);border:1px solid #d8e3f0;border-radius:14px;margin-bottom:16px}.vic-hero h1{margin:0 0 5px}.vic-tag{display:inline-block;padding:3px 8px;border-radius:999px;background:#edf2f7;font-size:12px;margin:2px}.vic-search-group{margin-bottom:18px}.vic-search-result{display:block;padding:10px 0;border-bottom:1px solid #e9edf2;text-decoration:none}.vic-search-result strong{display:block}.vic-onboarding-step{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:9px 0;border-bottom:1px solid #eef1f4}
@media(max-width:1100px){.vic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vic-global-search kbd{display:none}.vic-split{grid-template-columns:1fr}.vic-panel-sticky{position:static}}
@media(max-width:760px){.vic-global-search{order:3;width:100%;max-width:none}.vic-topbar{flex-wrap:wrap}.vic-create{font-size:0}.vic-create:after{content:'＋';font-size:20px}.vic-grid,.vic-grid-3{grid-template-columns:1fr}.vic-sidebar{overflow-x:auto;display:flex;position:sticky;top:0;z-index:40}.vic-sidebar a{white-space:nowrap}.vic-shell{display:block}.vic-content{padding:12px}}


/* VIC HOANUI .015 official supplied branding */
.brand-logo{display:block;width:auto;height:42px;max-width:150px;object-fit:contain;object-position:left center;flex:0 0 auto}
.brand-logo-large{height:auto;max-height:150px;max-width:min(100%,420px);margin:0 auto;object-fit:contain}
.brand-product{white-space:nowrap;font-weight:800}
.login-branding,.install-branding{display:flex;justify-content:center;align-items:center;margin:0 0 14px}
.vic-brand>a{display:flex;align-items:center;gap:10px;min-width:0}
@media(max-width:760px){.brand-logo{height:36px;max-width:118px}.brand-product{font-size:13px}.vic-brand{min-width:0}.brand-logo-large{max-width:min(100%,300px);max-height:120px}}
@media(max-width:420px){.brand-logo{height:32px;max-width:96px}.brand-product{display:none}}

/* VIC HOANUI Build .016 - approved white-background presentation layer.
   Additive override only: no route, permission, workflow, or business rule changes. */
:root{
  color:#1f2937;
  background:#ffffff;
  --vic-bg:#ffffff;
  --vic-surface:#ffffff;
  --vic-surface-soft:#f8fafc;
  --vic-border:#e2e8f0;
  --vic-text:#1f2937;
  --vic-muted:#64748b;
  --vic-primary:#2f5597;
}
html,body{background:#ffffff;color:var(--vic-text)}
body.vic-body{background:#ffffff;color:var(--vic-text)}
.topbar,.vic-topbar{background:#ffffff;color:var(--vic-text);border-bottom:1px solid var(--vic-border);box-shadow:0 1px 2px rgba(15,23,42,.04)}
.brand small,.account small,.muted{color:var(--vic-muted)}
.sidebar,.vic-sidebar{background:#ffffff;border-color:var(--vic-border)}
.sidebar a,.vic-sidebar a{color:#334155}
.sidebar a:hover,.vic-sidebar a:focus-visible{background:#f1f5f9;color:#0f172a}
.content,.standalone,.vic-content{background:#ffffff;color:var(--vic-text)}
.card{background:#ffffff;color:var(--vic-text);border-color:var(--vic-border);box-shadow:0 1px 2px rgba(15,23,42,.03)}
table{background:#ffffff;color:var(--vic-text)}
th{background:#f8fafc;color:#475569}
th,td{border-color:var(--vic-border)}
.table-wrap{border-color:var(--vic-border);background:#ffffff}
label{color:#334155}
input,select,textarea{background:#ffffff;color:#0f172a;border-color:#cbd5e1}
input::placeholder,textarea::placeholder{color:#94a3b8}
input:focus,select:focus,textarea:focus{outline:2px solid rgba(47,85,151,.16);outline-offset:1px;border-color:#7c9bc7}
.btn.secondary{background:#eef2f7;color:#1e3a5f;border:1px solid #d7e0ea}
.alert{background:#f1f5f9;color:#334155}
.alert.success{background:#ecfdf3;color:#166534}
.alert.error{background:#fef2f2;color:#991b1b}
.alert.warning{background:#fffbeb;color:#92400e}
.hero{background:#ffffff;color:var(--vic-text);border-color:var(--vic-border)}
footer{background:#ffffff;color:var(--vic-muted);border-color:var(--vic-border)}
.code{background:#f1f5f9;color:#334155}
.badge{background:#eef2f7;color:#334155}
.badge.ok{background:#ecfdf3;color:#166534}.badge.warn{background:#fffbeb;color:#92400e}.badge.danger{background:#fef2f2;color:#991b1b}
.vic-global-search{background:#f8fafc;border-color:#d8e1eb;color:#334155}
.vic-global-search input{color:#0f172a;background:transparent}
.vic-global-search input::placeholder{color:#94a3b8}
.vic-create{background:#2f5597;color:#ffffff!important}
.account a{border-color:#d6dee8;background:#ffffff;color:#334155}
.vic-context-tabs a{background:#f1f5f9;color:#334155}
.vic-context-tabs a.active{background:#2f5597;color:#ffffff}
.vic-hero{background:#ffffff;border-color:var(--vic-border)}
.vic-tag{background:#f1f5f9;color:#475569}
.editor-toolbar,.kanban-col{background:#f8fafc}
.editor-area,.task-card{background:#ffffff;color:#1f2937}
.message{background:#f1f5f9;color:#1f2937}.message.mine{background:#e8eefb}
@media(max-width:950px){.sidebar,.vic-sidebar{background:#ffffff;border-color:var(--vic-border)}}
.vic-mention{display:inline-block;padding:1px 6px;border-radius:999px;background:#eef4ff;font-weight:600}.mention-picker{position:absolute;z-index:50;max-height:220px;overflow:auto;min-width:260px;background:#fff;border:1px solid #d0d5dd;border-radius:8px;box-shadow:0 8px 24px rgba(16,24,40,.12);display:none}.mention-picker button{display:block;width:100%;text-align:left;border:0;background:#fff;padding:8px 10px;cursor:pointer}.mention-picker button:hover{background:#f2f4f7}.secret-once{word-break:break-all;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
