:root { --bg: #f4f7fb; --surface: #ffffff; --surface-soft: #f8fafc; --text: #152033; --muted: #728096; --line: #e4eaf2; --blue: #1769ff; --blue-soft: #eaf2ff; --purple: #7957ff; --purple-soft: #f0edff; --cyan: #00a7c7; --cyan-soft: #e5f9fd; --green: #16a36a; --green-soft: #e7f8f0; --orange: #ee8b18; --orange-soft: #fff2df; --pink: #dc4c83; --pink-soft: #fdeaf2; --red: #d83b45; --red-soft: #fdebed; --shadow: 0 12px 34px rgba(36,52,78,.07); --shadow-strong: 0 24px 65px rgba(27,51,91,.13); }
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0px; color: var(--text); background: radial-gradient(
            circle at 8% 0%,
            rgba(23,105,255,.10),
            transparent 27%
        ),
        radial-gradient(
            circle at 92% 3%,
            rgba(121,87,255,.11),
            transparent 24%
        ),
        var(--bg); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: min(1480px, 100% - 34px); margin: 0px auto; padding: 12px 0px 32px; }
.topbar { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 11px; }
.mark { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(145deg, rgb(23, 105, 255), rgb(121, 87, 255)); color: rgb(255, 255, 255); font-size: 19px; font-weight: 900; box-shadow: rgba(79, 79, 220, 0.28) 0px 9px 24px; }
.brand-name { font-size: 16px; font-weight: 850; line-height: 1.05; }
.brand-sub { color: var(--muted); font-size: 11px; margin-top: 3px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; }
.top-navigation { display: flex; align-items: center; gap: 22px; }
.top-account { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 40px; height: 40px; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: rgb(255, 255, 255); color: rgb(17, 24, 39); font-size: 20px; font-weight: 900; cursor: pointer; }
.dash-nav { color: rgb(51, 65, 85); font-size: 12px; font-weight: 850; padding: 6px 0px; }
.logout { display: inline-flex; align-items: center; min-height: 36px; padding: 0px 14px; border-radius: 999px; background: rgb(255, 255, 255); border: 1px solid var(--line); font-size: 12px; font-weight: 850; }
.service-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0px 14px; border-radius: 999px; background: rgb(11, 18, 32); color: rgb(255, 255, 255); font-size: 12px; font-weight: 800; }
@media (max-width: 1050px) {
  .menu-toggle { display: grid; }
  .top-navigation { display: none; position: absolute; top: 52px; right: 0px; width: 280px; flex-direction: column; align-items: stretch; padding: 18px; gap: 10px; background: rgb(255, 255, 255); border: 1px solid var(--line); border-radius: 18px; box-shadow: rgba(0, 0, 0, 0.18) 0px 20px 50px; z-index: 500; }
  body.menu-open .top-navigation { display: flex; }
  .dash-nav { width: 100%; padding: 10px 0px; border-bottom: 1px solid rgb(238, 242, 246); }
}
.activity-actions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.activity-actions form { margin: 0px; }
.mini-action { min-height: 25px; padding: 3px 7px; border: 1px solid rgb(223, 230, 239); border-radius: 7px; background: rgb(255, 255, 255); color: rgb(89, 104, 124); cursor: pointer; font-size: 9px; font-weight: 800; }
.mini-action:hover { background: rgb(245, 248, 252); border-color: rgb(203, 213, 226); }
.delete-action { color: rgb(201, 54, 66); border-color: rgb(239, 211, 214); }
.delete-action[data-armed="1"] { background: rgb(216, 59, 69); border-color: rgb(216, 59, 69); color: rgb(255, 255, 255); }
.hero { position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; min-height: 145px; padding: 18px 20px; border-radius: 20px; color: rgb(255, 255, 255); background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.2), transparent 28%), linear-gradient(120deg, rgb(14, 67, 181) 0%, rgb(23, 105, 255) 42%, rgb(103, 83, 232) 100%); box-shadow: var(--shadow-strong); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin-bottom: 5px; font-size: 10px; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.74; }
.hero h1 { margin: 0px; font-size: clamp(30px, 3vw, 42px); line-height: 1; letter-spacing: -0.045em; }
.hero p { margin: 8px 0px 0px; max-width: 680px; font-size: 13px; color: rgba(255, 255, 255, 0.78); }
.hero-number { position: relative; z-index: 2; min-width: 220px; padding: 15px 17px; border-radius: 15px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(12px); }
.hero-number span { display: block; margin-bottom: 4px; color: rgba(255, 255, 255, 0.68); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-number strong { font-size: 19px; letter-spacing: -0.02em; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0px, 1fr)); gap: 10px; margin: 12px 0px; }
.stat { position: relative; overflow: hidden; min-height: 91px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.stat::after { content: ""; position: absolute; right: -21px; top: -23px; width: 72px; height: 72px; border-radius: 999px; background: currentcolor; opacity: 0.08; }
.stat-number { display: block; font-size: 29px; font-weight: 900; letter-spacing: -0.045em; line-height: 1; }
.stat-label { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; font-weight: 800; }
.stat-blue { color: var(--blue); }
.stat-purple { color: var(--purple); }
.stat-pink { color: var(--pink); }
.stat-green { color: var(--green); }
.attention { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 12px; padding: 12px 15px; border: 1px solid rgb(240, 211, 171); border-radius: 14px; background: linear-gradient(90deg, rgb(255, 248, 236), rgb(255, 253, 248)); }
.attention strong { display: block; font-size: 13px; }
.attention span { display: block; margin-top: 2px; color: rgb(140, 99, 49); font-size: 11px; }
.attention-count { min-width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--orange); color: rgb(255, 255, 255); font-size: 15px; font-weight: 900; }
.desktop-grid { display: grid; grid-template-columns: minmax(0px, 1.15fr) minmax(0px, 0.85fr); gap: 12px; align-items: start; }
.stack { min-width: 0px; }
.card { overflow: hidden; margin-bottom: 12px; border: 1px solid
        var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.96); box-shadow: var(--shadow); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 49px; padding: 11px 15px; border-bottom: 1px solid rgb(237, 241, 246); }
