:root{
  --bg:#EEF1EF; --surface:#FFFFFF; --surface-2:#F6F8F7; --ink:#16202B; --muted:#5B6870; --line:#D6DDDA;
  --side:#16202B; --side-ink:#E9EEEC; --side-muted:#8E9BA3;
  --felt:#1E5B48; --felt-soft:#DCEBE4; --brass:#A0721F; --win:#1C7A52; --loss:#B2372F; --loss-soft:#F6E1DE;
  --focus:#2F7DD1;
  color-scheme:light;
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px); padding-bottom:env(safe-area-inset-bottom,0px);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --bg:#0E1418; --surface:#162027; --surface-2:#1B262E; --ink:#E5ECE9; --muted:#93A29D; --line:#27343C;
    --side:#0A0F12; --side-ink:#E5ECE9; --side-muted:#7D8B92;
    --felt:#44A883; --felt-soft:#173329; --brass:#D6A84E; --win:#4CC08F; --loss:#E46A5F; --loss-soft:#3A1F1C;
    --focus:#6AAEF5; color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#0E1418; --surface:#162027; --surface-2:#1B262E; --ink:#E5ECE9; --muted:#93A29D; --line:#27343C;
  --side:#0A0F12; --side-ink:#E5ECE9; --side-muted:#7D8B92;
  --felt:#44A883; --felt-soft:#173329; --brass:#D6A84E; --win:#4CC08F; --loss:#E46A5F; --loss-soft:#3A1F1C;
  --focus:#6AAEF5; color-scheme:dark;
}
*,*::before,*::after{box-sizing:inherit}
html{scroll-padding-top:env(safe-area-inset-top,0px);height:100%}
body{margin:0;min-height:100%;background:var(--bg);color:var(--ink);font:15px/1.5 Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-variant-numeric:tabular-nums}
h1,h2,h3{font-family:"Bricolage Grotesque",Inter,system-ui,sans-serif;margin:0;line-height:1.15}
h1{font-size:1.9rem;font-weight:800;letter-spacing:-.02em}
h2{font-size:1.15rem;font-weight:700}
h3{font-size:1rem;font-weight:700}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.app{display:grid;grid-template-columns:220px 1fr;min-height:100vh}
nav.side{background:var(--side);color:var(--side-ink);padding:22px 14px;display:flex;flex-direction:column;gap:4px;position:sticky;top:0;height:100vh}
.brand{font-family:"Bricolage Grotesque",sans-serif;font-weight:800;font-size:1.25rem;padding:0 10px 18px;display:flex;align-items:center;gap:8px}
.brand .suit{color:var(--brass)}
.brand-name{display:flex;flex-direction:column;line-height:1.05}
.brand-name small{font-family:Inter,system-ui,sans-serif;font-size:.68rem;font-weight:500;color:var(--side-muted);letter-spacing:.04em;margin-top:3px}
.navbtn{background:none;border:0;text-align:left;padding:9px 12px;border-radius:8px;color:var(--side-muted);cursor:pointer;font-weight:500;display:flex;gap:10px;align-items:center;white-space:nowrap}
.navbtn:hover{color:var(--side-ink);background:rgba(255,255,255,.05)}
.navbtn[aria-current="page"]{color:var(--side-ink);background:rgba(255,255,255,.09)}
.navbtn .s{width:14px;text-align:center;opacity:.8}
.side .spacer{flex:1}
.syncnote{font-size:.75rem;color:var(--side-muted);padding:8px 12px}
main{padding:28px clamp(16px,3vw,40px) 60px;min-width:0;max-width:1240px}
main.wide{max-width:none}
.head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}
.head p{margin:4px 0 0;color:var(--muted)}
.grid{display:grid;gap:16px}
.g2{grid-template-columns:repeat(2,minmax(0,1fr))}
.g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:18px}
.panel > h2,.panel > h3{margin-bottom:12px}
.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.kpi .lbl{color:var(--muted);font-size:.85rem}
.kpi .val{font-family:"Bricolage Grotesque",sans-serif;font-size:1.55rem;font-weight:700;margin-top:2px}
.kpi .sub{color:var(--muted);font-size:.8rem}
.hero{display:grid;grid-template-columns:minmax(220px,300px) 1fr;gap:0;padding:0;overflow:hidden}
.hero .left{padding:22px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:14px}
.hero .big{font-family:"Bricolage Grotesque",sans-serif;font-size:clamp(2.2rem,4vw,3.1rem);font-weight:800;letter-spacing:-.03em;line-height:1}
.hero .right{padding:16px 18px 8px;min-width:0}
.pos{color:var(--win)} .neg{color:var(--loss)} .muted{color:var(--muted)}
.btn{border:1px solid var(--line);background:var(--surface);padding:8px 14px;border-radius:8px;cursor:pointer;font-weight:500}
.btn:hover{background:var(--surface-2)}
.btn.primary{background:var(--felt);border-color:var(--felt);color:#fff}
.btn.primary:hover{filter:brightness(1.08)}
.btn.danger{color:var(--loss)}
.btn.sm{padding:4px 10px;font-size:.85rem}
.btn.ghost{border-color:transparent;background:none}
.seg{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--surface)}
.seg button{border:0;background:none;padding:6px 12px;cursor:pointer;color:var(--muted);font-size:.85rem}
.seg button[aria-pressed="true"]{background:var(--felt-soft);color:var(--ink);font-weight:600}
label.f{display:flex;flex-direction:column;gap:4px;font-size:.85rem;color:var(--muted)}
label.f > span{font-weight:500}
input,select,textarea{background:var(--surface-2);border:1px solid var(--line);border-radius:8px;padding:8px 10px;width:100%;min-width:0}
textarea{resize:vertical;min-height:80px;line-height:1.5}
input[type=checkbox]{width:auto}
.form{display:grid;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}
.form .w2{grid-column:span 2} .form .w4{grid-column:1/-1}
.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.result-line{display:flex;align-items:baseline;gap:10px;font-size:1.05rem}
.result-line strong{font-family:"Bricolage Grotesque",sans-serif;font-size:1.5rem}
.tablewrap{overflow-x:auto}
table{width:100%;border-collapse:collapse;font-size:.9rem}
th{text-align:left;color:var(--muted);font-weight:500;font-size:.8rem;padding:8px 10px;border-bottom:1px solid var(--line);white-space:nowrap}
td{padding:9px 10px;border-bottom:1px solid var(--line);white-space:nowrap}
td.num,th.num{text-align:right}
tr:last-child td{border-bottom:0}
tbody tr:hover{background:var(--surface-2)}
tr.dayrow td{background:var(--surface-2);font-weight:600;border-top:1px solid var(--line)}
tr.sub td{font-size:.86rem;color:var(--muted)}
tr.sub td:nth-child(2),tr.sub td:nth-child(3){padding-left:22px}
tr.sub td strong,tr.sub td.pos,tr.sub td.neg{font-weight:500}
.tag{display:inline-block;font-size:.75rem;padding:1px 8px;border-radius:99px;background:var(--surface-2);border:1px solid var(--line);color:var(--muted)}
.tag.cash{background:var(--felt-soft);color:var(--ink);border-color:transparent}
.empty{padding:28px 10px;text-align:center;color:var(--muted)}
.chart{width:100%;height:260px;position:relative}
.chart svg{display:block}
.chart-small{height:180px}
.tkline{color:var(--brass);font-weight:600;font-size:.85em;white-space:nowrap}
.daygrid td,.daygrid th{border-bottom:0;padding:5px 8px}
.daygrid td:first-child{color:var(--muted);font-size:.85rem;white-space:nowrap}
.daygrid input{min-width:130px}
.replayer-frame{width:100%;aspect-ratio:16/10;max-height:70vh;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#0b1013}
.replayer-frame iframe{width:100%;height:100%;border:0;display:block}
/* Éditeur riche */
.rte-wrap{margin-top:8px}
.rte-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:2px;padding:6px;border:1px solid var(--line);border-bottom:0;border-radius:10px 10px 0 0;background:var(--surface-2);position:sticky;top:0;z-index:6}
.tb{min-width:30px;height:30px;padding:0 7px;border:0;background:none;border-radius:6px;cursor:pointer;color:var(--ink);font-size:.88rem;white-space:nowrap}
.tb:hover{background:var(--surface)}
.tb-sep{width:1px;height:20px;background:var(--line);margin:0 4px}
.tbw{position:relative;display:inline-flex}
.tb-pop{display:none;position:absolute;top:34px;left:0;z-index:20;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:8px;gap:6px;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.tb-pop.open{display:flex}
.tb-pop-list{flex-direction:column;min-width:170px;padding:6px}
.tb-item{display:flex;align-items:center;gap:8px;border:0;background:none;padding:7px 8px;border-radius:6px;cursor:pointer;text-align:left;color:var(--ink)}
.tb-item:hover{background:var(--surface-2)}
.tb-item .dot{width:14px;height:14px;border-radius:4px;border-left:4px solid}
.sw{width:24px;height:24px;border-radius:6px;border:1px solid var(--line);cursor:pointer;padding:0}
.sw.on{outline:2px solid var(--focus);outline-offset:2px}
.sw-none{background:var(--surface);color:var(--muted);font-size:.9rem}
.rte{min-height:320px;height:max(320px,calc(100vh - 290px));overflow-y:auto;resize:vertical;border:1px solid var(--line);border-radius:0 0 10px 10px;padding:14px 18px;background:var(--surface);outline:none;line-height:1.6;overflow-wrap:anywhere}
.rte:focus{border-color:var(--focus)}
.rte:empty::before{content:attr(data-ph);color:var(--muted)}
.rte h2{font-size:1.3rem;margin:.7em 0 .3em}.rte h3{font-size:1.08rem;margin:.6em 0 .25em}.rte h4{font-size:1rem;margin:.5em 0 .2em}
.rte p{margin:.35em 0}.rte ul,.rte ol{margin:.35em 0;padding-left:1.4em}
.rte a{color:var(--focus)}
.rte code{background:var(--surface-2);padding:1px 5px;border-radius:4px}
.rte hr{border:0;border-top:1px solid var(--line);margin:14px 0}
.rte ul.check{list-style:none;padding-left:2px}
.rte ul.check>li{position:relative;padding-left:28px;margin:4px 0}
.rte ul.check>li::before{content:"";position:absolute;left:0;top:.22em;width:16px;height:16px;border:1.5px solid var(--muted);border-radius:4px;cursor:pointer;background:var(--surface)}
.rte ul.check>li[data-checked="true"]::before{background:var(--felt);border-color:var(--felt)}
.rte ul.check>li[data-checked="true"]::after{content:"✓";position:absolute;left:3px;top:.02em;color:#fff;font-size:.8rem;font-weight:700;pointer-events:none}
.rte ul.check>li[data-checked="true"]{color:var(--muted);text-decoration:line-through}
.callout{border-left:4px solid;border-radius:8px;padding:8px 14px;margin:10px 0}
.callout-red{border-color:#E5484D;background:rgba(229,72,77,.10)}
.callout-green{border-color:#30A46C;background:rgba(48,164,108,.11)}
.callout-blue{border-color:#3E8EF7;background:rgba(62,142,247,.11)}
.callout-yellow{border-color:#D9A400;background:rgba(245,197,24,.14)}
.rte figure.shot{position:relative;margin:12px 0;width:fit-content;max-width:100%;display:block;user-select:none}
.rte figure.shot img{display:block;width:auto;max-width:100%;height:auto;border-radius:8px;border:1px solid var(--line)}
.rte figure.shot[style*="width"] img{width:100%}
.rte .shotrow{display:flex;flex-wrap:wrap;gap:14px;align-items:stretch;margin:12px 0}
.rte .shotrow[data-side="right"]{flex-direction:row-reverse}
.rte .shotrow>figure.shot{margin:0;flex:0 0 auto;max-width:calc(100% - 170px)}
.rte .shottext{flex:1 1 160px;min-width:150px;min-height:60px;padding:2px 4px 2px 12px;border-left:2px dashed var(--line);cursor:text}
.rte .shotrow[data-side="right"] .shottext{border-left:0;border-right:2px dashed var(--line);padding:2px 12px 2px 4px}
.shot-resize{position:absolute;width:14px;height:14px;background:var(--focus);border:2px solid #fff;border-radius:3px;display:none;z-index:3;touch-action:none}
.shot-resize[data-h="br"]{right:-7px;bottom:-7px;cursor:nwse-resize}
.shot-resize[data-h="bl"]{left:-7px;bottom:-7px;cursor:nesw-resize}
.shot-resize[data-h="r"]{right:-7px;top:50%;margin-top:-7px;cursor:ew-resize}
.shot-resize[data-h="l"]{left:-7px;top:50%;margin-top:-7px;cursor:ew-resize}
figure.shot:hover .shot-resize,figure.shot.sel .shot-resize{display:block}
@media (hover:none){.shot-resize{display:block}}
.rte figure.shot.sel img{outline:3px solid var(--focus);outline-offset:2px}
.rte::after{content:"";display:block;clear:both}
.rte hr{clear:both}
.rte figure.shot.uploading{opacity:.55}
.ann-layer{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none}
.shot-tools{position:absolute;top:8px;right:8px;display:none;gap:4px;z-index:2}
.shot-tools button{border:0;border-radius:6px;padding:5px 9px;background:rgba(15,20,24,.82);color:#fff;cursor:pointer;font-size:.8rem}
.shot-tools button:hover{background:rgba(15,20,24,.95)}
figure.shot:hover .shot-tools,figure.shot:focus-within .shot-tools{display:flex}
@media (hover:none){.shot-tools{display:flex}}
.ann-head{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
.ann-colors{display:flex;gap:6px}
.ann-stage{position:relative;display:inline-block;margin-top:12px;touch-action:none;max-width:100%}
.ann-stage img{display:block;max-width:100%;max-height:72vh;width:auto;height:auto;border-radius:6px;user-select:none;-webkit-user-drag:none}
.ann-draw{position:absolute;left:0;top:0;width:100%;height:100%;cursor:crosshair}
.notewrap{position:relative}
.notewrap .noteitem{width:100%;padding-right:36px}
.note-ren{position:absolute;top:8px;right:6px;width:28px;height:28px;border:0;border-radius:6px;background:var(--surface-2);color:var(--muted);cursor:pointer;opacity:0}
.notewrap:hover .note-ren,.note-ren:focus-visible{opacity:1}
.note-ren:hover{color:var(--ink)}
@media (hover:none){.note-ren{opacity:.8}}
#renameIn{width:100%;font-weight:600;margin-bottom:4px}
/* Faits marquants */
.hl-card{position:relative;display:grid;grid-template-columns:200px minmax(0,1fr);gap:14px;padding:12px;border:1px solid var(--line);border-radius:12px;margin-bottom:10px;background:var(--surface-2)}
.hl-card:focus-within,.hl-card:focus{border-color:var(--focus);outline:none}
.hl-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding-right:34px;align-content:start}
.hl-fields .hl-wide{grid-column:span 2}
.hl-shot{position:relative;min-height:112px;display:flex}
.hl-shot img{width:100%;height:auto;max-height:200px;object-fit:contain;border-radius:8px;border:1px solid var(--line);background:#0b1013;cursor:zoom-in}
.hl-up{flex:1;border:2px dashed var(--line);border-radius:8px;background:none;color:var(--muted);cursor:pointer;font-size:.88rem;line-height:1.4}
.hl-up:hover{border-color:var(--felt);color:var(--ink)}
.hl-x{position:absolute;top:6px;right:6px;border:0;border-radius:6px;background:rgba(15,20,24,.82);color:#fff;cursor:pointer;padding:3px 8px}
.hl-del{position:absolute;top:8px;right:8px}
.hl-chip{border:0;background:rgba(214,168,78,.18);color:var(--brass);border-radius:99px;padding:2px 9px;font-size:.78rem;font-weight:600;cursor:pointer;margin:1px 4px 1px 0;white-space:nowrap}
.hl-chip:not([data-view]){cursor:default}
@media (max-width:760px){.hl-card{grid-template-columns:1fr}.hl-fields{grid-template-columns:1fr 1fr}.hl-fields .hl-wide{grid-column:1/-1}}
.rooms{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.roombtn{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:10px 16px 10px 12px;cursor:pointer;text-align:left;min-width:150px}
.roombtn:hover{background:var(--surface-2)}
.roombtn span{display:flex;flex-direction:column;line-height:1.25}
.roombtn small{color:var(--muted);font-size:.8rem}
.roombtn[aria-pressed="true"]{border-color:var(--felt);box-shadow:inset 0 0 0 1px var(--felt);background:var(--felt-soft)}
.live{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:var(--felt);color:#fff;border-radius:12px;padding:14px 18px;margin-bottom:16px}
.live .t{font-family:"Bricolage Grotesque",sans-serif;font-size:1.6rem;font-weight:700}
.live .btn{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.3);color:#fff}
.bar{height:8px;border-radius:99px;background:var(--surface-2);overflow:hidden;border:1px solid var(--line)}
.bar > i{display:block;height:100%;background:var(--felt)}
.notes{display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px;min-height:560px}
.notelist{display:flex;flex-direction:column;gap:6px;max-height:70vh;overflow:auto}
.noteitem{text-align:left;border:1px solid transparent;background:none;padding:10px 12px;border-radius:8px;cursor:pointer}
.noteitem:hover{background:var(--surface-2)}
.noteitem[aria-current="true"]{background:var(--felt-soft);border-color:var(--line)}
.noteitem .ti{font-weight:600;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.noteitem .me{font-size:.78rem;color:var(--muted)}
.notetitle{font-family:"Bricolage Grotesque",sans-serif;font-size:1.5rem;font-weight:700;border:1px solid transparent;background:none;padding:4px 8px;margin-left:-8px;border-radius:8px;width:calc(100% + 8px)}
.notetitle:hover{border-color:var(--line);background:var(--surface-2)}
.notetitle:focus{border-color:var(--focus);background:var(--surface)}
.md{line-height:1.65;max-width:72ch}
.md h1{font-size:1.4rem;margin:.6em 0 .3em}.md h2{font-size:1.15rem;margin:.6em 0 .3em}.md h3{font-size:1rem;margin:.5em 0 .2em}
.md ul{padding-left:1.2em;margin:.3em 0}.md p{margin:.4em 0}
.md code{background:var(--surface-2);padding:1px 5px;border-radius:4px}
.md .chk{list-style:none;margin-left:-1.2em}
.cards{display:flex;align-items:center;gap:4px}
.toast{position:fixed;left:50%;bottom:calc(20px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);background:var(--ink);color:var(--bg);padding:10px 16px;border-radius:8px;font-size:.9rem;z-index:50;opacity:0;transition:opacity .2s;pointer-events:none}
.toast.on{opacity:1}
dialog{border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);padding:22px;width:min(560px,94vw)}
dialog::backdrop{background:rgba(0,0,0,.45)}
.calcres{background:var(--surface-2);border-radius:8px;padding:12px 14px;margin-top:12px}
.calcres strong{font-family:"Bricolage Grotesque",sans-serif;font-size:1.35rem}
.hint{font-size:.8rem;color:var(--muted)}
.filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px}
.calc-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:16px;align-items:start}
.bignum{font-family:"Bricolage Grotesque",sans-serif;font-size:clamp(2.2rem,4vw,3rem);font-weight:800;letter-spacing:-.03em;line-height:1.05;margin:4px 0 6px}
.bignum small{font-size:.45em;font-weight:600;color:var(--muted);letter-spacing:0}
input.bigin{font-size:1.25rem;font-weight:600;padding:10px 12px}
@media (max-width:1000px){.calc-layout{grid-template-columns:1fr}.g4{grid-template-columns:repeat(2,minmax(0,1fr))}.form{grid-template-columns:repeat(2,minmax(0,1fr))}.filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){
  .app{grid-template-columns:1fr}
  nav.side{position:sticky;top:0;height:auto;flex-direction:row;overflow-x:auto;padding:8px 10px;padding-top:calc(8px + env(safe-area-inset-top,0px));z-index:20;gap:2px}
  body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:10;background:var(--side)}
  .brand,.side .spacer,.syncnote{display:none}
  .navbtn .s{display:none}
  .g2,.g3,.hero,.notes{grid-template-columns:1fr}
  .hero .left{border-right:0;border-bottom:1px solid var(--line)}
  .form .w2{grid-column:1/-1}
  .filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  h1{font-size:1.5rem}
}
@media print{
  nav.side,.noprint,.toast{display:none!important}
  .app{display:block} body{background:#fff;color:#000} .panel{border-color:#ccc}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* ---- Écran de connexion (version déployée) ---- */
.auth{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:var(--bg);overflow:auto}
.auth[hidden]{display:none}
body.auth-on{overflow:hidden}
.auth-card{width:min(400px,100%);background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:28px;display:grid;gap:12px}
.auth-card h1{font-size:1.4rem;margin:0 0 4px}
.auth-brand{font-family:"Bricolage Grotesque",sans-serif;font-weight:800;font-size:1.2rem;display:flex;gap:8px;align-items:center}
.auth-brand .suit{color:var(--brass)}
#authForm{display:grid;gap:12px}
.auth-btn{width:100%;padding:11px 14px;border-radius:10px;border:1px solid var(--line);background:var(--surface-2);color:var(--ink);font-weight:600;cursor:pointer}
.auth-btn:hover{filter:brightness(1.05)}
.auth-primary{background:var(--felt);border-color:var(--felt);color:#fff}
.auth-sep{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:.85rem}
.auth-sep::before,.auth-sep::after{content:"";flex:1;height:1px;background:var(--line)}
.auth-msg{min-height:1.2em;margin:0;font-size:.88rem;color:var(--loss)}
.auth-msg.ok{color:var(--muted)}
.auth-links{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.auth-links button{border:0;background:none;color:var(--focus);cursor:pointer;padding:0;font-size:.88rem}
.userbar{display:flex;flex-direction:column;gap:2px;padding:6px 0;border-top:1px solid rgba(255,255,255,.08);margin-top:6px}
.userbar span{font-size:.75rem;color:var(--side-muted);padding:0 12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:760px){.userbar{display:none}}
