/* Giao diện tối FruDaily. Phần dưới sinh tự động bằng gen-dark.js từ style.css, editor.css, admin.html; chỉ có hiệu lực khi <html data-theme="dark"> */
html[data-theme="dark"]{color-scheme:dark;--g:#21995a;--gd:#9ad9b0;--gl:#16301f;--or:#ff8a3d;--gb:#16794a;--orb:#c2410c;--am:#f5b52e;--cream:#2a2418;--alt:#151a17;--tx:#e6ebe7;--mu:#a0aba5;--ln:#2c3631;--cream2:#221e14;--bg:#0e1210;--card:#171c19}
html[data-theme="dark"] body{background:#0e1210;color:var(--tx)}
html[data-theme="dark"] ::placeholder{color:#7e8984}
:where(html[data-theme="dark"]) :is(input,select,textarea){color:var(--tx);background-color:#171c19}
html[data-theme="dark"] select option{background:#171c19;color:var(--tx)}
:where(html[data-theme="dark"]) a{color:#6fd49b}
html[data-theme="dark"] .hero>img{mix-blend-mode:normal;background:#fff;border-radius:24px;padding:8px}
html[data-theme="dark"] .pqr,html[data-theme="dark"] .pbx img{background:#fff;padding:8px;border-radius:12px}
html[data-theme="dark"] ::-webkit-scrollbar{background:#0e1210}html[data-theme="dark"] ::-webkit-scrollbar-thumb{background:#33403a;border-radius:8px}
/* nút đổi giao diện */
.thm{position:fixed;left:14px;bottom:14px;z-index:90;width:44px;height:44px;border-radius:50%;border:1px solid var(--ln);background:var(--card,#fff);color:var(--tx);font-size:21px;line-height:1;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.18);padding:0}
.thm:hover{border-color:var(--g)}
html[data-theme="dark"] .thm{background:#1d2420;color:#ffd98a}
@media print{.thm{display:none}}
/* ===== sinh tự động ===== */
html[data-theme="dark"] body{background:#151917}
html[data-theme="dark"] .topbar{background:#1b5e38}
html[data-theme="dark"] .hd{background:#151917}
html[data-theme="dark"] .brand{color:#52d18c}
html[data-theme="dark"] .search{background:#151917}
html[data-theme="dark"] .cartb{background:var(--gb)}
html[data-theme="dark"] .cartb:hover{background:#1b5e38}
html[data-theme="dark"] button:focus-visible,html[data-theme="dark"] input:focus-visible,html[data-theme="dark"] select:focus-visible,html[data-theme="dark"] textarea:focus-visible,html[data-theme="dark"] a:focus-visible{outline:3px solid #4b613f}
html[data-theme="dark"] .hero p{color:#a6afbc}
html[data-theme="dark"] .cta{background:var(--gb)}
html[data-theme="dark"] .cta:hover{background:#1b5e38}
html[data-theme="dark"] .more{background:#151917;color:#52d18c}
html[data-theme="dark"] .more:hover{background:var(--gb)}
html[data-theme="dark"] .tile img{background:#151917}
html[data-theme="dark"] .card{background:#151917}
html[data-theme="dark"] .pr{color:#52d18c}
html[data-theme="dark"] .card button,html[data-theme="dark"] .pri{background:var(--gb)}
html[data-theme="dark"] .card button:hover,html[data-theme="dark"] .pri:hover{background:#1b5e38}
html[data-theme="dark"] .card button:disabled,html[data-theme="dark"] .pri:disabled{background:#4c554e}
html[data-theme="dark"] .new{background:var(--orb)}
html[data-theme="dark"] .so{border:4px solid #333333}
html[data-theme="dark"] .info div{background:#151917}
html[data-theme="dark"] .ft{background:#1b5e38}
html[data-theme="dark"] .sheet{background:#151917}
html[data-theme="dark"] .qty button{background:var(--gb)}
html[data-theme="dark"] .tot{color:#52d18c}
html[data-theme="dark"] .bar.ok{background:var(--gb)}
html[data-theme="dark"] .toast{background:#1b5e38}
html[data-theme="dark"] .low{background:#463a14;color:#ecce95}
html[data-theme="dark"] .hrow .back{color:#52d18c}
html[data-theme="dark"] .crumb a{color:#52d18c}
html[data-theme="dark"] .ebtn{background:var(--gb)}
html[data-theme="dark"] .tk{background:#1b5e38}
html[data-theme="dark"] .navbar{background:var(--gb)}
html[data-theme="dark"] .ddp{background:#151917}
html[data-theme="dark"] .dr .chev{color:#52d18c}
html[data-theme="dark"] .sub{background:#151917}
html[data-theme="dark"] .search2{background:#151917;color:#52d18c}
html[data-theme="dark"] .crumbf a{color:#52d18c}
html[data-theme="dark"] .slider{background:#151917}
html[data-theme="dark"] .hs-btn{background:var(--gb)}
html[data-theme="dark"] .hs-body:hover .hs-btn{background:#1b5e38}
html[data-theme="dark"] .hs-ar{background:var(--gb)}
html[data-theme="dark"] .hs-ar:hover{background:#1b5e38}
html[data-theme="dark"] .hs-dots button{background:#3b423d}
html[data-theme="dark"] .hs-dots .on{background:var(--gb)}
html[data-theme="dark"] .pgn,html[data-theme="dark"] .pgc{background:#151917}
html[data-theme="dark"] .pgc{background:var(--gb)}
html[data-theme="dark"] .steps li.on{background:var(--gb)}
html[data-theme="dark"] .box{background:#151917}
html[data-theme="dark"] .co input,html[data-theme="dark"] .co select,html[data-theme="dark"] .co textarea{background:#151917}
html[data-theme="dark"] .qty button:disabled{background:#4c554e}
html[data-theme="dark"] .sl2.tt b{color:#52d18c}
html[data-theme="dark"] .warn{background:#463a14;color:#efd5a2}
html[data-theme="dark"] .rc{background:#151917}
html[data-theme="dark"] .rb{color:#52d18c}
html[data-theme="dark"] .agree a{color:#52d18c}
html[data-theme="dark"] .sec{background:#151917;color:#52d18c}
html[data-theme="dark"] .done .tick{background:var(--gb)}
html[data-theme="dark"] .done .code{color:#52d18c}
html[data-theme="dark"] .actabs button{background:#151917;color:#52d18c}
html[data-theme="dark"] .actabs button.on{background:var(--gb)}
html[data-theme="dark"] i.st.huy{background:#341613}
html[data-theme="dark"] i.st.moi{background:#463a14;color:#efd5a2}
html[data-theme="dark"] .ok2{color:#52d18c}
html[data-theme="dark"] .co details summary{color:#52d18c}
html[data-theme="dark"] .av{background:#151917}
html[data-theme="dark"] .nl .av{background:#151917}
html[data-theme="dark"] .pbar i{background:var(--gb)}
html[data-theme="dark"] .warn2{background:#463a14;border:1px solid #615732;color:#efd5a2}
html[data-theme="dark"] .vch{background:#16251a}
html[data-theme="dark"] .vch b{color:#52d18c}
html[data-theme="dark"] i.st.hoan{background:#341613}
html[data-theme="dark"] i.st.dagiao{background:#223a29;color:#9feec9}
html[data-theme="dark"] .prio{background:#463a14;color:#efd5a2}
html[data-theme="dark"] i.st.khachhuy,html[data-theme="dark"] i.st.bom{background:#341613}
html[data-theme="dark"] .cxbtn{background:#151917}
html[data-theme="dark"] .pendtag{background:#463a14;color:#efd5a2}
html[data-theme="dark"] .warn.dep{background:#341613;color:#e37f73}
html[data-theme="dark"] .pbx{background:#151917}
html[data-theme="dark"] .prow{border-bottom:1px dashed #3d3d3d}
html[data-theme="dark"] .pcp{background:#1e221e}
html[data-theme="dark"] .deptag{background:#463a14;color:#efd5a2}
html[data-theme="dark"] .deptag.wait{background:#0e182f;color:#829ed8;border-color:#303a50}
html[data-theme="dark"] .deptag.ok{background:#1f3024;color:#9fe4b8;border-color:#3e5244}
html[data-theme="dark"] .pendbar{background:#463a14}
html[data-theme="dark"] .pbrow{color:#efd5a2}
html[data-theme="dark"] .pbrow .deptag{background:#151917}
html[data-theme="dark"] .rtx a{color:#52d18c}
html[data-theme="dark"] .bv-card{background:linear-gradient(160deg,#1b5e38,var(--gb))}
html[data-theme="dark"] .bv-btn{background:#151917}
html[data-theme="dark"] .bv-btn:hover{color:#52d18c}
html[data-theme="dark"] .stars{background:linear-gradient(90deg,var(--am) calc(var(--v,0)/5*100%),#303439 0)}
html[data-theme="dark"] .pdl a{color:#52d18c}
html[data-theme="dark"] .pd-ds{color:#c3cac4}
html[data-theme="dark"] .rv-sum{border:1px solid #4e452d}
html[data-theme="dark"] .rv-dist i{background:#27292c}
html[data-theme="dark"] .rv-note a{color:#52d18c}
html[data-theme="dark"] .rv-add{border:2px dashed #444946;color:#52d18c}
html[data-theme="dark"] .rv-warn{background:#392b11;color:#ecc995}
html[data-theme="dark"] .rv-btn{background:#151917;color:#52d18c}
html[data-theme="dark"] .acs{background:#151917}
html[data-theme="dark"] .edl:hover{color:#52d18c}
html[data-theme="dark"] .ai:hover{background:#1a261e}
html[data-theme="dark"] .ai.on{background:#1f3024;color:#52d18c}
html[data-theme="dark"] .ai .bg{background:var(--gb)}
html[data-theme="dark"] .oflt button{background:#151917}
html[data-theme="dark"] .oflt button.on{background:var(--gb)}
html[data-theme="dark"] .oc2{background:#151917}
html[data-theme="dark"] .rvb{background:var(--gb)}
html[data-theme="dark"] .vch.off{background:#1c221f}
html[data-theme="dark"] .catl{background:#151917}
html[data-theme="dark"] .bell{background:#151917}
html[data-theme="dark"] .bellp{background:#151917}
html[data-theme="dark"] .bhd{background:#151917}
html[data-theme="dark"] .bhd button{color:#52d18c}
html[data-theme="dark"] .bi:hover{background:#192219}
html[data-theme="dark"] .bi.nw{background:#352a0f}
html[data-theme="dark"] .bi.nw:hover{background:#473915}
html[data-theme="dark"] .cat-r.cat-sp{background:#2e230d}
html[data-theme="dark"] .cat-r.cat-sub{background:#191e1c}
html[data-theme="dark"] .dt{background:#151917}
html[data-theme="dark"] .scard{background:#151917}
html[data-theme="dark"] .scard.hi{background:#1f2d23}
html[data-theme="dark"] .schart{background:#151917}
html[data-theme="dark"] .sb i{background:var(--gb)}
html[data-theme="dark"] .pd-t{background:#151917}
html[data-theme="dark"] .imgi{background:#151917}
html[data-theme="dark"] .imgi small{color:#52d18c}
html[data-theme="dark"] .vo{background:#151917}
html[data-theme="dark"] .vup:hover{color:#52d18c}
html[data-theme="dark"] .mapbx{background:var(--card,#151917)}
html[data-theme="dark"] .mapb{background:var(--gb)}
html[data-theme="dark"] .mapb.sec{color:#52d18c}
html[data-theme="dark"] .pcbtn{background:#151917;color:#52d18c}
html[data-theme="dark"] .pcbtn:hover{background:var(--gb)}
html[data-theme="dark"] .fab-t{background:#151917}
html[data-theme="dark"] .fab-c{background:#151917}
html[data-theme="dark"] .fab-c.t-phone,html[data-theme="dark"] .fab-c.t-email,html[data-theme="dark"] .fab-c.t-address,html[data-theme="dark"] .fab-c.t-website,html[data-theme="dark"] .fab-c.t-other,html[data-theme="dark"] .fab-c.t-tiktok,html[data-theme="dark"] .fab-c.t-instagram,html[data-theme="dark"] .fab-c.t-x{background:var(--gb)}
html[data-theme="dark"] .fab-m{background:var(--gb)}
html[data-theme="dark"] .fab-m:hover{background:#1b5e38}
html[data-theme="dark"] .fab-up{background:#151917}
html[data-theme="dark"] .gal-d i{background:#3b423d}
html[data-theme="dark"] .gal-d i.on{background:var(--gb)}
html[data-theme="dark"] .zgrp{background:#0e1c2f;border:1px solid #253756}
html[data-theme="dark"] .zgrp span{color:#aac5ed}
html[data-theme="dark"] .plate{border:2px solid #6c5734;background:#34280f;color:#efd5a2}
html[data-theme="dark"] #gvband{background:linear-gradient(180deg,#382910,#2d200d)}
html[data-theme="dark"] .gv-c{background:#151917;border:2px solid #6e542f}
html[data-theme="dark"] .gv-pc,html[data-theme="dark"] .sg-pc{background:var(--orb)}
html[data-theme="dark"] .gv-bar{background:#4e3517}
html[data-theme="dark"] .gv-btn{background:var(--orb)}
html[data-theme="dark"] .gv-btn.sec{background:#151917}
html[data-theme="dark"] .gv-ban{background:#392911;color:#eab889}
html[data-theme="dark"] .sg-c{background:#151917}
html[data-theme="dark"] .sg-p{color:#52d18c}
html[data-theme="dark"] .card.out{background:#202623;border-color:#3d3f3d}
html[data-theme="dark"] .card.out h3,html[data-theme="dark"] .card.out .pr,html[data-theme="dark"] .card.out .cr{color:#9fa49f}
html[data-theme="dark"] .card.out .pr small,html[data-theme="dark"] .card.out .pr s{color:#a4a9a4}
html[data-theme="dark"] .oos-ban{background:#272f2b;color:#a4a9a4}
html[data-theme="dark"] .sheet.out{background:#202623}
html[data-theme="dark"] .sheet.out h3{color:#a4a9a4}
html[data-theme="dark"] .pd.out h1,html[data-theme="dark"] .pd.out .pd-pr{color:#a4a9a4}
html[data-theme="dark"] .pd.out .pd-pr s{color:#a4a9a4}
html[data-theme="dark"] .pd.out .pd-ds{color:#a4a9a4}
html[data-theme="dark"] .hs-dots button::before{background:#3b423d}
html[data-theme="dark"] .hs-dots .on::before{background:var(--gb)}
html[data-theme="dark"] .fded{border:2px solid var(--ln,#39413b);background:#151917}
html[data-theme="dark"] .fded-bar{border-bottom:2px solid var(--ln,#39413b);background:var(--gl,#1a261e)}
html[data-theme="dark"] .fded-b,html[data-theme="dark"] .fded-sel,html[data-theme="dark"] .fded-col{border:1px solid #3d4640;background:#151917;color:#cae5d6}
html[data-theme="dark"] .fded-b:hover,html[data-theme="dark"] .fded-sel:hover,html[data-theme="dark"] .fded-col:hover{background:#152318}
html[data-theme="dark"] .fded-sep{background:#3d4841}
html[data-theme="dark"] .fded-msg{color:#9fd6b7}
html[data-theme="dark"] .fded-msg.bad{color:#e3665f}
html[data-theme="dark"] .fded .fded-sel{border:1px solid #3d4640;background:#151917}
html[data-theme="dark"] .sm{background:var(--gb)}
html[data-theme="dark"] .sm.o{background:var(--orb)}
html[data-theme="dark"] .chk{background:#151917}
html[data-theme="dark"] .ok{color:#52d18c}
html[data-theme="dark"] .lk{color:#9feec9}
html[data-theme="dark"] .tag{background:#223a29;color:#9feec9}
html[data-theme="dark"] body{color:#e6e6e6}
html[data-theme="dark"] .sub{color:#c2c2c2}
html[data-theme="dark"] th,html[data-theme="dark"] td{border:1px solid #525252}
html[data-theme="dark"] th{background:#232a26}
html[data-theme="dark"] .note{color:#c2c2c2}
html[data-theme="dark"] body{background:#0e1210}