.card-title-wrap { display: flex; align-items: center; gap: 9px; }
.card-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; font-size: 14px; font-weight: 900; }
.icon-blue { background: var(--blue-soft); color: var(--blue); }
.icon-purple { background: var(--purple-soft); color: var(--purple); }
.icon-green { background: var(--green-soft); color: var(--green); }
.icon-pink { background: var(--pink-soft); color: var(--pink); }
.icon-cyan { background: var(--cyan-soft); color: var(--cyan); }
.card h2 { margin: 0px; font-size: 14px; font-weight: 850; letter-spacing: -0.015em; }
.card-count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0px 7px; border-radius: 8px; background: rgb(240, 243, 247); color: rgb(97, 112, 135); font-size: 10px; font-weight: 850; }
.empty { padding: 14px 15px; color: var(--muted); font-size: 12px; }
.item { padding: 11px 15px; border-bottom: 1px solid rgb(237, 241, 246); }
.item:last-child { border-bottom: 0px; }
.item:hover { background: rgb(251, 252, 254); }
.item-top { display: flex; justify-content: space-between; gap: 13px; align-items: flex-start; }
.phone { font-size: 12px; font-weight: 850; }
.meta { margin-top: 3px; color: var(--muted); font-size: 10px; }
.text { margin-top: 7px; color: rgb(69, 82, 104); font-size: 11px; line-height: 1.45; }
.badge { flex: 0 0 auto; display: inline-flex; align-items: center; padding: 4px 7px; border-radius: 999px; background: rgb(238, 242, 246); color: rgb(88, 104, 125); font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.035em; }
.badge.new, .badge.needs_approval, .badge.needs_review { background: var(--orange-soft); color: rgb(162, 93, 6); }
.badge.approved, .badge.completed { background: var(--green-soft); color: rgb(19, 118, 78); }
.badge.sales { background: var(--purple-soft); color: rgb(105, 69, 220); }
.badge.appointment { background: var(--blue-soft); color: rgb(19, 89, 200); }
.badge.human { background: var(--green-soft); color: rgb(19, 118, 78); }
.badge.voicemail { background: var(--pink-soft); color: rgb(185, 54, 109); }
.badge.unknown { background: rgb(241, 243, 246); color: rgb(114, 126, 143); }
audio { width: 100%; height: 31px; margin-top: 7px; }
.upcoming-list { padding: 0px 12px 12px; }
.upcoming-row { display: grid; grid-template-columns: minmax(0px, 1fr) auto; gap: 12px; align-items: center; padding: 11px 12px; margin-top: 7px; border: 1px solid rgb(231, 236, 243); border-radius: 12px; background: rgb(255, 255, 255); color: var(--text); text-decoration: none; transition: 0.15s; }
.upcoming-row:hover { border-color: rgb(205, 217, 234); box-shadow: rgba(15, 23, 42, 0.07) 0px 8px 22px; transform: translateY(-1px); }
.upcoming-name { overflow: hidden; font-size: 11px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.upcoming-meta { margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 700; }
.upcoming-when { text-align: right; white-space: nowrap; }
.upcoming-date { font-size: 10px; font-weight: 900; }
.upcoming-time { margin-top: 2px; color: var(--blue); font-size: 10px; font-weight: 900; }
.upcoming-status { display: inline-flex; margin-top: 4px; padding: 3px 6px; border-radius: 999px; background: rgb(240, 244, 250); color: rgb(105, 120, 141); font-size: 7px; font-weight: 900; text-transform: uppercase; }
.calendar { padding: 0px 12px 12px; }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 11px 3px 10px; }
.calendar-head-actions { display: flex; align-items: center; gap: 8px; }
.add-appointment { min-height: 31px; display: inline-flex; align-items: center; justify-content: center; padding: 0px 11px; border-radius: 9px; background: var(--blue); color: rgb(255, 255, 255); text-decoration: none; font-size: 9px; font-weight: 900; white-space: nowrap; }
.add-appointment:hover { filter: brightness(0.94); }
.calendar-toolbar strong { font-size: 14px; letter-spacing: -0.02em; }
.month-nav { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: rgb(255, 255, 255); color: rgb(85, 101, 122); font-size: 17px; font-weight: 800; }
.month-nav:hover { background: rgb(247, 249, 252); }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0px, 1fr)); }
.calendar-weekdays div { padding: 5px 2px; color: rgb(137, 149, 165); font-size: 8px; font-weight: 850; text-align: center; text-transform: uppercase; }
.day { position: relative; min-height: 67px; padding: 5px; border-top: 1px solid rgb(237, 241, 246); border-left: 1px solid rgb(237, 241, 246); background: rgb(255, 255, 255); }
.day:nth-child(7n) { border-right: 1px solid rgb(237, 241, 246); }
.day:nth-last-child(-n+7) { border-bottom: 1px solid rgb(237, 241, 246); }
.day.blank { background: rgb(248, 250, 252); }
.day.today { background: rgb(243, 247, 255); }
.day-number { width: 22px; height: 22px; display: grid; place-items: center; margin-bottom: 3px; border-radius: 7px; color: rgb(101, 116, 138); font-size: 9px; font-weight: 850; }
.day.today .day-number { background: var(--blue); color: rgb(255, 255, 255); }
.cal-event strong { display: block; font-size: 9px; font-weight: 900; }
.cal-event span { display: block; margin-top: 2px; font-size: 8px; }
.cal-event small { display: block; margin-top: 2px; opacity: 0.7; font-size: 7px; text-transform: uppercase; }
.cal-event { display: block; overflow: hidden; margin-top: 3px; padding: 3px 4px; border-radius: 5px; background: var(--purple-soft); color: rgb(101, 68, 207); font-size: 7px; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.transfer-manager { margin: 0px 10px 10px; padding: 10px; border-radius: 13px; border: 1px solid rgb(221, 230, 242); background: linear-gradient(145deg, rgb(247, 251, 255), rgb(251, 249, 255)); }
.transfer-manager-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 11px; }
.transfer-manager-title { font-size: 11px; font-weight: 900; }
.transfer-manager-sub { margin-top: 2px; color: var(--muted); font-size: 9px; }
.transfer-active { margin-bottom: 9px; padding: 9px 10px; border-radius: 9px; border: 1px solid rgb(229, 234, 241); background: rgb(255, 255, 255); }
.transfer-active span { display: block; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.transfer-active strong { display: block; margin-top: 3px; font-size: 11px; }
.transfer-row { display: grid; grid-template-columns: minmax(0px, 1fr) auto; gap: 7px; margin-bottom: 8px; }
.transfer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 7px; }
.transfer-select, .transfer-input { width: 100%; min-width: 0px; height: 35px; padding: 0px 10px; border: 1px solid rgb(216, 225, 236); border-radius: 9px; background: rgb(255, 255, 255); color: var(--text); outline: none; font-size: 11px; font-weight: 700; }
.transfer-select:focus, .transfer-input:focus { border-color: rgb(124, 162, 232); box-shadow: rgba(23, 105, 255, 0.08) 0px 0px 0px 3px; }
.transfer-button { min-height: 35px; padding: 0px 11px; border: 1px solid rgb(216, 225, 236); border-radius: 9px; background: rgb(255, 255, 255); color: rgb(83, 97, 118); cursor: pointer; font-size: 10px; font-weight: 850; }
.transfer-button:hover { background: rgb(247, 249, 252); }
.transfer-button.primary { background: var(--blue); border-color: var(--blue); color: rgb(255, 255, 255); }
.transfer-button.danger { color: rgb(200, 50, 64); border-color: rgb(238, 209, 213); }
.transfer-button.danger[data-armed="1"] { background: rgb(216, 59, 69); border-color: rgb(216, 59, 69); color: rgb(255, 255, 255); }
@media (max-width: 560px) {
  .transfer-grid, .transfer-row { grid-template-columns: 1fr; }
}
.setting { min-width: 0px; padding: 11px; border-radius: 11px; background: var(--surface-soft); }
.setting span { display: block; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.setting strong { display: block; overflow-wrap: anywhere; margin-top: 4px; font-size: 11px; }
@media (max-width: 1050px) {
  .desktop-grid { grid-template-columns: 1fr; }
}
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; --bg: #020617; --surface: #07111f; --surface-soft: #0b1729; --text: #edf6ff; --muted: #8ea4bd; --line: #1d304c; --blue: #60a5fa; --blue-soft: rgba(37,99,235,.16); --purple: #a78bfa; --purple-soft: rgba(124,58,237,.15); --cyan: #38bdf8; --cyan-soft: rgba(14,165,233,.14); --green: #34d399; --green-soft: rgba(16,185,129,.14); --orange: #fbbf24; --orange-soft: rgba(245,158,11,.14); }
body { background: var(--bg); color: var(--text); }
.top-navigation { display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0px; flex: 1 1 0%; white-space: nowrap; }
.dash-nav { min-height: 34px; padding: 0px 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-soft); color: var(--text); text-decoration: none; font-size: 10px; font-weight: 850; line-height: 1; }
.dash-nav:hover { background: var(--blue-soft); color: var(--blue); }
.dash-nav.active { border-color: rgba(56, 189, 248, 0.28); background: rgba(37, 99, 235, 0.14); color: var(--blue); }
.dash-theme-switch { height: 34px; display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-soft); }
.dash-theme-choice { height: 26px; min-width: 48px; padding: 0px 7px; border: 0px; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: 8px; font-weight: 900; line-height: 1; }
html[data-theme="dark"] .dash-theme-choice[data-theme-choice="dark"] { color: rgb(255, 255, 255); background: linear-gradient(135deg, rgb(10, 61, 145), rgb(37, 99, 235) 60%, rgb(56, 189, 248)); }
html[data-theme="light"] .dash-theme-choice[data-theme-choice="light"] { background: rgb(255, 255, 255); color: rgb(23, 32, 51); box-shadow: rgba(31, 51, 80, 0.13) 0px 3px 9px; }
.desktop-more { position: relative; }
.desktop-more summary { min-height: 34px; padding: 0px 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-soft); color: var(--text); cursor: pointer; font-size: 10px; font-weight: 850; line-height: 1; list-style: none; }
.desktop-more summary::-webkit-details-marker { display: none; }
.desktop-more summary:hover { background: var(--blue-soft); color: var(--blue); }
.more-panel { position: absolute; top: 42px; right: 0px; width: 175px; display: grid; gap: 4px; padding: 7px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: rgba(0, 0, 0, 0.2) 0px 18px 45px; z-index: 700; }
.more-panel a { min-height: 32px; padding: 0px 10px; display: flex; align-items: center; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 10px; font-weight: 800; }
.more-panel a:hover { background: var(--surface-soft); color: var(--blue); }
.mobile-extra { display: none; }
.menu-divider { width: 1px; height: 24px; margin: 0px 2px; background: var(--line); }
.service-pill { white-space: nowrap; min-height: 32px !important; padding: 0px 10px !important; gap: 6px !important; font-size: 9px !important; }
.logout { min-height: 32px; padding: 0px 8px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 9px; font-weight: 850; }
.quick-comm-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.quick-comm { min-height: 26px; padding: 3px 8px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-size: 9px; font-weight: 900; line-height: 1; }
.quick-call { background: var(--green-soft); color: var(--green); }
.quick-text { background: var(--blue-soft); color: var(--blue); }
.quick-comm:hover { filter: brightness(0.97); }
html[data-theme="dark"] .topbar, html[data-theme="dark"] .card, html[data-theme="dark"] .setting, html[data-theme="dark"] .transfer-active { background: var(--surface) !important; border-color: var(--line) !important; color: var(--text) !important; }
html[data-theme="dark"] input, html[data-theme="dark"] textarea, html[data-theme="dark"] select { background: var(--surface-soft) !important; border-color: var(--line) !important; color: var(--text) !important; }
html[data-theme="dark"] .mini-action { background: var(--surface-soft); border-color: var(--line); color: var(--muted); }
html[data-theme="dark"] .mini-action:hover { background: rgba(255, 255, 255, 0.06); }
html[data-theme="dark"] .upcoming-status { background: var(--surface-soft); color: var(--muted); }
@media (max-width: 1050px) {
  .top-navigation { display: none; position: absolute; top: 52px; right: 0px; width: min(360px, -24px + 100vw); max-height: calc(100dvh - 70px); overflow-y: auto; overscroll-behavior: contain; grid-template-columns: repeat(2, minmax(0px, 1fr)); align-items: stretch; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: rgba(0, 0, 0, 0.2) 0px 20px 50px; white-space: normal; z-index: 700; }
  body.menu-open .top-navigation { display: grid; }
  .dash-theme-switch { grid-column: 1 / -1; justify-self: start; margin-bottom: 2px; }
  .dash-nav { width: auto; min-height: 36px; padding: 0px 8px; border: 1px solid var(--line); border-radius: 9px; font-size: 9px; }
  .desktop-more { display: none; }
  .mobile-extra { display: contents; }
  .mobile-extra-link { min-height: 34px; padding: 0px 8px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); color: var(--text); text-decoration: none; font-size: 9px; font-weight: 800; }
  .mobile-extra-link:hover { background: var(--blue-soft); color: var(--blue); }
  .menu-divider { grid-column: 1 / -1; width: 100%; height: 1px; margin: 2px 0px; background: var(--line); }
  .service-pill { width: 100%; justify-content: center; min-height: 32px !important; padding: 0px 7px !important; font-size: 8px !important; }
  .logout { width: 100%; min-height: 32px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); }
}
@media (max-width: 420px) {
  .top-navigation { width: calc(-20px + 100vw); right: -2px; padding: 8px; gap: 5px; }
  .dash-nav, .mobile-extra-link { min-height: 33px; font-size: 8px; }
}
.quick-comm-actions, .activity-actions { display: inline-flex; align-items: center; flex-wrap: nowrap; gap: 5px; margin-top: 7px; vertical-align: middle; }
.quick-comm-actions { margin-right: 5px; }
.quick-comm, .mini-action { flex: 0 0 auto; white-space: nowrap; }
.quick-comm { min-height: 25px; padding: 3px 7px; }
.mini-action { min-height: 25px; padding: 3px 7px; }
html[data-theme="light"] .quick-call { background: rgb(231, 248, 240); border-color: rgb(198, 235, 217); color: rgb(8, 122, 75); }
html[data-theme="light"] .quick-text { background: rgb(234, 242, 255); border-color: rgb(211, 225, 251); color: rgb(21, 89, 201); }
html[data-theme="light"] .mini-action { background: rgb(255, 255, 255); border-color: rgb(217, 226, 237); color: rgb(64, 81, 106); }
html[data-theme="light"] .mini-action:hover { background: rgb(243, 247, 251); border-color: rgb(188, 201, 216); color: rgb(23, 32, 51); }
html[data-theme="light"] .delete-action { background: rgb(255, 250, 250); border-color: rgb(239, 207, 212); color: rgb(197, 47, 61); }
html[data-theme="dark"] .quick-call { background: rgba(16, 185, 129, 0.18); border-color: rgba(52, 211, 153, 0.34); color: rgb(110, 231, 183); }
html[data-theme="dark"] .quick-text { background: rgba(37, 99, 235, 0.2); border-color: rgba(96, 165, 250, 0.36); color: rgb(147, 197, 253); }
html[data-theme="dark"] .quick-comm:hover { filter: none; transform: translateY(-1px); }
html[data-theme="dark"] .mini-action { background: rgb(13, 27, 46); border-color: rgb(41, 65, 95); color: rgb(219, 231, 245); }
html[data-theme="dark"] .mini-action:hover { background: rgb(20, 37, 60); border-color: rgb(61, 93, 130); color: rgb(255, 255, 255); }
html[data-theme="dark"] .delete-action { background: rgba(216, 59, 69, 0.1); border-color: rgba(251, 113, 133, 0.38); color: rgb(251, 113, 133); }
html[data-theme="dark"] .delete-action:hover { background: rgba(216, 59, 69, 0.18); border-color: rgba(251, 113, 133, 0.58); color: rgb(253, 164, 175); }
html[data-theme="dark"] .delete-action[data-armed="1"] { background: rgb(216, 59, 69); border-color: rgb(239, 89, 99); color: rgb(255, 255, 255); }
@media (max-width: 620px) {
  .quick-comm-actions, .activity-actions { flex-wrap: wrap; margin-top: 6px; }
  .quick-comm-actions { margin-right: 4px; }
}
@media (max-width: 420px) {
  .quick-comm, .mini-action { font-size: 8px; padding: 3px 6px; }
}
html[data-theme="light"] .item:hover, html[data-theme="light"] .item:focus-within { background: rgb(233, 238, 245); }
html[data-theme="light"] .item:hover .phone, html[data-theme="light"] .item:focus-within .phone { color: rgb(23, 32, 51); }
html[data-theme="light"] .item:hover .meta, html[data-theme="light"] .item:focus-within .meta { color: rgb(71, 85, 105); }
html[data-theme="light"] .item:hover .text, html[data-theme="light"] .item:focus-within .text { color: rgb(51, 65, 85); }
html[data-theme="dark"] .item { border-bottom-color: var(--line); }
html[data-theme="dark"] .item .phone { color: rgb(237, 246, 255); }
html[data-theme="dark"] .item .meta { color: rgb(159, 176, 200); }
html[data-theme="dark"] .item .text { color: rgb(200, 213, 230); }
html[data-theme="dark"] .item:hover, html[data-theme="dark"] .item:focus-within { background: rgb(36, 50, 71); }
html[data-theme="dark"] .item:hover .phone, html[data-theme="dark"] .item:focus-within .phone { color: rgb(255, 255, 255); }
html[data-theme="dark"] .item:hover .meta, html[data-theme="dark"] .item:focus-within .meta { color: rgb(215, 225, 238); }
html[data-theme="dark"] .item:hover .text, html[data-theme="dark"] .item:focus-within .text { color: rgb(241, 245, 249); }
html[data-theme="dark"] .upcoming-row { background: rgb(24, 36, 54) !important; border-color: rgb(51, 68, 92) !important; color: rgb(241, 245, 249) !important; }
html[data-theme="dark"] .upcoming-row:hover { background: rgb(36, 50, 71) !important; border-color: rgb(74, 96, 125) !important; color: rgb(255, 255, 255) !important; }
html[data-theme="dark"] .month-nav { background: rgb(24, 36, 54) !important; border-color: rgb(51, 68, 92) !important; color: rgb(241, 245, 249) !important; }
html[data-theme="dark"] .month-nav:hover { background: rgb(36, 50, 71) !important; border-color: rgb(74, 96, 125) !important; color: rgb(255, 255, 255) !important; }
html[data-theme="dark"] .day { background: rgb(24, 36, 54) !important; border-color: rgb(29, 48, 76) !important; color: rgb(237, 246, 255) !important; }
html[data-theme="dark"] .day:hover { background: rgb(36, 50, 71) !important; color: rgb(255, 255, 255) !important; }
html[data-theme="dark"] .transfer-button:not(.primary) { background: rgb(24, 36, 54) !important; border-color: rgb(51, 68, 92) !important; color: rgb(241, 245, 249) !important; }
html[data-theme="dark"] .transfer-button:not(.primary):hover { background: rgb(36, 50, 71) !important; border-color: rgb(74, 96, 125) !important; color: rgb(255, 255, 255) !important; }
html[data-theme="dark"] .transfer-button.danger { color: rgb(251, 113, 133) !important; border-color: rgb(107, 51, 64) !important; }
html[data-theme="dark"] .more-panel { background: rgb(7, 17, 31) !important; border-color: rgb(29, 48, 76) !important; }
html[data-theme="dark"] .more-panel a { color: rgb(237, 246, 255) !important; }
html[data-theme="dark"] .more-panel a:hover { background: rgb(36, 50, 71) !important; color: rgb(255, 255, 255) !important; }
html[data-theme="dark"] .mobile-extra-link { background: rgb(24, 36, 54) !important; border-color: rgb(51, 68, 92) !important; color: rgb(237, 246, 255) !important; }
html[data-theme="dark"] .mobile-extra-link:hover { background: rgb(36, 50, 71) !important; border-color: rgb(74, 96, 125) !important; color: rgb(255, 255, 255) !important; }
.sl-brand-image { overflow: hidden !important; padding: 0px !important; background: rgb(7, 16, 29) !important; color: transparent !important; line-height: 0 !important; }
.sl-brand-image > img { display: block !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; border-radius: inherit !important; }
.sl-inline-brand { display: inline-flex !important; align-items: center !important; gap: 9px !important; }
.sl-inline-brand > img { display: block !important; flex: 0 0 auto !important; width: 36px !important; height: 36px !important; object-fit: cover !important; border-radius: 11px !important; box-shadow: rgba(15, 23, 42, 0.24) 0px 5px 14px !important; }
.sl-header-brand-logo { display: block !important; width: 42px !important; height: 42px !important; object-fit: cover !important; border-radius: 12px !important; box-shadow: rgba(15, 23, 42, 0.24) 0px 7px 18px !important; }
.sl-sms-modal-backdrop { display: none; position: fixed; inset: 0px; z-index: 9998; background: rgba(0, 0, 0, 0.68); padding: 18px; overflow: auto; }
.sl-sms-modal-backdrop.is-open { display: block; }
.sl-sms-modal { max-width: 980px; margin: 24px auto; background: rgb(10, 18, 32); color: rgb(238, 244, 255); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 22px; box-shadow: rgba(0, 0, 0, 0.52) 0px 24px 80px; overflow: hidden; }
.sl-sms-modal-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; padding: 22px 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.sl-sms-modal-head h2 { margin: 0px 0px 5px; font-size: 24px; }
.sl-sms-modal-head p { margin: 0px; color: rgb(175, 190, 210); line-height: 1.45; }
.sl-sms-close { background: transparent; border: 1px solid rgba(255, 255, 255, 0.16); color: rgb(255, 255, 255); border-radius: 10px; width: 40px; height: 40px; font-size: 22px; cursor: pointer; }
.sl-sms-body { padding: 22px 24px; }
.sl-sms-note { padding: 12px 14px; border-radius: 12px; background: rgb(16, 29, 49); border: 1px solid rgba(255, 255, 255, 0.08); color: rgb(198, 212, 231); margin-bottom: 18px; line-height: 1.45; }
.sl-sms-success { background: rgb(18, 48, 31); border-color: rgb(29, 117, 65); }
.sl-sms-section { margin: 24px 0px 10px; font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; color: rgb(143, 183, 255); }
.sl-sms-grid { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 14px; }
.sl-sms-field { display: flex; flex-direction: column; gap: 6px; }
.sl-sms-field.full { grid-column: 1 / -1; }
.sl-sms-field label { font-size: 13px; font-weight: 700; color: rgb(216, 229, 247); }
.sl-sms-field small { color: rgb(143, 160, 183); line-height: 1.35; }
.sl-sms-field input, .sl-sms-field select, .sl-sms-field textarea { width: 100%; box-sizing: border-box; background: rgb(7, 16, 29); color: rgb(255, 255, 255); border: 1px solid rgb(41, 64, 95); border-radius: 10px; padding: 11px 12px; font: inherit; }
.sl-sms-field textarea { min-height: 92px; resize: vertical; }
.sl-sms-check { display: flex; gap: 10px; align-items: flex-start; margin: 13px 0px; color: rgb(215, 227, 242); line-height: 1.4; }
.sl-sms-check input { margin-top: 4px; }
.sl-sms-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 18px; }
.sl-sms-submit { border: 0px; border-radius: 11px; padding: 11px 16px; font-weight: 800; background: rgb(255, 255, 255); color: rgb(7, 16, 29); cursor: pointer; }
@media (max-width: 700px) {
  .sl-sms-grid { grid-template-columns: 1fr; }
  .sl-sms-field.full { grid-column: auto; }
}
