:root{
  --bg:#f5f6fa;--surface:#fff;--surface-2:#f0f2f7;--border:#e3e6ee;--text:#171a22;--muted:#677084;
  --brand:#4f46e5;--brand-2:#7c3aed;--brand-soft:#eef0ff;--ok:#16a34a;--warn:#d97706;--err:#dc2626;
  --note:#fff7dd;--note-b:#f2dd8f;--shadow:0 1px 2px rgba(20,24,40,.05),0 6px 20px rgba(20,24,40,.06);
  --radius:14px;--side:244px;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
[data-theme=dark]{
  --bg:#0f1117;--surface:#171a23;--surface-2:#1e2230;--border:#2a2f40;--text:#e8eaf2;--muted:#8b93a8;
  --brand:#818cf8;--brand-2:#a78bfa;--brand-soft:#232748;--note:#3a3216;--note-b:#6b5a1c;--shadow:0 1px 2px rgba(0,0,0,.4),0 8px 24px rgba(0,0,0,.3);
  color-scheme:dark;
}
*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--bg);color:var(--text);font-size:14.5px;line-height:1.5;-webkit-font-smoothing:antialiased}
a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}
h1{font-size:1.55rem;margin:0;letter-spacing:-.02em}h2{font-size:1.15rem;margin:0 0 .6rem}h3{font-size:1rem;margin:0 0 .8rem}
.muted{color:var(--muted)}.right{text-align:right}.nowrap{white-space:nowrap}
.ic{width:18px;height:18px;flex:none}

/* Layout */
.app{display:flex;min-height:100vh}
.sidebar{width:var(--side);background:var(--surface);border-right:1px solid var(--border);padding:18px 12px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;flex:none}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:1.05rem;color:var(--text);padding:4px 8px 18px}.brand:hover{text-decoration:none}
.logo{width:34px;height:34px;object-fit:contain;flex:none;display:block;filter:drop-shadow(0 2px 6px rgba(79,70,229,.35))}
.sidebar nav{display:flex;flex-direction:column;gap:2px}
.nav-item{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:10px;color:var(--muted);font-weight:500}
.nav-item:hover{background:var(--surface-2);color:var(--text);text-decoration:none}
.nav-item.active{background:var(--brand-soft);color:var(--brand)}
.nav-item.disabled{opacity:.5;cursor:not-allowed}.nav-item small{margin-left:auto;font-size:.68rem;background:var(--surface-2);padding:1px 6px;border-radius:99px}
.side-foot{margin-top:auto;color:var(--muted);font-size:.78rem;padding:8px}
.main{flex:1;min-width:0;display:flex;flex-direction:column}
.topbar{display:flex;align-items:center;gap:12px;padding:12px 24px;background:color-mix(in srgb,var(--bg) 85%,transparent);backdrop-filter:blur(8px);position:sticky;top:0;z-index:20;border-bottom:1px solid var(--border)}
.search{flex:1;max-width:520px;display:flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--border);border-radius:11px;padding:0 12px;color:var(--muted)}
.search input[type=search]{border:0;background:transparent;outline:0;padding:10px 0;flex:1;color:var(--text);font:inherit;min-width:0;min-height:0;border-radius:0}
.search input[type=search]:focus{outline:0;border:0}
.search:focus-within{outline:2px solid color-mix(in srgb,var(--brand) 45%,transparent);border-color:var(--brand)}
.content{padding:24px;max-width:1500px;width:100%;margin:0 auto}
.menu-btn{display:none}
.backdrop{display:none}
.plain{min-height:100vh;display:grid;place-items:center;padding:20px}

