@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

/* Interpreter Line One Professional UI System — 2026-10-03
   Shared visual language for portals, public pages, auth, billing and meetings. */
:root{
  --ilo-font-body:"Inter","Segoe UI Variable","Segoe UI",Arial,sans-serif;
  --ilo-font-heading:"Plus Jakarta Sans","Inter","Segoe UI Variable","Segoe UI",Arial,sans-serif;
  --ilo-navy:#12324A;
  --ilo-ink:#101820;
  --ilo-muted:#526572;
  --ilo-sky:#29B6F6;
  --ilo-aqua:#18C6C3;
  --ilo-green:#8BD45F;
  --ilo-orange:#FF8A2B;
  --ilo-white:#FFFFFF;
  --ilo-canvas:#F5FAFC;
  --ilo-soft:#EDF8FA;
  --ilo-soft-aqua:#E9FBFA;
  --ilo-line:#D8E8EC;
  --ilo-line-strong:#C5DBE1;
  --ilo-shadow-xs:0 1px 2px rgba(18,50,74,.04);
  --ilo-shadow-sm:0 5px 18px rgba(18,50,74,.07);
  --ilo-shadow-md:0 14px 36px rgba(18,50,74,.10);
  --ilo-shadow-lg:0 26px 70px rgba(18,50,74,.16);
  --ilo-radius-sm:8px;
  --ilo-radius:12px;
  --ilo-radius-lg:16px;
  --ilo-radius-xl:22px;
  --ilo-control-h:42px;
  --primary-color:var(--ilo-navy);
  --accent-color:var(--ilo-aqua);
  --success-color:var(--ilo-green);
  --warning-color:var(--ilo-orange);
  --bg-color:var(--ilo-canvas);
  --header-bg:var(--ilo-white);
  --card-bg:var(--ilo-white);
  --text-main:var(--ilo-ink);
  --text-color:var(--ilo-ink);
  --text-muted:var(--ilo-muted);
  --border-color:var(--ilo-line);
  --th-bg:#F1F8FA;
  --font-family:var(--ilo-font-body);
}

