
/* Minimal themes share one layout and use only their own neutral palette. */
.minimal-mode-toggle{display:none}
.theme-option:focus-visible{outline:2px solid var(--theme-accent);outline-offset:3px}
.theme-option[data-theme-key^="minimal"] .theme-swatch{height:40px}
.theme-option[data-theme-key^="minimal"] strong{font-weight:650}
.theme-preview[data-theme-style="minimal"] .theme-preview-main{background:var(--preview-bg)!important}
.theme-preview[data-theme-style="minimal"] .nexora-logo-svg{filter:none!important}
.theme-preview[data-theme-style="minimal"] .theme-preview-cards>div{border-radius:8px;box-shadow:none!important}
html[data-theme-style="minimal"]{
  --font-ui:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --theme-surface2:var(--theme-surface-2);
  --surface:var(--theme-surface);
  --surface2:var(--theme-surface-2);
  --accent:var(--theme-accent);
}
html[data-theme-style="minimal"] :is(.app,.main,.scroll,#controlViews,.control-view){
  background:var(--theme-bg)!important;
}
html[data-theme-style="minimal"] .app{
  height:100dvh;
}
html[data-theme-style="minimal"] .app *,
html[data-theme-style="minimal"] .app *::before,
html[data-theme-style="minimal"] .app *::after{
  box-shadow:none!important;
  text-shadow:none!important;
  backdrop-filter:none!important;
}
html[data-theme-style="minimal"] :is(.sidebar,.bottom,.history){
  background:var(--theme-side)!important;
  border-color:var(--theme-line)!important;
}
html[data-theme-style="minimal"] .sidebar{width:248px;padding:14px 12px}
html[data-theme-style="minimal"] .brand{font-size:17px!important;font-weight:650!important;letter-spacing:-.03em}
html[data-theme-style="minimal"] :is(.nexora-logo-svg,.hero,.botmark){filter:none!important}
html[data-theme-style="minimal"] .top{
  background:var(--theme-bg)!important;
  border-bottom-color:transparent!important;
  min-height:62px;
}
html[data-theme-style="minimal"] .workspace-name{font-weight:550!important;font-size:14px!important}
html[data-theme-style="minimal"] .eyebrow{font-size:9px!important;letter-spacing:.06em}
html[data-theme-style="minimal"] .minimal-mode-toggle{display:grid;place-items:center}
html[data-theme-style="minimal"] .minimal-mode-toggle svg{width:19px;height:19px}
html[data-theme-style="minimal"] :is(.nav,.item,.profile,.smallbtn,.mobilemenu){color:var(--theme-text)!important}
html[data-theme-style="minimal"] .nav{font-size:13px!important;font-weight:450!important;border-radius:8px;min-height:36px}
html[data-theme-style="minimal"] :is(.navgroup-label,.label){font-size:10px!important;font-weight:550!important;letter-spacing:.045em;color:var(--theme-muted)!important}
html[data-theme-style="minimal"] :is(.nav:hover,.item:hover,.profile:hover,.smallbtn:hover){background:var(--theme-hover)!important}
html[data-theme-style="minimal"] :is(.nav.active,#settingsNavBtn.active,.session-sidebar-row.selected){
  color:var(--theme-text)!important;background:var(--theme-hover)!important;border-color:transparent!important;
}
html[data-theme-style="minimal"] :is(.newchat,.top-new-session){
  background:transparent!important;color:var(--theme-text)!important;border:1px solid var(--theme-line)!important;
  border-radius:9px!important;font-size:12px!important;font-weight:550!important;
}
html[data-theme-style="minimal"] :is(.newchat,.top-new-session):hover{background:var(--theme-hover)!important;color:var(--theme-text)!important}
html[data-theme-style="minimal"] :is(.newchat .plus,.history .label:first-child,.session-mini){color:var(--theme-text)!important}
html[data-theme-style="minimal"] :is(.avatar,.cardicon,.customer-avatar,.automation-icon,.comm-icon,.ai-policy-icon,.ai-approval-item-icon,.contact-icon){
  background:var(--theme-surface-2)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important;
}
html[data-theme-style="minimal"] .welcome{
  width:min(780px,calc(100% - 64px));padding:42px 0 170px;
}
html[data-theme-style="minimal"] .welcome-head{
  flex-direction:column;align-items:center;gap:16px;text-align:center;padding:0;margin-bottom:32px;
}
html[data-theme-style="minimal"] .welcome-head .hero{
  width:56px;height:42px;border:0!important;background:transparent!important;border-radius:0!important;
}
html[data-theme-style="minimal"] .welcome-head .hero .nexora-logo-svg{width:48px!important;height:36px!important}
html[data-theme-style="minimal"] .welcome-head .welcome-kicker{display:none}
html[data-theme-style="minimal"] .welcome h1{text-align:center;font-size:clamp(30px,3.2vw,44px)!important;font-weight:550!important;letter-spacing:-.045em!important}
html[data-theme-style="minimal"] .welcome .sub{text-align:center;font-size:14px!important;margin-top:12px;line-height:1.6!important}
html[data-theme-style="minimal"] :is(.welcome-kicker,.section-label){color:var(--theme-muted)!important;font-weight:550!important;letter-spacing:.07em!important}
html[data-theme-style="minimal"] .cards{gap:12px}
html[data-theme-style="minimal"] .card{
  min-height:100px;padding:17px 36px 17px 16px;background:var(--theme-bg)!important;
  border:1px solid var(--theme-line)!important;border-radius:12px!important;transition:background .15s,border-color .15s;
}
html[data-theme-style="minimal"] .card:hover{background:var(--theme-hover)!important;border-color:var(--theme-muted)!important;transform:none!important}
html[data-theme-style="minimal"] .card strong{font-size:13px!important;font-weight:600!important}
html[data-theme-style="minimal"] .card span{font-size:12px!important;line-height:1.5!important;color:var(--theme-muted)!important}
html[data-theme-style="minimal"] .cardicon{width:30px;height:30px;border-radius:8px!important;font-size:14px!important}
html[data-theme-style="minimal"] .hint{background:transparent!important;border-color:transparent!important;padding:10px 0;color:var(--theme-muted)!important;font-size:11px!important}
html[data-theme-style="minimal"] .hint span{background:var(--theme-surface-2)!important;color:var(--theme-muted)!important}
html[data-theme-style="minimal"] .nx-chat-command-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html[data-theme-style="minimal"] .nx-chat-command-grid button{font-size:12px!important;padding:12px;background:transparent!important;border-color:var(--theme-line)!important;border-radius:9px}
html[data-theme-style="minimal"] .nx-chat-command-grid button:hover{background:var(--theme-hover)!important}
html[data-theme-style="minimal"] .messages{width:min(780px,calc(100% - 64px));padding-top:28px;padding-bottom:180px}
html[data-theme-style="minimal"] .row{margin-bottom:32px;gap:14px}
html[data-theme-style="minimal"] .bubble{font-size:15px!important;line-height:1.75!important}
html[data-theme-style="minimal"] .user .bubble{background:var(--theme-surface-2)!important;border:0!important;border-radius:20px!important;padding:12px 18px}
html[data-theme-style="minimal"] .row.bot :is(.botmark,.nexora-logo-svg){animation:none!important;filter:none!important}
html[data-theme-style="minimal"] .composerwrap{width:min(800px,calc(100% - 48px));bottom:18px}
html[data-theme-style="minimal"] .composer{
  border:1px solid var(--theme-line)!important;background:var(--theme-surface-2)!important;border-radius:24px!important;
  min-height:66px;padding:10px 12px;
}
html[data-theme-style="minimal"] .composer:focus-within{border-color:var(--theme-muted)!important}
html[data-theme-style="minimal"] .composer textarea{background:transparent!important;font-size:15px!important;line-height:1.55!important;box-shadow:none!important}
html[data-theme-style="minimal"] .cb{background:transparent!important;color:var(--theme-text)!important}
html[data-theme-style="minimal"] .cb:hover{background:var(--theme-hover)!important}
html[data-theme-style="minimal"] .send{background:var(--theme-hover)!important;color:var(--theme-muted)!important}
html[data-theme-style="minimal"] .send.ready{background:var(--theme-accent)!important;color:var(--theme-accent-contrast)!important}
html[data-theme-style="minimal"] .note{color:var(--theme-muted)!important;font-size:10px!important}
html[data-theme-style="minimal"] :is(.primary,.login-submit){background:var(--theme-accent)!important;color:var(--theme-accent-contrast)!important;font-weight:550!important}
html[data-theme-style="minimal"] :is(.primary,.secondary,.switch-btn){border-radius:9px!important;font-size:12px!important}
html[data-theme-style="minimal"] :is(.secondary,.switch-btn){background:var(--theme-surface)!important;border:1px solid var(--theme-line)!important;color:var(--theme-text)!important}
html[data-theme-style="minimal"] :is(.secondary,.switch-btn):hover{background:var(--theme-hover)!important}
html[data-theme-style="minimal"] :is(.nx-hero,.nx-owner-report,.ai-control-hero,.delivery-ai-strip,.access-mode-card,[class$="-card"],[class*="-card "]){
  background:var(--theme-surface)!important;border-color:var(--theme-line)!important;border-radius:12px!important;box-shadow:none!important;
}
html[data-theme-style="minimal"] :is(.biz-kpi,.finance-kpi,.trend-kpi,.social-kpi,.automation-summary-card,.nx-kpi,.approval-overview-card,.delivery-overview-card,.task-overview-card){
  background:var(--theme-surface)!important;border-color:var(--theme-line)!important;
}
html[data-theme-style="minimal"] :is(.panel-copy h2,.nx-hero h2){font-size:26px!important;font-weight:600!important;letter-spacing:-.035em}
html[data-theme-style="minimal"] :is(.panel-copy p,.nx-hero p){font-size:13px!important;line-height:1.6!important}
html[data-theme-style="minimal"] .settings-card h3{font-size:16px!important;font-weight:600!important}
html[data-theme-style="minimal"] .data-table th{background:var(--theme-side)!important;font-weight:550!important}
html[data-theme-style="minimal"] .data-table td{background:transparent!important;font-size:12px!important}
html[data-theme-style="minimal"] .data-table :is(th,td){border-color:var(--theme-line)!important}
html[data-theme-style="minimal"] .data-table tbody tr:hover{background:var(--theme-hover)!important}
html[data-theme-style="minimal"] :is(input,textarea,select){color:var(--theme-text)!important;background-color:var(--theme-input)!important;border-color:var(--theme-line)!important}
html[data-theme-style="minimal"] :is(.module-search input,.settings-select,.hex-input,.nx-form-grid input,.nx-form-grid select,.nx-form-grid textarea){font-size:12px!important}
html[data-theme-style="minimal"] :is(input,textarea)::placeholder{color:var(--theme-muted)!important;opacity:1}
html[data-theme-style="minimal"] :is(button,a,input,textarea,select):focus-visible{outline:2px solid var(--theme-accent)!important;outline-offset:3px}
html[data-theme-style="minimal"] .composer textarea:focus-visible{outline:none!important}
html[data-theme-style="minimal"] :is(.auto-switch.on,.nx-switch.on){background:var(--theme-accent)!important;border-color:var(--theme-accent)!important}
html[data-theme-style="minimal"] :is(.auto-switch.on,.nx-switch.on)::after{background:var(--theme-accent-contrast)!important;box-shadow:none!important}
html[data-theme-style="minimal"] :is(.status i,.automation-status i,.meta-unread-dot){box-shadow:none!important}
html[data-theme-style="minimal"] .theme-current-badge{background:var(--theme-surface-2)!important;color:var(--theme-text)!important;font-weight:550;font-size:10px}
html[data-theme-style="minimal"] .theme-option{background:var(--theme-bg)!important;border-color:var(--theme-line)!important;border-radius:10px;padding:12px}
html[data-theme-style="minimal"] .theme-option.active{border-color:var(--theme-accent)!important}
html[data-theme-style="minimal"] .theme-option strong{font-size:12px!important}
html[data-theme-style="minimal"] .theme-option>span:not(.theme-check){font-size:10px!important;line-height:1.5}
html[data-theme-style="minimal"] .theme-check{color:var(--theme-accent-contrast)!important}
html[data-theme-style="minimal"] :is(.modal-box,.order-drawer,.ai-action-detail){background:var(--theme-surface)!important;border-color:var(--theme-line)!important;box-shadow:none!important}
html[data-theme-style="minimal"] .login-screen{background:var(--theme-bg)!important;color:var(--theme-text)!important}
html[data-theme-style="minimal"] .login-card{border-color:var(--theme-line)!important;padding:32px;border-radius:16px!important}
html[data-theme-style="minimal"] .login-card :is(h1,label,.login-brand){color:var(--theme-text)!important}
html[data-theme-style="minimal"] .login-card :is(p,.login-kicker,.login-foot,.login-eye){color:var(--theme-muted)!important}
html[data-theme-style="minimal"] .login-card input{background:var(--theme-input)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important}
html[data-theme-style="minimal"] .login-card input:focus{border-color:var(--theme-accent)!important}
html[data-theme-style="minimal"] .login-submit{box-shadow:none!important}
@media(max-width:720px){
  html[data-theme-style="minimal"] .top{padding-right:12px;gap:8px}
  html[data-theme-style="minimal"] .workspace-title{min-width:0;flex:1}
  html[data-theme-style="minimal"] .workspace-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  html[data-theme-style="minimal"] .eyebrow{white-space:nowrap}
  html[data-theme-style="minimal"] .top-actions{gap:4px;flex:none}
  html[data-theme-style="minimal"] .top-actions .status{display:none}
  html[data-theme-style="minimal"] .top-new-session{padding:8px 10px!important}
  html[data-theme-style="minimal"] .welcome{width:calc(100% - 32px);padding:28px 0 156px}
  html[data-theme-style="minimal"] .welcome-head{gap:12px;margin-bottom:26px}
  html[data-theme-style="minimal"] .cards{grid-template-columns:1fr}
  html[data-theme-style="minimal"] .card{min-height:86px}
  html[data-theme-style="minimal"] .nx-chat-command-grid{grid-template-columns:1fr}
  html[data-theme-style="minimal"] .messages{width:calc(100% - 32px);padding-bottom:156px}
  html[data-theme-style="minimal"] .composerwrap{width:calc(100% - 24px);bottom:12px}
  html[data-theme-style="minimal"] .composer{min-height:60px;padding:8px}
  html[data-theme-style="minimal"] .composer textarea{font-size:16px!important}
  html[data-theme-style="minimal"] .user .bubble{max-width:90%}
  html[data-theme-style="minimal"] .bubble{font-size:14px!important}
}
@media(max-width:520px){
  html[data-theme-style="minimal"] .top-new-session span{display:none}
  html[data-theme-style="minimal"] .top-new-session{width:34px;height:34px;padding:0!important;font-size:20px!important}
}
@media(prefers-reduced-motion:reduce){
  html[data-theme-style="minimal"] *,html[data-theme-style="minimal"] *::before,html[data-theme-style="minimal"] *::after{
    animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;
  }
}
