:root {
  --primary: #0176d3;
  --primary-dark: #025fb0;
  --primary-soft: #eaf5fe;
  --green: #2e844a;
  --green-soft: #ebf7ee;
  --orange: #fe9339;
  --orange-soft: #fff3e5;
  --red: #ea001e;
  --red-soft: #fdebec;
  --purple: #9050e9;
  --purple-soft: #f4edfd;
  --teal: #0b827c;
  --teal-soft: #e6f5f4;
  --bg: #f3f4f6;
  --card: #ffffff;
  --text: #181818;
  --muted: #5c6673;
  --border: #e2e5ea;
  --sidebar-bg: #1a1f36;
  --sidebar-text: #c9cfdd;
  --sidebar-active: #2a3151;
  --topbar: #ffffff;
  --shadow: 0 2px 8px rgba(20, 30, 60, 0.08);
  --radius: 10px;
}
[data-theme="dark"] {
  --bg: #12161d;
  --card: #1b212b;
  --text: #e3e6ea;
  --muted: #97a1ae;
  --border: #2c333d;
  --topbar: #171c24;
  --primary-soft: #10304a;
  --green-soft: #14321e;
  --orange-soft: #3d2812;
  --red-soft: #3d1117;
  --purple-soft: #291a45;
  --teal-soft: #11302e;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 13.5px; color: var(--text); }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar {
  position: fixed; top: 0; left: 0; right: 0; height: 52px; z-index: 60;
  background: var(--topbar); box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px; padding: 0 14px;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; color: var(--primary); white-space: nowrap; }
.brand svg { width: 26px; height: 26px; }
.icon-btn {
  background: transparent; border: none; border-radius: 8px; width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center; color: var(--muted); position: relative;
}
.icon-btn:hover { background: var(--primary-soft); color: var(--primary); }
.icon-btn svg { width: 19px; height: 19px; }
.dot-badge {
  position: absolute; top: 4px; right: 4px; background: var(--red); color: #fff;
  font-size: 10px; min-width: 15px; height: 15px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; padding: 0 3px; font-weight: 600;
}
.search-wrap { flex: 1; max-width: 640px; position: relative; }
.search-wrap input {
  width: 100%; height: 34px; border-radius: 18px; border: 1px solid var(--border);
  padding: 0 40px 0 38px; background: var(--bg); outline: none;
}
.search-wrap input:focus { border-color: var(--primary); background: var(--card); }
.search-wrap .s-icon { position: absolute; left: 12px; top: 8px; color: var(--muted); width: 17px; height: 17px; }
.search-wrap kbd {
  position: absolute; right: 12px; top: 8px; font-size: 11px; color: var(--muted);
  border: 1px solid var(--border); border-radius: 4px; padding: 0 5px; background: var(--card);
}
.search-pop {
  position: absolute; top: 42px; left: 0; right: 0; max-height: 420px; overflow: auto;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); z-index: 90; padding: 6px;
}
.search-group { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding: 8px 10px 3px; font-weight: 700; }
.search-item { padding: 8px 10px; border-radius: 7px; cursor: pointer; display: flex; gap: 8px; align-items: center; }
.search-item:hover { background: var(--primary-soft); }
.search-item small { color: var(--muted); margin-left: auto; }

.user-chip { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.user-chip:hover { background: var(--primary-soft); }
.avatar {
  border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--purple));
  color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; letter-spacing: 0.03em;
}

