/* HelpDesk Support: home banner, support page and notice pop-up. Brand: green var(--brand-primary,#307C48), brown #894420, lime #C9DC4B, cyan #00AEEF, orange #DF9137. */
.hd-sec{padding:1.2rem 0}
.hd-banner{position:relative;display:grid;grid-template-columns:auto minmax(0,1.5fr) minmax(0,1fr);gap:1.6rem;align-items:center;padding:1.8rem 2rem;border-radius:22px;color:#fff;overflow:hidden;
 background:radial-gradient(900px 300px at 100% 0,rgba(201,220,75,.28),transparent 60%),radial-gradient(500px 260px at 0 100%,rgba(0,174,239,.28),transparent 65%),linear-gradient(135deg,var(--brand-primary,#307C48),var(--brand-primary,#307C48) 55%,var(--brand-primary,#307C48));box-shadow:0 18px 44px rgba(0,80,48,.28)}
.hd-banner:before{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;border:34px solid rgba(255,255,255,.07)}
.hd-bi{width:78px;height:78px;border-radius:22px;background:rgba(255,255,255,.16);display:grid;place-items:center;border:1px solid rgba(255,255,255,.3);backdrop-filter:blur(4px)}
.hd-bi svg{width:44px;height:44px}
.hd-kick{display:inline-block;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;background:#C9DC4B;color:#000000;border-radius:99px;padding:.15rem .7rem;font-weight:700}
.hd-bt h2{margin:.5rem 0 .3rem;color:#fff;font-size:1.9rem}.hd-bt p{margin:0;opacity:.95;max-width:56ch}
.hd-pts{list-style:none;margin:.8rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem .6rem}.hd-pts li{background:rgba(255,255,255,.14);border-radius:99px;padding:.2rem .75rem;font-size:.88rem}
.hd-bacts{display:grid;gap:.8rem;position:relative}
.hd-b{display:flex;align-items:center;gap:.9rem;padding:.95rem 1.1rem;border-radius:16px;text-decoration:none;color:#000000;background:#fff;box-shadow:0 8px 22px rgba(0,0,0,.18);transition:transform .2s,box-shadow .2s}
.hd-b:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(0,0,0,.25)}.hd-b svg{width:34px;height:34px;flex:none;padding:7px;border-radius:12px;color:#fff;background:var(--brand-primary,#307C48)}.hd-b.lec svg{background:#894420}
.hd-b b{display:block;font-weight:700}.hd-b small{color:#000000}
html body .hd-banner a.hd-b b{font-weight:700!important}
@media(max-width:900px){.hd-banner{grid-template-columns:1fr;padding:1.4rem}.hd-bi{display:none}}
/* page */
.hd-wrap{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:1.4rem;align-items:start}@media(max-width:900px){.hd-wrap{grid-template-columns:1fr}}
.hd-card{background:#fff;border:1px solid #FFFFFF;border-radius:20px;padding:1.4rem 1.6rem;box-shadow:0 14px 40px rgba(0,60,35,.09)}
.hd-steps{display:flex;align-items:center;gap:.6rem;margin-bottom:1.1rem}.hd-steps em{flex:1;height:2px;background:#FFFFFF;border-radius:2px}
.hd-steps span{display:flex;align-items:center;gap:.4rem;color:#000000;font-size:.9rem}.hd-steps i{font-style:normal;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#FFFFFF;font-weight:700}
.hd-steps .on{color:var(--brand-primary,#307C48);font-weight:700}.hd-steps .on i{background:var(--brand-primary,#307C48);color:#fff;box-shadow:0 0 0 4px rgba(0,127,72,.16)}.hd-steps .done i{background:#C9DC4B;color:#000000}
.hd-tabs{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;background:#FFFFFF;border-radius:14px;padding:.3rem;margin-bottom:1.1rem}
.hd-tabs button{display:flex;gap:.5rem;align-items:center;justify-content:center;border:0;background:transparent;padding:.65rem;border-radius:11px;cursor:pointer;font:inherit;color:var(--brand-primary,#307C48)}
.hd-tabs button svg{width:20px;height:20px}.hd-tabs button.on{background:#fff;color:var(--brand-primary,#307C48);font-weight:700;box-shadow:0 3px 10px rgba(0,60,35,.12)}
.hd-card h3{margin:.2rem 0 .2rem}.hd-sub{color:#000000;margin:0 0 .9rem}
.hd-card label{display:block;margin:.7rem 0;font-weight:700;font-size:.92rem}
.hd-card input:not([type=radio]):not([type=file]),.hd-card textarea{display:block;width:100%;margin-top:.3rem;padding:.75rem .9rem;border:1.5px solid #FFFFFF;border-radius:12px;font:inherit;font-weight:400;background:#FFFFFF;transition:border .15s,box-shadow .15s}
.hd-card input:focus,.hd-card textarea:focus{outline:0;border-color:var(--brand-primary,#307C48);box-shadow:0 0 0 4px rgba(0,127,72,.15)}
.hd-cnt{display:block;text-align:right;color:#000000;font-weight:400}
.hd-msg{min-height:1.4rem;margin:.5rem 0;font-size:.92rem}.hd-msg.bad{color:#8A4B16;background:#FFFFFF;border:1px solid #8A4B16;border-radius:12px;padding:.65rem .9rem}
.hd-go{display:inline-block;border:0;background:linear-gradient(135deg,var(--brand-primary,#307C48),var(--brand-primary,#307C48));color:#fff;border-radius:12px;padding:.8rem 1.5rem;font:inherit;font-weight:700;cursor:pointer;text-decoration:none;box-shadow:0 8px 20px rgba(0,127,72,.3);transition:transform .15s}
.hd-go:hover{transform:translateY(-2px)}.hd-go[disabled]{opacity:.6;cursor:wait}
.hd-row{display:flex;gap:.7rem;flex-wrap:wrap;align-items:center}.hd-back,.hd-again{border:1.5px solid var(--brand-primary,#307C48);background:#fff;color:var(--brand-primary,#307C48);border-radius:12px;padding:.75rem 1.3rem;font:inherit;font-weight:700;cursor:pointer}
.hd-who{display:flex;gap:.9rem;align-items:center;padding:.8rem 1rem;border-radius:14px;background:#FFFFFF;border:1px solid #FFFFFF;margin-bottom:.8rem}
.hd-av{width:46px;height:46px;border-radius:50%;background:var(--brand-primary,#307C48);color:#fff;display:grid;place-items:center;font-size:1.3rem;font-weight:700}.hd-who small{display:block;color:#000000}
.hd-ok{margin-left:auto;font-style:normal;color:var(--brand-primary,#307C48);display:flex;gap:.25rem;align-items:center;font-weight:700}.hd-ok svg{width:18px;height:18px}
.hd-cats{display:flex;flex-wrap:wrap;gap:.5rem;margin:.6rem 0}.hd-cats label{margin:0}.hd-cats input{position:absolute;opacity:0}
.hd-cats span{display:inline-block;padding:.45rem .9rem;border:1.5px solid #FFFFFF;border-radius:99px;cursor:pointer;font-weight:400;transition:all .15s}
.hd-cats input:checked+span{background:var(--brand-primary,#307C48);border-color:var(--brand-primary,#307C48);color:#fff}.hd-cats input:focus-visible+span{box-shadow:0 0 0 4px rgba(0,127,72,.25)}
.hd-drop{display:grid;justify-items:center;gap:.2rem;text-align:center;padding:1.2rem;border:2px dashed #C9DC4B;border-radius:16px;background:#FFFFFF;cursor:pointer;color:var(--brand-primary,#307C48);transition:all .15s}
.hd-drop small{color:#000000}.hd-drop:hover,.hd-drop.over{background:#FFFFFF;border-color:var(--brand-primary,#307C48)}
.hd-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:.6rem;margin:.6rem 0}
.hd-thumbs figure{position:relative;margin:0;border-radius:12px;overflow:hidden;border:1px solid #FFFFFF}.hd-thumbs img{display:block;width:100%;height:84px;object-fit:cover}
.hd-thumbs figcaption{font-size:.75rem;padding:.25rem .4rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hd-thumbs button{position:absolute;top:4px;right:4px;width:24px;height:24px;border-radius:50%;border:0;background:rgba(0,0,0,.65);color:#fff;cursor:pointer;line-height:1}
.hd-done{text-align:center;padding:1rem 0}.hd-tick{display:inline-grid;place-items:center;width:74px;height:74px;border-radius:50%;background:#C9DC4B;color:#000000;animation:hdpop .5s}.hd-tick svg{width:40px;height:40px}
@keyframes hdpop{0%{transform:scale(.4);opacity:0}70%{transform:scale(1.12)}100%{transform:scale(1);opacity:1}}
.hd-ref{display:inline-block;margin:.6rem 0 1.2rem;padding:.7rem 1.6rem;border-radius:14px;background:#FFFFFF;border:1.5px dashed var(--brand-primary,#307C48)}.hd-ref b{display:block;font-size:1.5rem;letter-spacing:.06em;color:var(--brand-primary,#307C48)}
.hd-done .hd-row{justify-content:center}
.hd-side{display:grid;gap:1rem}.hd-tip{background:#fff;border:1px solid #FFFFFF;border-left:5px solid #DF9137;border-radius:16px;padding:1rem 1.2rem}.hd-tip:nth-child(2){border-left-color:#00AEEF}
.hd-tip h3{margin:0 0 .4rem}.hd-tip ul{margin:0;padding-left:1.1rem}.hd-tip p{margin:0}
/* pop-up notices */
.hn-pop .hn-pop-n{display:block;text-decoration:none;color:#000000;padding:.7rem .8rem;border-radius:12px;margin:.4rem 0;border-left:5px solid var(--brand-primary,#307C48);background:#FFFFFF}
.hn-pop .hn-pop-n.exam{border-left-color:#894420;background:#FFFFFF}.hn-pop .hn-pop-n b{display:block;font-weight:700}.hn-pop .hn-pop-n span{display:block;font-size:.88rem;color:#000000;margin-top:.15rem}
@media(max-width:520px){.hd-card{padding:1.1rem}.hd-steps span{font-size:0}.hd-steps i{font-size:.9rem}}

/* ---- HelpDesk v2: mode switch, smart assistant, tracking ---- */
.hd-mode{display:grid;grid-template-columns:1fr 1fr;gap:.4rem;margin:-.2rem 0 1rem;padding:.3rem;border-radius:16px;background:#FFFFFF}
.hd-mode button{display:flex;gap:.5rem;align-items:center;justify-content:center;border:0;background:transparent;padding:.7rem;border-radius:12px;cursor:pointer;font:inherit;font-weight:700;color:var(--brand-primary,#307C48)}
.hd-mode button svg{width:20px;height:20px}.hd-mode button.on{background:linear-gradient(135deg,var(--brand-primary,#307C48),var(--brand-primary,#307C48));color:#fff;box-shadow:0 8px 18px -8px rgba(0,127,72,.7)}
.hd-open{margin:.4rem 0 .8rem;padding:.7rem 1rem;border-radius:14px;background:#FFFFFF;border:1px solid #DF9137}
.hd-link{border:0;background:none;color:var(--brand-primary,#307C48);text-decoration:underline;cursor:pointer;font:inherit;font-weight:700;padding:0}
.hd-msg.dup{background:#FFFFFF;border:1px solid #DF9137;border-radius:12px;padding:.65rem .9rem}
.hd-pr{font-style:normal;font-size:.74rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;border-radius:99px;padding:.15rem .65rem;color:#fff;background:var(--brand-primary,#307C48)}
.hd-pr.urgent{background:#894420}.hd-pr.high{background:#DF9137;color:#000000}.hd-pr.low{background:#894420}
.hd-smart{margin:.6rem 0;padding:.9rem 1rem;border-radius:16px;background:linear-gradient(135deg,#FFFFFF,#FFFFFF);border:1px solid #FFFFFF}
.hd-smart-h{display:flex;justify-content:space-between;gap:.6rem;align-items:center;font-weight:700;color:var(--brand-primary,#307C48)}.hd-smart-h span{display:inline-flex;gap:.4rem;align-items:center}.hd-smart-h svg{width:20px;height:20px}
.hd-smart-p{margin:.4rem 0}.hd-smart-p.small{font-size:.88rem;color:#000000}.hd-smart details{margin:.35rem 0;background:#fff;border-radius:12px;padding:.5rem .8rem;border:1px solid #FFFFFF}.hd-smart summary{cursor:pointer;font-weight:700}.hd-smart ul{margin:.4rem 0 0;padding-left:1.1rem}
.hd-how{margin:0;padding:0;list-style:none;counter-reset:s;display:grid;gap:.55rem}.hd-how li{counter-increment:s;position:relative;padding-left:2.2rem;font-size:.92rem}.hd-how li:before{content:counter(s);position:absolute;left:0;top:0;width:1.6rem;height:1.6rem;border-radius:50%;background:var(--brand-primary,#307C48);color:#fff;display:grid;place-items:center;font-weight:700;font-size:.8rem}.hd-how b{display:block}
.hd-tip.alt2{border-left-color:#C9DC4B}
.hd-next{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:center;list-style:none;padding:0;margin:0 0 1rem}.hd-next li{padding:.3rem .8rem;border-radius:99px;background:#FFFFFF;color:#000000;font-size:.85rem}.hd-next li.on{background:var(--brand-primary,#307C48);color:#fff}
/* tracking */
.hd-list{display:grid;gap:.8rem;margin-top:.8rem}
.hd-tk{border:1.5px solid #FFFFFF;border-radius:18px;background:#fff;overflow:hidden;transition:box-shadow .2s,border-color .2s}.hd-tk.open{border-color:var(--brand-primary,#307C48);box-shadow:0 14px 34px -18px rgba(0,60,35,.45)}
.hd-tk-h{all:unset;box-sizing:border-box;display:flex;gap:.7rem;align-items:center;width:100%;padding:.9rem 1.1rem;cursor:pointer;flex-wrap:wrap}.hd-tk-h:focus-visible{outline:3px solid #C9DC4B;outline-offset:-3px}
.hd-tk-t{flex:1 1 220px;min-width:0}.hd-tk-t b{display:block;font-size:1rem}.hd-tk-t small{color:#000000}
.hd-st{font-size:.76rem;font-weight:700;border-radius:99px;padding:.2rem .75rem;color:#fff;background:#894420}.hd-st.acknowledged{background:#DF9137;color:#000000}.hd-st.working{background:#00AEEF;color:#000000}.hd-st.resolved{background:var(--brand-primary,#307C48)}.hd-st.closed{background:#894420}
.hd-tk-b{padding:0 1.1rem 1.1rem}
.hd-flow{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);margin:.4rem 0 .6rem;padding:0;position:relative}
.hd-flow li{display:grid;justify-items:center;gap:.25rem;text-align:center;font-size:.78rem;color:#000000;position:relative}
.hd-flow li:not(:last-child):after{content:"";position:absolute;top:14px;left:calc(50% + 16px);right:calc(-50% + 16px);height:3px;border-radius:3px;background:#FFFFFF}
.hd-flow li.done:not(:last-child):after{background:var(--brand-primary,#307C48)}
.hd-flow i{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#FFFFFF;font-style:normal;font-weight:700;position:relative;z-index:1}.hd-flow i svg{width:16px;height:16px}
.hd-flow li.done i{background:var(--brand-primary,#307C48);color:#fff}.hd-flow li.on i{background:#C9DC4B;color:#000000;box-shadow:0 0 0 4px rgba(201,220,75,.35);animation:hdpulse 2s infinite}.hd-flow li.on{color:#000000;font-weight:700}
@keyframes hdpulse{50%{box-shadow:0 0 0 8px rgba(201,220,75,0)}}
.hd-meta{margin:.2rem 0 .6rem;color:#000000;font-size:.9rem}
.hd-thread{display:grid;gap:.5rem;margin:.6rem 0}
.hd-m{padding:.55rem .8rem;border-radius:14px;max-width:90%;background:#FFFFFF;border:1px solid #FFFFFF}.hd-m p{margin:.1rem 0 0}.hd-m small{color:#000000}
.hd-m.it{background:#FFFFFF;border-color:#FFFFFF;margin-left:auto}.hd-m.system{background:none;border:0;max-width:100%;text-align:center;color:#000000;font-size:.88rem}
.hd-solved{margin:.8rem 0;padding:1rem;border-radius:16px;background:linear-gradient(135deg,#FFFFFF,#FFFFFF);border:1.5px solid #C9DC4B}
.hd-stars{display:flex;gap:.2rem;margin:.3rem 0 .6rem}.hd-stars button{border:0;background:none;font-size:1.8rem;line-height:1;color:#FFFFFF;cursor:pointer;padding:0 .1rem}.hd-stars button.on{color:#DF9137}.hd-stars button:hover{transform:scale(1.15)}
.hd-closed{display:flex;gap:.4rem;align-items:center;color:#000000}.hd-closed svg{width:18px;height:18px;color:var(--brand-primary,#307C48)}
.hd-reply{margin-top:.8rem;border-top:1px solid #FFFFFF;padding-top:.6rem}.hd-reply textarea{margin-top:.3rem}.hd-attach{display:inline-flex;gap:.4rem;align-items:center;border:1.5px solid var(--brand-primary,#307C48);background:#fff;color:var(--brand-primary,#307C48);border-radius:12px;padding:.6rem 1rem;font:inherit;font-weight:700;cursor:pointer}.hd-attach svg{width:20px;height:20px}
.hd-new{margin-left:auto}.hd-empty{text-align:center;padding:1.6rem 0}.hd-empty svg{width:40px;height:40px;color:var(--brand-primary,#307C48)}
@media(max-width:520px){.hd-flow li{font-size:.7rem}}
/* side tab */
.side-tabs .st-help{background:#00AEEF!important;color:#000000!important;font-weight:700}
html body .side-tabs a.st-help{color:#000000!important;font-weight:700!important}
/* HelpDesk v3: who is the ticket for */
.hd-to-h{font-weight:700;margin:.2rem 0 .5rem}
.hd-teams{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.6rem;margin-bottom:.6rem}
.hd-teams label{margin:0;font-weight:400}.hd-teams input{position:absolute;opacity:0}
.hd-teams label>span{display:block;height:100%;padding:.7rem .9rem;border:1.5px solid #FFFFFF;border-radius:16px;cursor:pointer;background:#fff;transition:border-color .2s,background .2s,box-shadow .2s}
.hd-teams b{display:block;font-weight:700}.hd-teams small{color:#000000}
.hd-teams input:checked+span{border-color:var(--brand-primary,#307C48);background:#FFFFFF;box-shadow:0 0 0 3px rgba(0,127,72,.15)}
.hd-teams input:focus-visible+span{outline:3px solid #C9DC4B}
.hd-person{margin:.2rem 0 .8rem}.hd-person select{width:100%;padding:.75rem .9rem;border:1.5px solid #FFFFFF;border-radius:12px;font:inherit}
.hd-to{margin:.4rem 0 .8rem;padding:.8rem 1rem;border-radius:16px;background:#FFFFFF;border-left:5px solid #C9DC4B}.hd-to b{display:block}.hd-to small{color:#000000}
.hd-recip{margin-bottom:.4rem}

/* HelpDesk: search for a specific person */
.hd-person{margin:.6rem 0 1rem;position:relative}
.hd-ps{display:flex;align-items:center;gap:.5rem;padding:.55rem .8rem;border:1.5px solid var(--brand-primary,#307C48);border-radius:14px;background:#fff;box-shadow:0 8px 20px -16px rgba(0,60,35,.7)}
.hd-ps svg{width:18px;height:18px;color:var(--brand-primary,#307C48);flex:none}
.hd-ps-in{flex:1;border:0!important;outline:0;font:inherit;background:transparent;padding:.15rem 0!important;min-width:0;box-shadow:none!important}
.hd-ps-list{list-style:none;margin:.35rem 0 0;padding:.3rem;border:1px solid #FFFFFF;border-radius:14px;background:#fff;box-shadow:0 20px 40px -22px rgba(0,40,20,.6);max-height:320px;overflow:auto;position:absolute;left:0;right:0;z-index:30}
.hd-ps-list li{display:flex;align-items:center;gap:.7rem;padding:.55rem .65rem;border-radius:10px;cursor:pointer}
.hd-ps-list li:hover,.hd-ps-list li.on{background:#FFFFFF}
.hd-ps-list li b{display:block;color:#000000;font-weight:600}.hd-ps-list li small{display:block;color:#000000;font-size:.8rem}
.hd-ps-list mark{background:#FFFFFF;color:inherit;border-radius:3px;padding:0 1px}
.hd-ps-list .hd-ps-none{cursor:default;color:#000000;font-size:.88rem}
.hd-ps-av{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,var(--brand-primary,#307C48),var(--brand-primary,#307C48));color:#fff;font-weight:700}
.hd-ps-sel{display:flex;align-items:center;gap:.7rem;padding:.6rem .8rem;border-radius:14px;background:#FFFFFF;border:1.5px solid var(--brand-primary,#307C48)}
.hd-ps-sel b{display:block}.hd-ps-sel small{display:block;color:#000000;font-size:.82rem}.hd-ps-sel .hd-link{margin-left:auto}

/* "Get the shortcut" bar above the HelpDesk */
.hd-short{margin-top:14px}
.hd-short-in{display:flex;flex-wrap:wrap;align-items:center;gap:14px;background:#fff;border:1.5px solid var(--brand-line,#BEE3CE);border-radius:14px;padding:10px 16px}
.hd-short-in img{border-radius:10px;flex:none}
.hd-short-in div{flex:1 1 260px;display:grid;gap:2px}
.hd-short-in b{color:var(--brand-primary,#307C48);font-weight:800}
.hd-short-in span{font-size:.92rem;color:#000}

