:root {
  --text: #f3f5f7;
  --muted: #9aa3ad;
  --line: #222226;
  --bg: #000;
  --panel: #0a0a0b;
  --search: #161618;
  --hover: #141416;
  --active: #16352c;
  --blue: #6cb3ff;
  --green: #3ee08a;
  --logo: #2ee59d;
  --danger: #ff4d4d;
  --input: #111113;
  --on-accent: #04140c;
  --rail: 108px;
  --list: 340px;
  --dialer: 400px;
  --top: 76px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  height: 100%;
  color-scheme: dark;
  font-size: 112%;
}
body {
  margin: 0;
  height: 100%;
  font-family: Roboto, "Google Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}
button, input, select { font-family: inherit; color: inherit; }
svg { fill: currentColor; width: 31px; height: 31px; display: block; }

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background:
    radial-gradient(760px 480px at 82% 6%, rgba(214, 138, 150, .16), rgba(214, 138, 150, 0) 70%),
    radial-gradient(680px 520px at 10% 98%, rgba(120, 140, 190, .12), rgba(120, 140, 190, 0) 70%),
    #0b0b0d;
  color: #f2f2f4;
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}
.login-screen button,
.login-screen input { font-family: inherit; }
.login-card {
  width: min(460px, 100%);
  padding: 40px 40px 30px;
  border-radius: 24px;
  background: rgba(22, 22, 26, .88);
  border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .04);
  backdrop-filter: blur(12px);
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .01em;
}
.login-brand .gv-logo {
  --logo-ink: #111;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
}
.login-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #c9c9cf;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.login-card h1 { margin: 32px 0 6px; font-size: 30px; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.sub { margin: 0 0 28px; color: var(--muted); }
.login-card .sub { font-size: 16px; color: #9a9aa3; }
.login-field { display: grid; gap: 8px; margin-bottom: 16px; font-size: 14px; font-weight: 500; color: #b4b4bc; }
.login-card input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid #2a2a30;
  background: #0f0f12;
  color: #f2f2f4;
  font-size: 17px;
}
.login-card input:focus {
  outline: 0;
  border-color: #6d6d78;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .07);
}
.login-pass { position: relative; display: block; }
.login-pass input { padding-right: 76px; }
.login-show {
  position: absolute;
  top: 50%;
  right: 8px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #a6a6ae;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transform: translateY(-50%);
}
.login-show:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.login-card button[type="submit"] {
  width: 100%;
  height: 54px;
  margin-top: 8px;
  border: 0;
  border-radius: 14px;
  background: #f4f4f6;
  color: #111114;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, transform .06s ease;
}
.login-card button[type="submit"]:hover { background: #fff; }
.login-card button[type="submit"]:active { transform: translateY(1px); }
.login-card .error {
  margin: 2px 0 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 90, 100, .1);
  color: #ff9aa2;
  font-size: 14px;
}
.login-foot { margin: 22px 0 0; font-size: 13px; line-height: 1.5; color: #7d7d86; text-align: center; }
@media (max-width: 520px) {
  .login-card { padding: 30px 22px 24px; border-radius: 20px; }
}
.settings-card input, .settings-card select, .add-contact input, .cid-edit input {
  border: 1px solid #2d2d32;
  background: var(--input);
  border-radius: 10px;
  padding: 16px;
  font-size: 22px;
  color: var(--text);
}
.settings-card input:focus, .settings-card select:focus,
.add-contact input:focus, .cid-edit input:focus, #number:focus {
  outline: 2px solid color-mix(in srgb, var(--logo) 35%, transparent);
  border-color: var(--logo);
}
.error { color: var(--danger); }

.gv { height: 100vh; display: flex; flex-direction: column; overflow: hidden; background: var(--bg); position: relative; }
.greet-date { display: none; }
.today-stats { display: none; }
.gv-top {
  height: var(--top);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px 0 10px;
  border-bottom: 0;
  background: #050505;
}
.icon-btn, .avatar-btn {
  border: 0;
  background: transparent;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.icon-btn:hover, .rail-btn:hover, .avatar-btn:hover { background: var(--search); }
.gv-brand { display: flex; align-items: center; gap: 14px; min-width: 196px; font-size: 31px; color: var(--text); }
.gv-logo {
  position: relative;
  flex: none;
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--logo);
}
.gv-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--logo-ink, #04140c);
  -webkit-mask: url("/static/art/logo-mark.png?v=1") center / 62% no-repeat;
  mask: url("/static/art/logo-mark.png?v=1") center / 62% no-repeat;
}
.gv-logo.sm { width: 50px; height: 50px; border-radius: 12px; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: #3a3a40; }
.dot.on { background: var(--green); box-shadow: 0 0 0 5px rgba(62,224,138,.18); }
.gv-search {
  flex: 1;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--search);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 22px;
  height: 67px;
  color: var(--muted);
  border: 0;
}
.gv-search input {
  border: 0;
  background: transparent;
  flex: 1;
  font-size: 22px;
  outline: none;
  color: var(--text);
}
.gv-top-right { display: flex; align-items: center; gap: 6px; position: relative; margin-left: auto; }
.avatar-btn {
  background: #1a1a1c;
  color: #fff;
  padding: 0;
  overflow: hidden;
  border: 0;
}
.avatar-btn img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  display: block;
}
.account-menu {
  position: absolute; right: 0; top: 64px; z-index: 20;
  background: #121214; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.55); min-width: 308px; padding: 16px;
}
.account-menu p { margin: 0 0 14px; font-size: 18px; }
.portrait-label { color: var(--muted); font-size: 14px !important; margin: 0 0 8px !important; }
.portrait-picks { display: flex; gap: 10px; margin: 0 0 14px; }
.portrait-pick {
  width: 72px !important;
  height: 72px;
  padding: 0 !important;
  border-radius: 50% !important;
  overflow: hidden;
  border: 2px solid #2d2d32 !important;
  background: #1a1a1c !important;
  cursor: pointer;
}
.portrait-pick.on { border-color: #2ee59d !important; }
.portrait-pick img { width: 100%; height: 100%; object-fit: cover; display: block; }
.account-menu button {
  width: 100%; border: 1px solid var(--line); background: #1a1a1c; color: var(--text);
  border-radius: 8px; padding: 12px; cursor: pointer; font-size: 18px;
}

.gv-body { flex: 1; display: flex; min-height: 0; }
.gv-rail {
  width: var(--rail);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-right: 0;
  background: var(--panel);
}
.rail-btn {
  width: 86px; min-height: 72px; border: 0; background: transparent; border-radius: 18px;
  color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; cursor: pointer; font-size: 13px; padding: 8px 0;
}
.rail-btn span { font-size: 13px; line-height: 1; }
.rail-btn svg { width: 26px; height: 26px; }
.rail-btn.active { background: var(--active); color: var(--logo); }

.gv-list {
  width: var(--list);
  border-right: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--panel);
}
.gv.narrow .gv-list { display: none; }
.list-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 22px 12px; }
.list-head h2 { margin: 0; font-size: 22px; font-weight: 500; }
.text-btn, .hide-keypad, .call-as {
  border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 18px;
}
.people-list { overflow: auto; flex: 1; }
.person {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 22px;
  cursor: pointer;
  border: 0;
  width: 100%;
  background: transparent;
  text-align: left;
  color: var(--text);
}
.person:hover { background: var(--hover); }
.person.active { background: var(--active); }
.person .ava {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-weight: 500; font-size: 18px;
}
.person .name { font-size: 20px; }
.person .meta { font-size: 16px; color: var(--muted); margin-top: 3px; }
.person .when { font-size: 16px; color: var(--muted); }
.person.missed .name { color: var(--danger); }
.add-contact { display: grid; gap: 10px; padding: 10px 22px 16px; }
#contacts-pane { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.contact-hint { margin: 0; font-size: 13px; color: var(--muted); }
.person > span { min-width: 0; }
.person .meta.contact-info { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person .meta.contact-note,
.lead-note,
.incall-lead-note { color: var(--blue); }
.lead-note { margin-top: 6px !important; font-size: 15px; }
.incall-lead-note { margin-top: 6px !important; font-size: 16px; }
.add-contact button { background: var(--logo); color: var(--on-accent); border: 0; border-radius: 8px; padding: 12px; cursor: pointer; font-size: 18px; font-weight: 600; }
.notes-pane {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 4px 22px 18px;
}
.notes-text {
  flex: 1;
  min-height: 240px;
  width: 100%;
  resize: none;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--input);
  color: var(--text);
  font: inherit;
  font-size: 17px;
  line-height: 1.55;
}
.notes-text:focus { outline: 0; border-color: var(--muted); }
.notes-status { margin: 8px 2px 0; font-size: 13px; color: var(--muted); }
.me-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  max-width: 280px;
  padding: 0 14px;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--search);
  color: var(--text);
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
}
.me-chip strong { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.me-chip span { color: var(--muted); }
.me-chip strong + span::before { content: "·"; margin-right: 8px; }

.gv-main { flex: 1; min-width: 0; display: grid; place-items: center; background: var(--bg); }
.caught-up { text-align: center; }
.caught-up h1 { font-size: 40px; font-weight: 400; margin: 0 0 12px; }
.caught-up p { margin: 0; color: var(--muted); font-size: 22px; }
.status-line { margin-top: 22px !important; font-size: 18px !important; min-height: 1.2em; }

.incall { text-align: center; }
.incall-avatar {
  width: 134px; height: 134px; border-radius: 50%; margin: 0 auto 22px;
  background: var(--active); color: var(--logo); display: grid; place-items: center; font-size: 50px;
}
.incall-number { font-size: 39px; margin: 0; }
.incall-timer { font-size: 22px; color: var(--muted); margin: 12px 0; }
.incall-actions { display: flex; gap: 22px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.round-ctrl {
  width: 90px; height: 90px; border-radius: 50%; border: 0; background: var(--search);
  cursor: pointer; font-size: 16px; color: var(--text);
}
.round-ctrl.on { background: var(--logo); color: var(--on-accent); }
.round-ctrl.end { background: var(--danger); color: #fff; }
.clip-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.clip-bar button {
  border: 1px solid var(--line); background: #121214; color: var(--text);
  border-radius: 22px; padding: 10px 14px; cursor: pointer; font-size: 16px;
}

.gv-dialer {
  width: var(--dialer);
  border-left: 0;
  padding: 20px 20px 12px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
  background: var(--panel);
}
.call-as { text-align: left; padding: 0 0 16px; font-size: 20px; color: var(--muted); margin: 0; }
.call-as span { color: var(--text); }
.cid-edit { margin-bottom: 14px; }
.cid-edit input { width: 100%; }
.dial-row { display: flex; gap: 12px; align-items: center; }
.lead-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 14px 12px 14px 16px;
  border-radius: 14px;
  background: var(--search);
  border: 1px solid var(--line);
}
.lead-main { flex: 1; min-width: 0; }
.lead-main p { margin: 0; overflow-wrap: anywhere; }
.lead-name { font-size: 19px; font-weight: 600; color: var(--text); }
.lead-email { margin-top: 4px !important; font-size: 15px; color: var(--blue); }
.lead-info {
  margin-top: 6px !important;
  font-size: 15px;
  line-height: 1.35;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lead-clear {
  width: 30px;
  height: 30px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
}
.lead-clear:hover { background: var(--hover); color: var(--text); }
.incall-name { margin: 0 0 6px; font-size: 22px; color: var(--muted); }
.incall.with-name .incall-name { font-size: 38px; color: var(--text); overflow-wrap: anywhere; }
.incall.with-name .incall-number { font-size: 22px; color: var(--muted); }
.incall.with-name .incall-avatar { width: 104px; height: 104px; font-size: 42px; margin-bottom: 18px; }
.incall-lead {
  width: min(460px, 100%);
  margin: 20px auto 0;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--search);
  border: 1px solid var(--line);
  text-align: left;
}
.incall-lead p { margin: 0; overflow-wrap: anywhere; }
.incall-lead-email { font-size: 16px; color: var(--blue); }
.incall-lead-info {
  font-size: 16px;
  line-height: 1.4;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.incall-lead-email + .incall-lead-info { margin-top: 6px; }
#number {
  flex: 1; border: 0; background: var(--input); color: var(--text);
  border-radius: 10px; padding: 14px 16px; font-size: 20px;
}
.call-fab {
  width: 100%;
  height: 58px;
  margin-top: 12px;
  border-radius: 999px;
  border: 0;
  background: #2a2a2e;
  color: #f3f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  flex: none;
  font-size: 20px;
  font-weight: 700;
}
.call-fab:not(:disabled) { background: var(--green); color: var(--on-accent); }
.call-fab:disabled { cursor: default; opacity: 1; }
.incoming-call {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 90;
  width: min(420px, calc(100% - 24px));
  padding: 14px 14px 14px 16px;
  border-radius: 18px;
  background: #16171b;
  color: #f3f5f7;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  animation: incoming-in .28s ease;
}
@keyframes incoming-in {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: none; }
}
.incoming-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3ee08a;
  flex: none;
  animation: incoming-ping 1.4s ease-out infinite;
}
@keyframes incoming-ping {
  0% { box-shadow: 0 0 0 0 rgba(62, 224, 138, .55); }
  70% { box-shadow: 0 0 0 12px rgba(62, 224, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 224, 138, 0); }
}
.incoming-copy { flex: 1; min-width: 0; }
.incoming-kicker { margin: 0; letter-spacing: .08em; text-transform: uppercase; color: #9aa3ad; font-size: 12px; }
.incoming-from {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.incoming-actions { display: flex; gap: 8px; flex: none; }
.incoming-actions button {
  border: 0;
  border-radius: 999px;
  height: 36px;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}
#decline-call { background: transparent; color: #f3f5f7; }
#take-call { background: #3ee08a; color: #04140c; }
html.theme-female .incoming-call {
  background: #261d20;
  color: #f3e7e8;
  border: 1px solid #3a2b2f;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
}
html.theme-female .incoming-kicker { color: #a9959a; }
html.theme-female .incoming-from {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: lining-nums;
}
html.theme-female #decline-call { color: #a9959a; }
html.theme-female #take-call { background: #c06b78; color: #fff; box-shadow: 0 8px 18px rgba(192, 107, 120, .35); }
html.theme-female .incoming-pulse { background: #ec8f9a; animation-name: incoming-ping-rose; }
@keyframes incoming-ping-rose {
  0% { box-shadow: 0 0 0 0 rgba(224, 122, 134, .55); }
  70% { box-shadow: 0 0 0 12px rgba(224, 122, 134, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 122, 134, 0); }
}
.backspace-btn {
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); cursor: pointer;
  font-size: 22px; flex: none;
}
.backspace-btn:hover { background: var(--search); color: var(--text); }
.keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #2a2a2a;
}
.keypad button {
  border: 0; background: transparent; height: 72px; cursor: pointer; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--text);
}
.keypad button:hover { background: var(--search); }
.keypad span { font-size: 39px; line-height: 1; }
.keypad small { font-size: 15px; color: var(--muted); letter-spacing: .08em; }
.hide-keypad { align-self: flex-end; margin-top: 12px; }

.settings {
  position: fixed; inset: 0; background: rgba(0,0,0,.72); display: grid; place-items: center; z-index: 40;
}
.settings-card {
  width: min(670px, calc(100% - 32px)); max-height: calc(100vh - 40px); overflow: auto;
  background: #101012; border: 1px solid var(--line); border-radius: 16px; padding: 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
}
.settings-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.settings-card h2 { margin: 0; font-weight: 400; font-size: 32px; }
.settings-card h3 { margin: 28px 0 10px; font-size: 20px; }
.settings-card h3.settings-first { margin-top: 0; }
.settings-card label { display: grid; gap: 8px; margin-bottom: 18px; font-size: 18px; color: var(--muted); }
.toggle-row { display: flex !important; justify-content: space-between; align-items: center; grid-template-columns: none; }
.hint { color: var(--muted); font-size: 16px; margin: 0 0 16px; }
.ghost, .file-btn {
  border: 1px solid var(--line); background: #1a1a1c; color: var(--text);
  border-radius: 8px; padding: 12px 16px; cursor: pointer; display: inline-block; font-size: 18px;
}
.clips { display: grid; gap: 10px; margin-bottom: 10px; }
.clip { display: flex; justify-content: space-between; align-items: center; padding: 12px; background: var(--search); border-radius: 8px; }
.people-list.compact { max-height: 224px; }
.empty { padding: 32px 22px; color: var(--muted); font-size: 20px; }

.dash-body { background: #000; }
.dash { min-height: 100vh; display: flex; flex-direction: column; }
.dash-status { margin: 0 16px 0 auto !important; font-size: 16px !important; }
.dash-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  padding: 28px;
  align-items: start;
}
.dash-card {
  background: #0a0a0b;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px 0 20px;
  min-height: 280px;
}
.cid-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 22px;
}
.cid-row .meta { color: var(--muted); font-size: 16px; margin-top: 4px; }
.cid-row input {
  border: 1px solid #2d2d32;
  background: var(--input);
  color: var(--text);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 18px;
}
.cid-row button {
  background: var(--logo);
  color: var(--on-accent);
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 600;
  cursor: pointer;
}
.listen-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 16px 22px 0;
  padding: 16px;
  background: #16352c;
  border-radius: 12px;
}
.listen-bar p { margin: 0; font-size: 18px; }
.live-row { width: calc(100% - 0px); }
.muted { color: var(--muted); font-size: 16px; padding-right: 22px; }