*{font-family:var(--ilo-font-body)}
html{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body{font-family:var(--ilo-font-body);color:var(--ilo-ink)}
h1,h2,h3,h4,h5,h6,.page-title,.header-title,.brand strong,.section-title{
  font-family:var(--ilo-font-heading);
  letter-spacing:-.025em;
}
button,input,select,textarea{font-family:var(--ilo-font-body)}
button,a,input,select,textarea{transition:border-color .16s ease,background-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}
:focus-visible{outline:3px solid rgba(255,138,43,.42)!important;outline-offset:2px!important}
::selection{background:rgba(41,182,246,.24);color:var(--ilo-ink)}

/* ============================
   DASHBOARD SHELL
   ============================ */
body.ilo-dashboard{
  background:var(--ilo-canvas)!important;
  color:var(--ilo-ink)!important;
  font-size:14px;
}
body.ilo-dashboard .main-content{min-width:0;background:var(--ilo-canvas)}
body.ilo-dashboard .sidebar{
  width:260px;
  padding:18px 0 14px!important;
  background:linear-gradient(180deg,var(--ilo-sky) 0%,#22B9E7 38%,var(--ilo-aqua) 100%)!important;
  border-right:1px solid rgba(18,50,74,.06);
  box-shadow:8px 0 30px rgba(18,50,74,.06);
}
body.ilo-dashboard .sidebar.collapsed{width:78px}
body.ilo-dashboard .sidebar-profile{margin:0 14px 20px;padding:0 8px 20px;border-bottom:1px solid rgba(255,255,255,.20)}
body.ilo-dashboard .sidebar-profile img{
  width:72px;height:72px;margin-bottom:10px;border:3px solid rgba(255,255,255,.78)!important;
  box-shadow:0 8px 24px rgba(18,50,74,.14);background:#fff;
}
body.ilo-dashboard .sidebar-profile h4{margin:0;color:#082638;font:700 14px/1.35 var(--ilo-font-heading);letter-spacing:-.01em}
body.ilo-dashboard .sidebar-profile p{margin-top:5px;color:rgba(255,255,255,.92);font-size:12px;font-weight:500}
body.ilo-dashboard .nav-item{
  min-height:44px;margin:2px 10px;padding:10px 14px!important;border:0!important;border-radius:11px;
  color:rgba(255,255,255,.94)!important;font-size:13.5px;font-weight:600;line-height:1.2;
  gap:11px;
}
body.ilo-dashboard .nav-item i{width:20px;margin-right:0!important;color:#fff;font-size:15px}
body.ilo-dashboard .nav-item:hover{background:rgba(255,255,255,.15)!important;color:#fff!important;transform:translateX(1px)}
body.ilo-dashboard .nav-item.active{
  background:rgba(255,255,255,.20)!important;color:#fff!important;
  box-shadow:inset 4px 0 0 var(--ilo-orange),0 5px 14px rgba(18,50,74,.06)!important;
}
body.ilo-dashboard .sidebar-footer{margin-top:auto;padding:12px 16px;color:rgba(255,255,255,.86);font-size:12px}

body.ilo-dashboard header{
  height:72px;min-height:72px;padding:0 22px 0 24px!important;gap:16px;
  background:rgba(255,255,255,.98)!important;border-bottom:1px solid var(--ilo-line)!important;
  box-shadow:0 2px 12px rgba(18,50,74,.045)!important;overflow:visible;
}
body.ilo-dashboard header>div:first-child{gap:14px}
body.ilo-dashboard .page-title{max-width:420px;font-size:16px!important;font-weight:700!important;color:var(--ilo-navy)!important}
body.ilo-dashboard header .brand,body.ilo-dashboard header .brand-name{font:700 16px/1.2 var(--ilo-font-heading);color:var(--ilo-navy)!important}
body.ilo-dashboard header img{object-fit:contain}
body.ilo-dashboard #menu-toggle,body.ilo-dashboard .menu-toggle,body.ilo-dashboard .hamburger-btn{
  width:42px;height:42px;border:1px solid #E5EFF2!important;border-radius:11px!important;background:#F4F8FA!important;color:var(--ilo-navy)!important;
}
body.ilo-dashboard #menu-toggle:hover,body.ilo-dashboard .menu-toggle:hover,body.ilo-dashboard .hamburger-btn:hover{background:var(--ilo-soft)!important;border-color:var(--ilo-line-strong)!important}
body.ilo-dashboard .user-controls{gap:10px}
body.ilo-dashboard .top-logout-btn{
  min-height:40px;padding:9px 14px!important;border-radius:10px!important;background:var(--ilo-navy)!important;
  box-shadow:var(--ilo-shadow-xs);font-size:12.5px!important;font-weight:700!important;
}
body.ilo-dashboard .top-logout-btn:hover{background:#0D293D!important;transform:translateY(-1px)}

body.ilo-dashboard .view-container{
  height:calc(100vh - 72px)!important;padding:26px 30px 38px!important;background:var(--ilo-canvas);scrollbar-gutter:stable;
}
body.ilo-dashboard .view-container>h1,body.ilo-dashboard .view-container>h2,
body.ilo-dashboard .view-container>.view-heading h2{font-size:24px;line-height:1.22;color:var(--ilo-navy);font-weight:700}
body.ilo-dashboard .view-container>p,body.ilo-dashboard .view-subtitle{color:var(--ilo-muted);font-size:13.5px;line-height:1.6}

/* cards and metrics */
body.ilo-dashboard .card,
body.ilo-dashboard .history-page-card,
body.ilo-dashboard .reports-chart-card,
body.ilo-dashboard .online-interpreters-map-card,
body.ilo-dashboard .mg-card{
  background:#fff!important;border:1px solid var(--ilo-line)!important;border-radius:var(--ilo-radius-lg)!important;
  box-shadow:var(--ilo-shadow-sm)!important;color:var(--ilo-ink);
}
body.ilo-dashboard .card{padding:20px!important}
body.ilo-dashboard .stats-grid{gap:14px!important;margin-bottom:22px!important;grid-template-columns:repeat(auto-fit,minmax(185px,1fr))!important}
body.ilo-dashboard .stats-grid .card,body.ilo-dashboard .stat-card{
  min-height:112px;padding:18px 19px!important;text-align:left!important;position:relative;overflow:hidden;
}
body.ilo-dashboard .stats-grid .card::before,body.ilo-dashboard .stat-card::before{
  content:"";position:absolute;left:0;top:16px;bottom:16px;width:3px;border-radius:0 3px 3px 0;background:linear-gradient(var(--ilo-sky),var(--ilo-aqua));
}
body.ilo-dashboard .card h3,body.ilo-dashboard .stat-card h3,body.ilo-dashboard .stat-card>div{
  margin:0 0 5px!important;color:var(--ilo-navy)!important;font:700 24px/1.18 var(--ilo-font-heading)!important;
}
body.ilo-dashboard .card p,body.ilo-dashboard .stat-card span{color:var(--ilo-muted)!important;font-size:12.5px!important;line-height:1.45}
body.ilo-dashboard .clickable-card:hover{transform:translateY(-2px)!important;border-color:#B7DDE6!important;box-shadow:var(--ilo-shadow-md)!important}

/* tables */
body.ilo-dashboard .table-container,
body.ilo-dashboard .manager-appointments-table-container,
body.ilo-dashboard .ilo-table-wrap{
  border:1px solid var(--ilo-line)!important;border-radius:var(--ilo-radius-lg)!important;background:#fff!important;
  box-shadow:var(--ilo-shadow-xs)!important;overflow:auto;
}
body.ilo-dashboard table{width:100%;border-collapse:separate!important;border-spacing:0!important;font-size:13px!important}
body.ilo-dashboard th{
  padding:12px 15px!important;background:#F0F8FA!important;color:#416071!important;border-bottom:1px solid var(--ilo-line)!important;
  font-size:11px!important;font-weight:800!important;line-height:1.25;letter-spacing:.045em;text-transform:uppercase!important;white-space:nowrap;
}
body.ilo-dashboard td{padding:12px 15px!important;border-bottom:1px solid #EAF1F3!important;color:#213642;vertical-align:middle}
body.ilo-dashboard tbody tr:last-child td{border-bottom:0!important}
body.ilo-dashboard tbody tr:hover td{background:#F8FCFD}
body.ilo-dashboard table a{color:#0B8C9E;font-weight:650}

/* forms */
body.ilo-dashboard label,body.ilo-flow label,body.ilo-auth label{color:#274250;font-size:12px;font-weight:700;letter-spacing:.005em}
body.ilo-dashboard input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
body.ilo-dashboard select,body.ilo-dashboard textarea,
body.ilo-flow input:not([type="checkbox"]):not([type="radio"]),body.ilo-flow select,body.ilo-flow textarea{
  min-height:var(--ilo-control-h);padding:9px 12px!important;border:1px solid var(--ilo-line-strong)!important;border-radius:10px!important;
  background:#fff!important;color:var(--ilo-ink)!important;font-size:13px!important;box-shadow:inset 0 1px 1px rgba(18,50,74,.02);
}
body.ilo-dashboard textarea,body.ilo-flow textarea{min-height:92px;line-height:1.55}
body.ilo-dashboard input:focus,body.ilo-dashboard select:focus,body.ilo-dashboard textarea:focus,
body.ilo-flow input:focus,body.ilo-flow select:focus,body.ilo-flow textarea:focus{
  outline:0!important;border-color:var(--ilo-aqua)!important;box-shadow:0 0 0 3px rgba(24,198,195,.13)!important;
}
body.ilo-dashboard input::placeholder,body.ilo-dashboard textarea::placeholder{color:#8AA0AC}
body.ilo-dashboard .form-group{margin-bottom:16px!important}
body.ilo-dashboard .form-group label{margin-bottom:6px!important}

/* buttons and tabs */
body.ilo-dashboard .action-btn,body.ilo-dashboard .btn-primary,body.ilo-dashboard .primary-btn,
body.ilo-dashboard .submit-btn,body.ilo-dashboard .save-btn,body.ilo-dashboard .portal-chat-primary,
body.ilo-dashboard .mg-primary,body.ilo-dashboard button[type="submit"]:not(.portal-chat-bot-send){
  min-height:38px;padding:8px 13px;border:1px solid transparent!important;border-radius:10px!important;
  background:var(--ilo-aqua)!important;color:#fff!important;font-size:12.5px!important;font-weight:700!important;line-height:1.2;
  box-shadow:0 5px 12px rgba(24,198,195,.15);
}
body.ilo-dashboard .action-btn:hover,body.ilo-dashboard .btn-primary:hover,body.ilo-dashboard .portal-chat-primary:hover{background:#10AAA8!important;transform:translateY(-1px)}
body.ilo-dashboard .btn-secondary,body.ilo-dashboard .secondary-btn,body.ilo-dashboard .portal-chat-secondary,body.ilo-dashboard .mg-secondary{
  min-height:38px;padding:8px 13px!important;border:1px solid var(--ilo-line-strong)!important;border-radius:10px!important;
  background:#fff!important;color:var(--ilo-navy)!important;font-size:12.5px!important;font-weight:700!important;box-shadow:none!important;
}
body.ilo-dashboard .btn-secondary:hover,body.ilo-dashboard .portal-chat-secondary:hover{background:var(--ilo-soft)!important;border-color:#AFCED6!important}
body.ilo-dashboard .tab-btn,body.ilo-dashboard .history-tab-btn{
  min-height:38px;padding:8px 13px!important;border:1px solid var(--ilo-line)!important;border-radius:10px!important;background:#fff!important;
  color:var(--ilo-muted)!important;font-size:12.5px!important;font-weight:700!important;
}
body.ilo-dashboard .tab-btn.active,body.ilo-dashboard .history-tab-btn.active,body.ilo-dashboard .tab-btn[aria-selected="true"]{
  background:var(--ilo-soft-aqua)!important;border-color:#9BDFDD!important;color:#087D7B!important;box-shadow:inset 0 -2px 0 var(--ilo-aqua)!important;
}
body.ilo-dashboard .status-badge,body.ilo-dashboard .status-pill{
  display:inline-flex;align-items:center;min-height:25px;padding:4px 9px!important;border-radius:999px!important;font-size:11px!important;font-weight:700!important;
}
body.ilo-dashboard .status-scheduled{background:#E8F7FC!important;color:#0876A7!important}
body.ilo-dashboard .status-completed,body.ilo-dashboard .status-online{background:#E9FBFA!important;color:#087D7B!important}
body.ilo-dashboard .status-new{background:#FFF2E7!important;color:#B45309!important}
body.ilo-dashboard .status-offline{background:#EEF3F5!important;color:#647983!important}

/* modals */
body.ilo-dashboard .modal-overlay,body.ilo-dashboard .modal,body.ilo-dashboard .ilo-dialog::backdrop{
  backdrop-filter:blur(8px);
}
body.ilo-dashboard .modal-overlay{background:rgba(13,41,61,.48)!important}
body.ilo-dashboard .modal-content,body.ilo-dashboard .call-card,body.ilo-dashboard .interpreter-details-modal,
body.ilo-dashboard .ilo-dialog,body.ilo-dashboard dialog{
  border:1px solid rgba(216,232,236,.95)!important;border-radius:18px!important;background:#fff;color:var(--ilo-ink);box-shadow:var(--ilo-shadow-lg)!important;
}
body.ilo-dashboard .modal-content h2,body.ilo-dashboard .modal-content h3,body.ilo-dashboard .call-card h2,body.ilo-dashboard .call-card h3{color:var(--ilo-navy)!important}

/* Branded incoming-call experience: remove old purple palette. */
body.ilo-dashboard #call-modal .call-card{
  background:linear-gradient(135deg,var(--ilo-navy) 0%,#0D5D75 48%,var(--ilo-aqua) 100%)!important;
}
body.ilo-dashboard #call-modal .caller-avatar{color:var(--ilo-aqua)!important}
body.ilo-dashboard #call-modal .wave-line{
  background:linear-gradient(90deg,transparent 0%,var(--ilo-orange) 9%,transparent 17%,var(--ilo-sky) 27%,transparent 36%,var(--ilo-aqua) 47%,transparent 57%,var(--ilo-orange) 68%,transparent 78%,var(--ilo-sky) 90%,transparent 100%)!important;
}

/* ============================
   REFERRAL / AFFILIATE UI
   ============================ */
body.ilo-dashboard .ilo-panel{padding:0!important;color:var(--ilo-ink)!important}
body.ilo-dashboard .ilo-card{
  padding:20px!important;margin-bottom:18px!important;background:#fff!important;border:1px solid var(--ilo-line)!important;border-radius:16px!important;box-shadow:var(--ilo-shadow-sm)!important;
}
body.ilo-dashboard .ilo-card h2{margin:0 0 4px;color:var(--ilo-navy)!important;font:700 22px/1.25 var(--ilo-font-heading)}
body.ilo-dashboard .ilo-card>p{color:var(--ilo-muted);font-size:13px;line-height:1.55}
body.ilo-dashboard .ilo-toolbar{gap:8px!important;margin:14px 0!important}
body.ilo-dashboard .ilo-button{
  min-height:38px;padding:8px 13px!important;border:1px solid var(--ilo-line)!important;border-radius:10px!important;
  background:#fff!important;color:var(--ilo-navy)!important;font-size:12.5px!important;font-weight:700!important;box-shadow:none!important;
}
body.ilo-dashboard .ilo-button:hover{background:var(--ilo-soft)!important;border-color:#AFCED6!important}
body.ilo-dashboard .ilo-button[aria-selected="true"]{background:var(--ilo-navy)!important;border-color:var(--ilo-navy)!important;color:#fff!important;outline:3px solid rgba(41,182,246,.28)!important}
body.ilo-dashboard .ilo-danger{background:#B42318!important;color:#fff!important;border-color:#B42318!important}
body.ilo-dashboard .ilo-link{width:min(760px,100%)!important;font-size:12.5px!important}
body.ilo-dashboard .ilo-details{grid-template-columns:170px minmax(0,1fr)!important;gap:9px 18px!important;margin:18px 0!important}
body.ilo-dashboard .ilo-details dt{color:#355262;font-size:12px;font-weight:750!important}
body.ilo-dashboard .ilo-details dd{color:var(--ilo-ink);font-size:13px}
body.ilo-dashboard .ilo-dialog{padding:22px!important}

/* ============================
   PORTAL CHAT + ASSISTANT AI
   ============================ */
body.ilo-dashboard .portal-chat-policy-card,body.ilo-dashboard .portal-chat-bot-settings{
  max-width:none!important;padding:20px!important;border:1px solid var(--ilo-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--ilo-shadow-sm)!important;
}
body.ilo-dashboard .portal-chat-policy-card h3,body.ilo-dashboard .portal-chat-bot-settings h3{margin:0;color:var(--ilo-navy)!important;font:700 18px/1.3 var(--ilo-font-heading)!important}
body.ilo-dashboard .portal-chat-policy-card>p,body.ilo-dashboard .portal-chat-bot-settings>p{margin-top:6px;color:var(--ilo-muted)!important;font-size:12.5px!important;line-height:1.55}
body.ilo-dashboard .portal-chat-bot-settings-grid{gap:14px 16px!important}
body.ilo-dashboard .portal-chat-bot-setting-toggle{
  min-height:44px;padding:10px 12px!important;border:1px solid var(--ilo-line)!important;border-radius:11px!important;background:#F9FCFD!important;font-weight:650!important;
}
body.ilo-dashboard .portal-chat-bot-setting-toggle input{accent-color:var(--ilo-aqua)!important}
body.ilo-dashboard .portal-chat-bot-stat{
  min-width:145px;padding:12px 14px!important;border:1px solid var(--ilo-line)!important;border-radius:12px!important;background:#F9FCFD!important;
}
body.ilo-dashboard .portal-chat-bot-stat strong{color:var(--ilo-navy)!important;font:700 18px/1.25 var(--ilo-font-heading)!important}
body.ilo-dashboard .portal-chat-bot-stat small{font-size:11.5px!important}
body.ilo-dashboard .portal-chat-assistant-upload{
  display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:center;padding:12px;border:1px dashed #AFCDD5;border-radius:12px;background:#F8FCFD;
}
body.ilo-dashboard .portal-chat-assistant-preview{
  width:64px;height:64px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid var(--ilo-line);border-radius:15px;background:#fff;color:var(--ilo-aqua);font-size:22px;box-shadow:var(--ilo-shadow-xs)
}
body.ilo-dashboard .portal-chat-assistant-preview img{width:100%;height:100%;object-fit:cover}
body.ilo-dashboard .portal-chat-assistant-upload-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
body.ilo-dashboard .portal-chat-assistant-upload-btn,body.ilo-dashboard .portal-chat-assistant-remove-btn{
  min-height:35px;display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid var(--ilo-line-strong);border-radius:9px;background:#fff;color:var(--ilo-navy);font-size:11.5px;font-weight:700;cursor:pointer
}
body.ilo-dashboard .portal-chat-assistant-upload-btn{background:var(--ilo-aqua);border-color:var(--ilo-aqua);color:#fff}
body.ilo-dashboard .portal-chat-assistant-upload-btn input{display:none}
body.ilo-dashboard .portal-chat-assistant-upload small{grid-column:2;color:var(--ilo-muted);font-size:10.5px;line-height:1.45}
.portal-chat-main>.portal-chat-floating-assistant .portal-chat-assistant-label,
.portal-chat-client-bot-root .portal-chat-assistant-label{color:var(--ilo-navy)!important;border-color:var(--ilo-line)!important;font-family:var(--ilo-font-body)!important}
.portal-chat-bot-head{background:linear-gradient(135deg,var(--ilo-navy),#0E7080)!important}
.portal-chat-bot-send,.portal-chat-bot-action,.portal-chat-bot-chip{--primary-color:var(--ilo-aqua)!important}
.portal-chat-bot-launcher{--primary-color:var(--ilo-aqua)!important}

/* ============================
   AUTH / SIGN-IN / RESET
   ============================ */
body.ilo-auth{font-family:var(--ilo-font-body)!important;background:linear-gradient(135deg,#F8FCFD,#EDF8FA)!important;color:var(--ilo-ink)}
body.ilo-auth h1,body.ilo-auth h2,body.ilo-auth h3{font-family:var(--ilo-font-heading)!important;color:var(--ilo-navy)!important}
body.ilo-auth .auth-card,body.ilo-auth .login-card,body.ilo-auth .card,body.ilo-auth .shell,body.ilo-auth .panel{
  border-color:var(--ilo-line)!important;border-radius:20px!important;box-shadow:var(--ilo-shadow-md)!important
}
body.ilo-auth input,body.ilo-auth select,body.ilo-auth textarea{
  min-height:44px;border:1px solid var(--ilo-line-strong)!important;border-radius:10px!important;font-size:13px!important
}
body.ilo-auth input:focus,body.ilo-auth select:focus,body.ilo-auth textarea:focus{border-color:var(--ilo-aqua)!important;box-shadow:0 0 0 3px rgba(24,198,195,.13)!important;outline:0!important}
body.ilo-auth #sign-in,body.ilo-auth .login-btn,body.ilo-auth .submit,body.ilo-auth button[type="submit"]{
  min-height:44px;border-radius:10px!important;background:var(--ilo-aqua)!important;color:#fff!important;font-weight:750!important;box-shadow:0 8px 18px rgba(24,198,195,.18)
}
body.ilo-auth #sign-in:hover,body.ilo-auth .login-btn:hover,body.ilo-auth button[type="submit"]:hover{background:#0FA9A7!important;transform:translateY(-1px)}

/* ============================
   PUBLIC WEBSITE
   ============================ */
body.ilo-public{font-family:var(--ilo-font-body)!important;color:var(--ilo-ink)!important}
body.ilo-public h1,body.ilo-public h2,body.ilo-public h3,body.ilo-public h4{font-family:var(--ilo-font-heading)!important;color:var(--ilo-navy);letter-spacing:-.035em}
body.ilo-public .site-header{height:76px;border-bottom:1px solid var(--ilo-line)!important;box-shadow:0 2px 12px rgba(18,50,74,.035)}
body.ilo-public .site-nav{font-size:12.5px!important;font-weight:700!important}
body.ilo-public .nav-cta,body.ilo-public .btn.primary{background:var(--ilo-aqua)!important;box-shadow:0 10px 24px rgba(24,198,195,.16)!important}
body.ilo-public .nav-cta:hover,body.ilo-public .btn.primary:hover{background:#10AAA8!important}
body.ilo-public .hero,body.ilo-public .detail-hero,body.ilo-public .demo-hero{
  background:radial-gradient(circle at 88% 12%,rgba(255,138,43,.15),transparent 23%),radial-gradient(circle at 11% 7%,rgba(41,182,246,.13),transparent 28%),linear-gradient(135deg,#fff,#F8FCFD 52%,#EAF9FA)!important;
}
body.ilo-public .eyebrow{color:#0B8F8D!important}
body.ilo-public .btn{border-radius:10px!important;font-size:13px!important;font-weight:750!important}
body.ilo-public .card,body.ilo-public .feature-card,body.ilo-public .pricing-card,body.ilo-public .demo-card{
  border-color:var(--ilo-line)!important;box-shadow:var(--ilo-shadow-sm)!important
}
body.ilo-public .mt-interpreter-line-one-access{background:#F3FBFC!important;color:var(--ilo-navy)!important;border-color:var(--ilo-line)!important}
body.ilo-public .mt-interpreter-line-one-access h2{color:var(--ilo-navy)!important}
body.ilo-public .mt-interpreter-line-one-access__button{background:var(--ilo-aqua)!important;border-color:var(--ilo-aqua)!important}

/* ============================
   TENANT ONBOARDING / CHECKOUT
   ============================ */
body.ilo-flow{font-family:var(--ilo-font-body)!important;color:var(--ilo-ink)!important;background:linear-gradient(145deg,#F8FCFD,#EEF9FA)!important}
body.ilo-flow h1,body.ilo-flow h2,body.ilo-flow h3{font-family:var(--ilo-font-heading)!important;color:var(--ilo-navy)!important}
body.ilo-flow .card,body.ilo-flow .panel,body.ilo-flow .checkout-card,body.ilo-flow .shell{
  border:1px solid var(--ilo-line)!important;border-radius:20px!important;box-shadow:var(--ilo-shadow-md)!important;background:#fff!important
}
body.ilo-flow button[type="submit"],body.ilo-flow .btn-primary,body.ilo-flow .primary-btn{
  min-height:44px;border:0;border-radius:10px!important;background:var(--ilo-aqua)!important;color:#fff!important;font-weight:750!important
}

/* ============================
   MEETING ROOM
   ============================ */
body.ilo-meeting{font-family:var(--ilo-font-body)!important;background:#081923!important;color:#fff}
body.ilo-meeting h1,body.ilo-meeting h2,body.ilo-meeting h3{font-family:var(--ilo-font-heading)!important}
body.ilo-meeting button{font-weight:650}
body.ilo-meeting .meeting-control.active,body.ilo-meeting .control-btn.active{background:var(--ilo-aqua)!important;border-color:var(--ilo-aqua)!important}
body.ilo-meeting .meeting-panel,body.ilo-meeting .side-panel{border-color:rgba(216,232,236,.16)!important}

/* ============================
   DARK MODE
   ============================ */
[data-theme="dark"]{
  --bg-color:#0C171D;--header-bg:#111E25;--card-bg:#14232B;--text-main:#F2F8FA;--text-color:#F2F8FA;
  --text-muted:#9DB1BB;--border-color:#29404B;--th-bg:#172B34;--ilo-canvas:#0C171D;--ilo-ink:#F2F8FA;--ilo-muted:#9DB1BB;--ilo-line:#29404B;--ilo-line-strong:#38535F;
}
[data-theme="dark"] body.ilo-dashboard,[data-theme="dark"] body.ilo-dashboard .main-content,[data-theme="dark"] body.ilo-dashboard .view-container{background:#0C171D!important}
[data-theme="dark"] body.ilo-dashboard header,[data-theme="dark"] body.ilo-dashboard .card,[data-theme="dark"] body.ilo-dashboard .table-container,
[data-theme="dark"] body.ilo-dashboard .portal-chat-policy-card,[data-theme="dark"] body.ilo-dashboard .ilo-card{background:#14232B!important;color:#F2F8FA!important}
[data-theme="dark"] body.ilo-dashboard th{background:#172B34!important;color:#B8CBD3!important}
[data-theme="dark"] body.ilo-dashboard td{color:#E7F0F3!important;border-color:#223740!important}
[data-theme="dark"] body.ilo-dashboard tbody tr:hover td{background:#172B34!important}
[data-theme="dark"] body.ilo-dashboard input:not([type="checkbox"]):not([type="radio"]),[data-theme="dark"] body.ilo-dashboard select,[data-theme="dark"] body.ilo-dashboard textarea{background:#101F26!important;color:#F2F8FA!important}

/* ============================
   RESPONSIVE CONSISTENCY
   ============================ */
@media(max-width:980px){
  body.ilo-dashboard .view-container{padding:20px 18px 30px!important}
  body.ilo-dashboard header{padding:0 14px!important}
  body.ilo-dashboard .page-title{max-width:230px;font-size:14px!important}
  body.ilo-dashboard .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ilo-dashboard .portal-chat-bot-settings-toggles{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:650px){
  body.ilo-dashboard{font-size:13px}
  body.ilo-dashboard .view-container{padding:16px 12px 26px!important}
  body.ilo-dashboard .stats-grid{grid-template-columns:1fr!important;gap:10px!important}
  body.ilo-dashboard .card{padding:16px!important;border-radius:14px!important}
  body.ilo-dashboard th,body.ilo-dashboard td{padding:10px 12px!important}
  body.ilo-dashboard .portal-chat-bot-settings-toggles{grid-template-columns:1fr!important}
  body.ilo-dashboard .portal-chat-assistant-upload{grid-template-columns:54px minmax(0,1fr)}
  body.ilo-dashboard .portal-chat-assistant-preview{width:54px;height:54px;border-radius:12px}
  body.ilo-dashboard .ilo-details{grid-template-columns:1fr!important;gap:3px!important}
  body.ilo-dashboard .ilo-details dd{margin-bottom:8px!important}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Platform-owner / organization administration injected UI */
body.ilo-dashboard #saas-tenants-view,body.ilo-dashboard #saas-create-tenant-view{padding:0!important}
body.ilo-dashboard .saas-hero{margin-bottom:18px!important}
body.ilo-dashboard .saas-hero h1{color:var(--ilo-navy)!important;font:700 24px/1.22 var(--ilo-font-heading)!important}
body.ilo-dashboard .saas-hero p,body.ilo-dashboard .saas-muted{color:var(--ilo-muted)!important;font-size:12.5px!important}
body.ilo-dashboard .saas-grid{gap:14px!important}
body.ilo-dashboard .saas-card{padding:18px!important;border:1px solid var(--ilo-line)!important;border-radius:16px!important;box-shadow:var(--ilo-shadow-sm)!important}
body.ilo-dashboard .saas-card h3{color:#5E7581!important;font-size:10.5px!important;font-weight:800!important;letter-spacing:.055em!important}
body.ilo-dashboard .saas-card strong{color:var(--ilo-navy)!important;font:700 24px/1.2 var(--ilo-font-heading)!important}
body.ilo-dashboard .saas-btn{min-height:38px!important;padding:8px 13px!important;border-radius:10px!important;background:var(--ilo-aqua)!important;font-size:12px!important;font-weight:700!important}
body.ilo-dashboard .saas-btn.secondary{background:var(--ilo-navy)!important}.saas-btn.warning{background:var(--ilo-orange)!important}.saas-btn.ghost{background:var(--ilo-soft)!important;color:var(--ilo-navy)!important}
body.ilo-dashboard .saas-table-wrap{border-color:var(--ilo-line)!important;border-radius:16px!important;box-shadow:var(--ilo-shadow-xs)!important}
body.ilo-dashboard .saas-table th{background:#F0F8FA!important;color:#416071!important}.saas-table td{border-color:#EAF1F3!important}
body.ilo-dashboard .saas-form label{color:#274250!important;font-size:12px!important;font-weight:700!important}
body.ilo-dashboard .saas-form input,body.ilo-dashboard .saas-form select,body.ilo-dashboard .saas-form textarea,body.ilo-dashboard .saas-search{min-height:42px!important;padding:9px 12px!important;border:1px solid var(--ilo-line-strong)!important;border-radius:10px!important}
body.ilo-dashboard .saas-logo-upload-box{border-color:#AFCDD5!important;border-radius:12px!important;background:#F8FCFD!important}
body.ilo-dashboard .saas-logo-upload-btn{background:var(--ilo-aqua)!important;border-radius:9px!important;font-size:11.5px!important;font-weight:700!important}
body.ilo-dashboard .saas-color-card,body.ilo-dashboard .saas-check{border-color:var(--ilo-line)!important;border-radius:12px!important}


/* ============================
   MOBILE / DESKTOP APP-READY RESPONSIVE LAYER — 2026-10-03 v2
   ============================ */
html{max-width:100%;overflow-x:hidden}
body{max-width:100%;overflow-x:hidden}
img,svg,video,canvas{max-width:100%}

/* Tables stay readable on phones: the page never drifts sideways; only the table surface scrolls. */
.ilo-mobile-table-scroll{
  position:relative;
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:auto!important;
  overflow-y:visible;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
  scrollbar-color:#9CCDD7 #EDF7F9;
  border-radius:inherit;
}
.ilo-mobile-table-scroll::-webkit-scrollbar{height:9px}
.ilo-mobile-table-scroll::-webkit-scrollbar-track{background:#EDF7F9;border-radius:999px}
.ilo-mobile-table-scroll::-webkit-scrollbar-thumb{background:#9CCDD7;border:2px solid #EDF7F9;border-radius:999px}
.ilo-mobile-table-scroll::-webkit-scrollbar-thumb:hover{background:#63B9C8}
.ilo-responsive-table{width:100%!important;max-width:none!important}

/* Normalized modal surfaces. JS adds these classes to legacy and dynamically-created modals. */
.ilo-modal-backdrop{
  box-sizing:border-box;
  padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))!important;
  overflow:auto!important;
  overscroll-behavior:contain;
}
.ilo-modal-surface{
  box-sizing:border-box;
  max-width:calc(100vw - 32px)!important;
  max-height:calc(100dvh - 32px)!important;
  overflow:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
.ilo-modal-surface:focus{outline:none}

body.ilo-dashboard .modal-overlay,
body.ilo-dashboard .modal,
body.ilo-dashboard .ilo-modal-backdrop{
  background:rgba(13,41,61,.52)!important;
  backdrop-filter:blur(10px) saturate(115%)!important;
  -webkit-backdrop-filter:blur(10px) saturate(115%)!important;
}
body.ilo-dashboard .ilo-modal-surface:not(.ilo-call-surface){
  border:1px solid var(--ilo-line)!important;
  border-radius:18px!important;
  background:#fff;
  color:var(--ilo-ink);
  box-shadow:0 28px 80px rgba(18,50,74,.22)!important;
}

/* Prevent wide controls/cards from forcing the application shell wider than the viewport. */
body.ilo-dashboard .view-container,
body.ilo-dashboard .card,
body.ilo-dashboard .history-page-card,
body.ilo-dashboard .reports-chart-card,
body.ilo-dashboard .online-interpreters-map-card,
body.ilo-dashboard .mg-card,
body.ilo-dashboard .ilo-card,
body.ilo-dashboard .saas-card,
body.ilo-dashboard .portal-chat-policy-card,
body.ilo-dashboard .portal-chat-bot-settings{min-width:0;max-width:100%;box-sizing:border-box}
body.ilo-dashboard .toolbar,
body.ilo-dashboard .filters,
body.ilo-dashboard .filter-row,
body.ilo-dashboard .action-row,
body.ilo-dashboard .modal-actions,
body.ilo-dashboard .button-row{max-width:100%}
body.ilo-dashboard pre,body.ilo-dashboard code{max-width:100%;overflow-wrap:anywhere}
body.ilo-dashboard canvas{width:100%!important;max-width:100%!important}

/* App-like responsive shell. */
@media(max-width:1024px){
  body.ilo-dashboard{overflow-x:hidden!important}
  body.ilo-dashboard .sidebar{
    width:min(300px,86vw)!important;max-width:min(300px,86vw)!important;
    height:100dvh!important;padding-top:max(14px,env(safe-area-inset-top))!important;
    padding-bottom:max(14px,env(safe-area-inset-bottom))!important;
    box-shadow:18px 0 52px rgba(18,50,74,.22)!important;
  }
  body.ilo-dashboard.sidebar-mobile-open{overflow:hidden!important}
  body.ilo-dashboard .main-content{width:100%!important;min-width:0!important;margin:0!important}
  body.ilo-dashboard header{padding-left:max(12px,env(safe-area-inset-left))!important;padding-right:max(12px,env(safe-area-inset-right))!important}
  body.ilo-dashboard .view-container{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
}

@media(max-width:768px){
  :root{--ilo-control-h:44px}
  body.ilo-dashboard{font-size:13px!important}
  body.ilo-dashboard header{
    height:64px!important;min-height:64px!important;gap:8px!important;
    padding-top:env(safe-area-inset-top)!important;
  }
  body.ilo-dashboard header>div:first-child{gap:8px!important;min-width:0}
  body.ilo-dashboard #menu-toggle,body.ilo-dashboard .menu-toggle,body.ilo-dashboard .hamburger-btn,body.ilo-dashboard .sidebar-toggle-btn{
    width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;border-radius:10px!important
  }
  body.ilo-dashboard .page-title{max-width:min(44vw,210px)!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px!important}
  body.ilo-dashboard header .brand,body.ilo-dashboard header .brand-name{font-size:14px!important;max-width:42vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body.ilo-dashboard .user-controls{gap:6px!important;min-width:0}
  body.ilo-dashboard .top-logout-btn,body.ilo-dashboard .client-logout-btn{min-width:40px;min-height:40px;padding:8px 10px!important}
  body.ilo-dashboard .view-container{
    height:calc(100dvh - 64px)!important;
    min-height:calc(100dvh - 64px)!important;
    padding:14px 10px calc(28px + env(safe-area-inset-bottom))!important;
    scroll-padding-bottom:calc(28px + env(safe-area-inset-bottom));
  }
  body.ilo-dashboard .view-container>h1,body.ilo-dashboard .view-container>h2,body.ilo-dashboard .view-container>.view-heading h2{font-size:20px!important}
  body.ilo-dashboard .card,body.ilo-dashboard .ilo-card,body.ilo-dashboard .saas-card,body.ilo-dashboard .mg-card{padding:14px!important;border-radius:14px!important}
  body.ilo-dashboard .stats-grid{grid-template-columns:1fr!important;gap:10px!important}
  body.ilo-dashboard .stats-grid .card,body.ilo-dashboard .stat-card{min-height:92px!important;padding:15px 16px!important}
  body.ilo-dashboard .card h3,body.ilo-dashboard .stat-card h3,body.ilo-dashboard .stat-card>div{font-size:20px!important}

  /* iOS/Android-friendly fields: 16px avoids browser zoom and 44px gives a reliable touch target. */
  body.ilo-dashboard input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  body.ilo-dashboard select,body.ilo-dashboard textarea,
  body.ilo-flow input:not([type="checkbox"]):not([type="radio"]),body.ilo-flow select,body.ilo-flow textarea,
  body.ilo-auth input:not([type="checkbox"]):not([type="radio"]),body.ilo-auth select,body.ilo-auth textarea{
    min-height:44px!important;font-size:16px!important;border-radius:10px!important
  }
  body.ilo-dashboard button,body.ilo-dashboard .btn,body.ilo-dashboard .action-btn,body.ilo-dashboard .ilo-button,body.ilo-dashboard .saas-btn{
    min-height:42px;touch-action:manipulation
  }
  body.ilo-dashboard .form-grid,body.ilo-dashboard .saas-form-grid,body.ilo-dashboard .profile-grid,body.ilo-dashboard .settings-grid{grid-template-columns:1fr!important}
  body.ilo-dashboard .form-group.full,body.ilo-dashboard [class*="span-2"]{grid-column:1!important}

  /* Toolbars remain compact; long tab sets can be swiped horizontally without moving the page. */
  body.ilo-dashboard .tabs,body.ilo-dashboard .tab-row,body.ilo-dashboard .history-tabs,body.ilo-dashboard .ilo-toolbar,
  body.ilo-dashboard .portal-chat-tabs,body.ilo-dashboard .saas-toolbar{
    max-width:100%;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap!important;-webkit-overflow-scrolling:touch;scrollbar-width:none
  }
  body.ilo-dashboard .tabs::-webkit-scrollbar,body.ilo-dashboard .tab-row::-webkit-scrollbar,body.ilo-dashboard .history-tabs::-webkit-scrollbar,
  body.ilo-dashboard .ilo-toolbar::-webkit-scrollbar,body.ilo-dashboard .portal-chat-tabs::-webkit-scrollbar,body.ilo-dashboard .saas-toolbar::-webkit-scrollbar{display:none}
  body.ilo-dashboard .tab-btn,body.ilo-dashboard .history-tab-btn,body.ilo-dashboard .ilo-toolbar .ilo-button{flex:0 0 auto;white-space:nowrap}

  /* Precise per-table horizontal scrolling. */
  .ilo-mobile-table-scroll{margin-inline:0;box-shadow:inset -14px 0 18px -18px rgba(18,50,74,.28)}
  .ilo-responsive-table{min-width:var(--ilo-mobile-table-min,680px)!important;width:max(100%,var(--ilo-mobile-table-min,680px))!important}
  body.ilo-dashboard th,body.ilo-dashboard td{padding:10px 11px!important;white-space:nowrap!important}
  body.ilo-dashboard td[data-wrap="true"],body.ilo-dashboard .wrap-cell{white-space:normal!important;min-width:180px}

  /* App-like bottom sheets for ordinary modal forms/detail dialogs. */
  .ilo-modal-backdrop{align-items:flex-end!important;padding:10px 8px max(8px,env(safe-area-inset-bottom))!important}
  .ilo-modal-surface:not(.ilo-call-surface){
    width:100%!important;max-width:100%!important;max-height:min(92dvh,820px)!important;
    margin:0!important;border-radius:18px 18px 12px 12px!important;padding:max(16px,3.5vw)!important;
    overscroll-behavior:contain;animation:iloMobileSheetIn .18s ease-out both
  }
  .ilo-modal-surface:not(.ilo-call-surface)::before{
    content:"";display:block;width:42px;height:4px;margin:-5px auto 12px;border-radius:999px;background:#C9DCE1
  }
  .ilo-call-surface{
    width:100%!important;max-width:100%!important;max-height:calc(100dvh - 16px)!important;border-radius:16px!important;margin:auto!important
  }
  #client-video-modal .ilo-call-surface{height:calc(100dvh - 16px)!important}
  body.ilo-dashboard .modal-content h2,body.ilo-dashboard .modal-content h3,body.ilo-dashboard .ilo-modal-surface h2,body.ilo-dashboard .ilo-modal-surface h3{font-size:18px!important;line-height:1.3}
  body.ilo-dashboard .modal-actions,body.ilo-dashboard .action-row{gap:8px!important}
  body.ilo-dashboard .modal-actions>button,body.ilo-dashboard .modal-actions>.btn{flex:1 1 140px}

  /* Dynamic/chat surfaces already have their own mobile layout; keep them within device safe areas. */
  .portal-chat-bot-drawer,.portal-chat-modal-card{max-width:100vw!important}
  .portal-chat-client-bot-root .portal-chat-bot-launcher{bottom:max(14px,env(safe-area-inset-bottom))!important}

  .interpreter-line-one-footer{position:static!important;padding-bottom:max(8px,env(safe-area-inset-bottom))!important}
}

@media(max-width:480px){
  body.ilo-dashboard .view-container{padding-left:8px!important;padding-right:8px!important}
  body.ilo-dashboard .page-title{max-width:38vw!important;font-size:12px!important}
  body.ilo-dashboard header .brand,body.ilo-dashboard header .brand-name{max-width:34vw;font-size:13px!important}
  body.ilo-dashboard .ilo-card h2{font-size:18px!important}
  body.ilo-dashboard .portal-chat-assistant-upload{grid-template-columns:48px minmax(0,1fr)!important;padding:10px!important}
  body.ilo-dashboard .portal-chat-assistant-preview{width:48px!important;height:48px!important}
  body.ilo-dashboard .portal-chat-assistant-upload-actions{gap:6px!important}
  body.ilo-dashboard .portal-chat-assistant-upload-btn,body.ilo-dashboard .portal-chat-assistant-remove-btn{min-height:36px!important;padding:7px 9px!important}
}

@keyframes iloMobileSheetIn{from{opacity:.35;transform:translateY(20px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.ilo-modal-surface{animation:none!important}}


/* Floating dial pads become app-style sheets on small screens. */
@media(max-width:768px){
  body.ilo-dashboard .manager-direct-dial-panel,
  body.ilo-dashboard .client-dial-pad-modal{
    position:fixed!important;
    left:8px!important;right:8px!important;top:auto!important;
    bottom:max(8px,env(safe-area-inset-bottom))!important;
    width:auto!important;max-width:none!important;
    max-height:min(82dvh,680px)!important;
    overflow:auto!important;
    transform:none!important;
    border:1px solid var(--ilo-line)!important;
    border-radius:18px!important;
    box-shadow:0 26px 70px rgba(18,50,74,.24)!important;
    z-index:11020!important;
  }
  body.ilo-dashboard .manager-direct-dial-body{padding:14px!important}
  body.ilo-dashboard .manager-direct-dial-keypad{gap:8px!important}
  body.ilo-dashboard .manager-direct-dial-keypad button{min-height:48px!important}
}