.layout { display: flex; padding-top: 52px; min-height: 100vh; }
.sidebar {
  width: 232px; flex-shrink: 0; background: var(--sidebar-bg); color: var(--sidebar-text);
  min-height: calc(100vh - 52px); padding: 10px 8px 40px; position: sticky; top: 52px; overflow-y: auto; max-height: calc(100vh - 52px);
}
.nav-group { margin-top: 12px; }
.nav-group > .nav-label {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.09em; font-weight: 700;
  padding: 6px 12px; color: #7f8aa5;
}
.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 7px;
  color: var(--sidebar-text); cursor: pointer; font-weight: 500; margin: 1px 0;
}
.nav-item svg { width: 16px; height: 16px; opacity: 0.85; flex-shrink: 0; }
.nav-item:hover { background: rgba(255, 255, 255, 0.07); color: #fff; text-decoration: none; }
.nav-item.active { background: var(--sidebar-active); color: #fff; box-shadow: inset 3px 0 0 var(--primary); }
.main { flex: 1; min-width: 0; padding: 22px 26px 60px; }

.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.page-title { font-size: 22px; font-weight: 700; }
.page-sub { color: var(--muted); margin-top: 3px; font-size: 13px; }
.head-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.btn {
  border: 1px solid var(--border); background: var(--card); color: var(--text);
  border-radius: 8px; padding: 7px 14px; font-weight: 600; font-size: 13px;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn:hover { border-color: var(--primary); color: var(--primary); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-danger { background: var(--red); border-color: var(--red); color: #fff; }
.btn-danger:hover { opacity: 0.9; color: #fff; }
.btn-success { background: var(--green); border-color: var(--green); color: #fff; }
.btn-success:hover { opacity: 0.9; color: #fff; }
.btn-sm { padding: 4px 10px; font-size: 12px; border-radius: 6px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.card h3 { font-size: 14.5px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.card h3 .spacer { flex: 1; }
.grid { display: grid; gap: 14px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } .grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .grid.cols-4, .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } }

.kpi { display: flex; flex-direction: column; gap: 4px; }
.kpi .kpi-label { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.kpi .kpi-value { font-size: 26px; font-weight: 800; }
.kpi .kpi-delta { font-size: 12px; font-weight: 600; }
.up { color: var(--green); } .down { color: var(--red); }

.tbl-wrap { overflow: auto; max-height: 62vh; border: 1px solid var(--border); border-radius: 8px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th {
  text-align: left; padding: 9px 12px; background: var(--bg); color: var(--muted);
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; position: sticky; top: 0; z-index: 2;
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.tbl td { padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tbody tr { cursor: pointer; }
.tbl tbody tr:hover { background: var(--primary-soft); }
.num { text-align: right; font-variant-numeric: tabular-nums; }

.badge {
  display: inline-flex; align-items: center; gap: 4px; border-radius: 20px;
  padding: 2px 9px; font-size: 11.5px; font-weight: 700; white-space: nowrap;
}
.b-blue { background: var(--primary-soft); color: var(--primary); }
.b-green { background: var(--green-soft); color: var(--green); }
.b-orange { background: var(--orange-soft); color: #b96a12; }
[data-theme="dark"] .b-orange { color: var(--orange); }
.b-red { background: var(--red-soft); color: var(--red); }
.b-purple { background: var(--purple-soft); color: var(--purple); }
.b-teal { background: var(--teal-soft); color: var(--teal); }
.b-gray { background: var(--bg); color: var(--muted); }

.chip-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.chip {
  border: 1px solid var(--border); background: var(--card); border-radius: 16px;
  padding: 4px 12px; font-size: 12.5px; font-weight: 600; color: var(--muted);
}
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.field-row { margin-bottom: 12px; }
.field-row label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.field-row input, .field-row select, .field-row textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 7px; padding: 8px 10px;
  background: var(--card); outline: none;
}
.field-row input:focus, .field-row select:focus, .field-row textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.req::after { content: " *"; color: var(--red); }

.overlay {
  position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55); z-index: 100;
  display: flex; align-items: flex-start; justify-content: center; padding: 7vh 16px 16px;
}
.modal-card {
  background: var(--card); border-radius: 14px; width: 100%; max-width: 680px;
  max-height: 84vh; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.35);
  animation: pop .16s ease-out;
}
@keyframes pop { from { transform: translateY(10px) scale(.985); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.modal-head h2 { font-size: 16px; flex: 1; }
.modal-body { padding: 18px; overflow-y: auto; }
.modal-foot { padding: 12px 18px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; }

.drawer-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.35); z-index: 95; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(520px, 94vw); z-index: 96;
  background: var(--card); box-shadow: -12px 0 40px rgba(0,0,0,.25); display: flex; flex-direction: column;
  animation: slidein .18s ease-out;
}
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { padding: 14px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.drawer-head h2 { font-size: 16px; flex: 1; }
.drawer-body { padding: 18px; overflow-y: auto; flex: 1; }

.detail-grid { display: grid; grid-template-columns: 120px 1fr; row-gap: 9px; column-gap: 12px; font-size: 13.5px; }
.detail-grid dt { color: var(--muted); font-weight: 600; }
.detail-grid dd { word-break: break-word; }
.section-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin: 18px 0 8px; }
.section-title:first-child { margin-top: 0; }

.toast-stack { position: fixed; bottom: 18px; right: 18px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: #1f2937; color: #fff; border-radius: 10px; padding: 11px 16px; font-size: 13px;
  box-shadow: 0 8px 24px rgba(0,0,0,.3); animation: pop .18s ease-out; max-width: 360px;
  display: flex; gap: 8px; align-items: center;
}
.toast.success { background: var(--green); }
.toast.warn { background: #b45309; }
.toast.error { background: var(--red); }

.kanban { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; align-items: flex-start; }
.kan-col { min-width: 240px; width: 240px; flex-shrink: 0; background: var(--bg); border-radius: 10px; padding: 8px; border: 1px dashed transparent; }
.kan-col.dragover { border-color: var(--primary); background: var(--primary-soft); }
.kan-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); padding: 4px 6px 8px; display:flex; justify-content: space-between;}
.kan-card {
  background: var(--card); border-radius: 8px; box-shadow: var(--shadow); padding: 10px 12px;
  margin-bottom: 8px; cursor: grab; border-left: 3px solid var(--primary);
}
.kan-card:hover { outline: 2px solid var(--primary-soft); }
.kan-card .k-name { font-weight: 700; margin-bottom: 3px; }
.kan-card .k-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 5px; align-items:center;}

.progress-track { background: var(--bg); border-radius: 8px; height: 8px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 8px; background: var(--primary); transition: width .3s; }

.tabs { display: flex; gap: 2px; border-bottom: 2px solid var(--border); margin-bottom: 16px; flex-wrap: wrap; }
.tab { padding: 8px 16px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; background:none;border:none;font-size:13.5px;}
.tab.active { color: var(--primary); border-color: var(--primary); }

.empty { text-align: center; color: var(--muted); padding: 34px 10px; }
.empty .big { font-size: 34px; margin-bottom: 8px; }

.feed-composer textarea { width: 100%; min-height: 64px; border: 1px solid var(--border); border-radius: 8px; padding: 10px; resize: vertical; background: var(--card); }
.post { border-bottom: 1px solid var(--border); padding: 14px 2px; }
.post:last-child { border-bottom: none; }
.post-head { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.post-head .who b { display: block; }
.post-head .when { color: var(--muted); font-size: 12px; }
.post-body { line-height: 1.5; white-space: pre-wrap; }
.post-actions { display: flex; gap: 14px; margin-top: 8px; }
.post-actions button { background: none; border: none; color: var(--muted); font-size: 12.5px; font-weight: 600; padding: 0; }
.post-actions button:hover { color: var(--primary); }
.comment { margin-top: 10px; padding-left: 12px; border-left: 3px solid var(--border); }
.comment .post-head { margin-bottom: 3px; }
.comment-form { display: flex; gap: 8px; margin-top: 10px; }
.comment-form input { flex: 1; border: 1px solid var(--border); border-radius: 7px; padding: 7px 10px; background: var(--card); }

.launcher-pop {
  position: fixed; top: 58px; left: 14px; width: 380px; max-height: 70vh; overflow: auto; z-index: 99;
  background: var(--card); border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--border); padding: 14px;
}
.launcher-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.launch-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 10px; cursor: pointer; text-align: center; }
.launch-tile:hover { background: var(--primary-soft); }
.launch-tile .ico { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 19px; color: #fff; }
.launch-tile span { font-size: 12px; font-weight: 600; }

.menu-pop {
  position: absolute; top: 46px; right: 0; min-width: 230px; background: var(--card);
  border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); z-index: 98; padding: 6px;
}
.menu-item { padding: 9px 12px; border-radius: 7px; cursor: pointer; display: flex; gap: 9px; align-items: center; font-weight: 500; }
.menu-item:hover { background: var(--primary-soft); }
.menu-sep { height: 1px; background: var(--border); margin: 5px 8px; }
.notif-panel { width: 340px; max-height: 420px; overflow: auto; }
.notif-item { padding: 10px 12px; border-radius: 8px; display: flex; gap: 9px; cursor: pointer; }
.notif-item:hover { background: var(--bg); }
.notif-item.unread { background: var(--primary-soft); }
.notif-item small { color: var(--muted); display: block; }

.tour-spot { position: fixed; z-index: 210; border-radius: 12px; box-shadow: 0 0 0 9999px rgba(10, 15, 30, 0.62); transition: all .25s ease; pointer-events: none; }
.tour-tip {
  position: fixed; z-index: 211; background: var(--card); border-radius: 12px; box-shadow: 0 16px 50px rgba(0,0,0,.4);
  padding: 16px; width: 320px; transition: all .25s ease; border: 1px solid var(--border);
}
.tour-tip h4 { margin-bottom: 6px; }
.tour-tip p { color: var(--muted); font-size: 13px; line-height: 1.5; margin-bottom: 12px; }
.tour-tip .row { display: flex; justify-content: space-between; align-items: center; }

.market-hero {
  background: linear-gradient(120deg, var(--primary), var(--purple));
  color: #fff; border-radius: 14px; padding: 26px; margin-bottom: 18px;
}
.market-hero h2 { font-size: 22px; margin-bottom: 6px; }
.app-card { display: flex; flex-direction: column; gap: 8px; }
.app-card .app-top { display: flex; gap: 10px; align-items: center; }
.app-card .app-ico { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 21px; color: #fff; flex-shrink: 0; }
.stars { color: #f5a623; font-size: 12px; letter-spacing: 1px; }
.app-desc { color: var(--muted); font-size: 12.5px; line-height: 1.45; flex: 1; }

.sched-day { background: var(--bg); border-radius: 10px; padding: 10px; min-height: 140px; }
.sched-day h4 { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.wo-card { background: var(--card); border-radius: 8px; box-shadow: var(--shadow); padding: 9px 11px; margin-bottom: 8px; border-left: 3px solid var(--teal); }

.camp-journey { display: flex; flex-direction: column; gap: 0; }
.j-step { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; }
.j-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; flex-shrink: 0; }
.j-line { width: 2px; height: 14px; background: var(--border); margin-left: 12px; }

.kb-list .kb-item { padding: 12px 4px; border-bottom: 1px solid var(--border); cursor: pointer; }
.kb-list .kb-item:hover { background: var(--primary-soft); }
.kb-meta { color: var(--muted); font-size: 12px; margin-top: 3px; display: flex; gap: 10px; }

.rule-card { border: 1px solid var(--border); border-radius: 10px; padding: 13px 15px; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rule-flow { font-size: 12.5px; color: var(--muted); }
.rule-flow b { color: var(--text); }
.switch { position: relative; width: 38px; height: 21px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; background: var(--border); border-radius: 12px; transition: .2s; cursor: pointer; }
.switch .track::after { content: ""; position: absolute; top: 2.5px; left: 3px; width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.switch input:checked + .track { background: var(--green); }
.switch input:checked + .track::after { transform: translateX(16px); }

.tree-org { padding-left: 0; list-style: none; }
.tree-org ul { list-style: none; padding-left: 26px; border-left: 2px solid var(--border); margin-left: 10px; }
.tree-node { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; margin: 2px 0; }
.tree-node:hover { background: var(--bg); }

.hier-box { border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.hier-box:hover { border-color: var(--primary); }
.hier-link { width: 2px; height: 16px; background: var(--border); margin: 0 auto; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-cell { background: var(--bg); border-radius: 8px; min-height: 74px; padding: 6px; font-size: 12px; }
.cal-cell .d { font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.cal-cell.today { outline: 2px solid var(--primary); }
.cal-ev { background: var(--primary-soft); color: var(--primary); border-radius: 5px; padding: 2px 6px; margin-bottom: 3px; font-weight: 600; cursor: default; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.funnel-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.funnel-bar { height: 30px; border-radius: 6px; color: #fff; display: flex; align-items: center; padding: 0 12px; font-weight: 700; font-size: 12.5px; min-width: 56px; }

.help-fab {
  position: fixed; bottom: 22px; right: 22px; z-index: 80; width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none; font-size: 21px; box-shadow: 0 8px 24px rgba(2, 87, 153, .45);
}
.help-fab:hover { background: var(--primary-dark); }
.prompt-bubble {
  position: fixed; bottom: 78px; right: 22px; z-index: 81; background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow); padding: 13px 15px; width: 270px; animation: pop .2s;
}
.prompt-bubble .x { position: absolute; top: 6px; right: 8px; background: none; border: none; color: var(--muted); font-size: 14px; }

.chat-msg { margin-bottom: 10px; }
.chat-msg.agent { text-align: left; }
.chat-msg.you { text-align: right; }
.chat-bubble { display: inline-block; background: var(--bg); padding: 9px 13px; border-radius: 12px; max-width: 85%; text-align: left; line-height: 1.45; }
.chat-msg.you .chat-bubble { background: var(--primary); color: #fff; }
.chart-empty { color: var(--muted); text-align: center; padding: 26px 0; font-size: 13px; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
.hl { background: #fff3c2; color: #181818; border-radius: 3px; padding: 0 2px; }
.mt8{margin-top:8px}.mt16{margin-top:16px}.mb8{margin-bottom:8px}.mb16{margin-bottom:16px}
.flex { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }
.muted { color: var(--muted); }
.right { text-align: right; }
.w100 { width: 100%; }

@media (max-width: 900px) {
  .sidebar { position: fixed; left: 0; top: 52px; bottom: 0; z-index: 70; transform: translateX(-105%); transition: transform .2s; }
  .sidebar.open { transform: none; }
  .main { padding: 16px 12px 60px; }
  .hide-sm { display: none !important; }
}
