/* Visual layer only: the booking and clinical state machines remain unchanged. */
:root{--care-ink:#192f42;--care-accent:#ad482c;--care-paper:#f7f5ef;--care-line:#d9ddd9;--care-muted:#58656e;--care-soft:#ede9e0;--care-font:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI','Noto Sans JP','PingFang SC','PingFang TC','Microsoft YaHei',sans-serif}
body{background:var(--care-paper);color:var(--care-ink);font-family:var(--care-font);-webkit-font-smoothing:antialiased}
button,input,select,textarea{font-family:inherit}
.demo-site-header{max-width:1440px;margin:auto;padding:23px 32px;background:transparent;border-bottom:1px solid var(--care-line)}
.demo-site-header a{display:flex;align-items:center;gap:11px;color:var(--care-ink);font-size:21px;letter-spacing:-.045em;line-height:1.2}
.demo-site-header a::before{content:'';width:36px;height:36px;flex:0 0 36px;background:url('./favicon.svg') center/contain no-repeat}
.demo-site-header>span{color:#79552b;background:#eee5d3;border:1px solid #e4d6b9;border-radius:6px;letter-spacing:.04em;padding:6px 10px;font-size:11px}
.demo-site-notice{max-width:1016px;border:1px solid #e4d6b9;background:#fbf6e9;color:#6c522a;line-height:1.7;border-radius:10px;padding:12px 17px;margin:18px auto 10px;font-size:12px}
.review-settings{max-width:1016px;margin:10px auto;background:transparent;border:0;border-bottom:1px solid var(--care-line);border-radius:0;padding:0}
.review-settings>summary{padding:9px 2px;font-size:12px;color:var(--care-muted)}
.review-settings[open]{background:white;padding:8px 16px;border:1px solid var(--care-line);border-radius:10px}
.review-settings .review{background:transparent}.review-settings .review-controls button,.review-settings .review-controls select{border-radius:7px;border-color:var(--care-line)}
.preview-wrap{padding:0 24px;margin:28px auto 56px;max-width:1488px}
.product{font-family:var(--care-font);color:var(--care-ink);--ui-ink:var(--care-ink);--ui-line:#b4bdbf;--ui-radius:9px;line-height:1.7}
.product.patient{width:100%;border:1px solid #e0e1da;border-radius:20px;overflow:hidden;box-shadow:0 20px 60px #192f420c,0 3px 8px #192f4204}
.patient .phone-head{background:white;color:var(--care-ink);padding:23px 28px 13px;border:0}
.patient .phone-head strong{font-size:14px;letter-spacing:.01em;display:flex;align-items:center;gap:9px}
.patient .phone-head strong::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--care-accent)}
.patient .phone-progress{padding:0 28px 20px;background:white;color:var(--care-muted);border:0;font-size:12px;line-height:1.6}
.booking-wayfinding{padding:20px 28px 22px;border-top:1px solid #e9eae3;border-bottom:1px solid #e9eae3;background:#fbfaf7}
.booking-wayfinding ol{list-style:none;padding:0!important;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.booking-wayfinding li{display:flex;flex-direction:column;gap:8px;align-items:flex-start;position:relative;font-size:11px;font-weight:500;line-height:1.5;color:var(--care-muted);min-width:0;overflow-wrap:anywhere}
.booking-wayfinding li::before{content:'';position:absolute;left:36px;right:1px;top:14px;height:1px;background:#dce0dc}
.booking-wayfinding li:last-child::before{display:none}
.booking-wayfinding .way-number{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;border:1px solid #cbd2d0;background:#fff;font-size:12px;line-height:1;color:var(--care-muted)}
.booking-wayfinding [aria-current=step]{color:var(--care-ink);font-weight:700}
.booking-wayfinding [aria-current=step] .way-number{color:white;background:var(--care-accent);border-color:var(--care-accent);box-shadow:0 0 0 4px #ad482c0b}
.patient .phone-main{padding:30px 28px 26px}
.patient .phone-main>h2{font-size:28px;font-weight:700;letter-spacing:-.035em;line-height:1.35;margin:0 0 26px;max-width:none;overflow-wrap:anywhere}
.patient h3{font-size:17px;font-weight:700;line-height:1.5;margin-bottom:16px}
.patient p{color:var(--care-muted);line-height:1.8;font-size:14px}
.patient .w-panel{padding:22px;border:1px solid #e0e4df;border-radius:12px;background:#fff;margin-bottom:24px}
.patient .w-panel.is-fee{padding:25px;background:#f4eee3;border-color:#e7ddce;position:relative;overflow:hidden}
.patient .is-fee h3{font-size:12px;letter-spacing:.04em;color:#79533d;margin:0 0 14px}
.patient .is-fee .w-total{display:flex;flex-direction:column;align-items:flex-start;gap:3px;border:0;margin:0 0 16px;padding:0}
.patient .is-fee .w-total>span{font-size:12px;color:var(--care-muted);margin:0}
.patient .is-fee .w-total strong{font-size:34px;font-weight:700;line-height:1.3;color:var(--care-ink);letter-spacing:-.04em;white-space:normal;overflow-wrap:anywhere}
.patient .is-fee p{font-size:14px;margin-bottom:12px;color:#394b55;line-height:1.8}
.patient .is-fee .hint,.patient .is-fee p:last-child{font-size:12px;color:#666a61;line-height:1.75}
.product .w-field{min-width:0}.patient .w-field{margin-bottom:22px}
.patient .field-label{font-size:14px;font-weight:600;color:var(--care-ink);gap:7px;margin-bottom:9px;line-height:1.5}
.patient .required,.patient .optional{border:0;border-radius:4px;padding:2px 6px;font-size:10px;line-height:1.5;background:#f4e9df;color:#8a412c;font-weight:600}
.patient .optional{background:#f0f2ef;color:#66746c;font-weight:400}
.patient .w-field input,.patient .w-field select,.patient .w-field textarea{border:1px solid #bdc7c8;background:#fff;border-radius:9px;padding:13px 14px;min-height:51px;font-size:16px;line-height:1.5;color:var(--care-ink);box-shadow:0 1px 2px #192f4203;transition:border-color .16s,box-shadow .16s}
.patient .w-field textarea{min-height:128px}
.patient .w-field input:hover,.patient .w-field select:hover,.patient .w-field textarea:hover{border-color:#7f9398}
.product .w-field input:focus-visible,.product .w-field select:focus-visible,.product .w-field textarea:focus-visible{outline:2px solid var(--care-accent);outline-offset:3px;box-shadow:0 0 0 5px #ad482c08}
.patient .hint{font-size:12px;line-height:1.75;margin-top:8px;color:var(--care-muted)}
.product .w-button{border-radius:9px;min-height:48px;transition:background .16s,box-shadow .16s;line-height:1.55}
.product .w-button.primary{background:var(--care-accent);border-color:var(--care-accent);color:#fff;box-shadow:0 3px 7px #ad482c13}
.product .w-button.primary:not(:disabled):hover{background:#943a22;border-color:#943a22;filter:none}
.product .w-button.secondary,.product .w-button.small{background:#fff;color:var(--care-ink);border-color:#b4bfc2}
.product .w-button.secondary:not(:disabled):hover,.product .w-button.small:not(:disabled):hover{background:#f4f5f1;filter:none}
.patient .w-button.primary{min-height:54px;padding:15px 18px;font-size:15px;margin:24px 0 12px}
.patient .w-button.secondary{min-height:49px;padding:12px 16px;font-size:14px}
.patient .w-button.text{font-size:13px;color:var(--care-muted);min-height:44px}
.product .w-button:disabled,.product .w-button.primary:disabled{background:#e9ece9;border-color:#d7ddda;color:#68736f;box-shadow:none;opacity:1}
.product .w-button.text:disabled{background:transparent;border-color:transparent;color:#68736f}
.product button:focus-visible,.product a:focus-visible,.review-settings summary:focus-visible,.demo-site-header a:focus-visible{outline:3px solid var(--care-accent);outline-offset:4px}
.patient .w-check{padding:15px;border:1px solid #e0e4df;border-radius:9px;background:#fafbf8;gap:11px;font-size:13px;line-height:1.75;margin:18px 0;cursor:pointer}
.product input[type=checkbox]{accent-color:var(--care-accent)}
.patient .w-check input{width:20px;height:20px;flex:0 0 20px;margin:2px 0 0}
.patient .slots{gap:12px;margin:14px 0 24px}
.patient .w-slot{border:1px solid #bdc7c8;border-radius:9px;min-height:54px;background:#fff;color:var(--care-ink);font-size:16px;position:relative}
.patient .w-slot:hover{background:#faf6f0;border-color:var(--care-accent)}
.patient .w-slot.selected{border:2px solid var(--care-accent);background:#fbf1eb;color:#8c3a24;font-weight:700;box-shadow:0 0 0 2px #ad482c08}
.patient .w-kv{margin-bottom:20px}.patient .w-kv>div{gap:16px;flex-wrap:nowrap;padding:13px 0;border-color:#e6e8e1;align-items:baseline}
.patient .w-kv dt{max-width:none;flex:0 1 42%;font-size:12px;color:var(--care-muted);line-height:1.6}
.patient .w-kv dd{max-width:none;flex:1;font-size:14px;color:var(--care-ink);line-height:1.65}
.patient .w-upload{border:1px dashed #aabbbd;border-radius:12px;background:#f3f6f3;color:var(--care-muted);padding:16px;min-height:160px;height:auto}
.patient .w-upload img{max-height:180px;max-width:100%;object-fit:contain}
.patient .phone-footer{padding:18px 28px 22px;background:#f7f7f2;border-top:1px solid #e6e8e1;display:flex;flex-direction:column;align-items:stretch;gap:10px}
.product :is(.phone-footer button,.w-button.text,.dx-issues button){display:grid;grid-template-columns:24px minmax(0,1fr) 8px;align-items:center;column-gap:12px;width:100%;max-width:none;min-height:56px;padding:14px 16px;border:1px solid #d8ded9;border-radius:11px;background:#fff;color:var(--care-ink);font-family:inherit;font-size:13px;font-weight:600;line-height:1.5;text-align:left;text-decoration:none;cursor:pointer;overflow-wrap:normal;word-break:normal;transition:background .15s,border-color .15s,box-shadow .15s}
.product :is(.phone-footer button,.w-button.text,.dx-issues button)::before{content:"";width:24px;height:24px;background:center/22px 22px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ad482c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9a2.5 2.5 0 0 1 5 0c0 2-2.5 2-2.5 4'/%3E%3Cpath d='M12 16h.01'/%3E%3C/svg%3E")}
.product :is(.phone-footer button,.w-button.text,.dx-issues button)::after{content:"";width:6px;height:6px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);opacity:.65}
.product :is(.phone-footer button,.w-button.text,.dx-issues button)[data-to="P08"]{background:#edf2ef;border-color:#d0dbd5}
.product :is(.phone-footer button,.w-button.text,.dx-issues button)[data-to="P08"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23192f42' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Crect x='9' y='2' width='6' height='4' rx='1' fill='%23edf2ef'/%3E%3Cpath d='M9 11h6M9 15h6'/%3E%3C/svg%3E")}
.product :is(.phone-footer button,.w-button.text,.dx-issues button):hover{background:#faf2ed;border-color:#bd8e7d;box-shadow:0 2px 6px #192f4208}
.product :is(.phone-footer button,.w-button.text,.dx-issues button)[data-to="P08"]:hover{background:#e3ece6;border-color:#9bb3a5}
.product :is(.phone-footer button,.w-button.text,.dx-issues button):focus-visible{outline:3px solid var(--care-accent);outline-offset:3px}
.product .notice{border:1px solid #e2d8ba;border-left:3px solid #a9813c;border-radius:8px;background:#fcf8ed;color:#695323;line-height:1.75;padding:16px}
.product .notice[role=alert],.product .notice.error-only,.product .field-error{color:#9a352b}
.product .notice[role=alert],.state-error .notice.error-only{background:#fff3ef;border-color:#d8a49b;border-left:3px solid #ad482c}
.product [aria-invalid=true]{border-color:#b04432!important;background:#fff8f4}
.patient table{font-size:13px}.patient th{background:#f1f3ef;color:#53645f;font-weight:600;border-bottom-color:#dce2da}
.patient td{border-color:#e3e7e0;line-height:1.7}.patient .w-tablewrap{margin-bottom:22px}
.patient .w-chip{padding:5px 7px;line-height:1.55;font-size:11px;white-space:normal!important}
.patient .ui-task-table .w-button.small{font-size:11px;padding:9px 5px;min-height:44px}
.product.ops{width:100%;border:1px solid #dce2df;border-radius:16px;overflow:hidden;box-shadow:0 15px 50px #192f4207;background:#fff}
.ops .ops-top{background:#fff;border-bottom:1px solid var(--care-line);padding:20px 28px;height:auto;min-height:74px;color:var(--care-ink)}
.ops .ops-top strong{font-size:20px;letter-spacing:-.025em}.ops .ops-top span{font-size:12px;color:var(--care-muted)}
.ops .u-topnav{background:#f7f8f4;border-color:var(--care-line);padding:10px 24px}
.ops .u-main{padding:28px}.ops .ops-title{margin-bottom:25px}.ops .ops-title h2{font-size:25px}
.ops .u-list th{background:#f2f4ef;color:#53645f;font-size:12px;padding:16px;border-color:#dce2da}
.ops .u-list td{padding:18px 16px;border-color:#e7ebe5;font-size:14px}.ops .u-list tbody tr:hover{background:#fafbf8}
.ops .u-metrics>div{border-radius:10px;border-color:#e0e5de;background:#fafbf8}
.ops .u-panel{border-radius:12px;border-color:#e0e5de}
.doctor-focus .preview-wrap{padding-top:0}.doctor-focus .preview-slot{box-shadow:none}
.doctor-focus .product.ops{background:var(--care-paper);min-height:0}
.dx-workspace{color:var(--care-ink);font-family:var(--care-font);font-size:14px;--ui-button-h:44px}
.dx-workspace .dx-patientbar{padding:23px 28px;background:#fff;border-bottom:1px solid #dce2dc;gap:20px}
.dx-workspace .dx-eyebrow{color:var(--care-accent);font-size:11px;font-weight:700;letter-spacing:.08em}
.dx-workspace .dx-patientbar h2{font-size:27px;letter-spacing:-.03em;margin:4px 0;color:var(--care-ink)}
.dx-workspace .dx-patientbar p{font-size:12px;line-height:1.6;color:var(--care-muted);margin:5px 0}
.dx-workspace .dx-header-actions{gap:9px;flex-wrap:wrap;justify-content:flex-end}
.dx-workspace .dx-header-actions .w-button{font-size:12px;min-height:43px;border-radius:8px}
.dx-workspace .dx-header-actions [data-dx-action=zoom]{background:var(--care-ink);color:white;border-color:var(--care-ink)}
.dx-workspace .dx-layout{grid-template-columns:270px minmax(0,1fr);gap:22px;padding:24px}
.dx-workspace .dx-sidebar{background:#fff;border:1px solid #dee4dd;border-radius:12px;max-height:calc(100vh - 230px);box-shadow:0 3px 12px #192f4203}
.dx-workspace .dx-sidebar section{padding:20px;border-color:#e8ece6}
.dx-workspace .dx-sidebar h3{color:var(--care-ink);font-size:13px;margin-bottom:14px;display:flex;align-items:center;gap:8px}
.dx-workspace .dx-sidebar h3::before{content:'';width:3px;height:13px;background:var(--care-accent);border-radius:3px}
.dx-workspace .dx-sidebar .w-kv dt{max-width:none;font-size:11px;color:var(--care-muted)}
.dx-workspace .dx-sidebar .w-kv dd{max-width:none;font-size:13px;color:var(--care-ink);line-height:1.75;margin-top:4px}
.dx-workspace .dx-sidebar .w-kv>div{padding:8px 0}
.dx-workspace .dx-sidebar blockquote{padding:13px;border-radius:8px;background:#f5f4ed;font-size:13px;line-height:1.8;border-left:2px solid #d5c6ae}
.dx-workspace .dx-small,.dx-workspace .dx-sidebar .dx-small{color:var(--care-muted);line-height:1.8}
.dx-workspace .dx-editor{border:1px solid #dce3dc;border-radius:12px;box-shadow:0 3px 14px #192f4203}
.dx-workspace .dx-tabs{padding:10px 18px 0;background:#f9faf6;border-color:#e0e5dd;gap:14px}
.dx-workspace .dx-tabs button{font-size:14px;font-weight:500;min-height:51px;padding:13px 10px;color:var(--care-muted);line-height:1.5}
.dx-workspace .dx-tabs button[aria-selected=true]{background:transparent;border-bottom-color:var(--care-accent);color:#93412b;font-weight:700}
.dx-workspace .dx-scroll{padding:24px;height:calc(100vh - 330px);min-height:440px;max-height:850px;background:#fff;scrollbar-gutter:stable}
.dx-workspace .dx-card{border:0;border-bottom:1px solid #e3e7df;border-radius:0;padding:0 0 24px;margin:0 0 26px;background:#fff}
.dx-workspace .dx-card:last-child{border-bottom:0;margin-bottom:0}
.dx-workspace .dx-card h3{font-size:16px;color:var(--care-ink);margin:0 0 19px}
.dx-workspace .dx-card h4{color:var(--care-ink)}
.dx-workspace section.dx-detail{padding:0 0 24px}
.dx-workspace .w-field{gap:6px;margin-bottom:15px}
.dx-workspace .field-label{font-size:12px;font-weight:600;color:#465b63}
.dx-workspace input,.dx-workspace select,.dx-workspace textarea{color:var(--care-ink);background:#fff;border-color:#bdc8c7;border-radius:8px;min-height:43px;font-size:14px;line-height:1.6;padding:10px 12px}
.dx-workspace textarea[data-bind=findings]{min-height:230px;line-height:1.9;background:#fdfdfa}
.dx-workspace input[readonly],.dx-workspace textarea[readonly],.dx-workspace input:disabled,.dx-workspace select:disabled{background:#f2f4ef;color:#67776f}
.dx-workspace .w-field :focus-visible,.dx-workspace input:focus-visible,.dx-workspace textarea:focus-visible,.dx-workspace select:focus-visible,.dx-workspace .w-button:focus-visible,.dx-tabs button:focus-visible{outline:2px solid var(--care-accent);outline-offset:3px}
.dx-workspace .c-fields{gap:14px}.dx-workspace .hint{font-size:12px;color:var(--care-muted)}
.dx-workspace .dx-savebar{padding:15px 24px;border-color:#dfe4dc;background:#fbfcf8;gap:18px;box-shadow:0 -4px 18px #192f4203}
.dx-workspace .dx-savebar strong{font-size:13px;color:var(--care-ink)}
.dx-workspace .dx-savebar span{font-size:11px;color:var(--care-muted)}
.dx-workspace .dx-savebar .w-button{min-height:45px;font-size:13px;padding:11px 18px}
.dx-workspace .dx-feedback{border-radius:8px;background:#edf5ed;border-color:#bbd4b8;color:#2b5b42;margin:16px 24px 0;font-size:13px}
.dx-workspace .dx-feedback.error{background:#fff3ef;border-color:#d8a49b;color:#9a352b}
.dx-workspace .dx-issues{border-radius:9px;background:#fcf6e9;border-color:#e3d4b3;padding:17px}
.dx-workspace .dx-checks .w-check{padding:14px;border:1px solid #e0e5dc;background:#f9faf6;border-radius:8px;gap:10px;font-size:13px;line-height:1.75}
.dx-workspace input[type=checkbox]{width:18px;min-height:18px;height:18px;padding:0;flex:0 0 18px}
.dx-workspace .mv-dx-table th{background:#f3f5f0;color:#53645e;font-size:11px;padding:12px 9px}
.dx-workspace .mv-dx-table td{border-color:#e3e8df;padding:12px 9px}
.dx-workspace .mv-dx-table input,.dx-workspace .mv-dx-table select{font-size:12px;padding:7px;min-height:38px}
.dx-workspace .mv-rp{border-color:#dbe3d8;border-radius:10px;margin:18px 0}
.dx-workspace .mv-rp-heading{background:#f1f4ed;padding:16px;grid-template-columns:110px minmax(140px,1fr) 95px 95px;gap:10px}
.dx-workspace .mv-rp .mv-drug{grid-template-columns:minmax(150px,1fr) 105px 80px 65px;padding:16px;border-color:#e2e8dd;gap:10px}
.dx-workspace .mv-drug-detail{padding:0 16px 16px;border-color:#e2e8dd}
.dx-workspace .mv-options{border-color:#bbc9bf;border-radius:8px;box-shadow:0 6px 18px #192f420a;padding:5px}
.dx-workspace .mv-options button{padding:12px;border-radius:5px;color:var(--care-ink)}
.dx-workspace .mv-options button[aria-selected=true]{background:#f5e9de;color:#91422c}
.dx-workspace .mv-options button:hover{background:#f1f4ed}
.dx-workspace .dx-finder .dx-choice{border-radius:8px;border-color:#cbd7cc;padding:15px}
dialog{border:1px solid #dce2da;border-radius:15px;box-shadow:0 22px 100px #192f4233;padding:28px;font-family:var(--care-font);color:var(--care-ink);line-height:1.75}
dialog::backdrop{background:#152b3a80;backdrop-filter:blur(3px)}
dialog h2{font-size:23px;line-height:1.5;margin:0 0 20px;letter-spacing:-.025em}
dialog button{min-height:44px;border-radius:8px;border-color:#bcc8c6;padding:11px 18px;color:var(--care-ink);background:white;font-size:14px}
dialog button:focus-visible{outline:3px solid var(--care-accent);outline-offset:3px}
html:lang(zh-Hans) .patient,html:lang(zh-Hant) .patient{letter-spacing:.01em;line-height:1.8}
html:lang(zh-Hans) .patient .phone-main>h2,html:lang(zh-Hant) .patient .phone-main>h2{letter-spacing:.01em;line-height:1.5;font-size:27px}
html:lang(zh-Hans) .patient .is-fee .w-total strong,html:lang(zh-Hant) .patient .is-fee .w-total strong{letter-spacing:0;font-size:32px}
@media(min-width:1100px){body:not(.doctor-focus) .demo-site-header{padding-inline:48px}.patient .phone-main{padding:32px}.patient .phone-head{padding-left:32px}.patient .phone-progress{padding-left:32px}.booking-wayfinding{padding-inline:32px}}
@media(max-width:1100px){.dx-workspace .dx-layout{grid-template-columns:235px minmax(0,1fr);padding:16px;gap:16px}.dx-workspace .dx-scroll{padding:18px}.dx-workspace .dx-sidebar section{padding:16px}.dx-workspace .mv-rp-heading{grid-template-columns:90px minmax(110px,1fr) 80px 80px}.dx-workspace .mv-rp .mv-drug{grid-template-columns:minmax(140px,1fr) 90px 65px 60px}.dx-workspace .dx-tabs{gap:5px;padding-inline:10px}.dx-workspace .dx-tabs button{font-size:13px;padding-inline:8px}}
@media(max-width:800px){.dx-workspace .dx-patientbar{flex-wrap:wrap;padding:20px}.dx-workspace .dx-header-actions{justify-content:flex-start}.dx-workspace .dx-layout{grid-template-columns:1fr}.dx-workspace .dx-sidebar{max-height:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.dx-workspace .dx-sidebar section{border-bottom:0;border-right:1px solid #e8ece6}.dx-workspace .dx-scroll{height:auto;max-height:none;min-height:0}.dx-workspace .dx-savebar{position:sticky}.dx-workspace .mv-rp-heading{grid-template-columns:repeat(2,minmax(0,1fr))}.dx-workspace .mv-rp .mv-drug{grid-template-columns:repeat(2,minmax(0,1fr))}.dx-workspace .c-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.ops .u-main{padding:20px}.ops .w-tablewrap{overflow:auto}}
@media(max-width:600px){.demo-site-header{padding:16px 18px;gap:10px}.demo-site-header a{font-size:17px;letter-spacing:-.04em;gap:9px}.demo-site-header a::before{width:29px;height:29px;flex-basis:29px}.demo-site-header>span{font-size:9px;padding:5px 7px}.demo-site-notice{margin:13px 16px 7px;font-size:11px;line-height:1.7;padding:10px 12px}.review-settings{margin:0 16px 8px}.review-settings>summary{font-size:11px;padding:9px 0}.preview-wrap,#preview-wrap{padding:0 12px;margin:18px auto 30px}.product.patient{border:1px solid #e0e1da;border-radius:16px}.patient .phone-head{padding:21px 22px 10px}.patient .phone-progress{padding:0 22px 18px;font-size:11px}.booking-wayfinding{padding:18px 22px}.booking-wayfinding li{font-size:10px;gap:7px}.patient .phone-main{padding:26px 22px 24px}.patient .phone-main>h2{font-size:25px;margin-bottom:23px}.patient .w-panel{padding:18px}.patient .w-panel.is-fee{padding:21px}.patient .is-fee .w-total strong{font-size:30px}.patient .is-fee p{font-size:13px}.patient .w-kv>div{gap:10px}.patient .w-kv dt{font-size:11px}.patient .w-kv dd{font-size:13px}.patient .phone-footer{padding:14px 22px 17px;gap:14px}.patient .w-check{padding:13px;font-size:12px}.patient .w-button.primary{font-size:14px}.dx-workspace .dx-sidebar{grid-template-columns:1fr}.dx-workspace .dx-sidebar section{border-right:0;border-bottom:1px solid #e8ece6}.dx-workspace .dx-layout{padding:12px}.dx-workspace .dx-patientbar h2{font-size:23px}.dx-workspace .dx-savebar{padding:12px;flex-wrap:wrap}.dx-workspace .dx-savebar .c-actions{width:100%}.dx-workspace .dx-tabs{gap:0;padding-inline:7px}.dx-workspace .dx-tabs button{font-size:11px;padding:12px 7px}.dx-workspace .mv-dx-table{min-width:580px}.dx-workspace #dx-diagnoses{overflow-x:auto}.dx-workspace .c-fields{grid-template-columns:1fr}.dx-workspace input,.dx-workspace select,.dx-workspace textarea{font-size:16px}.dx-workspace .dx-patientbar .w-button{min-width:0}html:lang(zh-Hans) .patient .phone-main>h2,html:lang(zh-Hant) .patient .phone-main>h2{font-size:24px}html:lang(zh-Hans) .patient .is-fee .w-total strong,html:lang(zh-Hant) .patient .is-fee .w-total strong{font-size:28px}}
@media(max-width:360px){.demo-site-header a{font-size:15px}.demo-site-header a::before{width:25px;height:25px;flex-basis:25px}.patient .phone-main,.booking-wayfinding{padding-inline:18px}.patient .phone-main>h2{font-size:23px}.patient .is-fee .w-total strong{font-size:27px}.patient .w-panel.is-fee{padding:18px}.patient .field-label{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(min-width:801px){.dx-workspace{height:var(--care-workspace-height,760px);display:flex;flex-direction:column}.dx-workspace .dx-patientbar{flex:none;padding-block:18px}.dx-workspace .dx-layout{flex:1;min-height:0}.dx-workspace .dx-sidebar{max-height:100%}.dx-workspace .dx-editor{min-height:0}.dx-workspace .dx-tabs,.dx-workspace .dx-feedback,.dx-workspace .dx-savebar{flex:none}.dx-workspace .dx-scroll{flex:1;height:0;min-height:0;max-height:none}.dx-workspace .dx-sidebar .w-kv>div{display:grid;grid-template-columns:68px minmax(0,1fr);gap:8px;align-items:start;padding:7px 0}.dx-workspace .dx-sidebar .w-kv dd{margin:0;text-align:left;font-size:12px}.dx-workspace .dx-sidebar section{padding:17px}.dx-workspace .dx-sidebar .w-button{font-size:11px;min-width:0}}
.dx-workspace .dx-minor{min-width:0!important;white-space:nowrap;padding:8px 10px;font-size:12px}.dx-workspace .mv-rp .mv-drug{grid-template-columns:minmax(150px,1fr) 105px 80px 80px}.dx-workspace .mv-dx-table .dx-minor{width:auto}.dx-workspace .mv-rp .mv-drug>.w-button{width:auto}
@media(max-width:1100px) and (min-width:801px){.dx-workspace .mv-rp .mv-drug{grid-template-columns:minmax(120px,1fr) 90px 65px 75px}}
@media(max-width:800px){.dx-workspace .mv-rp .mv-drug{grid-template-columns:repeat(2,minmax(0,1fr))}}
.patient .is-fee .w-total strong .fee-qualifier{display:block;font-size:12px;font-weight:500;color:#666a61;letter-spacing:0;line-height:1.7;margin-top:7px;white-space:nowrap}

/* Shared operational and post-consultation surfaces. No workflow or data changes. */
.product.ops:not(:has(.dx-workspace)){background:#f7f8f3;min-height:0}
.product.ops .ops-top{padding:23px 28px;min-height:82px;gap:20px;background:#fff;border-bottom:1px solid var(--care-line)}
.product.ops .ops-top strong{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:700;line-height:1.4;letter-spacing:-.025em}
.product.ops .ops-top strong::before{content:'';width:32px;height:32px;background:url('./favicon.svg') center/contain no-repeat;flex:0 0 32px}
.product.ops .ops-top span{font-size:12px;line-height:1.65;padding:7px 11px;border:1px solid #e2e6dd;border-radius:7px;background:#fafbf7;color:#52645d}
.product.ops .u-topnav{gap:8px;background:#fff;padding:12px 28px;border-bottom:1px solid #e3e7de;flex-wrap:wrap}
.product.ops .u-topnav .w-button{min-width:0;min-height:40px;font-size:12px;padding:8px 14px;border-color:transparent;color:var(--care-muted);background:transparent;box-shadow:none}
.product.ops .u-topnav .w-button:hover{background:#f3f5ef;color:var(--care-ink)}
.product.ops .u-auto{font-size:11px;color:var(--care-muted)}
.product.ops .u-main{padding:30px;min-height:640px}
.product.ops .ops-title{align-items:center;gap:20px;margin-bottom:24px}
.product.ops .ops-title h2{font-size:28px;font-weight:700;letter-spacing:-.035em;line-height:1.45;color:var(--care-ink)}
.product.ops .ops-title p{font-size:12px;color:var(--care-muted);margin-top:5px}
.product.ops .u-metrics{gap:18px;margin:24px 0}
.product.ops .u-metrics>div{padding:22px 24px;border:1px solid #e0e5db;border-radius:12px;background:#fff;box-shadow:0 3px 12px #192f4203;gap:16px}
.product.ops .u-metrics span{font-size:13px;font-weight:500;color:var(--care-muted)}
.product.ops .u-metrics strong{font-size:32px;color:var(--care-ink);line-height:1.2;font-weight:600}
.product.ops .u-metrics>div:last-child{background:#faf3e7;border-color:#eaddc2}
.product.ops .u-metrics>div:last-child strong{color:#8c5b22}
.product.ops .u-tools{align-items:end;gap:18px;flex-wrap:wrap;margin:24px 0 20px;padding:18px 20px;background:#fff;border:1px solid #e0e5dc;border-radius:12px}
.product.ops .u-tools label{color:#52645d;font-size:12px;font-weight:600;gap:8px;min-width:0}
.product.ops .u-tools input,.product.ops .u-tools select{border:1px solid #bdc8c3;border-radius:8px;background:#fff;color:var(--care-ink);padding:10px 13px;min-height:44px;width:min(280px,100%);font-size:14px;font-weight:400}
.product.ops .u-tools input:focus-visible,.product.ops .u-tools select:focus-visible{outline:2px solid var(--care-accent);outline-offset:3px}
.product.ops .u-switch{display:flex;gap:3px;padding:4px;border:1px solid #e0e5dc;border-radius:9px;background:#f7f8f3;margin-left:auto}
.product.ops .u-switch .w-button{min-height:35px;min-width:66px;font-size:12px;padding:7px 12px;margin:0;border:0;background:transparent;color:var(--care-muted);box-shadow:none;border-radius:6px}
.product.ops .u-switch .w-button.primary{background:#fff;color:var(--care-ink);box-shadow:0 1px 5px #192f4214}
.product.ops .u-main>.w-tablewrap{border:1px solid #dfe5db;border-radius:12px;background:#fff;overflow:auto;margin:0}
.product.ops .u-list{margin:0;font-size:14px;min-width:940px}
.product.ops .u-list th{padding:16px 18px;font-size:12px;color:#596a60;white-space:nowrap;background:#f1f4ed;border-color:#dfe5db}
.product.ops .u-list td{padding:20px 18px;vertical-align:middle;border-color:#e6ebe1;line-height:1.75}
.product.ops .u-list tbody tr:last-child td{border-bottom:0}
.product.ops .u-list tbody tr:hover{background:#fafbf6}
.product.ops .u-list td>strong{font-size:14px;color:var(--care-ink);font-weight:600}
.product.ops .u-list small{font-size:11px;color:#64746b;margin-top:6px;line-height:1.7}
.product.ops .u-actions{gap:7px;align-items:center}
.product.ops .u-actions .w-button{min-height:41px;min-width:70px;padding:9px 12px;font-size:12px;margin:0}
.product.ops .u-status{display:inline-flex;align-items:center;gap:6px;min-height:28px;max-width:100%;padding:5px 9px;background:#eaf0f2;color:#365562;border:0;border-radius:6px;font-size:11px;font-weight:600;line-height:1.6;overflow-wrap:anywhere;cursor:default;box-shadow:none}
.product.ops .u-status::before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor;flex:0 0 5px}
.product.ops .u-status.warn{background:#fbecd5;color:#875817}
.product.ops .u-casehead{margin:0 0 24px;padding:20px 24px;border:1px solid #dfe5dc;border-radius:12px;background:#fff;gap:18px;flex-wrap:wrap;box-shadow:0 3px 12px #192f4203}
.product.ops .u-casehead>strong{font-size:20px;letter-spacing:-.025em}
.product.ops .u-casehead>span:not(.u-status){font-size:12px;color:var(--care-muted);margin-left:auto}
.product.ops .u-tabs{gap:16px;margin:0 0 26px;border-bottom:1px solid #dbe2d6;flex-wrap:wrap}
.product.ops .u-tabs .w-button{min-width:0;min-height:49px;padding:13px 10px;margin:0;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--care-muted);font-size:13px;font-weight:500;box-shadow:none}
.product.ops .u-tabs .w-button.primary{background:transparent;color:#93412b;border-bottom-color:var(--care-accent);font-weight:700}
.product.ops .u-tabs .w-button:hover{background:#f1f3eb;filter:none}
.product.ops .u-two{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.product.ops .u-single{max-width:980px}
.product.ops .u-main .w-panel{padding:25px;border:1px solid #dfe5da;border-radius:12px;background:#fff;box-shadow:0 4px 16px #192f4203;margin-bottom:24px;min-width:0}
.product.ops .u-main .w-panel>h3{display:flex;align-items:center;gap:9px;font-size:16px;font-weight:700;color:var(--care-ink);margin-bottom:22px;line-height:1.55}
.product.ops .u-main .w-panel>h3::before{content:'';width:3px;height:15px;border-radius:3px;background:var(--care-accent);flex:0 0 3px}
.product.ops .u-main .w-kv{margin:0 0 20px}
.product.ops .u-main .w-kv>div{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(0,1.3fr);gap:22px;padding:14px 0;border-bottom:1px solid #e7ebe2;align-items:baseline}
.product.ops .u-main .w-kv dt{max-width:none;color:var(--care-muted);font-size:12px;line-height:1.8}
.product.ops .u-main .w-kv dd{max-width:none;color:var(--care-ink);font-size:14px;line-height:1.8;text-align:left;margin:0;overflow-wrap:anywhere}
.product.ops .u-main .w-field{margin:20px 0;min-width:0}
.product.ops .u-main .field-label{font-size:12px;font-weight:600;color:#4c6259;margin-bottom:9px}
.product.ops .u-main .w-field input,.product.ops .u-main .w-field select,.product.ops .u-main .w-field textarea{border:1px solid #bdc8c3;border-radius:8px;color:var(--care-ink);background:#fff;padding:12px 13px;min-height:46px;font-size:14px;line-height:1.6}
.product.ops .u-main .w-check{margin:22px 0;padding:16px;background:#fafbf6;border:1px solid #e0e5da;border-radius:9px;font-size:13px;line-height:1.8;gap:11px;cursor:pointer}
.product.ops .u-main .w-check input{width:20px;height:20px;flex:0 0 20px;margin-top:2px}
.product.ops .u-main .w-button.primary,.product.ops .u-main .w-button.secondary{font-size:13px;min-height:45px;padding:11px 17px}
.product.ops .u-main .w-panel:has(#u-eta){background:#fffdf8;border-color:#e5dfd0}
.product.ops .u-main .u-feedback{border:1px solid #bdd2be;border-radius:9px;background:#edf5ec;color:#335e42;padding:16px 18px;font-size:13px;line-height:1.75}
.product.ops .u-warning,.product.ops .u-freeze{border:1px solid #e4d3af;border-left:3px solid #b88736;border-radius:8px;background:#fcf6e9;color:#735620;padding:16px;line-height:1.75;font-size:13px}
.product.ops .u-board{display:grid;grid-template-columns:repeat(6,minmax(180px,1fr));gap:14px;overflow-x:auto;padding:2px 2px 16px;align-items:stretch;scrollbar-gutter:stable}
.product.ops .u-lane{padding:16px 11px;border:1px solid #dce3d8;border-radius:12px;background:#eef2e9;min-height:360px}
.product.ops .u-lane:last-child{background:#f7efe1;border-color:#e5d7bf}
.product.ops .u-lane h3{font-size:12px;line-height:1.6;color:#40574b;padding:0 3px 14px;border-bottom:1px solid #d7e0d0;margin:0;gap:8px;align-items:center}
.product.ops .u-lane:last-child h3{color:#805a25;border-color:#e3d4b9}
.product.ops .u-lane h3 small{display:grid;place-items:center;min-width:24px;min-height:24px;background:#fff;border-radius:6px;color:#526858;font-size:11px;padding:2px 6px}
.product.ops .u-card{gap:9px;padding:17px 14px;margin:13px 0 0;border:1px solid #d5dfcf;border-radius:10px;background:#fff;box-shadow:0 2px 5px #192f4205;transition:border-color .15s,box-shadow .15s}
.product.ops .u-card:hover{border-color:#a7b6a2;box-shadow:0 5px 15px #192f4210}
.product.ops .u-card>strong{font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.product.ops .u-card>span{font-size:11px;line-height:1.6;color:var(--care-muted)}
.product.ops .u-card>.u-status{color:#365562}
.product.ops .u-card p{font-size:12px;color:#52645b;line-height:1.75;margin:0}
.product.ops .u-card small{font-size:11px;color:#7e5e2d;line-height:1.7}
.product.ops .u-card[draggable=true]{border-left:3px solid #b58035;cursor:grab}
.product.ops .u-card[draggable=true]:active{cursor:grabbing}
.product.ops .u-card:focus-visible,.product.ops .u-drop:focus-visible{outline:3px solid var(--care-accent);outline-offset:3px}
.product.ops .u-dropbar{padding:20px;border:1px solid #e4d4b5;border-radius:12px;background:#faf4e9;gap:14px;flex-wrap:wrap;font-size:13px}
.product.ops .u-drop{padding:14px 26px;border:1px dashed #b59a6d;border-radius:8px;background:#fff;color:#755829;min-height:48px}
.product.ops .u-empty{font-size:14px;text-align:center;color:var(--care-muted);padding:32px}
.product.ops .u-main .w-panel ol{padding-left:21px;margin:0}
.product.ops .u-main .w-panel li{padding:13px 8px;color:#435c50;border-bottom:1px solid #e7ebe2;font-size:13px;line-height:1.8}
.product.ops .u-main .w-panel li:last-child{border-bottom:0}

/* Patient status, pharmacy, delivery and bundled documents share the same visual language. */
.patient[data-screen=P08] .w-panel,.patient[data-screen=P13] .w-panel,.patient[data-screen=P17] .w-panel,.patient[data-screen=P18] .w-panel{box-shadow:0 4px 15px #192f4203;border-color:#e0e5db}
.patient[data-screen=P08] .w-panel>h3,.patient[data-screen=P13] .w-panel>h3,.patient[data-screen=P17] .w-panel>h3,.patient[data-screen=P18] .w-panel>h3{display:flex;align-items:center;gap:9px;line-height:1.6}
.patient[data-screen=P08] .w-panel>h3::before,.patient[data-screen=P13] .w-panel>h3::before,.patient[data-screen=P17] .w-panel>h3::before,.patient[data-screen=P18] .w-panel>h3::before{content:'';width:3px;height:15px;background:var(--care-accent);border-radius:3px;flex:0 0 3px}
.patient[data-screen=P08] .w-tablewrap{border:1px solid #e0e6da;border-radius:10px;margin:24px 0;background:#fff}
.patient[data-screen=P08] .ui-task-table th{font-size:11px;background:#f2f5ed;color:#566b5e;padding:13px 9px}
.patient[data-screen=P08] .ui-task-table td{font-size:12px;line-height:1.75;padding:15px 9px;vertical-align:middle}
.patient[data-screen=P08] .ui-task-table tr:last-child td{border-bottom:0}
.patient[data-screen=P08] .ui-task-table th:nth-child(1){width:34%}.patient[data-screen=P08] .ui-task-table th:nth-child(2){width:27%}.patient[data-screen=P08] .ui-task-table th:nth-child(3){width:39%}
.patient[data-screen=P08] .ui-task-table .w-button.small{border-radius:7px;background:#fff;font-size:11px;min-height:42px;padding:8px 5px}
.patient[data-screen=P13] .w-panel{background:#fafbf7}
.patient[data-screen=P13] .w-kv>div:last-child{padding-bottom:3px;border-bottom:0}
.patient[data-screen=P17] .w-kv>div[data-visual=eta]{display:block;padding:19px;border:0;border-radius:10px;background:var(--care-ink);margin:12px 0 20px}
.patient[data-screen=P17] .w-kv>div[data-visual=eta] dt{font-size:11px;color:#dae2e3;line-height:1.7;max-width:none}
.patient[data-screen=P17] .w-kv>div[data-visual=eta] dd{font-size:21px;font-weight:600;line-height:1.65;letter-spacing:-.02em;color:#fff;text-align:left;margin-top:8px;max-width:none;overflow-wrap:anywhere}
.patient[data-screen=P17] .w-kv>div[data-visual=delivery-stage]{position:relative;padding-left:20px;min-height:54px;border-bottom:0}
.patient[data-screen=P17] .w-kv>div[data-visual=delivery-stage]::before{content:'';position:absolute;left:0;top:21px;width:7px;height:7px;border:2px solid #9cac9e;border-radius:50%;background:#fff;box-sizing:border-box}
.patient[data-screen=P17] .w-kv>div[data-visual=delivery-stage]:not(:last-child)::after{content:'';position:absolute;left:3px;top:30px;bottom:-14px;width:1px;background:#dce4d7}
.patient[data-screen=P18] .w-panel:has([data-visual=issuer]){background:#fafbf7}
.patient[data-screen=P18] .w-panel:has([data-visual=issuer]) .w-kv{margin-bottom:0}
.patient[data-screen=P18] .w-panel:has([data-visual=issuer]) .w-kv>div{display:block;position:relative;padding:17px 14px 17px 48px;margin:12px 0 0;border:1px solid #dde5d8;border-radius:9px;background:#fff}
.patient[data-screen=P18] .w-panel:has([data-visual=issuer]) .w-kv>div::before{content:'';position:absolute;left:17px;top:21px;width:17px;height:21px;border:1.5px solid #698070;border-radius:3px;background:linear-gradient(#a7b5a5,#a7b5a5) 4px 7px/8px 1px no-repeat,linear-gradient(#a7b5a5,#a7b5a5) 4px 11px/8px 1px no-repeat,linear-gradient(#a7b5a5,#a7b5a5) 4px 15px/6px 1px no-repeat}
.patient[data-screen=P18] .w-panel:has([data-visual=issuer]) dt{font-size:14px;color:var(--care-ink);font-weight:600;max-width:none;line-height:1.6}
.patient[data-screen=P18] .w-panel:has([data-visual=issuer]) dd{font-size:12px;text-align:left;color:var(--care-muted);max-width:none;line-height:1.8;margin:7px 0 0}
.patient[data-screen=P18] .w-kv>div[data-visual=paid] dd{font-size:20px;letter-spacing:-.02em;font-weight:600}
.patient[data-screen=P18] .phone-main>.w-button.primary{margin-top:25px}
@media(max-width:1100px){.product.ops .u-main{padding:24px}.product.ops .u-list td,.product.ops .u-list th{padding-inline:13px}.product.ops .u-metrics>div{padding:19px}.product.ops .u-main .w-panel{padding:22px}.product.ops .u-tabs{gap:9px}}
@media(max-width:800px){.product.ops .u-two{grid-template-columns:1fr}.product.ops .u-tools label{flex:1 1 200px}.product.ops .u-tools input,.product.ops .u-tools select{width:100%}.product.ops .u-switch{margin-left:0}.product.ops .u-casehead>span:not(.u-status){margin-left:0}.product.ops .ops-top{align-items:flex-start;flex-wrap:wrap}.product.ops .ops-top strong{font-size:18px}.product.ops .u-main .w-kv>div{grid-template-columns:minmax(100px,.7fr) minmax(0,1.3fr);gap:16px}}
@media(max-width:600px){.product.ops .ops-top{padding:19px}.product.ops .ops-top strong{font-size:17px}.product.ops .ops-top strong::before{width:28px;height:28px;flex-basis:28px}.product.ops .ops-top span{font-size:11px}.product.ops .u-topnav{padding:10px 15px}.product.ops .u-main{padding:19px 15px}.product.ops .ops-title h2{font-size:24px}.product.ops .u-metrics{gap:8px}.product.ops .u-metrics>div{padding:13px;display:grid;gap:9px}.product.ops .u-metrics span{font-size:10px}.product.ops .u-metrics strong{font-size:26px}.product.ops .u-tools{padding:15px}.product.ops .u-main .w-panel{padding:19px}.product.ops .u-tabs{gap:6px}.product.ops .u-tabs .w-button{font-size:12px;padding:11px 7px}.product.ops .u-casehead{padding:17px;gap:12px}.product.ops .u-casehead>strong{font-size:18px}.product.ops .u-main .w-kv>div{grid-template-columns:minmax(80px,.65fr) minmax(0,1.35fr);gap:13px}.product.ops .u-main .w-kv dd{font-size:13px}.product.ops .u-main .w-field input,.product.ops .u-main .w-field select,.product.ops .u-main .w-field textarea{font-size:16px}.patient[data-screen=P17] .w-kv>div[data-visual=eta]{padding:17px}.patient[data-screen=P17] .w-kv>div[data-visual=eta] dd{font-size:19px}.patient[data-screen=P18] .w-panel:has([data-visual=issuer]) .w-kv>div{padding:15px 12px 15px 42px}.patient[data-screen=P18] .w-panel:has([data-visual=issuer]) .w-kv>div::before{left:14px;top:19px;width:16px;height:20px}}
.patient[data-screen=P17] .w-panel:has([data-arrival-estimate]){background:var(--care-ink);border-color:var(--care-ink);color:#fff}
.patient[data-screen=P17] .w-panel:has([data-arrival-estimate])>h3,.patient[data-screen=P17] .w-panel:has([data-arrival-estimate]) [data-arrival-estimate]{color:#fff}
.patient[data-screen=P17] .w-panel:has([data-arrival-estimate])>h3::before{background:#df9675}
.patient[data-screen=P17] .w-panel:has([data-arrival-estimate]) .hint,.patient[data-screen=P17] .w-panel:has([data-arrival-estimate]) .w-kv dt,.patient[data-screen=P17] .w-panel:has([data-arrival-estimate]) .w-kv dd{color:#dae2e3}
.patient[data-screen=P17] .w-panel:has([data-arrival-estimate]) .w-kv>div{border-color:#ffffff25}
.patient[data-screen=P18] .w-panel:has(table){background:#fafbf7}
.patient[data-screen=P18] .w-panel:has(table) .w-tablewrap{margin-bottom:0;border:1px solid #dfe6d9;border-radius:8px}
.patient[data-screen=P18] .w-panel:has(table) th{font-size:11px;padding:12px}
.patient[data-screen=P18] .w-panel:has(table) td{padding:15px 12px;background:white;font-size:12px;line-height:1.8}
.patient[data-screen=P18] .w-panel:has(table) tr:last-child td{border-bottom:0}

/* QA: preserve readable words and actions on narrow patient status screens. */
.patient .booking-selected-time{font-size:18px;font-weight:600;line-height:1.7;color:var(--care-ink);margin:6px 0 12px;font-variant-numeric:tabular-nums}
@media(max-width:480px){
 .patient[data-screen=P08] .w-tablewrap{overflow:visible;border:0;border-radius:0;background:transparent;margin:22px 0}
 .patient[data-screen=P08] .ui-task-table{display:block;border:0}
 .patient[data-screen=P08] .ui-task-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 .patient[data-screen=P08] .ui-task-table tbody{display:grid;gap:12px;width:100%}
 .patient[data-screen=P08] .ui-task-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;padding:16px;border:1px solid #dfe6da;border-radius:10px;background:#fff}
 .patient[data-screen=P08] .ui-task-table td{display:block;width:auto!important;min-width:0;padding:0;border:0;overflow-wrap:normal;word-break:normal;hyphens:auto;font-size:12px;line-height:1.7}
 .patient[data-screen=P08] .ui-task-table td:first-child{grid-column:1;grid-row:1;font-size:13px;font-weight:600;color:var(--care-ink)}
 .patient[data-screen=P08] .ui-task-table td:nth-child(2){grid-column:2;grid-row:1;max-width:105px;text-align:right;font-size:12px}
 .patient[data-screen=P08] .ui-task-table td:nth-child(3){grid-column:1/-1;grid-row:2;text-align:left}
 .patient[data-screen=P08] .ui-task-table .w-chip{overflow-wrap:normal;word-break:normal;font-size:11px}
 .patient[data-screen=P08] .ui-task-table .w-button.small{width:100%;font-size:13px;min-height:44px;padding:10px 12px;overflow-wrap:normal;word-break:normal;hyphens:none}
 .patient[data-screen=P08] .ui-task-table .ui-action-note{font-size:12px}
 .patient .booking-wayfinding li{overflow-wrap:normal;word-break:normal}
}
@media(max-width:360px){html:lang(en) .patient .booking-wayfinding li{font-size:9px;letter-spacing:-.015em}}

/* Secondary actions share the patient support button design. */
.product :is(.w-button.text,.dx-issues button){box-sizing:border-box;margin:10px 0;white-space:normal;box-shadow:none}
.product .dx-issues button[data-ui-action]{grid-template-columns:20px minmax(0,1fr) 8px;min-height:44px;padding:10px 12px;border-color:#dfcda7;border-radius:9px;font-size:12px;color:#705524;column-gap:9px}
.product .dx-issues button[data-ui-action]::before{width:20px;height:20px;background-size:19px}
.product :is(.w-button.text,.dx-issues button)[data-ui-action=back]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23192f42%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M19%2012H5m6-6-6%206%206%206%27%2F%3E%3C%2Fsvg%3E")}
.product :is(.w-button.text,.dx-issues button)[data-ui-action=next]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23192f42%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%2012h14m-6-6%206%206-6%206%27%2F%3E%3C%2Fsvg%3E")}
.product :is(.w-button.text,.dx-issues button)[data-ui-action=edit]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23192f42%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m15%205%204%204M4%2020l5-1L20%208a2.8%202.8%200%200%200-4-4L5%2015l-1%205Z%27%2F%3E%3C%2Fsvg%3E")}
.product :is(.w-button.text,.dx-issues button)[data-ui-action=remove]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23192f42%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%207h16M9%207V4h6v3M6%207l1%2014h10l1-14M10%2011v6m4-6v6%27%2F%3E%3C%2Fsvg%3E")}
.product :is(.w-button.text,.dx-issues button)[data-ui-action=issue]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23192f42%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%279%27%2F%3E%3Cpath%20d%3D%27M12%207v6m0%204h.01%27%2F%3E%3C%2Fsvg%3E")}
.product :is(.w-button.text,.dx-issues button):disabled{background:#e9ece9;border-color:#d7ddda;color:#68736f;cursor:not-allowed;box-shadow:none}
.product :is(.w-button.text,.dx-issues button):disabled::before,.product :is(.w-button.text,.dx-issues button):disabled::after{opacity:.4}
.product :is(.w-button.text,.dx-issues button):not(:disabled):hover{filter:none}

.product .w-button.text[data-ui-action=back]{grid-template-columns:24px minmax(0,1fr)}
.product .w-button.text[data-ui-action=back]::after{display:none}
