/* ============================================================
   PhysioThrive AI — Stylesheet
   Sections:
     1. Tokens & Reset
     2. Landing page (single-screen split layout)
     3. Portal Shell & Sidebar
     4. Chat Pane
     5. Shared Components (confirm card, soap, tags, buttons)
     6. Transitions & Animations
     7. Responsive
   ============================================================ */

/* ── 1. TOKENS & RESET ──────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
button   { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }
[x-cloak] { display: none !important; }

:root {
  --teal-900: #042f2e;
  --teal-800: #0e4f4d;
  --teal-700: #0e7490;
  --teal-600: #0891b2;
  --teal-400: #22d3ee;
  --teal-200: #a5f3fc;
  --teal-100: #cffafe;
  --teal-50:  #ecfeff;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;

  --green-700: #15803d;
  --green-600: #16a34a;
  --green-100: #dcfce7;
  --green-50:  #f0fdf4;
  --amber-100: #fef3c7;
  --white:     #ffffff;

  --sidebar-bg:     #111827;
  --sidebar-hover:  rgba(255,255,255,0.06);
  --sidebar-active: rgba(14, 116, 144, 0.2);
  --portal-border:  rgba(255,255,255,0.07);
  --avatar-bg:      #0a1628;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.18), 0 8px 20px rgba(0,0,0,0.10);
}

html, body { height: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-900);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

/* ── 2. LANDING PAGE ────────────────────────────────────── */

.landing-body {
  background: var(--slate-900);
  overflow: hidden;
}

.landing-shell {
  display: grid;
  grid-template-columns: 1fr 420px;
  height: 100dvh;
}

/* Brand panel (left) */
.lp-brand {
  background: linear-gradient(140deg, #0e4f4d 0%, #042f2e 60%, #0a1628 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  overflow: hidden;
  position: relative;
}

/* Subtle radial glow */
.lp-brand::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34,211,238,0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.lp-brand-inner {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.lp-brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.01em;
}
.lp-brand-name span {
  font-weight: 300;
  color: var(--teal-400);
}

.lp-headline h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.lp-headline h1 em {
  font-style: italic;
  color: var(--teal-400);
}
.lp-headline p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.lp-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.lp-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.lp-feat-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(14, 116, 144, 0.2);
  border: 1px solid rgba(34, 211, 238, 0.15);
  color: var(--teal-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.lp-features strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.15rem;
}
.lp-features span {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
}

/* Login panel (right) */
.lp-login {
  background: var(--slate-50);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  gap: 1.5rem;
  border-left: 1px solid rgba(255,255,255,0.04);
}

.lp-login-card {
  width: 100%;
  max-width: 340px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.lp-login-card h2 {
  font-size: 1.5rem;
  color: var(--slate-900);
  margin-bottom: 0.4rem;
}
.lp-login-sub {
  font-size: 0.85rem;
  color: var(--slate-400);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.lp-form { display: flex; flex-direction: column; gap: 0.85rem; }
.lp-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-600);
}
.lp-input {
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--slate-900);
  background: var(--slate-50);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.lp-input:focus {
  border-color: var(--teal-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(8,145,178,0.1);
}
.lp-input::placeholder { color: var(--slate-300); }
.lp-input:disabled { opacity: 0.6; cursor: not-allowed; }

.lp-submit {
  margin-top: 0.25rem;
  width: 100%;
  padding: 0.8rem;
  background: var(--teal-700);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}
.lp-submit:hover:not(:disabled) { background: var(--teal-800); transform: translateY(-1px); }
.lp-submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.lp-error {
  margin-top: 0.75rem;
  padding: 0.6rem 0.85rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: #b91c1c;
}

.lp-hint {
  margin-top: 1.25rem;
  padding: 0.7rem 0.9rem;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  color: var(--teal-700);
  text-align: center;
}
.lp-hint strong { display: block; font-weight: 700; margin-bottom: 0.15rem; }
.lp-hint span   { color: var(--teal-600); opacity: 0.8; }

.lp-footer {
  font-size: 0.72rem;
  color: var(--slate-400);
  text-align: center;
}

/* ── 3. PORTAL SHELL & SIDEBAR ──────────────────────────── */

.portal-shell {
  display: flex;
  height: 100dvh;
  overflow: hidden;
  background: var(--sidebar-bg);
  font-family: var(--font-body);
}

.portal-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--portal-border);
  display: flex;
  flex-direction: column;
  transition: width 0.25s ease;
  overflow: hidden;
}
.portal-sidebar.ps-collapsed { width: 64px; }

