/* Shared Soft UI theme. Layout and functional behavior remain in the existing modules. */
:root {
  --ink: #333333;
  --muted: #596273;
  --green: #326d68;
  --blue: #356582;
  --red: #974459;
  --line: #c3cbd4;
  --surface: #e0e5ec;
  --bs-body-bg: #e0e5ec;
  --bs-body-color: #333333;
  --bs-secondary-color: #596273;
  --bs-success-rgb: 50, 109, 104;
  --bs-danger-rgb: 151, 68, 89;
  --bs-secondary-rgb: 89, 98, 115;
  color-scheme: light;
}
.soft-ui {
  --soft-surface: #e0e5ec;
  --soft-light: #f0f0f3;
  --soft-ink: #333333;
  --soft-muted: #596273;
  --soft-accent: #5846bd;
  --soft-raised: 8px 8px 16px #b8bcc2, -8px -8px 16px #ffffff;
  --soft-hover: 4px 4px 8px #b8bcc2, -4px -4px 8px #ffffff;
  --soft-pressed: inset 4px 4px 8px #b8bcc2, inset -4px -4px 8px #ffffff;
  --quick: 300ms;
  --switch: 300ms;
  --panel: 300ms;
  background: var(--soft-surface);
  color: var(--soft-ink);
  color-scheme: light;
}
.soft-ui .site-header {
  height: 88px;
  padding: 0 6%;
  background: var(--soft-surface);
  border: 0;
  box-shadow: none;
}
.soft-ui .brand {
  color: var(--soft-ink);
}
.soft-ui .brand small {
  color: var(--soft-muted);
}
.soft-ui .brand-symbol {
  background: var(--soft-surface);
  color: var(--soft-accent);
  border: 0;
  border-radius: 12px;
  box-shadow: var(--soft-hover);
}
.soft-ui .desktop-nav > a,
.soft-ui .account-link,
.soft-ui .mobile-nav a {
  color: var(--soft-muted);
}
.soft-ui .desktop-nav > a:hover,
.soft-ui .mobile-nav a:hover {
  color: var(--soft-accent);
}
/* Fixed upper-left illumination and identical geometry across control states. */
.soft-ui :is(.btn, .icon-button, .hero-secondary, .assistant-launcher),
.soft-ui .home-paths > :is(a, button) {
  background: var(--soft-surface);
  color: var(--soft-ink);
  border: 0;
  border-radius: 12px;
  box-shadow: var(--soft-raised);
  transform: none;
  transition:
    box-shadow 300ms ease-in-out,
    color 300ms ease-in-out,
    background-color 300ms ease-in-out;
}
.soft-ui :is(.btn, .icon-button, .hero-secondary, .assistant-launcher):hover,
.soft-ui .home-paths > :is(a, button):hover {
  background: var(--soft-surface);
  color: var(--soft-accent);
  box-shadow: var(--soft-hover);
  transform: none;
}
.soft-ui :is(.btn, .icon-button, .hero-secondary, .assistant-launcher):active,
.soft-ui .home-paths > :is(a, button):active {
  background: var(--soft-surface);
  box-shadow: var(--soft-pressed);
  transform: none;
}
.soft-ui :is(.btn, .icon-button):disabled {
  opacity: 0.5;
  box-shadow: var(--soft-hover);
}
.soft-ui .btn-primary,
.soft-ui .desktop-nav > a.btn-primary {
  color: var(--soft-accent);
  font-weight: 600;
}
.soft-ui .site-header .btn {
  padding: 12px 22px;
  font-size: 14px;
}
.soft-ui .medical-hero {
  background: var(--soft-surface);
  height: 680px;
  max-height: calc(100svh - 190px);
  min-height: 530px;
}
.soft-ui .meter-scene {
  transition: opacity 300ms ease-in-out;
}
.soft-ui .meter-scene canvas {
  user-select: none;
}
.soft-ui .hero-copy {
  top: 48%;
  left: 8%;
  max-width: 540px;
}
.soft-ui .hero-topic {
  color: var(--soft-muted);
  font-size: 13px;
  margin-bottom: 24px;
}
.soft-ui .hero-topic span {
  display: none;
}
.soft-ui .hero-copy h1 {
  color: var(--soft-ink);
  font-size: 64px;
  font-weight: 650;
  line-height: 1.18;
  margin-bottom: 24px;
}
.soft-ui .hero-copy > p {
  color: var(--soft-muted);
  font-size: 19px;
  line-height: 1.8;
  margin-bottom: 32px;
}
.soft-ui .hero-commands {
  gap: 24px;
}
.soft-ui .hero-commands .btn {
  padding: 16px 24px;
  font-size: 15px;
}
.soft-ui .hero-secondary {
  padding: 17px 20px;
  font-size: 14px;
}
.soft-ui .hero-copy .hero-disclaimer {
  margin-top: 30px;
  font-size: 12px;
  color: var(--soft-muted);
}
.soft-ui .scene-controls {
  gap: 14px;
  bottom: 30px;
  right: 6%;
}
.soft-ui .scene-controls .icon-button {
  width: 46px;
  height: 46px;
  color: var(--soft-accent);
}
.soft-ui .device-caption {
  color: var(--soft-muted);
  font-size: 12px;
  right: calc(6% + 65px);
  bottom: 43px;
}
.soft-ui .home-paths {
  background: var(--soft-surface);
  border: 0;
  gap: 28px;
  padding: 22px 6% 44px;
}
.soft-ui .home-paths > :is(a, button) {
  padding: 24px !important;
  min-height: 106px;
  border: 0 !important;
  border-radius: 16px;
  gap: 18px;
}
.soft-ui .home-paths > * > div {
  min-width: 0;
}
.soft-ui .path-icon {
  background: transparent;
  color: var(--soft-accent);
  border: 0;
  width: 38px;
  height: 44px;
  flex-basis: 38px;
  font-size: 26px;
}
.soft-ui .path-icon.blue {
  color: #356582;
}
.soft-ui .home-paths > button .path-icon {
  color: #397565;
}
.soft-ui .home-paths h2 {
  color: var(--soft-ink);
  font-size: 17px;
  font-weight: 600;
}
.soft-ui .home-paths p {
  color: var(--soft-muted);
  font-size: 13px;
  line-height: 1.6;
}
.soft-ui .home-paths > * > i {
  color: var(--soft-muted);
}
.soft-ui .home-paths > *:hover h2 {
  color: var(--soft-accent);
}
.soft-ui .health-knowledge {
  background: var(--soft-surface);
  padding: 52px 6% 72px;
  gap: 48px;
}
.soft-ui .knowledge-heading h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.55;
}
.soft-ui .knowledge-heading p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--soft-muted);
}
.soft-ui .knowledge-articles {
  gap: 32px;
}
.soft-ui .knowledge-articles article {
  border: 0;
}
.soft-ui .article-icon {
  color: #397565;
}
.soft-ui .knowledge-articles h3 {
  color: var(--soft-ink);
  font-size: 17px;
  margin-top: 20px;
}
.soft-ui .knowledge-articles p {
  color: var(--soft-muted);
  font-size: 14px;
  line-height: 1.9;
}
.soft-ui .site-footer {
  background: var(--soft-light);
  color: var(--soft-muted);
  border: 0;
}
.soft-ui .assistant-launcher {
  color: var(--soft-accent);
  border-radius: 16px;
}
.soft-ui .offcanvas {
  background: var(--soft-surface);
  color: var(--soft-ink);
  border: 0;
  --bs-offcanvas-transition: transform 300ms ease-in-out;
}
.soft-ui .offcanvas .btn-close {
  filter: none;
}
.soft-ui .assistant {
  color-scheme: light;
  color: var(--soft-ink);
  background: var(--soft-surface);
  border: 0;
  border-radius: 16px;
  box-shadow: var(--soft-raised);
  transition:
    opacity 300ms ease-in-out,
    transform 300ms ease-in-out;
}
.soft-ui .assistant-header,
.soft-ui .assistant-tabs,
.soft-ui .assistant-composer {
  background: var(--soft-surface);
  border: 0;
}
.soft-ui .assistant-header {
  padding: 20px;
}
.soft-ui .assistant-avatar {
  background: transparent;
  color: var(--soft-accent);
}
.soft-ui .assistant-tools {
  gap: 12px;
}
.soft-ui .assistant-tabs {
  gap: 12px;
  padding: 10px 20px;
}
.soft-ui .assistant-tabs button {
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  color: var(--soft-muted);
  transition:
    box-shadow 300ms ease-in-out,
    color 300ms ease-in-out;
}
.soft-ui .assistant-tabs button:hover {
  color: var(--soft-accent);
}
.soft-ui .assistant-tabs button[aria-selected="true"],
.soft-ui .assistant-tabs button:active {
  color: var(--soft-accent);
  box-shadow: var(--soft-pressed);
}
.soft-ui .assistant-help > a {
  color: var(--soft-ink);
  border-color: #c3cbd4;
}
.soft-ui .assistant-help > a:hover {
  color: var(--soft-accent);
}
.soft-ui .assistant-help small,
.soft-ui .assistant-header small,
.soft-ui .help-note {
  color: var(--soft-muted);
}
.soft-ui :is(.form-control, .form-select, .assistant textarea) {
  background: var(--soft-surface);
  color: var(--soft-ink);
  border: 0;
  border-radius: 12px;
  box-shadow:
    inset 6px 6px 12px #b8bcc2,
    inset -6px -6px 12px #ffffff;
  transition: box-shadow 300ms ease-in-out;
}
.soft-ui :is(.form-control, .form-select, .assistant textarea):focus {
  box-shadow:
    inset 2px 2px 4px #b8bcc2,
    inset -2px -2px 4px #ffffff;
}
.soft-ui :focus-visible {
  outline: 2px solid var(--soft-accent);
  outline-offset: 4px;
}
@media (max-width: 1150px) {
  .soft-ui .hero-copy {
    left: 6%;
    max-width: 430px;
  }
  .soft-ui .hero-copy h1 {
    font-size: 54px;
  }
  .soft-ui .hero-commands {
    gap: 18px;
  }
  .soft-ui .hero-secondary {
    padding: 17px 14px;
  }
  .soft-ui .home-paths {
    gap: 20px;
  }
  .soft-ui .home-paths > :is(a, button) {
    padding: 20px 16px !important;
    gap: 10px;
  }
  .soft-ui .home-paths h2 {
    font-size: 15px;
  }
  .soft-ui .home-paths p {
    font-size: 12px;
  }
}
@media (max-width: 900px) {
  .soft-ui .hero-copy h1 {
    font-size: 46px;
  }
  .soft-ui .hero-copy {
    max-width: 350px;
  }
  .soft-ui .health-knowledge {
    gap: 30px;
  }
}
@media (max-width: 700px) {
  .soft-ui {
    --soft-raised: 4px 4px 8px #b8bcc2, -4px -4px 8px #ffffff;
    --soft-hover: 2px 2px 4px #b8bcc2, -2px -2px 4px #ffffff;
  }
  .soft-ui .site-header {
    height: 76px;
    padding: 0 max(24px, env(safe-area-inset-right)) 0
      max(24px, env(safe-area-inset-left));
  }
  .soft-ui .medical-hero {
    height: 700px;
    max-height: calc(100svh - 150px);
    min-height: 570px;
  }
  .soft-ui .hero-copy {
    left: 26px;
    right: 26px;
    top: 28px;
    max-width: none;
  }
  .soft-ui .hero-topic {
    font-size: 12px;
    margin-bottom: 16px;
  }
  .soft-ui .hero-copy h1 {
    font-size: 38px;
    margin-bottom: 16px;
  }
  .soft-ui .hero-copy h1 br {
    display: none;
  }
  .soft-ui .hero-copy > p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 300px;
  }
  .soft-ui .hero-copy > p br {
    display: none;
  }
  .soft-ui .hero-commands .btn {
    padding: 13px 20px;
    font-size: 14px;
  }
  .soft-ui .hero-copy .hero-disclaimer {
    font-size: 11px;
    margin-top: 22px;
  }
  .soft-ui .scene-controls {
    bottom: 20px;
    right: 26px;
  }
  .soft-ui .device-caption {
    font-size: 11px;
    left: 26px;
    right: auto;
    bottom: 36px;
  }
  .soft-ui .home-paths {
    padding: 14px 26px 28px;
    gap: 20px;
  }
  .soft-ui .home-paths > :is(a, button) {
    padding: 20px !important;
    min-height: 96px;
    gap: 18px;
  }
  .soft-ui .home-paths h2 {
    font-size: 16px;
  }
  .soft-ui .home-paths p {
    font-size: 13px;
  }
  .soft-ui .health-knowledge {
    padding: 40px 26px 48px;
  }
  .soft-ui .knowledge-heading h2 {
    font-size: 25px;
  }
  .soft-ui .knowledge-articles {
    gap: 26px;
  }
  .soft-ui .knowledge-articles article {
    padding-top: 0;
  }
  .soft-ui .knowledge-articles h3 {
    margin-top: 12px;
  }
}
@media (max-width: 380px) {
  .soft-ui .hero-copy h1 {
    font-size: 34px;
  }
  .soft-ui .hero-copy .hero-disclaimer {
    font-size: 10px;
  }
}
/* Workspace surfaces use the same material without enclosing entire sections. */
.soft-ui .brand-symbol {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
}
.soft-ui .brand-symbol img {
  display: block;
}
.soft-ui.workspace .site-header {
  height: 76px;
  padding: 0 32px;
}
.soft-ui .workspace-sidebar {
  background: var(--soft-surface);
  border: 0;
  overflow-y: auto;
}
.soft-ui .workspace-sidebar nav {
  gap: 10px;
  padding: 6px 2px;
}
.soft-ui .workspace-sidebar nav a,
.soft-ui .mobile-nav a {
  border-radius: 12px;
  color: var(--soft-muted);
  transition:
    box-shadow 300ms ease-in-out,
    color 300ms ease-in-out;
}
.soft-ui .workspace-sidebar nav a:hover,
.soft-ui .mobile-nav a:hover {
  background: var(--soft-surface);
  color: var(--soft-accent);
  box-shadow: var(--soft-hover);
}
.soft-ui .workspace-sidebar nav a.active,
.soft-ui .mobile-nav a.active,
.soft-ui .workspace-sidebar nav a:active {
  background: var(--soft-surface);
  color: var(--soft-accent);
  box-shadow: var(--soft-pressed);
}
.soft-ui .sidebar-group-label {
  color: var(--soft-muted);
  font-size: 12px;
}
.soft-ui .sidebar-footer {
  border: 0;
  color: var(--soft-muted);
}
.soft-ui .sidebar-footer small,
.soft-ui .section-heading > span {
  color: var(--soft-muted);
}
.soft-ui p a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.soft-ui .account-avatar {
  background: var(--soft-surface);
  color: var(--green);
  box-shadow: var(--soft-pressed);
}
.soft-ui :is(.nav-command, .send-button, .suggestion, .btn-close) {
  background-color: var(--soft-surface);
  color: var(--soft-ink);
  border: 0;
  border-radius: 12px;
  box-shadow: var(--soft-raised);
  transform: none;
  transition:
    box-shadow 300ms ease-in-out,
    color 300ms ease-in-out;
}
.soft-ui :is(.nav-command, .send-button, .suggestion, .btn-close):hover {
  box-shadow: var(--soft-hover);
  color: var(--soft-accent);
  transform: none;
}
.soft-ui :is(.nav-command, .send-button, .suggestion, .btn-close):active {
  box-shadow: var(--soft-pressed);
  transform: none;
}
.soft-ui .nav-command {
  padding: 10px 16px;
}
.soft-ui .btn-close {
  padding: 12px;
  opacity: 1;
  background-size: 12px;
}
.soft-ui .btn {
  min-height: 44px;
}
.soft-ui :is(.btn-danger, .btn-outline-danger) {
  color: var(--red);
}
.soft-ui :is(.btn-success, .btn-outline-success) {
  color: var(--green);
}
.soft-ui :is(.btn.disabled, .btn:disabled) {
  opacity: 0.5;
  box-shadow: var(--soft-hover);
}
.soft-ui .btn-sm {
  min-height: 36px;
}
.soft-ui .page-heading {
  margin-bottom: 30px;
}
.soft-ui .page-heading h1 {
  font-size: 28px;
}
.soft-ui .page-heading p {
  font-size: 14px;
}
.soft-ui .auth-layout {
  gap: 80px;
}
.soft-ui .auth-logo {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  box-shadow: var(--soft-raised);
  margin-bottom: 32px;
}
.soft-ui .auth-form {
  border: 0;
  padding: 24px 0;
}
.soft-ui .auth-rule {
  height: 1px;
  width: 100%;
  max-width: 240px;
  background: var(--line);
}
.soft-ui .auth-form h2 {
  font-size: 26px;
}
.soft-ui :is(.form-control, .form-select) {
  padding: 12px 16px;
  min-height: 46px;
  font-size: 15px;
}
.soft-ui input::placeholder,
.soft-ui textarea::placeholder {
  color: var(--soft-muted);
  opacity: 1;
}
.soft-ui input[type="checkbox"],
.soft-ui input[type="radio"] {
  accent-color: var(--soft-accent);
  width: 18px;
  height: 18px;
}
.soft-ui .form-control[aria-invalid="true"] {
  outline: 1px solid var(--red);
  outline-offset: 2px;
}
.soft-ui .settings-form {
  max-width: 700px;
  padding-bottom: 36px;
}
.soft-ui .settings-form > label {
  margin-top: 22px;
}
.soft-ui .settings-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.soft-ui .setting-option {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  margin: 14px 0;
}
.soft-ui .prediction-form {
  background: transparent;
  border: 0;
  padding: 0 0 24px;
}
.soft-ui .form-section {
  border-top: 0;
  padding: 30px 0;
  gap: 32px;
}
.soft-ui .form-section h2 {
  font-size: 18px;
}
.soft-ui .form-section p {
  font-size: 14px;
}
.soft-ui .field-grid {
  gap: 26px;
}
.soft-ui .field-grid label,
.soft-ui .binary-field legend {
  font-size: 14px;
}
.soft-ui .binary-field label {
  border: 0;
  border-radius: 12px;
  box-shadow: var(--soft-hover);
  margin-right: 16px;
  transition: box-shadow 300ms ease-in-out;
}
.soft-ui .binary-field label:hover {
  box-shadow:
    2px 2px 4px #b8bcc2,
    -2px -2px 4px #ffffff;
}
.soft-ui .binary-field label:has(input:checked),
.soft-ui .binary-field label:active {
  background: var(--soft-surface);
  box-shadow: var(--soft-pressed);
  color: var(--soft-accent);
}
.soft-ui .predict-note {
  background: transparent;
  padding: 0;
  color: var(--blue);
  margin-bottom: 10px;
}
.soft-ui .form-actions {
  border: 0;
}
.soft-ui .date-toolbar {
  padding: 8px 0 22px;
  gap: 18px;
}
.soft-ui .query-status {
  color: var(--soft-muted);
  font-size: 12px;
}
.soft-ui .stat-strip {
  background: transparent;
  border: 0;
  gap: 22px;
  padding: 8px 0 16px;
}
.soft-ui .stat-strip > div {
  padding: 22px;
  border: 0;
  border-radius: 16px;
  background: var(--soft-surface);
  box-shadow: var(--soft-raised);
}
.soft-ui .stat-strip small {
  font-size: 11px;
}
.soft-ui .soft-stat {
  background: var(--soft-surface);
  border: 0;
  border-radius: 16px;
  box-shadow: var(--soft-raised);
}
.soft-ui .soft-stat .h3 {
  margin-top: 10px;
}
.soft-ui .chart-primary,
.soft-ui .chart-secondary {
  gap: 32px;
}
.soft-ui .chart-section {
  padding-bottom: 22px;
}
.soft-ui .chart-section .section-heading {
  margin-bottom: 22px;
}
.soft-ui .chart-section .section-heading h2 {
  font-size: 17px;
}
.soft-ui .chart-section .form-select {
  min-height: 40px;
}
.soft-ui .chart-plot {
  padding: 6px;
}
.soft-ui .table {
  --bs-table-color: var(--soft-ink);
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--line);
  --bs-table-hover-bg: #d5dee5;
  --bs-table-hover-color: var(--soft-ink);
  font-size: 14px;
}
.soft-ui .table th {
  background: var(--soft-light);
  color: var(--soft-muted);
  font-size: 12px;
}
.soft-ui .table tbody tr:hover {
  background: #d5dee5;
}
.soft-ui .user-table,
.soft-ui .table-surface {
  background: transparent;
  border: 0;
  border-radius: 12px;
}
.soft-ui .table .icon-button,
.soft-ui .table .btn {
  box-shadow: var(--soft-hover);
}
.soft-ui .table .btn:hover,
.soft-ui .table .icon-button:hover {
  box-shadow:
    2px 2px 4px #b8bcc2,
    -2px -2px 4px #ffffff;
}
.soft-ui .table .btn:active,
.soft-ui .table .icon-button:active {
  box-shadow: var(--soft-pressed);
}
.soft-ui .user-filter {
  gap: 20px;
  margin-bottom: 30px;
}
.soft-ui .role-badge,
.soft-ui .status-pill,
.soft-ui .badge {
  border: 0;
  border-radius: 12px;
  padding: 6px 10px;
  font-weight: 500;
  font-size: 12px;
  background: var(--soft-light);
  color: var(--soft-muted);
}
.soft-ui .role-superadmin {
  color: var(--soft-accent);
}
.soft-ui .role-admin,
.soft-ui .status-normal,
.soft-ui .badge.text-bg-success {
  background: #d8e4e2 !important;
  color: #2e6257 !important;
}
.soft-ui .status-risk,
.soft-ui .badge.text-bg-danger {
  background: #e9dce1 !important;
  color: #883b4e !important;
}
.soft-ui .content-section {
  padding: 24px 0;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.soft-ui .result-summary {
  padding: 28px 0 36px;
  border-top: 0;
}
.soft-ui .result-number {
  border: 0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--soft-pressed);
}
.soft-ui .result-number strong {
  color: var(--green);
}
.soft-ui .model-grid {
  gap: 26px;
  padding: 16px 0 22px;
}
.soft-ui .model-grid article {
  border: 0;
  border-radius: 16px;
  box-shadow: var(--soft-raised);
  padding: 24px;
}
.soft-ui .model-grid .status-pill {
  background: transparent;
  padding-left: 0;
}
.soft-ui .detail-list {
  padding-top: 12px;
}
.soft-ui .secret-surface {
  background: var(--soft-surface);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--soft-pressed);
  margin: 28px 0;
}
.soft-ui #temporary-password {
  color: var(--soft-ink);
  overflow-wrap: anywhere;
}
.soft-ui code {
  color: #584777;
}
.soft-ui .modal-content {
  background: var(--soft-surface);
  border: 0;
  border-radius: 16px;
  box-shadow: var(--soft-raised);
}
.soft-ui .modal-header {
  padding: 22px 24px;
  border-bottom-color: var(--line);
}
.soft-ui .modal-body {
  padding: 24px;
}
.soft-ui .modal-footer {
  gap: 12px;
  padding: 20px 24px;
  border-color: var(--line);
}
.soft-ui .modal.fade .modal-dialog {
  transition: transform 300ms ease-in-out;
}
.soft-ui .alert {
  border: 0;
  border-radius: 12px;
  background: var(--soft-light);
  color: var(--blue);
}
.soft-ui .alert-warning {
  color: #795027;
  background: #e7e2db;
}
.soft-ui .alert-danger {
  color: var(--red);
  background: #e9dce1;
}
.soft-ui .alert-success {
  color: var(--green);
  background: #d8e4e2;
}
.soft-ui .skip-link {
  background: var(--soft-light);
  color: var(--soft-ink);
  border-radius: 12px;
}
.soft-ui .error-state > span {
  color: var(--soft-muted);
}
.soft-ui .assistant-float {
  animation-timing-function: ease-in-out;
}
.soft-ui .assistant-full {
  max-width: 100%;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}