html.theme-female {
  color-scheme: dark;
  --ink: #e8a9b1;
  --ink-deep: #f3e7e8;
  --ink-soft: #a9959a;
  --accent: #c06b78;
  --card: #1e1719;
  --card-2: #261d20;
  --rose-100: #2c2124;
  --rose-200: #3a2b2f;
  --rose-300: #8a5a62;
  --text: #f3e7e8;
  --muted: #a9959a;
  --line: #2f2528;
  --bg: #141012;
  --panel: #1e1719;
  --search: #1e1719;
  --hover: #2a2023;
  --active: #2c2124;
  --blue: #e8a9b1;
  --green: #c06b78;
  --logo: #c06b78;
  --danger: #ec7d89;
  --input: #171214;
  --on-accent: #ffffff;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --card-shadow: inset 0 1px 0 rgba(255, 255, 255, .03), 0 16px 36px rgba(0, 0, 0, .35);
  scrollbar-color: #3a2b2f transparent;
}
html.theme-female,
html.theme-female button,
html.theme-female input,
html.theme-female select {
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}
html.theme-female .login-screen,
html.theme-female .gv {
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(192, 107, 120, .16), rgba(192, 107, 120, 0) 70%),
    radial-gradient(700px 480px at 0% 110%, rgba(192, 107, 120, .08), rgba(192, 107, 120, 0) 70%),
    #141012;
  color: var(--ink-deep);
}
html.theme-female .gv-top,
html.theme-female .gv-rail {
  background: transparent;
}
html.theme-female .gv-top { padding: 0 22px 0 14px; gap: 18px; }
html.theme-female .gv-brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 34px;
  letter-spacing: .01em;
  color: var(--ink-deep);
  min-width: 206px;
}
html.theme-female .gv-logo {
  --logo-ink: #ffffff;
  background: var(--accent);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(192, 107, 120, .35);
}
html.theme-female .gv-logo.sm { width: 46px; height: 46px; border-radius: 14px; }
html.theme-female .gv-search {
  height: 54px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: none;
  color: var(--ink-soft);
  gap: 12px;
  padding: 0 20px;
}
html.theme-female .gv-search svg { width: 22px; height: 22px; fill: var(--ink-soft); }
html.theme-female .gv-search input { font-size: 17px; color: var(--ink-deep); }
html.theme-female .gv-search input::placeholder { color: var(--ink-soft); }
html.theme-female .icon-btn { color: var(--ink); }
html.theme-female .icon-btn svg { width: 26px; height: 26px; }
html.theme-female .icon-btn:hover,
html.theme-female .avatar-btn:hover { background: rgba(255, 255, 255, .06); }
html.theme-female .avatar-btn {
  width: 50px;
  height: 50px;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(232, 169, 177, .45);
}
html.theme-female .avatar-btn img { width: 50px; height: 50px; }
html.theme-female .gv-body { gap: 16px; padding: 4px 18px 18px 0; }
html.theme-female .gv-rail { gap: 8px; padding-top: 6px; }
html.theme-female .rail-btn {
  width: 80px;
  min-height: 70px;
  border-radius: 20px;
  color: var(--ink-soft);
}
html.theme-female .rail-btn span { font-size: 12.5px; font-weight: 500; letter-spacing: .02em; }
html.theme-female .rail-btn svg { width: 24px; height: 24px; }
html.theme-female .rail-btn:hover { background: rgba(255, 255, 255, .05); color: var(--ink); }
html.theme-female .rail-btn.active {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--card-shadow);
}
html.theme-female .gv-list,
html.theme-female .gv-main,
html.theme-female .gv-dialer {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .04);
  border-radius: 26px;
  box-shadow: var(--card-shadow);
}
html.theme-female .gv-list { overflow: hidden; }
html.theme-female .list-head { padding: 24px 24px 12px; }
html.theme-female .list-head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 28px;
  color: var(--ink-deep);
}
html.theme-female .text-btn { color: var(--ink-soft); font-size: 15px; font-weight: 500; }
html.theme-female .text-btn:hover { color: var(--ink); }
html.theme-female .people-list { padding: 0 12px 12px; }
html.theme-female .person {
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  padding: 11px 12px;
  border-radius: 16px;
  color: var(--ink-deep);
}
html.theme-female .person:hover { background: var(--hover); }
html.theme-female .person .ava {
  width: 44px;
  height: 44px;
  background: var(--rose-100) !important;
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
}
html.theme-female #recents-list .person .ava {
  font-size: 0;
  background: var(--rose-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e8a9b1'%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5z'/%3E%3C/svg%3E") center/18px no-repeat !important;
}
html.theme-female #recents-list .person.missed .ava {
  background: rgba(236, 125, 137, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ec7d89'%3E%3Cpath d='M3 8.41l9 9 7-7V15h2V7h-8v2h4.59L12 14.59 4.41 7 3 8.41z'/%3E%3C/svg%3E") center/20px no-repeat !important;
}
html.theme-female .person .name { font-size: 17px; font-weight: 500; color: var(--ink-deep); }
html.theme-female .person .meta { font-size: 14px; color: var(--ink-soft); margin-top: 2px; }
html.theme-female .person .when { font-size: 13px; color: var(--ink-soft); }
html.theme-female .empty { color: var(--ink-soft); font-size: 16px; text-align: center; }
html.theme-female .add-contact { padding: 4px 24px 16px; }
html.theme-female .add-contact input {
  background: var(--input);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 17px;
  color: var(--ink-deep);
}
html.theme-female .add-contact input::placeholder { color: var(--ink-soft); }
html.theme-female .notes-pane { padding: 0 20px 18px; }
html.theme-female .contact-hint { color: var(--ink-soft); }
html.theme-female .notes-text {
  border-color: var(--line);
  border-radius: 16px;
  background: var(--input);
  color: var(--ink-deep);
  font-size: 16px;
}
html.theme-female .notes-text::placeholder { color: var(--ink-soft); }
html.theme-female .notes-text:focus {
  border-color: var(--rose-300);
  box-shadow: 0 0 0 4px rgba(232, 169, 177, .16);
}
html.theme-female .notes-status { color: var(--ink-soft); }
html.theme-female .me-chip {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink-deep);
}
html.theme-female .me-chip span { color: var(--ink); }
html.theme-female .gv-main {
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
html.theme-female .gv-main::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 0;
  width: 190px;
  height: 266px;
  background: url("/static/art/botanical-dark.svg?v=1") no-repeat center bottom / contain;
  opacity: .9;
  pointer-events: none;
}
html.theme-female .caught-up,
html.theme-female .incall {
  position: relative;
  z-index: 1;
  padding: 0 24px;
}
html.theme-female .greet-date {
  display: block;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
html.theme-female .caught-up h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 58px;
  line-height: 1.05;
  color: var(--ink-deep);
  margin: 0 0 14px;
}
html.theme-female #greet-name { color: var(--ink); font-style: italic; }
html.theme-female #greet-sub { font-size: 18px; color: var(--ink-soft); }
html.theme-female .status-line:empty { display: none; }
html.theme-female .status-line {
  display: inline-block;
  margin-top: 24px !important;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--rose-100);
  color: var(--ink) !important;
  font-size: 15px !important;
  font-weight: 500;
}
html.theme-female .incall-avatar {
  width: 124px;
  height: 124px;
  margin-bottom: 34px;
  font-size: 0;
  background: var(--rose-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e8a9b1'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.4 21 3 13.6 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center/46px no-repeat;
  box-shadow: 0 0 0 12px rgba(232, 169, 177, .07), 0 0 0 26px rgba(232, 169, 177, .035);
}
html.theme-female .incall-number {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 46px;
  font-variant-numeric: lining-nums;
  color: var(--ink-deep);
}
html.theme-female .incall-timer {
  margin: 10px 0 4px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
html.theme-female #incall-state { margin: 0; font-size: 15px; color: var(--ink-soft); }
html.theme-female .incall-actions { gap: 14px; margin-top: 34px; }
html.theme-female .round-ctrl {
  width: 82px;
  height: 82px;
  border: 1px solid var(--rose-200);
  background: var(--card-2);
  color: var(--ink-deep);
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
}
html.theme-female .round-ctrl:hover { background: var(--hover); }
html.theme-female .round-ctrl.on { background: var(--accent); border-color: var(--accent); color: #fff; }
html.theme-female .round-ctrl.end {
  background: #d45d6c;
  border-color: #d45d6c;
  color: #fff;
  box-shadow: 0 10px 22px rgba(212, 93, 108, .3);
}
html.theme-female .clip-bar button {
  background: var(--card-2);
  border: 1px solid var(--rose-200);
  color: var(--ink-deep);
  font-weight: 500;
}
html.theme-female .clip-bar button:hover { background: var(--hover); }
html.theme-female .gv-dialer { padding: 24px 22px 14px; }
html.theme-female .call-as { font-size: 15px; color: var(--ink-soft); padding-bottom: 12px; }
html.theme-female .dial-row { gap: 8px; }
html.theme-female .lead-card {
  background: var(--card-2);
  border: 1px solid var(--rose-200);
  border-radius: 16px;
}
html.theme-female .lead-name { font-size: 18px; color: var(--ink-deep); }
html.theme-female .lead-email { font-size: 14px; color: var(--ink); }
html.theme-female .lead-info { font-size: 14px; color: var(--ink-soft); }
html.theme-female .lead-note,
html.theme-female .incall-lead-note,
html.theme-female .person .meta.contact-note { color: var(--ink); }
html.theme-female .lead-note { font-size: 14px; }
html.theme-female .incall-lead-note { font-size: 15px; }
html.theme-female .lead-clear { color: var(--ink-soft); }
html.theme-female .lead-clear:hover { background: var(--hover); color: var(--ink); }
html.theme-female .incall-name {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink);
}
html.theme-female .incall.with-name .incall-name {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
  color: var(--ink-deep);
}
html.theme-female .incall.with-name .incall-number {
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink-soft);
}
html.theme-female .incall.with-name .incall-avatar { width: 100px; height: 100px; margin-bottom: 26px; }
html.theme-female .incall-avatar.has-initial {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 600;
  color: var(--ink);
  background-image: none;
}
html.theme-female .incall-lead {
  background: var(--card-2);
  border: 1px solid var(--rose-200);
}
html.theme-female .incall-lead-email { font-size: 15px; color: var(--ink); }
html.theme-female .incall-lead-info { font-size: 15px; color: var(--ink-soft); }
html.theme-female #number {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--input);
  padding: 14px 16px;
  font-size: 24px;
  letter-spacing: .02em;
  color: var(--ink-deep);
}
html.theme-female #number::placeholder { color: var(--ink-soft); font-size: 17px; letter-spacing: 0; }
html.theme-female #number:focus,
html.theme-female .login-card input:focus,
html.theme-female .settings-card input:focus,
html.theme-female .settings-card select:focus,
html.theme-female .add-contact input:focus {
  outline: 0;
  border-color: var(--rose-300);
  box-shadow: 0 0 0 4px rgba(232, 169, 177, .16);
}
html.theme-female .backspace-btn { color: var(--ink-soft); }
html.theme-female .backspace-btn:hover { background: var(--hover); color: var(--ink); }
html.theme-female .keypad {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  row-gap: 2px;
}
html.theme-female .keypad button { height: 66px; border-radius: 20px; }
html.theme-female .keypad button:hover { background: var(--hover); }
html.theme-female .keypad button:active { background: var(--rose-100); }
html.theme-female .keypad span { font-size: 31px; font-weight: 400; color: var(--ink-deep); }
html.theme-female .keypad small { font-size: 10.5px; font-weight: 600; letter-spacing: .2em; color: var(--ink-soft); }
html.theme-female .call-fab {
  height: 58px;
  margin-top: 14px;
  background: var(--rose-100);
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .02em;
}
html.theme-female .call-fab svg { width: 22px; height: 22px; }
html.theme-female .call-fab:not(:disabled) {
  background: linear-gradient(180deg, #d27f8b 0%, #b1606d 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(192, 107, 120, .32);
}
html.theme-female .call-fab:not(:disabled):hover { filter: brightness(1.06); }
html.theme-female .hide-keypad { color: var(--ink-soft); font-size: 14px; }
html.theme-female .settings { background: rgba(6, 4, 5, .62); backdrop-filter: blur(4px); }
html.theme-female .login-card,
html.theme-female .account-menu,
html.theme-female .settings-card {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  color: var(--ink-deep);
}
html.theme-female .settings-card { border-radius: 24px; }
html.theme-female .login-card h1,
html.theme-female .settings-card h2 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink-deep);
}
html.theme-female .settings-card h2 { font-size: 36px; }
html.theme-female .settings-card h3 { color: var(--ink-deep); font-size: 17px; font-weight: 600; }
html.theme-female .settings-card label,
html.theme-female .login-card label,
html.theme-female .sub,
html.theme-female .hint { color: var(--ink-soft); }
html.theme-female .login-card input,
html.theme-female .settings-card input,
html.theme-female .settings-card select,
html.theme-female .account-menu button,
html.theme-female .ghost,
html.theme-female .file-btn {
  background: var(--input);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-deep);
}
html.theme-female .login-card button[type="submit"],
html.theme-female .add-contact button {
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}
html.theme-female .clip { background: var(--input); }
html.theme-female .person.missed .name { color: var(--danger); }