/* Components */
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}
.card.flush{padding:0;overflow:hidden}.card.empty{text-align:center;padding:48px}
.grid{display:grid;gap:16px}.grid.two{grid-template-columns:2fr 1fr}.grid.cols-4{grid-template-columns:repeat(4,1fr)}.grid.cols-2{grid-template-columns:repeat(2,1fr)}
.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px;flex-wrap:wrap}
.page-head p{margin:2px 0 0}.actions{display:flex;gap:8px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--border);background:var(--surface);color:var(--text);padding:9px 14px;border-radius:10px;font:inherit;font-weight:600;cursor:pointer;min-height:38px}
.btn:hover{background:var(--surface-2);text-decoration:none}
.btn.primary{background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#fff;border-color:transparent}.btn.primary:hover{filter:brightness(1.07)}
.btn.danger{color:var(--err)}.btn.sm{padding:4px 10px;min-height:30px;font-size:.85rem}
.icon-btn{background:none;border:0;color:var(--text);cursor:pointer;padding:6px;border-radius:8px}
form.inline{display:inline}
.alert{padding:11px 14px;border-radius:10px;margin-bottom:14px;border:1px solid;font-weight:500}
.alert.success{background:color-mix(in srgb,var(--ok) 12%,var(--surface));border-color:color-mix(in srgb,var(--ok) 40%,transparent)}
.alert.error{background:color-mix(in srgb,var(--err) 12%,var(--surface));border-color:color-mix(in srgb,var(--err) 40%,transparent)}
.alert.warn{background:color-mix(in srgb,var(--warn) 12%,var(--surface));border-color:color-mix(in srgb,var(--warn) 40%,transparent)}
.badge{display:inline-flex;align-items:center;gap:6px;padding:2px 10px;border-radius:99px;font-size:.78rem;font-weight:600;color:var(--c);background:color-mix(in srgb,var(--c) 14%,transparent);white-space:nowrap}
.badge::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--c)}
.tag{display:inline-block;background:var(--surface-2);color:var(--muted);padding:1px 8px;border-radius:6px;font-size:.8rem;margin:0 4px 4px 0}
.swatch{display:inline-block;width:14px;height:14px;border-radius:4px;vertical-align:-2px}
.avatar{width:36px;height:36px;border-radius:50%;border:0;background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#fff;font-weight:700;cursor:pointer}
.avatar.sm{width:28px;height:28px;font-size:.75rem;display:inline-grid;place-items:center;cursor:default}
.usermenu{position:relative;margin-left:auto}
.dropdown{display:none;position:absolute;right:0;top:46px;min-width:230px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);padding:6px;z-index:30}
.dropdown.open{display:block}.dropdown a{display:block;padding:9px 12px;border-radius:8px;color:var(--text)}.dropdown a:hover{background:var(--surface-2);text-decoration:none}
.dropdown .who{padding:8px 12px;display:flex;flex-direction:column}.dropdown .who small{color:var(--muted)}
.theme-switch{display:flex;gap:4px;padding:6px 8px}.theme-switch button{flex:1;border:1px solid var(--border);background:var(--surface);color:var(--text);padding:5px;border-radius:8px;cursor:pointer;font:inherit;font-size:.8rem}
.theme-switch button.on{background:var(--brand-soft);border-color:var(--brand);color:var(--brand)}

/* Tabs / pager */
.tabs{display:flex;gap:4px;overflow-x:auto;margin-bottom:16px;border-bottom:1px solid var(--border)}
.tabs a{padding:9px 14px;color:var(--muted);font-weight:600;border-bottom:2px solid transparent;white-space:nowrap}
.tabs a.active{color:var(--brand);border-color:var(--brand)}.tabs a:hover{text-decoration:none;color:var(--text)}
.pager{display:flex;gap:4px;justify-content:center;padding:14px}
.pager a{padding:5px 11px;border-radius:8px;border:1px solid var(--border);color:var(--text);background:var(--surface)}.pager a.active{background:var(--brand);color:#fff;border-color:var(--brand)}

/* Tables */
.table-wrap{overflow-x:auto}
.table{width:100%;border-collapse:collapse}
.table th{font-size:.76rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);text-align:left;padding:11px 14px;border-bottom:1px solid var(--border);white-space:nowrap}
.table td{padding:12px 14px;border-bottom:1px solid var(--border);vertical-align:middle}
.table tr:last-child td{border-bottom:0}.table tbody tr:hover{background:var(--surface-2)}
.table td a.title{color:var(--text);font-weight:600}
.table .sub{display:block;color:var(--muted);font-size:.82rem}

/* Forms */
.form{display:flex;flex-direction:column;gap:14px}
.form label,.label{display:flex;flex-direction:column;gap:5px;font-weight:600;font-size:.88rem}
.form label .field{font-weight:400;display:block}
input[type=text],input[type=email],input[type=password],input[type=number],input[type=search],input[type=date],input[type=datetime-local],select,textarea{width:100%;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:10px;padding:9px 12px;font:inherit;min-height:40px}
textarea{min-height:110px;resize:vertical}
input:focus,select:focus,textarea:focus{outline:2px solid color-mix(in srgb,var(--brand) 45%,transparent);border-color:var(--brand)}
input[type=color]{width:56px;height:38px;padding:2px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}
.form-actions{display:flex;gap:8px;flex-wrap:wrap}.form .row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.hint{font-weight:400;color:var(--muted);font-size:.8rem}
.checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:6px 18px}.checks label{flex-direction:row;align-items:center;font-weight:400}
.checks input{width:auto;min-height:0}
.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;align-items:center}
.filters select,.filters input{width:auto;min-width:130px}

