/* Chế độ sửa nội dung trang chủ (assets/site-edit.js) — chỉ quản lý / giám đốc thấy */
.se-fab{position:fixed; left:16px; bottom:18px; z-index:9990; display:inline-flex; align-items:center; gap:6px; padding:11px 18px; border:0; border-radius:999px; background:linear-gradient(135deg,#ffb62e,#f07a26); color:#fff; font:800 14px/1.2 'Be Vietnam Pro',system-ui,sans-serif; box-shadow:0 12px 26px -12px rgba(240,122,38,.9); cursor:pointer;}
.se-fab:hover{filter:brightness(1.06); transform:translateY(-1px);}

.se-bar{position:fixed; left:12px; right:12px; bottom:12px; z-index:9995; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 16px; padding:12px 16px; border-radius:18px; background:rgba(15,42,85,.94); color:#fff; font:500 13.5px/1.45 'Be Vietnam Pro',system-ui,sans-serif; box-shadow:0 18px 40px -16px rgba(5,20,50,.7); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);}
.se-bar-t{display:flex; flex-direction:column; gap:2px; min-width:0;} .se-bar-t > b{font-size:15px;} .se-bar-t span{color:#cfe3f5;} .se-bar-t span b{color:#ffcf8a;}
.se-bar-a{display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-left:auto;}
.se-n{font-weight:700; color:#ffcf8a; white-space:nowrap;}
.se-b{display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:12px; border:1.5px solid transparent; background:linear-gradient(135deg,#ffb62e,#f07a26); color:#fff; font:700 13px/1.2 'Be Vietnam Pro',system-ui,sans-serif; cursor:pointer; white-space:nowrap;}
.se-b.line{background:#fff; color:#0f3a75; border-color:#cfe0ee;}
.se-bar .se-b.line{background:transparent; color:#fff; border-color:rgba(255,255,255,.4);}
.se-b:disabled{opacity:.5; cursor:not-allowed;}

/* chỗ sửa được: viền đứt cam, rê chuột / đang gõ thì nền vàng nhạt */
.se-on .se-txt,.se-on .se-img,.se-on .se-lnk{outline:2px dashed rgba(240,122,38,.75); outline-offset:3px; border-radius:4px; cursor:text;}
.se-on .se-img{cursor:pointer;} .se-on .se-lnk:not(.se-txt){cursor:pointer;}
.se-on .se-txt:hover,.se-on .se-img:hover,.se-on .se-lnk:hover{outline-style:solid; outline-color:#f07a26; background-color:rgba(255,214,140,.18);}
.se-on .se-txt:focus{outline:2.5px solid #f07a26; background-color:rgba(255,236,200,.35); caret-color:#f07a26;}
.se-on .reveal{opacity:1 !important; transform:none !important;}
.se-on body{padding-bottom:110px;}

.se-pop{position:absolute; z-index:9996; padding:12px 14px; border-radius:16px; background:#fff; color:#14253a; font:500 13px/1.45 'Be Vietnam Pro',system-ui,sans-serif; border:1px solid #dbe8f3; box-shadow:0 18px 38px -18px rgba(15,58,117,.6);}
.se-pop-h small{display:block; font-size:11px; font-weight:700; letter-spacing:.4px; text-transform:uppercase; color:#7b8ea3;} .se-pop-h b{display:block; font-size:14.5px; color:#0f3a75;}
.se-pop-ed{margin-top:6px; font-size:12.5px; color:#5f7690;} .se-pop-ed b{color:#0f3a75;} .se-pop-ed.se-none{font-style:italic;}
.se-pop-acts{display:flex; flex-wrap:wrap; gap:6px; margin-top:10px;}

.se-ov{position:fixed; inset:0; z-index:9998; display:grid; place-items:center; padding:16px; background:rgba(10,30,60,.45);}
.se-modal{width:min(520px,100%); max-height:calc(100vh - 32px); overflow:auto; padding:18px 18px 14px; border-radius:20px; background:#fff; color:#14253a; font:500 14px/1.5 'Be Vietnam Pro',system-ui,sans-serif; box-shadow:0 26px 60px -24px rgba(5,20,50,.7);}
.se-modal h3{margin:0 0 12px; font-size:17px; color:#0f3a75;}
.se-f{display:flex; flex-direction:column; gap:4px; margin-bottom:12px;} .se-f label{font-size:13px; font-weight:700; color:#22364f;}
.se-f input{padding:10px 12px; border:1.5px solid #cfe0ee; border-radius:12px; background:#f6fbff; font:inherit; color:#14253a;} .se-f input:focus{outline:none; border-color:#f07a26; box-shadow:0 0 0 3px rgba(240,122,38,.16);}
.se-f small{font-size:12px; color:#5f7690;}
.se-imgpv{display:grid; place-items:center; min-height:120px; max-height:260px; margin-bottom:12px; padding:8px; border-radius:14px; background:repeating-conic-gradient(#eef4fa 0 25%,#fff 0 50%) 0 0/18px 18px; overflow:hidden;}
.se-imgpv img{max-width:100%; max-height:240px; object-fit:contain;}
.se-err{min-height:1em; margin-bottom:8px; color:#b42318; font-size:13px; font-weight:600;}
.se-foot{display:flex; justify-content:flex-end; gap:8px; padding-top:10px; border-top:1px dashed #dbe8f3;}
@media (max-width:640px){ .se-bar{left:8px; right:8px; bottom:8px; padding:10px 12px;} .se-bar-a{margin-left:0; width:100%;} .se-bar-a .se-b{flex:1; justify-content:center;} .se-fab{bottom:84px;} }
