/* IUAI_IUONE_GROUP_LIGHT_THEME_V11_20261019
   Full light-theme pass for IU One Groups:
   - overview group panel
   - group detail workspace
   - header/topbar while group route is open
   - chat/messages/composer
   - member/task columns and assignment sheets
   Dark theme is intentionally untouched.
*/

/* Main IU One top bar must remain light in light theme, including group route. */
[data-theme="light"] .topbar{
  background:#f8fafb!important;
  color:var(--ink,#182d3c)!important;
  border-bottom-color:var(--line,#dce4e8)!important;
}
[data-theme="light"] .topbar .breadcrumbs,
[data-theme="light"] .topbar .breadcrumbs b{
  color:var(--muted,#687d8d)!important;
}
[data-theme="light"] .topbar .breadcrumbs b{
  color:var(--ink,#182d3c)!important;
}
[data-theme="light"] .topbar .preview-badge,
[data-theme="light"] .topbar .soft-button,
[data-theme="light"] .topbar .icon,
[data-theme="light"] .topbar .iuone-language-toggle{
  background:#fff!important;
  color:var(--ink,#182d3c)!important;
  border-color:var(--line,#dce4e8)!important;
}
[data-theme="light"] .topbar .icon:hover,
[data-theme="light"] .topbar .soft-button:hover,
[data-theme="light"] .topbar .iuone-language-toggle:hover{
  background:var(--soft,#e8f0ed)!important;
}

/* Group overview panel */
[data-theme="light"] .iuone-groups-panel{
  background:linear-gradient(180deg,#f8fbfd 0%,#f4f8fa 100%)!important;
  border-color:#d7e1e7!important;
  box-shadow:0 12px 32px rgba(24,45,61,.08)!important;
  color:var(--ink,#182d3c)!important;
}
[data-theme="light"] .iuone-groups-head h3,
[data-theme="light"] .iuone-group-card b{
  color:var(--ink,#182d3c)!important;
}
[data-theme="light"] .iuone-groups-head p,
[data-theme="light"] .iuone-group-card small,
[data-theme="light"] .iuone-groups-empty{
  color:var(--muted,#687d8d)!important;
}
[data-theme="light"] .iuone-group-card{
  background:#fff!important;
  border-color:#d7e1e7!important;
  color:var(--ink,#182d3c)!important;
  box-shadow:0 1px 2px rgba(24,45,61,.03)!important;
}
[data-theme="light"] .iuone-group-card:hover{
  border-color:#9ab5c5!important;
  box-shadow:0 8px 20px rgba(24,45,61,.07)!important;
}
[data-theme="light"] .iuone-group-card .mini-status{
  background:#eaf3f8!important;
  color:#315d76!important;
}

/* Group detail page: existing CSS uses var(--text,#edf5fb), but IU One's
   light palette defines --ink instead of --text. Override it explicitly. */
[data-theme="light"] .iuone-group-page-v3{
  background:transparent!important;
  color:var(--ink,#182d3c)!important;
}
[data-theme="light"] .iuone-group-page-head{
  border-color:var(--line,#dce4e8)!important;
}
[data-theme="light"] .iuone-group-page-head h1{
  color:var(--ink,#182d3c)!important;
}
[data-theme="light"] .iuone-group-page-head p{
  color:var(--muted,#687d8d)!important;
}
[data-theme="light"] .iuone-group-back{
  color:#5f8eab!important;
}
[data-theme="light"] .iuone-group-back:hover{
  color:#245f7f!important;
}

/* Header action buttons on group detail page */
[data-theme="light"] .iuone-group-page-head button,
[data-theme="light"] .iuone-group-iconbtn,
[data-theme="light"] .iuone-group-btn{
  background:#fff!important;
  color:#244257!important;
  border-color:#cbd8e0!important;
}
[data-theme="light"] .iuone-group-page-head button:hover,
[data-theme="light"] .iuone-group-iconbtn:hover,
[data-theme="light"] .iuone-group-btn:hover{
  background:#f3f7f9!important;
  border-color:#9fb6c4!important;
}
[data-theme="light"] .iuone-group-btn.primary,
[data-theme="light"] .iuone-group-btn.assign{
  background:#e7f3ef!important;
  color:#25664f!important;
  border-color:#b8d8ca!important;
}
[data-theme="light"] .iuone-group-btn.danger,
[data-theme="light"] .iuone-group-page-head .danger{
  background:#fff3f4!important;
  color:#b64a56!important;
  border-color:#e7c0c5!important;
}

/* Main conversation workspace */
[data-theme="light"] .iuone-group-embedded{
  background:transparent!important;
  color:var(--ink,#182d3c)!important;
  border-color:#d5e0e6!important;
}
[data-theme="light"] .iuone-group-embedded .iuone-group-members,
[data-theme="light"] .iuone-group-members{
  background:#f3f6f8!important;
  border-color:#d5e0e6!important;
  color:var(--ink,#182d3c)!important;
}
[data-theme="light"] .iuone-group-members h4{
  color:#6f8392!important;
}
[data-theme="light"] .iuone-group-member{
  background:#fff!important;
  border-color:#d5e0e6!important;
  color:#183042!important;
}
[data-theme="light"] .iuone-group-member small{
  color:#6f8392!important;
}
[data-theme="light"] .iuone-group-target{
  background:#eaf3f8!important;
  color:#315d76!important;
}

[data-theme="light"] .iuone-group-embedded .iuone-group-chat,
[data-theme="light"] .iuone-group-chat{
  background:#fff!important;
  border-color:#d5e0e6!important;
  color:#183042!important;
}
[data-theme="light"] .iuone-group-timeline{
  background:#fff!important;
}

/* Messages */
[data-theme="light"] .iuone-group-msg{
  background:#f4f7f9!important;
  border-color:#d8e2e8!important;
  color:#183042!important;
}
[data-theme="light"] .iuone-group-msg.owner{
  background:#e8f4fb!important;
  border-color:#b9d6e7!important;
  color:#183042!important;
}
[data-theme="light"] .iuone-group-msg.agent{
  background:#edf7f1!important;
  border-color:#c6dfd0!important;
  color:#183042!important;
}
[data-theme="light"] .iuone-group-msg.iuai{
  background:#f3eefb!important;
  border-color:#d6c7ef!important;
  color:#183042!important;
}
[data-theme="light"] .iuone-group-msg.system{
  background:#f4f7f9!important;
  border-color:#d8e2e8!important;
  color:#64798a!important;
}
[data-theme="light"] .iuone-group-msg-head{
  color:#6f8392!important;
}
[data-theme="light"] .iuone-group-msg-body{
  color:#183042!important;
}

/* Composer / input area */
[data-theme="light"] .iuone-group-compose,
[data-theme="light"] .iuone-group-embedded .iuone-group-compose{
  background:rgba(250,252,253,.98)!important;
  border-top-color:#d5e0e6!important;
  box-shadow:0 -8px 22px rgba(24,45,61,.07)!important;
}
[data-theme="light"] .iuone-group-compose textarea,
[data-theme="light"] .iuone-group-create-page>#iuone-group-name,
[data-theme="light"] .iuone-group-create input,
[data-theme="light"] .iuone-group-create select,
[data-theme="light"] .iuone-group-chat-target select{
  background:#fff!important;
  color:#183042!important;
  border-color:#cbd8e0!important;
}
[data-theme="light"] .iuone-group-compose textarea::placeholder{
  color:#91a1ad!important;
}
[data-theme="light"] .iuone-group-compose textarea:focus,
[data-theme="light"] .iuone-group-create-page>#iuone-group-name:focus,
[data-theme="light"] .iuone-group-create input:focus,
[data-theme="light"] .iuone-group-create select:focus,
[data-theme="light"] .iuone-group-chat-target select:focus{
  border-color:#6e9db7!important;
  box-shadow:0 0 0 2px rgba(110,157,183,.12)!important;
}

/* Create / route / assignment surfaces */
[data-theme="light"] .iuone-group-create-page,
[data-theme="light"] .iuone-group-route-loading,
[data-theme="light"] .iuone-group-route-error{
  background:#f8fafb!important;
  border-color:#d1dde5!important;
  color:#183042!important;
}
[data-theme="light"] .iuone-group-route-error b{
  color:#183042!important;
}
[data-theme="light"] .iuone-group-modal{
  background:rgba(24,37,51,.28)!important;
}
[data-theme="light"] .iuone-group-dialog{
  background:#f8fafb!important;
  color:#183042!important;
  border-color:#d1dde5!important;
}
[data-theme="light"] .iuone-group-top{
  background:#fff!important;
  border-bottom-color:#d8e2e8!important;
}
[data-theme="light"] .iuone-group-title h2{
  color:#183042!important;
}
[data-theme="light"] .iuone-group-title small,
[data-theme="light"] .iuone-group-progress,
[data-theme="light"] .iuone-group-create label,
[data-theme="light"] .iuone-group-chat-target,
[data-theme="light"] .iuone-group-chat-target small{
  color:#6f8392!important;
}
[data-theme="light"] .iuone-group-assign-sheet{
  background:rgba(24,37,51,.24)!important;
}
[data-theme="light"] .iuone-group-assign-card{
  background:#f8fbfd!important;
  border-color:#d1dde5!important;
  box-shadow:0 24px 60px rgba(24,45,61,.18)!important;
}
[data-theme="light"] .assign-head,
[data-theme="light"] .assign-foot{
  border-color:#d8e2e8!important;
}
[data-theme="light"] .assign-head b{
  color:#183042!important;
}
[data-theme="light"] .assign-head small,
[data-theme="light"] .assign-row small{
  color:#6f8392!important;
}
[data-theme="light"] .assign-row{
  background:#fff!important;
  border-color:#d5e0e6!important;
  color:#183042!important;
}
[data-theme="light"] .assign-row:hover{
  border-color:#9bb7c7!important;
}

/* Pills */
[data-theme="light"] .iuone-group-task-pill{
  background:#eef3f6!important;
  color:#4c6273!important;
}
[data-theme="light"] .iuone-group-task-pill.done{
  background:#edf8f1!important;
  color:#3a7858!important;
}
[data-theme="light"] .iuone-group-task-pill.failed{
  background:#fff1f3!important;
  color:#a74d58!important;
}