/* Dashboard */
.kpi{display:flex;flex-direction:column;gap:2px}.kpi .n{font-size:2rem;font-weight:800;letter-spacing:-.03em}.kpi .l{color:var(--muted);font-weight:600;font-size:.85rem}
.kpi.warn .n{color:var(--warn)}.kpi.err .n{color:var(--err)}.kpi.ok .n{color:var(--ok)}
.kpi a{color:inherit}
.bars{display:flex;align-items:flex-end;gap:6px;height:150px;padding-top:10px}
.bars .bar{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;height:100%;font-size:.7rem;color:var(--muted)}
.bars .bar i{display:block;width:100%;border-radius:6px 6px 0 0;background:linear-gradient(180deg,var(--brand),var(--brand-2));min-height:2px}
.hbar{display:flex;align-items:center;gap:10px;margin:8px 0}.hbar .name{flex:0 0 38%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hbar .track{flex:1;height:8px;background:var(--surface-2);border-radius:99px;overflow:hidden}.hbar .track i{display:block;height:100%;background:linear-gradient(90deg,var(--brand),var(--brand-2));border-radius:99px}
.hbar .val{width:34px;text-align:right;font-weight:700}
.feed{list-style:none;margin:0;padding:0}.feed li{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--border)}.feed li:last-child{border:0}
.feed .dot{width:8px;height:8px;border-radius:50%;background:var(--brand);margin-top:7px;flex:none}

/* Ticket view */
.ticket-layout{display:grid;grid-template-columns:290px minmax(0,1fr) 300px;gap:16px;align-items:start}
.panel-title{font-size:.74rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0 0 10px;font-weight:700}
.kv{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;font-size:.9rem}.kv dt{color:var(--muted)}.kv dd{margin:0;word-break:break-word}
.thread{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}
.msg{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px}
.msg.internal{background:var(--note);border-color:var(--note-b)}
.msg.customer{border-left:4px solid var(--brand)}
.msg-head{display:flex;gap:10px;align-items:center;margin-bottom:8px;flex-wrap:wrap}.msg-head .when{margin-left:auto;color:var(--muted);font-size:.82rem}
.msg-body{word-break:break-word;overflow-wrap:anywhere}
.msg-body code{background:var(--surface-2);padding:1px 5px;border-radius:5px}.msg-body .quote{display:block;border-left:3px solid var(--border);padding-left:10px;color:var(--muted)}
.mention{color:var(--brand);font-weight:600}
.internal-label{background:var(--note-b);color:#4a3a00;padding:1px 8px;border-radius:6px;font-size:.72rem;font-weight:800;letter-spacing:.04em}
[data-theme=dark] .internal-label{color:#fff3c4}
.attach-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.attach-list a{display:inline-flex;gap:6px;align-items:center;background:var(--surface-2);padding:5px 10px;border-radius:8px;color:var(--text);font-size:.85rem}
.editor-tabs{display:flex;gap:6px;margin-bottom:10px}
.editor-tabs button{flex:1;padding:9px;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:10px;cursor:pointer;font:inherit;font-weight:600}
.editor-tabs button.on{background:var(--brand-soft);border-color:var(--brand);color:var(--brand)}
.editor-tabs button.on.note{background:var(--note);border-color:var(--note-b);color:inherit}
.toolbar{display:flex;gap:4px;margin-bottom:6px;flex-wrap:wrap}.toolbar button{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:8px;padding:3px 10px;cursor:pointer;min-height:30px}
.editor.is-note textarea{background:var(--note);border-color:var(--note-b)}
.editor .warn-note{display:none}.editor.is-note .warn-note{display:block}
.history{font-size:.88rem}.history li{padding:6px 0;border-bottom:1px dashed var(--border)}.history ul{list-style:none;padding:0;margin:0}
.history .who{color:var(--muted)}

/* Auth / installer */
.auth-card{width:100%;max-width:420px}.auth-card.wide{max-width:640px}
.auth-card .logo{width:64px;height:64px;margin-bottom:12px}
.steps{display:flex;gap:6px;margin-bottom:18px}.steps span{flex:1;height:5px;border-radius:99px;background:var(--border)}.steps span.on{background:linear-gradient(90deg,var(--brand),var(--brand-2))}
.check-row{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--border)}.ok-t{color:var(--ok);font-weight:700}.err-t{color:var(--err);font-weight:700}

/* Responsive */
@media (max-width:1180px){
  .ticket-layout{grid-template-columns:minmax(0,1fr) 300px}.ticket-layout .col-left{grid-column:1 / -1;order:-1}
  .grid.cols-4{grid-template-columns:repeat(2,1fr)}.grid.two{grid-template-columns:1fr}
}
@media (max-width:820px){
  .sidebar{position:fixed;left:0;top:0;bottom:0;transform:translateX(-102%);transition:transform .2s;z-index:50;box-shadow:var(--shadow)}
  body.nav-open .sidebar{transform:none}
  body.nav-open .backdrop{display:block;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:40}
  .menu-btn{display:inline-flex}.content{padding:16px}.topbar{padding:10px 14px}.hide-sm{display:none!important}
  .ticket-layout{grid-template-columns:1fr}.ticket-layout .col-left{order:0}
  .grid.cols-2,.form .row{grid-template-columns:1fr}
  .btn,.nav-item,input,select{min-height:44px}
}
@media (max-width:520px){.grid.cols-4{grid-template-columns:1fr 1fr}.kpi .n{font-size:1.6rem}}

/* E-Mail */
.tpl-row{margin-bottom:8px}.tpl-row select{width:auto;min-height:34px;padding:4px 10px}
.checkline{display:flex;align-items:center;gap:8px;margin-top:10px;font-weight:500;font-size:.9rem}.checkline input{width:auto;min-height:0}
textarea.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.88rem}
.section-sep{border:0;border-top:1px solid var(--border);margin:6px 0}