.soft-ui .assistant-header {
  min-height: 82px;
}
.soft-ui .assistant-full .assistant-header {
  background: transparent;
}
.soft-ui .conversation-tools {
  padding: 16px 20px;
  gap: 14px;
  border: 0;
}
.soft-ui .conversation-tools .form-select {
  min-width: 0;
}
.soft-ui .assistant-messages {
  padding: 20px 24px;
}
.soft-ui .assistant-message.role-user {
  background: var(--soft-light);
  border-radius: 12px;
  padding: 14px 18px;
  margin-left: 24px;
}
.soft-ui .message-body {
  font-size: 14px;
}
.soft-ui .suggestion {
  margin: 14px auto;
  padding: 14px 16px;
}
.soft-ui .assistant-composer {
  padding: 16px 20px;
}
.soft-ui .composer-input {
  border: 0;
  padding: 10px;
  gap: 14px;
}
.soft-ui .composer-input textarea {
  padding: 12px;
  min-height: 64px;
}
.soft-ui .composer-input textarea:focus-visible {
  outline: 2px solid var(--soft-accent) !important;
  outline-offset: 2px;
}
.soft-ui .send-button {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  color: var(--soft-accent);
  margin-bottom: 10px;
}
.soft-ui .assistant-tools .icon-button {
  min-width: 36px;
}
.soft-ui .retry-button {
  color: var(--blue);
  padding: 10px 0;
}
.soft-ui .retry-button:hover {
  color: var(--soft-accent);
}
.soft-ui .assistant-full .assistant-composer {
  background: transparent;
}
@media (max-width: 1150px) {
  .soft-ui .stat-strip {
    gap: 16px;
  }
  .soft-ui .stat-strip > div {
    padding: 18px;
  }
  .soft-ui .form-section {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 24px;
  }
}
@media (max-width: 900px) {
  .soft-ui .workspace-sidebar {
    display: none;
  }
  .soft-ui.workspace .page-content,
  .soft-ui.workspace .site-footer {
    margin-left: 0;
  }
  .soft-ui .auth-layout {
    gap: 36px;
  }
}
@media (max-width: 600px) {
  .soft-ui.workspace .site-header {
    height: 76px;
    padding: 0 22px;
  }
  .soft-ui .brand {
    gap: 10px;
  }
  .soft-ui .page-content {
    padding: 28px 24px 72px;
  }
  .soft-ui.workspace .page-content {
    padding: 28px 24px 72px;
  }
  .soft-ui .page-heading h1 {
    font-size: 24px;
  }
  .soft-ui .page-heading {
    flex-wrap: wrap;
    gap: 16px;
  }
  .soft-ui .page-heading p {
    max-width: none;
  }
  .soft-ui .auth-layout {
    gap: 18px;
  }
  .soft-ui .auth-logo {
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
  }
  .soft-ui .auth-logo img {
    width: 40px;
    height: 40px;
  }
  .soft-ui .auth-intro h1 {
    font-size: 28px;
  }
  .soft-ui .auth-intro p {
    font-size: 18px;
  }
  .soft-ui .auth-form {
    padding-top: 12px;
  }
  .soft-ui :is(.form-control, .form-select),
  .soft-ui .date-toolbar input,
  .soft-ui .composer-input textarea {
    font-size: 16px;
  }
  .soft-ui .form-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .soft-ui .form-actions {
    padding-bottom: 48px;
  }
  .soft-ui .date-toolbar {
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .soft-ui .date-toolbar > div {
    min-width: 0;
  }
  .soft-ui .date-toolbar input {
    min-width: 0;
    width: 100%;
    max-width: none;
    padding: 12px 8px;
  }
  .soft-ui .stat-strip {
    gap: 10px;
  }
  .soft-ui .stat-strip > div {
    padding: 16px 10px;
  }
  .soft-ui .stat-strip span {
    font-size: 11px;
  }
  .soft-ui .stat-strip strong {
    font-size: 24px;
  }
  .soft-ui .table {
    font-size: 13px;
  }
  .soft-ui .table th {
    font-size: 12px;
  }
  .soft-ui .chart-section .section-heading h2 {
    font-size: 16px;
  }
  .soft-ui .result-summary {
    grid-template-columns: 1fr;
  }
  .soft-ui .model-grid {
    grid-template-columns: 1fr;
  }
  .soft-ui .modal-dialog {
    margin: 18px;
  }
  .soft-ui .modal-header,
  .soft-ui .modal-body {
    padding: 20px;
  }
  .soft-ui .assistant-float {
    border-radius: 0;
    box-shadow: none;
  }
  .soft-ui .assistant-tools {
    gap: 10px;
  }
  .soft-ui .assistant-header {
    padding: 16px 20px;
    min-height: 76px;
  }
  .soft-ui .assistant-full {
    min-height: 560px;
    max-height: none;
  }
  .soft-ui .assistant-composer {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
}
@media (prefers-reduced-motion: reduce) {
  .soft-ui *,
  .soft-ui *::before,
  .soft-ui *::after {
    transition: none !important;
    animation: none !important;
  }
}
