@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&display=swap');

/* Direct visual source: trello/src/styles.css, dev-styles.css, dev-views.css.
   The clinical views retain their controls inside the same white workspace surface. */
.trello-theme {
  --cf-header-height:62px;
  --cf-sidebar-width:232px;
  --cf-heading:#243650;
  --cf-secondary:#7e8b9e;
  --cf-border:#e7eaf0;
  --cf-bg:#f7f8fa;
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:12px;
  font-weight:450;
  line-height:1.6;
  background:#fff;
}
.trello-theme.clinic-ready { height:100dvh; overflow:hidden; }
.trello-theme .app-header { position:relative; height:62px; padding:0 22px; gap:20px; }
.trello-theme .header-brand { flex-shrink:0; }
.trello-theme .brand { flex-basis:auto; min-width:188px; color:#193453; font-size:25px; font-weight:700; letter-spacing:-1.1px; gap:8px; }
.trello-theme .brand-dot { margin-left:-5px; color:#0c66e4; }
.trello-theme .header-divider { display:block; width:1px; height:22px; background:#e7eaf0; flex-shrink:0; }
.header-navigation { display:flex; align-items:center; gap:22px; }
.header-navigation button { display:flex; align-items:center; gap:7px; padding:8px 0; border:0; background:none; color:#56647b; font-size:12px; font-weight:500; white-space:nowrap; }
.header-navigation button svg { width:12px; height:12px; }
.header-navigation button:hover { color:#0c66e4; }
.trello-theme .header-search { display:flex; margin-left:auto; width:310px; max-width:27vw; height:34px; padding:0 10px; border-radius:7px; background:#f7f8fa; color:#7c8799; }
.trello-theme .header-search input { font-size:11px; }
.trello-theme .search-key { font-size:10px; border:1px solid #e2e6ed; border-radius:4px; background:#fff; padding:0 5px; }
.trello-theme .header-right { margin-left:0; gap:10px; }
.trello-theme .demo-pill { font-size:9px; padding:3px 6px; background:transparent; border:0; color:#8291a6; }
.trello-theme .header-right .avatar { width:33px; height:33px; font-size:10px; background:#ece8fb; color:#6e5bcc; }
.trello-theme .icon-button { width:32px; height:32px; min-height:32px; }
.trello-theme .app-shell { height:calc(100dvh - 62px); min-height:0; }
.trello-theme .app-sidebar { padding:0 12px; border-right:1px solid #e7eaf0; }
.trello-theme .clinic-switch { gap:10px; padding:22px 8px 20px; text-decoration:none; }
.trello-theme .clinic-avatar { width:35px; height:35px; border-radius:9px; color:#fff; background:linear-gradient(140deg,#4979f3,#1455cc); font-size:15px; font-weight:700; }
.trello-theme .clinic-switch > span:nth-child(2) { min-width:0; flex:1; }
.trello-theme .clinic-switch strong { font-size:13px; font-weight:650; line-height:19px; }
.trello-theme .clinic-switch small { font-size:10px; color:#8791a2; line-height:1.5; margin-top:2px; }
.trello-theme .clinic-switch small i { display:inline-block; width:5px; height:5px; margin-right:4px; background:#84b69b; border-radius:50%; vertical-align:middle; }
.trello-theme .sidebar-nav { gap:0; }
.trello-theme .nav-link { font-size:12px; font-weight:500; min-height:38px; padding:9px 12px; margin-bottom:3px; gap:11px; color:#56647a; }
.trello-theme .nav-link[aria-current="page"] { background:#e9f2ff; color:#0c66e4; }
.trello-theme .nav-count { font-size:9px; min-width:16px; background:#f0f2f5; color:#8490a3; }
.trello-theme .nav-separator { height:1px; margin:17px 8px; background:#edf0f3; }
.trello-theme .sidebar-footer { padding:16px 5px; font-size:10px; }
.trello-theme .sidebar-note { display:block; padding:12px; margin:0; border:1px solid #e8e5f3; border-radius:8px; background:linear-gradient(140deg,#fcfbff,#f5f6fd); }
.sidebar-note > strong { display:flex; align-items:center; gap:6px; color:#5c4e83; font-size:11px; font-weight:600; }
.sidebar-note p { color:#8b86a0; font-size:10px; line-height:1.7; margin:7px 0; }
.trello-theme .sidebar-note .button { min-height:25px; padding:0; background:none; font-size:10px; color:#7058a1; }
.trello-theme .sidebar-user { display:flex; align-items:center; gap:9px; padding:0 3px; margin-top:19px; border:0; }
.sidebar-user strong { font-size:11px; font-weight:600; color:#243650; display:block; }
.sidebar-user small { font-size:10px; color:#8b96a8; display:block; margin-top:3px; }
.sidebar-user > svg { margin-left:auto; width:13px; height:13px; color:#8895a9; }
.trello-theme .app-main { padding:0; min-height:0; height:100%; display:flex; flex-direction:column; overflow:hidden; background:#f3f5f7; }
.workspace-toolbar { flex-shrink:0; background:#fff; padding:18px 28px 0; border-bottom:1px solid #e8ebef; }
.trello-theme .breadcrumb { margin:0 0 8px; font-size:10px; color:#8b97a9; gap:7px; }
.trello-theme .breadcrumb svg { width:11px; height:11px; }
.trello-theme .breadcrumb span { color:#697990; }
.workspace-toolbar .page-heading { margin:0; gap:18px; min-height:68px; align-items:flex-start; }
.workspace-title { display:grid; grid-template-columns:29px minmax(0,1fr); column-gap:10px; align-items:center; min-width:0; }
.workspace-route-icon { width:29px; height:29px; border-radius:7px; background:#eaf2ff; color:#0c66e4; display:flex; align-items:center; justify-content:center; grid-column:1; grid-row:1; }
.workspace-route-icon svg { width:17px; height:17px; }
.trello-theme .workspace-title h1 { grid-column:2; margin:0; font-size:22px; font-weight:650; letter-spacing:-.65px; line-height:1.35; color:#243650; }
.trello-theme .workspace-title .page-subtitle { grid-column:1/-1; font-size:11px; color:#8591a3; line-height:1.7; margin:7px 0 0; }
.workspace-patient-title { display:flex; gap:10px; align-items:center; min-width:0; flex:1; }
.workspace-patient-title > div { min-width:0; }
.trello-theme .workspace-patient-title h1 { font-size:22px; font-weight:650; line-height:1.35; letter-spacing:-.65px; }
.workspace-patient-title p { font-size:11px; color:#8591a3; overflow-wrap:anywhere; }
.trello-theme .workspace-toolbar .heading-actions { padding-top:1px; }
.workspace-viewbar { display:flex; align-items:stretch; height:45px; min-width:0; margin-top:8px; }
.workspace-tabs { display:flex; gap:25px; align-items:stretch; overflow-x:auto; overflow-y:hidden; scrollbar-width:none; min-width:0; width:100%; }
.workspace-tabs::-webkit-scrollbar { display:none; }
.workspace-tab { display:flex; align-items:center; gap:6px; border:0; background:none; position:relative; padding:0 0 13px; flex-shrink:0; color:#7b899d; font-size:11px; font-weight:500; white-space:nowrap; }
.workspace-tab svg { width:15px; height:15px; }
.workspace-tab[aria-selected="true"] { color:#0c66e4; font-weight:600; }
.workspace-tab[aria-selected="true"]::after { content:''; position:absolute; bottom:0; left:0; right:0; height:3px; background:#0c66e4; border-radius:3px 3px 0 0; }
.workspace-canvas { position:relative; isolation:isolate; flex:1; min-height:0; display:flex; flex-direction:column; background:#f3f5f7; }
.canvas-context { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-shrink:0; color:#626f86; padding:13px 23px 12px; font-size:9px; line-height:1.5; }
.canvas-context > span { display:flex; align-items:center; gap:6px; }
.canvas-context svg { width:12px; height:12px; }
.canvas-context i { width:5px; height:5px; background:#84b69b; border-radius:50%; }
.workspace-scroll { flex:1; min-height:0; min-width:0; overflow:auto; padding:0 23px; scrollbar-width:thin; scrollbar-color:#ffffff80 transparent; }
.workspace-content { background:#fff; border:1px solid #ffffff8c; border-radius:12px; box-shadow:0 4px 20px #193b2a14; padding:24px; min-width:0; min-height:calc(100% - 1px); }
.workspace-content > :last-child { margin-bottom:0; }
.workspace-footer { flex-shrink:0; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 23px; color:#626f86; font-size:9px; }
.workspace-footer > span { display:flex; align-items:center; gap:6px; }
.workspace-footer svg { width:12px; height:12px; }
.trello-theme .workspace-content .surface { border-radius:8px; box-shadow:none; border-color:#eaf0f3; }
.trello-theme .workspace-content .section-heading { padding:16px 18px; }
.trello-theme .section-heading h2,.trello-theme .section-heading h3 { font-size:12px; font-weight:600; }
.trello-theme .section-heading p { font-size:10px; }
.trello-theme .button { font-size:11px; font-weight:550; padding:7px 11px; min-height:32px; gap:6px; border-radius:6px; }
.trello-theme .button svg { width:14px; height:14px; }
.trello-theme .button.primary { background:#0c66e4; color:#fff; }
.trello-theme .button.primary:hover { background:#0055c7; }
.trello-theme .button.secondary { background:#f1f2f4; color:#56647b; border-color:transparent; }
.trello-theme .button.small { font-size:10px; padding:6px 9px; min-height:29px; }
.trello-theme .input,.trello-theme .select { font-size:12px; min-height:35px; border-color:#dfe5ec; background:#fafbfc; border-radius:5px; padding:7px 10px; }
.trello-theme .input:focus,.trello-theme .select:focus { background:#fff; }
.trello-theme .field > span { font-size:10px; color:#7c899c; font-weight:550; }
.trello-theme .field-help { font-size:10px; color:#8997a9; }
.trello-theme .toolbar { gap:12px; margin-bottom:17px; }
.trello-theme .filters .input,.trello-theme .filters .select { min-height:32px; font-size:11px; }
.trello-theme .segmented { border-radius:5px; padding:2px; background:#f1f2f4; border-color:#e7eaf0; }
.trello-theme .segmented button { font-size:11px; padding:4px 11px; min-height:26px; }
.trello-theme .data-table { font-size:11px; }
.trello-theme .data-table th { background:#f9fbfc; font-size:10px; font-weight:500; color:#8996a7; padding:12px 15px; }
.trello-theme .data-table td { padding:14px 15px; border-color:#edf1f5; }
.trello-theme .data-table td strong { font-size:11px; font-weight:500; }
.trello-theme .data-table td small { font-size:10px; color:#8b98aa; }
.trello-theme .badge { font-size:9px; font-weight:500; padding:3px 6px; border-radius:4px; gap:4px; }
.trello-theme .avatar { width:27px; height:27px; font-size:9px; }
.trello-theme .stats-strip { border-color:#e9eef3; background:#fff; box-shadow:none; border-radius:0; }
.trello-theme .stat-label { font-size:10px; color:#7e8b9e; }
.trello-theme .stat-value { font-size:28px; font-weight:600; letter-spacing:-1px; color:#29415c; }
.trello-theme .stat-detail { font-size:9px; color:#9aa5b4; }
.trello-theme .period-caption { font-size:11px; color:#8995a7; }
.trello-theme .appointment-row { padding:13px 0; }
.trello-theme .appointment-row time { font-size:11px; }
.trello-theme .appointment-row-info strong { font-size:11px; font-weight:500; }
.trello-theme .appointment-row-info small,.trello-theme .action-meta { font-size:9px; }
.trello-theme [data-route-view="overview"] .overview-layout > .surface,
.trello-theme [data-route-view="overview"] .overview-side > .surface,
.trello-theme [data-route-view="overview"] .team-panel { border:0; padding:0; border-radius:0; }
.trello-theme [data-route-view="overview"] .overview-side { border-left:1px solid #e9eef3; padding-left:24px; }
.trello-theme [data-route-view="overview"] .section-heading { padding:0 0 17px; }
.trello-theme .agenda-status-tabs { font-size:11px; margin-bottom:14px; }
.trello-theme .agenda-status-tabs button { font-size:11px; }
.trello-theme .calendar-head { background:#f9fbfc; }
.trello-theme .day-heading strong { font-size:11px; font-weight:550; }
.trello-theme .day-heading small,.trello-theme .time-slot { font-size:10px; }
.trello-theme .event-name { font-size:11px; }
.trello-theme .event-time,.trello-theme .event-procedure { font-size:9px; }
.trello-theme .calendar-legend { font-size:9px; }
.trello-theme .patient-layout { gap:24px; }
.trello-theme .patient-profile h2,.trello-theme .patient-profile h3 { font-size:12px; }
.trello-theme .patient-details,.trello-theme .patient-profile p { font-size:11px; }
.trello-theme .clinical-record-header h2 { font-size:18px; font-weight:600; letter-spacing:-.4px; }
.trello-theme .clinical-record-header .muted { font-size:10px; }
.trello-theme .clinical-fields { gap:18px; }
.trello-theme .inline-note { font-size:10px; padding:11px 13px; }
.trello-theme .template-settings { padding:20px; }
.trello-theme .template-base { border-radius:8px; padding:16px; }
.trello-theme .template-base h3 { font-size:12px; font-weight:600; }
.trello-theme .template-base p { font-size:10px; }
.trello-theme .template-current h3 { font-size:14px; }
.trello-theme .template-field-flags label { font-size:11px; }
.trello-theme .app-dialog { border-radius:12px; box-shadow:0 20px 100px #172b4d3d; }
.trello-theme .app-dialog::backdrop { background:#091e425c; backdrop-filter:blur(3px); }
.trello-theme .dialog-header h2 { font-size:19px; font-weight:600; letter-spacing:-.5px; }
.trello-theme .dialog-body { font-size:12px; }
.trello-theme .dialog-footer { background:#fafbfc; border-color:#e9edf2; }
.trello-theme .workspace-content .back-link { font-size:11px; margin-top:-6px; }
.trello-theme .setup-page { padding:0; min-height:100dvh; background:#fff; }
.trello-theme .setup-brand { position:absolute; top:30px; left:40px; z-index:2; color:#193453; }
.trello-theme .setup-brand .brand-mark,.trello-theme .setup-brand .brand-dot { color:#0c66e4; }
.trello-theme .setup-layout { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); min-height:100dvh; max-width:none; margin:0; padding:0; gap:0; align-items:stretch; }
.trello-theme .setup-copy { display:flex; flex-direction:column; justify-content:center; padding:125px 70px 70px; color:#243650; background:#f3f5f7; }
.trello-theme .setup-copy > .badge { align-self:flex-start; background:#e9f2ff; color:#0c66e4; border-color:#d7e5fa; font-size:10px; }
.trello-theme .setup-copy h1 { font-size:40px; font-weight:550; line-height:1.25; letter-spacing:-1.3px; color:#243650; margin:22px 0 16px; }
.trello-theme .setup-copy > p { font-size:12px; line-height:1.9; color:#626f86; max-width:360px; }
.trello-theme .setup-benefits { margin-top:25px; gap:20px; border-top-color:#dfe5ec; }
.trello-theme .setup-benefits strong { font-size:12px; font-weight:550; color:#243650; }
.trello-theme .setup-benefits small { font-size:10px; color:#626f86; }
.trello-theme .setup-benefits svg { color:#0c66e4; width:20px; height:20px; }
.trello-theme .setup-disclaimer { font-size:10px; margin-top:38px; }
.trello-theme .setup-panel { border:0; border-radius:0; padding:80px 50px 45px; box-shadow:none; width:100%; max-width:540px; align-self:center; justify-self:center; }
.trello-theme .setup-panel > h2 { font-size:26px; font-weight:600; letter-spacing:-.75px; margin:9px 0; }
.trello-theme .setup-panel > p { font-size:12px; line-height:1.8; color:#8995a7; margin-bottom:24px; }
.trello-theme .setup-step { font-size:10px; color:#8292a7; }
.trello-theme .setup-panel .module-grid { gap:8px; }
.trello-theme .setup-panel .module-option { padding:11px; border-radius:6px; }
.trello-theme .setup-panel .module-option strong { font-size:11px; }
.trello-theme .setup-panel .module-option small { font-size:10px; }
.trello-theme .setup-submit { min-height:38px; margin-top:22px; }
.trello-theme .setup-footnote { font-size:9px; }
@media(max-width:1200px) {
  .trello-theme .app-header { gap:15px; padding:0 18px; }
  .trello-theme .brand { min-width:173px; }
  .header-navigation { gap:16px; }
  .header-navigation button { font-size:11px; }
  .trello-theme .header-search { max-width:230px; }
  .workspace-toolbar { padding-left:23px; padding-right:23px; }
  .workspace-tabs { gap:21px; }
  .workspace-content { padding:20px; }
}
@media(max-width:1000px) {
  .trello-theme { --cf-sidebar-width:190px; }
  .trello-theme .header-navigation { display:none; }
  .trello-theme .brand { min-width:150px; }
  .trello-theme .header-search { max-width:310px; width:30vw; }
  .trello-theme .clinic-switch { padding-left:2px; padding-right:2px; }
  .trello-theme .clinic-switch strong { font-size:12px; }
  .trello-theme .nav-link { font-size:11px; padding:9px 8px; }
  .workspace-toolbar { padding-left:20px; padding-right:20px; }
  .workspace-scroll { padding-left:20px; padding-right:20px; }
  .trello-theme .setup-copy { padding:120px 38px 50px; }
  .trello-theme .setup-panel { padding:70px 32px 40px; }
}
@media(max-width:760px) {
  .trello-theme { --cf-header-height:56px; --cf-sidebar-width:245px; }
  .trello-theme .app-header { height:56px; gap:10px; padding:0 14px; }
  .trello-theme .header-brand { display:flex; align-items:center; gap:6px; }
  .trello-theme .brand { min-width:0; font-size:22px; gap:5px; }
  .trello-theme .brand-mark svg { width:25px; height:25px; }
  .trello-theme .header-divider,.trello-theme .demo-pill,.trello-theme .search-key,.trello-theme .header-right [data-help] { display:none; }
  .trello-theme .header-search { width:32vw; max-width:none; min-width:70px; height:32px; padding:0 8px; }
  .trello-theme .header-search input { font-size:10px; }
  .trello-theme .header-right { gap:0; }
  .trello-theme .header-right .avatar { width:28px; height:28px; font-size:9px; }
  .trello-theme .app-shell { height:calc(100dvh - 56px); }
  .trello-theme .app-sidebar { top:56px; width:245px; }
  .trello-theme .nav-link { font-size:12px; min-height:44px; }
  .workspace-toolbar { padding:15px 16px 0; }
  .trello-theme .breadcrumb { font-size:9px; margin-bottom:7px; }
  .workspace-toolbar .page-heading { min-height:65px; gap:10px; margin:0; flex-wrap:wrap; }
  .trello-theme .workspace-title h1 { font-size:19px; }
  .trello-theme .workspace-patient-title h1 { font-size:19px; }
  .workspace-patient-title p { font-size:10px; }
  .trello-theme .workspace-title .page-subtitle { font-size:10px; margin-top:6px; }
  .workspace-title { grid-template-columns:25px minmax(0,1fr); column-gap:8px; }
  .workspace-route-icon { width:25px; height:25px; }
  .workspace-viewbar { height:44px; margin-top:5px; }
  .workspace-tabs { gap:19px; }
  .workspace-tab { font-size:10px; min-height:44px; padding-bottom:10px; }
  .workspace-tab svg { width:13px; height:13px; }
  .canvas-context { padding:12px 16px 11px; font-size:9px; }
  .canvas-context > span:last-child,.workspace-footer > span:last-child { display:none; }
  .workspace-scroll { padding:0 12px; }
  .workspace-content { padding:16px; border-radius:10px; }
  .workspace-footer { padding:9px 16px 10px; font-size:8px; }
  .trello-theme .button,.trello-theme .button.small,.trello-theme .segmented button,.trello-theme .input,.trello-theme .select { min-height:44px; font-size:12px; }
  .trello-theme .field > span { font-size:11px; }
  .trello-theme .toolbar { gap:12px; }
  .trello-theme .workspace-toolbar .heading-actions { flex-shrink:1; flex-wrap:wrap; }
  .trello-theme .workspace-content .section-heading { padding:14px; }
  .trello-theme .stat-value { font-size:24px; }
  .trello-theme .template-settings { padding:14px; }
  .trello-theme .template-field-row { gap:12px; }
  .trello-theme .template-field-order .icon-button { width:44px; height:44px; }
  .trello-theme .setup-brand { position:relative; top:auto; left:auto; margin:20px 24px; color:#193453; }
  .trello-theme .setup-brand .brand-mark,.trello-theme .setup-brand .brand-dot { color:#0c66e4; }
  .trello-theme .setup-layout { grid-template-columns:1fr; min-height:0; }
  .trello-theme .setup-copy { padding:25px 24px; }
  .trello-theme .setup-copy h1 { font-size:28px; margin:14px 0 8px; }
  .trello-theme .setup-copy h1 br { display:none; }
  .trello-theme .setup-copy > p { font-size:11px; margin-bottom:0; }
  .trello-theme .setup-benefits,.trello-theme .setup-disclaimer { display:none; }
  .trello-theme .setup-panel { padding:28px 24px 36px; max-width:540px; }
  .trello-theme .setup-panel > h2 { font-size:24px; }
  .trello-theme .setup-panel .button.primary { min-height:44px; font-size:12px; }
}