.ps-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--portal-border);
  min-height: 64px;
}

.ps-logo { display: flex; align-items: center; gap: 0.75rem; }
.ps-logo-text { display: flex; flex-direction: column; }
.ps-brand    { font-size: 0.9rem; font-weight: 700; color: var(--white); letter-spacing: -0.01em; }
.ps-subbrand { font-size: 0.7rem; color: rgba(255,255,255,0.4); }

.ps-collapse-btn {
  width: 28px; height: 28px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.ps-collapse-btn:hover { background: var(--sidebar-hover); color: rgba(255,255,255,0.8); }

.ps-new-btn {
  margin: 0.75rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  background: var(--teal-700);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 0.5rem;
  transition: background 0.2s;
  white-space: nowrap;
  overflow: hidden;
}
.ps-new-btn:hover { background: var(--teal-600); }
.ps-collapsed .ps-new-btn { padding: 0.6rem; justify-content: center; }

.ps-section-label {
  padding: 0.5rem 1rem 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.ps-patients {
  flex: 1;
  overflow-y: auto;
  padding: 0.25rem 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.ps-patient-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.55rem 0.6rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s;
  min-height: 48px;
}
.ps-patient-item:hover { background: var(--sidebar-hover); }
.ps-patient-item.ps-patient-active { background: var(--sidebar-active); }

.ps-patient-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(14,116,144,0.35);
  color: var(--teal-400);
  font-size: 0.72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(14,116,144,0.3);
}
.ps-patient-active .ps-patient-avatar { background: var(--teal-700); color: var(--white); border-color: transparent; }

.ps-patient-info { overflow: hidden; }
.ps-patient-name { font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-patient-meta { font-size: 0.72rem; color: rgba(255,255,255,0.35); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-empty-patients { padding: 1rem 0.75rem; font-size: 0.82rem; color: rgba(255,255,255,0.3); }

.ps-tools { padding: 0.5rem; border-top: 1px solid var(--portal-border); }
.ps-tool-btn {
  width: 100%;
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  text-align: left;
  transition: background 0.15s, color 0.15s;
}
.ps-tool-btn:hover { background: var(--sidebar-hover); color: rgba(255,255,255,0.7); }

.ps-footer { padding: 0.75rem; border-top: 1px solid var(--portal-border); }
.ps-logout-btn {
  width: 100%;
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
  text-align: left;
  transition: background 0.15s, color 0.15s;
}
.ps-logout-btn:hover { background: rgba(239,68,68,0.12); color: #f87171; }
.ps-collapsed .ps-logout-btn { justify-content: center; }

/* ── 4. CHAT PANE ───────────────────────────────────────── */

.portal-main { flex: 1; display: flex; overflow: hidden; min-width: 0; }

.chat-pane {
  flex: 1;
  display: flex; flex-direction: column;
  background: var(--white);
  overflow: hidden;
  min-width: 0;
}

.cp-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--slate-100);
  background: var(--white);
  flex-shrink: 0;
  gap: 1rem;
}

.cp-patient-info { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.cp-patient-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--teal-50); color: var(--teal-700);
  font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid var(--teal-100);
}
.cp-patient-stack { min-width: 0; }
.cp-patient-name { font-size: 0.95rem; font-weight: 600; color: var(--slate-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-patient-meta { font-size: 0.75rem; color: var(--slate-400); }

.cp-header-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

.cp-tier-select {
  font-size: 0.8rem; font-weight: 600;
  color: var(--slate-600);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.65rem;
  outline: none; cursor: pointer;
  transition: border-color 0.2s;
}
.cp-tier-select:focus { border-color: var(--teal-600); }

.cp-messages {
  flex: 1;
  overflow-y: auto;
  padding: 2rem 1.5rem;
  display: flex; flex-direction: column;
  gap: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--slate-200) transparent;
}

.cp-empty {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 4rem 2rem; gap: 1rem;
  max-width: 520px; margin: auto;
}
.cp-empty-icon { margin-bottom: 0.5rem; }
.cp-empty h3   { font-size: 1.15rem; color: var(--slate-900); }
.cp-empty p    { font-size: 0.88rem; color: var(--slate-400); line-height: 1.6; }

.cp-starter-prompts { display: flex; flex-direction: column; gap: 0.6rem; width: 100%; margin-top: 0.5rem; }
.cp-prompt-btn {
  text-align: left;
  padding: 0.7rem 1rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 0.85rem; color: var(--slate-600);
  background: var(--slate-50);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.cp-prompt-btn:hover { background: var(--teal-50); border-color: var(--teal-200); color: var(--teal-700); }

.cp-msg {
  display: flex; align-items: flex-start; gap: 0.75rem;
  max-width: 800px; width: 100%;
}
.cp-msg-ai   { align-self: flex-start; }
.cp-msg-user { align-self: flex-end; flex-direction: row-reverse; }

.cp-msg-icon {
  width: 28px; height: 28px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.62rem; font-weight: 700;
  margin-top: 2px;
}
.cp-msg-icon-ai   { background: var(--teal-50); }
.cp-msg-icon-user { background: var(--slate-200); color: var(--slate-700); border-radius: 50%; }

.cp-msg-body { display: flex; flex-direction: column; gap: 0.25rem; max-width: calc(100% - 40px); }

.cp-msg-bubble {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.9rem; line-height: 1.65;
  word-break: break-word;
}
.cp-msg-ai .cp-msg-bubble {
  background: transparent;
  border-left: 2px solid var(--teal-200);
  border-radius: 0; padding-left: 1rem;
  color: var(--slate-800);
}
.cp-msg-user .cp-msg-bubble {
  background: var(--slate-900); color: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-sm) var(--radius-lg);
}

.cp-msg-time { font-size: 0.72rem; color: var(--slate-300); padding: 0 0.25rem; }

.typing-dots { display: flex; gap: 4px; padding: 6px 0; }
.typing-dots span {
  width: 6px; height: 6px; background: var(--slate-300); border-radius: 50%;
  animation: typingDot 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

.cp-saved    { background: var(--green-50) !important; color: var(--green-700) !important; border: none !important; border-left: 2px solid var(--green-600) !important; }
.cp-discarded { opacity: 0.45; }

.cp-input-area {
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid var(--slate-100);
  background: var(--white);
  flex-shrink: 0;
}

.cp-context-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; }
.cp-chip {
  font-size: 0.72rem; font-weight: 500;
  padding: 0.2rem 0.65rem; border-radius: 999px;
  border: 1px solid var(--slate-200);
  color: var(--slate-500); background: var(--slate-50);
  white-space: nowrap;
}
.cp-chip-active { background: var(--teal-50); border-color: var(--teal-200); color: var(--teal-700); font-weight: 600; }

.cp-input-row {
  display: flex; align-items: flex-end; gap: 0.75rem;
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 0.65rem 0.65rem 0.65rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cp-input-row:focus-within { border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(8,145,178,0.08); }

.cp-textarea {
  flex: 1; background: none; border: none; outline: none;
  resize: none; font-size: 0.92rem; color: var(--slate-900);
  line-height: 1.6; max-height: 120px; min-height: 24px;
}
.cp-textarea::placeholder { color: var(--slate-400); }

.cp-send-btn {
  width: 36px; height: 36px; border-radius: var(--radius-md);
  background: var(--teal-700); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.2s;
}
.cp-send-btn:hover:not(:disabled) { background: var(--teal-800); }
.cp-send-btn:disabled { background: var(--slate-200); color: var(--slate-400); cursor: not-allowed; }

.cp-input-footer {
  display: flex; align-items: center; gap: 0.75rem;
  margin-top: 0.6rem; padding: 0 0.25rem;
}
.cp-model-badge {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--slate-400); background: var(--slate-100);
  padding: 0.2rem 0.55rem; border-radius: 999px;
}
.cp-loading-indicator {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; color: var(--teal-600); font-weight: 500;
}
.spin { animation: spinAnim 1s linear infinite; }

/* ── 5. SHARED COMPONENTS ───────────────────────────────── */

.confirm-card {
  border: 1px solid rgba(186,117,23,0.25);
  border-radius: var(--radius-lg);
  background: #faeeda;
  overflow: hidden;
  max-width: 480px;
}
.confirm-header {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: rgba(245,158,11,0.08);
  border-bottom: 1px solid rgba(186,117,23,0.15);
  font-size: 0.82rem; font-weight: 600; color: #854f0b;
}
.confirm-body    { padding: 0.85rem 1rem; }
.confirm-row     { display: flex; gap: 0.75rem; margin-bottom: 0.5rem; font-size: 0.85rem; }
.confirm-key     { font-weight: 600; color: var(--slate-500); min-width: 70px; }
.confirm-val     { color: var(--slate-700); }
.confirm-actions { display: flex; gap: 0.5rem; margin-top: 0.85rem; }

.jane-card { border: 1px solid var(--slate-200); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.jane-card-header { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1rem; background: var(--slate-50); border-bottom: 1px solid var(--slate-100); font-size: 0.82rem; font-weight: 600; color: var(--slate-700); }
.jane-card-body   { padding: 0.85rem 1rem; }
.jane-label { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-600); flex-shrink: 0; }
.soap-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.soap-item  { display: flex; flex-direction: column; gap: 0.2rem; }
.soap-label { font-size: 0.72rem; font-weight: 700; color: var(--teal-700); letter-spacing: 0.04em; }
.soap-val   { font-size: 0.83rem; color: var(--slate-700); line-height: 1.5; }

.tag-list { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.6rem; }
.tag       { font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 999px; }
.tag-green { background: var(--green-100); color: var(--green-700); }

.btn-brand {
  padding: 0.55rem 1.1rem; border-radius: var(--radius-md);
  background: var(--teal-700); color: var(--white);
  font-size: 0.85rem; font-weight: 600;
  transition: background 0.2s;
}
.btn-brand:hover:not(:disabled) { background: var(--teal-800); }
.btn-brand:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-muted {
  padding: 0.55rem 1rem; border-radius: var(--radius-md);
  background: transparent; color: var(--slate-500);
  font-size: 0.85rem; font-weight: 500;
  border: 1px solid var(--slate-200);
  transition: border-color 0.2s, color 0.2s;
}
.btn-muted:hover:not(:disabled) { border-color: var(--slate-400); color: var(--slate-700); }

/* ── 6. TRANSITIONS & ANIMATIONS ───────────────────────── */

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-5px); opacity: 1; }
}
@keyframes spinAnim {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes blink {
  0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
}

/* ── 7. RESPONSIVE ──────────────────────────────────────── */

@media (max-width: 900px) {
  .landing-shell { grid-template-columns: 1fr; }
  .lp-brand { display: none; }
  .lp-login {
    background: linear-gradient(140deg, #0e4f4d 0%, #042f2e 100%);
    justify-content: center;
  }
  .lp-login-card { box-shadow: var(--shadow-xl); }
  .lp-footer { color: rgba(255,255,255,0.3); }
}

@media (max-width: 768px) {
  .portal-sidebar {
    position: absolute; z-index: 50; height: 100%;
  }
  .portal-sidebar.ps-collapsed { width: 0; border-right: none; }
}
