/* Khôi phục tài khoản UEF · app.css (bản 0.5)
   Bố cục và thành phần theo mockup Designer 10/11/2026; nhận diện theo help.uef.edu.vn (xanh UEF #0072BC, UEF Pro).
   Không JS, không tài nguyên ngoài, không style inline (CSP style-src 'self'). */
@font-face{font-family:"UEF Pro";font-style:normal;font-weight:100 900;font-display:swap;src:url("fonts/UEFPro-Variable.woff2") format("woff2")}
:root{--brand:#0072bc;--brand-dark:#00568e;--brand-light:#3d97d3;--b08:rgba(0,114,188,.08);--b12:rgba(0,114,188,.12);--b16:rgba(0,114,188,.16);--navy:#00426e;--navy12:rgba(0,66,110,.12);--uef-red:#ed1c24;--uef-gold:#f9a620;--bg:#f8f7fa;--surface:#fff;--ink90:rgba(47,43,61,.9);--ink70:rgba(47,43,61,.7);--ink55:rgba(47,43,61,.55);--line:rgba(47,43,61,.12);--line-soft:rgba(47,43,61,.08);--line-faint:rgba(47,43,61,.06);--field:rgba(47,43,61,.04);--green-bg:rgba(26,158,92,.14);--green-fg:#136c40;--orange-bg:rgba(232,160,19,.16);--orange-fg:#8f6009;--red-bg:rgba(216,50,47,.14);--red-fg:#b72723;--gray-bg:rgba(128,131,144,.14);--gray-fg:#65686f;--danger-wash:rgba(255,76,81,.08);--sh-header:0 2px 14px rgba(47,43,61,.08);--sh-card:0 4px 18px rgba(47,43,61,.10);--font:"UEF Pro",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;--mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
body{margin:0;background:var(--bg)}
h1,h2,h3,p,ol,ul{margin:0}
a{color:var(--brand-dark)}
.app{min-height:100%;background:var(--bg);font-family:var(--font);color:var(--ink90);font-size:15px;line-height:1.55;display:flex;flex-direction:column}
.top{background:var(--surface);box-shadow:var(--sh-header);position:relative;z-index:1}
.top-in{max-width:1120px;margin:0 auto;padding:12px 24px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:14px;text-decoration:none}
.brand img{height:38px;width:auto;display:block}
.wm{display:flex;flex-direction:column}
.wm b{font-family:var(--font);font-weight:700;font-size:22px;line-height:27px;letter-spacing:-.2px;color:#3f3f45}
.wm small{font-size:12.5px;line-height:16px;font-weight:500;color:var(--ink70)}
.spacer{flex:1}
.user{display:flex;align-items:center;gap:10px}
.avatar{width:36px;height:36px;border-radius:999px;background:linear-gradient(72deg,var(--brand),var(--brand-light));color:#fff;font-weight:600;font-size:13px;display:flex;align-items:center;justify-content:center;flex:none}
.who{display:flex;flex-direction:column;line-height:1.25}
.who b{font-weight:600;font-size:14px}
.who span{font-size:12px;color:var(--ink70)}
.wrap{flex:1;width:100%;max-width:1120px;margin:0 auto;padding:32px 24px 48px;box-sizing:border-box;display:flex;flex-direction:column;gap:24px}
.card{background:var(--surface);border-radius:8px;box-shadow:var(--sh-card);padding:24px;box-sizing:border-box;min-width:0}
.h1{font-size:30px;line-height:1.25;font-weight:700;letter-spacing:-.3px}
.h2{font-size:20px;line-height:1.3;font-weight:700}
.h3{font-size:17px;line-height:1.35;font-weight:600}
.lead{font-size:16px;color:var(--ink70)}
.mute{color:var(--ink70);font-size:14px}
.eyebrow{font-size:12px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:var(--ink70)}
.svc{display:flex;align-items:center;gap:12px}
.svc .nm{display:flex;flex-direction:column;min-width:0}
.svc .nm span{font-size:13.5px;color:var(--ink70)}
.tile{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex:none}
.tile.sm{width:36px;height:36px;border-radius:8px}
.tile.lg{width:52px;height:52px;border-radius:12px}
.t-gw{background:var(--b12);color:var(--brand-dark)}
.t-ms{background:var(--navy12);color:var(--navy)}
.t-id{background:var(--brand);color:#fff}
.t-warn{background:var(--orange-bg);color:var(--orange-fg)}
.t-danger{background:var(--red-bg);color:var(--red-fg)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;border-radius:6px;border:0;font:600 14px/1.3 var(--font);text-decoration:none;text-align:center;box-sizing:border-box;cursor:pointer;white-space:nowrap}
.btn-primary{background:var(--brand);color:#fff}
.btn-tonal{background:var(--b16);color:var(--brand-dark)}
.btn-quiet{background:var(--field);color:var(--ink90);box-shadow:inset 0 0 0 1px var(--line)}
.btn-danger{background:var(--danger-wash);color:var(--red-fg);box-shadow:inset 0 0 0 1px rgba(183,39,35,.28)}
.btn-danger-solid{background:var(--red-fg);color:#fff}
.btn-lg{min-height:50px;font-size:15px;padding:12px 22px}
.btn-block{width:100%}
.pill{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;font-size:12.5px;font-weight:600;white-space:nowrap}
.dot{width:6px;height:6px;border-radius:999px;background:currentColor;flex:none}
.p-green{background:var(--green-bg);color:var(--green-fg)}
.p-orange{background:var(--orange-bg);color:var(--orange-fg)}
.p-gray{background:var(--gray-bg);color:var(--gray-fg)}
.facts{display:flex;flex-direction:column}
.fact{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-top:1px solid var(--line-faint);font-size:14px}
.fact .k{color:var(--ink70)}
.fact .v{font-weight:600;text-align:right;overflow-wrap:anywhere}
.callout{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:8px;font-size:14px;line-height:1.5}
.callout svg{flex:none;margin-top:1px}
.c-warn{background:var(--orange-bg);color:#4f3504}
.c-info{background:var(--b08);color:var(--ink90)}
.c-danger{background:var(--danger-wash);color:var(--ink90)}
.acts{display:flex;flex-direction:column}
.act{display:flex;align-items:center;gap:14px;padding:16px 0;border-top:1px solid var(--line-faint);flex-wrap:wrap}
.act .ic{color:var(--ink70);flex:none;align-self:flex-start;margin-top:2px}
.act .txt{flex:1 1 220px;min-width:0}
.act .txt b{display:block;font-weight:600;font-size:15px}
.act .txt span{display:block;font-size:13.5px;color:var(--ink70)}
.act .btn{flex:none}
.act .txt b .tag{display:inline-block;font-size:11px;color:var(--brand-dark)}
.act.rec{background:var(--b08);border-top:0;border-radius:8px;padding:16px;margin-bottom:4px}
.tag{display:inline-block;font-size:11px;font-weight:700;color:var(--brand-dark);background:var(--b16);border-radius:4px;padding:1px 6px;margin-left:6px;vertical-align:2px}
.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:24px;align-items:start}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{font-size:12.5px;font-weight:500;padding:3px 10px;border-radius:999px;background:var(--field);color:var(--ink70);box-shadow:inset 0 0 0 1px var(--line-soft)}
.codebox{background:var(--b08);border-radius:10px;padding:22px 16px 16px;text-align:center;display:flex;flex-direction:column;gap:8px;align-items:center}
.code{font-family:var(--mono);font-size:42px;line-height:1.15;font-weight:700;letter-spacing:.06em;color:var(--navy);user-select:all;-webkit-user-select:all;word-spacing:.35em;overflow-wrap:anywhere}
.code .d{color:var(--brand)}
.steps{list-style:none;padding:0;display:flex;flex-direction:column;gap:14px}
.steps li{display:flex;gap:12px;align-items:flex-start}
.num{width:26px;height:26px;border-radius:999px;background:var(--b12);color:var(--brand-dark);font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center;flex:none;margin-top:1px}
.dom{font-family:var(--mono);font-size:13px;background:var(--field);box-shadow:inset 0 0 0 1px var(--line-soft);padding:2px 8px;border-radius:4px;color:var(--ink90);white-space:nowrap}
.crumb{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--brand-dark);text-decoration:none;min-height:44px}
.col{max-width:640px;width:100%;margin:0 auto;display:flex;flex-direction:column;gap:20px}
.stack{display:flex;flex-direction:column}
.row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.foot{background:var(--surface);border-top:1px solid var(--line-soft)}
.foot-in{max-width:1120px;margin:0 auto;padding:18px 24px;display:flex;gap:16px;flex-wrap:wrap;align-items:center;font-size:13px;color:var(--ink70)}
.foot-in nav{display:flex;gap:20px;flex-wrap:wrap}
.foot-in a{color:var(--brand-dark);font-weight:500}
/* Chuyển nhanh giữa hai thẻ dịch vụ: chỉ cần khi thẻ xếp dọc (màn hẹp). */
.jump{display:none;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 4px}
.jump a{padding:6px 12px;border-radius:999px;background:var(--b08);color:var(--brand-dark);font-weight:600;font-size:14px;text-decoration:none}
@media (max-width:960px){.jump{display:flex}}
@media (max-width:600px){.h1{font-size:23px}.wrap{padding:20px 16px 32px;gap:16px}.top-in{padding:10px 16px}.card{padding:18px}.code{font-size:30px}.act .btn{width:100%}.wm small{display:none}.wm b{font-size:16px;line-height:20px}.brand{gap:10px}.brand img{height:32px}.who{display:none}.user{display:none}.top-in{flex-wrap:nowrap;gap:10px}.top .btn{padding:10px 14px}.foot-in{padding:16px}}

/* Bố cục riêng từng màn — tách từ style inline cho CSP style-src 'self'. Đổi tên tuỳ ý khi đưa vào templates. */
.hero{padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px; align-items: center}
.stack16{display: flex; flex-direction: column; gap: 16px}
.mt4{margin-top: 4px}
.howto{background: var(--b08); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 16px}
.sec-head{display: flex; flex-direction: column; gap: 6px; margin-top: 8px}
.stack18{display: flex; flex-direction: column; gap: 18px}
.logo-ph{border: 1.5px dashed rgba(47,43,61,.35); background: rgba(47,43,61,.04); color: rgba(47,43,61,.7); font-size: 10px; font-weight: 600; line-height: 1.15; text-align: center; box-sizing: border-box}
.checks{gap: 10px; font-size: 14.5px}
.chk{flex: none; margin-top: 2px}
.idbar{display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 24px}
.idbar-txt{flex: 1 1 320px; min-width: 0}
.phish{box-shadow: none; display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; background: var(--orange-bg)}
.noshrink{flex: none}
.phish-txt{flex: 1 1 360px; display: flex; flex-direction: column; gap: 10px; color: #4f3504}
.gap8{gap: 8px}
.fs14{font-size: 14px}
.page-head{justify-content: space-between; gap: 16px}
.idstrip{display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 24px}
.idstrip-txt{flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 2px}
.gap10{gap: 10px}
.link-strong{font-weight: 600; font-size: 14px}
.gap4{gap: 4px}
.eyebrow-sp{margin: 4px 0 8px}
.result{padding: 28px; display: flex; flex-direction: column; gap: 20px}
.logo-ph-sm{border: 1.5px dashed rgba(47,43,61,.35); background: rgba(47,43,61,.04); color: rgba(47,43,61,.7); font-size: 9px; font-weight: 600; line-height: 1.15; text-align: center; box-sizing: border-box}
.fs13{font-size: 13px}
.gap14{gap: 14px}
.fs135{font-size: 13.5px}
.code-pw{font-size: 38px}
.col-narrow{max-width: 560px}
.bullet{margin-top: 9px; color: rgba(47,43,61,.7)}
.confirm-box{display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; padding: 14px 16px; border-radius: 8px; background: rgba(255,76,81,.08)}
.confirm-check{width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--red-fg)}
.grow2{flex: 1 1 220px}
.grow1{flex: 1 1 140px}

/* Bổ sung khi đưa vào code */
.top{border-bottom:3px solid var(--brand)}
.top form{margin:0}
.tile.logo{background:var(--surface);border:1px solid var(--line-soft)}.tile img{width:68%;height:68%;object-fit:contain;display:block}
.code .g{display:inline-block;margin-right:.35em}
.code .g:last-child{margin-right:0}
.ic-brand{color:var(--brand-dark)}
.ic-danger{color:var(--red-fg)}
.ic-ok{color:var(--green-fg)}
.ic-warn{color:var(--orange-fg)}
button.btn{font-family:var(--font)}
.btn:hover{filter:brightness(.95)}
.btn:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--uef-gold);outline-offset:2px}
.notice-list{margin:6px 0 0;padding-left:18px}
.act form{flex:none;margin:0}
.t-gw b,.t-ms b{font-size:20px;font-weight:800}

.btn.is-busy{opacity:.6;pointer-events:none}