/* Benachrichtigungen */
.bell{position:relative;margin-left:auto;display:inline-flex;align-items:center;color:var(--text)}.bell+.usermenu{margin-left:0}
.bell-n{position:absolute;top:-2px;right:-4px;background:var(--err);color:#fff;border-radius:99px;font-size:.66rem;font-weight:700;padding:1px 5px;min-width:17px;text-align:center}
.notif-list{list-style:none;margin:0;padding:0}.notif-list li{border-bottom:1px solid var(--border)}.notif-list li:last-child{border:0}
.notif-list a{display:flex;gap:12px;padding:13px 16px;color:var(--text)}.notif-list a:hover{background:var(--surface-2);text-decoration:none}
.notif-list li.unread{background:color-mix(in srgb,var(--brand) 7%,transparent)}.notif-list li.unread .nm{font-weight:600}
.notif-list .ni{width:28px;text-align:center}.notif-list .nm small{display:block;font-weight:400}
.macro-bar{display:flex;gap:8px;align-items:center;margin-bottom:12px;padding:10px 14px}.macro-bar select{width:auto;flex:1;max-width:340px;min-height:36px}

/* Regel-Builder */
.rule-list{display:flex;flex-direction:column;gap:8px;margin:6px 0}
.rule-row{display:flex;gap:8px;align-items:flex-start;flex-wrap:wrap}
.rule-row select,.rule-row input,.rule-row textarea{width:auto;min-width:120px;max-width:100%}
.rule-row .rvw{flex:1;min-width:160px}.rule-row .rvw .rv{width:100%}

/* Öffentliche Seiten: Helpcenter, Kontaktformular, Kundenportal */
body.pub{display:flex;flex-direction:column;min-height:100vh}
.pub-wrap{max-width:980px;margin:0 auto;padding:0 20px;width:100%}
.pub-top{background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:20}
.pub-top .pub-wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;flex-wrap:wrap}
.pub-brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:1.1rem;color:var(--text)}.pub-brand:hover{text-decoration:none}
.pub-nav{display:flex;gap:4px;flex-wrap:wrap}.pub-nav a{padding:8px 14px;border-radius:10px;color:var(--muted);font-weight:600}.pub-nav a:hover{background:var(--surface-2);text-decoration:none;color:var(--text)}.pub-nav a.on{color:var(--brand);background:var(--brand-soft)}
.pub-main{flex:1;padding:28px 0 48px}
.pub-hero{text-align:center;padding:36px 16px 28px;background:linear-gradient(135deg,color-mix(in srgb,var(--brand) 14%,var(--surface)),color-mix(in srgb,var(--brand-2) 12%,var(--surface)));border:1px solid var(--border);border-radius:var(--radius);margin-bottom:8px}
.pub-hero h1{font-size:2rem;margin-bottom:6px}.pub-hero p{color:var(--muted);margin:0 auto 18px;max-width:560px}
.pub-search{display:flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:6px 6px 6px 12px;color:var(--muted);max-width:620px;margin:0 auto}
.pub-search input[type=search]{border:0;background:transparent;outline:0;flex:1;min-width:0;padding:8px 0;min-height:0;border-radius:0}.pub-search input[type=search]:focus{outline:0;border:0}
.pub-search:focus-within{outline:2px solid color-mix(in srgb,var(--brand) 45%,transparent);border-color:var(--brand)}
.pub-search.big{padding:8px 8px 8px 16px}
.pub-h2{margin:28px 0 12px;font-size:1.2rem}
.pub-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.pub-card{display:flex;flex-direction:column;gap:4px;color:var(--text);transition:transform .12s,border-color .12s}.pub-card:hover{text-decoration:none;border-color:var(--brand);transform:translateY(-2px)}.pub-card small{color:var(--brand);font-weight:600;margin-top:6px}
.pub-list{list-style:none;margin:0;padding:0}.pub-list li{display:flex;justify-content:space-between;gap:12px;padding:13px 18px;border-bottom:1px solid var(--border)}.pub-list li:last-child{border:0}.pub-list a{font-weight:600}
.pub-crumb{color:var(--muted);font-size:.9rem;margin:0 0 8px}
.pub-cta{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-top:28px}.pub-cta h3{margin:0 0 4px}.pub-cta p{margin:0}
.pub-auth{max-width:440px;margin:24px auto}.pub-links{text-align:center;margin:16px 0 0;font-size:.92rem}
.pub-form{max-width:760px}
.pub-foot{border-top:1px solid var(--border);padding:18px 0;color:var(--muted);font-size:.88rem}.pub-foot .pub-wrap{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.pub-foot a{color:var(--muted);margin-left:12px}
.hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.suggest{border:1px solid var(--border);border-radius:10px;background:var(--surface-2);padding:10px 14px;display:flex;flex-direction:column;gap:6px;margin-top:-6px}.suggest-title{font-size:.8rem;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.kb-article{padding:26px}.kb-article h1{margin-bottom:4px}
.kb-body{margin-top:12px;line-height:1.7;overflow-wrap:anywhere}.kb-body h2{margin:1.4em 0 .5em;font-size:1.25rem}.kb-body h3{margin:1.2em 0 .4em;font-size:1.1rem}.kb-body h4{margin:1em 0 .3em}
.kb-body img{max-width:100%;height:auto;border-radius:10px;border:1px solid var(--border);margin:8px 0}
.kb-body pre{background:var(--surface-2);padding:12px 14px;border-radius:10px;overflow-x:auto}.kb-body code{background:var(--surface-2);padding:1px 6px;border-radius:5px}.kb-body pre code{padding:0;background:none}
.kb-body blockquote{margin:10px 0;padding:6px 14px;border-left:3px solid var(--brand);color:var(--muted)}
.kb-vote{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.kb-files{list-style:none;margin:0;padding:0}.kb-files li{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;padding:8px 0;border-bottom:1px solid var(--border)}.kb-files li:last-child{border:0}
@media (max-width:600px){.pub-hero h1{font-size:1.5rem}.pub-main{padding-top:18px}.pub-search .btn{padding:8px 12px}}

/* Checkbox-/Schalterzeilen in Formularen (muss die Regel ".form label" übersteuern) */
.form label.checkline,label.checkline{display:flex;flex-direction:row;align-items:flex-start;gap:10px;font-weight:500;font-size:.92rem;line-height:1.45;cursor:pointer}
.form label.checkline input[type=checkbox],label.checkline input[type=checkbox]{width:18px;height:18px;min-height:0;margin:2px 0 0;flex:none;accent-color:var(--brand)}
.form label.checkline .hint{display:block;margin-top:2px}
.form label.checkline .muted{margin-left:4px}

/* Reports */
.chart-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:6px}.chart-head h3{margin:0}
.legend{font-size:.82rem;color:var(--muted);display:flex;align-items:center;gap:6px}.legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-left:8px}
.bars2{display:flex;align-items:flex-end;gap:3px;height:190px;padding-top:12px}
.bar2{flex:1;min-width:0;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;font-size:.66rem;color:var(--muted)}
.bar2 .pair{width:100%;flex:1;display:flex;align-items:flex-end;justify-content:center;gap:1px}
.bar2 .pair i{display:block;flex:1;max-width:14px;border-radius:4px 4px 0 0;min-height:1px}.bar2 .pair .c{background:var(--brand)}.bar2 .pair .s{background:var(--ok)}
.bar2 span{height:12px;white-space:nowrap}
.filters input[type=date]{min-width:140px}
.rep-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,500px),1fr))}
