/* Support Desk Light theme (Rob/Lee t271u): black on white, per agent via html[data-theme="light"]. Dark theme untouched. */
html[data-theme="light"]{--bg:#ffffff;--panel:#f6f7f9;--panel2:#eef1f5;--rule:#d8dde6;--text:#111318;--subtle:#4a5160;--gold:#8a5c0c;--dark:#111318;--grey:#9aa3b1;--input:#b9c1cd;color-scheme:light}
html[data-theme="light"] body{background:#ffffff;color:#111318}
html[data-theme="light"] a{color:#14306b;text-decoration-color:rgba(20,48,107,.45)}html[data-theme="light"] a:hover{text-decoration-color:#14306b}
html[data-theme="light"] h1,html[data-theme="light"] h2,html[data-theme="light"] h3,html[data-theme="light"] label,html[data-theme="light"] details summary,html[data-theme="light"] .fs legend,html[data-theme="light"] .stat b,html[data-theme="light"] .fbavg b,html[data-theme="light"] .chead h3,html[data-theme="light"] .un b,html[data-theme="light"] .chd b,html[data-theme="light"] .lreq-hd b,html[data-theme="light"] details.blkd summary{color:#111318}
html[data-theme="light"] pre,html[data-theme="light"] code{color:#111318;background:#f6f7f9}
/* header + nav */
html[data-theme="light"] .top{background:#ffffff;border-bottom:1px solid #d8dde6}
html[data-theme="light"] .brand b{color:#111318}
html[data-theme="light"] .top .meta{color:#111318}
html[data-theme="light"] .who{color:#4a5160}html[data-theme="light"] .who b{color:#111318}
html[data-theme="light"] .who .role{border-color:#8a5c0c;color:#8a5c0c}
html[data-theme="light"] .ublk button.signout{color:#4a5160;text-decoration-color:rgba(74,81,96,.45)}html[data-theme="light"] .ublk button.signout:hover{color:#111318;text-decoration-color:#111318}
html[data-theme="light"] nav{background:#f6f7f9;border-bottom-color:#d8dde6}
html[data-theme="light"] nav a{color:#111318}html[data-theme="light"] nav a.on{border-bottom-color:#b8860b}
html[data-theme="light"] .badge{background:#8a5c0c;color:#ffffff}
html[data-theme="light"] .admbtn{color:#4a5160}html[data-theme="light"] .admbtn:hover,html[data-theme="light"] .adm.open .admbtn{color:#111318;border-color:#d8dde6}
html[data-theme="light"] .adm.on .admbtn{color:#8a5c0c;border-color:#b8860b}
html[data-theme="light"] .admmenu{background:#ffffff;border-color:#d8dde6;box-shadow:0 12px 30px rgba(17,19,24,.14)}
html[data-theme="light"] .admmenu a{color:#111318}html[data-theme="light"] .admmenu a:hover,html[data-theme="light"] .admmenu a:focus{background:#f6f7f9}html[data-theme="light"] .admmenu a.on{color:#8a5c0c;border-left-color:#b8860b}
html[data-theme="light"] button.onl{background:transparent;border-color:#b9c1cd;color:#111318}html[data-theme="light"] button.onl .sw{background:#b9c1cd}
html[data-theme="light"] button.onl.on{border-color:#1f7a4a;color:#0f5132}html[data-theme="light"] button.onl.on .sw{background:#1f9d5c}
html[data-theme="light"] button.onl:hover,html[data-theme="light"] button.onl:focus,html[data-theme="light"] button.onl:focus-visible,html[data-theme="light"] button.onl:active{background:#f6f7f9;color:#111318;border-color:#111318}
html[data-theme="light"] button.onl.on:hover,html[data-theme="light"] button.onl.on:focus,html[data-theme="light"] button.onl.on:active{color:#0f5132}
/* buttons */
html[data-theme="light"] button,html[data-theme="light"] .btn{background:#1c2b4c;border-color:#1c2b4c;color:#ffffff}
html[data-theme="light"] button:hover,html[data-theme="light"] .btn:hover{background:#274494;border-color:#274494;color:#ffffff}
html[data-theme="light"] button.ghost,html[data-theme="light"] .dncf .qr{background:#ffffff;border-color:#b9c1cd;color:#111318}
html[data-theme="light"] button.ghost:hover,html[data-theme="light"] .dncf .qr:hover{background:#111318;border-color:#111318;color:#ffffff}
html[data-theme="light"] button.danger,html[data-theme="light"] button.spamb,html[data-theme="light"] button.blockb{background:#ffffff;border-color:#c0392b;color:#a12318}
html[data-theme="light"] button.danger:hover,html[data-theme="light"] button.spamb:hover,html[data-theme="light"] button.spamb:focus-visible,html[data-theme="light"] button.blockb:hover,html[data-theme="light"] button.blockb:focus-visible{background:#a12318;border-color:#a12318;color:#ffffff}
html[data-theme="light"] button.calling{background:#e7f6ee;border-color:#1f7a4a;color:#0f5132}html[data-theme="light"] button.calling:hover{background:#1f7a4a;color:#ffffff}
html[data-theme="light"] .linkbtn,html[data-theme="light"] .ublk button.signout{background:none;border:0}
html[data-theme="light"] .linkbtn{color:#4a5160}html[data-theme="light"] .linkbtn:hover{color:#a12318;background:none}
html[data-theme="light"] .admbtn{background:transparent;border-color:transparent}
html[data-theme="light"] .citem{background:#ffffff;border-color:#d8dde6;color:#111318}
html[data-theme="light"] .citem:hover{background:#eef1f5;color:#111318;border-color:#b9c1cd}html[data-theme="light"] .citem.on{background:#fff8e6;border-color:#b8860b}
html[data-theme="light"] .citem .ct,html[data-theme="light"] .citem .ct b{color:#111318}
html[data-theme="light"] .citem.req{border-color:#b8860b}
/* filters + tags */
html[data-theme="light"] .filters a{border-color:#b9c1cd;color:#111318}
html[data-theme="light"] .filters a.on,html[data-theme="light"] .filters a:hover{background:#111318;border-color:#111318;color:#ffffff}
html[data-theme="light"] .good{background:#d9f2e3;color:#0f5132}html[data-theme="light"] .bad{background:#fbdcdc;color:#8a1c1c}
html[data-theme="light"] .warn{background:#fdefc8;color:#6b4a00}html[data-theme="light"] .info{background:#dbe6fb;color:#1c3a7a}
html[data-theme="light"] .tag.cat{border-color:#b9c1cd;color:#4a5160;background:#ffffff}
html[data-theme="light"] .tag.src{border-color:#b9c1cd;color:#111318}html[data-theme="light"] .tag.src.email{border-color:#b8860b;color:#7a5200}
html[data-theme="light"] .tag.ctype{background:#eef1f5;border-color:#d8dde6;color:#111318}
html[data-theme="light"] .tag.adminrole{border-color:#b8860b;color:#7a5200}
html[data-theme="light"] .ticket .hd .age{border-color:#b9c1cd;color:#4a5160;background:#ffffff}
html[data-theme="light"] .ticket .hd .age.late{border-color:#c0392b;color:#a12318}
html[data-theme="light"] .tag.overdue{background:#c62f1f;border-color:#c62f1f;color:#ffffff}
/* cards, boxes, inputs */
html[data-theme="light"] .card,html[data-theme="light"] .ticket,html[data-theme="light"] .stat,html[data-theme="light"] .flash,html[data-theme="light"] .live-sess,html[data-theme="light"] .call,html[data-theme="light"] .ucard,html[data-theme="light"] .clist,html[data-theme="light"] .cpane{background:#f6f7f9;border:1px solid #d8dde6}
html[data-theme="light"] .call{border-left:4px solid #b8860b}html[data-theme="light"] .call.done{border-left-color:#1f9d5c}html[data-theme="light"] .call.dnc{border-left-color:#c62f1f}
html[data-theme="light"] .ucard{border-left:4px solid #d8dde6}
html[data-theme="light"] .box{background:#ffffff;border-color:#d8dde6;color:#111318}
html[data-theme="light"] .box.email .em-hd{border-bottom-color:#d8dde6}
html[data-theme="light"] .fs{background:#ffffff;border-color:#d8dde6}
html[data-theme="light"] input[type=text],html[data-theme="light"] input[type=email],html[data-theme="light"] input[type=tel],html[data-theme="light"] input[type=url],html[data-theme="light"] input[type=password],html[data-theme="light"] select,html[data-theme="light"] textarea{background:#ffffff;color:#111318;border-color:#b9c1cd}
html[data-theme="light"] ::placeholder{color:#6b7280;opacity:1}
html[data-theme="light"] input:focus,html[data-theme="light"] select:focus,html[data-theme="light"] textarea:focus{border-color:#1c2b4c;box-shadow:0 0 0 3px rgba(39,68,148,.18)}
html[data-theme="light"] input[type=checkbox]{accent-color:#1c2b4c}
html[data-theme="light"] .enq,html[data-theme="light"] .dncf,html[data-theme="light"] .tld{background:#ffffff;border-color:#d8dde6}
html[data-theme="light"] .rep{color:#7a5200}
html[data-theme="light"] .cinfo a.tel{color:#14306b}
html[data-theme="light"] .cnotes .saved{color:#0f5132}
html[data-theme="light"] .dncbar{background:#fde3de;border-color:#c62f1f;color:#5c130b}
html[data-theme="light"] .dncbar b{color:#a12318}html[data-theme="light"] .dncbar .by{color:#6b2a20}
html[data-theme="light"] .manual,html[data-theme="light"] .mnote,html[data-theme="light"] .rnote,html[data-theme="light"] .login .ok{background:#e7f6ee;border-color:#1f9d5c;color:#0f3d26}
html[data-theme="light"] .manual .mhd b{color:#0f5132}html[data-theme="light"] .manual .skip{color:#0f3d26}
html[data-theme="light"] .manual .mhd .btn{background:#ffffff;border-color:#1f7a4a;color:#0f5132}html[data-theme="light"] .manual .mhd .btn:hover{background:#1f7a4a;color:#ffffff}
html[data-theme="light"] .manual .sbody{background:#ffffff;border-left-color:#1f9d5c}
html[data-theme="light"] .rnote.warn{background:#fdf3d8;border-color:#b8860b;color:#4d3500}
html[data-theme="light"] .login .e,html[data-theme="light"] .lerr,html[data-theme="light"] .cerr{color:#a12318}
html[data-theme="light"] .mysig[open] summary,html[data-theme="light"] .mysig summary:hover{color:#111318}
html[data-theme="light"] .mysig .sigbox{background:#ffffff;border-color:#d8dde6;box-shadow:0 10px 30px rgba(17,19,24,.14)}
html[data-theme="light"] .av{background:#1c2b4c;color:#ffffff}
html[data-theme="light"] .tl{border-left-color:#b8860b}html[data-theme="light"] .tl li::before{background:#b8860b;border-color:#f6f7f9}
html[data-theme="light"] .fbrow .bar i{background:#b8860b}html[data-theme="light"] .stars-txt{color:#8a5c0c}
/* live support */
html[data-theme="light"] .lreq{background:#fff6dd;border-color:#b8860b;box-shadow:0 0 0 4px rgba(184,134,11,.15)}
html[data-theme="light"] .lreq-msg{color:#111318}html[data-theme="light"] .lreq-who .vname{color:#7a5200}
html[data-theme="light"] .ring{background:#b8860b}
html[data-theme="light"] .vp{background:#ffffff;border-color:#d8dde6;color:#111318}html[data-theme="light"] a.vp.vpage{color:#14306b}
html[data-theme="light"] .cinfo2{background:#ffffff}
html[data-theme="light"] .vatt.rep{color:#6b4a00;background:#fdefc8;border-color:#b8860b}html[data-theme="light"] .vatt.blk{color:#a12318;border-color:#c0392b}
html[data-theme="light"] .ldec{background:#ffffff}
html[data-theme="light"] .msg.assistant{background:#eef1f5;color:#111318}
html[data-theme="light"] .msg.user{background:#fdefc8;color:#111318}html[data-theme="light"] .msg.user .meta{color:#4d3500}
html[data-theme="light"] .cmsgs .msg.user{background:#ffffff;border:1px solid #d8dde6;color:#111318}html[data-theme="light"] .cmsgs .msg.user .meta{color:#4a5160}
html[data-theme="light"] .cmsgs .msg.agent{background:#1c2b4c;color:#ffffff}html[data-theme="light"] .cmsgs .msg.agent .meta{color:#d7deeb}
html[data-theme="light"] .cmsgs .msg.assistant{opacity:1;background:#eef1f5}
/* email thread + reply helpers */
html[data-theme="light"] .thread .tm.out{background:#eef8f1;border-color:#9fd3b2}
html[data-theme="light"] .thread .tm.latest{border-color:#b8860b;box-shadow:0 0 0 3px rgba(184,134,11,.15)}
html[data-theme="light"] .thread details.quoted summary{color:#7a5200}
html[data-theme="light"] details.corr>summary{border-color:#1c2b4c;color:#1c2b4c;background:#ffffff}
html[data-theme="light"] details.corr>summary:hover,html[data-theme="light"] details.corr>summary:focus-visible{background:#1c2b4c;color:#ffffff}
html[data-theme="light"] .polish .pundo{background:#ffffff;border-color:#8a5c0c;color:#7a5200}html[data-theme="light"] .polish .pundo:hover{background:#8a5c0c;color:#ffffff}
html[data-theme="light"] .vwrong{background:#fff7f0;border-color:#c98a5a}
html[data-theme="light"] .vwrong .vwh{color:#8a3f0c}
html[data-theme="light"] .vwrong .vdict.on{background:#a12318;border-color:#a12318;color:#ffffff}
/* collision banner */
html[data-theme="light"] .ticket .viewers{background:#fff3d1;border-color:#b8860b;color:#4d3500;animation-name:vpulsel}
html[data-theme="light"] .ticket .viewers b{color:#5c3d00}html[data-theme="light"] .ticket .viewers .vdot{background:#b8860b}
html[data-theme="light"] .ticket.watched{box-shadow:0 0 0 2px rgba(184,134,11,.45)}
@keyframes vpulsel{0%,100%{box-shadow:0 0 0 0 rgba(184,134,11,0),0 0 6px rgba(184,134,11,.2)}50%{box-shadow:0 0 0 5px rgba(184,134,11,.18),0 0 18px rgba(184,134,11,.35)}}
