/* Scoped to the psychologist workspace; shared pages and portal dialogs retain their styles. */
.psychologist-workspace { background: #f4f6fa; color: #182c46; font-size: 16px; line-height: 1.6; }
.psychologist-workspace > nav { padding: 20px clamp(20px, 3vw, 56px); gap: 20px; flex-wrap: wrap; border-color: #e1e7ef; box-shadow: none; }
.psychologist-workspace > nav > div:last-child { flex-wrap: wrap; gap: 10px; margin-left: auto; }
.psychologist-workspace > nav > div:last-child > * { margin-left: 0; }
.psychologist-workspace-content { width: 100%; max-width: 1680px; margin: 0 auto; padding: 40px clamp(20px, 3vw, 56px) 64px; }
.psychologist-workspace-heading { margin-bottom: 30px; padding: 8px 0 26px; border-bottom: 1px solid #dce3ec; }
.psychologist-workspace-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .15em; color: #7c6941; margin-bottom: 12px; }
.psychologist-workspace-heading h1 { font-size: clamp(30px, 2.7vw, 42px); font-weight: 650; line-height: 1.2; letter-spacing: -.035em; color: #142d4e; }
.psychologist-workspace-subtitle { margin-top: 12px; color: #607087; font-size: 16px; }
.psychologist-workspace [role="tablist"] { background: white; padding: 8px; gap: 6px; border: 1px solid #dce3ec; border-radius: 14px; margin-bottom: 28px; box-shadow: 0 3px 12px #172e4d05; }
.psychologist-workspace [role="tablist"] button { min-height: 44px; border-radius: 9px; padding: 10px 16px; font-size: 15px; color: #4c5f77; }
.psychologist-workspace [role="tab"][data-state="active"] { background: #193b61; color: white; box-shadow: 0 2px 5px #193b6120; }
.psychologist-workspace [role="tab"]:hover:not([data-state="active"]) { background: #edf2f8; }
.psychologist-workspace [role="tabpanel"] > .bg-card,
.psychologist-workspace [role="tabpanel"] > div > .bg-card { border-color: #dfe5ee; border-radius: 18px; box-shadow: 0 4px 20px #19324d06; overflow: visible; }
.psychologist-workspace [role="tabpanel"] .bg-card > .flex.flex-col { padding: 26px 28px 20px; }
.psychologist-workspace [role="tabpanel"] .bg-card > .p-6 { padding-left: 28px; padding-right: 28px; }
.psychologist-workspace [role="tabpanel"] .tracking-tight { font-size: 22px; line-height: 1.35; color: #193452; font-family: inherit !important; }
.psychologist-workspace [role="tabpanel"] h3 { font-family: inherit !important; font-size: 24px; line-height: 1.35; }
.psychologist-workspace .text-sm { font-size: 15px; line-height: 1.55; }
.psychologist-workspace .text-xs { font-size: 13px; line-height: 1.5; }
.psychologist-workspace button { min-height: 40px; border-radius: 9px; font-size: 14px; line-height: 1.45; white-space: normal; height: auto; padding-top: 9px; padding-bottom: 9px; }
.psychologist-workspace button svg { flex-shrink: 0; }
.psychologist-workspace button:focus-visible { outline: 3px solid #6c9aca; outline-offset: 3px; }
.psychologist-workspace button.bg-primary,
.psychologist-workspace button.bg-blue-600 { background-color: #193b61; }
.psychologist-workspace button.bg-primary:hover,
.psychologist-workspace button.bg-blue-600:hover { background-color: #244e7b; }
.psychologist-workspace button.border-input { border-color: #ccd7e4; color: #254766; background: #fff; }
.psychologist-workspace button.border-input:hover { background: #f0f5fa; }
.psychologist-workspace input, .psychologist-workspace select, .psychologist-workspace textarea { font-size: 15px; border-radius: 9px; }
.psychologist-workspace .psychologist-request-card { padding: 24px; border-color: #dce4ee; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px #19324d04; }
.psychologist-workspace .psychologist-request-card h4 { font-size: 21px; line-height: 1.4; color: #172f4d; }
.psychologist-request-card > div:last-child:has(> button) { border-top: 1px solid #e5eaf1; padding-top: 18px; margin-top: 20px; }
.psychologist-workspace .psychologist-request-card .flex { flex-wrap: wrap; gap: 10px; }
.psychologist-workspace .psychologist-request-card .flex > * { min-width: 0; }
.psychologist-workspace .psychologist-request-card p { overflow-wrap: anywhere; }
.psychologist-workspace .psychologist-request-card span.px-2 { border-radius: 999px; padding: 5px 12px; font-size: 13px; }
.psychologist-workspace .psychologist-phase-progress { padding: 20px; background: #f5f8fc; border-color: #d8e3ef; border-radius: 12px; margin-top: 20px; }
.psychologist-workspace .psychologist-phase-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.psychologist-workspace .psychologist-phase-steps > div { flex-wrap: nowrap; align-items: center; padding: 12px; background: white; border: 1px solid #e0e7ef; border-radius: 10px; }
.psychologist-workspace .psychologist-phase-steps .rounded-full { flex-shrink: 0; }
.psychologist-workspace .psychologist-current-clients li { padding: 10px 16px; border-color: #dbe4ed; border-radius: 9px; background: #f6f8fb; font-size: 15px; font-weight: 500; }
@media (max-width: 1100px) {
  .psychologist-workspace .psychologist-phase-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .psychologist-workspace > nav > div:last-child { margin-left: 0; }
}
@media (max-width: 600px) {
  .psychologist-workspace-content { padding: 24px 16px 40px; }
  .psychologist-workspace > nav { padding: 16px; }
  .psychologist-workspace > nav img { height: 48px; }
  .psychologist-workspace [role="tablist"] button { padding: 10px 12px; }
  .psychologist-workspace [role="tabpanel"] .bg-card > .p-6 { padding-left: 16px; padding-right: 16px; }
  .psychologist-workspace .psychologist-request-card { padding: 16px; }
  .psychologist-workspace .psychologist-phase-progress { padding: 12px; }
  .psychologist-workspace .psychologist-phase-steps { grid-template-columns: 1fr; }
}
