/* ===== cmeykhoa.vn – Công ty Cổ phần Y Dược Thanh Hải ===== */
:root{
  --logo-green:#09A550;
  --brand:#06773A;          /* xanh đậm: chữ, nút, nền có chữ trắng */
  --brand-dark:#044D26;     /* thanh trên cùng */
  --brand-soft:#EEF6F1;     /* nền nhạt cho nhãn, ô ngày */
  --brand-tint:#CDE4D8;
  --red:#D0141F;            /* nút đăng ký, chữ THANH HAI MEDICAL */
  --page:#F4FBF7;           /* nền trang xanh rất nhạt */
  --section-alt:#E6F6ED;
  --footer:#0A241E;
  --ink:#14202B;
  --ink-2:#26333F;
  --muted:#3A4754;
  --muted-2:#4A5866;
  --line:#E3E8ED;
  --line-2:#EEF1F4;
  --field:#C5CED6;
  --ok-bg:#E3F3E8; --ok:#17663A;
  --wait-bg:#ECEFF2; --wait:#4A5866;
  --radius:14px;
  --shadow:0 6px 20px rgba(20,32,43,.06);
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{margin:0;font-family:'Be Vietnam Pro',system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);background:var(--page);font-size:16px;line-height:1.6}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{line-height:1.2;margin:0}
p{margin:0}
input,select,button,textarea{font:inherit}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
:focus-visible{outline:3px solid var(--logo-green);outline-offset:2px}
.skip{position:absolute;left:-999px;top:8px;background:#fff;padding:8px 14px;border-radius:8px;z-index:100}
.skip:focus{left:8px}

/* ---- Nút ---- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:12px 22px;border-radius:8px;font-weight:700;border:0;cursor:pointer;text-decoration:none!important;white-space:nowrap}
.btn-red{background:var(--red);color:#fff}
.btn-red:hover{background:#B0101A}
.btn-outline{background:#fff;color:var(--brand);border:2px solid var(--brand);padding:10px 20px}
.btn-white{background:#fff;color:var(--brand)}
.btn-ghost{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.45)}
.btn-sm{min-height:40px;padding:9px 16px;font-size:15px}

/* ---- Thanh trên cùng ---- */
.topbar{background:var(--brand-dark);color:#fff;font-size:14px}
.topbar .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 24px;padding-top:8px;padding-bottom:8px}
.topbar .left,.topbar .right{display:flex;flex-wrap:wrap;gap:6px 20px;align-items:center}

/* ---- Đầu trang ---- */
.header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px 28px;padding-top:12px;padding-bottom:12px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none!important}
.brand-mark{display:flex;flex-direction:column;align-items:center;gap:2px;flex-shrink:0}
.brand-mark img{width:40px;height:46px;object-fit:contain}
.brand-mark span{font-size:9px;font-weight:800;letter-spacing:.04em;color:var(--red);white-space:nowrap;line-height:1}
.brand-name{display:flex;flex-direction:column;line-height:1.25}
.brand-name small{font-weight:700;font-size:12px;color:var(--muted-2);letter-spacing:.04em}
.brand-name strong{font-weight:800;font-size:18px;color:var(--brand);white-space:nowrap}
.nav{display:flex;align-items:center;gap:4px 22px;font-weight:600;font-size:15px}
.nav>a,.nav .dd>button{padding:8px 0;border-bottom:2px solid transparent;background:none;border-top:0;border-left:0;border-right:0;font-weight:600;font-size:15px;color:inherit;cursor:pointer}
.nav>a[aria-current="page"]{color:var(--brand);border-bottom-color:var(--brand)}
.nav a:hover{text-decoration:none;color:var(--brand)}
.dd{position:relative}
.dd>button{display:flex;align-items:center;gap:4px}
.dd-panel{position:absolute;left:50%;top:100%;transform:translateX(-50%);width:min(1080px,92vw);background:#fff;border-radius:0 0 16px 16px;box-shadow:0 16px 36px rgba(20,32,43,.14);padding:24px 28px;display:none;grid-template-columns:repeat(5,minmax(0,1fr)) 230px;gap:22px}
.dd:hover .dd-panel,.dd:focus-within .dd-panel,.dd.open .dd-panel{display:grid}
.dd-panel h3{font-size:12px;font-weight:800;color:var(--brand);text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px}
.dd-panel a{display:flex;flex-direction:column;padding:5px 0;line-height:1.3;font-weight:600}
.dd-panel a small{font-size:12px;font-weight:500;color:var(--muted-2)}
.dd-next{background:var(--brand-soft);border-radius:12px;padding:18px;display:flex;flex-direction:column;gap:8px}
.dd-next b{font-size:12px;color:var(--brand)}
.menu-toggle{display:none;background:none;border:1px solid var(--line);border-radius:8px;min-height:44px;min-width:44px;cursor:pointer}

/* ---- Khối chung ---- */
.section{padding:72px 0}
.section-alt{background:var(--section-alt)}
.eyebrow{color:var(--brand);font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:.06em}
.h2{font-size:34px;font-weight:800}
.head-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px 24px;margin-bottom:32px}
.head-row .t{display:flex;flex-direction:column;gap:8px}
.link-more{color:var(--brand);font-weight:700}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.grid{display:grid;gap:24px}
.g3{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.chip{display:inline-block;font-size:13px;font-weight:700;padding:4px 12px;border-radius:999px}
.chip-ok{background:var(--ok-bg);color:var(--ok)}
.chip-wait{background:var(--wait-bg);color:var(--wait)}

/* ---- Hero ---- */
.hero{background:var(--brand-soft)}
.hero .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:48px;padding-top:64px;padding-bottom:64px}
.hero-text{flex:1 1 460px;min-width:0;display:flex;flex-direction:column;gap:22px}
.pill{align-self:flex-start;background:#fff;color:var(--brand);font-weight:700;font-size:13px;padding:6px 14px;border-radius:999px;border:1px solid var(--brand-tint)}
.hero h1{font-size:46px;line-height:1.15;font-weight:800;letter-spacing:-.01em}
.hero-lead{font-size:18px;color:var(--muted);max-width:560px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px}
.ticks{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px 24px;font-size:15px;font-weight:600}
.ticks li{display:flex;align-items:center;gap:8px}
.ticks svg{color:var(--brand)}

/* ---- Banner trình chiếu ---- */
.slider{flex:1 1 440px;min-width:0;position:relative;aspect-ratio:4/3;border-radius:16px;overflow:hidden;background:var(--brand-dark);box-shadow:0 18px 40px rgba(20,32,43,.18)}
.track{display:flex;height:100%;transition:transform .9s cubic-bezier(.65,0,.35,1)}
.slide{flex:0 0 100%;height:100%;position:relative;padding:32px 36px 84px;display:flex;flex-direction:column;gap:16px;color:#fff;overflow:hidden}
.slide:nth-child(3n+1){background:var(--brand)}
.slide:nth-child(3n+2){background:#085433}
.slide:nth-child(3n){background:#085F4A}
.slide .deco{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.slide .in{position:relative;transition:transform .8s cubic-bezier(.22,1,.36,1),opacity .6s ease;transform:translateX(80px);opacity:0}
.slide.on .in{transform:none;opacity:1}
.slide.on .in.d1{transition-delay:.25s}.slide.on .in.d2{transition-delay:.4s}.slide.on .in.d3{transition-delay:.55s}
.slide .tags{display:flex;flex-wrap:wrap;gap:8px}
.tag-new{background:#fff;color:var(--brand);font-size:12px;font-weight:800;letter-spacing:.06em;padding:5px 12px;border-radius:999px}
.tag-date{background:var(--red);color:#fff;font-size:13px;font-weight:700;padding:5px 12px;border-radius:999px}
.slide .body{margin-top:auto;display:flex;flex-direction:column;gap:10px}
.slide .khoa{font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;opacity:.9}
.slide .title{font-size:28px;line-height:1.25;font-weight:800}
.slide .meta{font-size:15px;opacity:.92}
.slide .cta{align-self:flex-start;background:#fff;color:var(--brand-dark);font-weight:800;padding:12px 20px;border-radius:8px}
.slider-ctl{position:absolute;left:36px;right:20px;bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.dots{display:flex;gap:8px}
.dots button{height:10px;width:10px;border-radius:999px;border:0;padding:0;cursor:pointer;background:rgba(255,255,255,.45);transition:width .3s}
.dots button[aria-current="true"]{width:28px;background:#fff}
.arrows{display:flex;gap:8px}
.arrows button{width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.5);background:rgba(255,255,255,.12);color:#fff;font-size:18px;cursor:pointer}

/* ---- Đối tác ---- */
.partners .wrap{padding-top:36px;padding-bottom:36px;display:flex;flex-direction:column;gap:18px}
.partners .label{font-size:14px;font-weight:700;color:var(--muted-2);text-transform:uppercase;letter-spacing:.06em}
.partner-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px}
.partner{display:flex;align-items:center;gap:14px;padding:12px 16px;font-weight:600;font-size:15px;line-height:1.35}
.partner img{width:56px;height:56px;object-fit:contain;flex-shrink:0}

/* ---- Thẻ khóa học ---- */
.course{overflow:hidden;display:flex;flex-direction:column}
.course .cover{position:relative;aspect-ratio:16/9}
.course .cover img{width:100%;height:100%;object-fit:cover}
.course .cover .chip{position:absolute;top:14px;right:14px;background:#fff;color:var(--ok)}
.course .in{padding:20px 22px 22px;display:flex;flex-direction:column;gap:14px;flex-grow:1}
.course h3{font-size:19px;line-height:1.35;font-weight:700}
.meta-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:14px;color:var(--muted)}
.meta-list li{display:flex;gap:8px;align-items:flex-start}
.meta-list svg{color:var(--brand);flex-shrink:0;margin-top:3px}
.course .foot{margin-top:auto;padding-top:14px;border-top:1px solid var(--line-2);display:flex;align-items:center;justify-content:space-between;gap:12px}
.course .fee small{display:block;font-size:13px;color:var(--muted-2)}
.course .fee b{font-size:16px}

/* ---- Vì sao + số liệu ---- */
.why{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin:40px 0}
.why .card{padding:28px;display:flex;flex-direction:column;gap:14px}
.why .ico{width:52px;height:52px;border-radius:12px;background:var(--brand-soft);color:var(--brand);display:flex;align-items:center;justify-content:center}
.why h3{font-size:20px;font-weight:700}
.why p{color:var(--muted)}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1px;background:var(--line);border-radius:var(--radius);overflow:hidden}
.stats div{background:#fff;padding:24px;text-align:center}
.stats b{display:block;font-size:34px;font-weight:800;color:var(--brand)}
.stats span{color:var(--muted);font-size:15px}

/* ---- Nhóm chuyên khoa ---- */
.groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:20px}
.groups .card{padding:22px;display:flex;flex-direction:column}
.groups h3{font-size:15px;font-weight:700;color:var(--brand);text-transform:uppercase;letter-spacing:.04em;margin-bottom:8px}
.groups a{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--line-2);font-weight:600;min-height:44px}
.groups a:last-child{border-bottom:0}
.groups a small{font-size:13px;font-weight:600;color:var(--muted-2)}

/* ---- 4 bước ---- */
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}
.steps li{background:#fff;border-radius:var(--radius);padding:26px;display:flex;flex-direction:column;gap:10px}
.steps .n{width:40px;height:40px;border-radius:50%;background:var(--brand);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center}
.steps h3{font-size:18px;font-weight:700}
.steps p{color:var(--muted);font-size:15px}

/* ---- Tin ---- */
.post-card{overflow:hidden;display:flex;flex-direction:column;text-decoration:none!important}
.post-card .img{aspect-ratio:3/2;background:var(--brand-soft);overflow:hidden}
.post-card .img img{width:100%;height:100%;object-fit:cover}
.post-card .in{padding:20px 22px;display:flex;flex-direction:column;gap:8px}
.post-card small{font-size:13px;color:var(--muted-2);font-weight:600}
.post-card h3{font-size:18px;line-height:1.4;font-weight:700}
.post-card:hover h3{color:var(--brand)}
.news-video{display:flex;flex-wrap:wrap;gap:40px}
.news-list{flex:999 1 520px;min-width:0;display:flex;flex-direction:column;gap:18px}
.news-item{display:flex;gap:18px;align-items:flex-start;padding-bottom:18px;border-bottom:1px solid var(--line);text-decoration:none!important}
.news-item .th{width:140px;aspect-ratio:8/5;flex-shrink:0;border-radius:10px;overflow:hidden;background:var(--brand-soft)}
.news-item .th img{width:100%;height:100%;object-fit:cover}
.news-item small{font-size:13px;font-weight:700;color:var(--brand)}
.news-item small span{color:var(--muted-2);font-weight:600}
.news-item h3{font-size:17px;line-height:1.4;font-weight:700;margin-top:4px}
.video{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:18px}
.video .frame{aspect-ratio:16/9;border-radius:var(--radius);overflow:hidden;background:#14202B}
.video iframe{width:100%;height:100%;border:0}

/* ---- Form ---- */
.consult{background:var(--brand);color:#fff}
.consult .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:40px;padding-top:64px;padding-bottom:64px}
.consult .t{flex:1 1 420px;display:flex;flex-direction:column;gap:16px}
.consult .t p{font-size:18px;opacity:.95}
.form{flex:1 1 420px;background:#fff;color:var(--ink);border-radius:var(--radius);padding:28px;display:flex;flex-direction:column;gap:16px}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-weight:600;font-size:14px}
.field input,.field select,.field textarea{min-height:46px;border:1px solid var(--field);border-radius:8px;padding:10px 14px;font-size:16px;background:#fff;color:var(--ink);width:100%}
.field textarea{min-height:90px;resize:vertical}
.hp{display:none}
.form .note{font-size:13px;color:var(--muted-2)}

/* ---- Tiêu đề trang con ---- */
.page-head{background:var(--brand-soft)}
.page-head .wrap{padding-top:36px;padding-bottom:32px;display:flex;flex-direction:column;gap:12px}
.crumbs{font-size:14px;color:var(--muted-2)}
.crumbs b{color:var(--ink);font-weight:600}
.page-head h1{font-size:40px;font-weight:800}
.page-head p{font-size:17px;color:var(--muted);max-width:720px}

/* ---- Lịch khai giảng ---- */
.filters{padding:20px;display:flex;flex-direction:column;gap:16px;box-shadow:var(--shadow)}
.filters .row{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips button{min-height:40px;padding:0 16px;border-radius:999px;border:1.5px solid var(--field);background:#fff;color:var(--ink-2);font-weight:600;font-size:14px;cursor:pointer}
.chips button[aria-pressed="true"]{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:700}
.layout{display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start;padding-top:28px;padding-bottom:72px}
.main-col{flex:999 1 640px;min-width:0;display:flex;flex-direction:column;gap:16px}
.side-col{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;gap:20px}
.result-info{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:15px;color:var(--muted)}
.row-class{padding:20px;display:flex;flex-wrap:wrap;gap:20px;align-items:center}
.row-class .cv{width:220px;aspect-ratio:16/9;flex-shrink:0;border-radius:12px;overflow:hidden;position:relative}
.row-class .cv img{width:100%;height:100%;object-fit:cover}
.row-class .day{position:absolute;left:10px;top:10px;background:#fff;color:var(--brand);border-radius:8px;padding:4px 10px;text-align:center;line-height:1.1;box-shadow:0 4px 12px rgba(0,0,0,.15)}
.row-class .day b{display:block;font-size:20px;font-weight:800}
.row-class .day span{font-size:11px;font-weight:700}
.row-class .info{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:8px}
.row-class .tags{display:flex;gap:8px;flex-wrap:wrap}
.row-class .k{background:var(--brand);color:#fff}
.row-class h2{font-size:19px;line-height:1.35;font-weight:700}
.row-class .m{display:flex;flex-wrap:wrap;gap:4px 18px;font-size:14px;color:var(--muted)}
.row-class .act{display:flex;flex-direction:column;gap:8px}
.empty{border:1px dashed var(--field);border-radius:var(--radius);padding:28px;text-align:center;color:var(--muted);background:#fff}
.box{padding:24px;display:flex;flex-direction:column;gap:12px}
.box h2{font-size:18px;font-weight:800}
.box-brand{background:var(--brand);color:#fff;border-radius:var(--radius)}
.box ol{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px;font-size:15px;color:var(--muted)}

/* ---- Bài viết ---- */
.article-layout{display:flex;flex-wrap:wrap;gap:48px;align-items:flex-start;padding-top:32px;padding-bottom:72px}
.article{flex:999 1 640px;min-width:0;max-width:760px;display:flex;flex-direction:column;gap:22px}
.article h1{font-size:36px;line-height:1.25;font-weight:800}
.article .meta{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:14px;color:var(--muted-2)}
.article .lead{font-size:20px;line-height:1.55;font-weight:500;color:var(--ink-2)}
.article figure{margin:0}
.article figure img{border-radius:var(--radius);width:100%}
.article h2{font-size:25px;line-height:1.3;font-weight:800;margin-top:12px}
.article p,.article li{font-size:17px;line-height:1.75;color:var(--ink-2)}
.article ul{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:6px}
.factbox{overflow:hidden}
.factbox .hd{background:var(--brand-soft);padding:12px 20px;font-weight:800;color:var(--brand)}
.factbox dl{margin:0;display:grid;grid-template-columns:170px minmax(0,1fr);font-size:15px}
.factbox dt,.factbox dd{margin:0;padding:12px 20px;border-top:1px solid var(--line-2)}
.factbox dt{font-weight:600;color:var(--muted)}
.cta-band{border-radius:var(--radius);background:var(--brand);color:#fff;padding:26px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.cta-band h2{color:#fff;margin:0;font-size:22px}
.share{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:14px;font-weight:600;padding-top:18px;border-top:1px solid var(--line)}
.share a,.share button{border:1px solid var(--field);padding:6px 12px;border-radius:8px;background:#fff;cursor:pointer;font-weight:600;font-size:14px}
.source{font-size:14px;color:var(--muted-2);font-style:italic}

/* ---- Chân trang ---- */
.footer{background:var(--footer);color:#D5DDE4;font-size:15px}
.footer .wrap{padding-top:52px;padding-bottom:28px;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:32px}
.footer h3{color:#fff;font-size:16px;margin-bottom:6px}
.footer strong{color:#fff}
.footer .col{display:flex;flex-direction:column;gap:9px}
.footer .logo-tile{width:96px;height:80px;border-radius:12px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.footer .logo-tile img{width:40px;height:46px;object-fit:contain}
.footer .logo-tile span{font-size:9px;font-weight:800;letter-spacing:.04em;color:var(--red);line-height:1}
.footer .social{display:flex;gap:10px;flex-wrap:wrap}
.footer .social a{border:1px solid #5B6F80;padding:8px 14px;border-radius:8px}
.copy{border-top:1px solid rgba(255,255,255,.12)}
.copy .wrap{display:block;padding-top:16px;padding-bottom:16px;font-size:14px;color:#AEBBC7}

/* ---- Thanh liên hệ cố định trên điện thoại ---- */
.mbar{display:none}

/* ---- Điện thoại / máy tính bảng ---- */
@media (max-width:1100px){
  .menu-toggle{display:inline-flex;align-items:center;justify-content:center}
  .header .wrap{flex-wrap:wrap}
  .nav{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0;order:3}
  .nav.open{display:flex}
  .nav>a,.nav .dd>button{padding:12px 0;border-bottom:1px solid var(--line-2);text-align:left;width:100%}
  .dd-panel{position:static;transform:none;width:100%;box-shadow:none;padding:8px 0 12px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));display:none}
  .dd:hover .dd-panel{display:none}
  .dd.open .dd-panel{display:grid}
  .dd-next{display:none}
  .header .btn-red.desk{display:none}
}
@media (max-width:760px){
  .wrap{padding:0 16px}
  .topbar .right{display:none}
  .section{padding:52px 0}
  .h2{font-size:27px}
  .hero .wrap{padding-top:36px;padding-bottom:40px;gap:28px}
  .hero h1{font-size:32px}
  .hero-lead{font-size:16px}
  .slider{aspect-ratio:4/5}
  .slide{padding:24px 22px 80px}
  .slide .title{font-size:22px}
  .slider-ctl{left:22px}
  .page-head h1{font-size:30px}
  .article h1{font-size:28px}
  .row-class .cv{width:100%}
  .row-class .act{flex-direction:row;width:100%}
  .row-class .act .btn{flex:1}
  .factbox dl{grid-template-columns:1fr}
  .factbox dd{border-top:0;padding-top:0}
  .news-item .th{width:110px}
  .partner-grid{grid-template-columns:1fr}
  body{padding-bottom:64px}
  .mbar{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 18px rgba(20,32,43,.08)}
  .mbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:60px;font-size:13px;font-weight:700;color:var(--brand);text-decoration:none}
  .mbar a.reg{background:var(--red);color:#fff}
}
