/* Doctor workspace with moderate text sizes and responsive clinical forms. */
.doctor-theme{
  --radius:16px;--shadow:0 5px 22px color-mix(in srgb,var(--bakulev-primary) 1.96%,transparent);
  font-size:1rem;line-height:1.55;
  background:var(--bg);
}
.doctor-theme :focus-visible{outline:3px solid var(--bakulev-primary);outline-offset:3px}
.doctor-theme button,.doctor-theme input,.doctor-theme select,.doctor-theme textarea{font-family:inherit}
.doctor-theme .muted{color:var(--muted)}
.doctor-theme .btn{min-height:44px;padding:10px 16px;font-size:0.9375rem;border-color:var(--bakulev-border);border-radius:9px;font-weight:500}
.doctor-theme .btn:hover{background:var(--bakulev-primary-soft)}
.doctor-theme .btn-primary{background:var(--blue);border-color:var(--blue);box-shadow:0 3px 8px color-mix(in srgb,var(--bakulev-primary) 7.06%,transparent)}
.doctor-theme .btn-primary:hover{background:var(--blue-dark)}
.doctor-theme .btn-quiet{background:transparent;border-color:transparent}
.doctor-theme .btn-quiet:hover{background:var(--blue-soft)}
.doctor-theme .btn-danger{border-color:var(--status-danger)}
.doctor-theme .btn-sm{min-height:38px;font-size:0.875rem;padding:8px 12px}
.doctor-theme .btn .icon{width:18px;height:18px}
.doctor-theme .pill{font-size:0.8125rem;padding:6px 9px;border-radius:7px;background:var(--bakulev-primary-soft);color:var(--bakulev-text-secondary)}
.doctor-theme .pill-green{background:var(--status-success-soft);color:var(--status-success)}
.doctor-theme .pill-amber{background:var(--status-warning-soft);color:var(--status-warning)}
.doctor-theme .pill-red{background:var(--status-danger-soft);color:var(--status-danger)}
.doctor-theme .pill-violet{background:var(--bakulev-primary-soft);color:var(--bakulev-primary)}
.doctor-theme .card{border-color:var(--line);border-radius:16px;box-shadow:var(--shadow)}
.doctor-theme .avatar{background:var(--bakulev-primary-soft);color:var(--bakulev-primary);border-color:var(--bakulev-border);font-size:0.875rem}
.doctor-theme .process-header{height:86px;padding:0 max(32px,calc((100vw - 1448px)/2));border-color:var(--line);gap:25px;background:color-mix(in srgb,var(--bakulev-surface) 94.90%,transparent)}
.doctor-theme .process-header .brand{gap:13px}
.doctor-theme .process-header .brand-symbol{width:44px;height:44px;border-radius:13px;background:var(--blue);box-shadow:0 4px 10px color-mix(in srgb,var(--bakulev-primary) 8.24%,transparent)}
.doctor-theme .process-header .brand-symbol .icon{width:27px;height:27px}
.doctor-theme .process-header .brand strong{font-size:1.25rem;font-weight:600;letter-spacing:-.5px}
.doctor-theme .process-header .brand span:not(.brand-symbol){font-size:0.8125rem;color:var(--muted)}
.doctor-theme .process-header nav a{font-size:0.9375rem;padding:12px 17px;color:var(--bakulev-text-secondary);border-radius:10px;gap:9px}
.doctor-theme .process-header nav a .icon{width:19px;height:19px}
.doctor-theme .process-header nav a.active{color:var(--blue);background:var(--blue-soft)}
.doctor-theme .process-header nav a:hover{background:var(--bakulev-primary-soft)}
.doctor-theme .process-header-right .pill{font-size:0.8125rem;color:var(--bakulev-primary);background:var(--bakulev-primary-soft)}
.doctor-theme .process-main{max-width:1512px;padding:30px 32px 38px}
.doctor-theme .process-main h1{font-size:2rem;line-height:1.23;font-weight:600;letter-spacing:-1px}
.doctor-theme .process-main .page-heading{margin-bottom:28px;gap:24px}
.doctor-theme .process-main .page-heading p{font-size:1rem;color:var(--muted);margin-top:9px}
.doctor-theme .process-main .page-heading>.btn{font-size:0.9375rem;min-height:46px}
.doctor-theme .process-main .process-eyebrow{font-size:0.8125rem;font-weight:600;letter-spacing:1.5px;color:var(--bakulev-text-secondary);margin-bottom:9px}
.doctor-theme .process-overview{padding:23px 25px;margin-bottom:24px;border-color:var(--line);border-radius:15px;gap:16px;background:var(--bakulev-surface-alt)}
.doctor-theme .process-overview>div{gap:12px}
.doctor-theme .process-overview>div>.icon{box-sizing:content-box;width:22px;height:22px;padding:10px;border-radius:12px;background:var(--bakulev-primary-soft);color:var(--bakulev-primary);flex-shrink:0}
.doctor-theme .process-overview>div:nth-of-type(2)>.icon{background:var(--bakulev-primary-soft);color:var(--bakulev-text-secondary)}
.doctor-theme .process-overview>div:nth-of-type(3)>.icon{background:var(--bakulev-primary-soft);color:var(--bakulev-primary)}
.doctor-theme .process-overview>div:nth-of-type(4)>.icon{background:var(--bakulev-primary-soft);color:var(--bakulev-primary)}
.doctor-theme .process-overview b{font-size:0.9375rem;font-weight:600;color:var(--ink)}
.doctor-theme .process-overview small{font-size:0.8125rem;line-height:1.5;color:var(--muted);margin-top:4px}
.doctor-theme .process-overview>.icon{color:var(--bakulev-muted)}
.doctor-theme .registry-section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:23px 24px 0}
.doctor-theme .registry-section-title h2{font-size:1.25rem;font-weight:600;letter-spacing:-.3px}
.doctor-theme .registry-section-title>span{font-size:0.875rem;color:var(--muted)}
.doctor-theme .toolbar{padding:20px 24px;border-color:var(--line)}
.doctor-theme .registry-total{font-size:0.875rem;color:var(--muted)}
.doctor-theme .search-box{height:44px;min-width:360px;border-color:var(--bakulev-border);border-radius:9px;gap:10px}
.doctor-theme .search-box input{font-size:0.9375rem;color:var(--ink)}
.doctor-theme .search-box input::placeholder{color:var(--bakulev-text-secondary)}
.doctor-theme .search-box .icon{width:18px;height:18px;color:var(--bakulev-text-secondary)}
.doctor-theme .search-box:focus-within{outline:2px solid var(--bakulev-primary);outline-offset:2px}
.doctor-theme .data-table th{font-size:0.8125rem;font-weight:500;background:var(--bakulev-primary-soft);color:var(--bakulev-text-secondary);border-color:var(--line);letter-spacing:.3px}
.doctor-theme .data-table td{font-size:0.9375rem;color:var(--bakulev-text-secondary);border-color:var(--bakulev-border);padding-top:21px;padding-bottom:21px}
.doctor-theme .data-table tbody tr:hover{background:var(--bakulev-surface-alt)}
.doctor-theme .data-table .subtext{font-size:0.8125rem;color:var(--bakulev-text-secondary);margin-top:5px}
.doctor-theme .process-registry{min-width:1090px}
.doctor-theme .process-registry .patient-link,.doctor-theme .patient-link{font-size:1rem;color:var(--bakulev-primary);font-weight:600}
.doctor-theme .process-study-number{color:var(--bakulev-primary);font-size:0.9375rem;font-weight:600}
.doctor-theme .process-unassigned{font-size:0.875rem;color:var(--bakulev-text-secondary)}
.doctor-theme .process-hint{font-size:0.875rem;line-height:1.7;color:var(--muted);margin-top:20px}
.doctor-theme .process-hint .icon{width:17px;height:17px;flex-shrink:0}
.doctor-theme .process-footer{font-size:0.8125rem;color:var(--bakulev-text-secondary);margin-top:36px;padding-top:27px;border-color:var(--line)}
.doctor-theme .process-footer a{color:var(--bakulev-text-secondary)}
.doctor-theme .process-footer .icon{width:16px;height:16px}
.doctor-theme .process-main .back-link{font-size:0.9375rem;color:var(--bakulev-text-secondary);margin-bottom:22px;gap:7px}
.doctor-theme .back-link .icon{width:16px;height:16px}
.doctor-theme .process-patient-title h1{font-size:2.125rem;font-weight:600}
.doctor-theme .process-patient-meta{font-size:0.9375rem;color:var(--muted);gap:12px 24px;margin-top:11px}
.doctor-theme .process-patient-meta b{color:var(--bakulev-text-secondary);font-weight:600}
.doctor-theme .doctor-progress{padding:17px 23px;border-color:var(--line);border-radius:13px;margin-bottom:22px;gap:24px}
.doctor-theme .doctor-progress li{color:var(--bakulev-text-secondary);gap:11px}
.doctor-theme .doctor-progress b{font-size:0.9375rem;font-weight:500}
.doctor-theme .doctor-progress li>span{width:31px;height:31px;font-size:0.8125rem;border-color:var(--bakulev-border);background:var(--bakulev-primary-soft)}
.doctor-theme .doctor-progress li>span .icon{width:15px;height:15px}
.doctor-theme .doctor-progress li.done{color:var(--status-success)}
.doctor-theme .doctor-progress li.done>span{color:var(--status-success);border-color:var(--status-success-border);background:var(--status-success-soft)}
.doctor-theme .doctor-progress li.current{color:var(--bakulev-primary)}
.doctor-theme .doctor-progress li.current>span{color:var(--bakulev-primary);border-color:var(--bakulev-border);background:var(--bakulev-primary-soft)}
.doctor-theme .doctor-progress li>.icon{color:var(--bakulev-muted);width:16px;height:16px}
.doctor-theme .process-main .tabs{gap:30px;margin-bottom:28px}
.doctor-theme .tab{font-size:0.9375rem;color:var(--bakulev-text-secondary);padding-bottom:15px}
.doctor-theme .tab.active{color:var(--blue)}
.doctor-theme .tab .count{font-size:0.8125rem;background:var(--bakulev-primary-soft);color:var(--bakulev-text-secondary);padding:3px 6px}
.doctor-theme .doctor-workspace{grid-template-columns:258px minmax(0,1fr);gap:30px}
.doctor-theme .doctor-modules>.process-eyebrow{font-size:0.8125rem;padding:0 12px 9px;color:var(--bakulev-text-secondary);letter-spacing:1.1px}
.doctor-theme .doctor-module{padding:16px 13px;gap:12px;border-radius:12px;color:var(--bakulev-text-secondary);margin-bottom:6px}
.doctor-theme .doctor-module:hover{background:var(--bakulev-surface);border-color:var(--bakulev-border)}
.doctor-theme .doctor-module.selected{border-color:var(--bakulev-border-strong);background:var(--bakulev-surface-alt);box-shadow:0 3px 10px color-mix(in srgb,var(--bakulev-primary) 2.35%,transparent);color:var(--bakulev-text)}
.doctor-theme .doctor-module-mark{width:34px;height:36px;border-radius:10px;border-color:var(--bakulev-border);background:var(--bakulev-primary-soft);color:var(--bakulev-text-secondary)}
.doctor-theme .doctor-module-mark .icon{width:18px;height:18px}
.doctor-theme .doctor-module.selected .doctor-module-mark{background:var(--bakulev-primary-soft);border-color:var(--bakulev-border);color:var(--bakulev-primary)}
.doctor-theme .doctor-module b{font-size:1rem;font-weight:600}
.doctor-theme .doctor-module small{font-size:0.8125rem;color:var(--bakulev-text-secondary);line-height:1.5;margin-top:5px}
.doctor-theme .doctor-module em{font-size:0.8125rem;color:var(--bakulev-text-secondary);margin-top:7px}
.doctor-theme .doctor-module.future{opacity:1;color:var(--bakulev-text-secondary)}
.doctor-theme .doctor-module.future .doctor-module-mark{background:var(--bakulev-primary-soft);color:var(--bakulev-text-secondary)}
.doctor-theme .doctor-module-heading{margin-bottom:19px}
.doctor-theme .doctor-module-heading h2{font-size:2rem;font-weight:600;letter-spacing:-.7px}
.doctor-theme .doctor-module-heading p{font-size:1rem;color:var(--muted);margin-top:9px}
.doctor-theme .doctor-module-count>b{font-size:2rem;font-weight:600;color:var(--bakulev-primary)}
.doctor-theme .doctor-module-count small{font-size:1.125rem;color:var(--bakulev-text-secondary)}
.doctor-theme .doctor-module-count>span{font-size:0.8125rem;color:var(--bakulev-text-secondary)}
.doctor-theme .screening-outcome{border-radius:14px;background:var(--bakulev-primary-soft);border-color:var(--bakulev-border);padding:23px;margin-bottom:25px;gap:18px}
.doctor-theme .screening-outcome>div>.icon{color:var(--bakulev-primary);width:23px;height:23px}
.doctor-theme .screening-outcome b{font-size:1rem;color:var(--bakulev-primary);font-weight:600}
.doctor-theme .screening-outcome p{font-size:0.9375rem;color:var(--bakulev-text-secondary);line-height:1.7}
.doctor-theme .screening-outcome>small{font-size:0.8125rem;color:var(--bakulev-text-secondary);line-height:1.6}
.doctor-theme .screening-outcome .btn{font-size:0.9375rem;min-height:44px}
.doctor-theme .screening-outcome.ready{background:var(--status-success-soft);border-color:var(--status-success-border)}
.doctor-theme .screening-outcome.ready b,.doctor-theme .screening-outcome.ready>div>.icon{color:var(--status-success)}
.doctor-theme .screening-outcome.ready p{color:var(--status-success)}
.doctor-theme .screening-outcome.failed{background:var(--status-danger-soft);border-color:var(--status-danger-border)}
.doctor-theme .screening-outcome.failed b,.doctor-theme .screening-outcome.failed>div>.icon{color:var(--status-danger)}
.doctor-theme .screening-outcome.failed p{color:var(--status-danger)}
.doctor-theme .allocation-panel{border-color:var(--bakulev-border);border-radius:14px}
.doctor-theme .allocation-title{padding:18px 23px;background:var(--bakulev-primary-soft);border-color:var(--bakulev-border)}
.doctor-theme .allocation-title>.icon{color:var(--bakulev-primary);width:20px;height:20px}
.doctor-theme .allocation-title h3{font-size:1rem;color:var(--bakulev-primary);font-weight:600}
.doctor-theme .allocation-title .pill{font-size:0.8125rem}
.doctor-theme .allocation-fields{padding:23px;gap:22px}
.doctor-theme .allocation-fields span{font-size:0.8125rem;color:var(--bakulev-text-secondary);margin-bottom:9px}
.doctor-theme .allocation-fields b{font-size:1.25rem;color:var(--bakulev-primary);font-weight:600}
.doctor-theme .allocation-fields b.green{color:var(--status-success)}
.doctor-theme .allocation-fields b.muted{font-size:1rem;color:var(--bakulev-text-secondary)}
.doctor-theme .allocation-actions{background:var(--bakulev-surface-alt);border-color:var(--bakulev-border);padding:18px 23px}
.doctor-theme .allocation-actions .btn{font-size:0.9375rem}
.doctor-theme .dispensing-records{padding:0 23px 19px}
.doctor-theme .dispensing-records>span{font-size:0.875rem;background:var(--status-success-soft);color:var(--status-success);padding:8px 11px;border-radius:8px}
.doctor-theme .dispensing-records .icon{width:15px;height:15px}
.doctor-theme .doctor-forms-caption{margin-bottom:17px;gap:18px}
.doctor-theme .doctor-forms-caption b{font-size:1rem;color:var(--bakulev-text-secondary);font-weight:600}
.doctor-theme .doctor-forms-caption>span{font-size:0.875rem;color:var(--bakulev-text-secondary)}
.doctor-theme .doctor-forms{gap:13px}
.doctor-theme .doctor-form{border-color:var(--bakulev-border);border-radius:13px}
.doctor-theme .doctor-form.expanded{border-color:var(--bakulev-border-strong);box-shadow:0 4px 15px color-mix(in srgb,var(--bakulev-primary) 2.35%,transparent)}
.doctor-theme .doctor-form-toggle{padding:21px 23px;gap:15px}
.doctor-theme .doctor-form-order{width:34px;height:37px;font-size:0.8125rem;border-color:var(--bakulev-border);background:var(--bakulev-primary-soft);color:var(--bakulev-text-secondary);border-radius:9px}
.doctor-theme .doctor-form-order .icon{width:18px;height:18px}
.doctor-theme .doctor-form.completed .doctor-form-order{background:var(--status-success-soft);border-color:var(--status-success-border);color:var(--status-success)}
.doctor-theme .doctor-form-name>b{font-size:1.0625rem;line-height:1.5;font-weight:500;color:var(--bakulev-primary)}
.doctor-theme .doctor-form-name>small{font-size:0.8125rem;color:var(--bakulev-text-secondary);margin-top:5px}
.doctor-theme .doctor-form-toggle>.icon{width:18px;height:18px;color:var(--bakulev-text-secondary);flex-shrink:0}
.doctor-theme .doctor-form-toggle .pill{font-size:0.8125rem}
.doctor-theme .doctor-form.expanded .doctor-form-toggle{background:var(--bakulev-primary-soft);border-color:var(--bakulev-border)}
.doctor-theme .doctor-form.expanded .doctor-form-name>b{color:var(--bakulev-primary)}
.doctor-theme .doctor-form-body{padding:28px}
.doctor-theme .doctor-form-description{font-size:0.9375rem;color:var(--bakulev-text-secondary);line-height:1.7;margin-bottom:25px}
.doctor-theme .doctor-form-body .field-grid,.doctor-theme .process-dialog .field-grid{gap:26px}
.doctor-theme .field-label,.doctor-theme .doctor-form-body .field-label,.doctor-theme .process-dialog .field-label{font-size:0.9375rem;color:var(--bakulev-text-secondary);font-weight:500;line-height:1.6}
.doctor-theme .field-help,.doctor-theme .doctor-form-body .field-help{font-size:0.875rem;color:var(--bakulev-text-secondary);line-height:1.6}
.doctor-theme .field-error{font-size:0.875rem}
.doctor-theme .field input:not([type=checkbox]):not([type=radio]):not([type=range]),.doctor-theme .field select,.doctor-theme .field textarea,.doctor-theme .cell-input{min-height:46px;font-size:1rem;padding:10px 12px;border-radius:8px;border-color:var(--bakulev-border)}
.doctor-theme .field input:focus,.doctor-theme .field select:focus,.doctor-theme .field textarea:focus{border-color:var(--bakulev-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--bakulev-primary) 4.71%,transparent)}
.doctor-theme .field input[readonly]{background:var(--bakulev-primary-soft);color:var(--bakulev-text-secondary)}
.doctor-theme .field input:disabled,.doctor-theme .field select:disabled,.doctor-theme .field textarea:disabled{background:var(--bakulev-primary-soft);color:var(--bakulev-text-secondary);opacity:1}
.doctor-theme .field textarea{min-height:100px}
.doctor-theme .radio-option,.doctor-theme .doctor-form-body .radio-option{font-size:0.9375rem;padding:11px 14px;min-height:46px;border-color:var(--bakulev-border);color:var(--bakulev-text-secondary);border-radius:8px}
.doctor-theme .radio-option:has(input:checked){background:var(--bakulev-primary-soft);border-color:var(--bakulev-border-strong);color:var(--bakulev-primary)}
.doctor-theme input[type=radio],.doctor-theme input[type=checkbox]{width:18px;height:18px}
.doctor-theme .form-section,.doctor-theme .doctor-form-body .form-section,.doctor-theme .process-dialog .form-section{font-size:1.125rem;padding-top:27px;color:var(--bakulev-primary)}
.doctor-theme .form-note,.doctor-theme .process-main .form-note{font-size:0.9375rem;padding:15px 17px;border-radius:9px;line-height:1.7;background:var(--bakulev-primary-soft);color:var(--bakulev-text-secondary)}
.doctor-theme .form-note.success{background:var(--green-soft);color:var(--green)}
.doctor-theme .form-note.warning{background:var(--amber-soft);color:var(--status-warning)}
.doctor-theme .form-note.danger{background:var(--red-soft);color:var(--red)}
.doctor-theme .form-note .icon{width:18px;height:18px;flex-shrink:0}
.doctor-theme .computed-box{background:var(--bakulev-primary-soft);border-radius:10px;padding:17px 19px}
.doctor-theme .computed-box label{font-size:0.9375rem;color:var(--bakulev-primary)}
.doctor-theme .computed-box strong{font-size:1.875rem}
.doctor-theme .computed-box small{font-size:0.8125rem;color:var(--bakulev-text-secondary)}
.doctor-theme .criteria-text{font-size:0.9375rem;color:var(--bakulev-primary);line-height:1.7}
.doctor-theme .criteria-number{font-size:0.875rem;color:var(--bakulev-text-secondary)}
.doctor-theme .criteria-item .radio-option{min-height:40px;padding:9px 12px}
.doctor-theme .criteria-blocked,.doctor-theme .validation-banner{font-size:0.9375rem}
.doctor-theme .lab-table th{font-size:0.8125rem}
.doctor-theme .lab-table td{font-size:0.9375rem;padding:12px}
.doctor-theme .lab-table input{min-height:39px;font-size:0.9375rem;width:84px;border-color:var(--bakulev-border)}
.doctor-theme .lab-table select{min-width:170px;max-width:210px;height:39px;font-size:0.875rem;color:var(--bakulev-primary);border-color:var(--bakulev-border)}
.doctor-theme .wifi-column h3{font-size:0.9375rem;background:var(--bakulev-primary-soft);color:var(--bakulev-primary)}
.doctor-theme .wifi-option strong{font-size:0.875rem;color:var(--bakulev-primary)}
.doctor-theme .wifi-option small{font-size:0.8125rem;color:var(--bakulev-text-secondary);line-height:1.6}
.doctor-theme .wifi-option:has(input:checked){background:var(--bakulev-primary-soft)}
.doctor-theme .pain-labels{font-size:0.875rem;color:var(--bakulev-text-secondary)}
.doctor-theme .pain-buttons button{width:36px;height:37px;font-size:0.9375rem;color:var(--bakulev-text-secondary)}
.doctor-theme .pain-buttons button.active{color:var(--bakulev-surface)}
.doctor-theme .doctor-form-footer{padding-top:25px;margin-top:28px;border-color:var(--line);gap:17px}
.doctor-theme .doctor-form-footer .btn{font-size:0.9375rem;min-height:44px}
.doctor-theme .save-state,.doctor-theme .doctor-form-footer>.save-state{font-size:0.8125rem;color:var(--bakulev-text-secondary)}
.doctor-theme .doctor-after-forms{font-size:0.875rem;color:var(--bakulev-text-secondary);line-height:1.7;gap:20px}
.doctor-theme .doctor-after-forms .btn{font-size:0.875rem}
.doctor-theme .doctor-next{background:var(--status-success-soft);border-color:var(--status-success-border);border-radius:12px;padding:22px}
.doctor-theme .doctor-next>span{font-size:0.9375rem;color:var(--status-success)}
.doctor-theme .doctor-next .btn{font-size:0.9375rem}
.doctor-theme .visit-context{font-size:0.9375rem;background:var(--bakulev-primary-soft);border-color:var(--bakulev-border);color:var(--bakulev-primary);border-radius:11px;padding:15px 19px;margin-bottom:24px}
.doctor-theme .visit-context b{color:var(--bakulev-primary);font-weight:600}
.doctor-theme .visit-context .icon{width:17px;height:17px}
.doctor-theme .visit-context>.btn,.doctor-theme .visit-context .visit-material{font-size:0.875rem}
.doctor-theme .doctor-locked{padding:34px;background:var(--bakulev-primary-soft);border-color:var(--bakulev-border)}
.doctor-theme .doctor-locked>.icon{color:var(--bakulev-text-secondary)}
.doctor-theme .doctor-locked h3{font-size:1.25rem;color:var(--bakulev-primary)}
.doctor-theme .doctor-locked p{font-size:0.9375rem;color:var(--bakulev-text-secondary);max-width:470px}
.doctor-theme .blocked-form-list{font-size:0.9375rem;color:var(--bakulev-primary);border-color:var(--bakulev-border);gap:12px}
.doctor-theme .blocked-form-list b{font-size:0.875rem;color:var(--bakulev-text-secondary)}
.doctor-theme .blocked-form-list>span{border-color:var(--bakulev-border);padding:12px;border-radius:8px}
.doctor-theme .section-title h2{font-size:1.625rem}
.doctor-theme .help-content{font-size:0.9375rem;line-height:1.8}
.doctor-theme .help-content h2{font-size:1.625rem}
.doctor-theme .help-content h3{font-size:1.25rem;color:var(--bakulev-primary)}
.doctor-theme .help-content p,.doctor-theme .help-content li{font-size:0.9375rem;color:var(--bakulev-text-secondary)}
.doctor-theme .modal-backdrop{background:color-mix(in srgb,var(--bakulev-primary) 33.33%,transparent)}
.doctor-theme .modal{border-radius:17px;width:660px}
.doctor-theme .modal.wide{width:1000px}
.doctor-theme .modal-head h2{font-size:1.625rem}
.doctor-theme .modal-head p{font-size:0.9375rem;color:var(--bakulev-text-secondary);margin-top:7px}
.doctor-theme .modal-head,.doctor-theme .modal-footer{border-color:var(--line)}
.doctor-theme .modal-footer{background:var(--bakulev-surface-alt)}
.doctor-theme .modal-body{padding:26px}
.doctor-theme .dispense-fixed{background:var(--bakulev-primary-soft);border-color:var(--bakulev-border);border-radius:11px;padding:20px}
.doctor-theme .dispense-fixed>span,.doctor-theme .dispense-fixed>small{font-size:0.875rem;color:var(--bakulev-text-secondary)}
.doctor-theme .dispense-fixed>strong{font-size:1.625rem;color:var(--bakulev-primary)}
.doctor-theme .icon-btn{width:38px;height:38px;color:var(--bakulev-text-secondary)}
.doctor-theme .toast{left:50%;font-size:0.9375rem;padding:15px 22px;border-radius:11px;background:var(--bakulev-primary)}