html.theme-male {
  color-scheme: dark;
  --text: #ececee;
  --muted: #8b8f98;
  --faint: #60646c;
  --line: #212428;
  --line-strong: #2c3036;
  --bg: #0c0d0f;
  --panel: #111316;
  --raised: #16181c;
  --search: #16181c;
  --hover: #181b1f;
  --active: #1e2126;
  --blue: #c9cbd1;
  --green: #2f9e6f;
  --logo: #ffffff;
  --logo-ink: #0c0d0f;
  --danger: #e5484d;
  --note: #d6b25e;
  --input: #0f1113;
  --on-accent: #ffffff;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  scrollbar-color: #2a2d33 transparent;
}
html.theme-male,
html.theme-male button,
html.theme-male input,
html.theme-male select,
html.theme-male textarea {
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
}
html.theme-male .gv { background: var(--bg); }

/* Top bar */
html.theme-male .gv-top {
  height: 60px;
  gap: 16px;
  padding: 0 16px 0 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
html.theme-male .gv-brand {
  min-width: 172px;
  gap: 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.01em;
}
html.theme-male .gv-logo.sm { width: 30px; height: 30px; border-radius: 8px; }
html.theme-male .gv-search {
  max-width: 560px;
  height: 38px;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--raised);
}
html.theme-male .gv-search svg { width: 17px; height: 17px; fill: var(--faint); }
html.theme-male .gv-search input { font-size: 14px; }
html.theme-male .gv-search input::placeholder { color: var(--faint); }
html.theme-male .icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  color: var(--muted);
}
html.theme-male .icon-btn svg { width: 19px; height: 19px; }
html.theme-male .icon-btn:hover { background: var(--hover); color: var(--text); }
html.theme-male .avatar-btn {
  width: 34px;
  height: 34px;
  margin-left: 4px;
  box-shadow: 0 0 0 1px var(--line-strong);
}
html.theme-male .avatar-btn:hover { background: transparent; box-shadow: 0 0 0 1px var(--muted); }
html.theme-male .avatar-btn img { width: 34px; height: 34px; }
html.theme-male .me-chip {
  height: 30px;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--raised);
  font-size: 13px;
}
html.theme-male .me-chip span { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* Columns: flush panels split by hairlines */
html.theme-male .gv-rail {
  width: 84px;
  gap: 4px;
  padding-top: 12px;
  background: var(--bg);
  border-right: 1px solid var(--line);
}
html.theme-male .rail-btn {
  width: 64px;
  min-height: 58px;
  gap: 6px;
  border-radius: 10px;
  color: var(--faint);
}
html.theme-male .rail-btn svg { width: 20px; height: 20px; }
html.theme-male .rail-btn span { font-size: 11px; font-weight: 500; letter-spacing: .02em; }
html.theme-male .rail-btn:hover { background: var(--hover); color: var(--text); }
html.theme-male .rail-btn.active { background: var(--active); color: var(--text); }
html.theme-male .gv-list { background: var(--panel); border-right: 1px solid var(--line); }
html.theme-male .gv-dialer { padding: 18px 20px 14px; background: var(--panel); border-left: 1px solid var(--line); }
html.theme-male .gv-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

/* Lists */
html.theme-male .list-head { padding: 18px 20px 10px; }
html.theme-male .list-head h2 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
html.theme-male .text-btn { font-size: 13px; color: var(--faint); }
html.theme-male .text-btn:hover { color: var(--text); }
html.theme-male .people-list { padding: 0 8px 8px; }
html.theme-male .person {
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
}
html.theme-male .person:hover { background: var(--hover); }
html.theme-male .person .ava {
  width: 34px;
  height: 34px;
  background: var(--raised) !important;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--line);
}
html.theme-male #recents-list .person .ava {
  font-size: 0;
  background: var(--raised) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a0a4ad'%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5z'/%3E%3C/svg%3E") center/15px no-repeat !important;
}
html.theme-male #recents-list .person.missed .ava {
  background: rgba(229, 72, 77, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e5484d'%3E%3Cpath d='M3 8.41l9 9 7-7V15h2V7h-8v2h4.59L12 14.59 4.41 7 3 8.41z'/%3E%3C/svg%3E") center/17px no-repeat !important;
  box-shadow: inset 0 0 0 1px rgba(229, 72, 77, .2);
}
html.theme-male .person .name { font-size: 14px; font-weight: 500; color: var(--text); }
html.theme-male .person .meta { margin-top: 2px; font-size: 12.5px; color: var(--muted); }
html.theme-male .person .when { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
html.theme-male .person.missed .name { color: var(--text); }
html.theme-male .person.missed .meta { color: var(--danger); }
html.theme-male .person .meta.contact-note { color: var(--note); }
html.theme-male .empty { font-size: 14px; color: var(--faint); text-align: center; }
html.theme-male .add-contact { gap: 8px; padding: 4px 20px 14px; }
html.theme-male .add-contact input {
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input);
  font-size: 14px;
  color: var(--text);
}
html.theme-male .add-contact input::placeholder { color: var(--faint); }
html.theme-male .add-contact button {
  height: 38px;
  padding: 0;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
}
html.theme-male .add-contact button:hover { background: #fff; }
html.theme-male .contact-hint { font-size: 12px; color: var(--faint); }
html.theme-male .notes-pane { padding: 0 20px 16px; }
html.theme-male .notes-text {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--input);
  font-size: 14px;
  line-height: 1.6;
}
html.theme-male .notes-status { font-size: 12px; color: var(--faint); }
html.theme-male .add-contact input:focus,
html.theme-male .notes-text:focus,
html.theme-male #number:focus,
html.theme-male .settings-card input:focus,
html.theme-male .settings-card select:focus {
  outline: 0;
  border-color: #4a4f57;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .05);
}

