
*{box-sizing:border-box}body{margin:0;background:#f1f2f3;color:#202124;font:15px/1.55 "BIZ UDPGothic","Yu Gothic",sans-serif}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}a{color:inherit}.review{background:#fff;border-bottom:1px solid #bfc4c8;padding:18px 24px}.review h1{font-size:22px;margin:0 0 6px}.review p{margin:4px 0;color:#535b62}.review-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px}.review-controls select,.review-controls button{border:1px solid #78828a;background:white;border-radius:3px;padding:10px}.review-controls button.active{background:#252b30;color:white}.review select{max-width:420px}.review-note{max-width:1440px;margin:18px auto;padding:0 20px}.review-note h2{font-size:20px;margin:0}.review-note ul{margin:6px 0}.preview-wrap{margin:20px auto 35px;padding:0 18px;max-width:1500px}.preview-slot{position:relative;margin:auto}.product{background:#fff;transform-origin:top left;font-size:16px;line-height:1.55;color:#202124}.product.patient{width:390px;border:1px solid #7e858a;border-radius:16px;overflow:hidden}.phone-head{padding:16px 18px;border-bottom:1px solid #9ba1a6;display:flex;justify-content:space-between;gap:10px;align-items:center}.phone-head strong{font-size:17px}.language{font-size:12px;padding:7px 9px;border:1px solid #777;background:white;border-radius:3px;white-space:nowrap}.phone-progress{font-size:12px;padding:8px 20px;background:#f0f1f2;border-bottom:1px solid #d0d4d7}.phone-main{padding:20px}.product h2{font-size:23px;line-height:1.4;margin:0 0 18px}.product h3{font-size:17px;line-height:1.45;margin:0 0 12px}.product p{margin:0 0 14px}.product ul,.product ol{padding-left:23px}.w-field{display:block;margin-bottom:18px}.field-label{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:bold;margin-bottom:7px;flex-wrap:wrap}.required,.optional{font-size:11px;font-weight:normal;padding:1px 5px;border:1px solid #8d9398}.optional{color:#636b70;border-color:#c0c4c7}.w-field input,.w-field select,.w-field textarea{display:block;width:100%;max-width:100%;border:1px solid #7f878e;background:#fff;border-radius:3px;padding:11px 10px;min-height:46px;color:#202124;outline-offset:2px}.w-field input[type=date],.w-field input[type=datetime-local]{min-width:0}.w-field textarea{resize:vertical;min-height:90px}.hint{display:block;font-size:13px;line-height:1.5;color:#5b6268;margin-top:6px}.w-button{display:block;width:100%;min-height:46px;border:1px solid #30373d;border-radius:3px;padding:11px 12px;margin:10px 0;background:#30373d;color:#fff;text-align:center;font-weight:bold;line-height:1.45}.w-button.secondary{color:#252a2e;background:#fff}.w-button.text{border:0;background:transparent;color:#252a2e;text-decoration:underline;font-weight:normal}.w-button.small{display:inline-block;width:auto;min-height:38px;white-space:normal;padding:7px 10px;font-size:14px;margin:3px;background:white;color:#252a2e;font-weight:normal}.w-button.review-link{border-style:dashed;background:#f3f3f3;color:#555;font-size:13px;font-weight:normal}.w-check{display:flex;align-items:flex-start;gap:10px;margin:17px 0}.w-check input{width:21px;height:21px;flex:0 0 21px;margin-top:3px}.w-panel{padding:16px;border:1px solid #a9b0b5;margin-bottom:18px;background:#fff}.w-panel p:last-child{margin-bottom:0}.w-kv{margin:0 0 12px}.w-kv>div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #e0e2e3;padding:9px 0}.w-kv dt{font-size:13px;color:#5a6268;max-width:43%}.w-kv dd{margin:0;text-align:right;overflow-wrap:anywhere;max-width:65%}.w-total{border-top:2px solid #606a72;padding-top:12px;margin-top:14px;display:flex;justify-content:space-between;align-items:center;gap:10px}.w-total strong{font-size:25px;white-space:nowrap}.w-total span{font-size:14px}.w-tablewrap{max-width:100%;overflow-x:auto;margin-bottom:12px}.product table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.5}.product th,.product td{text-align:left;vertical-align:top;padding:10px 8px;border-bottom:1px solid #b7bec3;overflow-wrap:anywhere}.product th{background:#edefef;font-weight:bold}.w-chip{display:inline-block;border:1px solid #777e84;padding:3px 6px;border-radius:2px;white-space:nowrap;font-size:12px}.phone-footer{padding:15px 20px;background:#f4f5f5;border-top:1px solid #b6bdc2;font-size:13px}.patient .billing-costs td:last-child{white-space:nowrap}.patient .w-button.small{min-height:44px}.phone-footer button{border:0;background:none;text-decoration:underline;padding:7px 0;text-align:left;display:block;font:inherit;min-height:44px}.slots{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 20px}.w-slot{min-height:48px;background:white;border:1px solid #777;border-radius:3px}.w-slot.selected{border:2px solid #252a2e;background:#e4e7e9;font-weight:bold}.w-upload{height:150px;border:1px dashed #777;background:#f3f4f4;display:flex;flex-direction:column;justify-content:center;text-align:center;margin-bottom:18px}.notice{padding:14px;border:1px solid #777;background:#f3f4f5;margin-bottom:18px}.notice strong{display:block;margin-bottom:5px}.notice p{margin:0;font-size:14px}.error-only,.pending-only{display:none}.state-error .error-only,.state-pending .pending-only{display:block}.state-error .normal-only,.state-pending .normal-only{display:none}.state-error .notice.error-only{border:2px solid #944b4b;background:#fff5f5}.field-error{color:#8e3030;font-size:13px;margin:7px 0}.state-error [data-invalid]{border:2px solid #944b4b}.state-error .w-slot.selected{border:2px dashed #944b4b}.product.ops{width:1440px;min-height:900px;border:1px solid #7f878d}.ops-top{height:64px;border-bottom:1px solid #939ca3;display:flex;justify-content:space-between;align-items:center;padding:0 24px;background:#eceff0}.ops-top strong{font-size:21px}.ops-top span{font-size:14px}.ops-layout{display:grid;grid-template-columns:180px 1fr;min-height:835px}.ops-nav{padding:24px 12px;background:#f1f3f4;border-right:1px solid #a5afb6}.ops-nav button{display:block;width:100%;border:0;background:transparent;text-align:left;padding:13px 9px;margin-bottom:3px;font-size:14px}.ops-nav button.sel{border:1px solid #89949c;background:white;font-weight:bold}.ops-main{padding:26px;min-width:0}.ops-title{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.ops-title h2{margin:0}.ops-title p{font-size:13px;color:#656d74;margin:8px 0 0}.ops-title button{width:auto;margin:0}.w-two{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:22px}.w-formgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.w-formgrid .w-field{margin-bottom:0}.ops .w-button{max-width:100%}.ops .w-field{margin-bottom:16px}.ops .w-panel{padding:19px}.ops .w-kv>div{padding:9px 0}.ops .notice{margin-bottom:22px}.ops .w-formgrid{margin-bottom:18px}.ops .w-tablewrap{margin-top:12px}.ops .w-button.secondary,.ops .w-button.primary{width:auto;display:inline-block;padding-left:20px;padding-right:20px;margin-right:10px}.ops .w-button.text{width:auto}.ops p{font-size:15px}.ops .w-field select,.ops .w-field input{min-height:44px}.review-toast{position:fixed;right:20px;bottom:20px;max-width:380px;background:#222;color:white;padding:16px;z-index:20;border-radius:4px}.review-toast[hidden]{display:none}dialog{max-width:520px;width:calc(100% - 40px);border:1px solid #555;padding:24px;font:16px/1.7 "Yu Gothic",sans-serif}dialog::backdrop{background:#0005}dialog button{padding:10px 18px;background:white;border:1px solid #555}.export .review,.export .review-note{display:none}.export .preview-wrap{padding:0;margin:0;max-width:none}.export .preview-slot{margin:0}.export .product{border-radius:0;transform:none!important}.export .review-link{display:none}.export .phone-footer{font-size:13px}

/* v0.12 shared state and action UI; state labels never acquire button semantics. */
.product{--ui-ink:#283c49;--ui-line:#8b99a3;--ui-radius:6px;--ui-button-h:44px;--ui-button-size:14px}
.product .w-button{min-height:var(--ui-button-h);box-sizing:border-box;border:1px solid var(--ui-ink);border-radius:var(--ui-radius);font-size:var(--ui-button-size);font-weight:700;line-height:1.5;padding:10px 16px;margin:12px 0;color:white;background:var(--ui-ink);text-align:center;vertical-align:middle;cursor:pointer;transition:background .12s}
.product .w-button.secondary,.product .w-button.small{border-color:var(--ui-line);background:#fff;color:var(--ui-ink);font-weight:700}
.product .w-button.small{display:inline-flex;align-items:center;justify-content:center;width:104px;min-height:44px;padding:10px 8px;margin:0;font-size:13px}
.product .w-button.text{border-color:transparent;background:transparent;color:var(--ui-ink);text-decoration:underline;text-underline-offset:3px;font-weight:400}
.product .w-button:disabled{opacity:1;background:#e7ebee;border-color:#c8d0d5;color:#59646c;cursor:not-allowed}
.product .w-button.text:disabled{background:transparent;border-color:transparent;color:#6e7780}
.product .w-button:not(:disabled):hover{filter:brightness(.96)}
.product button:focus-visible{outline:3px solid #2574ae;outline-offset:3px}
.product .w-button.review-link{border-style:dashed;background:#f4f5f6;color:#535f68;font-size:13px;font-weight:400}
.product .w-chip{display:inline-flex;align-items:center;gap:4px;min-height:28px;max-width:100%;padding:4px 6px;border:0;border-radius:999px;background:#eef1f3;color:#485761;font-size:12px;font-weight:700;line-height:20px;white-space:normal;overflow-wrap:anywhere;cursor:default;vertical-align:middle;box-shadow:none}
.product .w-chip::before{content:"";width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:currentColor}
.product .w-chip[data-tone="pending"]{background:#eaf2fb;color:#225984}
.product .w-chip[data-tone="complete"]{background:#e8f3ed;color:#216345}
.product .w-chip[data-tone="attention"]{background:#fff2db;color:#7b4b00}
.product .w-chip[data-tone="error"]{background:#fbeceb;color:#943c36}
.product .w-chip[data-tone="neutral"]{background:#eef1f3;color:#485761}
.product td.ui-state-cell,.product td.ui-action-cell{vertical-align:middle}
.product .ui-action-cell .w-button{display:inline-flex;align-items:center;justify-content:center;width:104px;min-height:44px;margin:0;padding:10px 8px;font-size:13px}
.product .ui-action-note{display:block;color:#596670;font-size:12px;line-height:1.6}
.patient .ui-task-table{table-layout:fixed;width:100%}
.patient .ui-task-table th:nth-child(1){width:40%}
.patient .ui-task-table th:nth-child(2){width:25%}
.patient .ui-task-table th:nth-child(3){width:35%}
.patient .ui-task-table td{padding:12px 6px}
.patient .ui-task-table th{padding:10px 6px;font-size:13px;white-space:nowrap}
.patient .ui-task-table .ui-action-cell .w-button{width:100%}
.patient .ui-task-table .w-chip{white-space:nowrap}
.ops .ui-action-cell{min-width:128px}
.product .phone-footer button{min-height:44px;border-radius:var(--ui-radius);color:var(--ui-ink);text-underline-offset:3px}
#dialog-close{min-height:44px;padding:10px 16px;border:1px solid #8b99a3;border-radius:6px;color:#283c49;background:#fff;font-size:14px;font-weight:700}

/* v0.12 M02 board. The complete card is a keyboard-accessible detail link button. */
.kanban-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start}
.ops .kanban-filters .w-field{margin-bottom:0}
.kanban-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 0}
.kanban-toolbar p{font-size:14px;font-weight:700;color:#43545f;margin:0}
.ops .board-guide{margin:0 0 8px}
.ops #board-source{font-size:12px;margin:0 0 14px}
.kanban-board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;align-items:stretch;min-height:490px}
.kanban-lane{min-width:0;border:1px solid #d6dfe5;border-radius:8px;background:#f3f6f8;overflow:hidden}
.ops .kanban-lane h3{display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:64px;margin:0;padding:12px 8px;font-size:13px;line-height:1.6;color:#283c49;border-bottom:1px solid #d6dfe5}
.kanban-lane:last-child h3{background:#fff3dd;color:#744a0e}
.kanban-count{display:inline-flex;align-items:center;justify-content:center;flex:0 0 23px;height:23px;border-radius:50%;background:#fff;font-size:12px;color:#43545f}
.kanban-stack{padding:8px;display:flex;flex-direction:column;gap:10px}
.kanban-card{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-height:44px;width:100%;padding:12px 10px;background:#fff;border:1px solid #b5c2cc;border-radius:6px;color:#283c49;text-align:left;font:13px/1.55 "BIZ UDPGothic","Yu Gothic",sans-serif;overflow-wrap:anywhere;cursor:pointer;box-shadow:0 1px 3px #2637440d}
.kanban-card:hover{border-color:#496e8c;background:#fafdff;box-shadow:0 2px 6px #26374420}
.kanban-card:active{background:#edf4f8}
.kanban-case-id{font-size:14px;font-weight:700;display:flex;justify-content:space-between;gap:4px}
.kanban-card .w-chip{align-self:flex-start;font-size:11px;line-height:18px;min-height:26px}
.kanban-time,.kanban-language,.kanban-origin{font-size:11px;color:#566774}
.kanban-issue{font-size:13px;font-weight:700;min-height:40px}
.kanban-owner{font-size:12px;border-top:1px solid #e5ebef;padding-top:8px}
.kanban-deadline{font-size:12px;color:#566774}
.kanban-deadline.is-overdue{color:#943c36;font-weight:700}
.kanban-open{font-size:12px;font-weight:700;color:#285879;padding-top:2px}
.ops .kanban-empty{font-size:12px;color:#60717d;line-height:1.7;margin:8px 0}

.kanban-toolbar>div{display:flex;align-items:center;gap:12px}.ops .kanban-toolbar .w-button{display:inline-flex;align-items:center;justify-content:center;margin:8px 0;width:auto}

/* M02 drag-and-drop management status */
.kanban-card[draggable="true"]{cursor:grab}.kanban-card[draggable="true"]:active{cursor:grabbing}.kanban-card.is-dragging{opacity:.48;border-style:dashed}
.kanban-lane{transition:background .12s,border-color .12s}.kanban-lane.is-drop-target{border:2px solid #2574ae;background:#e8f2fc}.kanban-lane.is-drop-target h3{background:#dbeafa}
.kanban-card .kanban-managed{color:#346283;font-size:11px}.kanban-card .kanban-condition{font-size:11px;color:#7b4b00;background:#fff4e0;border-radius:4px;padding:6px}
.ops .board-feedback{font-size:13px;line-height:1.6;color:#285879;margin:8px 0}.board-feedback:empty{display:none}
.ops #board-storage{font-size:12px;margin:4px 0 8px;color:#596670}.ops .board-conditions{font-size:13px;color:#7b4b00;background:#fff4e0;padding:10px;border-radius:6px}
.board-log{font-size:12px;line-height:1.7;padding-left:20px;color:#596670}.board-log li{margin-bottom:8px}
.ops .kanban-toolbar{gap:12px;flex-wrap:wrap}.ops .kanban-toolbar>div{flex-wrap:wrap}.ops .kanban-toolbar [data-board-undo]{font-size:13px}
#board-move-dialog{border:1px solid #8b99a3;border-radius:8px}#board-move-dialog select{width:100%;min-height:44px;border:1px solid #8b99a3;border-radius:6px;padding:8px}
.board-dialog-actions{display:flex;gap:12px}.board-dialog-actions button{min-height:44px;border-radius:6px;padding:10px 16px;border:1px solid #8b99a3;color:#283c49;background:white}.board-dialog-actions #board-move-apply{background:#283c49;color:white}.board-dialog-actions button:focus-visible{outline:3px solid #2574ae;outline-offset:3px}

.clinical{width:1440px;min-height:900px}.clinical .ops-top{background:#e9f2f1}.clinical .ops-nav{background:#f0f6f5}.clinical-patient-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #b9d3cf;background:#f2f8f7;padding:12px 16px;margin-bottom:20px;font-size:13px}.clinical-patient-banner span{color:#526b67}.clinical-workspace{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:22px}.clinical textarea{min-height:78px}.clinical #clinical-med-fields[hidden]{display:none}.clinical .clinical-history{font-size:13px;padding-left:22px}.clinical .clinical-history li{padding:10px 0;border-bottom:1px solid #d0d9de}.clinical .clinical-history p{font-size:13px;margin:4px 0}.clinical-meta{font-size:11px;color:#37685c}.clinical input:read-only,.clinical textarea:read-only{background:#f3f5f6;color:#4d5c65}.clinical .w-tablewrap table{width:100%}

.product.ops .u-main{padding:24px 28px;min-height:800px}.u-topnav{display:flex;align-items:center;gap:12px;padding:10px 28px;border-bottom:1px solid #c5cdd2;background:#f7f9fa}.u-topnav .w-button,.u-actions .w-button,.u-tabs .w-button,.ops-title .w-button,.u-switch .w-button{display:inline-flex;width:auto;min-width:96px;align-items:center;justify-content:center;margin:0 5px 0 0}.u-auto{margin-left:auto;color:#50626e;font-size:13px}.u-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0}.u-metrics>div{padding:16px 20px;border:1px solid #c8d1d7;background:#f7f9fa;border-radius:6px;display:flex;align-items:center;justify-content:space-between}.u-metrics strong{font-size:25px}.u-metrics span{color:#52616d;font-size:14px}.u-tools{display:flex;align-items:end;gap:18px;margin:18px 0}.u-tools label{font-size:13px;display:grid;gap:5px}.u-tools input,.u-tools select{padding:10px;border:1px solid #96a6b1;border-radius:5px;min-height:44px;width:260px}.u-switch{margin-left:auto}.u-actions{display:flex;gap:5px;flex-wrap:wrap}.u-actions .w-button{font-size:13px;min-width:78px;margin-bottom:5px}.u-list small{display:block;font-size:12px;color:#596a75;margin-top:5px}.u-list th:nth-child(1){width:16%}.u-list th:nth-child(2){width:13%}.u-list th:nth-child(3){width:12%}.u-list th:nth-child(4){width:28%}.u-list th:nth-child(5){width:31%}.u-status{display:inline-flex;white-space:normal;border-radius:20px;padding:5px 10px;font-size:13px;background:#eaf2f8;color:#1c5577}.u-status.warn{background:#fff2d7;color:#805600}.u-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.u-casehead{display:flex;align-items:center;gap:20px;margin:16px 0}.u-tabs{display:flex;gap:7px;margin:18px 0 22px}.u-board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;align-items:stretch}.u-lane{min-width:0;background:#f1f4f6;border:1px solid #c9d1d7;padding:10px 8px;border-radius:6px;min-height:310px}.u-lane h3{font-size:14px;display:flex;justify-content:space-between}.u-card{display:grid;gap:6px;background:#fff;border:1px solid #abb9c3;border-radius:5px;padding:12px 10px;margin:12px 0;cursor:pointer;font-size:13px}.u-card>span{font-size:12px}.u-card p{font-size:12px;margin:0}.u-card[draggable=true]{cursor:grab;border-left:4px solid #a97a22}.u-dropbar{display:flex;align-items:center;gap:15px;margin-top:18px;padding:15px;background:#fff9ed;border:1px solid #d4b577}.u-drop{padding:14px 30px;background:#fff;border:1px dashed #aa8540;border-radius:5px}.u-warning,.u-freeze{padding:14px;background:#fff5df;border:1px solid #c59537;border-radius:5px}.u-feedback{padding:13px;background:#eaf3ee;border:1px solid #74a286;margin-top:16px}.u-empty{padding:25px}.ops-title>span{display:flex;flex-wrap:wrap;gap:3px}.ops-title>span .w-button{min-width:65px;font-size:13px}.review .demo-results{padding:10px;background:#edf4f6;margin-top:10px;font-size:13px}.review-controls .demo-only{border:1px dashed #8e9ca7;padding:5px}.u-clinical-note{color:#5c6973;font-size:13px}

.c-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.c-actions .w-button{width:auto;min-width:120px;margin:0}.c-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.c-fields .w-field{min-width:0}.c-steps{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.c-steps>span{padding:9px 14px;border:1px solid #bdc8d1;border-radius:5px;background:#f3f5f7}.c-statusline{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin:14px 0}.c-help{background:#f4f7fa;padding:12px 16px;border-left:4px solid #7991a4;margin:12px 0}.c-message{padding:12px;border:1px solid #96ad9c;background:#eff7f1;margin:12px 0}.c-message.error{border-color:#b96058;background:#fff1ef}.c-errors{color:#983a32;margin:10px 0}.c-modal{max-width:700px;width:calc(100vw - 80px);border:1px solid #9aaab4;border-radius:8px;padding:24px}.c-modal::backdrop{background:#17304466}.c-modal .c-actions .w-button{min-width:120px}.clinical details{margin:15px 0}.clinical details summary{cursor:pointer;padding:10px;background:#eef3f6}.clinical textarea{resize:vertical}.c-record{white-space:pre-wrap;overflow-wrap:anywhere}.c-state-badge{display:inline-block;font-size:12px;margin-top:7px;padding:4px 9px;border:1px solid #c5d1d9;background:#f2f6f9;border-radius:12px}.clinical .w-field input[readonly],.clinical textarea[readonly]{background:#f3f5f6}

.c-rx-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:18px}.c-rx-row,.c-dx-row{border:1px solid #b9c9d3;padding:15px;border-radius:5px;margin:12px 0;background:#fbfcfd}.c-rx-row h4,.c-dx-row h4{margin:0 0 12px}.c-rx-row .c-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.c-inline{display:flex;gap:8px;align-items:center;margin:12px 0}.c-inline input{width:18px;min-height:18px}.c-dx-row .c-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.clinical .u-two .w-field{min-width:0}.clinical .c-fields input,.clinical .c-fields select{max-width:100%;min-width:0;box-sizing:border-box}.clinical .w-kv dd{overflow-wrap:anywhere}.c-manual{font-size:12px;color:#516a7a}

[hidden]{display:none!important}.review-settings{margin:10px 18px;border:1px solid #c9d3da;border-radius:6px;background:#fff}.review-settings>summary{padding:9px 14px;font-size:13px;cursor:pointer;color:#526775}.review-settings .review{margin:0;border:0}.doctor-focus .review-note{display:none}.doctor-focus .review-settings[open]+.review-note{display:block}.doctor-focus .preview-wrap{padding-top:6px}.doctor-focus .preview-slot{box-shadow:0 4px 24px #18344812}.doctor-focus .product.ops{background:#edf2f6;min-height:0}.dx-workspace{color:#22394a;font-size:14px}.dx-patientbar{display:flex;justify-content:space-between;align-items:center;padding:15px 22px;background:#fff;border-bottom:1px solid #c6d2dc;gap:15px}.dx-eyebrow{font-size:11px;color:#587184;letter-spacing:.08em}.dx-patientbar h2{font-size:22px;margin:1px 0;line-height:1.4}.dx-patientbar p{font-size:12px;color:#647584;margin:3px 0}.dx-header-actions{display:flex;gap:8px}.dx-workspace .w-button{width:auto;min-width:90px;margin:0;padding:9px 14px;min-height:40px;border-radius:6px}.dx-workspace .w-button.primary{background:#245b79;border-color:#245b79}.dx-workspace .w-button:focus-visible,.dx-tabs button:focus-visible,.dx-workspace input:focus-visible,.dx-workspace textarea:focus-visible,.dx-workspace select:focus-visible{outline:3px solid #71a6c5;outline-offset:2px}.dx-layout{display:grid;grid-template-columns:258px minmax(0,1fr);gap:16px;padding:16px}.dx-sidebar{background:#fff;border:1px solid #cad5df;border-radius:8px;overflow:auto;max-height:calc(100vh - 195px)}.dx-sidebar section{padding:15px;border-bottom:1px solid #e3eaf0}.dx-sidebar h3{font-size:13px;margin:0 0 10px}.dx-sidebar .w-kv{font-size:12px}.dx-sidebar .w-kv>div{display:block;padding:5px 0;border:0}.dx-sidebar .w-kv dt{font-size:11px;color:#657b8d}.dx-sidebar .w-kv dd{margin:2px 0;overflow-wrap:anywhere}.dx-sidebar blockquote{margin:0;padding:9px;background:#f4f7fa;font-size:13px}.dx-sidebar .dx-small{font-size:11px;color:#667b8b}.dx-small p{margin:0 0 8px}.dx-editor{min-width:0;background:#fff;border:1px solid #c4d2dd;border-radius:8px;overflow:hidden;display:flex;flex-direction:column}.dx-tabs{display:flex;gap:4px;padding:10px 14px 0;background:#f7f9fb;border-bottom:1px solid #c7d4df}.dx-tabs button{background:transparent;border:0;border-bottom:3px solid transparent;padding:12px 18px;font-size:14px;color:#5a7182;cursor:pointer;min-height:45px}.dx-tabs button[aria-selected=true]{background:#fff;color:#174c6d;font-weight:700;border-bottom-color:#245b79}.dx-scroll{height:calc(100vh - 300px);min-height:470px;max-height:850px;overflow:auto;scroll-behavior:smooth;padding:16px 20px}.dx-card{margin:0 0 16px;padding:16px;border:1px solid #d5dfe7;border-radius:7px;background:#fff}.dx-card h3{font-size:15px;margin:0 0 13px}.dx-card>summary{cursor:pointer;font-size:14px;font-weight:600}.dx-detail[open]>summary{margin-bottom:16px}.dx-workspace .w-field{display:flex;flex-direction:column;gap:5px;margin-bottom:12px;min-width:0}.dx-workspace .field-label{font-size:12px;font-weight:600;color:#425d70}.dx-workspace input,.dx-workspace select,.dx-workspace textarea{box-sizing:border-box;min-width:0;width:100%;font:inherit;color:#213d50;border:1px solid #aabcc9;border-radius:5px;padding:8px 10px;background:#fff;min-height:39px}.dx-workspace textarea{line-height:1.6;resize:vertical}.dx-workspace textarea[data-bind^="draft."]{min-height:116px}.dx-workspace .u-two{gap:12px}.dx-workspace .c-fields{gap:10px}.dx-workspace .hint{font-size:11px;color:#657b8b;line-height:1.7;margin:8px 0}.dx-workspace [aria-invalid=true]{border-color:#b24a43;background:#fff8f7}.dx-workspace :disabled{cursor:not-allowed;background:#f0f3f5;color:#788995}.dx-workspace input[readonly],.dx-workspace textarea[readonly]{background:#f3f6f8}.dx-savebar{position:sticky;bottom:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #c7d6e0;background:#f7fafc;padding:12px 20px}.dx-savebar>div:first-child{display:grid;gap:3px}.dx-savebar strong{font-size:13px}.dx-savebar span{font-size:11px;color:#617989}.dx-savebar .c-actions{margin:0;gap:8px}.dx-feedback{margin:12px 18px 0;padding:10px 14px;border-radius:5px;background:#eff7f2;border:1px solid #b0cbb9}.dx-feedback.error{background:#fff2ef;border-color:#ce9288}.dx-issues{background:#fff8e8;border:1px solid #d8bf81;padding:12px;border-radius:5px;margin:0 0 16px}.dx-issues h4{margin:0 0 8px}.dx-issues button{display:block;border:0;background:none;text-align:left;color:#80571c;text-decoration:underline;padding:5px 0;font-size:13px;cursor:pointer}.dx-checks{margin:18px 0}.dx-checks .w-check{align-items:start;margin:12px 0;font-size:13px}.dx-checks input{width:18px;min-height:18px;flex-shrink:0;margin-top:3px}.dx-risk-chip{display:inline-block;font-size:11px;border-radius:4px;padding:3px 7px;background:#fff1d6;color:#835a1e;margin:3px 0}.dx-risk-chip.complete{background:#e8f3ee;color:#2b6750}.dx-summary{display:grid;gap:5px;font-size:12px;margin:12px 0}.dx-order-row{border:1px solid #cddae4;border-radius:7px;padding:13px;margin:12px 0}.dx-order-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.dx-order-head h4{font-size:14px;margin:0}.dx-order-head small{display:block;color:#698193;font-size:11px}.dx-order-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dx-order-grid .wide{grid-column:span 2}.dx-workspace .dx-minor{min-width:0;padding:7px 10px;font-size:12px}.dx-advanced{font-size:12px;margin-top:8px}.dx-advanced summary{cursor:pointer;color:#59768c;padding:6px 0}.dx-formulary-hint{font-size:11px;padding:9px;background:#f1f5f8;color:#5b7485;border-radius:5px}.dx-finder{max-width:600px}.dx-finder input{width:100%;padding:10px;box-sizing:border-box;margin:10px 0}.dx-finder .dx-choice{display:block;text-align:left;width:100%;padding:12px;border:1px solid #c8d5df;background:#fff;border-radius:5px;margin:8px 0}.dx-finder small{display:block;color:#607b8f}.dx-workspace .w-kv{font-size:13px}.dx-workspace .w-kv>div{padding:7px 0}.dx-workspace #dx-full-preview>summary{cursor:pointer;font-size:13px;padding:10px;background:#f3f6f8}.dx-workspace .c-actions{flex-wrap:wrap}.dx-workspace .c-inline input{width:18px;min-height:18px;flex-shrink:0}.dx-workspace #dx-feedback:empty{display:none}

.mv-dx-table{width:100%;border-collapse:collapse;font-size:13px}.mv-dx-table th,.mv-dx-table td{border-bottom:1px solid #dbe4eb;padding:7px;vertical-align:middle}.mv-dx-table th{font-size:11px;color:#627c8f;text-align:left;background:#f5f8fa}.mv-dx-table th:first-child{width:32%}.mv-dx-table input,.mv-dx-table select{min-height:35px;padding:5px;font-size:12px}.mv-dx-table .dx-minor{min-width:0}.mv-dx-name{display:block;font-weight:600;margin-bottom:4px}.mv-search{position:relative;margin-bottom:12px}.mv-options{border:1px solid #9bb5c8;border-radius:5px;background:#fff;max-height:190px;overflow:auto;padding:4px;margin-top:4px}.mv-options button{display:block;width:100%;padding:9px;text-align:left;border:0;background:#fff;cursor:pointer;color:#24475d}.mv-options button[aria-selected=true]{background:#e6f1f8}.mv-search-note{font-size:11px;color:#687f90;margin:5px 0}.mv-rp{border:1px solid #c3d2de;border-radius:6px;margin:12px 0;overflow:hidden}.mv-rp-heading{display:grid;grid-template-columns:140px minmax(180px,1fr) 115px 110px;gap:8px;background:#eff5f9;padding:11px}.mv-rp .mv-drug{display:grid;grid-template-columns:minmax(220px,1fr) 130px 95px 85px;gap:9px;align-items:center;padding:11px;border-top:1px solid #dce6ed}.mv-drug small{font-size:11px;color:#617d91}.mv-rp .c-actions{padding:0 11px 10px;margin:8px 0}.mv-drug-detail{padding:0 11px 10px;border-bottom:1px solid #e3ebf0}.mv-drug-detail summary{font-size:12px;color:#5a7588;cursor:pointer}.mv-rp input[type=checkbox]{width:18px;min-height:18px}.dx-workspace textarea[data-bind=findings]{min-height:190px}.mv-rp .field-label{font-size:11px}.mv-rp .w-field{margin:0}

.mv-dx-table th:first-child{width:36%}.mv-dx-table th{background:transparent;font-weight:500}.mv-dx-table td{padding:8px 7px}.mv-dx-table th:nth-child(2),.mv-dx-table th:nth-child(4){width:150px}.mv-dx-table input{max-width:150px}.mv-dx-table select{max-width:110px}.mv-dx-table .w-button{display:inline-flex;width:auto;min-width:0;padding:5px 8px;margin:3px 4px 0 0}.mv-dx-name{margin:0 0 3px}.mv-search{max-width:520px}.mv-search .field-label{font-size:12px}.mv-search input{min-height:38px}.mv-dx-table [hidden]{display:none!important}

.dx-card.dx-detail>h4{font-size:14px;margin:0 0 12px;color:#23445a}#dx-full-preview>h4{font-size:13px;margin:18px 0 10px}.mv-drug-detail>h4{font-size:12px;font-weight:500;color:#5a7588;margin:10px 0 8px}.dx-workspace section.dx-detail{padding:16px}
.review-note{display:none}.review-settings[open]+.review-note{display:block}.u-single{max-width:960px}.u-feedback.u-error{background:#fff1f0;border-color:#c47070;color:#852d2d}