/* Charts use the existing records; the legend also provides every chart value. */
.doctor-theme .tone-primary{--tone:var(--bakulev-primary);--tone-soft:var(--bakulev-muted)}
.doctor-theme .tone-secondary{--tone:var(--bakulev-lilac);--tone-soft:var(--bakulev-muted)}
.doctor-theme .tone-accent{--tone:var(--bakulev-lilac);--tone-soft:var(--bakulev-muted)}
.doctor-theme .tone-soft{--tone:var(--bakulev-lilac);--tone-soft:var(--bakulev-muted)}
.doctor-theme .tone-empty{--tone:var(--bakulev-track)}
.doctor-theme .research-analytics{margin-bottom:30px}
.doctor-theme .research-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:19px}
.doctor-theme .research-metric{display:flex;align-items:flex-start;justify-content:space-between;padding:22px 24px;background:var(--tone-soft);border:1px solid color-mix(in srgb,var(--tone) 14%,transparent);border-radius:16px;gap:13px}
.doctor-theme .research-metric>div>span{font-size:0.9375rem;color:var(--bakulev-text-secondary);font-weight:500}
.doctor-theme .research-metric b{display:block;font-size:2.25rem;font-weight:600;line-height:1.2;letter-spacing:-1px;color:var(--bakulev-text);margin:11px 0 6px;font-variant-numeric:tabular-nums}
.doctor-theme .research-metric small{font-size:0.8125rem;color:var(--bakulev-text-secondary)}
.doctor-theme .metric-symbol{display:grid;place-items:center;background:color-mix(in srgb,var(--bakulev-surface) 56.86%,transparent);width:39px;height:39px;flex-shrink:0;color:var(--tone);border-radius:11px}
.doctor-theme .metric-symbol .icon{width:20px;height:20px}
.doctor-theme .research-chart-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:19px;align-items:stretch}
.doctor-theme .research-chart{background:var(--bakulev-surface);border:1px solid var(--line);border-radius:16px;padding:24px;min-width:0}
.doctor-theme .research-chart-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:23px}
.doctor-theme .research-chart-heading h3{font-size:1.25rem;font-weight:600;letter-spacing:-.35px;line-height:1.4}
.doctor-theme .research-chart-heading p{font-size:0.875rem;color:var(--muted);margin-top:5px}
.doctor-theme .chart-tag{font-size:0.8125rem;color:var(--bakulev-text-secondary);border:1px solid var(--bakulev-border);padding:5px 8px;border-radius:7px;white-space:nowrap;background:var(--bakulev-surface-alt)}
.doctor-theme .research-bars{display:grid;gap:11px}
.doctor-theme .research-bar-row{display:grid;grid-template-columns:103px minmax(0,1fr) 25px;align-items:center;gap:16px;font-size:0.875rem}
.doctor-theme .research-bar-row>span{color:var(--bakulev-text-secondary)}
.doctor-theme .research-bar-row>b{text-align:right;font-size:0.9375rem;font-weight:500;color:var(--bakulev-primary);font-variant-numeric:tabular-nums}
.doctor-theme .research-bar-track{height:13px;border-radius:4px;background:var(--bakulev-primary-soft);overflow:hidden}
.doctor-theme .research-bar-track>i{height:100%;background:var(--tone);border-radius:4px;display:block}
.doctor-theme .chart-footnote{font-size:0.8125rem;color:var(--bakulev-text-secondary);line-height:1.6;margin-top:21px}
.doctor-theme .allocation-visual{display:flex;align-items:center;gap:32px;justify-content:center;margin:23px 0 24px}
.doctor-theme .research-donut{width:188px;height:188px;position:relative;flex-shrink:0}
.doctor-theme .research-donut svg{width:100%;height:100%;transform:rotate(-90deg)}
.doctor-theme .research-donut circle{fill:none;stroke-width:17}
.doctor-theme .donut-track{stroke:var(--bakulev-track)}
.doctor-theme .donut-medicine{stroke:var(--bakulev-primary)}
.doctor-theme .donut-placebo{stroke:var(--bakulev-lilac)}
.doctor-theme .research-donut>div{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column}
.doctor-theme .research-donut b{font-size:2.25rem;line-height:1.2;font-weight:600;letter-spacing:-.8px}
.doctor-theme .research-donut>div>span{font-size:0.8125rem;color:var(--muted);margin-top:5px}
.doctor-theme .allocation-legend{padding:0;list-style:none;margin:0;display:grid;gap:23px;min-width:148px}
.doctor-theme .allocation-legend li{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:0.9375rem;color:var(--bakulev-text-secondary)}
.doctor-theme .allocation-legend li>span{display:flex;align-items:center;gap:8px}
.doctor-theme .allocation-legend i,.doctor-theme .stacked-legend i{display:inline-block;width:9px;height:9px;background:var(--tone);border-radius:3px;flex-shrink:0}
.doctor-theme .allocation-legend b{font-size:1.25rem;font-weight:600;text-align:right;color:var(--ink);line-height:1.2}
.doctor-theme .allocation-legend small{display:block;font-size:0.8125rem;color:var(--muted);font-weight:400;margin-top:5px}
.doctor-theme .allocation-note{display:flex;align-items:center;gap:8px;background:var(--bakulev-primary-soft);border-radius:9px;padding:10px 13px;font-size:0.875rem;color:var(--bakulev-text-secondary)}
.doctor-theme .allocation-note .icon{width:16px;height:16px;color:var(--bakulev-primary);flex-shrink:0}
.doctor-theme .allocation-note b{margin-left:auto;color:var(--bakulev-primary)}
.doctor-theme .allocation-chart .chart-footnote{margin-top:14px}
.doctor-theme .patient-analytics{border:1px solid var(--bakulev-border);background:var(--bakulev-surface-alt);border-radius:14px;margin:0 0 27px;overflow:hidden}
.doctor-theme .patient-analytics>summary{display:flex;align-items:center;gap:18px;list-style:none;cursor:pointer;padding:18px 22px;color:var(--bakulev-primary);font-size:0.9375rem}
.doctor-theme .patient-analytics>summary::-webkit-details-marker{display:none}
.doctor-theme .patient-analytics-title{display:flex;align-items:center;gap:9px;font-size:0.9375rem;font-weight:500}
.doctor-theme .patient-analytics-title .icon{width:19px;height:19px;color:var(--bakulev-primary)}
.doctor-theme .patient-analytics-meta{margin-left:auto;font-size:0.875rem;color:var(--bakulev-text-secondary)}
.doctor-theme .patient-analytics>summary>.icon{width:17px;height:17px;color:var(--bakulev-text-secondary);flex-shrink:0;transition:transform .15s}
.doctor-theme .patient-analytics[open]>summary>.icon{transform:rotate(180deg)}
.doctor-theme .patient-analytics>.research-chart-grid{padding:0 18px 18px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.doctor-theme .patient-analytics .research-chart{padding:22px}
.doctor-theme .patient-analytics .research-chart-heading{margin-bottom:20px}
.doctor-theme .patient-analytics .research-chart-heading h3{font-size:1.125rem}
.doctor-theme .patient-module-bars{display:grid;gap:10px}
.doctor-theme .patient-module-bar{display:grid;grid-template-columns:98px minmax(0,1fr) 57px;align-items:center;gap:14px;font-size:0.8125rem;color:var(--bakulev-text-secondary);border-radius:5px}
.doctor-theme .patient-module-bar:hover{color:var(--bakulev-primary);background:var(--bakulev-surface-alt)}
.doctor-theme .patient-module-bar>b{text-align:right;color:var(--bakulev-primary);font-size:0.9375rem;font-weight:500;font-variant-numeric:tabular-nums}
.doctor-theme .patient-module-bar small{font-size:0.8125rem;color:var(--bakulev-text-secondary);font-weight:400}
.doctor-theme .stacked-track{height:10px;border-radius:5px;display:flex;overflow:hidden;background:var(--bakulev-primary-soft)}
.doctor-theme .stacked-track>i{height:100%;display:block;background:var(--tone)}
.doctor-theme .stacked-legend{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;font-size:0.8125rem;color:var(--bakulev-text-secondary);margin-top:19px}
.doctor-theme .stacked-legend>span{display:flex;align-items:center;gap:7px}
.doctor-theme .stacked-legend b{color:var(--bakulev-primary);font-weight:600;margin-left:2px}
.doctor-theme .module-completion-chart{margin:0 0 25px;padding:0 0 23px;border-bottom:1px solid var(--line)}
.doctor-theme .module-completion-chart>.stacked-track{height:9px}
.doctor-theme .module-completion-chart .stacked-legend{font-size:0.875rem;margin-top:12px;gap:12px 25px}
.doctor-theme .walking-line-chart{width:100%;display:block;max-height:220px;overflow:visible;margin-top:5px}
.doctor-theme .walking-line-chart text{font-family:inherit;font-size:0.8125rem;fill:var(--bakulev-primary)}
.doctor-theme .walking-grid{stroke:var(--bakulev-track);stroke-width:1;stroke-dasharray:4 4}
.doctor-theme .walking-area{fill:var(--bakulev-track)}
.doctor-theme .walking-line{fill:none;stroke:var(--bakulev-primary);stroke-width:3;stroke-linejoin:round}
.doctor-theme .walking-point{fill:var(--bakulev-surface);stroke:var(--bakulev-primary);stroke-width:3}
.doctor-theme .walking-values{display:flex;flex-wrap:wrap;gap:9px 18px;margin:17px 0 0;padding:0;list-style:none}
.doctor-theme .walking-values li{flex:1;min-width:80px}
.doctor-theme .walking-values a{display:flex;flex-direction:column;font-size:0.8125rem;color:var(--bakulev-text-secondary);padding:5px 0;border-radius:5px}
.doctor-theme .walking-values a:hover{background:var(--bakulev-primary-soft)}
.doctor-theme .walking-values b{font-size:1.0625rem;color:var(--bakulev-primary);font-weight:500;margin:3px 0}
.doctor-theme .walking-values small{font-size:0.8125rem;color:var(--bakulev-text-secondary)}
.doctor-theme .walking-empty{min-height:176px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;border-radius:11px;background:var(--bakulev-primary-soft);padding:20px}
.doctor-theme .walking-empty>.icon{width:24px;height:24px;color:var(--bakulev-primary);margin-bottom:5px}
.doctor-theme .walking-empty strong{font-size:1.375rem;font-weight:500;color:var(--bakulev-primary)}
.doctor-theme .walking-empty strong:has(small){font-size:2.125rem;letter-spacing:-.6px;line-height:1.25}
.doctor-theme .walking-empty strong small{font-size:0.9375rem;margin-left:7px;font-weight:400}
.doctor-theme .walking-empty>span{font-size:0.8125rem;color:var(--bakulev-text-secondary);margin-top:5px}
.doctor-theme .walking-empty p{font-size:0.875rem;max-width:300px;color:var(--bakulev-text-secondary);line-height:1.6;margin-top:13px}
.doctor-theme .walking-empty+.walking-values{display:none}
.doctor-theme .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

@media(max-width:1200px){
  .doctor-theme .process-main{padding:28px}
  .doctor-theme .process-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
  .doctor-theme .process-overview>.icon{display:none}
  .doctor-theme .research-metric{padding:21px 19px}
  .doctor-theme .metric-symbol{width:33px;height:33px}
  .doctor-theme .research-chart-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .doctor-theme .allocation-visual{gap:22px}
  .doctor-theme .research-donut{width:155px;height:155px}
  .doctor-theme .allocation-legend{min-width:135px}
  .doctor-theme .doctor-workspace{grid-template-columns:230px minmax(0,1fr);gap:25px}
  .doctor-theme .doctor-module{padding:15px 11px;gap:10px}
  .doctor-theme .doctor-module small{font-size:0.8125rem}
  .doctor-theme .doctor-form-body{padding:25px}
  .doctor-theme .doctor-form-footer>div{margin-left:auto}
  .doctor-theme .allocation-fields{gap:18px}
  .doctor-theme .allocation-fields b{font-size:1.125rem}
  .doctor-theme .allocation-fields span{font-size:0.8125rem}
  .doctor-theme .doctor-forms-caption{align-items:flex-start;flex-direction:column;gap:5px}
}
@media(max-width:1000px){
  .doctor-theme .process-header{padding:0 25px;gap:18px}
  .doctor-theme .process-header nav a{font-size:0.9375rem;padding:11px 13px}
  .doctor-theme .process-header .brand strong{font-size:1.125rem}
  .doctor-theme .process-header .brand span:not(.brand-symbol){font-size:0.8125rem}
  .doctor-theme .process-header-right .pill{display:none}
  .doctor-theme .research-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .doctor-theme .research-metric{padding:21px 23px}
  .doctor-theme .research-chart{padding:22px}
  .doctor-theme .research-chart-heading{gap:9px}
  .doctor-theme .research-chart-heading h3{font-size:1.125rem}
  .doctor-theme .chart-tag{display:none}
  .doctor-theme .research-donut{width:143px;height:143px}
  .doctor-theme .allocation-visual{gap:16px}
  .doctor-theme .allocation-legend{min-width:115px}
  .doctor-theme .allocation-legend li{font-size:0.875rem;gap:12px}
  .doctor-theme .patient-module-bar{grid-template-columns:91px minmax(0,1fr) 50px;gap:9px}
  .doctor-theme .doctor-progress{gap:17px}
  .doctor-theme .doctor-progress b{font-size:0.875rem}
  .doctor-theme .patient-analytics .research-chart{padding:20px}
  .doctor-theme .patient-analytics .research-chart-heading h3{font-size:1.0625rem}
}
@media(max-width:800px){
  .doctor-theme .process-header{height:78px;padding:0 21px;gap:14px}
  .doctor-theme .process-header .brand-symbol{width:38px;height:38px}
  .doctor-theme .process-header .brand strong{font-size:1.125rem}
  .doctor-theme .process-header .brand span:not(.brand-symbol){font-size:0.8125rem}
  .doctor-theme .process-header nav a{font-size:0.875rem;padding:10px 11px;gap:7px}
  .doctor-theme .process-header nav a .icon{width:17px;height:17px}
  .doctor-theme .process-header-right .avatar{width:33px;height:33px;font-size:0.8125rem}
  .doctor-theme .process-main{padding:26px 22px}
  .doctor-theme .process-main h1{font-size:1.875rem}
  .doctor-theme .process-main .page-heading p{font-size:0.9375rem}
  .doctor-theme .process-main .page-heading>.btn{font-size:0.9375rem}
  .doctor-theme .doctor-workspace{grid-template-columns:1fr;gap:26px}
  .doctor-theme .doctor-modules{gap:9px;padding-bottom:10px}
  .doctor-theme .doctor-module{min-width:190px;max-width:225px;background:var(--bakulev-primary-soft);border-color:var(--bakulev-border);padding:15px 13px;margin:0;gap:11px}
  .doctor-theme .doctor-module small{font-size:0.8125rem;max-width:150px;line-height:1.5}
  .doctor-theme .doctor-module b{font-size:1rem}
  .doctor-theme .doctor-module em{font-size:0.8125rem;margin-top:7px}
  .doctor-theme .doctor-module-mark{width:31px;height:34px}
  .doctor-theme .doctor-module-mark .icon{width:17px;height:17px}
  .doctor-theme .doctor-module-heading h2{font-size:1.875rem}
  .doctor-theme .doctor-module-heading p{font-size:0.9375rem}
  .doctor-theme .doctor-module-count>b{font-size:1.875rem}
  .doctor-theme .doctor-module-count>span{font-size:0.8125rem}
  .doctor-theme .doctor-progress{padding:16px;gap:12px}
  .doctor-theme .doctor-progress li{gap:8px}
  .doctor-theme .doctor-progress li>span{width:28px;height:28px;font-size:0.8125rem}
  .doctor-theme .doctor-progress li>.icon{width:12px;height:12px}
  .doctor-theme .process-patient-meta{font-size:0.9375rem;gap:10px 19px}
  .doctor-theme .process-patient-header>.btn{font-size:0.9375rem}
  .doctor-theme .allocation-fields b{font-size:1.125rem}
  .doctor-theme .allocation-fields span{font-size:0.8125rem}
  .doctor-theme .screening-outcome>.btn{margin-left:0}
  .doctor-theme .patient-analytics>.research-chart-grid{grid-template-columns:1fr}
  .doctor-theme .patient-analytics .research-chart-heading h3{font-size:1.125rem}
  .doctor-theme .walking-line-chart{max-height:220px}
  .doctor-theme .patient-module-bar{grid-template-columns:104px minmax(0,1fr) 60px;font-size:0.875rem;gap:15px}
  .doctor-theme .registry-section-title>span{display:none}
  .doctor-theme .process-footer{font-size:0.8125rem;gap:20px}
}
@media(max-width:680px){
  .doctor-theme .process-header{height:auto;min-height:80px;padding:16px 20px;flex-wrap:wrap;gap:15px}
  .doctor-theme .process-header .brand{flex:1}
  .doctor-theme .process-header .brand strong{font-size:1.25rem}
  .doctor-theme .process-header nav{order:3;width:100%;border-top:1px solid var(--line);padding-top:12px;gap:8px;justify-content:space-between}
  .doctor-theme .process-header nav a{flex:1;justify-content:center;font-size:0.9375rem;padding:10px 8px;gap:7px}
  .doctor-theme .process-header-right{margin-left:auto}
  .doctor-theme .research-chart-grid{grid-template-columns:1fr}
  .doctor-theme .allocation-visual{gap:35px;margin:16px 0 23px}
  .doctor-theme .research-donut{width:172px;height:172px}
  .doctor-theme .allocation-legend{min-width:140px}
  .doctor-theme .allocation-legend li{font-size:0.9375rem}
  .doctor-theme .chart-tag{display:block}
  .doctor-theme .process-main .page-heading{flex-wrap:wrap;gap:18px}
  .doctor-theme .process-main .page-heading>.btn{min-height:44px}
  .doctor-theme .doctor-progress{display:grid;grid-template-columns:1fr 1fr;gap:16px 20px}
  .doctor-theme .doctor-progress li{gap:10px}
  .doctor-theme .doctor-progress li>.icon{display:none}
  .doctor-theme .doctor-progress b{font-size:0.9375rem}
  .doctor-theme .doctor-form-footer>div{flex-wrap:wrap}
  .doctor-theme .patient-analytics>summary{flex-wrap:wrap;gap:5px 15px;padding:17px 19px}
  .doctor-theme .patient-analytics-title{flex:1;font-size:0.9375rem}
  .doctor-theme .patient-analytics-meta{order:3;width:100%;margin-left:28px;font-size:0.8125rem}
  .doctor-theme .patient-analytics>.research-chart-grid{padding:0 12px 12px;gap:12px}
  .doctor-theme .process-patient-header{flex-wrap:wrap}
  .doctor-theme .doctor-after-forms{flex-wrap:wrap}
  .doctor-theme .process-main .tabs .tab{font-size:0.9375rem}
}
@media(max-width:480px){
  .doctor-theme .process-main{padding:24px 16px 30px}
  .doctor-theme .process-header{padding:16px}
  .doctor-theme .process-header nav{gap:3px}
  .doctor-theme .process-header nav a{font-size:0.875rem;padding:10px 5px;gap:6px}
  .doctor-theme .process-header .brand strong{font-size:1.125rem}
  .doctor-theme .process-main h1{font-size:1.875rem}
  .doctor-theme .process-main .process-eyebrow{font-size:0.8125rem;letter-spacing:1.2px}
  .doctor-theme .process-main .page-heading p{font-size:0.9375rem;line-height:1.7}
  .doctor-theme .process-overview{padding:19px 16px;gap:19px 14px}
  .doctor-theme .process-overview>div{gap:9px;align-items:flex-start}
  .doctor-theme .process-overview>div>.icon{width:18px;height:18px;padding:7px;border-radius:9px}
  .doctor-theme .process-overview b{font-size:0.875rem;line-height:1.5}
  .doctor-theme .process-overview small{font-size:0.8125rem;line-height:1.5}
  .doctor-theme .research-metrics{gap:11px}
  .doctor-theme .research-metric{padding:18px 16px;position:relative;min-height:151px}
  .doctor-theme .research-metric>div>span{font-size:0.875rem;padding-right:22px;display:block;line-height:1.5}
  .doctor-theme .research-metric b{font-size:2.125rem;margin:10px 0 5px}
  .doctor-theme .research-metric small{font-size:0.8125rem;line-height:1.5;display:block}
  .doctor-theme .metric-symbol{position:absolute;right:12px;top:17px;width:25px;height:25px;border-radius:7px}
  .doctor-theme .metric-symbol .icon{width:15px;height:15px}
  .doctor-theme .research-chart{padding:21px 18px}
  .doctor-theme .research-chart-heading h3{font-size:1.125rem}
  .doctor-theme .research-chart-heading p{font-size:0.875rem}
  .doctor-theme .chart-tag{display:none}
  .doctor-theme .research-bar-row{grid-template-columns:89px minmax(0,1fr) 22px;gap:12px;font-size:0.875rem}
  .doctor-theme .research-donut{width:153px;height:153px}
  .doctor-theme .allocation-visual{gap:20px}
  .doctor-theme .allocation-legend{min-width:112px;gap:22px}
  .doctor-theme .allocation-legend li{font-size:0.875rem;gap:11px}
  .doctor-theme .allocation-legend b{font-size:1.25rem}
  .doctor-theme .allocation-legend i{width:8px;height:8px}
  .doctor-theme .registry-section-title{padding:21px 19px 0}
  .doctor-theme .registry-section-title h2{font-size:1.25rem}
  .doctor-theme .toolbar{padding:18px 19px;gap:14px}
  .doctor-theme .search-box{width:100%;min-width:0}
  .doctor-theme .search-box input{font-size:1rem}
  .doctor-theme .process-patient-title h1{font-size:2rem}
  .doctor-theme .process-patient-title .pill{font-size:0.8125rem}
  .doctor-theme .process-patient-meta{font-size:0.875rem;gap:8px 17px}
  .doctor-theme .process-patient-header>.btn{font-size:0.9375rem;min-height:43px}
  .doctor-theme .doctor-progress{gap:15px;padding:18px}
  .doctor-theme .doctor-progress b{font-size:0.875rem}
  .doctor-theme .doctor-progress li>span{width:26px;height:26px;font-size:0.8125rem}
  .doctor-theme .doctor-module-heading h2{font-size:1.875rem}
  .doctor-theme .doctor-module-heading p{font-size:0.9375rem;line-height:1.6}
  .doctor-theme .doctor-module-count>b{font-size:1.875rem}
  .doctor-theme .doctor-module-count small{font-size:1.0625rem}
  .doctor-theme .doctor-module-count>span{font-size:0.8125rem}
  .doctor-theme .doctor-forms-caption b{font-size:1rem}
  .doctor-theme .doctor-forms-caption>span{font-size:0.875rem}
  .doctor-theme .screening-outcome{padding:20px}
  .doctor-theme .screening-outcome>div{min-width:0;width:100%;gap:10px}
  .doctor-theme .screening-outcome b{font-size:1rem}
  .doctor-theme .screening-outcome p{font-size:0.9375rem}
  .doctor-theme .screening-outcome>small{font-size:0.8125rem}
  .doctor-theme .screening-outcome>.btn{width:100%;font-size:0.9375rem;min-height:44px}
  .doctor-theme .doctor-form-toggle{padding:19px 16px;gap:11px}
  .doctor-theme .doctor-form-name>b{font-size:1rem}
  .doctor-theme .doctor-form-name>small{font-size:0.8125rem}
  .doctor-theme .doctor-form-order{width:29px;height:33px;font-size:0.8125rem}
  .doctor-theme .doctor-form-body{padding:23px 18px}
  .doctor-theme .doctor-form-description{font-size:0.9375rem}
  .doctor-theme .doctor-form-body .field-grid{gap:24px}
  .doctor-theme .doctor-form-body .field-label{font-size:0.9375rem}
  .doctor-theme .doctor-form-body .radio-option{font-size:0.9375rem;padding:10px 13px}
  .doctor-theme .doctor-form-body .form-section{font-size:1.125rem}
  .doctor-theme .doctor-form-footer>div{width:100%;justify-content:flex-start;gap:10px}
  .doctor-theme .doctor-form-footer .btn{font-size:0.9375rem;min-height:44px;white-space:normal}
  .doctor-theme .doctor-form-footer>.save-state{font-size:0.8125rem}
  .doctor-theme .allocation-title{padding:17px 19px;flex-wrap:wrap}
  .doctor-theme .allocation-title h3{font-size:1rem}
  .doctor-theme .allocation-title .pill{font-size:0.8125rem;margin-left:0}
  .doctor-theme .allocation-fields{grid-template-columns:1fr 1fr;padding:21px 19px;gap:22px 16px}
  .doctor-theme .allocation-fields span{font-size:0.8125rem}
  .doctor-theme .allocation-fields b{font-size:1.125rem}
  .doctor-theme .allocation-actions{padding:18px 19px}
  .doctor-theme .allocation-actions .btn{width:100%;font-size:0.9375rem;white-space:normal}
  .doctor-theme .dispensing-records{padding:0 19px 20px}
  .doctor-theme .dispensing-records>span{font-size:0.8125rem}
  .doctor-theme .visit-context{font-size:0.9375rem;padding:16px}
  .doctor-theme .visit-context .visit-material{font-size:0.875rem;margin:0;width:100%}
  .doctor-theme .doctor-locked{padding:28px 20px}
  .doctor-theme .doctor-locked h3{font-size:1.125rem}
  .doctor-theme .doctor-locked p{font-size:0.9375rem}
  .doctor-theme .blocked-form-list{grid-template-columns:1fr}
  .doctor-theme .doctor-after-forms{font-size:0.875rem}
  .doctor-theme .doctor-next{padding:20px}
  .doctor-theme .doctor-next .btn{font-size:0.9375rem;width:100%;white-space:normal}
  .doctor-theme .patient-analytics .research-chart{padding:20px 16px}
  .doctor-theme .patient-analytics .research-chart-heading h3{font-size:1.125rem}
  .doctor-theme .patient-module-bar{grid-template-columns:83px minmax(0,1fr) 49px;gap:9px;font-size:0.8125rem}
  .doctor-theme .patient-module-bar>b{font-size:0.875rem}
  .doctor-theme .patient-module-bar small{font-size:0.8125rem}
  .doctor-theme .stacked-legend{gap:10px 14px;font-size:0.8125rem}
  .doctor-theme .module-completion-chart .stacked-legend{gap:9px 17px;font-size:0.8125rem}
  .doctor-theme .pain-buttons{gap:4px;flex-wrap:wrap;justify-content:flex-start}
  .doctor-theme .pain-buttons button{width:36px;height:38px;font-size:0.9375rem}
  .doctor-theme .process-footer{font-size:0.8125rem;gap:12px;flex-direction:column;align-items:flex-start}
  .doctor-theme .process-footer span{max-width:none}
  .doctor-theme .modal-head h2{font-size:1.375rem}
  .doctor-theme .modal-head p{font-size:0.875rem}
  .doctor-theme .modal-body{padding:23px 20px}
  .doctor-theme .modal-footer{flex-wrap:wrap}
}
@media(max-width:360px){
  .doctor-theme .process-overview>div{flex-direction:column}
  .doctor-theme .research-donut{width:128px;height:128px}
  .doctor-theme .research-donut b{font-size:2rem}
  .doctor-theme .research-donut>div>span{font-size:0.8125rem}
  .doctor-theme .allocation-visual{gap:12px}
  .doctor-theme .allocation-legend{min-width:105px}
}
@media(prefers-reduced-motion:reduce){.doctor-theme *{transition:none!important;scroll-behavior:auto!important}}
