/* Cao Phong / desktop storefront + ERP workspace. Mobile retains original layout. */
.cp-desktop{display:none}
@media(min-width:1024px){
html,body{height:auto;min-height:100%;background:#f4f6f9}body{display:flex;flex-direction:column;overflow-x:clip}
.cp-desktop{display:block}.cp-announcement{order:0;background:#8d1027;color:#ffe6df;padding:8px max(24px,calc((100% - 1240px)/2));font-size:12px;white-space:nowrap}.cp-announcement span{font-weight:700;margin-right:24px;color:white;letter-spacing:1px}.cp-announcement button{float:right;color:white;font-size:12px}
body #dau{order:1;position:sticky;top:0;max-width:none;width:100%;border-radius:0;padding:0;background:linear-gradient(110deg,#b80c2c,#d52136);box-shadow:none}
body #dau .hang{max-width:1288px;padding:19px 24px;margin:auto;gap:16px;flex-wrap:nowrap}body #dau .mark{width:54px;height:54px;background:white;border-radius:14px}body #dau .mark img{object-fit:contain}body #dau h1{font-size:21px}body #dau .dau-chu{flex:0 0 176px}body #dau .phu{font-size:11px}body #dau .goi{width:44px;height:44px;border-radius:50%;order:3}body #dau .gio-nut{order:5}
body #dau .cp-header-search{display:flex;flex:1;order:2;background:white;border-radius:30px;padding:5px;min-width:200px;height:48px} .cp-header-search input{border:0;outline:none;background:transparent;color:#222;width:100%;padding:6px 16px;font-size:14px;min-width:0}.cp-header-search button{background:#fff0eb;color:#bd1230;border-radius:50%;width:38px;flex-shrink:0}body #dau .cp-account{display:flex;align-items:center;gap:8px;color:white;text-align:left;font-size:11px;order:4;white-space:nowrap}.cp-account b{font-size:13px}
.cp-category{order:2;background:white;border-bottom:1px solid #e7e9ef}.cp-category>div{max-width:1288px;padding:0 24px;margin:auto;display:flex;justify-content:space-between;gap:12px}.cp-category button{font-size:13px;font-weight:600;padding:15px 0;color:#273448}.cp-category button:first-child{color:#bc1230}.cp-category button:hover{color:#bd1230}
body #chan{order:3;position:static;transform:none;max-width:none;width:100%;border:0;border-radius:0;background:#fff6f3;display:flex;justify-content:center;padding:0;box-shadow:none}body #chan button{flex:0 1 248px;display:flex;flex-direction:row;gap:8px;padding:12px;color:#655355}body #chan button span{font-size:13px}body #chan button em,body #chan .tab-mua em{width:22px;height:22px;margin:0;background:transparent;box-shadow:none;color:inherit}body #chan button.on{color:#bd1230;background:#ffe9e3}body #chan button.on:before{display:none}
body #than{order:4;flex:1;width:100%;max-width:1288px;padding:24px 24px 56px;margin:auto;box-shadow:none;background:transparent;min-width:0;font-size:14px}body #than h2{font-size:23px;letter-spacing:-.6px}.cp-hero-grid{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(250px,1fr);gap:16px;margin-bottom:24px}.cp-hero-main{position:relative;overflow:hidden;min-height:328px;padding:34px;border-radius:20px;background:linear-gradient(120deg,#fff0dd 0%,#ffdfd4 65%,#ffc9be);color:#7b1728}.cp-eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:700}.cp-hero-main h2{font-size:38px!important;line-height:1.2;margin:15px 0!important;letter-spacing:-1.4px!important;position:relative;z-index:1}.cp-hero-main p{font-size:13px;line-height:1.8;position:relative;z-index:1}.cp-hero-main>button{background:#bc1532;color:white;border-radius:24px;padding:12px 22px;margin-top:20px;position:relative;z-index:1;font-weight:600;font-size:13px}.cp-hero-mark{position:absolute;right:-45px;bottom:-65px;width:340px;height:340px;border-radius:50%;background:#fff9;display:grid;place-items:center;transform:rotate(-9deg)}.cp-hero-mark img{width:240px;mix-blend-mode:multiply}.cp-hero-side{display:grid;gap:16px}.cp-hero-side article{border-radius:18px;padding:20px 24px;background:#e4eff6;color:#234864}.cp-hero-side article+article{background:#e8f1e9;color:#315c42}.cp-hero-side span{font-size:10px;font-weight:700;letter-spacing:1.5px}.cp-hero-side h3{font-size:22px;line-height:1.2;margin:8px 0}.cp-hero-side p{font-size:11px;margin:6px 0}.cp-hero-side button{font-size:12px;font-weight:700;margin-top:6px}.tim-chu{display:none}
body .nganh-hang{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));overflow:visible;margin:0 0 24px;padding:0;gap:12px}body .nh-o{width:auto;min-width:0;background:white;border:1px solid #e7eaf0;padding:18px 8px;border-radius:14px}body .nh-tron{margin:auto auto 10px}body .pt-hang .nh-o{display:flex;align-items:center;justify-content:center;gap:10px;padding:16px 8px}body .pt-hang .nh-tron{margin:0;width:40px;height:40px}body .pt-hang b{font-size:12px}
body .sp-luoi{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}body .sp-the{border:1px solid #e8ebf1;border-radius:16px;padding:16px;box-shadow:none}body .sp-the:hover{border-color:#dc8a93;box-shadow:0 6px 20px #24344c0a}body .sp-anh{max-height:200px}body .benh-luoi{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}body .bai-hang{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;overflow:visible}body .bai-the{width:auto;min-width:0}body .cam-ket{grid-template-columns:repeat(4,1fr);background:white;border:1px solid #e8ebf1;border-radius:16px;padding:24px}body .tam{width:600px;max-width:90vw}body .bao{bottom:24px}body .kh-dau{margin-top:28px}
/* Staff workspace: use existing tabs and their existing permission-filtered contents. */
body.la-qt{--nen:#0c101a;--trang:#141a27;--muc:#e2e8f3;--xam:#9ca8bd;--xam-nhat:#9ca8bd;--xam-mo:#8b98ae;--vien:#293246;--nhat:#271c2d;--dam:#f3f5fb;--luc:#2dd4bf;--do:#f87171;--bong:none;background:#0c101a;color:#e2e8f3}
body.la-qt .cp-announcement,body.la-qt .cp-category,body.la-qt #chan,body.la-qt .cp-header-search,body.la-qt .cp-account{display:none!important}body.la-qt #dau{background:#0c111c;border-bottom:1px solid #242c3a;height:76px}body.la-qt #dau .hang{max-width:none;padding:12px 28px}body.la-qt #dau .dau-chu{flex:1}body.la-qt #dau .mark{width:42px;height:42px}body.la-qt #dau h1{font-size:17px}body.la-qt #than{width:auto;max-width:none;margin:0 0 0 252px;padding:24px 28px 48px;min-height:calc(100vh - 76px);background:#0c101a;animation:none}
body.la-qt #than>.tabs{position:fixed;top:76px;left:0;bottom:0;width:252px;display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;overflow-y:auto;overflow-x:hidden;padding:82px 12px 24px;background:#0d121e;border-right:1px solid #242c3a;z-index:25;gap:4px;margin:0;scrollbar-width:thin}body.la-qt #than>.tabs:before{content:'CAO PHONG / QUẢN TRỊ';position:absolute;top:30px;left:24px;font-size:10px;letter-spacing:1.2px;color:#8e9ab0;font-weight:700}body.la-qt #than>.tabs button{width:100%;flex-shrink:0;text-align:left;white-space:normal;background:transparent;border:1px solid transparent;color:#aeb9cc;padding:11px 14px;border-radius:8px;font-size:12px}body.la-qt #than>.tabs button:hover{background:#171f30;color:white}body.la-qt #than>.tabs button.on{background:#252036;color:#ffa9b5;border-color:#4a2c44;box-shadow:inset 3px 0 #d62c4b}
body.la-qt .qt-dau{background:#131a28;border:1px solid #293246;border-radius:12px;margin-bottom:24px;padding:14px 18px}body.la-qt .qt-ai small{color:#9ca8bd}body.la-qt .qt-ve{background:#222c40;color:#e1e8f5}body.la-qt .cp-admin-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}body.la-qt .cp-admin-heading span{color:#8e9ab0;font-size:10px;letter-spacing:1.3px}body.la-qt .cp-admin-heading h2{font-size:28px!important;margin-top:8px}body.la-qt .cp-admin-heading button{border:1px solid #293246;border-radius:9px;padding:9px 14px;color:#c4cfdf;font-size:12px}
body.la-qt #qtPanel{column-count:1;min-width:0}body.la-qt #qtPanel>.the{display:block;width:100%;border:1px solid #293246;box-shadow:none;border-radius:12px;background:#141a27}body.la-qt .o input,body.la-qt .o select,body.la-qt .o textarea,body.la-qt input,body.la-qt select,body.la-qt textarea{background:#0e1420;color:#e1e8f5;border-color:#354057}body.la-qt .nut{background:#b92343;color:white;max-width:none}body.la-qt .nut.phu,body.la-qt .nut.xam{background:#222c40;color:#d3ddee}body.la-qt .ch-luoi{grid-template-columns:repeat(3,minmax(0,1fr))}body.la-qt .ch-dong{background:#141a27;border-color:#293246}body.la-qt .qt-chan{border-top:1px solid #293246;margin-top:24px;color:#9ca8bd}body.la-qt .tk-luoi{grid-template-columns:repeat(4,minmax(0,1fr))}body.la-qt table{width:100%;border-collapse:collapse}body.la-qt td,body.la-qt th{border-color:#293246}
}
@media(min-width:1440px){body .sp-luoi{grid-template-columns:repeat(4,minmax(0,1fr))}body.la-qt .ch-luoi{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(max-width:480px){#than{padding-left:14px;padding-right:14px}img,table{max-width:100%}}
/* Chỉ html chặn tràn ngang: để body "hidden" sẽ biến body thành khung cuộn riêng, cộng overscroll-behavior:none làm con lăn chuột không cuộn được trang */
html{overflow-x:hidden}body{overflow-x:clip}

/* The duplicate home shortcuts were removed; #chan remains the primary responsive navigation. */

/* Nút "Dành cho NVYT": đăng nhập mã DS...CP -> checklist nhân viên (/nhan-su/) */
.nvyt-nut{display:inline-flex;align-items:center;gap:7px;padding:9px 15px;border-radius:12px;font-weight:700;font-size:13.5px;
  color:#fff!important;text-decoration:none;white-space:nowrap;background:linear-gradient(180deg,#14b8a6,#0b7d76);
  box-shadow:0 3px 0 #0a6660,0 8px 18px rgba(15,168,158,.35);transition:transform .08s ease,filter .12s ease}
.nvyt-nut:hover{filter:brightness(1.06);transform:translateY(-1px)}
.nvyt-nut:active{transform:translateY(2px);box-shadow:0 1px 0 #0a6660,0 4px 10px rgba(15,168,158,.3)}
.nvyt-nut .ic,.nvyt-nut svg{width:15px;height:15px;color:#fff}
.nvyt-dai{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;padding:10px 12px;border-radius:14px;
  background:linear-gradient(100deg,#8e1b1b,#c62828 55%,#0b7d76);color:#fff;box-shadow:0 6px 18px rgba(142,27,27,.22)}
.nvyt-dai b{display:block;font-size:13.5px}.nvyt-dai small{display:block;font-size:11.5px;opacity:.85}
.nvyt-dai .nvyt-nut{background:#fff;color:#0b7d76!important;box-shadow:0 3px 0 #cbd5e1,0 6px 14px rgba(0,0,0,.18)}
.nvyt-dai .nvyt-nut .ic,.nvyt-dai .nvyt-nut svg{color:#0b7d76}
.cp-hero-nut{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.nvyt-dai{margin-bottom:18px}
/* Quản trị Cao Phong Care: điểm nhấn xanh ngọc / đỏ, nút có đổ bóng (29/10/2026) */
body.la-qt .tabs button.on{background:linear-gradient(180deg,#14b8a6,#0b7d76);color:#fff;border-color:transparent;
  box-shadow:0 3px 0 #0a6660,0 8px 16px rgba(15,168,158,.3)}
body.la-qt .nut{box-shadow:0 3px 0 rgba(0,0,0,.35),0 8px 16px rgba(0,0,0,.25)}
body.la-qt .nut:active{transform:translateY(2px);box-shadow:0 1px 0 rgba(0,0,0,.35)}
body.la-qt .qt-ve{text-decoration:none}