/* ==================================================================
   my.anydesk II — console demo (vanilla css)
   Palette measured from the real console:
   red #EF443B · text #464646 · heading ~#313131 · bg #FAFAFA
   ================================================================== */

:root {
  --red: #EF443B;
  --red-hover: #d83a32;
  --red-deep: #C62B22;
  --red-soft: #FDECEA;
  --orange: #F26722;
  --text: #464646;
  --heading: #313131;
  --muted: #8a8a8a;
  --bg: #FAFAFA;
  --line: #E7E7E7;
  --line-soft: #EFEFEF;
  --dark-panel: #3D3D3D;
  --green: #2E9E44;
  --blue: #005BBF;
  --yellow: #C8B100;
  --sidebar-w: 255px;
  --radius: 10px;
  --font: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
a { color: var(--red); text-decoration: none; }
[hidden] { display: none !important; }

/* ---------- shared bits ---------- */

.ad-mark { flex: none; display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 8px;
  padding: 10px 27px; font-size: 13px; font-weight: 500; line-height: 1.35;
  background: var(--red); color: #fff; transition: background .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { background: var(--red-hover); }
.btn:disabled { background: #DEDEDE; color: #A9A9A9; cursor: default; }
.btn-deep { background: var(--red-deep); }
.btn-deep:hover { background: #a92418; }
.btn-orange { background: var(--orange); }
.btn-orange:hover { background: #d95a1c; }
.btn-outline { background: transparent; border-color: var(--red); color: var(--red); }
.btn-outline:hover { background: var(--red-soft); }
.btn-outline.on-dark { border-color: var(--red); color: var(--red); }
.btn-block { width: 100%; }
.btn-pill { border-radius: 50px; padding: 14px 27px; }
.btn .plus { font-size: 20px; font-weight: 300; line-height: 0; margin-top: -2px; }

.link { color: var(--red); font-size: 13px; }
.link:hover { text-decoration: underline; }
.link.dark { color: var(--text); font-weight: 600; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 50px;
  padding: 3px 12px 3px 8px; font-size: 13px; color: var(--text); background: #fff;
  white-space: nowrap;
}
.badge i { width: 16px; height: 16px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; }
.badge i svg { width: 10px; height: 10px; }
.badge-green i { background: var(--green); color: #fff; }
.badge-red i { background: var(--red); color: #fff; }
.badge-gray i { background: #9E9E9E; color: #fff; }
.badge-yellow i { background: var(--yellow); color: #fff; }
.badge-blue i { background: var(--blue); color: #fff; }
.badge-soft { border-color: transparent; background: #F4F4F4; }
.badge i.dot-blue { background: var(--blue); color: #fff; }
.badge i.dot-gray { background: #9E9E9E; color: #fff; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.card-title { font-size: 20px; font-weight: 700; color: var(--heading); }
.card-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* checkbox */
.check { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text); cursor: pointer; user-select: none; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check i {
  width: 17px; height: 17px; border: 1.6px solid #9E9E9E; border-radius: 3px;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  transition: all .12s;
}
.check input:checked + i { background: var(--red); border-color: var(--red); }
.check input:checked + i::after {
  content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

/* inputs */
.input, .field input, textarea.input, select.input {
  width: 100%; border: 1px solid #BDBDBD; border-radius: 8px;
  padding: 11px 14px; font-size: 14px; color: var(--text); background: #fff;
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .field input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(239,68,59,.12); }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--heading); }
.field-error { display: block; color: var(--red); font-size: 12px; font-style: normal; margin-top: 6px; }
.field.invalid input { border-color: var(--red); }
.input-search { padding-left: 38px; }
.search-wrap { position: relative; }
.search-wrap > svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #9E9E9E; pointer-events: none; }

/* tabs */
.tabs { display: flex; gap: 34px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tabs a {
  padding: 10px 2px; color: var(--text); font-size: 14px; position: relative;
}
.tabs a.active { color: var(--red); font-weight: 500; }
.tabs a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); }

/* table */
.table-card { padding: 20px 0 10px; }
table.tbl { width: 100%; border-collapse: collapse; }
.tbl th {
  text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .5px;
  color: var(--heading); padding: 12px 16px; text-transform: uppercase;
  border-bottom: 1px solid var(--line-soft);
}
.tbl td { padding: 15px 16px; border-bottom: 1px solid var(--line-soft); font-size: 14px; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.tbl .sub { display: block; font-size: 12.5px; color: var(--muted); }
.tbl th .sort { display: inline-block; margin-left: 4px; color: #BDBDBD; font-size: 10px; }
.tbl-hover tbody tr:hover { background: #FCFCFC; }
.tbl .cell-main { font-weight: 600; color: var(--heading); }
.empty-note { color: var(--muted); padding: 26px 16px; font-size: 14px; }

/* pagination */
.pager { display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 12px 18px 6px; font-size: 13px; }
.pager select { border: none; border-bottom: 1.5px solid #BDBDBD; background: transparent; font-size: 13px; padding: 2px 4px; color: var(--text); }
.pager .pg-btn { border: none; background: none; color: #BDBDBD; font-size: 15px; padding: 4px 8px; border-radius: 50%; }
.pager .pg-num { width: 30px; height: 30px; border-radius: 50%; background: #F0F0F0; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; color: var(--text); }

/* status filter chips */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; padding: 0 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); border-radius: 50px; background: #fff;
  padding: 4px 14px 4px 8px; font-size: 13px; color: var(--text); transition: all .12s;
}
.chip i { width: 16px; height: 16px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; }
.chip i svg { width: 9px; height: 9px; }
.chip.off { opacity: .45; }
.chip .dot-green { background: var(--green); color: #fff; }
.chip .dot-red { background: var(--red); color: #fff; }
.chip .dot-gray { background: #9E9E9E; color: #fff; }
.chip .dot-yellow { background: var(--yellow); color: #fff; }
.chip .dot-blue { background: var(--blue); color: #fff; }

/* ==================================================================
   LOGIN
   ================================================================== */

.login-view {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  padding: 58px 20px 40px; position: relative; overflow: hidden;
}
.login-bg-chevron { position: absolute; opacity: .55; pointer-events: none; }
.login-bg-chevron::before, .login-bg-chevron::after {
  content: ""; position: absolute; border: solid #EDEDED; border-width: 0 90px 90px 0;
  width: 260px; height: 260px; transform: rotate(-45deg);
}
.login-bg-chevron.c1 { left: -60px; top: 45%; }
.login-bg-chevron.c2 { left: 120px; bottom: -140px; opacity: .35; }
.login-bg-chevron.c1::after { top: 120px; left: 60px; border-color: transparent #F4F4F4 #F4F4F4 transparent; }
.login-bg-chevron.c2::after { top: -90px; left: -40px; border-color: transparent #F2F2F2 #F2F2F2 transparent; }

.login-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 34px; position: relative; }
.login-brand-text { font-size: 24px; }
.login-brand-text b { color: var(--red); font-weight: 700; }
.login-brand-text b.dark { color: var(--heading); }

.login-card {
  display: flex; width: 862px; max-width: 96vw; min-height: 608px;
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 6px 40px rgba(0,0,0,.14); position: relative; z-index: 1;
}
.login-promo {
  width: 420px; flex: none; padding: 120px 44px 40px; color: #fff; position: relative; overflow: hidden;
  background:
    linear-gradient(160deg, rgba(60,20,18,.62) 0%, rgba(15,12,12,.92) 55%),
    radial-gradient(120% 90% at 20% 0%, #7a2c25 0%, #241311 55%, #141010 100%);
}
.login-promo::before { /* hands photo suggestion: subtle red glow top-left */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 34% at 68% 12%, rgba(239,68,59,.28), transparent 70%),
    radial-gradient(45% 30% at 30% 8%, rgba(255,150,120,.16), transparent 70%);
}
.login-promo h3 { font-size: 27px; font-weight: 300; line-height: 1.25; position: relative; }
.login-promo h3.accent { color: #FF7A45; font-weight: 700; margin-top: 4px; }
.login-promo p { margin-top: 26px; font-size: 14.5px; line-height: 1.55; font-weight: 600; position: relative; }
.login-promo-icon { position: relative; margin-bottom: 26px; }
.promo-chevron { position: absolute; border: solid rgba(255,255,255,.09); border-width: 0 44px 44px 0; width: 140px; height: 140px; transform: rotate(-45deg); }
.promo-chevron.p1 { right: -70px; bottom: 24px; }
.promo-chevron.p2 { right: -30px; bottom: -60px; border-color: transparent rgba(255,255,255,.06) rgba(255,255,255,.06) transparent; }

.login-form { flex: 1; padding: 40px 44px 26px; display: flex; flex-direction: column; }
.login-form h2 { font-size: 22px; font-weight: 700; color: var(--heading); text-align: center; margin-bottom: 30px; }
.pass-wrap { position: relative; }
.pass-wrap .eye {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #9E9E9E; padding: 4px; display: flex;
}
.login-row { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 24px; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--heading); font-weight: 600; font-size: 14px; margin: 22px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.login-foot { margin-top: auto; padding-top: 26px; display: flex; justify-content: center; align-items: center; gap: 16px; font-size: 13px; }
.login-foot .sep { width: 1px; height: 16px; background: #CFCFCF; }
#sso-btn { border-radius: 50px; padding: 13px 27px; }

/* ==================================================================
   APP SHELL
   ================================================================== */

.app { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w); flex: none; background: #fff;
  border-right: 1px solid var(--line); display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 22px 26px 30px; }
.brand-text { font-size: 19px; font-weight: 700; color: var(--heading); letter-spacing: -.3px; }

.sidebar-nav { display: flex; flex-direction: column; }
.nav-item {
  display: flex; align-items: center; gap: 15px;
  padding: 13px 26px 13px 30px; color: #545454; font-size: 14px; font-weight: 500;
  border-left: 3px solid transparent; position: relative; cursor: pointer;
}
.nav-item svg { width: 20px; height: 20px; flex: none; }
.nav-item:hover { background: #F7F7F7; }
.nav-item.active { background: var(--red-soft); border-left-color: var(--red); color: var(--heading); }
.nav-item .caret { margin-left: auto; width: 8px; height: 8px; border-right: 1.8px solid #9E9E9E; border-bottom: 1.8px solid #9E9E9E; transform: rotate(-45deg); transition: transform .15s; }
.nav-item.expanded .caret { transform: rotate(45deg); }
.nav-sub { overflow: hidden; max-height: 0; transition: max-height .18s ease; background: #FCFCFC; }
.nav-sub.open { max-height: 400px; }
.nav-sub a { display: block; padding: 10px 26px 10px 71px; font-size: 13.5px; color: #545454; }
.nav-sub a:hover { background: #F4F4F4; }
.nav-sub a.active { color: var(--red); font-weight: 600; }

.sidebar-version { margin-top: auto; padding: 24px 0 16px; text-align: center; border-bottom: 1px solid var(--line); }
.ver-link { color: var(--red); font-weight: 700; font-size: 14px; }
.ver-link:hover { text-decoration: underline; }

.sidebar-foot { padding: 10px 0 22px; display: flex; flex-direction: column; }
.sidebar-foot .nav-item { font-weight: 400; }
.sidebar-foot .nav-item.accent { color: var(--red); }

.main-wrap { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
  display: flex; justify-content: flex-end; align-items: center;
  padding: 18px 34px 10px; position: relative; z-index: 30;
}
.topbar-right { display: flex; align-items: center; gap: 18px; position: relative; }
.flag-btn { background: none; border: none; padding: 4px; border-radius: 4px; display: flex; }
.flag-btn:hover { background: #F0F0F0; }
.us-flag { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.user-chip { display: flex; align-items: center; gap: 12px; background: none; border: none; padding: 6px 8px; border-radius: 8px; }
.user-chip:hover { background: #F0F0F0; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; background: #C4C4C4; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; letter-spacing: .5px;
}
.user-mail { font-size: 14.5px; color: var(--text); }
.user-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 180px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12); overflow: hidden; z-index: 50;
}
.user-menu a { display: block; padding: 12px 18px; color: var(--text); font-size: 14px; }
.user-menu a:hover { background: #F5F5F5; }

.view { flex: 1; padding: 8px 34px 60px; max-width: 1500px; width: 100%; }

.fab {
  position: fixed; right: 34px; bottom: 34px; width: 46px; height: 46px;
  border-radius: 6px; border: none; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(239,68,59,.4); z-index: 40;
}
.fab:hover { background: var(--red-hover); }

/* page header */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; margin: 10px 0 22px; }
.page-title { font-size: 32px; font-weight: 800; color: var(--heading); letter-spacing: -.5px; display: flex; align-items: center; gap: 10px; }
.page-title .help { width: 20px; height: 20px; color: #BDBDBD; }
.page-sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.page-actions { display: flex; gap: 14px; align-items: center; }

/* ==================================================================
   DASHBOARD
   ================================================================== */

.maint-banner {
  display: flex; gap: 18px; align-items: flex-start;
  background: linear-gradient(90deg, #EF5B50 0%, #E84A3E 60%, #E14438 100%);
  color: #fff; border-radius: 14px; padding: 24px 30px; margin-bottom: 30px;
}
.maint-banner svg { flex: none; margin-top: 2px; }
.maint-banner h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.maint-banner p { font-size: 13.5px; line-height: 1.55; opacity: .95; }
.maint-banner u { cursor: pointer; }

.notif-panel { background: var(--dark-panel); border-radius: 10px; margin: 26px 0; overflow: hidden; }
.notif-head {
  display: flex; align-items: center; gap: 10px; padding: 16px 22px;
  color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; user-select: none;
}
.notif-head .bell { position: relative; display: flex; }
.notif-head .count {
  position: absolute; top: -7px; right: -9px; background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; padding: 0 3px;
}
.notif-head .chev { margin-left: auto; color: var(--red); font-size: 18px; transition: transform .15s; }
.notif-head .chev.up { transform: rotate(180deg); }
.notif-item { display: flex; align-items: center; gap: 20px; padding: 22px 28px; border-top: 1px solid #555; }
.notif-item:first-of-type { border-top: 1px solid #555; }
.notif-item .n-icon { flex: none; width: 38px; display: flex; justify-content: center; }
.notif-item .n-body { flex: 1; color: #fff; }
.notif-item .n-body h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.notif-item .n-body p { font-size: 13.5px; opacity: .92; max-width: 620px; }
.notif-item .n-body p.note { font-style: italic; font-size: 12.5px; margin-top: 6px; }
.notif-item .n-actions { display: flex; gap: 14px; flex: none; }
.notif-item .n-close { background: none; border: none; color: #fff; font-size: 20px; padding: 6px; align-self: flex-start; line-height: 1; }

.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat-card { position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; padding: 26px 24px; min-height: 112px; }
.stat-card .icon-circle {
  width: 52px; height: 52px; border: 1.4px solid #9E9E9E; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex: none; color: #545454;
}
.stat-card .num { font-size: 26px; font-weight: 800; color: var(--red); line-height: 1.1; }
.stat-card .lbl { font-size: 15px; font-weight: 700; color: var(--heading); margin-top: 2px; }
.stat-card .sub2 { font-size: 12.5px; color: var(--muted); }
.chevron-deco { position: absolute; right: -14px; top: 0; bottom: 0; width: 130px; opacity: .5; pointer-events: none; }
.chevron-deco::before, .chevron-deco::after {
  content: ""; position: absolute; top: 50%; width: 78px; height: 78px;
  border-right: 20px solid #F2F2F2; border-top: 20px solid #F2F2F2;
  transform: translateY(-50%) rotate(45deg); border-radius: 6px;
}
.chevron-deco::after { right: 44px; }
.chevron-deco::before { right: 78px; }

.builds-card { grid-column: 3; grid-row: 1 / span 2; }
.build-item { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.build-logo { width: 40px; height: 40px; border-radius: 7px; background: var(--red); flex: none; display: flex; align-items: center; justify-content: center; }
.build-item .b-name { font-weight: 600; color: var(--heading); font-size: 14.5px; }
.build-item .b-plat { font-size: 13px; color: var(--muted); }
.build-item .dl { margin-left: auto; background: none; border: none; color: #9E9E9E; padding: 8px; border-radius: 6px; }
.build-item .dl:hover { background: #F0F0F0; color: var(--text); }

.clients-online { display: flex; flex-direction: column; align-items: center; padding: 40px 20px 30px; }
.clients-online .big-circle {
  width: 64px; height: 64px; border-radius: 50%; background: #F4F4F4;
  display: flex; align-items: center; justify-content: center; color: #9E9E9E; margin-bottom: 22px;
}
.clients-online .co-1 { font-size: 14px; color: var(--text); }
.clients-online .co-2 { font-size: 14px; color: var(--muted); }

.release-card .ver { font-size: 22px; font-weight: 800; color: var(--heading); display: flex; justify-content: space-between; align-items: center; }
.release-card .ver .date { font-size: 13px; font-weight: 400; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.release-card .tag {
  display: inline-block; margin-top: 10px; padding: 2px 12px; font-size: 12px;
  border: 1.4px solid var(--green); color: var(--green); border-radius: 50px; font-weight: 500;
}
.release-card p { margin-top: 12px; font-size: 13.5px; color: var(--text); }
.release-card .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; font-size: 13px; color: var(--muted); }

.promo-dark {
  border-radius: var(--radius); padding: 30px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #4A1016 0%, #2B0A12 60%, #1A070C 100%);
  border: none;
}
.promo-dark::before { content: ""; position: absolute; right: -40px; top: -30px; width: 200px; height: 200px; border: 26px solid rgba(239,68,59,.15); transform: rotate(45deg); }
.promo-dark h3 { font-size: 24px; font-weight: 300; line-height: 1.3; }
.promo-dark h3 b { color: #FF7A45; display: block; font-weight: 700; }
.promo-dark p { margin: 18px 0 24px; font-size: 13.5px; line-height: 1.55; opacity: .92; }
.promo-dark .key-icon { position: absolute; top: 22px; right: 24px; opacity: .5; }

/* ==================================================================
   USER MANAGEMENT / TABLES
   ================================================================== */

.tag-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.row-actions { display: flex; gap: 8px; justify-content: flex-end; }
.icon-btn { background: none; border: none; color: #9E9E9E; padding: 7px; border-radius: 6px; display: inline-flex; }
.icon-btn:hover { background: #F0F0F0; color: var(--text); }

.role-perms { display: flex; flex-wrap: wrap; gap: 8px; }

/* ==================================================================
   ADDRESS BOOKS
   ================================================================== */

.ab-layout { display: grid; grid-template-columns: 340px 1fr; gap: 18px; align-items: start; }
.ab-list { padding: 18px; }
.ab-list .search-wrap { margin-bottom: 14px; }
.ab-group { padding: 10px 12px 4px; font-size: 14px; font-weight: 600; color: var(--heading); display: flex; align-items: center; gap: 10px; }
.ab-group svg { width: 17px; height: 17px; flex: none; color: #757575; }
.ab-book {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 22px;
  border-radius: 6px; cursor: pointer; font-size: 14px;
}
.ab-book:hover { background: #F5F5F5; }
.ab-book.active { background: #fff; box-shadow: inset 0 0 0 1.5px var(--red); font-weight: 600; color: var(--heading); }
.ab-book .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; }
.ab-menu { min-width: 210px; }
.ab-menu button { display: flex; align-items: center; gap: 10px; }
.ab-menu button svg { flex: none; color: #757575; }
.ab-detail { min-height: 480px; display: flex; flex-direction: column; }
.ab-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); }
.ab-empty svg { color: #BDBDBD; margin-bottom: 18px; }
.ab-empty h4 { color: var(--heading); font-size: 16px; margin-bottom: 6px; }
.ab-detail-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }

/* ==================================================================
   CLIENTS / SESSIONS
   ================================================================== */

.toolbar { display: flex; gap: 14px; align-items: center; padding: 0 16px 16px; flex-wrap: wrap; }
.toolbar .search-wrap { width: 330px; }
.toolbar .input { background: #fff; }
.toolbar .date { width: 160px; display: flex; align-items: center; gap: 8px; }
.toolbar .date svg { color: #757575; flex: none; }

.status-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 8px; }
.status-dot.on { background: var(--green); }
.status-dot.off { background: #BDBDBD; }

.charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 0 16px 16px; }
.chart-box { border: 1px solid var(--line-soft); border-radius: 8px; padding: 18px; }
.chart-box h4 { font-size: 14px; color: var(--heading); margin-bottom: 14px; }
.chart-box canvas { width: 100%; }

/* ==================================================================
   INTEGRATIONS
   ================================================================== */

.int-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.int-card { display: flex; flex-direction: column; }
.int-card .int-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.int-card h3 { font-size: 38px; font-weight: 300; color: var(--heading); letter-spacing: -1px; }
.int-card h3 sup { font-size: 18px; font-weight: 400; }
.int-logo { width: 92px; height: 64px; display: flex; align-items: center; justify-content: center; }
.int-card .int-tag { font-size: 15px; font-weight: 600; color: var(--heading); margin-bottom: 12px; }
.int-card p { font-size: 13.5px; line-height: 1.6; margin-bottom: 10px; }
.int-card .muted-line { color: var(--muted); font-size: 13px; margin: 8px 0 26px; }
.int-card .btn { align-self: flex-end; margin-top: auto; }
.sf-cloud { width: 96px; height: 62px; position: relative; }
.fw-gem { width: 56px; height: 56px; }

/* ==================================================================
   LICENSE
   ================================================================== */

.trial-cta { margin-bottom: 20px; }
.trial-cta h3 { font-size: 19px; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.trial-cta p { font-size: 13.5px; }
.trial-cta p b { color: var(--red); }
.trial-cta .perks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 30px; margin: 18px 0 6px; max-width: 780px; }
.trial-cta .perks span { font-size: 13.5px; font-weight: 600; color: var(--heading); display: flex; gap: 10px; align-items: center; }
.trial-cta .perks i { color: var(--red); font-style: normal; font-weight: 800; }
.trial-cta .cta-row { display: flex; justify-content: flex-end; margin-top: 14px; }

.license-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; align-items: stretch; }
.license-card { position: relative; padding-top: 30px; overflow: hidden; }
.license-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: linear-gradient(90deg, #E91E63, #EF443B, #F26722);
}
.license-card .lc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.license-card .lc-head h3 { font-size: 20px; font-weight: 700; color: var(--heading); }
.kv-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 4px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.kv-row:last-child { border-bottom: none; }
.kv-row .k { color: var(--text); }
.kv-row .v { color: var(--heading); display: flex; align-items: center; gap: 10px; }
.kv-row .v .copy { background: none; border: none; color: var(--red); padding: 4px; display: inline-flex; }
.kv-row .v .reset { background: none; border: none; color: var(--text); font-size: 13px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 6px; }
.kv-row .v .reset:hover { background: #F0F0F0; }
.kv-row .v i.it { font-style: italic; color: var(--text); }
.prod-name { color: var(--red); font-weight: 700; }

/* ==================================================================
   PROFILE
   ================================================================== */

.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1140px; }
.profile-grid .card:first-child { grid-column: 1 / -1; max-width: 560px; }
.profile-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.profile-card-head h3 { font-size: 21px; font-weight: 700; color: var(--heading); }
.profile-card-head .btn { padding: 8px 24px; }
.kv-stack .kv-row { padding: 11px 4px; }
.kv-stack .kv-row .k { font-weight: 600; color: var(--heading); min-width: 130px; }
.kv-stack .kv-row { justify-content: flex-start; gap: 60px; }
.pw-dots { letter-spacing: 3px; color: var(--text); }

/* ==================================================================
   RELEASE NOTES
   ================================================================== */

.rn-item { display: flex; gap: 24px; padding: 26px 4px; border-bottom: 1px solid var(--line-soft); }
.rn-item:last-child { border-bottom: none; }
.rn-ver { flex: none; width: 110px; }
.rn-ver .v { font-size: 18px; font-weight: 800; color: var(--heading); }
.rn-ver .d { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.rn-body h4 { font-size: 15px; color: var(--heading); margin-bottom: 10px; }
.rn-body ul { padding-left: 18px; font-size: 13.5px; }
.rn-body li { margin-bottom: 5px; }
.rn-body .tag { margin-bottom: 10px; }

/* ==================================================================
   SETTINGS
   ================================================================== */

.set-grid { display: grid; grid-template-columns: 240px 1fr; gap: 18px; align-items: start; }
.set-list { padding: 8px; }
.set-list a { display: block; padding: 11px 16px; border-radius: 7px; color: var(--text); font-size: 14px; font-weight: 500; }
.set-list a:hover { background: #F5F5F5; }
.set-list a.active { background: var(--red-soft); color: var(--red); }
.set-row { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.set-row:last-child { border: none; }
.set-row .desc { font-size: 12.5px; color: var(--muted); margin-top: 3px; max-width: 480px; }

/* toggle */
.switch { position: relative; width: 40px; height: 22px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 1; margin: 0; }
.switch i { position: absolute; inset: 0; background: #CFCFCF; border-radius: 20px; transition: background .15s; }
.switch i::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #fff; top: 3px; left: 3px; transition: left .15s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.switch input:checked + i { background: var(--red); }
.switch input:checked + i::after { left: 21px; }

/* ==================================================================
   CUSTOM CLIENT GENERATOR (build wizard)
   ================================================================== */

.wiz-head { display: flex; flex-direction: column; gap: 4px; padding: 26px 30px; margin-bottom: 22px; }
.wiz-head-top { display: flex; align-items: center; justify-content: space-between; }
.wiz-head-top h1 { font-size: 30px; font-weight: 800; color: var(--heading); }
.wiz-head-actions { display: flex; align-items: center; gap: 22px; }
.wiz-head-actions .adv-link { color: var(--red); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.wiz-head-actions .adv-link svg { width: 14px; height: 14px; }
.wiz-head-actions .adv-link:hover { text-decoration: underline; }
.btn-maroon { background: #7C2218; }
.btn-maroon:hover { background: #5f1a12; }

.stepper { display: flex; align-items: flex-start; margin-top: 12px; }
.step { display: flex; flex-direction: column; align-items: center; width: 96px; flex: none; }
.step .ball {
  width: 22px; height: 22px; border-radius: 50%; background: #BDBDBD; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700;
}
.step .ball svg { width: 11px; height: 11px; }
.step.done .ball, .step.current .ball { background: var(--red); }
.step .step-lbl { margin-top: 5px; font-size: 11px; color: var(--muted); line-height: 1.25; text-align: center; }
.step .step-lbl b { display: block; color: var(--text); font-size: 12px; }
.step.current .step-lbl b { color: var(--heading); }
.step-line { flex: 1; height: 1px; background: #D8D8D8; margin-top: 11px; }

.wiz-sec { font-size: 19px; font-weight: 700; color: var(--heading); margin: 30px 0 14px; }
.wiz-sec:first-child { margin-top: 0; }
.wiz-note { font-size: 13.5px; color: var(--text); max-width: 640px; line-height: 1.55; }
.wiz-note .doc-link { color: var(--red); font-size: 13px; }
.wiz-sec-head { display: flex; justify-content: space-between; align-items: baseline; }
.wiz-sec-head .doc-link { color: var(--red); font-size: 13px; }
.wiz-sec-head .doc-link:hover { text-decoration: underline; }

.preset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.preset-card { position: relative; padding: 18px 20px 16px; }
.preset-card h4 { font-size: 15px; font-weight: 700; color: var(--heading); }
.preset-card .pc-desc { font-size: 12.5px; color: var(--text); margin: 8px 0 14px; line-height: 1.5; min-height: 56px; }
.preset-card .pc-foot { display: flex; justify-content: space-between; align-items: center; }
.preset-card .pc-upd { font-size: 11.5px; color: var(--muted); }
.preset-card .pc-logo { position: absolute; top: 14px; right: 16px; }
.preset-card .btn { padding: 7px 18px; font-size: 12.5px; }

.os-grid { display: flex; gap: 14px; flex-wrap: wrap; }
.os-tile {
  width: 118px; height: 104px; border: 1.5px solid var(--line); border-radius: 8px;
  background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  font-size: 13px; font-weight: 600; color: var(--heading); transition: all .12s;
}
.os-tile svg { width: 34px; height: 34px; color: #444; }
.os-tile .dep { font-size: 10px; color: var(--muted); font-weight: 400; margin-top: -8px; }
.os-tile:hover { border-color: #C9C9C9; }
.os-tile.sel { border-color: var(--red); background: var(--red); color: #fff; }
.os-tile.sel svg { color: #fff; }
.os-tile.sel .dep { color: rgba(255,255,255,.8); }
.os-opts { display: flex; gap: 14px; margin-top: 16px; }
.os-opts .sel-wrap { flex: 1; max-width: 340px; }
.sel-wrap label { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.sel-wrap select, .sel-wrap .input { width: 100%; }

.sel-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sel-card {
  position: relative; border: 1.6px solid var(--line); border-radius: 10px; background: #fff;
  padding: 30px 20px 0; text-align: center; cursor: pointer; transition: border-color .12s;
  display: flex; flex-direction: column; align-items: center; overflow: hidden;
}
.sel-card:hover { border-color: #C4C4C4; }
.sel-card.sel { border-color: var(--red); }
.sel-card .check-c {
  position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%;
  border: 1.6px solid #CFCFCF; background: #fff; display: flex; align-items: center; justify-content: center;
}
.sel-card.sel .check-c { background: var(--red); border-color: var(--red); }
.sel-card .check-c svg { width: 11px; height: 11px; color: #fff; display: none; }
.sel-card.sel .check-c svg { display: block; }
.sel-card .sc-icon { color: #BDBDBD; margin-bottom: 18px; }
.sel-card.sel .sc-icon { color: var(--red); }
.sel-card h4 { font-size: 17px; font-weight: 700; color: var(--heading); }
.sel-card p { font-size: 12.5px; color: var(--text); margin: 8px 0 18px; line-height: 1.45; min-height: 36px; }
.sel-card .sc-tag { align-self: stretch; margin: auto -20px 0; padding: 7px; font-size: 12.5px; font-weight: 700; color: #fff; background: var(--red); }
.sel-card .sc-tag.dark { background: #4A4A4A; }

.bs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 60px; }
.bs-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; }
.bs-row > .lbl { font-size: 14px; color: var(--heading); font-weight: 600; display: flex; align-items: center; gap: 7px; flex: none; }
.bs-row > .lbl svg { width: 15px; height: 15px; color: #BDBDBD; }
.bs-row .ctl { flex: 1; max-width: 260px; }
.row-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: 1px solid var(--line); border-radius: 9px; background: #fff; padding: 15px 20px; margin-bottom: 12px;
}
.row-card .rc-lbl { font-size: 14px; font-weight: 600; color: var(--heading); display: flex; align-items: center; gap: 7px; }
.row-card .rc-lbl svg { width: 15px; height: 15px; color: #BDBDBD; }
.row-card .rc-ctl { display: flex; align-items: center; gap: 14px; }
.row-card .adv-chev { color: var(--red); font-size: 13px; display: inline-flex; align-items: center; gap: 4px; background: none; border: none; padding: 4px; }
.row-card .adv-chev:hover { text-decoration: underline; }
.row-card + .rc-children { margin: -4px 0 12px; }

.profile-tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin: 14px 0 18px; }
.profile-tabs a { padding: 9px 2px; font-size: 14px; color: var(--text); position: relative; display: inline-flex; align-items: center; gap: 7px; }
.profile-tabs a.active { color: var(--red); font-weight: 600; }
.profile-tabs a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); }
.profile-tabs a .rm { color: #9E9E9E; font-size: 12px; }
.profile-tabs a .rm:hover { color: var(--red); }
.profile-tabs .add-p { margin-left: auto; color: var(--red); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; padding: 9px 2px; }
.profile-tabs .add-p:hover { text-decoration: underline; }

.perm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 60px; }
.perm-grid .set-row { padding: 10px 4px; border-bottom: none; font-size: 13.5px; }
.perm-grid .set-row .desc { display: none; }
.set-row > div > svg { width: 15px; height: 15px; color: #BDBDBD; vertical-align: -3px; margin-left: 4px; }
.adv-row { display: flex; justify-content: flex-end; margin-bottom: 6px; }
.adv-row a { color: var(--red); font-size: 13px; display: inline-flex; align-items: center; gap: 5px; }

.tray-colors { display: flex; gap: 16px; flex-wrap: wrap; }
.tray-swatch { display: flex; flex-direction: column; align-items: center; gap: 9px; background: none; border: none; padding: 0; }
.tray-swatch .sq {
  width: 46px; height: 46px; border-radius: 7px; display: flex; align-items: center; justify-content: center;
  border: 2px solid transparent;
}
.tray-swatch .radio {
  width: 18px; height: 18px; border-radius: 50%; border: 1.6px solid #C4C4C4; background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.tray-swatch.sel .radio { border-color: var(--red); background: var(--red); }
.tray-swatch .radio svg { width: 9px; height: 9px; color: #fff; opacity: 0; }
.tray-swatch.sel .radio svg { opacity: 1; }

.upload-row { display: flex; justify-content: flex-end; }
.upload-btn { position: relative; overflow: hidden; }
.upload-btn input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.logo-preview { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.logo-preview img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; }

.summary-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; align-items: start; }
.summary-side { display: flex; flex-direction: column; gap: 18px; }
.sum-name { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--heading); }
.sum-name .build-logo { width: 34px; height: 34px; }

.wiz-nav { display: flex; justify-content: flex-end; gap: 14px; margin-top: 26px; padding-right: 66px; }

.conn-route { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 6px; }
.conn-route .lbl { font-size: 15px; font-weight: 700; color: var(--heading); display: flex; align-items: center; gap: 8px; }
.conn-route .lbl svg { width: 15px; height: 15px; color: #BDBDBD; }
.conn-route select { width: 240px; }

/* ==================================================================
   MODAL / TOAST
   ================================================================== */

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(20,20,20,.45);
  display: flex; align-items: center; justify-content: center; z-index: 100;
  animation: fade .15s ease;
}
@keyframes fade { from { opacity: 0; } }
.modal {
  width: 480px; max-width: 94vw; max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: 12px; padding: 28px 30px;
  box-shadow: 0 18px 60px rgba(0,0,0,.25); animation: pop .16s ease;
}
@keyframes pop { from { transform: translateY(10px) scale(.98); opacity: 0; } }
.modal h3 { font-size: 19px; font-weight: 700; color: var(--heading); margin-bottom: 20px; }
.modal .modal-foot { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.modal .btn-text { background: none; border: none; color: var(--text); font-size: 13px; font-weight: 500; padding: 10px 16px; border-radius: 8px; }
.modal .btn-text:hover { background: #F0F0F0; }
.modal p.muted { font-size: 13px; color: var(--muted); margin: -8px 0 18px; }
.modal { position: relative; }
.modal .mx {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  color: #9E9E9E; font-size: 20px; line-height: 1; padding: 8px; font-weight: 300;
}
.modal .mx:hover { color: var(--text); }

/* password generator */
.pw-desc { font-size: 14px; color: var(--text); line-height: 1.55; margin: -4px 0 20px; }
.pw-row { display: flex; align-items: center; gap: 20px; margin-bottom: 16px; }
.pw-row > label { flex: none; width: 140px; font-size: 14px; font-weight: 500; color: var(--heading); }
.pw-in { position: relative; flex: 1; }
.pw-in .input { width: 100%; padding-right: 42px; }
.pw-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #9E9E9E; padding: 5px; display: flex; }
.pw-eye:hover { color: var(--text); }
.pw-err { color: var(--red); font-size: 12.5px; margin-top: 14px; }
.pw-res { margin-top: 18px; }
.pw-res > label { display: block; font-size: 13px; font-weight: 600; color: var(--heading); margin-bottom: 6px; }
.pw-val { display: flex; align-items: center; gap: 8px; background: #F5F5F5; border-radius: 8px; padding: 9px 12px; }
.pw-val code { flex: 1; font-size: 12.5px; word-break: break-all; color: var(--text); font-family: Consolas, monospace; }
.pw-val .icon-btn { flex: none; }

/* advanced settings (custom client generator) */
.adv-vsl { position: absolute; top: 22px; right: 52px; font-size: 13.5px; color: var(--red); text-decoration: underline; cursor: pointer; }
.adv-keylist { border: 1px solid #E0E0E0; border-radius: 8px; margin-bottom: 16px; max-height: 190px; overflow-y: auto; }
.adv-kitem { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; font-size: 12.5px; border-bottom: 1px solid #F0F0F0; }
.adv-kitem:last-child { border-bottom: none; }
.adv-kitem code { color: var(--text); font-family: Consolas, monospace; }
.adv-info { display: flex; gap: 12px; border: 1.4px solid #90CAF9; border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; }
.adv-ico { flex: none; color: #1E88E5; }
.adv-info b { font-size: 14px; color: var(--heading); }
.adv-info p { font-size: 13px; color: var(--text); line-height: 1.55; margin-top: 6px; }
.adv-info code { font-family: Consolas, monospace; font-size: 12.5px; }
.adv-lbl { font-size: 14px; font-weight: 600; color: var(--heading); margin-bottom: 8px; }
.adv-ta { width: 100%; min-height: 108px; resize: vertical; font-family: Consolas, monospace; font-size: 12.5px; }
.adv-q { color: #BDBDBD; display: inline-flex; vertical-align: middle; margin-left: 4px; }
.or-div { display: flex; align-items: center; gap: 14px; margin: 20px 0; color: var(--muted); font-size: 13px; }
.or-div::before, .or-div::after { content: ''; flex: 1; border-top: 1px solid #E0E0E0; }
.dz { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1.6px dashed #C9C9C9; border-radius: 10px; padding: 30px 16px; cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.dz:hover, .dz.over { border-color: var(--red); background: #FFF7F6; }
.dz-ico { color: #BDBDBD; margin-bottom: 6px; }
.dz-ico svg { width: 26px; height: 26px; }
.dz-t { font-size: 14.5px; font-weight: 600; color: var(--heading); }
.dz-s { font-size: 12.5px; color: var(--muted); }
.dz-name { font-size: 12.5px; color: var(--red); font-weight: 600; margin-top: 4px; }

/* invite user dialog — two-column fields with underline inputs */
.m-field { display: flex; align-items: center; gap: 20px; margin-bottom: 14px; }
.m-field > label { flex: none; width: 150px; font-size: 14px; font-weight: 500; color: var(--heading); }
.m-field .req { color: var(--red); }
.m-input {
  flex: 1; border: none; border-bottom: 1.6px solid #BDBDBD; background: transparent;
  padding: 9px 2px; font-size: 14px; color: var(--text); outline: none; transition: border-color .15s;
}
.m-input:focus { border-bottom-color: var(--red); }
.m-input::placeholder { color: #BDBDBD; }
.m-field.invalid .m-input { border-bottom-color: var(--red); }
.m-field.invalid label { color: var(--red); }
.m-note { font-size: 13.5px; font-weight: 600; color: var(--heading); margin: 6px 0 18px; }
.m-sub { font-size: 12.5px; color: var(--muted); margin: 6px 0 16px; }
.m-role { margin-top: 8px; }
.m-role select { padding: 13px 14px; color: var(--text); }
.m-foot2 { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; gap: 14px; }
.pend-list { max-height: 320px; overflow-y: auto; }
.pend-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 4px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.pend-row:last-child { border-bottom: none; }
.pend-row .p-mail { font-weight: 600; color: var(--heading); }
.pend-row .p-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.pend-row .p-acts { display: flex; gap: 8px; }
.pend-row .p-acts .btn { padding: 7px 16px; font-size: 12.5px; }
.pend-empty { text-align: center; color: var(--muted); padding: 36px 0; }

#toast-root { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--heading); color: #fff; padding: 13px 22px; border-radius: 8px;
  font-size: 13.5px; box-shadow: 0 8px 24px rgba(0,0,0,.25); animation: toast-in .2s ease;
  display: flex; align-items: center; gap: 10px;
}
.toast.ok i { color: #6FD98A; font-style: normal; }
.toast.err i { color: #FF8A80; font-style: normal; }
@keyframes toast-in { from { transform: translateY(14px); opacity: 0; } }

/* dropdown (utilities / options) */
.menu-pop {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12); min-width: 170px; overflow: hidden; z-index: 60;
}
.menu-pop a, .menu-pop button { display: block; width: 100%; text-align: left; padding: 11px 16px; font-size: 13.5px; color: var(--text); background: none; border: none; }
.menu-pop a:hover, .menu-pop button:hover { background: #F5F5F5; }
.drop-btn { background: none; border: none; color: var(--text); font-size: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 4px; }
.drop-btn .caret { width: 8px; height: 8px; border-right: 1.8px solid #757575; border-bottom: 1.8px solid #757575; transform: rotate(45deg) translateY(-2px); }

/* scrollbars */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #D5D5D5; border-radius: 6px; border: 2px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

/* responsive */
@media (max-width: 1100px) {
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .license-grid, .int-grid, .charts-grid, .profile-grid { grid-template-columns: 1fr; }
  .ab-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .sidebar { position: fixed; z-index: 80; transform: translateX(-100%); transition: transform .2s; }
  .sidebar.open { transform: none; }
  .login-card { flex-direction: column; }
  .login-promo { width: 100%; padding: 50px 34px; }
  .dash-grid { grid-template-columns: 1fr; }
  .set-grid { grid-template-columns: 1fr; }
}
