/* ExBot Pro Light UI correction 2.0.4 */
:root{--ex-bg:#f5f7fb;--ex-panel:#fff;--ex-soft:#f8fafc;--ex-line:#e1e7ef;--ex-line-strong:#d1dbe8;--ex-text:#10213d;--ex-muted:#6d7f99;--ex-blue:#1769ff;--ex-blue-soft:#edf4ff;--ex-green:#158355;--ex-green-soft:#eaf8f0;--ex-red:#d7444a;--ex-red-soft:#fff1f2;--ex-shadow:0 7px 24px rgba(22,43,76,.055)}
html,body{color-scheme:light!important;background:var(--ex-bg)!important;color:var(--ex-text)!important}

/* Brand */
.nav .side-brand img,.section-nav .side-brand img,.platform-sidebar .side-brand img{display:block!important;width:190px!important;max-width:100%!important;height:auto!important;max-height:49px!important;object-fit:contain!important;object-position:left center!important;filter:none!important;opacity:1!important}.nav .side-brand,.section-nav .side-brand,.platform-sidebar .side-brand{overflow:visible!important}.login .login-logo{width:260px!important;height:auto!important;filter:none!important;opacity:1!important}

/* One navigation language everywhere */
.nav-ico{display:inline-grid!important;place-items:center!important;width:18px!important;height:18px!important;flex:0 0 18px!important;color:currentColor!important}.nav-ico svg{display:block!important;width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}.nav a,.section-link,.platform-sidebar .nav-item{display:flex!important;align-items:center!important;gap:10px!important}.nav .side-foot,.section-nav .nav-owner,.platform-sidebar .owner-card{display:none!important}.nav .group,.section-nav .nav-group,.platform-sidebar .nav-group{color:#8493aa!important}.nav a,.section-link,.platform-sidebar .nav-item{color:#4c5f7a!important}.nav a:hover,.section-link:hover,.platform-sidebar .nav-item:hover{background:#f2f6fc!important;border-color:#dce6f2!important;color:#183a69!important}.nav a.primary-nav,.section-link.active,.platform-sidebar .nav-item.active{background:#eaf2ff!important;border-color:#c9dcfb!important;color:#0d5ddd!important;box-shadow:none!important}

/* Shared surfaces */
body .card,body .surface,body .metric,body .statusbar,body .shell,body .filters,body .expense-item,body .activity,body .publish-card,body .update-build,body .desk-bot-settings,body .status-card,body .bot-summary,body .money-card,body .analytics-card,body .mini,body .release,body .build,body .upload-item{background:#fff!important;border-color:var(--ex-line)!important;color:var(--ex-text)!important;box-shadow:var(--ex-shadow)!important}body .muted,body .hint,body .preview,body .meta-list,body .service-note,body .card-subtitle,body .metric-note,body .subline{color:var(--ex-muted)!important}body .splitline{background:#e6ebf2!important}body .tag{box-shadow:none!important}

/* Admin - flatter, less button-heavy */
body .kpi,body .status-card,body .bot-summary{background:#fff!important;border:1px solid var(--ex-line)!important;color:var(--ex-text)!important;box-shadow:none!important}body .kpi b,body .status-card b,body .bot-summary strong{color:var(--ex-text)!important}.employee-form{grid-template-columns:1.15fr 1.5fr 1fr auto auto auto!important}.employee-mail-note{grid-column:1/-1;padding:9px 12px;border:1px solid #d9e5f6;border-radius:10px;background:#f4f8ff;color:#55708f;font-size:12px}.employee-form .check{align-self:end}.employee-form .btn{align-self:end}.section-title>.btn{display:none!important}

/* Inputs and checkboxes */
body input:not([type=checkbox]):not([type=radio]),body select,body textarea{background:#fff!important;color:var(--ex-text)!important;border-color:#d4deea!important;box-shadow:none!important}body input:not([type=checkbox]):not([type=radio]):focus,body select:focus,body textarea:focus{border-color:#73a6fa!important;box-shadow:0 0 0 3px rgba(23,105,255,.10)!important}body input[type=checkbox]{accent-color:var(--ex-blue)}body input[type=file]{background:#fff!important;color:#60738d!important;border:1px dashed #cbd7e6!important;border-radius:10px!important;padding:8px!important}body input[type=file]::file-selector-button{margin-right:10px;border:1px solid #bcd0ef;border-radius:8px;background:#f7faff;color:#1659b8;padding:7px 11px;font-weight:750;cursor:pointer}body input[type=file]::file-selector-button:hover{background:#eef5ff}

/* Settings accordions */
body .settings-stack{gap:9px!important}body .settings-accordion{background:#fff!important;border:1px solid #dfe6ef!important;box-shadow:none!important;overflow:hidden!important}body .settings-accordion[open]{border-color:#bad2f5!important;box-shadow:0 7px 22px rgba(38,82,145,.07)!important}body .settings-accordion>summary{background:#fff!important;color:var(--ex-text)!important;border:0!important}body .settings-accordion>summary:hover{background:#f8faff!important}body .acc-copy strong{color:var(--ex-text)!important}body .acc-copy small{color:var(--ex-muted)!important}body .acc-chevron{color:#7890ad!important}body .bot-mark{background:#f1f6ff!important;border-color:#d6e4fa!important;color:#1769ff!important;box-shadow:none!important}body .acc-body{background:#fbfcfe!important;border-top:1px solid #e5ebf3!important;color:var(--ex-text)!important}body .check-card,body .media-box{background:#fff!important;border-color:#dbe4ef!important;color:var(--ex-text)!important}body .media-box{border-style:dashed!important}body .settings-bot{background:transparent!important;color:var(--ex-text)!important}body .day{background:#fff!important;border-color:#d6e0ec!important;color:#526680!important}body .day:has(input:checked){background:#eef5ff!important;border-color:#9fc2ff!important;color:#145bc2!important}

/* Desk - admin/owner has sidebar only, no duplicate top bar */
body.has-platform-sidebar .top{display:none!important}body.has-platform-sidebar .wrap{background:transparent!important;padding-top:12px!important}body.has-platform-sidebar .shell{border:1px solid var(--ex-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:var(--ex-shadow)!important}.shell,.side,.chat-panel,.chat,.head,.messages,.composer{border-color:var(--ex-line)!important}.side{background:#fff!important}.filters{background:#fff!important}.conv{background:#fff!important;border-color:#edf1f6!important;color:var(--ex-text)!important}.conv:hover{background:#f7faff!important}.conv.active{background:#edf4ff!important;box-shadow:inset 3px 0 0 var(--ex-blue)!important}.conv.unread:not(.active){background:#f8fbff!important;box-shadow:inset 3px 0 0 #4b8df8!important}.conv .name{color:#1b304d!important}.conv-right,.preview{color:#7b8ca4!important}.head{background:#fff!important}.messages{background:#f8fafc!important}.bubble{background:#fff!important;border-color:#dfe6ef!important;color:#243852!important;box-shadow:0 3px 12px rgba(31,54,86,.04)!important}.operator .bubble{background:#edf4ff!important;border-color:#c8dbfb!important;color:#17375e!important}.auto .bubble{background:#f5f9ff!important;border-color:#d3e2fa!important;color:#274565!important}.meta{color:#8292a7!important}.composer{background:#fff!important}.composer textarea{background:#fff!important;color:var(--ex-text)!important;border-color:#d6e0ec!important}.composer input[type=file]{background:#fff!important;color:#61738d!important}.empty-chat{color:#74879f!important}.empty-chat:before{border-color:#bfd0e5!important;background-color:#f5f9ff!important}.desk-operator-only .top{background:#fff!important}.desk-operator-only .brandline-logo img{width:176px!important;height:auto!important}

/* License - remove last dark islands */
body .analytics-stat{background:#fff!important;border:1px solid var(--ex-line)!important;color:var(--ex-text)!important;box-shadow:none!important}body .analytics-stat-label{color:#6f8098!important}body .analytics-stat-value{color:#142945!important}body .analytics-stat.cost .analytics-stat-value{color:#d98500!important}body .analytics-stat.profit .analytics-stat-value{color:#168557!important}body .build-item,body .activity{background:#fff!important;border:1px solid var(--ex-line)!important;color:var(--ex-text)!important}body .build-item:hover,body .activity:hover{background:#fafcff!important}body .build-title,body .activity-main strong{color:#1b304d!important}body .build-meta,body .activity-main span{color:#73859d!important}body .row-menu-list{background:#fff!important;border-color:#dbe4ef!important;color:var(--ex-text)!important;box-shadow:0 18px 40px rgba(24,45,78,.14)!important}body .menu-item{color:#30455f!important}body .menu-item:hover{background:#f2f6fc!important}body .history-panel,body .history-row td{background:#fbfcfe!important;color:var(--ex-text)!important}body .history-table{background:#fff!important;border-color:var(--ex-line)!important}body .history-table th{background:#f7f9fc!important;color:#657992!important}body .history-table td{background:#fff!important;color:#243852!important}

/* License modals */
body #issue-modal,body #access-modal,body #expense-modal,body #retire-domain-modal{background:rgba(35,50,72,.38)!important;backdrop-filter:blur(3px)!important}body #issue-modal .modal,body #access-modal .modal,body #expense-modal .modal,body #retire-domain-modal .modal{background:#fff!important;border:1px solid #dfe6ef!important;color:var(--ex-text)!important;box-shadow:0 28px 80px rgba(24,42,70,.20)!important}body #issue-modal .modal-head,body #access-modal .modal-head,body #expense-modal .modal-head,body #retire-domain-modal .modal-head,body #issue-modal .modal-body,body #access-modal .modal-body,body #expense-modal .modal-body,body #retire-domain-modal .modal-body{background:#fff!important;color:var(--ex-text)!important}body #issue-modal .modal-footer,body #access-modal .modal-footer,body #expense-modal .modal-footer,body #retire-domain-modal .modal-footer{background:#fbfcfe!important;border-top:1px solid #e4eaf2!important}body #issue-modal .qa-entitlement-field,body #access-modal .qa-entitlement-field{background:#f8faff!important;border-color:#dce5f0!important;color:var(--ex-text)!important}body #issue-modal .qa-entitlement-label,body #access-modal .qa-entitlement-label{background:#fff!important;border-color:#d8e2ed!important;color:var(--ex-text)!important}body #issue-modal .qa-entitlement-field>.hint,body #access-modal .qa-entitlement-field>.hint{color:#71839d!important}body #access-modal .settings-note{background:#f1f6ff!important;border-color:#d7e5fb!important;color:#385b8d!important}

/* Update / QA */
body .statusbar,body .build,body .upload-item,body .release-table-wrap{background:#fff!important;border-color:var(--ex-line)!important;color:var(--ex-text)!important}.release-table th{background:#f8fafc!important;color:#657992!important}.release-table td{background:#fff!important;color:#263a55!important}.platform-main section[id]{scroll-margin-top:18px}

/* Buttons */
body .btn{box-shadow:none!important}body .btn.secondary{background:#fff!important;border-color:#d2ddeb!important;color:#304760!important}body .btn.secondary:hover{background:#f6f9fd!important}body .btn.danger{background:#fff!important;border-color:#f2b7ba!important;color:#cc3d44!important}body .btn.danger:hover{background:#fff3f4!important}

@media(max-width:1180px){.employee-form{grid-template-columns:1fr 1fr!important}.employee-mail-note{grid-column:1/-1!important}}
@media(max-width:980px){.nav .side-brand img,.section-nav .side-brand img,.platform-sidebar .side-brand img{width:150px!important}.settings-bot .two{grid-template-columns:1fr 1fr!important}}
@media(max-width:620px){.employee-form,.settings-bot .two{grid-template-columns:1fr!important}.employee-mail-note{grid-column:auto!important}body .modal{width:calc(100vw - 20px)!important}.login .login-logo{width:225px!important}}

/* =========================================================
   ExBot Pro split light redesign 2.1.1
   Visual-only refinement on top of 2.0.4 functional baseline
   ========================================================= */
:root{
  --ex-bg:#f6f8fc;
  --ex-panel:#ffffff;
  --ex-soft:#f8faff;
  --ex-line:#e4eaf3;
  --ex-line-strong:#d5deeb;
  --ex-text:#11223f;
  --ex-muted:#718199;
  --ex-blue:#1769ff;
  --ex-blue-soft:#eef4ff;
  --ex-green:#16945e;
  --ex-green-soft:#ebf9f1;
  --ex-shadow:0 10px 28px rgba(31,50,81,.055);
}
body{background:radial-gradient(circle at 60% -10%,rgba(74,132,255,.055),transparent 34%),var(--ex-bg)!important}
.platform-main,.main,.wrap{min-width:0}

/* Sidebar: one calm visual language */
.nav,.section-nav,.platform-sidebar{background:rgba(255,255,255,.96)!important;border-right:1px solid var(--ex-line)!important;box-shadow:none!important}
.nav .side-brand,.section-nav .side-brand,.platform-sidebar .side-brand{padding-bottom:20px!important;margin-bottom:18px!important;border-bottom:1px solid #edf1f6!important}
.nav .group,.section-nav .nav-group,.platform-sidebar .nav-group{font-size:11px!important;letter-spacing:.12em!important;font-weight:850!important;text-transform:uppercase!important;margin:18px 0 8px!important}
.nav a,.section-link,.platform-sidebar .nav-item{min-height:43px!important;border-radius:12px!important;padding:10px 12px!important;font-weight:720!important}
.nav a.primary-nav,.section-link.active,.platform-sidebar .nav-item.active{background:linear-gradient(180deg,#f2f6ff,#ebf2ff)!important;border-color:#d6e3fb!important;color:#155fdb!important}

/* Page header */
.page-title h1,.platform-main h1,.main h1{letter-spacing:-.025em}
.top-actions .btn,.platform-actions .btn{min-height:40px!important;border-radius:11px!important;padding-inline:14px!important}

/* Main cards */
body .card,body .surface,body .shell,body .publish-card,body .release-table-wrap{border:1px solid var(--ex-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--ex-shadow)!important}
body .card:hover{border-color:#dce5f1!important}
body .section-title h2,body .card-title{color:#10213e!important;letter-spacing:-.015em!important}
body .section-title .muted,body .card-subtitle{color:#74859d!important}

/* Admin overview service cards */
body .service-grid{gap:16px!important}
body .service-grid>.card{padding:20px!important;min-height:188px!important}
body .svc-head{align-items:flex-start!important}
body .svc{font-size:17px!important;font-weight:850!important;letter-spacing:-.01em!important}
body .kpis{gap:8px!important;margin-top:18px!important}
body .kpi{padding:13px 14px!important;border-radius:14px!important;background:#fbfcff!important}
body .kpi b{font-size:24px!important;letter-spacing:-.025em!important}
body .kpi span{font-size:11px!important;color:#7a8ba2!important}
body .service-note{margin-top:14px!important;padding-top:12px!important;border-top:1px solid #edf1f6!important}

/* Admin Desk status section */
body .status-grid{gap:10px!important}
body .status-card{padding:14px 15px!important;border-radius:14px!important;background:#fff!important}
body .status-card b{font-size:24px!important}
body .bot-grid{gap:12px!important;margin-top:12px!important}
body .bot-summary{padding:16px!important;border-radius:15px!important}
body .bot-title{margin-bottom:11px!important}
body .meta-list{line-height:1.7!important}

/* Tables */
body table{border-collapse:separate!important;border-spacing:0!important}
body th{background:#fafbfd!important;color:#76869d!important;font-size:10px!important;letter-spacing:.07em!important}
body td{border-bottom-color:#edf1f6!important}
body tbody tr:hover td{background:#fcfdff!important}
body .table-wrap{border:1px solid #e7ecf3!important;border-radius:14px!important;overflow:hidden!important;background:#fff!important}

/* Employees */
body .employee-form{gap:12px!important;padding:16px!important;border:1px solid #e4eaf2!important;border-radius:15px!important;background:#fbfcfe!important}
body .employee-mail-note{background:#f2f7ff!important;border-color:#d8e5fa!important;color:#4e6990!important}
body .employee-form .field input,body .employee-form .field select{height:42px!important}
body .employee-form .check{min-height:42px!important;padding:0 10px!important;border:1px solid #dce4ee!important;border-radius:11px!important;background:#fff!important}

/* Desk workspace */
body.has-platform-sidebar .shell{border-radius:18px!important;min-height:calc(100vh - 38px)!important}
body.has-platform-sidebar .wrap{padding:18px!important}
body .side{background:#fff!important}
body .filters{padding:14px!important;border-bottom:1px solid #e8edf4!important}
body .conv{padding:15px 14px!important}
body .conv.active{background:#eef4ff!important;box-shadow:inset 3px 0 0 #1769ff!important}
body .chat-panel,body .chat{background:#fff!important}
body .head{padding:16px 18px!important}
body .messages{background:linear-gradient(180deg,#fafcff,#f7f9fd)!important;padding:22px!important}
body .bubble{border-radius:16px!important;padding:11px 13px!important}
body .operator .bubble{background:#eef5ff!important}
body .composer{padding:14px 16px 16px!important;border-top:1px solid #e7edf5!important}
body .composer textarea{min-height:78px!important;border-radius:13px!important}

/* License dashboard */
body .metrics{gap:12px!important}
body .metric{padding:16px!important;border-radius:16px!important;background:#fff!important}
body .metric-label{font-size:11px!important;text-transform:none!important}
body .metric-value{font-size:27px!important}
body .alerts{gap:12px!important}
body .alert{border-radius:15px!important;padding:14px 16px!important}
body .analytics-summary{gap:11px!important}
body .analytics-stat{border-radius:14px!important;padding:14px!important}
body .build-item,body .activity{border-radius:13px!important}
body .history-panel{background:#fbfcff!important}

/* Settings accordions */
body .settings-accordion{border-radius:15px!important}
body .settings-accordion>summary{min-height:62px!important;padding:13px 15px!important}
body .settings-accordion[open]>summary{background:#fbfdff!important}
body .acc-body{padding:16px!important;background:#fcfdff!important}
body .check-card,body .media-box{border-radius:13px!important}
body .day{border-radius:999px!important;padding:6px 10px!important}

/* Update / QA */
body .statusbar{border-radius:15px!important;padding:14px 16px!important}
body .update-build,body .build,body .upload-item{border-radius:15px!important}
body .release-table-wrap{overflow:hidden!important}
body .release-table th{background:#fafbfd!important}

/* Forms / uploads */
body input:not([type=checkbox]):not([type=radio]),body select,body textarea{border-radius:11px!important;min-height:40px!important}
body textarea{padding:11px 12px!important}
body input[type=file]{min-height:46px!important;border-radius:12px!important;background:#fbfdff!important}
body input[type=file]::file-selector-button{border-radius:9px!important;background:#fff!important}

/* Modals */
body .modal-backdrop{background:rgba(33,48,72,.32)!important;backdrop-filter:blur(6px)!important}
body .modal{border-radius:20px!important;border:1px solid #e0e6ef!important;box-shadow:0 28px 90px rgba(25,42,68,.20)!important}
body .modal-head{padding:19px 21px!important}
body .modal-body{padding:20px 21px!important}
body .modal-footer{padding:15px 21px!important;background:#fbfcfe!important}

/* Buttons / tags */
body .btn{border-radius:10px!important;font-weight:780!important}
body .tag,body .pill,body .status{border-radius:999px!important}

@media(max-width:1180px){
  body .service-grid{grid-template-columns:1fr!important}
  body .service-grid>.card{min-height:auto!important}
}
@media(max-width:900px){
  body.has-platform-sidebar .wrap{padding:10px!important}
  body .messages{padding:14px!important}
}
