.clinic-dashboard { --clinic-accent: #068C85; --clinic-light: #69ddca; text-align: left; background: #0c1012; color: #fafafa; border: 1px solid #ffffff16; border-radius: 16px; box-shadow: 0 32px 90px #0006, 0 0 65px #068c850d; overflow: hidden; font-size: 14px; }
.clinic-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; background: #ffffff03; border-bottom: 1px solid #ffffff0d; }
.clinic-brand { display: flex; align-items: center; gap: 10px; letter-spacing: .04em; font-size: 14px; font-weight: 800; }
.clinic-brand img { width: 25px; height: 25px; object-fit: contain; }
.clinic-brand span { color: #8e9a9d; border-left: 1px solid #ffffff20; padding-left: 12px; margin-left: 4px; font-weight: 500; letter-spacing: 0; }
.clinic-demo-label { display: flex; align-items: center; gap: 7px; color: #a7b2b4; font-size: 12px; }
.clinic-demo-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--clinic-light); box-shadow: 0 0 10px #068c8580; }
.clinic-content { padding: 24px; }
.clinic-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.clinic-heading h2 { font-size: 22px; font-weight: 650; letter-spacing: -.035em; line-height: 1.25; }
.clinic-heading p { color: #9ca7aa; font-size: 14px; margin-top: 5px; }
.clinic-actions { display: flex; gap: 8px; flex-shrink: 0; }
.clinic-actions button { min-height: 40px; padding: 8px 13px; border-radius: 8px; font: inherit; font-weight: 600; transition: background .2s; }
.clinic-primary { background: var(--clinic-accent); color: #020d0c; border: 1px solid #ffffff12; }
.clinic-primary:hover { background: #086d69; color: #fff; }
.clinic-primary:disabled { background: #0b5754; color: #d0f7ef; cursor: default; }
.clinic-reset { color: #b9c4c6; border: 1px solid #ffffff16; background: #ffffff03; }
.clinic-reset:hover { background: #ffffff0b; }
.clinic-dashboard button:focus-visible, .clinic-board-scroll:focus-visible, .clinic-move:focus-within { outline: 2px solid var(--clinic-light); outline-offset: 4px; }
.clinic-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.clinic-metric { padding: 14px 18px; border: 1px solid #ffffff0e; border-radius: 10px; background: #ffffff03; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.clinic-metric span { font-size: 14px; color: #9ca7aa; }
.clinic-metric strong { font-size: 28px; letter-spacing: -.04em; font-weight: 600; font-variant-numeric: tabular-nums; }
.clinic-metric:last-child { background: #068c8512; border-color: #068c8545; }
.clinic-metric:last-child strong { color: var(--clinic-light); }
.clinic-board-scroll { overflow-x: auto; padding: 2px 2px 14px; scrollbar-width: thin; scrollbar-color: #086d69 #151b1e; }
.clinic-board { display: grid; grid-template-columns: repeat(4, minmax(208px, 1fr)); gap: 12px; align-items: stretch; }
.clinic-column { background: #ffffff02; border: 1px solid #ffffff0b; border-radius: 10px; padding: 10px; min-height: 355px; transition: background .2s, border-color .2s; }
.clinic-column-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 5px 1px 15px; }
.clinic-column-head h3 { display: flex; gap: 7px; align-items: center; font-size: 14px; font-weight: 600; white-space: nowrap; }
.clinic-stage-dot { background: #086d69; width: 7px; height: 7px; border-radius: 50%; }
.clinic-column:nth-child(2) .clinic-stage-dot { background: #068C85; }
.clinic-column:nth-child(3) .clinic-stage-dot { background: #32c3b3; }
.clinic-column:nth-child(4) .clinic-stage-dot { background: #69ddca; }
.clinic-count { color: #a7b2b4; background: #ffffff07; font-size: 12px; min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 5px; }
.clinic-card-list { display: flex; flex-direction: column; gap: 10px; }
.clinic-card { padding: 12px; background: #171e21; border: 1px solid #ffffff12; border-radius: 8px; cursor: grab; position: relative; box-shadow: 0 3px 8px #0002; }
.clinic-card:hover { border-color: #068c8580; }
.clinic-card:active { cursor: grabbing; }
.clinic-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.clinic-source { color: #aacbc8; font-size: 12px; background: #068c8519; border: 1px solid #068c8526; padding: 2px 6px; border-radius: 4px; }
.clinic-grip { color: #677579; font-size: 20px; line-height: 1; }
.clinic-person { display: flex; align-items: center; gap: 9px; }
.clinic-avatar { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; font-size: 12px; background: #068c8524; color: #69ddca; }
.clinic-person h4 { font-size: 14px; font-weight: 600; line-height: 1.4; }
.clinic-person p { font-size: 12px; color: #a3afb2; margin-top: 2px; }
.clinic-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 14px; padding-top: 10px; border-top: 1px solid #ffffff09; }
.clinic-card-state { color: #99a8aa; font-size: 12px; }
.clinic-move { display: flex; align-items: center; gap: 4px; font-size: 14px; color: #69ddca; position: relative; flex-shrink: 0; min-height: 30px; cursor: pointer; border-radius: 3px; }
.clinic-move select { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; color-scheme: dark; }
.clinic-drop-target { background: #068c8520; border-color: #32c3b3; }
.clinic-dragging { opacity: .4; }
.clinic-card-arrived { border-color: #068c85; box-shadow: 0 0 16px #068c8518; }
.clinic-empty { font-size: 14px; color: #7e9296; padding: 24px 10px; text-align: center; border: 1px dashed #ffffff17; border-radius: 8px; }
.clinic-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #ffffff0c; margin-top: 8px; padding-top: 16px; color: #94a4a7; }
.clinic-footer p { font-size: 14px; }
.clinic-footer > span { font-size: 12px; color: #7f9295; white-space: nowrap; }
.clinic-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 767px) {
    .clinic-topbar { padding: 15px; }
    .clinic-brand span { display: none; }
    .clinic-content { padding: 16px; }
    .clinic-heading { align-items: flex-start; flex-direction: column; }
    .clinic-heading h2 { font-size: 22px; }
    .clinic-actions { flex-wrap: wrap; }
    .clinic-actions button { min-height: 44px; }
    .clinic-metrics { gap: 7px; }
    .clinic-metric { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 10px; }
    .clinic-metric span { font-size: 14px; line-height: 1.35; }
    .clinic-metric strong { font-size: 26px; }
    .clinic-board { grid-template-columns: repeat(4, 235px); }
    .clinic-move { min-height: 44px; }
    .clinic-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .clinic-dashboard *, .clinic-dashboard *::before { transition: none !important; animation: none !important; }
}
