@font-face{font-family:"Frank Ruhl Libre";font-style:normal;font-weight:300 900;font-display:swap;src:url(/frank-ruhl-hebrew.woff2) format("woff2");unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
:root{--bg:#f6f4ee;--card:#fff;--ink:#1d1b33;--muted:#5f5d72;--line:#e2ddcf;--brand:#2a2560;--gold:#c9a24a;--gold-lt:#e0bd6a;--brand-ink:#fff;--bld:#2f6f4f;--bus:#b26a00;--urgent:#c62828;--ok:#2e7d32;--focus:#ffbf47;--radius:12px}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font:16px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:var(--bg)}
a{color:var(--brand)}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.topbar{background:#fff;border-bottom:3px solid var(--gold);box-shadow:0 1px 0 rgba(42,37,96,.08)}
.topbar .in{max-width:1100px;margin:0 auto;padding:10px 16px;display:flex;align-items:center;gap:12px;justify-content:space-between}
.brandlink{display:flex;align-items:center;gap:12px;color:var(--brand);text-decoration:none;min-width:0}
.brandlink img{width:68px;height:auto;flex:none}
.topbar .he-title{font-family:"Frank Ruhl Libre","David Libre","David","Times New Roman",serif;font-size:3.1rem;font-weight:900;line-height:1;margin:0;padding-top:2px;color:var(--brand);white-space:nowrap;letter-spacing:0}
.topbar nav{flex:none}
.topbar nav a{color:var(--brand);text-decoration:none;font-size:.92rem;font-weight:600;padding:7px 12px;border-radius:5px;border:1.5px solid var(--brand)}
.topbar nav a:hover{background:#eeecf7}
@media (max-width:400px){.brandlink{gap:9px}.brandlink img{width:50px}.topbar .he-title{font-size:2.3rem}.topbar nav a{padding:6px 10px;font-size:.88rem}}
@media (max-width:350px){.topbar .he-title{font-size:1.8rem}}
main{max-width:1100px;margin:0 auto;padding:16px}
.narrow{max-width:640px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:0 1px 2px rgba(42,37,96,.05)}
h2{font-family:Georgia,"Times New Roman",serif;font-size:1.4rem;margin:0 0 4px;color:var(--brand)}
.sub{color:var(--muted);margin:0 0 16px}
label{display:block;font-weight:600;margin:14px 0 6px}
.hint{font-weight:400;color:var(--muted);font-size:.9rem}
input[type=text],input[type=email],input[type=tel],input[type=password],input[type=search],select,textarea{width:100%;font:inherit;padding:11px 12px;border:1px solid #c5ccd4;border-radius:5px;background:#fff;color:var(--ink)}
textarea{min-height:110px;resize:vertical}
.seg{display:flex;gap:8px;flex-wrap:wrap}
.seg input{position:absolute;opacity:0;pointer-events:none}
.seg label{margin:0;flex:1 1 0;min-width:0;text-align:center;font-weight:600;padding:12px 8px;border:1.5px solid #c5ccd4;border-radius:5px;background:#fff;cursor:pointer;user-select:none}
.seg input:checked+label{border-color:var(--brand);background:#eeecf7;color:var(--brand);box-shadow:inset 0 -3px 0 var(--gold)}
.seg input:focus-visible+label{outline:3px solid var(--focus);outline-offset:2px}
.seg.big label{padding:16px 8px;font-size:1.05rem}
.seg label .ico{display:block;font-size:1.5rem;line-height:1.1;margin-bottom:2px}
.row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:560px){.row{grid-template-columns:1fr}}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;font:inherit;font-weight:700;border:0;border-radius:5px;padding:12px 18px;background:var(--brand);color:#fff;cursor:pointer;text-decoration:none}
.btn:disabled{opacity:.6;cursor:default}
.btn.full{width:100%;margin-top:20px;padding:14px}
.btn.ghost{background:#fff;color:var(--brand);border:1.5px solid var(--brand)}
.btn.small{padding:8px 12px;font-size:.92rem}
.err{color:var(--urgent);font-weight:600;margin-top:10px;min-height:1px}
.okbox{text-align:center;padding:28px 18px}
.okbox .big{font-size:2.6rem}
.photo-prev{margin-top:8px;max-width:180px;border-radius:5px;display:block}
.muted{color:var(--muted)}
.hidden{display:none!important}
/* dashboard */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}
.stat{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:10px 12px}
.stat b{display:block;font-size:1.5rem;line-height:1.1}
.stat span{color:var(--muted);font-size:.85rem}
.stat.u b{color:var(--urgent)}
@media (max-width:560px){.stats{grid-template-columns:repeat(2,1fr)}}
.tabs{display:flex;gap:6px;margin-bottom:10px;overflow-x:auto}
.tabs button{font:inherit;font-weight:600;border:1.5px solid #c5ccd4;background:#fff;border-radius:4px;padding:7px 14px;cursor:pointer;white-space:nowrap;color:var(--ink)}
.tabs button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}
.filters{display:grid;grid-template-columns:1fr 1fr 1.3fr 1.7fr;gap:8px;margin-bottom:12px}
@media (max-width:760px){.filters{grid-template-columns:1fr 1fr}.filters #fInst,.filters .q{grid-column:1/-1}}
.filters select,.filters input{padding:9px 10px}
.list{display:flex;flex-direction:column;gap:8px}
.tk{display:block;width:100%;text-align:left;font:inherit;color:inherit;background:#fff;border:1px solid var(--line);border-left:5px solid var(--brand);border-radius:5px;padding:12px 14px;cursor:pointer}
.tk.Bus{border-left-color:var(--gold)}
.tk:hover{border-color:#b9c2cc}
.tk .t1{display:flex;gap:8px;align-items:baseline;justify-content:space-between}
.tk .ttl{font-weight:700;overflow-wrap:anywhere}
.tk .id{color:var(--muted);font-size:.85rem;white-space:nowrap}
.tk .meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px;font-size:.85rem;color:var(--muted);align-items:center}
.pill{display:inline-block;font-size:.78rem;font-weight:700;padding:2px 8px;border-radius:4px;background:#eef1f4;color:#33404d;white-space:nowrap}
.pill.Building{background:#eeecf7;color:var(--brand)}
.pill.Bus{background:#fdf0dc;color:#8a5200}
.pill.Urgent{background:#fde7e7;color:var(--urgent)}
.pill.Low{background:#f0f2f4;color:#6b7680}
.pill.New{background:#eeecf7;color:var(--brand)}
.pill.inst{background:#faf3e1;color:#7a5d1c}
.pill.In.progress,.pill.prog{background:#fff4d6;color:#7a5600}
.pill.Done{background:#e6f4e7;color:var(--ok)}
.pill.email{background:#efe9fb;color:#5a3ea8}
.empty{text-align:center;color:var(--muted);padding:30px}
/* detail drawer */
.overlay{position:fixed;inset:0;background:rgba(15,20,25,.45);display:flex;justify-content:flex-end;z-index:20}
.drawer{background:var(--bg);width:min(560px,100%);height:100%;overflow-y:auto;padding:0 0 30px}
.drawer header{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--line);padding:12px 16px;display:flex;justify-content:space-between;align-items:center;gap:10px;z-index:1}
.drawer header h3{margin:0;font-size:1.05rem}
.drawer .body{padding:14px 16px}
.drawer h4{margin:18px 0 8px;font-size:.95rem;text-transform:uppercase;letter-spacing:.5px;color:var(--muted)}
.kv{display:grid;grid-template-columns:110px 1fr;gap:6px 10px;font-size:.95rem}
.kv dt{color:var(--muted)}
.kv dd{margin:0;overflow-wrap:anywhere}
.desc{white-space:pre-wrap;background:#fff;border:1px solid var(--line);border-radius:5px;padding:12px;overflow-wrap:anywhere}
.statusbar{display:flex;gap:6px}
.statusbar button{flex:1;font:inherit;font-weight:700;padding:11px 6px;border-radius:5px;border:1.5px solid #c5ccd4;background:#fff;cursor:pointer;color:var(--ink)}
.statusbar button[aria-pressed=true]{background:var(--brand);border-color:var(--brand);color:#fff}
.inline{display:flex;gap:8px}
.inline input,.inline select{flex:1;min-width:0}
.timeline{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
.timeline li{background:#fff;border:1px solid var(--line);border-radius:5px;padding:9px 12px;font-size:.93rem}
.timeline li.sys{background:transparent;border-style:dashed;color:var(--muted)}
.timeline .who{font-weight:700}
.timeline .when{color:var(--muted);font-size:.82rem}
.timeline .txt{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:2px}
.ticket-photo{max-width:100%;border-radius:5px;border:1px solid var(--line);display:block}
.login{max-width:380px;margin:40px auto}
.toast{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);background:#1b1f24;color:#fff;padding:10px 16px;border-radius:4px;font-weight:600;z-index:50;box-shadow:0 4px 16px rgba(0,0,0,.2)}
.footer{color:var(--muted);font-size:.85rem;text-align:center;margin:22px 0 10px}
.btn{box-shadow:inset 0 -2px 0 rgba(0,0,0,.15)}
.btn:hover{background:#1c1a4a}
.btn.ghost:hover{background:#eeecf7}
.emailnote{background:#faf3e1;border:1px solid #ecdcb2;border-radius:5px;padding:10px 12px;margin:0 0 14px;font-size:.93rem}
.emailnote a{font-weight:700;overflow-wrap:anywhere}

.loginnote{background:#f3f1fa;border:1px solid #dcd8ee;border-radius:5px;padding:9px 12px;margin:0 0 10px;font-size:.93rem;color:var(--ink)}
.small-note{font-size:.88rem;margin:14px 0 0}
.auth-tabs{margin:0 0 14px}
.myhead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:4px 0 12px}
.myhead h2{margin:0}
.myhead .sub{margin:2px 0 0;font-size:.92rem;word-break:break-word}
.small-link{font-size:.92rem;font-weight:600;white-space:nowrap;padding-top:6px}
.mytk{padding:0;display:block}
.mytk-head{all:unset;box-sizing:border-box;display:block;width:100%;padding:12px 14px;cursor:pointer}
.mytk-head:focus-visible{outline:3px solid var(--focus)}
.mytk-body{padding:0 14px 14px;border-top:1px solid var(--line)}
.mytk-body h4{margin:12px 0 6px}
.kvline{margin:10px 0 0;font-size:.93rem}
.userlist{list-style:none;padding:0;margin:0}
.userlist li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}
.uact{display:flex;gap:6px}
.btn.danger{color:var(--urgent);border-color:var(--urgent)}

/* v3 roles */
.userbar{display:flex;justify-content:space-between;align-items:center;gap:8px 14px;flex-wrap:wrap;margin:0 0 12px;font-size:.93rem}
.userbar .ulinks{font-size:.88rem;white-space:nowrap}
.pill.role{background:#2a2560;color:#fff}
.pill.r-principal{background:#7a5d1c;color:#fff}.pill.r-manager{background:#2f6f4f;color:#fff}.pill.r-staff{background:#e7e5f2;color:#2a2560}
.maintabs{border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:14px}
.maintabs button{display:inline-flex;align-items:center;gap:6px}
.maintabs button[aria-selected=true]{background:var(--brand);border-color:var(--brand);color:#fff}
.badge{display:inline-block;min-width:20px;padding:1px 6px;border-radius:4px;background:var(--urgent);color:#fff;font-size:.78rem;line-height:1.4;text-align:center}
.viewhead{margin:0 0 12px}.viewhead h2{margin:0}.viewhead .sub{margin:2px 0 0;font-size:.93rem}
.row-between{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.stat.p b{color:#8a5a00}
.pill.st-New{background:#eeecf7;color:var(--brand)}
.pill.st-In-progress{background:#fff4d6;color:#7a5600}
.pill.st-Pending-approval{background:#fde9c8;color:#8a4b00;white-space:normal;text-align:left}
.pill.st-Approved{background:#dff3e3;color:#1f6b2c}
.pill.st-Declined{background:#fde7e7;color:var(--urgent)}
.pill.st-Done{background:#e6f4e7;color:var(--ok)}
.pill.warn{background:#fff1c2;color:#7a4b00}
.pill.mine{background:#e7e5f2;color:#2a2560}
.tk.pend{border-left-color:#e08a00}
.tk.needs{box-shadow:0 0 0 2px #e08a00 inset}
.tk .who{margin-top:6px;font-size:.85rem;color:var(--muted);overflow-wrap:anywhere}
.dt-title{margin:0 0 8px;font-size:1.2rem;color:var(--brand);overflow-wrap:anywhere}
.drawer .meta{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.banner{border-radius:5px;padding:10px 12px;margin:0 0 12px;font-size:.95rem}
.banner.pend{background:#fff4e0;border:1px solid #f0c98a;color:#6b3d00}
.banner.okb{background:#e6f4e7;border:1px solid #b9dfbd;color:#1f5f28}
.banner.nob{background:#fde7e7;border:1px solid #f2b8b8;color:#8f1d1d}
.actbox{background:#fff;border:1px solid var(--line);border-radius:5px;padding:12px;margin:12px 0}
.actbox.decide{border:2px solid #e08a00}
.actbox h4{margin:0 0 8px!important}
.actbox textarea{min-height:80px}
.inline.two{margin-top:10px}.inline.two .btn{flex:1}
.btn.okbtn{background:var(--ok)}.btn.okbtn:hover{background:#226026}
.btn.full2{width:100%;margin-top:14px}
.row3{display:grid;grid-template-columns:1fr 1.6fr 1.4fr;gap:10px}
@media (max-width:560px){.row3{grid-template-columns:1fr}}
.aplist{display:flex;flex-direction:column;gap:6px}
.apopt{display:flex;gap:10px;align-items:flex-start;margin:0;font-weight:400;padding:10px;border:1.5px solid #c5ccd4;border-radius:5px;cursor:pointer;background:#fff}
.apopt input{margin-top:3px;width:18px;height:18px;flex:none}
.apopt:has(input:checked){border-color:var(--brand);background:#eeecf7}
.timeline li.appr{background:#fff8ea;border-color:#f0d6a4}
.userlist2{padding:4px 14px}
.urow{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}
.urow:last-child{border-bottom:0}
.urow.off{opacity:.55}
.uinfo{min-width:0;overflow-wrap:anywhere}
.small{font-size:.86rem}
.uform{margin:0 0 14px}.uform h3{margin:0 0 4px;color:var(--brand)}
.uform .inline{margin-top:16px}
.uextra{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
label.check{display:flex;gap:8px;align-items:center;font-weight:400}
label.check input{width:18px;height:18px}
.creds{margin:0 0 14px;border:2px solid var(--ok)}
.creds h3{margin:0 0 8px;color:var(--ok)}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:1.05rem;font-weight:700}
.addgroup{margin:0 0 12px}
input[readonly]{background:#f3f2f7;color:var(--muted)}
.filelist{list-style:none;padding:0;margin:8px 0 0;display:flex;flex-direction:column;gap:6px}
.filelist li{background:#f3f1fa;border:1px solid #dcd8ee;border-radius:5px;padding:8px 10px;font-size:.92rem;overflow-wrap:anywhere}
.linkbtn{background:none;border:0;color:var(--urgent);font:inherit;font-weight:600;cursor:pointer;padding:0 0 0 6px}
input[type=file]{font:inherit;max-width:100%}
.files{list-style:none;padding:0;margin:10px 0 0;display:flex;flex-direction:column;gap:6px}
.files li a{display:flex;gap:8px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:5px;padding:9px 12px;text-decoration:none;overflow-wrap:anywhere}
.files img{width:56px;height:56px;object-fit:cover;border-radius:6px;flex:none}
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.attachbtn{margin:10px 0 0;width:auto}
.fieldlabel{font-weight:600;margin:14px 0 6px}
.drop{border:2px dashed #b9b4d6;border-radius:5px;background:#faf9fd;padding:16px 12px;text-align:center;transition:background .15s,border-color .15s}
.drop.over{background:#eeecf7;border-color:var(--brand)}
.dropbtn{display:inline-block;margin:0;font-weight:700;color:var(--brand);background:#fff;border:1.5px solid var(--brand);border-radius:5px;padding:11px 16px;cursor:pointer}
.drop:focus-within .dropbtn{outline:3px solid var(--focus);outline-offset:2px}
.drophint{margin:8px 0 0}
.thumbs{list-style:none;padding:0;margin:10px 0 0;display:flex;flex-direction:column;gap:6px}
.thumbs li{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:5px;padding:6px 8px}
.thumbs img,.thumbs .ficon{width:48px;height:48px;border-radius:6px;object-fit:cover;flex:none;display:flex;align-items:center;justify-content:center;font-size:1.6rem;background:#f3f1fa}
.thumbs .fname{flex:1;min-width:0;font-size:.92rem;overflow-wrap:anywhere}
.thumbs .linkbtn{font-size:1.1rem;padding:6px 8px}
#description{min-height:140px}

/* ===== logo theme (navy + gold) ===== */
:root{--navy:#1c1a4a;--brand:#2a2560;--gold:#c9a24a;--gold-lt:#e0bd6a;--cream:#fbf8f0;--bg:#f4f0e4;--focus:#e0bd6a}
body{background:var(--bg)}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(201,162,74,.35)}
.card{background:var(--cream);border-color:#e6dcc0}
input[type=text],input[type=email],input[type=tel],input[type=password],input[type=search],select,textarea{background:#fff;border-color:#cfc6ae}
h2{color:var(--brand)}
.btn{background:var(--brand)}
.btn.full,#submitBtn,#aBtn,#pBtn{background:linear-gradient(180deg,var(--gold-lt),var(--gold));color:var(--navy);box-shadow:inset 0 -2px 0 rgba(0,0,0,.18)}
.btn.full:hover,#submitBtn:hover{background:var(--gold)}
/* inner-page header */
.topbar{background:linear-gradient(180deg,#26225a,var(--navy));border-bottom:3px solid var(--gold);box-shadow:none}
.topbar .he-title{color:var(--gold-lt)}
.topbar nav a{color:var(--gold-lt);border-color:var(--gold)}
.topbar nav a:hover{background:rgba(201,162,74,.15)}
/* home hero */
.hero{position:relative;text-align:center;color:#fff;padding:22px 16px 74px;background:
  radial-gradient(ellipse at 50% 38%,rgba(224,189,106,.20),rgba(224,189,106,0) 60%),
  linear-gradient(180deg,#2a2560 0%,#1c1a4a 100%);border-bottom:4px solid var(--gold)}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:8px;height:1px;background:linear-gradient(90deg,transparent,rgba(224,189,106,.7),transparent)}
.hero-nav{position:absolute;top:14px;right:14px}
.hero-nav a{display:inline-block;color:var(--gold-lt);text-decoration:none;font-weight:700;font-size:.92rem;padding:7px 14px;border:1.5px solid var(--gold);border-radius:4px;background:rgba(28,26,74,.5)}
.hero-nav a:hover{background:rgba(201,162,74,.18)}
.hero-brand{display:inline-flex;flex-direction:column;align-items:center;text-decoration:none;margin-top:18px}
.hero-brand img{width:min(220px,56vw);height:auto;filter:drop-shadow(0 6px 18px rgba(0,0,0,.35))}
.hero-title{font-family:"Frank Ruhl Libre","David Libre","David","Times New Roman",serif;font-weight:900;font-size:clamp(2.6rem,11vw,4rem);line-height:1;margin:10px 0 0;color:var(--gold-lt);text-shadow:0 2px 0 rgba(0,0,0,.25)}
.hero-sub{margin:10px 0 0;color:#e9e4ff;letter-spacing:.12em;text-transform:uppercase;font-size:.78rem;font-weight:700}
main.home{max-width:640px;margin:-56px auto 0;padding:0 14px 16px;position:relative}
main.home .card{border-top:4px solid var(--gold);box-shadow:0 10px 30px rgba(28,26,74,.18)}
main.home h2{font-size:1.6rem}
.emailnote{background:#fbf3df;border-color:#ead7a6}
.loginnote{background:#f2f0fa}
@media (min-width:700px){.hero{padding-bottom:84px}.hero-brand img{width:230px}}
.drop{background:#fffdf6;border-color:#d9c48f}
.drop.over{background:#fbf3df;border-color:var(--gold)}
.dropbtn{color:var(--navy);border-color:var(--gold)}
.userbar{background:var(--cream);border:1px solid #e6dcc0;border-radius:5px;padding:8px 12px}
.maintabs button[aria-selected=true]{background:var(--navy);border-color:var(--navy);color:var(--gold-lt);box-shadow:inset 0 -3px 0 var(--gold)}
.tk{background:#fffefb;border-left-color:var(--gold)}
.pill.role{background:var(--navy);color:var(--gold-lt)}
.drawer{background:var(--bg)}
.drawer header{background:var(--navy);border-bottom:3px solid var(--gold)}
.drawer header h3{color:var(--gold-lt)}
.drawer header .btn.ghost{background:transparent;color:var(--gold-lt);border-color:var(--gold)}
.statusbar button[aria-pressed=true]{background:var(--navy);border-color:var(--navy);color:var(--gold-lt)}
.stat{background:var(--cream);border-color:#e6dcc0}
.links{display:flex;flex-direction:column;gap:8px}
.linkrow{display:grid;grid-template-columns:1fr 1.4fr auto;gap:8px;align-items:center}
@media (max-width:560px){.linkrow{grid-template-columns:1fr auto;padding:8px;border:1px solid #e6dcc0;border-radius:5px;background:#fffdf6}.linkrow .lname{grid-column:1}.linkrow .lurl{grid-column:1}.linkrow .linkbtn{grid-column:2;grid-row:1/3}}
.addlink{background:none;border:0;color:var(--brand);font:inherit;font-weight:700;padding:8px 0;cursor:pointer;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--gold)}
.tlinks{list-style:none;padding:0;margin:10px 0 0;display:flex;flex-direction:column;gap:6px}
.tlinks a{display:block;background:#fff;border:1px solid var(--line);border-radius:5px;padding:9px 12px;font-weight:600;overflow-wrap:anywhere}
.tlinks .muted{font-weight:400}
.portal{text-align:center;padding:24px 18px}
.portal .sub{max-width:440px;margin:6px auto 18px}
.bigcta{font-size:1.25rem;padding:18px!important;border-radius:5px;margin-top:4px!important}
.portal-links{display:flex;gap:10px;justify-content:center;margin:14px 0 16px;flex-wrap:wrap}
.portal-links .btn{flex:1 1 200px}
.portal .emailnote{text-align:left;margin:0}
.formpage{padding-top:18px}
.topbar .brandlink .he-title{font-size:2.4rem}
@media (max-width:400px){.topbar .brandlink .he-title{font-size:1.9rem}}
.emerg{font-size:.95rem;color:var(--ink)}.emerg a,.emerg-inline a{font-weight:800;color:var(--urgent);white-space:nowrap}.emerg-inline{font-weight:600;margin:8px 0 0}
input[type=url]{width:100%;font:inherit;padding:11px 12px;border:1px solid #cfc6ae;border-radius:5px;background:#fff;color:var(--ink)}
.maintabs{flex-wrap:wrap;overflow:visible}
.tabs{scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}

.kbtoggle{display:inline-block;margin:6px 0 2px;font-size:13px;color:var(--muted);text-decoration:underline}
.uext{font-weight:700;color:var(--muted)}
input.locked{background:#f3f2f7;color:var(--ink);border-style:dashed}

/* institution logos row (home) */
.inst-footer{margin-top:26px;background:linear-gradient(180deg,#fcf9f1,#f4ecd8);border-top:3px solid var(--gold);padding:22px 14px 26px;text-align:center}
.inst-logos{display:flex;align-items:center;justify-content:center;gap:10px;max-width:760px;margin:0 auto}
.inst-logos img{display:block;height:auto;flex:0 1 auto;min-width:0}
.inst-logos .inst-a{width:76px}
.inst-logos .inst-main{width:96px}
.inst-logos .inst-b{width:106px}
.inst-sep{align-self:stretch;width:1px;margin:8px 0;background:linear-gradient(180deg,transparent,var(--gold),transparent);flex:none}
.inst-name{font-family:"Frank Ruhl Libre","David Libre","David","Times New Roman",serif;font-weight:700;color:var(--brand);font-size:1rem;margin:14px 0 0;letter-spacing:.02em}
@media (min-width:520px){.inst-footer{padding:30px 20px 32px}.inst-logos{gap:36px}.inst-logos .inst-a{width:140px}.inst-logos .inst-main{width:168px}.inst-logos .inst-b{width:210px}.inst-name{font-size:1.1rem}}

/* company directory (home) */
.home-more .dir-card{grid-column:1/-1}
.dir-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.dir-count{color:var(--muted);font-size:.9rem;white-space:nowrap}
.dir-sub{color:var(--muted);margin:2px 0 12px;font-size:.93rem}
.dir-sub a{color:var(--brand);font-weight:700;white-space:nowrap}
.dir-search{margin:0 0 10px}
.dir-search input{padding-left:38px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235f5d72' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 12px center}
.dir-list{display:grid;gap:8px}
.dir-grp{border:1px solid #e6dcc0;border-radius:5px;background:#fff;overflow:hidden}
.dir-grp summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 14px;cursor:pointer;font-weight:700;color:var(--brand);background:linear-gradient(180deg,#fff,#f8f3e4)}
.dir-grp summary::-webkit-details-marker{display:none}
.dir-grp summary::after{content:"";width:8px;height:8px;border-right:2px solid var(--gold);border-bottom:2px solid var(--gold);transform:rotate(45deg);margin:-4px 2px 0 auto;transition:transform .15s}
.dir-grp[open] summary::after{transform:rotate(-135deg);margin-top:4px}
.dir-grp[open] summary{border-bottom:1px solid #eee5cc}
.dir-dept{min-width:0;overflow-wrap:anywhere}
/* directory group chips (moshe 5:30 PM Oct 18: directory grouped by the system groups) */
.dir-chips{display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -2px 12px;padding:2px 2px 4px}
.dir-chips[hidden]{display:none}.dir-chips::-webkit-scrollbar{display:none}
.dir-chip{flex:none;font:inherit;font-size:.9rem;font-weight:600;padding:7px 14px;border-radius:4px;border:1.5px solid #e2d6b2;background:#fff;color:var(--brand);cursor:pointer;white-space:nowrap}
.dir-chip:hover{background:#faf5e6}
.dir-chip[aria-selected="true"]{background:var(--brand);border-color:var(--brand);color:#fff}
.dgf{display:flex;align-items:center;gap:10px;margin:0 0 10px}.dgf label{font-weight:700;margin:0}.dgf select{max-width:340px}
.dgchip{display:inline-block;margin-left:8px;padding:1px 9px;border-radius:4px;background:#eeecf7;color:var(--brand);font-size:.76rem;font-weight:700;vertical-align:1px}
.dgchip.none{background:#f3f1ea;color:#8a8799;font-weight:600}
.dir-n{flex:none;font-size:.8rem;font-weight:700;color:var(--navy);background:#f1e6c6;border-radius:4px;padding:1px 8px}
.dir-ul{list-style:none;margin:0;padding:0 14px}
.dir-list>.dir-ul{background:#fff;border:1px solid #e6dcc0;border-radius:5px}
.dir-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #f0ead8}
.dir-row:last-child{border-bottom:0}
.dir-who{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.dir-name{color:var(--ink);overflow-wrap:anywhere}
.dir-title{color:var(--muted);font-size:.88rem;overflow-wrap:anywhere}
.dir-contact{display:flex;flex-wrap:wrap;gap:2px 12px;font-size:.88rem}
.dir-contact a{color:var(--brand);text-decoration:none;font-weight:600;overflow-wrap:anywhere}
.dir-contact a:hover{text-decoration:underline}
.dir-ext{flex:none;display:inline-flex;align-items:baseline;gap:4px;min-width:64px;justify-content:center;padding:8px 10px;border-radius:5px;background:var(--navy);color:var(--gold-lt);font-weight:800;font-size:1.02rem;text-decoration:none;box-shadow:inset 0 -2px 0 var(--gold)}
.dir-ext small{font-size:.7rem;font-weight:700;color:#d9d4f0;text-transform:uppercase;letter-spacing:.03em}
.dir-ext:hover{background:#2a2560}
.dir-none{margin:10px 0 0}
.dir-toggle{margin-top:12px;width:100%}
/* company directory (admin) */
.dirtools{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.dirtools .btn{flex:1 1 auto}
.drow{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}
.drow:last-child{border-bottom:0}
.drow .dinfo{flex:1;min-width:0;overflow-wrap:anywhere}
.drow .dmove{display:flex;flex-direction:column;gap:4px;flex:none}
.drow .dmove button{width:34px;height:28px;padding:0;border:1px solid #d8cfb3;background:#fff;border-radius:7px;color:var(--brand);font-size:.8rem;cursor:pointer}
.drow .dmove button:disabled{opacity:.3;cursor:default}
.dgrp-h{margin:14px 0 2px;font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--gold)}
.dgrp-h:first-child{margin-top:0}
.imp textarea{min-height:150px;font:13px/1.4 ui-monospace,Menlo,Consolas,monospace;white-space:pre;overflow-wrap:normal;overflow-x:auto}
.mapgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin:6px 0 0}
.mapgrid label{margin:0;font-size:.82rem;font-weight:600;color:var(--muted)}
.mapgrid select{padding:8px;font-size:.9rem;margin-top:3px}
.prevwrap{overflow-x:auto;margin:12px 0 0;border:1px solid var(--line);border-radius:5px;background:#fff}
.prev{border-collapse:collapse;font-size:.85rem;min-width:100%}
.prev th,.prev td{padding:6px 8px;border-bottom:1px solid #f0ead8;text-align:left;white-space:nowrap;max-width:220px;overflow:hidden;text-overflow:ellipsis}
.prev th{background:#f8f3e4;color:var(--brand);position:sticky;top:0}
.prev tr.sec td{font-weight:800;color:var(--gold);background:#fffbf0}
.modes{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 0}
.modes label{margin:0;font-weight:600;display:flex;gap:6px;align-items:center;padding:9px 12px;border:1.5px solid #c5ccd4;border-radius:5px;background:#fff;flex:1 1 160px}
.dir-subh{list-style:none;margin:6px 0 0;padding:8px 0 4px;border-bottom:1px solid #eee5cc;font-size:.74rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:#a3842f}
.dir-gap{height:0;border-top:2px solid #eee5cc;margin:2px 0}
.dir-contact small{font-weight:600;color:var(--muted)}
.dsec-h{margin:8px 0 0;font-size:.74rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.extinput{max-width:220px}
.extwho{margin:6px 0 0;min-height:1.2em;font-size:.92rem;font-weight:600;color:var(--muted)}
.extwho.ok{color:var(--ok)}
.extwho.warn{color:#9a6a00}
.dir-toggle[hidden],.dir-search[hidden]{display:none}

/* home tiles (Company Directory now; Help articles / Links later) */
.home-more{display:flex;flex-wrap:wrap;gap:14px;margin-top:16px}
.home-more[hidden],.home-tile[hidden]{display:none}
.home-more.home-row{margin:30px 0 4px}
.home-row .home-tile{flex-basis:100%}
@media (min-width:700px){.home-more.home-row{margin-top:34px}.home-row .home-tile{flex-basis:250px}}
.home-tile{flex:1 1 250px;display:flex;align-items:center;gap:14px;min-height:84px;padding:16px 18px;border-radius:5px;text-decoration:none;color:#fff;
  background:radial-gradient(ellipse at 15% 0%,rgba(224,189,106,.18),rgba(224,189,106,0) 55%),linear-gradient(180deg,#2a2560,#1c1a4a);
  border:1px solid #3a3577;border-bottom:4px solid var(--gold);box-shadow:0 10px 26px rgba(28,26,74,.20);transition:transform .12s,box-shadow .12s}
.home-tile:hover{transform:none;box-shadow:0 14px 30px rgba(28,26,74,.26)}
.home-tile:active{transform:none}
.tile-icon{flex:none;width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--gold-lt);border:1.5px solid var(--gold);background:rgba(201,162,74,.12)}
.tile-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.tile-title{font-size:1.18rem;font-weight:800;color:var(--gold-lt);letter-spacing:.01em}
.tile-sub{font-size:.92rem;color:#d9d4f0}
.tile-count{color:#b9b3dc;white-space:nowrap}
@media (max-width:440px){.tile-count{display:none}}
.tile-go{flex:none;width:11px;height:11px;border-top:2.5px solid var(--gold);border-right:2.5px solid var(--gold);transform:rotate(45deg);margin-right:4px}
/* /directory page */
.dir-page .dir-head h2{margin-bottom:2px}

/* delete ticket (admin, Oct 18) */
.dangerzone{margin-top:28px;padding-top:16px;border-top:1px dashed var(--line);text-align:left}
.btn.delbtn{background:var(--urgent);border-color:var(--urgent);color:#fff;width:100%;max-width:320px;justify-content:center}
.btn.delbtn:hover{background:#a51f1f;border-color:#a51f1f}
.btn.delbtn:disabled{opacity:.6;cursor:default}
.dangerzone p{margin:8px 0 0}

/* default assignee card (Users tab) */
.asgcard{margin-bottom:14px}
.asgcard label{display:block;font-weight:700;margin:0 0 6px}
.asgcard p{margin:8px 0 0}
/* reply box with recipients (v6) */
.replybox{margin-top:6px}
.rto{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 8px}
.rto-lbl{font-weight:700;font-size:.9rem;margin-right:2px}
.rtoopt{display:inline-flex;align-items:center;gap:6px;border:1.5px solid var(--line);border-radius:4px;padding:6px 12px;background:#fff;cursor:pointer;font-size:.92rem;margin:0}
.rtoopt input{margin:0;width:18px;height:18px;flex:none}
.rtoopt:has(input:checked){border-color:var(--brand);background:#eef0fb}
.rhint{margin:6px 0 0}
.rto-line{font-size:.82rem;color:var(--muted);margin-top:2px}
.timeline li.internal{background:#f6f6fb;border-left:4px solid #9a97c9}
@media (max-width:480px){.rtoopt{flex:1 1 calc(50% - 8px)}}
/* voicemail recordings */
.files li.audio-li{background:#fff;border:1px solid var(--line);border-radius:5px;padding:9px 12px}
.files li.audio-li a{display:inline;border:0;padding:0;background:none}
.files audio{display:block;width:100%;margin:6px 0 4px}

/* ext 965 voicemail-to-ticket line on the home ticket card (moshe, Oct 18 3:23 PM) */
.portal .phonenote{margin-top:10px}
.portal .phonenote a{white-space:nowrap}

/* the sender adds to their ticket (moshe 3:33 PM Oct 18) */
.addbox{background:#fffbf0;border:2px solid var(--gold);border-radius:5px;padding:12px 14px;margin:14px 0}
.addbox h4{margin:0 0 4px!important;color:var(--navy);font-size:1.08rem}
.addbox .addhint{margin:0 0 8px}
.addbox textarea{min-height:90px;background:#fff}
.addrow{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin-top:8px}
.addrow .btn.small{margin:0;width:auto}
.addsend{width:auto;margin:0;background:linear-gradient(180deg,var(--gold-lt),var(--gold));color:var(--navy);box-shadow:inset 0 -2px 0 rgba(0,0,0,.18)}
.filechips{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
.filechips li{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#fff;border:1px solid var(--line);border-radius:5px;padding:6px 10px;font-size:.9rem;overflow-wrap:anywhere}
.chipx{border:0;background:none;font-size:1rem;cursor:pointer;color:var(--muted);padding:2px 6px}
.timeline li.upd{background:#fffbf0;border-left:4px solid var(--gold)}
@media (max-width:480px){.addrow{flex-direction:column;align-items:stretch}.addrow .btn,.addsend{width:100%;text-align:center}}
/* WhatsApp share (moshe 3:34 PM Oct 18) */
.wabtn{border-color:#25d366!important}
.wabox{border:2px solid #25d366}
.wabox label{margin-top:8px}
.wa-hint{margin:4px 0 0}
.warow{margin-top:10px;align-items:center}
.btn.wago{background:#25d366;color:#0b3d1f;text-decoration:none;text-align:center;font-weight:800;display:inline-block}
.btn.wago.disabled{opacity:.5;pointer-events:auto;cursor:not-allowed}
.wa-on{margin:6px 0 0}
.timeline li.wa{border-left-color:#25d366}
.share-files{list-style:none;padding:0;margin:8px 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}
.share-files li a{display:block;text-decoration:none;color:var(--ink);border:1px solid var(--line);border-radius:5px;padding:6px;background:#fff;overflow-wrap:anywhere;font-size:.88rem}
.share-files img{width:100%;height:120px;object-fit:cover;border-radius:6px;display:block;margin-bottom:4px}
.addjump{display:inline-flex;align-items:center;gap:4px;margin:10px 0 2px;padding:8px 14px;border:2px solid var(--gold);border-radius:4px;background:#fffbf0;color:var(--navy);font:inherit;font-weight:800;cursor:pointer}

/* moshe 4:29 PM Oct 18 "remove this": the gold divider line + diamond under the Hebrew name is gone from the header; 4:33 PM "remove the background": building photo backgrounds removed (plain navy hero, cream page as before). */

/* Transfer to… (moshe 4:51 PM Oct 18) */
.xfer{margin-top:14px;padding:12px;border:1px solid var(--line);border-radius:5px;background:var(--cream,#fbf8f0)}
.xfer h4{margin-top:0}
.xf-now{margin:0 0 8px;font-size:.92rem;color:var(--muted)}
.xf-now b{color:var(--ink)}
.xfer input[type=search]{width:100%;box-sizing:border-box}
.xflist{margin:8px 0 4px;max-height:220px;overflow-y:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:5px;background:#fff}
.xflist p{margin:10px 12px}
.xfp{display:flex;flex-direction:column;align-items:flex-start;gap:1px;width:100%;text-align:left;background:#fff;border:0;border-bottom:1px solid var(--line);padding:9px 12px;font:inherit;color:var(--ink);cursor:pointer;min-height:44px}
.xfp:last-child{border-bottom:0}
.xfp:hover{background:#f7f5fb}
.xfp.sel{background:#eceaf7;box-shadow:inset 4px 0 0 var(--gold)}
.xfp[disabled]{opacity:.55;cursor:default}
.xfn{font-weight:700;overflow-wrap:anywhere}
.xfs{font-size:.83rem;color:var(--muted);overflow-wrap:anywhere}
.xfer textarea{width:100%;box-sizing:border-box}
.timeline li.xfr{background:#f6f6fb;border-left:4px solid var(--brand)}
.xfer .err:empty{display:none}
.xfer .btn.full{margin-top:10px}

/* ===== big ticket pane (moshe 5:21 PM Oct 18 "need the tickets should open in bigger pane") =====
   Phones: full-screen pane, blocks stack in the old order. From 700px: a large centered panel (max 1240px).
   From 980px: two columns — conversation left, ticket info + actions right. */
.drawer header{justify-content:flex-start}
.drawer header h3{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.drawer header .backbtn{flex:none;font-weight:800;white-space:nowrap}
.drawer header .esc-hint{display:none;color:#cfc8a8;font-size:.8rem;white-space:nowrap}
.drawer{width:100%}
.dcols{display:flex;flex-direction:column}
.dmain,.dside{display:contents}
.dk{min-width:0}
.dk-decide{order:1}.dk-info{order:2}.dk-conv{order:3}.dk-act{order:4}.dk-talk{order:5}.dk-danger{order:7}
.dk-info .sidehd{display:none}
.dk-conv .desc{margin-top:12px}
.dtop .meta{margin-bottom:6px}
.ticket-photo{max-height:70vh;object-fit:contain;background:#fff}
@media (min-width:700px){
  .overlay{justify-content:center;align-items:center;padding:16px}
  .drawer{width:min(1240px,100%);height:100%;max-height:calc(100vh - 32px);border-radius:5px;box-shadow:0 18px 60px rgba(10,12,40,.35);overflow-y:auto}
  .drawer header{padding:12px 22px;border-radius:5px 5px 0 0}
  .drawer header .esc-hint{display:inline}
  .drawer .body{padding:20px 26px 10px;font-size:1.02rem}
  .dt-title{font-size:1.5rem;margin-bottom:10px}
  .drawer h4{font-size:.9rem}
  .kv{grid-template-columns:120px 1fr;font-size:1rem}
  .timeline li{font-size:.98rem;padding:11px 14px}
  .desc{padding:14px 16px;font-size:1.02rem;line-height:1.5}
}
@media (min-width:980px){
  .dcols{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:28px;align-items:start}
  .dmain,.dside{display:block;min-width:0}
  .dk-info{background:#fff;border:1px solid var(--line);border-radius:5px;padding:6px 16px 14px}
  .dk-info .sidehd{display:block;margin-top:10px}
  .dk-act{background:#fff;border:1px solid var(--line);border-radius:5px;padding:2px 16px 16px;margin-top:14px}
  .dk-act > h4:first-child{margin-top:12px}
  .dk-decide .actbox{margin-top:0}
  .dk-act .xfer h4{margin-top:18px}
  .dk-conv h4:first-child{margin-top:0}
  .dk-conv .desc:first-child{margin-top:0}
  .dk-talk h4{margin-top:22px}
  .dk-talk .replybox textarea{min-height:130px}
  .dk-danger .dangerzone{margin-top:18px}
  .ticket-photo{max-height:520px}
  .dk-conv .files img{width:132px;height:99px;border-radius:5px}
}
@media (min-width:1200px){ .dcols{grid-template-columns:minmax(0,1fr) 400px;gap:32px} }

/* ===== split view (moshe 5:30 PM Oct 18 "leave the ticket list on a small pane on the left side") =====
   Only when body.split is set by app.js: width >= 1000px AND a ticket tab is showing (not Users/Groups/Directory).
   The page stops scrolling; the list is a narrow column on the left that scrolls on its own, and the open ticket
   (#overlay/.drawer) is an in-page pane on the right — no backdrop, no modal. Below 1000px nothing here applies. */
.drawer header .closex{display:none}
.split-empty{display:none}
body.split{height:100vh;height:100dvh;overflow:hidden;display:grid;grid-template-columns:340px minmax(0,1fr);grid-template-rows:auto auto auto minmax(0,1fr) auto}
body.split > .topbar{grid-column:1/-1;grid-row:1}
body.split .topbar .in{max-width:none;padding-left:18px;padding-right:18px}
body.split > main{display:contents}
body.split .userbar{grid-column:1/-1;grid-row:2;margin:12px 16px 10px}
body.split #tabs{grid-column:1/-1;grid-row:3;margin:0 16px 10px}
body.split #view{grid-column:1;grid-row:4;min-height:0;overflow-y:auto;overscroll-behavior:contain;margin-left:16px;padding:2px 6px 14px 3px;scrollbar-width:thin}
body.split main > .footer{grid-column:1;grid-row:5;margin:6px 6px 10px 16px;font-size:.78rem}
/* list column: compact header, stats and filters */
body.split .viewhead{margin:0 0 8px}
body.split .viewhead h2{font-size:1.15rem}
body.split .viewhead .sub{display:none}
body.split .stats{grid-template-columns:repeat(2,1fr);gap:6px;margin-bottom:8px}
body.split .stat{padding:6px 10px;display:flex;align-items:baseline;gap:7px}
body.split .stat b{display:inline;font-size:1.1rem}
body.split .stat span{font-size:.75rem;line-height:1.2}
body.split .filters{grid-template-columns:1fr 1fr;gap:6px;margin-bottom:8px}
body.split .filters select[aria-label="Assigned to"]{grid-column:1/-1}
body.split .filters > :first-child:has(+ select[aria-label="Assigned to"]),body.split .filters > :first-child:has(+ .q){grid-column:1/-1}
body.split .filters .q{grid-column:1/-1}
body.split .filters select,body.split .filters input{padding:7px 8px;font-size:.88rem}
body.split .list{gap:6px}
/* compact cards: #, title, status chip, sender, assignee, time */
body.split .tk{padding:9px 11px;border-radius:5px;border-left-width:4px}
body.split .tk .ttl{font-size:.94rem;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.split .tk .id{font-size:.8rem}
body.split .tk .meta{margin-top:5px;gap:4px}
body.split .tk .meta .pill{font-size:.72rem;padding:1px 7px}
body.split .tk .meta .pill.inst,body.split .tk .meta .pill.email,body.split .tk .meta .pill.mine{display:none}
body.split .tk .who{margin-top:4px;font-size:.8rem;line-height:1.3}
body.split .tk.on{background:#efedf9;border-color:var(--navy);border-left-color:var(--navy);box-shadow:0 0 0 1px var(--navy) inset}
body.split .tk.on .ttl{color:var(--navy)}
/* right side: the ticket pane */
body.split .overlay{grid-column:2;grid-row:4/6;position:static;inset:auto;z-index:auto;background:none;display:flex;padding:0;margin:0 16px 14px 14px;min-height:0;justify-content:stretch;align-items:stretch}
body.split .overlay.hidden{display:flex!important}
body.split .overlay.hidden .drawer{display:none}
body.split .drawer{width:100%;height:auto;max-height:none;flex:1;min-height:0;border-radius:5px;box-shadow:0 6px 24px rgba(28,26,74,.12);border:1px solid var(--line);overflow-y:auto;container-type:inline-size;padding-bottom:24px}
body.split .drawer header{padding:10px 18px;border-radius:5px 5px 0 0}
body.split .drawer header .backbtn,body.split .drawer header .esc-hint{display:none}
body.split .drawer header .closex{display:inline-block;flex:none;font-weight:700;white-space:nowrap}
body.split .drawer .body{padding:18px 22px 8px}
/* pane narrower than ~860px (e.g. 1000–1250px screens): stack info under conversation, in the phone order */
body.split .dcols{display:flex;flex-direction:column;gap:0}
body.split .dmain,body.split .dside{display:contents}
body.split .dk-act{margin-top:14px}
body.split .dk-info{margin-top:4px}
@container (min-width:860px){
  body.split .dcols{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
  body.split .dmain,body.split .dside{display:block;min-width:0}
  body.split .dk-info{margin-top:0}
}
@container (min-width:1150px){ body.split .dcols{grid-template-columns:minmax(0,1fr) 390px;gap:30px} }
/* nothing selected */
body.split .overlay.hidden .split-empty{display:flex;flex:1;align-items:center;justify-content:center;text-align:center;border:2px dashed #e1d8bd;border-radius:5px;background:#fbf8f0;color:var(--muted)}
.split-empty b{display:block;font-size:1.15rem;color:var(--navy);margin-bottom:4px}
.split-empty span{font-size:.92rem}


/* ===== photo gallery + lightbox (moshe 8:30 PM Oct 18 "by pictures should be just the picture not the name and more nice") ===== */
.ph-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,190px));gap:12px;margin:10px 0 4px;max-width:100%}
.ph-tile{position:relative;display:block;aspect-ratio:4/3;border-radius:5px;overflow:hidden;background:#eef1f6;border:1px solid rgba(15,30,60,.08);box-shadow:0 2px 6px rgba(15,30,60,.10),0 1px 2px rgba(15,30,60,.06);transition:transform .15s ease,box-shadow .15s ease;cursor:zoom-in}
.ph-tile img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.ph-tile:hover{transform:none;box-shadow:0 8px 20px rgba(15,30,60,.18),0 2px 4px rgba(15,30,60,.08)}
.ph-tile:hover img{transform:scale(1.04)}
.ph-tile:focus-visible{outline:3px solid #c9a24a;outline-offset:2px}
@media (max-width:520px){ .ph-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px} }
html.lb-lock,html.lb-lock body{overflow:hidden}
.lb{position:fixed;inset:0;z-index:10000;display:none;align-items:center;justify-content:center;background:rgba(12,20,38,.88);padding:56px 64px 64px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.lb.on{display:flex;animation:lbIn .15s ease}
@keyframes lbIn{from{opacity:0}to{opacity:1}}
.lb-img{max-width:100%;max-height:100%;object-fit:contain;border-radius:5px;box-shadow:0 12px 40px rgba(0,0,0,.45);background:#fff}
.lb button{font:inherit;cursor:pointer;border:0;color:#fff;background:rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;transition:background .15s}
.lb button:hover{background:rgba(255,255,255,.28)}
.lb-x{position:absolute;top:12px;right:12px;width:42px;height:42px;border-radius:50%;font-size:1.25rem}
.lb-nav{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;font-size:2rem;line-height:1;padding-bottom:4px}
.lb-nav[hidden]{display:none}
.lb-prev{left:10px}.lb-next{right:10px}
.lb-bar{position:absolute;left:0;right:0;bottom:16px;display:flex;justify-content:center;gap:18px;align-items:center;color:rgba(255,255,255,.85);font-size:.9rem}
.lb-cnt:empty{display:none}
.lb-open{color:rgba(255,255,255,.9);text-decoration:none;border-bottom:1px solid rgba(255,255,255,.35)}
.lb-open:hover{color:#fff;border-color:#fff}
@media (max-width:600px){ .lb{padding:56px 10px 60px} .lb-nav{top:auto;bottom:6px;transform:none;width:42px;height:42px} .lb-prev{left:14px}.lb-next{right:14px} }


/* ===== Institutional restyle (moshe 9:55 PM Oct 18: "make my site not look like an AI site"; task 2377aa0d) =====
   Flat navy + gold, 4–5px corners, thin borders instead of soft shadows, no gradients/glows, no hover lift, no spaced caps.
   This block is last on purpose: it overrides the older layers above without touching any layout rules (split view, pane, grids). */
:root{--radius:5px;--line:#d9d3c4;--bg:#f6f4ef;--cream:#fbf9f4;--serif:Georgia,"Times New Roman",serif}
body{background:var(--bg)}
h1,h2,h3{font-family:"Frank Ruhl Libre",Georgia,"Times New Roman",serif}
.ic{display:inline-block;width:1.05em;height:1.05em;vertical-align:-.16em;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* header: solid navy bar, thin gold rule, crest + Hebrew (solid gold) + English line in normal case */
.topbar{background:#1c1a4a;border-bottom:3px solid #c9a24a;box-shadow:none}
.topbar .in{max-width:1100px;padding:10px 20px;min-height:70px;gap:16px}
.topbar .brandlink{gap:13px;color:#fff}
.topbar .brandlink img{width:52px}
.brandtext{display:flex;flex-direction:column;align-items:flex-start;min-width:0;line-height:1}
.topbar .brandlink .he-title{font-family:"Frank Ruhl Libre","David Libre","David","Times New Roman",serif;font-size:1.8rem;font-weight:900;line-height:1.05;color:#e0bd6a;margin:0;padding:0;background:none;-webkit-text-fill-color:currentColor;text-shadow:none;filter:none}
.en-title{display:block;margin-top:3px;font-family:var(--serif);font-size:1rem;color:#fff;letter-spacing:0;white-space:nowrap}
.topbar nav{display:flex;align-items:center;gap:2px;flex:none}
.topbar nav a{color:#fff;background:none;border:0;border-bottom:2px solid transparent;border-radius:0;padding:7px 10px;font-size:.95rem;font-weight:600;text-decoration:none}
.topbar nav a:hover{background:none;border-bottom-color:#c9a24a;color:#fff}
.topbar nav a:focus-visible{outline:2px solid #ffbf47;outline-offset:2px}
@media (max-width:640px){
  .topbar .in{padding:8px 14px;min-height:60px;gap:10px}
  .topbar .brandlink{gap:10px}
  .topbar .brandlink img{width:42px}
  .topbar .brandlink .he-title{font-size:1.45rem}
  .en-title{font-size:.84rem;margin-top:2px}
  .topbar nav .nav-hide-sm{display:none}
  .topbar nav a{padding:6px 4px;font-size:.9rem}
}
@media (max-width:350px){.en-title{font-size:.76rem}.topbar .brandlink img{width:36px}}

/* buttons: plain solid navy primary, outlined secondary */
.btn{border-radius:4px;box-shadow:none;background:#1c1a4a;color:#fff;border:1px solid #1c1a4a;padding:11px 18px}
.btn:hover{background:#2a2560;border-color:#2a2560}
.btn.ghost{background:#fff;color:#1c1a4a;border:1px solid #1c1a4a}
.btn.ghost:hover{background:#efedf6}
.btn.full,#submitBtn,#aBtn,#pBtn,.addsend{background:#1c1a4a;color:#fff;border:1px solid #1c1a4a;box-shadow:none}
.btn.full:hover,#submitBtn:hover,#aBtn:hover,#pBtn:hover,.addsend:hover{background:#2a2560}
.btn.okbtn{background:#2e6b3a;border-color:#2e6b3a;color:#fff}
.btn.danger,.btn.ghost.danger{background:#fff;color:#b3261e;border-color:#b3261e}
.btn.small{padding:7px 12px}
.drawer header .btn.ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}
.drawer header .btn.ghost:hover{background:rgba(255,255,255,.08)}

/* surfaces: thin borders, small radius, no soft shadows */
.card{border-radius:5px;box-shadow:none;background:#fff;border-color:var(--line)}
main.home .card{box-shadow:none}
.stat{border-radius:4px;background:#fff;border-color:var(--line)}
.userbar{border-radius:4px;background:#fff;border-color:var(--line)}
.emailnote{border-radius:4px;background:#fbf7ec;border-color:#e3d6b0}
.banner{border-radius:4px}
.desc{border-radius:4px}
.dk-info,.dk-act{border-radius:5px}
input,select,textarea{border-radius:4px}
input:focus,select:focus,textarea:focus{box-shadow:0 0 0 2px rgba(201,162,74,.45)}
.seg label{border-radius:4px;border-width:1px}
.toast{border-radius:4px;box-shadow:none}
.addbox{border:1px solid #d9c48c;border-left:4px solid #c9a24a;border-radius:4px;background:#fffdf6}
.addjump{border-radius:4px;border-width:1px;background:#fff}
.modes label,.rtoopt{border-radius:4px;border-width:1px}
.xflist,.prevwrap,.files li.audio-li,.share-files li a{border-radius:4px}

/* tabs + chips: rectangular, quieter */
.tabs button{border-radius:4px;border-width:1px;border-color:#c9c3b3}
.maintabs button[aria-selected=true]{background:#1c1a4a;border-color:#1c1a4a;color:#fff;box-shadow:inset 0 -3px 0 #c9a24a}
.tabs button[aria-pressed=true]{background:#1c1a4a;border-color:#1c1a4a;color:#fff}
.pill{border-radius:3px;font-weight:600;padding:1px 7px;font-size:.76rem}
.pill .ic{width:.95em;height:.95em;vertical-align:-.14em;margin-right:3px}
.pill.role{background:#1c1a4a;color:#fff}
.badge{border-radius:3px}

/* ticket cards */
.tk{border-radius:4px;background:#fff;border-left-width:4px}
.tk:hover{border-color:#a9a395;border-left-color:inherit}
.tk.Bus:hover{border-left-color:#c9a24a}

/* ticket pane */
.drawer{border-radius:5px}
.drawer header{background:#1c1a4a;border-bottom:3px solid #c9a24a;border-radius:5px 5px 0 0}
.drawer header h3{color:#fff;font-family:var(--serif)}
.drawer h4{text-transform:none;letter-spacing:0;font-family:var(--serif);font-size:1.02rem;font-weight:700;color:#1c1a4a;border-bottom:1px solid var(--line);padding-bottom:4px}
.drawer h4 .ic{color:#8a6d24;margin-right:5px}
body.split .drawer{border-radius:5px;box-shadow:none}
body.split .drawer header{border-radius:4px 4px 0 0}
body.split .overlay.hidden .split-empty{border-radius:5px;border:1px dashed #cfc6aa}
.tlinks a .ic,.files a .ic,.audio-li .ic{color:#6b6980;margin-right:5px}

/* photo tiles + lightbox: flat */
.ph-tile{border-radius:4px;box-shadow:none;border:1px solid #d3cdbd;transition:border-color .15s}
.ph-tile:hover{transform:none;box-shadow:none;border-color:#1c1a4a}
.lb-img{border-radius:2px;box-shadow:none}
.lb-x,.lb-nav{border-radius:4px}

/* directory */
.dir-grp,.dir-list>.dir-ul{border-radius:4px}
.dir-grp summary{background:#faf8f2}
.dir-chip{border-radius:4px;border-width:1px}
.dgchip,.dir-n{border-radius:3px}
.dir-ext{border-radius:4px;box-shadow:none}
.dir-ext small{text-transform:none;letter-spacing:0}
.dgrp-h,.dir-subh,.dsec-h{text-transform:none;letter-spacing:0;font-family:var(--serif);font-size:1rem}
.dgrp-h{color:#1c1a4a;border-bottom:1px solid var(--line);padding-bottom:3px}
.dir-subh{color:#6b5520}
.dsec-h{color:var(--muted);font-size:.95rem}

/* older home-tile (kept for any page that still uses it) */
.home-tile{background:#1c1a4a;border-radius:4px;box-shadow:none}
.home-tile:hover{transform:none;box-shadow:none;background:#2a2560}
.inst-footer{background:#fbf8f0}

.ficon .ic{width:24px;height:24px;color:#6b6980}
.dropbtn .ic{margin-right:4px}
.okbox .big.done-check .ic{width:52px;height:52px;color:#2e6b3a;stroke-width:1.5}

/* ---------- Full-window layout (moshe 9:10 AM Oct 19 "make it should fit full page"; task 9f96341b) ----------
   Every page: body is a full-height flex column; main grows so the footer sits at the bottom of the window.
   body.split (app split view) keeps its own grid (higher specificity). Wider container on big screens. */
body{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
body > .topbar{flex:none}
body > main{flex:1 0 auto;width:100%}
main.narrow:not(.formpage){display:flex;flex-direction:column;justify-content:center}
.site-foot{flex:none;margin-top:28px;background:#1c1a4a;color:rgba(255,255,255,.78);font-size:.86rem;border-top:2px solid #c9a24a}
.site-foot .in{max-width:1280px;margin:0 auto;padding:12px 24px;display:flex;flex-wrap:wrap;gap:4px 18px;justify-content:center;align-items:center}
.site-foot b{font-family:"Frank Ruhl Libre","David Libre","David","Times New Roman",serif;color:#e0bd6a;font-weight:700;font-size:1.05rem}
.site-foot a{color:#fff;text-decoration:none;font-weight:600}
.site-foot a:hover{text-decoration:underline}
@media (min-width:860px){.site-foot .in{justify-content:space-between}}
@media (min-width:900px){
  .topbar .in{max-width:1280px;padding-left:24px;padding-right:24px}
  main{max-width:1280px;padding:20px 24px}
}
@media (min-width:1200px){
  main.narrow{max-width:720px}
  main.formpage{max-width:820px;padding-top:28px}
  body.dirpage main.formpage{max-width:1120px}
  .dir-page .dir-ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}
  .dir-page .dir-ul > .dir-subh{grid-column:1/-1}
}
@media (min-width:1800px){.home-inst .topbar .in{max-width:1440px}}
@media (min-width:1400px){.topbar nav a{font-size:1rem}}

/* ---------- Organization contact footer (moshe 9:21 AM Oct 19 "put in the bottom Mosdos krula 799 kent ave ..."; task 9e795e0c) ----------
   Same markup (.org) in the main page's navy footer (.h-foot) and the slim footer (.site-foot) on submit/login/directory/status/share/404.
   Phone: stacked and centered. 600px+: 2x2. 1000px+: one row of 4 columns (name | addresses | phone/fax | email) with thin gold dividers. */
.site-foot .in,.h-foot .in{display:block;padding:14px 20px 16px}
.org{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;line-height:1.45;color:rgba(255,255,255,.84)}
.org-c{display:flex;flex-direction:column;gap:1px;font-style:normal;min-width:0}
.org-name b{font-family:"Frank Ruhl Libre","David Libre","David","Times New Roman",serif;color:#e0bd6a;font-weight:700;font-size:1.12rem;line-height:1.25}
.org-en{color:#fff;font-weight:600;letter-spacing:.01em}
.org a{color:#fff;font-weight:600;text-decoration:none}
.org a:hover{text-decoration:underline}
.org-tel span,.org-mail span,.org-addr span{white-space:nowrap}
@media (max-width:380px){.org-addr span,.org-mail span{white-space:normal}}
@media (min-width:600px){
  .org{display:grid;grid-template-columns:repeat(2,auto);justify-content:center;align-items:center;gap:12px 40px;text-align:left}
}
@media (min-width:1000px){
  .site-foot .in,.h-foot .in{padding:13px 24px 14px}
  .org{grid-template-columns:auto auto auto auto;justify-content:center;gap:6px 40px}
  .org-c + .org-c{border-left:1px solid rgba(201,162,74,.5);padding-left:40px}
}
@media (min-width:1800px){.home-inst .h-foot .in{max-width:1440px}}

/* app (logged in): a small muted contact block under the ticket list */
.app-org{display:flex;flex-direction:column;align-items:center;gap:1px;line-height:1.45}
.app-org .ao-name b{font-family:"Frank Ruhl Libre","David Libre","David","Times New Roman",serif;color:#6b5520;font-weight:700;margin-right:4px}
.app-org .ao-mail{margin-bottom:3px}
body.split main > .footer.app-org{align-items:flex-start;text-align:left;font-size:.74rem;margin:6px 6px 10px 16px;padding-top:7px;border-top:1px solid var(--line)}

/* ---------- Bigger header (moshe 9:22 AM Oct 19 "also make the header a lot bigger"; task 9e795e0c) ----------
   Roughly double: taller bar, ~2x crest, larger Hebrew/English titles, slightly larger nav. Same plain navy + thin gold line.
   App (body.appbody / split view) uses a slightly smaller version so the list and ticket pane keep room. */
.topbar .in{min-height:132px;padding-top:14px;padding-bottom:14px;gap:20px}
.topbar .brandlink{gap:20px}
.topbar .brandlink img{width:108px}
.topbar .brandlink .he-title{font-size:3.4rem;line-height:1}
.en-title{font-size:1.5rem;margin-top:6px}
.topbar nav{gap:6px}
.topbar nav a{font-size:1.15rem;padding:9px 12px}
@media (min-width:1400px){.topbar nav a{font-size:1.2rem}}
/* shorter desktop windows: still big, a little less tall */
@media (min-width:641px) and (max-height:960px){
  .topbar .in{min-height:116px;padding-top:11px;padding-bottom:11px}
  .topbar .brandlink img{width:96px}
  .topbar .brandlink .he-title{font-size:3.1rem}
  .en-title{font-size:1.38rem;margin-top:5px}
}
@media (min-width:641px) and (max-height:820px){
  .topbar .in{min-height:100px;padding-top:9px;padding-bottom:9px}
  .topbar .brandlink img{width:84px}
  .topbar .brandlink .he-title{font-size:2.75rem}
  .en-title{font-size:1.25rem;margin-top:4px}
}
/* logged-in app: bigger than before but compact enough for the split view */
body.apppage .topbar .in{min-height:96px;padding-top:9px;padding-bottom:9px}
body.apppage .topbar .brandlink img{width:78px}
body.apppage .topbar .brandlink .he-title{font-size:2.5rem}
body.apppage .en-title{font-size:1.15rem;margin-top:4px}
body.apppage .topbar nav a{font-size:1.05rem}
@media (max-width:640px){
  .topbar .in,body.apppage .topbar .in{min-height:84px;padding:10px 14px;gap:10px}
  .topbar .brandlink,body.apppage .topbar .brandlink{gap:11px}
  .topbar .brandlink img,body.apppage .topbar .brandlink img{width:66px}
  .topbar .brandlink .he-title,body.apppage .topbar .brandlink .he-title{font-size:2.1rem}
  .en-title,body.apppage .en-title{font-size:1.02rem;margin-top:4px}
  .topbar nav a,body.apppage .topbar nav a{font-size:1rem;padding:6px 4px}
}
@media (max-width:370px){
  .topbar .brandlink img,body.apppage .topbar .brandlink img{width:54px}
  .topbar .brandlink .he-title,body.apppage .topbar .brandlink .he-title{font-size:1.75rem}
  .en-title,body.apppage .en-title{font-size:.88rem}
}
/* big, tall screens (1920x1080 and up): the header can be bigger still */
@media (min-width:1400px) and (min-height:1000px){
  body:not(.apppage) .topbar .in{min-height:150px}
  body:not(.apppage) .topbar .brandlink img{width:128px}
  body:not(.apppage) .topbar .brandlink .he-title{font-size:4rem}
  body:not(.apppage) .en-title{font-size:1.7rem}
  body:not(.apppage) .topbar nav a{font-size:1.3rem}
}
@media (min-width:1400px){
  .org{font-size:1rem}
  .org-name b{font-size:1.3rem}
}


/* ===== Print selected tickets + Yiddish directory names (moshe 9:26 AM Oct 19; task ad47e44a) ===== */
.printbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 8px;padding:6px 10px;border:1px solid var(--line);border-radius:5px;background:#fff}
.printbar .selall{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:.92rem;cursor:pointer;margin:0;color:var(--ink)}
.printbar .pgap{flex:1 1 0}
.printbar .pclear{color:var(--muted);font-weight:600;padding:0 4px}
.printbar .printbtn{margin:0;padding:7px 12px}
.printbar .printbtn:disabled{opacity:.45;cursor:default;box-shadow:none}
.printbar input[type=checkbox],.tksel input{width:18px;height:18px;margin:0;accent-color:var(--navy);cursor:pointer;flex:none}
.tkrow{display:flex;align-items:stretch;min-width:0}
.tksel{display:flex;align-items:flex-start;justify-content:center;flex:none;margin:0;padding:14px 9px 0 1px;cursor:pointer;font-weight:400}
.tkrow>.tk{flex:1 1 auto;min-width:0}
.tkrow.sel>.tk{background:#f2f0f8}
body.split .printbar{padding:5px 8px;gap:8px}
body.split .printbar .selall{font-size:.86rem}
body.split .printbar .printbtn{padding:5px 9px;font-size:.84rem}
body.split .tksel{padding:10px 6px 0 0}
body.split .tksel input{width:16px;height:16px}
@media (max-width:420px){.printbar{padding:6px 8px;gap:8px}.printbar .printbtn{font-size:.86rem;padding:6px 10px}.tksel{padding:13px 7px 0 0}}
.dir-names{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:12px;row-gap:0;min-width:0}
.dir-yi{font-family:"Frank Ruhl Libre","David Libre","David","Times New Roman",serif;font-weight:700;font-size:1.05em;line-height:1.3;color:var(--brand);text-align:left;overflow-wrap:anywhere;unicode-bidi:isolate}
.drow .dyi{font-family:"Frank Ruhl Libre","David Libre","David","Times New Roman",serif;font-weight:700;color:var(--brand);margin-left:8px;unicode-bidi:isolate}
.uform input.yinput{font-family:"Frank Ruhl Libre","David Libre","David","Times New Roman",serif;font-size:1.08rem;text-align:right}

/* ===== Help box (moshe 9:37 AM Oct 19; task ad47e44a): button bottom-right, keyword answers, directory search ===== */
.hp-btn{position:fixed;right:16px;bottom:16px;z-index:60;display:inline-flex;align-items:center;gap:7px;font:inherit;font-weight:700;font-size:.95rem;line-height:1;color:#fff;background:#1c1a4a;border:1px solid #1c1a4a;border-radius:5px;padding:10px 14px 10px 11px;cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,.25)}
.hp-btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hp-btn:hover{background:#2a2560}
.hp-btn:focus-visible,.hp-panel button:focus-visible,.hp-panel a:focus-visible,.hp-in:focus-visible{outline:3px solid var(--focus,#e0bd6a);outline-offset:2px}
.hp-panel{position:fixed;right:16px;bottom:66px;z-index:61;width:380px;max-width:calc(100vw - 32px);height:min(560px,calc(100vh - 96px));height:min(560px,calc(100dvh - 96px));display:flex;flex-direction:column;background:#fff;color:var(--ink,#1d1b33);border:1px solid #c9c3b3;border-radius:6px;box-shadow:0 4px 18px rgba(0,0,0,.18);overflow:hidden;font-size:.95rem;line-height:1.45;text-align:left}
.hp-panel[hidden]{display:none}
.hp-head{display:flex;align-items:baseline;gap:8px;background:#1c1a4a;color:#fff;padding:10px 12px;border-bottom:3px solid #c9a24a}
.hp-head b{font-size:1.05rem}
.hp-sub{flex:1;min-width:0;font-size:.82rem;color:#d8d5ea;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hp-x{font:inherit;font-size:.85rem;font-weight:600;color:#e0bd6a;background:none;border:1px solid #c9a24a;border-radius:4px;padding:3px 9px;cursor:pointer}
.hp-log{flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;padding:12px;display:flex;flex-direction:column;gap:8px;background:#fbf9f4}
.hp-m{max-width:92%;padding:8px 10px;border-radius:5px;overflow-wrap:anywhere}
.hp-bot{align-self:flex-start;background:#fff;border:1px solid #e2ddcf}
.hp-me{align-self:flex-end;background:#2a2560;color:#fff}
.hp-m a{color:#2a2560;font-weight:600}
.hp-chips{display:flex;flex-wrap:wrap;gap:6px}
.hp-chip{font:inherit;font-size:.86rem;color:#2a2560;background:#fff;border:1px solid #2a2560;border-radius:4px;padding:5px 9px;cursor:pointer;text-align:left}
.hp-chip:hover{background:#efedf9}
.hp-form{display:flex;gap:6px;padding:8px;border-top:1px solid #e2ddcf;background:#fff;margin:0}
.hp-in{flex:1 1 auto;min-width:0;font:inherit;font-size:16px;padding:9px 10px;border:1px solid #b9b3a3;border-radius:4px;margin:0;width:auto}
.hp-send{font:inherit;font-weight:700;color:#fff;background:#2a2560;border:0;border-radius:4px;padding:0 16px;cursor:pointer}
.hp-ps{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
.hp-p{border:1px solid #e2ddcf;border-radius:4px;padding:6px 8px;background:#fbf9f4}
.hp-pn{display:flex;flex-wrap:wrap;column-gap:10px;align-items:baseline}
.hp-yi{font-family:"Frank Ruhl Libre","David Libre","David","Times New Roman",serif;font-weight:700;color:#2a2560;unicode-bidi:isolate}
.hp-pt{font-size:.84rem;color:var(--muted,#5f5d72)}
.hp-pc{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:.88rem;margin-top:2px}
body.split .hp-btn{right:12px;bottom:12px;padding:8px 12px 8px 9px;font-size:.88rem}
@media print{.hp-btn,.hp-panel{display:none!important}}
@media (max-width:600px){
  .hp-btn{right:10px;bottom:10px;padding:9px 12px 9px 10px;font-size:.9rem}
  .hp-panel{left:0;right:0;bottom:0;width:auto;max-width:none;height:82vh;height:82dvh;border-radius:8px 8px 0 0;border-left:0;border-right:0;border-bottom:0}
  body.hp-open .hp-btn{display:none}
}

/* forgot / reset password (moshe 9:49 AM Oct 19; task ad47e44a) */
.forgot-line{margin:12px 0 0;text-align:center;font-size:.95rem}
.okmsg{margin:10px 0;padding:10px 12px;border:1px solid #9cc5a1;border-left:4px solid var(--ok,#2e7d32);background:#f3faf3;border-radius:4px;color:#1d1b33}


/* ===== Help button more visible, Sign out next to My Desk, print "Select" mode (moshe 9:51, 9:58, 10:00 AM Oct 19; task 883332df) ===== */
/* floating Help: a big gold pill, navy bold "Help ?", thin navy border */
.hp-btn,body.split .hp-btn{right:18px;bottom:18px;height:56px;min-width:118px;padding:0 24px;justify-content:center;gap:0;border-radius:28px;background:#c9a24a;color:#1c1a4a;border:1.5px solid #1c1a4a;font-size:1.15rem;font-weight:800;letter-spacing:.01em;box-shadow:0 1px 3px rgba(0,0,0,.22)}
.hp-btn:hover,body.split .hp-btn:hover{background:#d6b25e;color:#1c1a4a}
.hp-panel{bottom:86px}
@media (max-width:600px){
  .hp-btn,body.split .hp-btn{right:12px;bottom:12px;height:56px;padding:0 22px;font-size:1.12rem}
}
/* keep the last things on a page clear of the button: room at the end of the page */
body.has-help:not(.split):not(.home-inst){padding-bottom:84px}
/* main page: it must still fit one desktop screen, so the room is only added where the page scrolls anyway */
@media (max-width:859px),(max-height:700px){body.has-help.home-inst{padding-bottom:84px}}
/* header: Help link, and Sign out beside My Desk */
.topbar nav a.nav-help{cursor:pointer}
.topbar nav a.nav-out{color:#e0bd6a}
.topbar nav a.nav-out:hover{color:#fff}
@media (max-width:640px){
  .topbar .in.has-acct{flex-wrap:wrap;row-gap:6px}
  .topbar .in.has-acct nav{flex:1 1 100%;justify-content:flex-end;flex-wrap:wrap;gap:4px 14px}
}
/* main page: Sign out next to My Desk (outline), same row on desktop, full width below on phones */
.h-actions .hbtn-out{flex:none;width:auto;min-width:160px;background:#fff;color:#1c1a4a;border:2px solid #1c1a4a;font-weight:700}
.h-actions .hbtn-out:hover{background:#efedf6}
/* print selection: boxes hidden until "Select" */
.printbar:not(.on){border-color:transparent;background:none;padding:0;justify-content:flex-end}
.printbar:not(.on) .selall,.printbar:not(.on) .pclear,.printbar:not(.on) .printbtn,.printbar:not(.on) .delsel,.printbar:not(.on) .pgap{display:none!important}
.list:not(.pmode) .tksel{display:none}
.printbar .pmodebtn{margin:0;padding:7px 14px}
body.split .printbar .pmodebtn{padding:5px 10px;font-size:.84rem}
.printbar .delsel{margin:0;padding:7px 12px;background:#fff;color:#b42318;border:1.5px solid #b42318;box-shadow:none}
.printbar .delsel:hover{background:#fdf0ee}
.printbar .delsel:disabled{opacity:.45;cursor:default}
body.split .printbar .delsel{padding:5px 9px;font-size:.84rem}
.cbback{position:fixed;inset:0;z-index:80;background:rgba(20,18,50,.45);display:flex;align-items:center;justify-content:center;padding:16px}
.cbox{background:#fff;color:var(--ink,#1d1b33);border:1px solid #c9c3b3;border-radius:6px;max-width:440px;width:100%;padding:20px 20px 16px;box-shadow:0 4px 18px rgba(0,0,0,.2)}
.cbox h3{margin:0 0 8px;font-size:1.15rem;color:#1c1a4a}
.cbox .cb-d{margin:0 0 16px;color:var(--muted,#5f5d72);overflow-wrap:anywhere}
.cbox .cb-btns{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.cbox .cb-btns .btn{margin:0;width:auto;max-width:none;padding:10px 16px}
/* the open ticket can scroll its last lines clear of the Help button */
body.has-help .drawer,body.split.has-help .drawer{padding-bottom:88px}

/* Print button in the open ticket's header (moshe 10:01 AM Oct 19) */
.drawer header .printone{flex:none;white-space:nowrap;font-weight:700}
.drawer header .printone:disabled{opacity:.5;cursor:default}

/* Users / Groups / Directory tabs use the same full-width layout as the ticket tabs (moshe 10:14 AM Oct 19:
   "the whole thing is moving from the left side to the center"). Split view is full width; these tabs were
   centred at 1280px, so the header and bar jumped. Same edges now on every tab. */
@media (min-width:1000px){
  body.apppage:not(.split) .topbar .in{max-width:none;padding-left:18px;padding-right:18px}
  body.apppage:not(.split) > main{max-width:none;margin:0;padding:0 16px 20px}
  body.apppage:not(.split) .userbar{margin:12px 0 10px}
  body.apppage:not(.split) #tabs{margin:0 0 10px}
  html:has(> body.apppage){scrollbar-gutter:stable} /* the page scrollbar on Users/Groups/Directory no longer narrows the page */
}

/* Text button in the open ticket's header + copy box on computers (moshe 11:49 AM Oct 19) */
.txbox{max-width:520px}
.txbox .tx-ta{width:100%;box-sizing:border-box;font:inherit;font-size:.95rem;line-height:1.4;padding:10px;border:1px solid #c9c3b3;border-radius:4px;resize:vertical;background:#faf9f5;color:inherit;unicode-bidi:plaintext;margin:0}
.txbox .tx-msg{min-height:1.3em;margin:8px 0 12px;color:#1c6b33;font-weight:700}
.txbox .tx-msg:empty{margin:4px 0 8px}
.txbox .cb-btns a.btn{text-decoration:none;display:inline-flex;align-items:center}
@media (max-width:480px){.drawer header{gap:6px;padding-left:10px;padding-right:10px}.drawer header .printone{padding-left:9px;padding-right:9px}}


/* Settings tab (moshe 11:50 AM Oct 19 "add a option settings for all site setting"; task abe34515) — plain: thin borders, navy/gold */
.setpage{max-width:1100px}
.sethead h2{margin:4px 0 4px;font-family:Georgia,"Times New Roman",serif;color:var(--navy,#1c1a4a);font-size:1.5rem}
.sethead p{margin:0 0 12px;max-width:760px}
.setnav{display:flex;flex-wrap:wrap;gap:6px 6px;margin:0 0 14px;padding:0}
.setnav a{display:inline-block;padding:6px 10px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--brand);text-decoration:none;font-size:.92rem;font-weight:600}
.setnav a:hover{border-color:var(--brand)}
.setsec{margin:0 0 16px;padding:16px 18px;scroll-margin-top:12px;min-width:0}
.setsec h3{margin:0 0 4px;font-family:Georgia,"Times New Roman",serif;font-size:1.2rem;color:var(--navy,#1c1a4a);padding-bottom:6px;border-bottom:2px solid var(--gold)}
.setsec h3:focus{outline:none}
.set-intro{margin:6px 0 10px}
.set-sub{margin:16px 0 8px;font-size:1rem;color:var(--navy,#1c1a4a)}
.set-grid{display:grid;grid-template-columns:1fr;gap:12px 18px;margin-top:8px}
@media (min-width:760px){.set-grid{grid-template-columns:1fr 1fr}.set-grid .set-wide{grid-column:1/-1}}
.set-f{min-width:0}
.set-f label{display:block;font-weight:700;margin:0 0 4px;font-size:.95rem}
.set-f input[type=text],.set-f input[type=number],.set-f select,.set-f textarea{width:100%;box-sizing:border-box;max-width:100%}
.set-f textarea{resize:vertical}
.set-hint{margin:4px 0 0}
.set-def{display:block;margin-top:3px;font-size:.82rem;color:#7a5b12}
.set-c{margin:6px 0}
.set-c label{display:flex;align-items:flex-start;gap:9px;cursor:pointer;font-weight:400;margin:0;padding:6px 0}
.set-c input{width:18px;height:18px;margin:2px 0 0;flex:none}
.set-cd{display:block;margin-top:1px}
.set-ro{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);gap:4px 14px;padding:7px 0;border-top:1px solid var(--line);font-size:.93rem}
.set-rol{color:var(--muted);font-weight:600}
.set-rov{overflow-wrap:anywhere}
@media (max-width:560px){.set-ro{grid-template-columns:1fr}}
.set-preview{margin:10px 0 0;padding:8px 10px;border-left:3px solid var(--gold);background:#fbf8f0}
.setfoot{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}
.setfoot .btn{margin:0;width:auto}
.set-reset{color:var(--muted);font-weight:600;padding:0}
.set-reset:hover{color:var(--brand);text-decoration:underline}
.set-msg{margin:0;font-weight:700;min-height:1.2em;flex:1 1 200px}
.set-msg.ok{color:#1c6b33}
.set-msg.bad{color:var(--urgent,#c62828)}
.faqed{display:flex;flex-direction:column;gap:10px;margin:0 0 10px}
.faqrow{border:1px solid var(--line);border-radius:4px;padding:10px 12px;background:#fff;display:flex;flex-direction:column;gap:6px;min-width:0}
.faqtop{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.faqtop .pgap{flex:1 1 auto}
.faqtop .btn{margin:0;width:auto;padding:4px 10px}
.faqrow .faq-q{font-weight:700}
.faqrow .faq-q,.faqrow .faq-a{width:100%;box-sizing:border-box}
.faqrow .faqdel{color:var(--urgent,#c62828)}
/* Settings switches: hide buttons the admin turned off */
body.ks-noprint #printOne,body.ks-noprint #printSel{display:none!important}
body.ks-noprint:not(.ks-admin) .printbar{display:none!important}
body.ks-notext #textOne{display:none!important}
body.ks-nowa #waOpenBtn,body.ks-nowa #waBox{display:none!important}
/* reply "Send to": one box per person when a role has several (moshe 11:58 AM Oct 19) */
.rtoopt.rtoone .muted{color:var(--ink,#1d1b33)}
/* phones: the header "Settings" link stays off so the logged-in header keeps its two rows; on a phone Settings is the last tab in My Desk */
@media (max-width:560px){#navSettings{display:none}}

/* WhatsApp + Email next to Print/Text in the open ticket (moshe 11:59 AM Oct 19). The four sit in one group;
   when the bar is too narrow the group wraps to a second row (phones: always its own full-width row). */
.drawer header{flex-wrap:wrap;row-gap:8px}
.drawer header .tshare{display:flex;flex-wrap:wrap;gap:6px;flex:none;min-width:0;max-width:100%}
.drawer header .tshare .btn{margin:0;width:auto}
.drawer header a.printone{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.drawer header a.printone.is-off{opacity:.5;pointer-events:none;cursor:default}
body.ks-nowa #waOne{display:none!important}
body.ks-noemail #emailOne{display:none!important}
@media (max-width:640px){
  .drawer header .tshare{order:5;flex:1 1 100%}
  .drawer header .tshare .btn{flex:1 1 0;min-width:0;padding-left:6px;padding-right:6px}
}
/* status buttons while a status save is in flight */
.statusbar.st-busy button{cursor:progress}
.statusbar button:disabled{opacity:.6}
.statusbar button.st-saving{opacity:1;outline:2px dashed var(--gold,#c9a24a);outline-offset:1px}

/* Settings > Rules (moshe 12:39 PM Oct 19 "make this editable") */
.set-roles{display:flex;flex-wrap:wrap;gap:4px 20px;margin:4px 0}
.set-role{display:flex;align-items:center;gap:8px;font-weight:400;margin:0;padding:6px 0;cursor:pointer}
.set-role input{width:18px;height:18px;margin:0;flex:none}
.set-role input:disabled+span{color:var(--muted)}
@media (min-width:760px){.set-grid.set-names{grid-template-columns:repeat(3,minmax(0,1fr))}}
.set-names .set-f label{font-weight:600;font-size:.88rem;color:var(--muted)}
.set-custom{display:flex;flex-direction:column;gap:8px;margin:0 0 10px}
.cu-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;border:1px solid var(--line);border-radius:4px;padding:8px 10px;background:#fff;min-width:0}
.cu-row .cu-name{flex:1 1 200px;min-width:0;box-sizing:border-box}
.cu-row .btn{margin:0;width:auto;padding:4px 10px}
.cu-hl{display:flex;align-items:center;gap:6px;font-weight:400;margin:0;cursor:pointer}
.cu-hl input{width:16px;height:16px;margin:0}
#set_custom_add{width:auto;margin:0}

/* Directory: Print button for signed-in people (moshe 12:41 PM Oct 19) */
.dir-head .dir-print{margin:0 0 0 auto;width:auto;text-decoration:none;display:inline-flex;align-items:center;flex:none}
.dir-head .dir-print[hidden]{display:none}
.dir-page .dir-head{justify-content:flex-start}.dir-page .dir-head .dir-count{margin-left:auto}.dir-page .dir-head .dir-print{margin-left:0}

/* Send by email box (moshe 12:47 PM Oct 19) */
.embox .em-l{display:block;font-weight:700;margin:8px 0 4px}
.embox input[type=text],.embox textarea{width:100%;box-sizing:border-box;font:inherit;padding:9px 10px;border:1px solid #c9c3b3;border-radius:4px;background:#fff;margin:0}
.embox .em-h{margin:4px 0 0}
.embox .tx-msg.bad{color:var(--urgent,#c62828)}

/* Activity tab (moshe 4:21 PM Oct 19 "is there a way i can see who is visiting the site?"; task 1d315259) — plain: thin borders, small corners, navy/gold */
.actpage{min-width:0}
.acthead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.acthead .btn{flex:none;margin-top:6px}
.actstats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0 0 14px;border:1px solid var(--line);border-radius:4px;background:#fff}
.actstat{padding:10px 14px;border-left:1px solid var(--line);min-width:0}
.actstat:first-child{border-left:0}
.actstat b{display:block;font-size:1.45rem;line-height:1.2;color:#1c1a4a;font-family:Georgia,"Times New Roman",serif;font-weight:700}
.actstat span{display:block;font-size:.88rem;font-weight:600;color:var(--ink)}
.actstat small{display:block;color:var(--muted);font-size:.8rem}
.actsec .muted.small{margin:0 0 10px}
.acttools{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;margin:0 0 10px}
.acttools select{width:auto;max-width:100%;margin:0;padding:7px 10px;font-size:.92rem}
.actcheck{display:inline-flex;align-items:center;gap:6px;font-weight:400;font-size:.92rem;margin:0}
.actcheck input{width:auto;margin:0}
.acttablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}
.acttable{width:100%;border-collapse:collapse;font-size:.93rem}
.acttable th{text-align:left;font-size:.8rem;text-transform:uppercase;letter-spacing:.03em;color:var(--muted);font-weight:700;padding:7px 10px;border-bottom:2px solid #1c1a4a;white-space:nowrap;background:#faf8f2}
.acttable td{padding:8px 10px;border-bottom:1px solid var(--line);vertical-align:top}
.acttable tbody tr:hover td{background:#faf8f2}
.acttable .num{text-align:right;font-variant-numeric:tabular-nums}
.acttable caption{text-align:left;font-weight:700;color:#1c1a4a;padding:14px 0 6px;font-size:.95rem}
.thsort{background:none;border:0;padding:0;font:inherit;color:inherit;text-transform:inherit;letter-spacing:inherit;cursor:pointer}
.thsort:hover,.thsort.on{color:#1c1a4a}
.acttable .num .thsort{text-align:right}
.actname b{display:block}
.actname .muted.small,.acttable .actdev{display:block}
.actfail{margin-top:4px}
.pill.actnever{background:#fbecd0;color:#7a4b00;border:1px solid #e8c98a}
.acttable tr.off td{color:var(--muted)}
.actnow{color:#2e6b3a;font-weight:700}
.actnote{display:block}
.actwhere{color:var(--muted);font-size:.88rem;word-break:break-word}
.actpager{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 0}
.actpager:empty{display:none}
.actfailed{margin-top:18px;padding-top:12px;border-top:1px solid var(--line)}
.actfailed h4{margin:0 0 6px;font-size:.95rem;color:#1c1a4a}
.actfaillist{list-style:none;margin:0;padding:0;font-size:.9rem}
.actfaillist li{display:flex;flex-wrap:wrap;gap:2px 10px;padding:6px 0;border-bottom:1px solid var(--line)}
.actfaillist li:last-child{border-bottom:0}
.afwhen{color:var(--muted);min-width:9.5em}
.afwho{font-weight:600}
.acttoday{margin:0 0 10px;font-size:1rem}
.actchartbox{position:relative;border:1px solid var(--line);border-radius:4px;padding:22px 10px 8px;margin:0 0 12px;background:#fff}
.actmax{position:absolute;top:4px;left:10px}
.actchart{display:flex;align-items:flex-end;gap:2px;height:150px;border-bottom:1px solid #1c1a4a}
.acol{position:relative;flex:1 1 0;height:100%;min-width:0}
.abar{position:absolute;bottom:0;left:0;right:0;border-radius:1px 1px 0 0}
.abar.views{background:#d8d4e8}
.abar.uniq{background:#1c1a4a;left:18%;right:18%}
.acol.today .abar.uniq{background:#c9a24a}
.actaxis{display:flex;justify-content:space-between;font-size:.78rem;color:var(--muted);padding-top:4px}
.actlegend{margin-top:6px}
.actlegend .lg{display:inline-block;width:10px;height:10px;vertical-align:-1px;margin-left:8px}
.actlegend .lg:first-child{margin-left:0}
.actlegend .lg.uniq{background:#1c1a4a}.actlegend .lg.views{background:#d8d4e8}
.acttable.visits tr.today td{font-weight:700}
.acttable.visits tr.zero td{color:var(--muted)}
.visitwrap.collapsed tbody tr:nth-child(n+8){display:none}
.actsec .linkbtn{color:#1c1a4a;padding:8px 0 0;text-decoration:underline}
.acttable.bypage{max-width:480px}
@media (max-width:860px){
  .actstats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .actstat:nth-child(3){border-left:0}
  .actstat:nth-child(n+3){border-top:1px solid var(--line)}
  .acttable .pgcol{display:none}
}
/* phones: people and the log become compact stacked rows, no sideways scroll */
@media (max-width:640px){
  .acthead h2{font-size:1.3rem}
  .actstat{padding:8px 10px}
  .actstat b{font-size:1.25rem}
  .acttable.people thead,.acttable.log thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .acttable.people,.acttable.people tbody,.acttable.log,.acttable.log tbody{display:block;width:100%}
  .acttable.people tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 10px;padding:10px 0;border-bottom:1px solid var(--line)}
  .acttable.people td{display:block;border:0;padding:0;font-size:.9rem;min-width:0}
  .acttable.people td::before{content:attr(data-label);display:block;color:var(--muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.03em}
  .acttable.people td.actname{grid-column:1/-1}
  .acttable.people td.actname::before{content:none}
  .acttable.people td.actname b{display:inline}
  .acttable.people td.actname .muted.small{display:inline;margin-left:6px}
  .acttable.people td.actname .actfail{display:inline-block;margin:2px 0 0 6px}
  .acttable.people td.num{text-align:left}
  .acttable.people .pill.actnever{white-space:normal}
  .acttable.log tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1px 10px;padding:8px 0;border-bottom:1px solid var(--line)}
  .acttable.log td{display:block;border:0;padding:0;min-width:0}
  .acttable.log td[data-label=Person]{grid-column:1;grid-row:1}
  .acttable.log td[data-label=Time]{grid-column:2;grid-row:1;color:var(--muted);font-size:.85rem;text-align:right;white-space:nowrap}
  .acttable.log td[data-label=Device]{grid-column:1;grid-row:2;font-size:.85rem;color:var(--muted)}
  .acttable.log td[data-label=Where]{grid-column:2;grid-row:2;font-size:.8rem;text-align:right}
  .acttable tbody tr:hover td{background:none}
  .actpager .btn{padding:7px 10px}
  .actchart{height:120px;gap:1px}
}
.acttable.visits tr.untracked td{color:#a9a5b5}

/* To Buy list + Reports tab (moshe 4:57 PM Oct 19; task cd936c58) — same plain look: thin borders, 4px corners, navy/gold, no shadows */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tbhbtns{display:flex;gap:6px;flex:none;margin-top:6px}
.tbhbtns .btn,.rpbtns .btn{box-shadow:none}
.tbpage .actstats{margin-bottom:14px}
.tbadd{display:grid;grid-template-columns:minmax(0,2.2fr) 70px minmax(0,2fr) 110px 100px auto;gap:8px;align-items:end;margin-top:10px}
.tbf{display:block;margin:0;min-width:0;font-weight:400}
.tbf > span{display:block;font-size:.78rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.03em;margin:0 0 3px}
.tbf input{width:100%;margin:0;padding:8px 10px;font-size:.95rem;border-radius:4px}
.tb-go{display:flex;gap:6px}
.tb-go .btn{padding:9px 16px;box-shadow:none;border-radius:4px}
.tbaddsec h3,.tblistsec h3{margin-bottom:0}
.tbtools{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin:0 0 10px}
.tbsegs{display:flex;flex-wrap:wrap;border:1px solid var(--line);border-radius:4px;overflow:hidden;background:#fff}
.tbseg{font:inherit;font-size:.9rem;font-weight:600;padding:7px 12px;border:0;border-left:1px solid var(--line);background:#fff;color:var(--brand);cursor:pointer}
.tbseg:first-child{border-left:0}
.tbseg.on{background:#1c1a4a;color:#fff}
.tbseg .tbn{color:var(--muted);font-weight:400}
.tbseg.on .tbn{color:#e0bd6a}
#tbSearch{flex:1 1 200px;width:auto;max-width:340px;margin:0;padding:7px 10px;font-size:.92rem;border-radius:4px}
.tbtable td{vertical-align:middle}
.tbtable .c-chk{width:34px;padding-right:0}
.tbtable .c-chk input{width:18px;height:18px;margin:0;accent-color:#1c1a4a;cursor:pointer}
.tbtable .c-item b{display:block;font-weight:600;overflow-wrap:anywhere}
.tbnotes{display:block;color:var(--muted);font-size:.88rem;overflow-wrap:anywhere}
.tbtable .c-qty,.tbtable .c-price{white-space:nowrap}
.tbtk{display:flex;flex-direction:column;min-width:0;max-width:320px}
.tblink{background:none;border:0;padding:0;font:inherit;font-weight:700;color:#1c1a4a;text-decoration:underline;cursor:pointer;text-align:left;width:max-content}
.tbtt{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tbtable .c-by{white-space:nowrap}
.tbwho{display:block;white-space:normal}
.tbstatus{width:auto;margin:0;padding:5px 8px;font-size:.88rem;border-radius:4px;font-weight:600}
.tbstatus.st-Needed{border-color:#c9a24a;background:#fdf8ea;color:#6b4e00}
.tbstatus.st-Ordered{border-color:#8f8ac0;background:#f1f0f8;color:#1c1a4a}
.tbstatus.st-Bought{border-color:#9cc3a3;background:#eef6ef;color:#2e6b3a}
.tbtable .c-act{white-space:nowrap;text-align:right}
.tbact{background:none;border:0;font:inherit;font-size:.88rem;font-weight:600;color:#1c1a4a;cursor:pointer;padding:4px 6px;text-decoration:underline}
.tbact.rm{color:var(--urgent)}
.tbrow.s-Bought .c-item b{text-decoration:line-through;text-decoration-color:#9a97ab;color:var(--muted)}
.tbrow.editing td{background:#faf8f2}
.tbedit{margin:2px 0}
.tbedit .tb-go{flex-wrap:wrap}
.tbedit .tb-go .btn{padding:8px 12px}
.tbempty{padding:8px 0}
.tbfoot{margin:8px 0 0}
/* inside a ticket */
.dk-buy{order:4}
.tblist{list-style:none;margin:0 0 6px;padding:0}
.tblist li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}
.tblist li:last-child{border-bottom:0}
.tbli{min-width:0}
.tbli b{display:block;font-weight:600;overflow-wrap:anywhere}
.tbli .muted.small{display:block}
.tblist li.s-Bought .tbli b{text-decoration:line-through;color:var(--muted)}
.tbtform{border:1px solid var(--line);border-radius:4px;padding:10px 12px;margin-top:10px;background:#faf8f2}
.tbtform .tbf{margin-bottom:8px}
.tbfor{margin:0 0 8px;font-weight:600;color:var(--ink)}
.tbrow2{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px}
.tbtbtns{display:flex;gap:8px;margin:2px 0 6px}
.tbtbtns .btn{box-shadow:none;border-radius:4px}
.tbgo{margin:10px 0 0;font-size:.92rem}
.tbgo a{color:#1c1a4a;font-weight:600}
.timeline li.tbn-note{border-left-color:#c9a24a}
@media (min-width:980px){
  .dk-buy{background:#fff;border:1px solid var(--line);border-radius:5px;padding:2px 16px 14px;margin-top:14px}
  .dk-buy > h4:first-child{margin-top:12px}
}
/* reports tab */
.rpfilters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 10px;margin:10px 0}
.rpf{display:block;margin:0;font-weight:400;min-width:0}
.rpf > span{display:block;font-size:.78rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.03em;margin:0 0 3px}
.rpf select,.rpf input{width:100%;margin:0;padding:7px 9px;font-size:.93rem;border-radius:4px}
.rpinline{display:flex;align-items:center;gap:8px}
.rpinline > span{margin:0}
.rpinline select{width:auto}
.rpacts{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:8px 0 0}
.rpbtns{display:flex;flex-wrap:wrap;gap:6px}
.rpbtns .btn{border-radius:4px}
.rpcount{margin:12px 0 8px;font-weight:600;color:#1c1a4a}
.rppreview .rp-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:4px;margin:0 0 12px;background:#fff}
.rppreview .rp-kpi{padding:8px 12px;border-left:1px solid var(--line)}
.rppreview .rp-kpi:first-child{border-left:0}
.rppreview .rp-kpi b{display:block;font:700 1.3rem/1.2 Georgia,"Times New Roman",serif;color:#1c1a4a}
.rppreview .rp-kpi span{font-size:.85rem;color:var(--muted)}
.rppreview .rp-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}
.rppreview .rp-t{width:100%;border-collapse:collapse;font-size:.9rem}
.rppreview .rp-t th{text-align:left;font-size:.76rem;text-transform:uppercase;letter-spacing:.03em;color:#1c1a4a;padding:5px 6px;border-bottom:2px solid #1c1a4a;background:#faf8f2}
.rppreview .rp-t td{padding:5px 6px;border-bottom:1px solid var(--line);overflow-wrap:anywhere;text-align:left}
.rppreview .rp-t .num{text-align:right;font-variant-numeric:tabular-nums}
@media (max-width:860px){
  .tbadd{grid-template-columns:minmax(0,1fr) 80px}
  .tbadd .tb-notes{grid-column:1/-1}
  .tbadd .tb-price{grid-column:1}
  .tbadd .tb-tk{grid-column:2}
  .tbadd .tb-go{grid-column:1/-1}
  .tbadd .tb-go .btn{flex:1}
  .tbedit .tb-go .btn{flex:0 0 auto}
  .rpfilters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rppreview .rp-counts{grid-template-columns:1fr}
}
@media (max-width:640px){
  .tbpage .acthead{flex-direction:column;gap:0}
  .tbhbtns{margin:0 0 10px}
  .tbadd .tb-price,.tbadd .tb-tk{grid-column:auto}
  .tbadd{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .tbadd .tb-item{grid-column:1/-1}
  .tbadd .tb-qty{grid-column:1}
  .tbseg{padding:7px 9px;font-size:.86rem}
  #tbSearch{max-width:none;flex:1 1 100%}
  .tbtable thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .tbtable,.tbtable tbody{display:block;width:100%}
  .tbtable tr.tbrow{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;position:relative;padding:10px 0 10px 38px;border-bottom:1px solid var(--line)}
  .tbtable tr.tbrow td{display:block;border:0;padding:0;min-width:0;background:none}
  .tbtable .c-chk{position:absolute;left:4px;top:12px;width:auto}
  .tbtable .c-item{flex:1 1 100%}
  .tbtable .c-qty,.tbtable .c-price{flex:0 0 auto;font-size:.88rem}
  .tbtable .c-qty::before,.tbtable .c-price::before,.tbtable .c-by::before{content:attr(data-label) " ";color:var(--muted)}
  .tbtable .c-tk{flex:1 1 100%;font-size:.88rem}
  .tbtable .c-tk.none{display:none}
  .tbtable .c-by{flex:1 1 100%;font-size:.86rem;white-space:normal}
  .tbtable .c-by span{display:inline}
  .tbtable .c-by .tbwho{display:inline;margin-left:4px}
  .tbtk{flex-direction:row;gap:6px;max-width:none;align-items:baseline}
  .tbtable .c-st{flex:0 0 auto;margin-top:4px}
  .tbtable .c-act{margin:4px 0 0 auto;text-align:right}
  .tbtable tr.editing{display:block;padding:8px 0}
  .tbtable tr.editing td{display:block;padding:8px;border:0}
  .tbtable tbody tr:hover td{background:none}
  .rpfilters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .rpacts{flex-direction:column;align-items:stretch}
  .rpbtns .btn{flex:1}
  .rppreview .rp-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rppreview .rp-kpi:nth-child(3){border-left:0}
  .rppreview .rp-kpi:nth-child(n+3){border-top:1px solid var(--line)}
}

/* Header (task a2ad0daa, moshe 8:06 PM Oct 19): "Home" is the first link in the signed-in header.
   The links never sit on top of the title: when they don't fit beside it they wrap to their own row. */
.topbar .in{flex-wrap:wrap;row-gap:6px}
.topbar .brandlink{flex:0 1 auto;max-width:100%}
.topbar nav{margin-left:auto;flex-wrap:wrap;justify-content:flex-end}
@media (max-width:640px){
  .topbar .in.has-home nav{gap:4px 10px}
}
@media (max-width:440px){
  .topbar .in.has-home nav{justify-content:space-between;gap:2px 4px}
  .topbar .in.has-home nav a{padding:6px 3px}
}
@media (max-width:375px){.topbar .in.has-home nav a{font-size:.9rem;padding:6px 2px}}

/* Visits list (moshe 8:10 PM Oct 19 "can they tell me which device and ip?"; task 3e6207f7) — same flat navy/gold */
.vltools input[type=search]{flex:1 1 260px;max-width:420px;min-width:0;margin:0;padding:8px 10px;font-size:.95rem;border:1px solid #c9c3b3;border-radius:4px;background:#fff}
.vltools .btn{flex:none}
.vlcount{margin:0 0 8px}
.acttable.vlist td{font-size:.9rem}
.acttable.vlist .vltime{white-space:nowrap;color:var(--ink)}
.acttable.vlist .vlpage .vlref{display:block}
.acttable.vlist tr.named .vlwho{font-weight:600}
.vllink{background:none;border:0;padding:0;margin:0;font:inherit;color:#1c1a4a;cursor:pointer;text-align:left;text-decoration:underline;text-decoration-color:#c9c3b3;text-underline-offset:2px;word-break:break-word}
.vllink:hover{text-decoration-color:#c9a24a}
.vlmono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.86rem;word-break:break-all}
.vlrep{display:block;margin-top:2px;font-size:.76rem;color:#7a5a12;white-space:nowrap}
.acttable.vlist .vltown{color:var(--ink)}
.vlempty{margin:6px 0}
@media (max-width:640px){
  .acttable.vlist thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .acttable.vlist,.acttable.vlist tbody{display:block;width:100%}
  .acttable.vlist tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:3px 12px;padding:9px 0;border-bottom:1px solid var(--line)}
  .acttable.vlist td{display:block;border:0;padding:0;min-width:0;font-size:.88rem}
  .acttable.vlist td.vlpage{grid-column:1;grid-row:1;font-weight:600}
  .acttable.vlist td.vlpage .vlref{font-weight:400}
  .acttable.vlist td.vltime{grid-column:2;grid-row:1;text-align:right;color:var(--muted);font-size:.84rem}
  .acttable.vlist td.vlwho{grid-column:1;grid-row:2}
  .acttable.vlist td.vldev{grid-column:2;grid-row:2;text-align:right}
  .acttable.vlist td.vlip{grid-column:1;grid-row:3}
  .acttable.vlist td.vltown{grid-column:2;grid-row:3;text-align:right}
  .acttable.vlist td.vltown .vllink{text-align:right}
  .acttable.vlist tbody tr:hover td{background:none}
  .vltools{flex-wrap:nowrap;gap:8px}
  .vltools input[type=search]{flex:1 1 0;max-width:none}
}

/* Header "Options" menu (task 254d7570): the non-ticket sections of /app. Flat navy/gold, thin border, small corners. */
.topbar nav a.nav-opt{cursor:pointer;display:inline-flex;align-items:center;gap:0;white-space:nowrap}
.topbar nav a.nav-opt::after{content:"";display:inline-block;width:0;height:0;margin-left:7px;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid currentColor;transform:translateY(1px)}
.topbar nav a.nav-opt.open::after{border-top:0;border-bottom:5px solid currentColor;transform:translateY(-1px)}
.topbar nav a.nav-opt.on,.topbar nav a.nav-opt.open{color:#e0bd6a;border-bottom-color:#c9a24a}
.topbar nav a.nav-opt .opt-cur{color:#fff;font-weight:600}
.optmenu{position:fixed;z-index:1200;min-width:220px;max-width:calc(100vw - 16px);max-height:calc(100vh - 90px);overflow-y:auto;background:#fff;border:1px solid #c9c3b3;border-top:3px solid #c9a24a;border-radius:4px;box-shadow:0 4px 12px rgba(28,26,74,.16);padding:4px 0;box-sizing:border-box}
.optmenu[hidden]{display:none}
.optmenu .opt-h{font-size:.74rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#7a7462;padding:7px 16px 5px}
.optmenu a{display:block;padding:10px 16px;color:#1c1a4a;font-weight:600;font-size:.98rem;text-decoration:none;border-left:3px solid transparent;line-height:1.25}
.optmenu a:hover{background:#f4f1e8}
.optmenu a:focus-visible{outline:2px solid #ffbf47;outline-offset:-2px}
.optmenu a[aria-current]{background:#1c1a4a;color:#fff;border-left-color:#c9a24a}
@media (max-width:600px){
  .topbar nav a.nav-opt .opt-cur{display:none}
  .optmenu{min-width:0}
  .optmenu a{padding:13px 16px;font-size:1.02rem;border-top:1px solid #eee8d8}
  .optmenu .opt-h+a{border-top:0}
}


/* ===== List tools on top (moshe 9:00 PM Oct 19 "all this put on top", task 822cb72d) =====
   Heading, counts, filters, search and "Select" live in #listTools (between the tab row and the list), so on wide
   screens they run across the full width above both the ticket list and the ticket pane; the left column is just tickets.
   Under 1000px (no split) the bar stacks above the list exactly as before. */
.listtools.hidden{display:none!important}
body.split{grid-template-rows:auto auto auto auto minmax(0,1fr) auto}
body.split #listTools{grid-column:1/-1;grid-row:4;margin:0 16px 10px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;min-width:0}
body.split #view{grid-row:5}
body.split main > .footer,body.split main > .footer.app-org{grid-row:6}
body.split .overlay{grid-row:5/7}
body.split #listTools .viewhead{margin:0 8px 0 0;flex:none}
body.split #listTools .viewhead h2{font-size:1.15rem;white-space:nowrap}
body.split #listTools .stats{display:flex;flex:0 1 auto;flex-wrap:wrap;gap:6px;margin:0}
body.split #listTools .stat{padding:5px 11px;white-space:nowrap}
body.split #listTools .filters{display:flex;flex:1 1 560px;flex-wrap:nowrap;gap:6px;margin:0;min-width:0}
body.split #listTools .filters > *{grid-column:auto!important}
body.split #listTools .filters select{flex:0 1 auto;width:auto;min-width:0;max-width:220px}
body.split #listTools .filters .q{flex:1 1 220px;min-width:150px;width:auto}
body.split #listTools .printbar{margin:0;flex:0 0 auto}
body.split #listTools .printbar.on{flex:1 1 100%}
body.split #view .list{padding-top:2px}
@media (max-width:760px){body:not(.split) #listTools .filters select[aria-label="Assigned to"]{grid-column:1/-1}}


/* ===== Snooze (moshe 9:36 PM Oct 19, task cb85fcb1) ===== */
.snzlink{background:#fff;border:1px solid var(--line);border-radius:4px;color:var(--brand);font:inherit;font-size:.86rem;font-weight:600;padding:5px 10px;cursor:pointer;margin:0 0 10px;white-space:nowrap}
.snzlink:hover{border-color:var(--brand)}
.snzlink.on{background:var(--brand);border-color:var(--brand);color:#fff}
body.split #listTools .snzlink{margin:0;flex:none}
.pill.snz{background:#eef0f7;color:var(--brand);border:1px solid #cfd2e6}
.pill.snzback{background:#fbf3df;color:#6b4e0e;border:1px solid var(--gold)}
.banner.snzb{background:#f3f4fa;border:1px solid #cfd2e6;border-left:4px solid var(--brand);color:var(--brand);display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.banner.snzb .btn{flex:none}
.snzwrap{margin-top:14px}
.snzwrap .snzbtn{margin-top:0}
.snzbox{margin:0}
.snzquick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.snzq{background:#fff;border:1px solid #cfd2e6;border-radius:4px;color:var(--brand);font:inherit;font-size:.9rem;font-weight:600;padding:8px 4px;cursor:pointer;min-height:40px}
.snzq:hover,.snzq:focus-visible{border-color:var(--brand);background:#f3f4fa}
.snzq:disabled{opacity:.55;cursor:default}
.snzuntil{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;padding-top:10px;border-top:1px solid #eee8d8}
.snzuntil .snzlbl{font-weight:600;color:var(--brand);font-size:.92rem;margin-right:2px}
.snzuntil input{flex:1 1 130px;min-width:0;width:auto;margin:0;padding:7px 8px;font:inherit;font-size:.92rem}
.snzuntil input[type=time]{flex:0 0 128px}
.snzuntil .btn{flex:none}
.snzhint{margin:8px 0 0;font-size:.82rem}
.snzbox .err:empty{display:none}
.snzbox .snzcancel{color:var(--muted);padding:6px 0 0;font-size:.88rem}
.timeline li.snzn{border-left-color:var(--brand)}
.loadmsg{padding:16px}
@media (max-width:420px){.snzquick{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* ===== Unread (moshe 11:41 AM Oct 20, task a61e9d90) ===== */
.tabs button.tabunread{display:inline-flex;align-items:center;gap:7px}
.tabs button.tabunread.has{border-color:var(--navy);color:var(--navy)}
.tabs button.tabunread[aria-selected=true]{color:#fff}
.badge.ub{background:#eeeae0;color:var(--muted);border-radius:3px;font-weight:700}
.tabunread.has .badge.ub{background:var(--gold);color:var(--navy)}
.tk.unread{border-color:#c9c6e3}
.tk.unread .ttl{color:var(--navy)}
.tk .udot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--navy);margin:0 7px 0 0;vertical-align:.12em;flex:none}
.pill.unr{background:var(--navy);color:#fff;border:1px solid var(--navy);font-weight:700}
.snzlink.markread{margin-left:0}
body.split .tk.unread .ttl{color:var(--navy)}

/* @mentions in replies (task 303c0c56): flat list under the box, navy text, gold rule on the picked row */
.mn-wrap{position:relative}
.mn-wrap textarea{display:block;width:100%}
.mn-list{position:absolute;left:0;top:100%;z-index:40;margin:2px 0 0;padding:2px 0;list-style:none;background:#fff;border:1px solid var(--line);border-radius:4px;width:min(340px,100%);max-height:260px;overflow-y:auto}
.mn-list[hidden]{display:none}
.mn-list li{display:flex;flex-direction:column;gap:1px;padding:7px 10px;cursor:pointer;border-left:3px solid transparent;color:var(--ink);line-height:1.25}
.mn-list li b{font-weight:600;color:var(--brand);font-size:.93rem}
.mn-list li span{font-size:.78rem;color:var(--muted)}
.mn-list li.on,.mn-list li:hover{background:#f6f4ee;border-left-color:var(--gold)}
.mn-to{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin-top:6px;font-size:.84rem}
.mn-to[hidden]{display:none}
.mn-lbl{color:var(--muted);margin-right:2px}
.mn-chip{display:inline-block;padding:1px 7px;border:1px solid #c9c4e0;border-radius:3px;background:#f3f2f8;color:var(--brand);font-size:.8rem;font-weight:600;line-height:1.5}
.mn-chips{display:inline-flex;flex-wrap:wrap;gap:4px;vertical-align:middle}
.mn-line{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.mn-at{color:var(--brand);font-weight:600}

/* all replies, small, above the reply box (moshe 2:20 PM Oct 20; task 303c0c56) */
.rpwrap{margin:4px 0 10px}
.rplist{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:4px;background:#fff}
.rplist li{padding:6px 10px;border-top:1px solid var(--line);font-size:.84rem;line-height:1.4}
.rplist li:first-child{border-top:0}
.rplist li.internal{background:#faf8f2}
.rp-head{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;font-size:.78rem;color:var(--muted)}
.rp-head b{color:var(--brand);font-weight:600;font-size:.82rem}
.rp-to{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px}
.rp-int{border:1px solid var(--line);border-radius:3px;padding:0 5px;font-size:.72rem;color:var(--muted)}
.rplist .txt{white-space:pre-wrap;word-break:break-word;color:var(--ink);margin-top:1px}
.rplist .mn-chip{font-size:.74rem;padding:0 6px}

/* files in a reply: drag & drop, paste, chips (moshe 2:35 PM Oct 20; task 2d669690). Flat: thin gold dashed rule, cream tint */
.dropzone{position:relative}
.dropmsg{display:none;position:absolute;inset:0;z-index:30;align-items:center;justify-content:center;border:1px dashed var(--gold);border-radius:4px;background:rgba(251,249,244,.94);color:var(--brand);font-weight:600;font-size:.95rem;pointer-events:none}
.dropmsg span{display:inline-flex;align-items:center;gap:6px}
.dropzone.dropping .dropmsg{display:flex}
.filechips[hidden]{display:none}
.filechips li{padding:4px 6px 4px 8px}
.fc-name{display:flex;align-items:center;gap:8px;min-width:0;flex:1}
.fc-txt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.fc-size{flex:none}
.fc-thumb{width:30px;height:30px;object-fit:cover;border:1px solid var(--line);border-radius:3px;flex:none;background:#f4f2ec}
.replybox .filechips{margin-top:8px}
.replyrow{margin-top:6px}
.replyrow .btn.small{margin:0}
.txtwrap .txt{margin-top:2px}
.rp-files{margin-top:5px}
.ph-grid.rp-ph{grid-template-columns:repeat(auto-fill,72px);gap:6px;margin:4px 0 2px}
.rp-ph .ph-tile{aspect-ratio:1/1}
.rp-flist{margin:2px 0 0;display:flex;flex-wrap:wrap;gap:4px 12px;font-size:.84rem}
.rp-flist a,.rp-flist span{display:inline-flex;align-items:center;gap:4px;color:var(--brand);overflow-wrap:anywhere}
.rp-flist .ic{width:14px;height:14px}
@media (max-width:520px){ .ph-grid.rp-ph{grid-template-columns:repeat(auto-fill,64px)} }

/* reminders (rm1) */
.remnote{width:100%;margin:6px 0}
.remlist{list-style:none;padding:0;margin:8px 0 0}
.remlist li{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:3px 0;border-top:1px solid #e5e2d8}

/* ---------- formatting bar in the typing boxes (moshe 8:17 PM Oct 20; Gmail layout; task 919ef3dd) ---------- */
.rte{position:relative;border:1px solid #cfc6ae;border-radius:4px;background:#fff}
.rte.focus{border-color:#1c1a4a;box-shadow:0 0 0 1px #1c1a4a}
.rte-src{display:none!important}
.rte-ed{min-height:110px;max-height:420px;overflow-y:auto;padding:10px 12px;font:inherit;line-height:1.45;color:var(--ink);outline:none;overflow-wrap:anywhere;word-break:break-word;cursor:text}
.dk-talk .replybox .rte-ed{min-height:130px}
.addbox .rte-ed{min-height:90px}
.rte-ed.is-empty::before{content:attr(data-ph);color:#8a8799;pointer-events:none;position:absolute}
.rte-ed:focus-visible{outline:none}
.rte-ed ul,.rte-ed ol,.fmt ul,.fmt ol{margin:4px 0;padding-left:26px}
.rte-ed blockquote{margin:0 0 0 40px;border:0;padding:0}
.rte-ed p,.fmt p{margin:0 0 6px}
.rte-ed font[size="1"],.rte-ed font[size="2"]{font-size:12px}
.rte-ed font[size="3"]{font-size:1em}
.rte-ed font[size="4"],.rte-ed font[size="5"]{font-size:20px}
.rte-ed font[size="6"],.rte-ed font[size="7"]{font-size:28px;line-height:1.25}
.rte-bar{display:flex;flex-wrap:wrap;align-items:center;gap:1px;padding:3px 4px;border-top:1px solid #e6e1d3;background:#f7f6f2}
.rte.bar-off .rte-bar{display:none}
.rb{display:inline-flex;align-items:center;justify-content:center;gap:1px;min-width:28px;height:30px;margin:0;padding:0 4px;border:1px solid transparent;border-radius:3px;background:transparent;color:#3c3a4e;font:inherit;font-size:.9rem;cursor:pointer;box-shadow:none;width:auto}
.rb:hover{background:#ebe8df}
.rb.on{background:#e4e1f0;color:#1c1a4a;border-color:#d3cfe6}
.rb:focus-visible{outline:2px solid var(--focus);outline-offset:0}
.ri{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ri-bar{fill:#c0392b;stroke:none}
.ri-down{width:12px;height:12px;stroke-width:1.8;margin-left:1px}
.rg{font-family:Georgia,"Times New Roman",serif;font-size:16px;line-height:1;color:inherit}
.rg-bold{font-weight:700;font-family:inherit}
.rg-italic{font-style:italic}
.rg-underline{text-decoration:underline;text-underline-offset:2px}
.rg-font{font-family:inherit;font-size:.84rem;padding:0 1px;white-space:nowrap}
.rg-aa{font-family:inherit;font-size:.95rem;font-weight:600;letter-spacing:-.2px}
.rsep{width:1px;height:18px;background:#d9d4c6;margin:0 2px;flex:none}
.rmenu{position:absolute;z-index:45;min-width:130px;padding:3px 0;background:#fff;border:1px solid #d9d4c6;border-radius:4px;box-shadow:0 2px 6px rgba(28,26,74,.12)}
.rmenu[hidden]{display:none}
.rmi{display:block;width:100%;margin:0;padding:6px 12px;border:0;background:transparent;text-align:left;font:inherit;font-size:.92rem;color:var(--ink);cursor:pointer;box-shadow:none;border-radius:0}
.rmi:hover{background:#f3f1ea}
.rmenu-col,.rmenu-row{display:flex;min-width:0;padding:4px;gap:2px}
.rmenu-col[hidden],.rmenu-row[hidden]{display:none}
.rmi-col,.rmi-al{width:30px;height:30px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:3px}
.rsw{display:block;width:18px;height:18px;border-radius:2px;border:1px solid rgba(0,0,0,.15)}
.rte-row{display:flex;align-items:center;gap:4px;margin-top:8px;flex-wrap:wrap}
.rte-row .rb{min-width:36px;height:36px}
.rte-row .rb .ri{width:20px;height:20px}
.rte-gap{flex:1 1 auto}
.btn.rte-send,.rte-row .btn.rte-send{margin:0 6px 0 0;width:auto;padding:8px 22px;border-radius:18px;background:#1c1a4a;border-color:#1c1a4a;color:#fff;font-weight:600}
.btn.rte-send:hover{background:#2a2560}
.btn.rte-send:disabled{opacity:.6;cursor:default}
.rb-clip{margin:0;font-weight:400}
.rte>.mn-list{top:auto}
.fmt{white-space:normal!important}
.fmt div:empty{min-height:1em}
.desc.fmt{white-space:normal}
@media (max-width:480px){
  .rte-bar{padding:3px 2px}
  .rb{min-width:32px;height:32px;padding:0 4px}
  .rsep{margin:0 1px}
  .rte-row .btn.rte-send{width:auto;flex:none}
}
.fmt ul,.timeline .fmt ul,.rplist .fmt ul{list-style:disc;margin:4px 0;padding-left:24px;display:block}
.fmt ol,.timeline .fmt ol,.rplist .fmt ol{list-style:decimal;margin:4px 0;padding-left:24px;display:block}
.fmt ul ul{list-style:circle}
.timeline .fmt li,.rplist .fmt li,.fmt li{display:list-item;background:none;border:0;border-radius:0;padding:0;margin:0 0 2px;font-size:inherit;line-height:inherit;box-shadow:none}
/* ticket list search: just "Search" with a thin magnifier (moshe 8:25 PM Oct 20) */
input[type=search].q{padding-left:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f5d72' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 20 20'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:11px center;background-size:17px 17px}
.filters input[type=search].q,body.split .filters input[type=search].q,body.split #listTools .filters input[type=search].q{padding-left:34px}

/* ---- voice typing mic in the Send row (task 614e450d) ---- */
.rte-mic{display:inline-flex;align-items:center;gap:6px;min-width:0}
.rb-mic.rec{background:#c0392b;border-color:#c0392b;color:#fff}
.rb-mic.rec:hover{background:#a93226}
.rb-mic.off{opacity:.45;cursor:help}
.rte-mic-st{font-size:.85rem;color:var(--muted);line-height:1.2}
.rte-mic-st[hidden]{display:none}
.rte-mic-st.live{color:#c0392b;font-weight:600}
.rte-mic-st.live::before{content:"";display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:#c0392b;vertical-align:1px;animation:micblink 1.2s steps(2,start) infinite}
.rte-mic-st.err{color:#c0392b}
@keyframes micblink{to{visibility:hidden}}
.rte-live{color:#8a8797}
@media (max-width:600px){.rte-mic-st.live{font-size:.8rem}}

/* ---- guided tour (task 614e450d): flat card, thin border, small corners ---- */
.tour-block{position:fixed;inset:0;z-index:10010;background:transparent}
.tour-block.dim{background:rgba(20,18,50,.55)}
.tour-dim{position:fixed;background:rgba(20,18,50,.55)}
.tour-block.dim .tour-dim{display:none}
.tour-hole{position:fixed;z-index:10011;pointer-events:none;border:2px solid #c9a24a;border-radius:4px}
.tour-card{position:fixed;z-index:10012;background:#fff;color:#1d1b33;border:1px solid #c9c3b3;border-top:3px solid #c9a24a;border-radius:4px;padding:14px 16px 12px;max-width:calc(100vw - 24px);box-shadow:0 2px 8px rgba(20,18,50,.18);font-size:.95rem;line-height:1.45}
.tour-card:focus{outline:none}
.tour-count{font-size:.74rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#7a7462;margin:0 26px 4px 0}
.tour-title{margin:0 26px 6px 0;font-family:Georgia,"Times New Roman",serif;font-size:1.15rem;color:#1c1a4a}
.tour-text{margin:0 0 12px;color:#2d2b40}
.tour-text b{color:#1c1a4a}
.tour-nav{display:flex;align-items:center;gap:8px}
.tour-gap{flex:1}
.tour-nav .btn{box-shadow:none;padding:7px 14px}
.tour-nav .btn[hidden]{display:none}
.tour-skip{background:none;border:0;padding:6px 0;font:inherit;font-size:.88rem;color:#5f5d72;text-decoration:underline;cursor:pointer}
.tour-skip[hidden]{display:none}
.tour-x{position:absolute;top:8px;right:8px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:none;border:1px solid transparent;border-radius:3px;color:#5f5d72;cursor:pointer;padding:0}
.tour-x:hover{background:#f4f1e8;border-color:#e2ddcf}
.tour-x svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.tour-arrow{position:absolute;width:14px;height:14px;background:#fff;border:1px solid #c9c3b3;transform:rotate(45deg)}
.tour-arrow.below{top:-9px;border-right:0;border-bottom:0;border-color:#c9a24a}
.tour-arrow.above{bottom:-8px;border-left:0;border-top:0}
.tour-arrow.right{left:-8px;border-top:0;border-right:0}
.tour-arrow.left{right:-8px;border-bottom:0;border-left:0}
.tour-offer{position:fixed;left:16px;bottom:16px;z-index:70;width:320px;max-width:calc(100vw - 32px);background:#fff;border:1px solid #c9c3b3;border-top:3px solid #c9a24a;border-radius:4px;padding:12px 14px;box-shadow:0 2px 8px rgba(20,18,50,.15)}
.tour-offer-t{margin:0 0 10px;color:#1d1b33}
.tour-offer-b{display:flex;gap:8px}
.tour-offer-b .btn{box-shadow:none}
.optmenu a.opt-tour{border-top:1px solid #e2ddcf;font-weight:500;color:#5f5d72}
.hp-chip.hp-tour{background:#1c1a4a;color:#fff;border-color:#1c1a4a}
@media (max-width:600px){.tour-offer{left:8px;right:8px;bottom:72px;width:auto;max-width:none}}
@media print{.tour-block,.tour-hole,.tour-card,.tour-offer{display:none!important}}

/* Select sits at the top of the ticket list (moshe 9:16 PM Oct 20) */
#view > .printbar{margin:0 0 6px}
#view > .printbar:not(.on){justify-content:flex-start}
body.split #view > .printbar{margin:0 0 6px}

/* Wider ticket column + compact cards so more tickets fit (moshe 9:18 PM Oct 20) */
@media (min-width:900px){ body.split{grid-template-columns:420px minmax(0,1fr)} }
body.split .list{gap:4px}
body.split .tk{padding:6px 10px}
body.split .tk .ttl{-webkit-line-clamp:1;font-size:.92rem}
body.split .tk .meta{margin-top:3px}
body.split .tk .who{margin-top:2px;font-size:.78rem}

/* tighter still (moshe 9:20 PM Oct 20): pills and sender/date share one line */
body.split .list{gap:3px}
body.split .tk{padding:4px 9px}
body.split .tk .t1{line-height:1.25}
body.split .tk .meta{display:inline-flex;margin-top:2px;vertical-align:middle}
body.split .tk .who{display:inline;margin:0 0 0 6px;font-size:.76rem;vertical-align:middle}

/* each ticket = 2 lines: title, then pills + sender/date (cut with … if too long) */
body.split .tk{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:6px;align-items:center}
body.split .tk .t1{grid-column:1/-1}
body.split .tk .meta{margin-top:2px}
body.split .tk .who{display:block;margin:2px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Gmail-style select (moshe 9:21 PM Oct 20): just a small checkbox on top, no box around it */
#view > .printbar{border:0;background:transparent;padding:0 0 0 0;margin:0 0 3px;min-height:26px;gap:8px}
#view > .printbar .selall{margin:0}
#view > .printbar .printbtn,#view > .printbar .delsel{padding:3px 10px;font-size:.82rem}
#view > .printbar .pclear{font-size:.82rem}
/* unread tickets in bold, read ones normal (moshe 9:20 PM Oct 20) */
body .tk .ttl{font-weight:500}
body .tk.unread .ttl{font-weight:800;color:var(--navy,#1c1a4a)}
body .tk.unread .who{font-weight:700;color:var(--ink,#1d1b33)}

/* Gmail-style top bar: checkbox + small menu + refresh */
#view > .printbar .seldrop{position:relative;display:inline-flex;margin-left:-6px}
#view > .printbar .selcaret,#view > .printbar .refbtn{background:transparent;border:0;padding:4px 6px;color:#555;cursor:pointer;border-radius:4px;line-height:0;box-shadow:none}
#view > .printbar .selcaret:hover,#view > .printbar .refbtn:hover{background:#eeecf3;color:var(--navy,#1c1a4a)}
#view > .printbar .refbtn.spin svg{animation:krspin .8s linear infinite}
@keyframes krspin{to{transform:rotate(360deg)}}
.selmenu{position:absolute;top:100%;left:0;z-index:30;background:#fff;border:1px solid var(--line,#d9d6e8);border-radius:4px;padding:4px 0;min-width:110px;box-shadow:0 2px 6px rgba(0,0,0,.12)}
.selmenu button{display:block;width:100%;text-align:left;background:none;border:0;padding:6px 14px;font:inherit;font-size:.88rem;color:var(--ink,#1d1b33);cursor:pointer;box-shadow:none;border-radius:0}
.selmenu button:hover{background:#f2f0f8}

#view > .printbar{flex-wrap:nowrap}

/* advanced search (moshe 9:25 PM Oct 20) */
#listTools .filters{position:relative}
.advbtn{background:transparent;border:1px solid var(--line,#d9d6e8);border-radius:4px;padding:5px 7px;line-height:0;color:#555;cursor:pointer;box-shadow:none;flex:0 0 auto}
.advbtn:hover,.advbtn.on{color:var(--navy,#1c1a4a);border-color:var(--navy,#1c1a4a)}
.advbtn.on{background:#f2f0f8}
.advpanel{position:relative;z-index:25;background:#fff;border:1px solid var(--line,#d9d6e8);border-radius:5px;padding:14px 18px 12px;margin:0 0 10px;box-shadow:0 2px 8px rgba(0,0,0,.12);max-width:640px}
.advrow{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center;gap:10px;margin:0 0 8px;font-weight:400;font-size:.9rem;color:#444}
.advrow input[type=text],.advrow select{border:0;border-bottom:1px solid #c9c6d6;border-radius:0;padding:5px 2px;background:transparent;width:100%;font:inherit;box-shadow:none}
.advrow input[type=text]:focus,.advrow select:focus{outline:none;border-bottom:2px solid var(--navy,#1c1a4a)}
.advdate{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.advdate input{border:0;border-bottom:1px solid #c9c6d6;padding:4px 2px;font:inherit;background:transparent}
.advatt{display:flex;align-items:center;gap:8px;font-size:.9rem;margin:4px 0 8px;font-weight:400}
.advbtns{display:flex;justify-content:flex-end;align-items:center;gap:14px}
.advbtns .btn{padding:6px 20px}
.advchip{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:.84rem;color:#555;padding:3px 4px 5px;border-bottom:1px solid #eee;margin-bottom:4px}
body.split .advpanel{max-width:none}
body.split .advrow{grid-template-columns:95px minmax(0,1fr)}

#listTools{position:relative}
#listTools > .advpanel{position:absolute;right:0;top:auto;margin-top:-4px;width:560px;max-width:calc(100vw - 32px)}
body.split #listTools > .advpanel{max-width:560px}

#listTools .filters > .advpanel{position:absolute;right:0;top:calc(100% + 4px);margin:0;width:560px;max-width:calc(100vw - 32px);grid-column:auto}

/* ticket names easier to read (moshe 9:30 PM Oct 20): bigger, darker title; labels and sender quieter */
body.split .tk .ttl{font-size:1.02rem;line-height:1.35;color:#14123a;letter-spacing:.005em}
body .tk .ttl{color:#14123a}
body.split .tk .id{font-size:.76rem;color:#8a87a3}
body.split .tk .meta .pill{font-size:.68rem;padding:0 6px;opacity:.85}
body.split .tk .who{color:#6b6880}
body.split .tk{padding:5px 10px}

body.split .tk .ttl{-webkit-line-clamp:2}
body.split .tk .meta .pill.unr{display:none}

/* ---------- Gallery tab (gl1, task c1183ab9): flat navy/gold, thin borders, small corners ---------- */
.glfilters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 4px}
.glbar{display:inline-flex;border:1px solid #cfc6ae;border-radius:4px;overflow:hidden;background:#fff}
.glk{font:inherit;font-size:.9rem;border:0;border-right:1px solid #cfc6ae;background:#fff;color:var(--brand);padding:7px 12px;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.glk:last-child{border-right:0}
.glk:hover{background:#f3f1ea}
.glk.on{background:var(--brand);color:#fff}
.gln{font-size:.78rem;color:var(--muted)}
.glk.on .gln{color:#e8dcb8}
.glfilters select.glgrp{width:auto;max-width:220px;padding:7px 10px;font-size:.9rem;margin:0}
.glfilters input.glq{width:260px;max-width:100%;padding:7px 10px;font-size:.9rem;margin:0}
.glfilters .glre{margin-left:auto}
.glinfo{margin:0 0 6px}
.glday{font-size:.82rem;font-weight:700;color:var(--brand);text-transform:uppercase;letter-spacing:.04em;margin:16px 0 8px;padding-bottom:4px;border-bottom:1px solid var(--line)}
.glwrap .glday:first-child{margin-top:4px}
.glgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.gltile{display:block;min-width:0;text-decoration:none;color:var(--ink)}
.glthumb{position:relative;display:block;aspect-ratio:1/1;background:#ece9e0;border:1px solid var(--line);border-radius:3px;overflow:hidden}
.glthumb img,.glthumb video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;background:#ece9e0;pointer-events:none}
.gltile:hover .glthumb,.gltile:focus-visible .glthumb{border-color:var(--gold)}
.glplay{position:absolute;left:6px;bottom:6px;line-height:0}
.glalt{display:none}
.glbad .glthumb img,.glbad .glthumb video{display:none}
.glbad .glalt{display:flex;position:absolute;inset:0;align-items:center;justify-content:center;text-align:center;padding:8px;font-size:.78rem;color:var(--muted);word-break:break-word}
.glcap{display:block;font-size:.78rem;line-height:1.3;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}
.glcap b{color:var(--brand);font-weight:700}
.gltile:hover .glcap{color:var(--ink)}
.lb-vid{max-width:100%;max-height:100%;background:#000;border-radius:2px}
.lb-vid[hidden],.lb-img[hidden],.lb-tk[hidden],.lb-cap[hidden]{display:none}
.lb-cap{max-width:40vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lb-tk{color:#fff;text-decoration:none;border:1px solid rgba(201,162,74,.85);border-radius:3px;padding:3px 10px;font-weight:600}
.lb-tk:hover{background:rgba(201,162,74,.25)}
@media (min-width:1300px){.glgrid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}}
@media (max-width:600px){
  .glgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .glfilters input.glq{order:3;flex:1 1 0;width:auto;min-width:0}
  .glfilters .glre{order:4}
  .glfilters select.glgrp{flex:1;max-width:none}
  .glfilters .glre{margin-left:0;padding:7px 10px}
  .glk{padding:7px 10px}
  .glcap{font-size:.72rem}
  .lb-bar{flex-wrap:wrap;gap:8px 12px;bottom:58px;padding:0 10px}
  .lb-cap{max-width:100%;flex-basis:100%;text-align:center}
}
@media (max-width:360px){.glgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* clickable counters (moshe 12:22 PM Oct 22) */
button.stat{font:inherit;color:inherit;cursor:pointer;text-align:left}
button.stat:hover{border-color:var(--ink)}
button.stat.on{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink);background:#f3f5f8}

/* ---------- Outside workers (task 54da1b0e): flat navy/gold, thin borders ---------- */
.row-btns{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px}
.row-btns input[type=text]{flex:1 1 220px;width:auto}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
@media (max-width:560px){.grid2{grid-template-columns:1fr}}
.chk{display:flex;align-items:center;gap:8px;font-weight:600}
.chk input{width:auto}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.linkbtn.delx{margin-left:auto}
.pill.r-worker{background:#fff;color:var(--brand);border:1px solid var(--gold)}
.wkcardlist{margin:16px 0}
.wkh3{display:flex;align-items:center;gap:6px;margin:0 0 4px;color:var(--brand);font-family:Georgia,"Times New Roman",serif;font-size:1.15rem}
.wkform{margin:14px 0;border-color:var(--gold)}
.wkform h3{margin:0 0 4px;color:var(--brand)}
.wklinkout{margin-top:10px}
.wkwrap{margin:0 0 14px}
.wkcard{border:1px solid var(--line);border-left:3px solid var(--gold);border-radius:5px;padding:10px 12px;background:#fff}
.wkhd{display:flex;align-items:center;gap:6px;font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--brand)}
.wkint{margin-left:auto;font-weight:600;letter-spacing:0;text-transform:none;color:var(--muted);font-size:.78rem;border:1px solid var(--line);border-radius:3px;padding:0 6px}
.wkname{margin-top:4px;overflow-wrap:anywhere}
.wkdash{color:var(--muted)}
.wkst{display:inline-block;font-size:.8rem;font-weight:700;padding:1px 8px;border-radius:3px;border:1px solid #cfd2e6;color:var(--brand);background:#f4f3fa;white-space:nowrap}
.wkst.wk-on_way{border-color:#e0bd6a;background:#fbf6e8;color:#7a5d1c}
.wkst.wk-started{border-color:#9bb8d6;background:#eef4fa;color:#1f4f7a}
.wkst.wk-done{border-color:#9cc8a6;background:#eef7f0;color:#2e6b3a}
.wkfacts{display:flex;gap:16px;margin-top:6px;font-size:.92rem}
.wkphone{display:inline-flex;align-items:center;gap:2px;margin-top:6px;text-decoration:none;color:var(--brand)}
.wknote{margin-top:6px;padding:6px 8px;background:#faf8f1;border:1px solid var(--line);border-radius:4px;white-space:pre-wrap}
.wkopen{display:flex;align-items:center;justify-content:center;gap:4px}
.wkcard + .wkopen{margin-top:8px}
.wkoff{display:block;margin-top:10px;padding:0}
li.wkn{background:#faf8f1;border-left:4px solid var(--gold)}
/* worker pages (phone first) */
.wkpage{padding-bottom:40px}
.wkpage .card{margin-bottom:12px}
.wkauth h2{margin-top:6px}
.wkbadge{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--brand);border:1px solid var(--gold);border-radius:3px;padding:2px 8px}
.wkcode{font-size:1.6rem!important;letter-spacing:.35em;text-align:center}
.wkhello h2{margin:4px 0 0}
.wkhello p{margin:2px 0 8px}
.wksec{font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:18px 0 8px;font-weight:700}
.wkempty{margin:0 0 6px}
.wkitem{display:block;background:#fff;border:1px solid var(--line);border-left:3px solid var(--brand);border-radius:6px;padding:12px 14px;margin-bottom:10px;text-decoration:none;color:var(--ink)}
.wkitem:active{background:#f6f5fb}
.wkitem.isdone{border-left-color:#9cc8a6;opacity:.85}
.wkitem-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.wknum{font-weight:700;color:var(--brand);font-size:.9rem}
.wkitem-title{font-weight:700;font-size:1.05rem;margin:4px 0 2px;overflow-wrap:anywhere}
.wkitem-loc{font-size:.92rem}
.wkback{display:inline-flex;align-items:center;gap:2px;margin:2px 0 10px;text-decoration:none;font-weight:600}
.wktitle{margin:6px 0 6px;font-size:1.35rem;overflow-wrap:anywhere}
.wkloc{display:flex;align-items:flex-start;gap:4px;color:var(--ink);margin:4px 0}
.wkloc .ic{margin-top:3px}
.wkadmin{margin:10px 0;padding:10px 12px;background:#faf8f1;border:1px solid var(--line);border-left:3px solid var(--gold);border-radius:4px;white-space:pre-wrap}
.wkadmin b{display:block;font-size:.86rem;color:var(--brand);margin-bottom:2px}
.wkdesc{margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.wkh{font-size:1rem;margin:0 0 10px;color:var(--brand)}
.wkgal{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.wkthumb{display:block;aspect-ratio:1/1;border:1px solid var(--line);border-radius:4px;overflow:hidden;background:#f3f2ec}
.wkthumb img{width:100%;height:100%;object-fit:cover;display:block}
.wkfile{display:block;margin-top:8px;overflow-wrap:anywhere}
.wkbtns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.wkbtn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:68px;background:#fff;border:1.5px solid var(--brand);border-radius:6px;color:var(--brand);font:inherit;font-weight:700;cursor:pointer;padding:8px 4px}
.wkbtn .ic{width:1.35em;height:1.35em}
.wkbtn[aria-pressed=true]{background:var(--brand);color:#fff;border-color:var(--brand);box-shadow:inset 0 -3px 0 var(--gold)}
.wkbtn:disabled{opacity:.6}
.wkup{display:inline-flex!important;align-items:center;gap:4px;margin:0;font-weight:700}
.wk2{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.wk2 label{margin-top:0}
.wkjob .btn{margin-top:10px}
.wkev{list-style:none;margin:0;padding:0}
.wkev li{padding:8px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.wkev li:last-child{border-bottom:0}
.wktoast{position:fixed;left:50%;bottom:20px;transform:translateX(-50%) translateY(20px);background:var(--brand);color:#fff;padding:10px 16px;border-radius:5px;opacity:0;transition:.2s;pointer-events:none;max-width:90vw;z-index:50;border-bottom:2px solid var(--gold)}
.wktoast.on{opacity:1;transform:translateX(-50%) translateY(0)}
.topbar nav a.hidden{display:none}

/* ---------- Web push (task 4cac25e3): "Turn on notifications" control, one-time banner, panel ---------- */
.kp-btn{font:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:5px;color:var(--brand)}
.kp-btn .ic{width:1.05em;height:1.05em}
.kp-link{background:none;border:0;padding:0;font-size:inherit;text-decoration:underline;text-underline-offset:2px}
.kp-link.is-on{text-decoration:none;color:#1c1a4a}
.kp-link.is-on .ic{color:var(--gold)}
.kp-row{width:100%;justify-content:flex-start;background:#fff;border:1px solid var(--line);border-radius:4px;padding:11px 12px;font-weight:600;margin:4px 0 6px;min-height:44px}
.kp-row.is-on{border-color:#d9cfae;background:var(--cream)}
.kp-row.is-on .ic{color:var(--gold)}
.kp-banner{flex:1 1 100%;display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#fff;border:1px solid #d9cfae;border-left:3px solid var(--gold);border-radius:4px;padding:9px 12px;margin:4px 0 2px;font-size:.9rem;white-space:normal}
.kp-banner.hidden{display:none}
.kp-banner > .ic{width:1.35em;height:1.35em;color:var(--gold);flex:none}
.kp-btext{flex:1 1 220px;min-width:0;display:flex;flex-direction:column;gap:1px;line-height:1.35}
.kp-btext b{color:#1c1a4a}
.kp-btext span{color:var(--muted)}
.kp-btext .ic{width:1em;height:1em;vertical-align:-.15em}
.kp-bact{display:flex;gap:6px;flex:none}
.kp-bact .btn.small{padding:6px 12px;font-size:.85rem}
.kp-back{position:fixed;inset:0;background:rgba(28,26,74,.35);display:flex;align-items:center;justify-content:center;z-index:60;padding:16px}
.kp-panel{background:#fff;border:1px solid var(--line);border-top:3px solid var(--gold);border-radius:4px;max-width:420px;width:100%;padding:16px 18px 14px;box-shadow:0 10px 30px rgba(28,26,74,.18)}
.kp-head{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.kp-head .ic{width:1.3em;height:1.3em;color:var(--gold)}
.kp-head h3{margin:0;font-size:1.1rem;color:#1c1a4a}
.kp-panel p{margin:6px 0;line-height:1.45}
.kp-steps{margin:8px 0 4px;padding-left:22px;line-height:1.5}
.kp-steps li{margin:4px 0}
.kp-steps .ic{width:1.05em;height:1.05em;color:#1c1a4a}
.kp-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin-top:14px}
.kp-actions .btn{padding:9px 14px}
.wkpush{margin:6px 0 4px}
.wkpush .kp-banner{margin:0 0 8px}
@media (max-width:520px){.userbar .ulinks{white-space:normal}.kp-actions{justify-content:stretch}.kp-actions .btn{flex:1 1 auto}}
.kp-txt{display:flex;flex-direction:column;align-items:flex-start;text-align:left;line-height:1.3;min-width:0}
.kp-sub{font-weight:400;font-size:.84rem;color:var(--muted)}
.kp-row .ic{width:1.3em;height:1.3em;margin-right:4px}

/* ---------- Worker login + password (task 181880bb) ---------- */
.wkpw{display:flex;align-items:stretch;gap:0}
.wkpw input{flex:1 1 auto;min-width:0;border-top-right-radius:0;border-bottom-right-radius:0}
.wkshow{flex:0 0 auto;font:inherit;font-size:.88rem;font-weight:600;color:var(--brand);background:#fff;border:1px solid var(--line);border-left:0;border-radius:0 5px 5px 0;padding:0 12px;cursor:pointer;margin-top:0}
.wkshow[aria-pressed=true]{background:#f4f3fa}
.wkacct{display:flex;align-items:center;gap:4px;margin-top:22px;padding-top:12px;border-top:1px solid var(--line)}
.wklogin{display:inline-flex;align-items:center;gap:4px}
.wklogin code{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.9em;background:#f4f3fa;border:1px solid var(--line);border-radius:3px;padding:0 5px;color:var(--brand)}
.wkpwrow{display:flex;gap:8px;align-items:stretch;flex-wrap:wrap}
.wkpwrow .wkpw{flex:1 1 200px}
.wkpwrow .btn{margin:0}
.wkcreds{margin-top:12px;padding:10px 12px;background:#faf8f1;border:1px solid var(--line);border-left:3px solid var(--gold);border-radius:4px}
.wkcreds pre{margin:6px 0 8px;white-space:pre-wrap;font:inherit;font-size:.95rem;color:var(--ink);overflow-wrap:anywhere}
.wkcreds .row-btns{margin-top:0}
.wkstate{font-size:.78rem;font-weight:700;padding:0 6px;border-radius:3px;border:1px solid var(--line);color:var(--muted);white-space:nowrap}
.wkstate.ok{border-color:#9cc8a6;color:#2e6b3a;background:#eef7f0}
.wkstate.no{border-color:#e0bd6a;color:#7a5d1c;background:#fbf6e8}

/* worker welcome email (task fc65ad4b) */
.wkpwopts{display:flex;flex-direction:column;gap:6px;margin:4px 0 10px}
.wkpwopts .chk,.cb-chk{font-weight:500;align-items:flex-start}
.wkpwopts .chk input,.cb-chk input{margin-top:3px}
.cb-chk{margin:4px 0 12px}
.wkmail{display:flex;align-items:flex-start;gap:8px;margin:0 0 10px;padding:8px 10px;border:1px solid var(--line);border-radius:4px;background:#fff}
.wkmail .ic{width:18px;height:18px;flex:none;margin-top:1px;stroke:var(--brand)}
.wkmail.ok{border-left:3px solid var(--ok)}
.wkmail.no{border-left:3px solid var(--bus)}
.wkmail .muted{font-weight:400;margin-top:2px}
.wknewpw{margin:0 0 10px;color:var(--ink)}

/* ---- language switch (task a87246b2) ---- */
.langbox{display:inline-flex;align-items:center;vertical-align:middle}
.langsel{font:inherit;font-size:.85rem;font-weight:600;color:var(--brand);background:#fff;border:1px solid #c9c4de;border-radius:5px;padding:4px 24px 4px 8px;height:30px;cursor:pointer;
  -webkit-appearance:none;appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--brand) 50%),linear-gradient(135deg,var(--brand) 50%,transparent 50%);
  background-position:calc(100% - 12px) 13px,calc(100% - 8px) 13px;background-size:4px 4px,4px 4px;background-repeat:no-repeat}
.langsel:hover{border-color:var(--brand)}
.ulinks .langbox{margin-right:10px}
.topbar nav .langbox{margin:0 8px}
.topbar nav{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.k-tog{display:block;width:max-content;margin:4px 0 6px;padding:0;border:0;background:none;color:#7a5d1c;font:inherit;font-size:.78rem;font-weight:600;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.k-tog:hover{color:var(--brand)}
.k-trtext{white-space:pre-line}
.rplist li .k-tog{margin-top:2px}
/* right-to-left for Yidish: the layout mirrors, numbers, emails and links stay readable */
html[dir=rtl] body{text-align:right}
html[dir=rtl] .ulinks .langbox{margin-right:0;margin-left:10px}
html[dir=rtl] .langsel{padding:4px 8px 4px 24px;background-position:13px 13px,17px 13px}
html[dir=rtl] input[type=email],html[dir=rtl] input[type=tel],html[dir=rtl] input[type=url],html[dir=rtl] .tk .id,html[dir=rtl] a[href^="mailto:"],html[dir=rtl] a[href^="tel:"]{direction:ltr;unicode-bidi:isolate}
html[dir=rtl] .backbtn{direction:rtl}
html[dir=rtl] .timeline{padding-right:0}
html.k-rtl body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"Noto Sans Hebrew",sans-serif}
html[dir=rtl] .rte-ed.is-empty::before{position:static;display:block;height:0;overflow:visible;white-space:normal}
html[dir=rtl] .rte-ed ul,html[dir=rtl] .rte-ed ol,html[dir=rtl] .fmt ul,html[dir=rtl] .fmt ol{padding-left:0;padding-right:26px}
html[dir=rtl] address,html[dir=rtl] .org-addr span{direction:ltr;unicode-bidi:isolate;text-align:right}

/* ===== Ticket view: options in the navy header bar + a calm ticket body (moshe, WhatsApp 11:42–11:59 AM Oct 25; task 411e3520) ===== */
.dtop{padding-bottom:2px}
.dt-num{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;margin:0 0 4px;font-size:.86rem;color:var(--muted)}
.dt-by{font-weight:700;color:#4a4766}
.dt-when::before{content:"·";margin-inline-end:8px;color:#b9b3a0}
.dt-title{line-height:1.25}
.dtop .meta{margin-bottom:0}
.dtop .banner{margin-top:12px}
/* the options strip, second line of the navy header */
.drawer header .tbar{flex:1 0 100%;order:9;display:flex;gap:2px;margin:2px -6px -4px;padding:6px 0 0;border-top:1px solid rgba(224,189,106,.28);overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.drawer header .tbar::-webkit-scrollbar{display:none}
.tbtn{position:relative;flex:1 0 auto;min-width:62px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:50px;padding:5px 6px 4px;border:1px solid transparent;border-radius:4px;background:transparent;color:#fff;font:inherit;font-size:.72rem;font-weight:600;line-height:1.1;text-align:center;white-space:nowrap;cursor:pointer}
.tbtn .ic{width:21px;height:21px;stroke-width:1.4;color:var(--gold-lt)}
.tbtn:hover{background:rgba(255,255,255,.07)}
.tbtn.on{background:rgba(224,189,106,.14);border-color:var(--gold);color:var(--gold-lt)}
.tbtn:focus-visible{outline:2px solid var(--gold-lt);outline-offset:-2px}
.tb-n{position:absolute;top:3px;inset-inline-end:calc(50% - 22px);min-width:15px;height:15px;padding:0 4px;border-radius:8px;background:var(--gold);color:#1c1a4a;font-size:.64rem;font-weight:800;line-height:15px;text-align:center}
.tb-n[hidden]{display:none}
.tpanel{position:relative;margin:4px 0 14px;padding:14px 14px 12px;background:#fff;border:1px solid var(--line);border-top:2px solid var(--gold);border-radius:5px}
.tpanel[hidden],.tpanel .tp-body[hidden]{display:none!important}
.tp-x{position:absolute;top:6px;inset-inline-end:6px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border:0;background:none;color:var(--muted);border-radius:5px;cursor:pointer;z-index:1}
.tp-x:hover{color:var(--navy,#1c1a4a);background:#f4f0e4}
.tp-x .ic{width:18px;height:18px}
.tpanel h4{margin:2px 44px 12px 0!important;padding:0!important;border:0!important;font-size:1rem;color:var(--navy,#1c1a4a)}
html[dir=rtl] .tpanel h4{margin:2px 0 12px 44px!important}
.tpanel .dtl h4 ~ h4,.tpanel .dk-hist h4{margin-top:18px!important}
.tpanel .xfer,.tpanel .actbox{margin:0;padding:0;border:0;background:none}
.tpanel .snzwrap,.tpanel .wkwrap{margin:0}
.tpanel .dk-info{display:block;margin:0;padding:0;border:0;background:none}
.tpanel .dk-info .sidehd{display:none}
.tpanel .dk-buy{margin:0}
.tpanel .dtl-grp{margin-top:14px}
.tpanel .dtl-grp label{display:block;margin-bottom:4px}
.tpanel .dtl-att{margin-top:12px}
.tpanel .dangerzone{margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}
.shgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.shit{display:flex;align-items:center;gap:10px;min-height:48px;padding:9px 12px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--navy,#1c1a4a);font:inherit;text-align:start;text-decoration:none;cursor:pointer}
.shit:hover{border-color:var(--gold);background:#fffdf7}
.shit .ic{width:22px;height:22px;stroke-width:1.5;color:#8a6d24}
.shit-l{display:flex;flex-direction:column;min-width:0}
.shit-l b{font-size:.95rem}
.shit-h{font-size:.76rem;color:var(--muted);font-weight:400}
@media (max-width:520px){ .shit-h{display:none} .shit{flex-direction:column;gap:4px;padding:10px 6px;text-align:center} .shit-l{align-items:center} }
@media (max-width:759px){
  .drawer header:has(.tbar){position:static}
  .drawer header .tbar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;overflow:visible;margin:2px -8px -6px}
  .tbtn{min-width:0;padding:6px 2px 5px;font-size:.7rem}
}
/* the body: status, then the ticket and its replies */
.dcols.one,body.split .dcols.one{display:flex;flex-direction:column;gap:0;max-width:880px}
.dcols.one .dk{order:0}
.dcols.one .dk-act{background:#fff;border:1px solid var(--line);border-radius:5px;padding:10px 14px 12px;margin:0 0 16px}
.dcols.one .dk-act .st-h{margin:0 0 8px!important;padding:0!important;border:0!important;font-size:.8rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.dcols.one > .dk{width:100%;box-sizing:border-box;min-width:0}
.dcols.one .dk-act .statusbar{margin:0;display:flex;flex-wrap:wrap;gap:6px}
.dcols.one .dk-act .statusbar button{flex:1 1 auto;white-space:nowrap;min-width:0}
.dcols.one .dk-decide{margin-bottom:14px}
.dcols.one .dk-conv{margin-bottom:18px}
.dcols.one .dk-conv .desc{margin-top:0}
.dcols.one .dk-conv > h4{margin:16px 0 8px}
.dcols.one .dk-talk > h4,.dcols.one .rpwrap h4{margin:4px 0 10px}
@media (min-width:760px){
  .drawer header .tbar{margin:4px 0 -6px;gap:4px}
  .tbtn{flex:0 0 auto;min-width:74px;font-size:.78rem;padding:6px 10px 5px}
  .tpanel{padding:16px 18px 14px;max-width:880px}
  .shgrid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:620px}
  .tpanel .xfer,.tpanel .wkwrap,.tpanel .remwrap{max-width:560px}
}
/* Settings: links to the admin pages (task 411e3520) */
.setlinks{margin:0 0 14px}
.setlinks h3{margin:0 0 4px}
.setlinks-g{display:grid;grid-template-columns:1fr;gap:8px;margin-top:10px}
.setlink{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px;border:1px solid var(--line);border-left:3px solid var(--gold);border-radius:5px;background:#fff;color:var(--navy,#1c1a4a);font:inherit;text-align:start;cursor:pointer}
html[dir=rtl] .setlink{border-left:1px solid var(--line);border-right:3px solid var(--gold)}
.setlink:hover{background:#fffdf7;border-color:var(--gold)}
.setlink b{font-size:.98rem}
@media (min-width:700px){ .setlinks-g{grid-template-columns:repeat(3,minmax(0,1fr))} }

/* ===== task aa372811 (moshe 12:03–12:10 PM Oct 25): one navy line (number + every option + Close), Group option,
   a cleaner reply composer, the Trash page ===== */
.drawer header .backbtn,.drawer header .esc-hint{display:none!important}
.drawer header.hasbar{flex-wrap:nowrap!important;align-items:center;gap:6px;row-gap:0;padding-top:6px;padding-bottom:6px}
.drawer header.hasbar h3{flex:0 0 auto;margin:0;font-size:1.02rem;white-space:nowrap;padding-inline-end:6px}
.drawer header.hasbar .tbar{order:0!important;flex:1 1 auto!important;min-width:0;display:flex!important;flex-wrap:nowrap;gap:2px!important;margin:0!important;padding:0!important;border:0!important;overflow-x:auto;overflow-y:hidden;grid-template-columns:none!important}
.drawer header.hasbar .tbar .tbtn{flex:0 0 auto;min-width:60px;padding:5px 7px 4px;font-size:.72rem}
.drawer header .btn.tbclose,.drawer header .tbclose{display:flex!important;order:2;flex:0 0 auto;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:auto;min-width:56px;min-height:50px;margin:0;padding:5px 8px 4px;border:1px solid transparent;border-radius:4px;background:transparent!important;color:#fff!important;font:inherit;font-size:.72rem;font-weight:600;line-height:1.1;box-shadow:none;cursor:pointer}
.drawer header.hasbar .tbclose{border-inline-start:1px solid rgba(224,189,106,.35);border-radius:0 4px 4px 0;padding-inline-start:10px}
html[dir=rtl] .drawer header.hasbar .tbclose{border-radius:4px 0 0 4px}
.drawer header .tbclose .ic{width:21px;height:21px;stroke-width:1.4;color:var(--gold-lt);fill:none;stroke:currentColor;stroke-linecap:round}
.drawer header .tbclose:hover{background:rgba(255,255,255,.07)!important}
.drawer header .tbclose:focus-visible{outline:2px solid var(--gold-lt);outline-offset:-2px}
.dt-no{font-weight:700;color:#8a6d24;font-variant-numeric:tabular-nums}
.dt-no + .dt-by::before{content:"·";margin-inline-end:8px;color:#b9b3a0;font-weight:400}
@media (max-width:759px){
  .drawer header:has(.tbar),.drawer header.hasbar{position:sticky!important;top:0;z-index:5}
  .drawer header.hasbar{padding-left:4px!important;padding-right:4px!important;gap:2px}
  .drawer header.hasbar h3{display:none}
  .drawer header.hasbar .tbar .tbtn{min-width:56px;padding:5px 4px 4px;font-size:.68rem}
  .drawer header .tbclose{min-width:52px;font-size:.68rem}
}
@media (min-width:760px){ .drawer header.hasbar .tbar .tbtn{min-width:62px} }
/* Group option */
.grpopts{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:6px}
.grpopt{display:flex;align-items:center;gap:8px;min-height:42px;padding:8px 12px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--navy);font:inherit;font-size:.93rem;text-align:start;cursor:pointer}
.grpopt .ic{width:18px;height:18px;flex:none;color:#8a6d24;stroke-width:1.5}
.grpopt:hover{border-color:var(--gold);background:#fffdf7}
.grpopt.on{border-color:var(--navy);background:#eef0fb;font-weight:600;cursor:default}
.grpopt.on .ic{color:var(--navy);stroke-width:2}
.grpopt:disabled{opacity:.6}
.tpanel .grp-hint{margin:-6px 0 10px}
/* reply composer: one box, people as small chips on top, tools and Send in the bottom row */
.replybox.cmp{margin-top:12px}
.dcols.one .replybox.cmp .cmp-h{margin:0 0 8px}
.cmp-box{border:1px solid #cfc6ae;border-radius:8px;background:#fff}
.cmp-box:focus-within{border-color:var(--navy)}
.cmp .rto.cmp-to{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;padding:8px 10px;border-bottom:1px solid #ece7d9}
.cmp .rto-lbl{font-size:.82rem;font-weight:600;color:var(--muted);margin:0 2px 0 0}
.rchip{display:inline-flex;align-items:center;gap:5px;max-width:100%;min-height:30px;margin:0;padding:3px 11px;border:1px solid #d6d0bf;border-radius:15px;background:#fff;color:#4a4766;font-size:.86rem;line-height:1.2;cursor:pointer;user-select:none}
.rchip .ic{display:none;width:14px;height:14px;flex:none;stroke-width:2.2}
.rchip.on{border-color:var(--navy);background:#eef0fb;color:var(--navy);padding-inline-start:8px}
.rchip.on .ic{display:inline-block}
.rchip:hover{border-color:#a9a3c9}
.rchip:focus-within{outline:2px solid var(--gold);outline-offset:1px}
.rc-n{font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rc-r{color:var(--muted);font-size:.76rem;white-space:nowrap}
.rchip.on .rc-r{color:#5b5891}
.cmp-box .rte{border:0;border-radius:0;background:transparent;box-shadow:none}
.cmp-box .rte.focus{box-shadow:none}
.cmp-box > textarea{display:block;width:100%;box-sizing:border-box;border:0;border-radius:0;min-height:110px;padding:10px 12px;resize:vertical}
.dk-talk .cmp-box .rte-ed{min-height:110px}
.cmp-box .filechips{margin:0;padding:0 10px 6px}
.cmp-box .rte-row{margin:0;padding:6px 8px;border-top:1px solid #ece7d9;background:#faf9f5;border-radius:0 0 8px 8px}
.cmp-box .rte-row .rte-gap{flex:1}
.cmp-box .rte-row .btn.rte-send{order:20;margin:0;padding:8px 22px}
html[dir=rtl] .cmp-box .rte-row .btn.rte-send{margin:0}
.cmp .rhint{margin:6px 2px 0}
.cmp .err:empty{display:none}
/* Trash page */
.trhead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.trhead .trempty{display:inline-flex;align-items:center;gap:6px;width:auto;flex:none;color:#8a2a2a;border-color:#d8b4b4}
.trhead .trempty .ic{width:16px;height:16px;stroke-width:1.6}
.trhead .trempty:disabled{opacity:.5}
.trlist{list-style:none;margin:8px 0 0;padding:0;border:1px solid var(--line);border-radius:5px;background:#fff}
.tritem{display:flex;align-items:center;gap:12px;padding:11px 14px;border-top:1px solid var(--line)}
.tritem:first-child{border-top:0}
.tr-main{flex:1;min-width:0}
.tr-top{display:flex;align-items:baseline;gap:8px;min-width:0}
.tr-no{flex:none;font-weight:700;color:#8a6d24;font-size:.9rem}
.tr-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--navy)}
.tr-meta{margin-top:2px}
.tr-del{margin-top:2px;color:#7a7766}
.tr-purge{color:#8a2a2a}
.tr-act{display:flex;align-items:center;gap:10px;flex:none}
.tr-act .trrest{display:inline-flex;align-items:center;gap:6px;width:auto}
.tr-act .trrest .ic{width:16px;height:16px;stroke-width:1.6}
.tr-act .trkill{color:#8a2a2a;font-size:.88rem}
.trnone{display:flex;flex-direction:column;align-items:center;gap:6px;padding:40px 10px;border:1px dashed #d9d2bd;border-radius:5px;color:var(--muted);background:#fff}
.trnone .ic{width:34px;height:34px;stroke-width:1.2;color:#b9b3a0}
.trnone p{margin:0}
.trnote{margin-top:10px}
@media (max-width:600px){
  .trhead{flex-direction:column}
  .tritem{flex-direction:column;align-items:stretch;gap:8px}
  .tr-act{justify-content:space-between}
  .tr-title{white-space:normal}
}