/* Home */
html.theme-male .greet-date {
  display: block;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}
html.theme-male .caught-up h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--text);
}
html.theme-male #greet-sub { display: none; }
html.theme-male .today-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(112px, 1fr));
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
html.theme-male .today-stats > div { padding: 14px 18px; text-align: left; }
html.theme-male .today-stats > div + div { border-left: 1px solid var(--line); }
html.theme-male .today-stats span {
  display: block;
  font-size: 22px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
html.theme-male .today-stats small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
html.theme-male .status-line:empty { display: none; }
html.theme-male .status-line {
  display: inline-block;
  margin-top: 18px !important;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--raised);
  color: var(--muted) !important;
  font-size: 13px !important;
}

/* Call screen */
html.theme-male .incall-avatar {
  width: 84px;
  height: 84px;
  margin-bottom: 18px;
  font-size: 0;
  background: var(--raised) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d4d6db'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.4 21 3 13.6 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center/32px no-repeat;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
html.theme-male .incall-avatar.has-initial {
  font-size: 32px;
  font-weight: 500;
  color: var(--text);
  background-image: none;
}
html.theme-male .incall.with-name .incall-avatar { width: 84px; height: 84px; font-size: 32px; margin-bottom: 18px; }
html.theme-male .incall-name { font-size: 14px; color: var(--muted); }
html.theme-male .incall.with-name .incall-name { font-size: 28px; font-weight: 500; letter-spacing: -.02em; color: var(--text); }
html.theme-male .incall-number { font-size: 28px; font-weight: 500; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
html.theme-male .incall.with-name .incall-number { font-size: 15px; font-weight: 400; color: var(--muted); }
html.theme-male .incall-timer {
  margin: 14px 0 4px;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--text);
}
html.theme-male #incall-state { margin: 0; font-size: 13px; color: var(--muted); }
html.theme-male .incall-lead { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
html.theme-male .incall-lead-email { font-size: 14px; color: var(--text); }
html.theme-male .incall-lead-info { font-size: 14px; color: var(--muted); }
html.theme-male .incall-lead-note { font-size: 14px; color: var(--note); }
html.theme-male .incall-actions { gap: 10px; margin-top: 28px; }
html.theme-male .round-ctrl {
  width: 76px;
  height: 66px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--raised);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
html.theme-male .round-ctrl::before {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
html.theme-male .round-ctrl:hover { background: var(--hover); color: var(--text); }
html.theme-male .round-ctrl.on { background: var(--text); border-color: var(--text); color: var(--bg); }
html.theme-male .round-ctrl.end { background: var(--danger); border-color: var(--danger); color: #fff; }
html.theme-male .round-ctrl.end:hover { background: #ee5d61; }
html.theme-male #mute { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72h-1.7z'/%3E%3C/svg%3E"); }
html.theme-male #hold { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z'/%3E%3C/svg%3E"); }
html.theme-male #transfer { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 11l5-5-5-5v3h-4v4h4v3zm2 4.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.59l2.2-2.21c.28-.26.36-.65.25-1C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1z'/%3E%3C/svg%3E"); }
html.theme-male #show-dtmf { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 19c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM6 1c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12-8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm-6 8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E"); }
html.theme-male #hangup { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 9c-1.6 0-3.15.25-4.6.72v3.1c0 .39-.23.74-.56.9-.98.49-1.87 1.12-2.66 1.85-.18.18-.43.28-.7.28-.28 0-.53-.11-.71-.29L.29 13.08c-.18-.17-.29-.42-.29-.7 0-.28.11-.53.29-.71C3.34 8.78 7.46 7 12 7s8.66 1.78 11.71 4.67c.18.18.29.43.29.71 0 .28-.11.53-.29.71l-2.48 2.48c-.18.18-.43.29-.71.29-.27 0-.52-.11-.7-.28-.79-.74-1.69-1.36-2.67-1.85-.33-.16-.56-.5-.56-.9v-3.1C15.15 9.25 13.6 9 12 9z'/%3E%3C/svg%3E"); }
html.theme-male .clip-bar button {
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--raised);
  color: var(--text);
  font-size: 13px;
}
html.theme-male .clip-bar button:hover { background: var(--hover); }

/* Dialer */
html.theme-male .call-as { padding-bottom: 10px; font-size: 12px; color: var(--faint); }
html.theme-male .dial-row { gap: 8px; }
html.theme-male #number {
  min-width: 0;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--input);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
html.theme-male #number::placeholder { font-size: 14px; font-weight: 400; color: var(--faint); }
html.theme-male .backspace-btn { width: 38px; height: 38px; border-radius: 9px; font-size: 17px; color: var(--faint); }
html.theme-male .backspace-btn:hover { background: var(--hover); color: var(--text); }
html.theme-male .lead-card { border: 1px solid var(--line); border-radius: 10px; background: var(--raised); }
html.theme-male .lead-name { font-size: 15px; font-weight: 600; }
html.theme-male .lead-email { font-size: 13px; color: var(--text); }
html.theme-male .lead-info { font-size: 13px; color: var(--muted); }
html.theme-male .lead-note { font-size: 13px; color: var(--note); }
html.theme-male .keypad { gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
html.theme-male .keypad button { height: 58px; gap: 3px; border-radius: 12px; }
html.theme-male .keypad button:hover { background: var(--hover); }
html.theme-male .keypad button:active { background: var(--active); }
html.theme-male .keypad span { font-size: 25px; font-weight: 400; color: var(--text); }
html.theme-male .keypad small { font-size: 10px; font-weight: 500; letter-spacing: .16em; color: var(--faint); }
html.theme-male .call-fab {
  height: 50px;
  margin-top: 12px;
  border-radius: 12px;
  background: var(--raised);
  color: var(--faint);
  font-size: 15px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--line);
}
html.theme-male .call-fab svg { width: 18px; height: 18px; }
html.theme-male .call-fab:not(:disabled) { background: var(--green); color: #fff; box-shadow: none; }
html.theme-male .call-fab:not(:disabled):hover { background: #35ac79; }
html.theme-male .hide-keypad { font-size: 12px; color: var(--faint); }

/* Menus, settings, alerts */
html.theme-male .account-menu {
  min-width: 240px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--panel);
}
html.theme-male .account-menu p { font-size: 14px; }
html.theme-male .account-menu button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--raised);
  font-size: 14px;
}
html.theme-male .settings { background: rgba(0, 0, 0, .6); }
html.theme-male .settings-card {
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
html.theme-male .settings-card h2 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
html.theme-male .settings-card h3 {
  margin: 26px 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
html.theme-male .settings-card h3.settings-first { margin-top: 0; }
html.theme-male .settings-card label { font-size: 13px; color: var(--muted); }
html.theme-male .settings-card input,
html.theme-male .settings-card select {
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input);
  font-size: 14px;
}
html.theme-male .settings-card input[type="checkbox"] { height: auto; }
html.theme-male .hint { font-size: 13px; color: var(--faint); }
html.theme-male .ghost,
html.theme-male .file-btn {
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--raised);
  font-size: 14px;
}
html.theme-male .clip { background: var(--raised); border-radius: 8px; }
html.theme-male .incoming-call {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}
html.theme-male .incoming-kicker { font-size: 11px; letter-spacing: .12em; color: var(--muted); }
html.theme-male .incoming-from { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
html.theme-male #decline-call { border-radius: 8px; color: var(--muted); }
html.theme-male #take-call { border-radius: 8px; background: var(--green); color: #fff; }
html.theme-male .incoming-pulse { background: var(--green); }

@media (max-width: 1100px) {
  .dash-grid { grid-template-columns: 1fr; }
  .cid-row { grid-template-columns: 1fr; }
}

@media (max-width: 1280px) {
  .gv-dialer { width: 360px; }
  .gv-list { width: 280px; }
  .caught-up h1 { font-size: 32px; }
}
@media (max-height: 820px) {
  html.theme-female .gv-main::after { width: 150px; height: 210px; opacity: .7; }
  html.theme-female .caught-up h1 { font-size: 48px; }
  html.theme-female .incall.with-name .incall-avatar { width: 80px; height: 80px; margin-bottom: 20px; font-size: 38px; }
  html.theme-female .incall.with-name .incall-name { font-size: 40px; }
  html.theme-female .incall.with-name .incall-actions { margin-top: 22px; }
}
@media (max-width: 900px) {
  html.theme-female .gv-body { padding: 0 12px 12px; gap: 12px; }
  .gv-search { display: none; }
  .me-chip { display: none; }
  .gv-list { display: flex; width: 100%; max-height: 30vh; }
  .gv-dialer { width: 100%; border-left: 0; }
  .gv-main { display: none; }
  .gv-body { flex-direction: column; }
  .gv-rail { flex-direction: row; width: 100%; height: 72px; border-right: 0; border-bottom: 0; padding: 0; justify-content: center; }
}
