.chart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 22px 0}.chart-toolbar .chart-legend{padding:0}.dentition-switch{display:flex;padding:3px;border:1px solid #ded5e7;border-radius:12px;background:#fff}.dentition-switch button{border:0;background:transparent;color:#706879;font-weight:800;padding:8px 13px;border-radius:9px;cursor:pointer}.dentition-switch button.active{background:#7925d8;color:#fff;box-shadow:0 5px 12px rgba(121,37,216,.2)}.odontogram.deciduous .tooth-row{max-width:720px;margin-left:auto;margin-right:auto}.tooth-mark{fill:none;stroke:#53505a!important;stroke-width:4!important;stroke-linecap:round;pointer-events:none}.tooth-mark.extraction{stroke:#b91c35!important}.tooth-letter{fill:#5b278f;font-size:17px;font-weight:900;text-anchor:middle;pointer-events:none}.chart-plan-panel{display:grid;grid-template-columns:20px 1fr;grid-gap:8px;gap:8px;padding:11px;border:1px solid #d9c7ef;border-radius:10px;background:#fbf7ff}.chart-plan-panel svg{color:#7625d4}.chart-plan-panel span{display:grid;grid-gap:2px;gap:2px}.chart-plan-panel b{font-size:10px;color:#3c2f49}.chart-plan-panel small{font-size:9px;line-height:1.45;color:#756b7f}.proposal-review{margin:0 22px 22px;border:1px solid #d8cce8;border-radius:18px;background:#fff;box-shadow:0 15px 35px rgba(56,35,77,.09);overflow:hidden}.proposal-review>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;background:linear-gradient(135deg,#f9f4ff,#fff)}.proposal-review>header span{color:#7a2bd1;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.proposal-review>header h3{margin:3px 0 2px;font-size:18px;color:#2f2637}.proposal-review>header p{margin:0;color:#746a7d;font-size:11px}.proposal-review>header>strong{font-size:23px;color:#442258;white-space:nowrap}.proposal-table{padding:10px 14px}.proposal-head,.proposal-row{display:grid;grid-template-columns:58px minmax(240px,1.8fr) 78px minmax(170px,1fr) 120px;grid-gap:10px;gap:10px;align-items:end}.proposal-head{padding:5px 10px;color:#857b8d;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.proposal-row{padding:10px;border:1px solid #ece6f1;border-radius:12px;margin-bottom:8px;background:#faf9fb;opacity:.58}.proposal-row.selected{border-color:#d5c0eb;background:#fff;opacity:1}.proposal-row label{display:grid;grid-gap:4px;gap:4px}.proposal-row small{font-size:8px;color:#817687}.proposal-row input,.proposal-row select{width:100%;min-width:0;padding:9px;border:1px solid #dcd3e4;border-radius:8px;background:#fff;color:#362e3c;font-size:11px}.proposal-check{align-self:center;justify-items:center}.proposal-check input{width:18px;height:18px;accent-color:#8229dc}.proposal-review>footer{display:flex;align-items:center;justify-content:flex-end;gap:14px;padding:13px 20px;border-top:1px solid #ece6f1;background:#fcfbfd}.proposal-create{display:flex;align-items:center;gap:8px;border:0;border-radius:10px;padding:11px 16px;background:linear-gradient(135deg,#7625d4,#a12cf0);color:#fff;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(125,37,216,.22)}.proposal-create:disabled{opacity:.6;cursor:wait}@media(max-width:900px){.proposal-review{overflow-x:auto}.proposal-review>footer,.proposal-review>header,.proposal-table{min-width:780px}}@media(max-width:600px){.chart-toolbar{align-items:flex-start;flex-direction:column}.dentition-switch{width:100%}.dentition-switch button{flex:1 1}}.general-plan-modal{width:min(1180px,95vw);max-height:94vh;overflow:auto}.general-plan-heading{display:flex;justify-content:space-between;padding:24px 28px 14px}.general-plan-heading span{color:#842bd7;text-transform:uppercase;font-weight:800;font-size:11px;letter-spacing:.08em}.general-plan-heading h2{margin:4px 0}.general-plan-heading p{margin:0;color:#756e7c}.general-plan-heading>button{border:0;background:transparent;font-size:28px}.plan-kind-switch{display:flex;gap:8px;padding:0 28px 18px;border-bottom:1px solid #eee8f1}.plan-kind-switch button{padding:9px 16px;border:1px solid #ddd3e4;border-radius:9px;background:#fff;font-weight:700}.plan-kind-switch .active{background:#f2e6fd;color:#7722bd;border-color:#cfa8ef}.general-plan-modal form{padding:20px 28px 26px}.general-plan-basics{display:grid;grid-template-columns:1fr 1fr;grid-gap:14px;gap:14px;margin-bottom:18px}.general-plan-modal label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700}.general-plan-modal input,.general-plan-modal select{padding:10px;border:1px solid #dcd4e2;border-radius:8px;background:#fff}.general-plan-workspace{display:grid;grid-template-columns:minmax(330px,.8fr) minmax(450px,1.2fr);grid-gap:16px;gap:16px}.general-plan-workspace>aside,.general-plan-workspace>main{border:1px solid #e8e1ed;border-radius:14px;background:#faf8fc;overflow:hidden}.catalogue-filters{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px;padding:12px}.builder-catalogue{height:465px;overflow:auto;padding:0 10px 10px}.builder-catalogue>button{display:grid;grid-template-columns:1fr auto 28px;align-items:center;width:100%;grid-gap:8px;gap:8px;text-align:left;background:#fff;border:1px solid #e6dfeb;border-radius:10px;padding:10px;margin-bottom:7px}.builder-catalogue span{display:flex;flex-direction:column}.builder-catalogue em,.builder-catalogue small{font-size:10px;color:#7d7483;font-style:normal}.builder-catalogue i{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#902bea;color:#fff;font-style:normal}.general-plan-workspace>main{padding:14px;height:475px;overflow:auto}.general-plan-workspace h3{margin:0 0 12px}.general-plan-workspace h3 span{background:#eee3f8;color:#7322b7;border-radius:20px;padding:3px 8px;font-size:12px}.general-plan-empty{padding:35px;text-align:center;color:#7e7684;border:1px dashed #d8cedf;border-radius:10px;background:#fff}.general-plan-workspace article{background:#fff;border:1px solid #e4dce9;border-radius:11px;padding:12px;margin-bottom:10px}.general-plan-workspace article>header{display:flex;justify-content:space-between;margin-bottom:10px}.general-plan-workspace article>header span{display:flex;flex-direction:column}.general-plan-workspace article>header small{color:#8b42c5}.general-plan-workspace article>header button{border:0;background:transparent;color:#b22d44}.general-plan-workspace article>div{display:grid;grid-template-columns:1fr 80px 120px 1fr;grid-gap:8px;gap:8px}.general-plan-workspace .item-notes{grid-column:1/-1}.general-plan-error{color:#a51f36;background:#fff0f2;padding:10px;border-radius:8px}.general-plan-modal form>footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:18px}.general-plan-modal form>footer>div{margin-right:auto;display:flex;flex-direction:column}.general-plan-modal form>footer strong{font-size:24px}.general-plan-modal form>footer button{padding:11px 18px;border-radius:9px}@media(max-width:850px){.general-plan-basics,.general-plan-workspace{grid-template-columns:1fr}.general-plan-workspace article>div{grid-template-columns:1fr 1fr}.builder-catalogue{height:300px}}.treatment-workflow-backdrop{z-index:120}.treatment-workflow-modal{width:min(880px,94vw);max-height:92vh;overflow:auto}.treatment-workflow-modal>header{display:flex;justify-content:space-between;padding:24px 26px;border-bottom:1px solid #eee7f2}.treatment-workflow-modal>header span{font-size:11px;color:#7924c8;text-transform:uppercase;font-weight:900;letter-spacing:.08em}.treatment-workflow-modal>header h2{margin:4px 0}.treatment-workflow-modal>header p{margin:0;color:#746b7b}.treatment-workflow-modal>header button{border:0;background:transparent;font-size:28px}.workflow-summary{display:flex;gap:25px;align-items:center;padding:16px 26px;background:#f8f3fc}.workflow-summary span{display:flex;flex-direction:column;white-space:nowrap}.workflow-summary b{font-size:23px}.workflow-summary p{margin:0;color:#706777}.workflow-items{padding:18px 26px}.workflow-items article{display:grid;grid-template-columns:34px minmax(220px,1fr) 90px auto;align-items:center;grid-gap:12px;gap:12px;padding:14px;border:1px solid #e5ddeb;border-radius:12px;margin-bottom:9px}.workflow-items article>i{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eee5f5;color:#7122b6;font-style:normal;font-weight:900}.workflow-items article>span{display:flex;flex-direction:column;gap:3px}.workflow-items small{color:#776e7e}.workflow-items em{font-style:normal;font-size:11px;font-weight:900;text-transform:uppercase;color:#756b7d}.workflow-items article.in_progress{border-color:#dfbd66;background:#fffdf5}.workflow-items article.completed{border-color:#a9d9c4;background:#f6fffa}.workflow-items article>div{display:flex;gap:6px}.workflow-items button{border:1px solid #d9cfdf;background:#fff;border-radius:8px;padding:8px 10px;font-weight:800}.workflow-items .attend{background:#8b2bdd;color:#fff;border-color:#8b2bdd}.workflow-items .complete{background:#16845a;color:#fff;border-color:#16845a}.workflow-error{margin:0 26px 15px;padding:10px;background:#fff0f2;color:#a51d34;border-radius:8px}.treatment-workflow-modal>footer{display:flex;justify-content:flex-end;padding:14px 26px;border-top:1px solid #eee7f2}@media(max-width:720px){.workflow-items article{grid-template-columns:34px 1fr}.workflow-items article>div,.workflow-items article>em{grid-column:2}.workflow-summary{align-items:flex-start;flex-direction:column}}.lab-case-editor{grid-column:1/-1;border:1px solid #ded7e8;border-radius:12px;background:#fbf9ff}.lab-case-editor>button{width:100%;display:flex;align-items:center;gap:10px;padding:12px;border:0;background:transparent;text-align:left;cursor:pointer}.lab-case-editor>button span{flex:1 1}.lab-case-editor b,.lab-case-editor small{display:block}.lab-case-editor small{margin-top:3px;color:#756c7e}.lab-case-editor em{padding:5px 8px;border-radius:999px;background:#eee6f7;color:#7130a7;font-size:10px;font-style:normal;font-weight:800}.lab-case-editor.received{border-color:#9ed8b6;background:#f4fcf7}.lab-case-editor.received em{background:#dff5e7;color:#13703c}.lab-case-editor form{display:grid;grid-template-columns:1fr 180px;grid-gap:10px;gap:10px;padding:0 12px 12px}.lab-case-editor label{display:grid;grid-gap:5px;gap:5px;font-size:10px;font-weight:700}.lab-case-editor input,.lab-case-editor select,.lab-case-editor textarea{padding:9px;border:1px solid #dcd5e3;border-radius:8px;font:inherit}.lab-case-editor .lab-instructions{grid-column:1/-1}.lab-case-editor form>button{justify-self:start}.lab-case-editor form>small{align-self:center;color:#31714b}.lab-attachments{margin:0 12px 12px;padding:12px;border-top:1px solid #e4ddea}.lab-attachments>div,.lab-attachments>header{display:flex;align-items:center;gap:9px}.lab-attachments>header{justify-content:space-between;margin-bottom:8px}.lab-attachments header b,.lab-attachments header small,.lab-attachments header span,.lab-attachments>div b,.lab-attachments>div small,.lab-attachments>div span{display:block}.lab-attachments small{color:#756c7e;font-size:9px}.lab-attachments label input{display:none}.lab-attachments>div{padding:8px 0;border-top:1px solid #eee9f1}.lab-attachments>div span{flex:1 1;min-width:0}.lab-attachments>div b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.lab-attachments a{padding:6px 9px;text-decoration:none}.lab-attachments .remove{border:0;background:transparent;color:#bd3145;font-size:9px;font-weight:800;cursor:pointer}.lab-attachments>p{margin:8px 0 0;color:#81768a;font-size:10px}@media(max-width:700px){.lab-case-editor form{grid-template-columns:1fr}.lab-case-editor .lab-instructions{grid-column:auto}.lab-attachments>header{align-items:flex-start;flex-direction:column}}.linked-booking-backdrop{z-index:140}.linked-booking-modal{width:min(670px,94vw);max-height:92vh;overflow:auto}.linked-booking-modal>header{display:flex;justify-content:space-between;padding:24px 26px;border-bottom:1px solid #eee7f2}.linked-booking-modal>header span{color:#7d26cb;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.linked-booking-modal h2{margin:4px 0}.linked-booking-modal header p{margin:0;color:#746c7b}.linked-booking-modal header button{border:0;background:transparent;font-size:28px}.linked-booking-body{padding:20px 26px}.linked-booking-body label{display:grid;grid-gap:6px;gap:6px;font-weight:800}.linked-booking-body input{padding:11px;border:1px solid #dcd3e2;border-radius:9px}.linked-booking-body h3{margin:20px 0 2px}.linked-booking-body>div>p{margin:0 0 12px;color:#756d7c}.linked-slots{display:grid;grid-template-columns:repeat(6,1fr);grid-gap:7px;gap:7px;max-height:300px;overflow:auto}.linked-slots button{padding:9px;border:1px solid #d8cde0;border-radius:8px;background:#fff;font-weight:800}.linked-slots button.selected{background:#8628dc;color:#fff;border-color:#8628dc}.linked-slots button.busy{border-color:#d97706;background:#fff8eb;color:#8a4b08}.linked-slots button.busy.selected{background:#9a5a0a;color:#fff;border-color:#9a5a0a}.linked-slots small{grid-column:1/-1;padding:25px;text-align:center}.linked-booking-error{padding:10px;background:#fff0f2;color:#a41f36;border-radius:8px}.linked-booking-modal>footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 26px;border-top:1px solid #eee7f2}@media(max-width:600px){.linked-slots{grid-template-columns:repeat(4,1fr)}}.stage-template-settings{margin:20px 24px;padding:22px;background:#fff;border:1px solid #e6dfeb;border-radius:18px;box-shadow:0 8px 25px #30143c0b}.stage-template-settings>header{display:flex;justify-content:space-between;align-items:center;gap:20px}.stage-template-settings header span{color:#7924c8;text-transform:uppercase;font-size:10px;font-weight:900;letter-spacing:.08em}.stage-template-settings h2{margin:4px 0}.stage-template-settings header p{margin:0;color:#746c7b}.stage-template-groups{margin-top:18px;max-height:650px;overflow:auto}.stage-template-groups article{border:1px solid #e7e0eb;border-radius:12px;margin-bottom:10px;overflow:hidden}.stage-template-groups h3{display:flex;justify-content:space-between;margin:0;padding:12px 14px;background:#f7f2fb}.stage-template-groups h3 small{color:#7a2bc4}.stage-template-row{display:grid;grid-template-columns:30px minmax(220px,1fr) 90px 90px 60px 65px 60px;grid-gap:8px;gap:8px;align-items:end;padding:10px 12px;border-top:1px solid #eee8f1}.stage-template-row>b{align-self:center}.stage-template-row label{display:grid;grid-gap:3px;gap:3px;font-size:9px;color:#716879}.stage-template-row input{min-width:0;padding:8px;border:1px solid #dcd3e2;border-radius:7px}.stage-template-row .stage-check{display:flex;align-items:center;gap:5px;padding-bottom:8px}.stage-template-row .stage-check input{width:16px}.stage-template-row button{padding:8px;border:0;border-radius:7px;background:#8128d5;color:#fff;font-weight:800}.stage-template-message{padding:9px;background:#edf9f3;color:#176443;border-radius:8px}@media(max-width:850px){.stage-template-row{grid-template-columns:30px 1fr 1fr}.stage-template-row>input{grid-column:2/-1}.stage-template-settings>header{align-items:flex-start;flex-direction:column}}.laboratory-summary{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:14px;gap:14px;margin-bottom:20px}.laboratory-summary>div{padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff}.laboratory-summary b,.laboratory-summary small{display:block}.laboratory-summary small{color:var(--muted);font-size:10px}.laboratory-summary b{margin-top:7px;font-size:25px}.laboratory-summary .overdue b{color:#c33445}.laboratory-case-list{display:grid;grid-gap:13px;gap:13px}.laboratory-case-list>article{padding:17px;border:1px solid var(--line);border-left:5px solid #9b63ca;border-radius:14px;background:#fff}.laboratory-case-list>article.received{border-left-color:#35a569}.laboratory-case-list>article.overdue{border-color:#efbac1 #efbac1 #efbac1 #d63d50;background:#fffafa}.laboratory-case-list article header{display:flex;justify-content:space-between;gap:15px}.laboratory-case-list h2{margin:3px 0;font-size:17px}.laboratory-case-list header p{margin:0;color:var(--muted);font-size:10px}.laboratory-case-list header small{color:#8732bd;font-weight:800}.laboratory-case-list header em{align-self:flex-start;padding:5px 9px;border-radius:999px;background:#f0e7f8;color:#7632a5;font-size:9px;font-style:normal;font-weight:900}.laboratory-case-list article.overdue header em{background:#fee6e9;color:#b52538}.laboratory-case-list article>div{display:grid;grid-template-columns:2fr 1fr 1fr;grid-gap:12px;gap:12px;margin-top:15px;padding:13px;border-radius:10px;background:#f8f7fa}.laboratory-case-list article>div b,.laboratory-case-list article>div small{display:block}.laboratory-case-list article>div small{color:var(--muted);font-size:8px}.laboratory-case-list article>div b{margin-top:4px;font-size:11px}.laboratory-instructions{white-space:pre-wrap;color:#4e4655;font-size:11px;line-height:1.6}.laboratory-case-list footer{display:flex;justify-content:flex-end}.laboratory-empty{padding:70px 20px;text-align:center;color:var(--muted)}.laboratory-empty svg{width:36px;height:36px}.laboratory-empty b{display:block;margin-top:10px;color:#403746}.laboratory-empty p{font-size:11px}@media(max-width:800px){.laboratory-summary{grid-template-columns:1fr 1fr}.laboratory-case-list article>div{grid-template-columns:1fr}}.task-panel{grid-column:1/-1;overflow:visible}.task-panel>header{align-items:flex-start}.task-panel>header h2{margin-bottom:3px}.task-panel>header p{margin:0;color:var(--muted);font-size:9px}.task-panel>header>div:last-child{display:flex;gap:7px}.task-panel>header button{display:flex;align-items:center;gap:5px}.task-add-button{background:#7727c7!important;color:#fff!important;border-color:#7727c7!important}.task-summary{display:grid;grid-template-columns:repeat(3,minmax(0,150px));grid-gap:9px;gap:9px;padding:14px 16px 0}.task-summary button{padding:11px 13px;border:1px solid #e4ddec;border-radius:11px;background:#fff;color:#3d3347;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.task-summary button.active{border-color:#8e45cf;background:#f8f1ff;box-shadow:0 0 0 2px rgba(142,69,207,.08)}.task-summary button.overdue b{color:#c72f48}.task-summary small{color:#7e7387;font-size:9px}.task-summary b{font-size:18px}.task-create-form{display:grid;grid-template-columns:2fr repeat(4,1fr);grid-gap:10px;gap:10px;margin:14px 16px 0;padding:16px;border:1px solid #dfd4e8;border-radius:13px;background:#faf8fd}.task-create-form label,.task-edit-form label{display:grid;grid-gap:6px;gap:6px;color:#62566c;font-size:9px;font-weight:800}.task-create-form .wide,.task-edit-form .wide{grid-column:1/-1}.task-create-form input,.task-create-form select,.task-create-form textarea,.task-edit-form input,.task-edit-form select,.task-edit-form textarea{width:100%;padding:9px 10px;border:1px solid #ddd5e3;border-radius:8px;background:#fff;color:#302839;font:inherit}.task-create-form input,.task-create-form select,.task-edit-form input,.task-edit-form select{height:40px}.task-create-form textarea,.task-edit-form textarea{resize:vertical;line-height:1.45}.task-create-form footer{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px}.task-message{margin:12px 16px 0;padding:9px 11px;border-radius:8px;background:#eef8f3;color:#297047;font-size:9px}.task-message.error{background:#fff0f2;color:#a52f43}.task-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px 10px}.task-toolbar label{width:min(430px,100%);height:39px;padding:0 11px;border:1px solid #e0d9e5;border-radius:9px;background:#fff;display:flex;align-items:center;gap:8px;color:#8b8192}.task-toolbar input{min-width:0;flex:1 1;border:0;outline:0;background:transparent;font:inherit;font-size:10px}.task-toolbar select{height:39px;padding:0 10px;border:1px solid #e0d9e5;border-radius:9px;background:#fff;color:#594f62;font-size:10px}.task-list{padding:0 16px 15px}.task-list article[role=button]{display:grid;grid-template-columns:6px minmax(0,1fr) minmax(130px,auto) 24px;align-items:center;grid-gap:13px;gap:13px;margin-bottom:7px;padding:12px 13px;border:1px solid #ebe5ef;border-radius:11px;background:#fff;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}.task-list article[role=button]:focus-visible,.task-list article[role=button]:hover{outline:0;border-color:#b990db;box-shadow:0 7px 20px rgba(55,31,75,.08);transform:translateY(-1px)}.task-list article>i{width:6px;height:42px;border-radius:8px;background:#9b83af}.task-list article.high>i{background:#ef9b32}.task-list article.overdue>i,.task-list article.urgent>i{background:#d83e52}.task-list article.completed{opacity:.65}.task-title-line{display:flex;align-items:center;gap:8px}.task-title-line b{font-size:11px}.task-title-line em{padding:3px 6px;border-radius:99px;background:#f0ebf4;color:#675a70;font-size:7px;font-style:normal;font-weight:900}.task-main p{max-width:760px;margin:4px 0;overflow:hidden;color:#6b6172;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.task-main>small,.task-meta small{display:flex;align-items:center;gap:5px;color:#81768a;font-size:8px}.task-main>small strong{margin-left:5px;color:#c72f48;font-size:7px}.task-meta{display:grid;justify-items:start;grid-gap:5px;gap:5px}.task-open-icon{color:#9a87a8}.task-empty{padding:42px;text-align:center;color:var(--muted)}.task-empty b{display:block;margin-top:7px}.task-empty p{font-size:9px}.task-modal-backdrop{position:fixed;z-index:210;inset:0;padding:18px;background:rgba(20,11,31,.56);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:grid;place-items:center}.task-detail-modal{width:min(920px,100%);max-height:94vh;border-radius:18px;background:#fff;box-shadow:0 28px 85px rgba(22,12,34,.34);overflow:hidden;display:flex;flex-direction:column}.task-detail-modal>header{flex:0 0 auto;min-height:74px;padding:13px 18px;border-bottom:1px solid #e8e1ed;display:flex;align-items:center;gap:12px}.task-priority-mark{width:7px;height:42px;border-radius:99px;background:#9b83af}.task-priority-mark.high{background:#ef9b32}.task-priority-mark.urgent{background:#d83e52}.task-detail-modal>header h3,.task-detail-modal>header small{display:block}.task-detail-modal>header small{color:#7e7287;font-size:8px;text-transform:uppercase;letter-spacing:.08em}.task-detail-modal>header h3{margin:3px 0 0;font-size:16px}.task-detail-modal>header>button{margin-left:auto;width:34px;height:34px;border:1px solid #e1d9e7;border-radius:9px;background:#fff;color:#716679;display:grid;place-items:center;cursor:pointer}.task-detail-body{min-height:0;overflow:auto;padding:18px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);grid-gap:18px;gap:18px;background:#faf9fb}.task-edit-form{align-content:start;display:grid;grid-template-columns:repeat(3,1fr);grid-gap:11px;gap:11px;padding:16px;border:1px solid #e5dee9;border-radius:13px;background:#fff}.task-edit-form label:nth-of-type(5){grid-column:span 3}.task-edit-form select:disabled{background:#f3f1f5;color:#817887}.task-context{padding:11px;border-radius:9px;background:#f6f2f8;color:#665b70;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:9px}.task-context span{display:flex;align-items:center;gap:6px}.task-context small{color:#8c8293}.task-save{grid-column:1/-1;justify-self:end}.task-notes{min-height:0;border:1px solid #e5dee9;border-radius:13px;background:#fff;display:flex;flex-direction:column;overflow:hidden}.task-notes>header{padding:13px 14px;border-bottom:1px solid #ebe5ef}.task-notes>header>div{display:flex;align-items:center;gap:8px;color:#7129ad}.task-notes header b,.task-notes header small{display:block}.task-notes header b{font-size:11px}.task-notes header small{margin-top:2px;color:#887d90;font-size:8px}.task-note-list{min-height:110px;max-height:280px;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:8px;background:#faf9fb}.task-note-list article{padding:10px;border:1px solid #e5dfe9;border-radius:9px;background:#fff}.task-note-list p{margin:0;color:#443b4c;font-size:9px;line-height:1.5;white-space:pre-wrap}.task-note-list small{display:block;margin-top:6px;color:#887e90;font-size:7px}.task-notes-empty{margin:auto;color:#918797;font-size:9px}.task-notes>form{padding:11px;border-top:1px solid #ebe5ef}.task-notes textarea{width:100%;padding:9px;border:1px solid #ddd5e3;border-radius:8px;resize:vertical;font:inherit;font-size:9px}.task-notes form button{margin-top:7px}.task-detail-modal>footer{flex:0 0 auto;padding:12px 18px;border-top:1px solid #e8e1ed;background:#fff;display:flex;justify-content:flex-end;gap:8px}.task-complete{height:42px;padding:0 14px;border:0;border-radius:10px;background:#23875e;color:#fff;gap:6px;font-weight:800;cursor:pointer}.task-complete,.task-detail-loading{display:flex;align-items:center;font-size:10px}.task-detail-loading{padding:50px;justify-content:center;gap:9px;color:#776b80}.spin{animation:task-spin 1s linear infinite}@keyframes task-spin{to{transform:rotate(1turn)}}@media(max-width:850px){.task-create-form{grid-template-columns:1fr 1fr}.task-detail-body{grid-template-columns:1fr}.task-summary{grid-template-columns:repeat(3,1fr)}.task-list article[role=button]{grid-template-columns:6px 1fr 22px}.task-meta{grid-column:2}.task-open-icon{grid-column:3;grid-row:1/3}.task-edit-form{grid-template-columns:1fr 1fr}.task-edit-form label:nth-of-type(5){grid-column:span 2}}@media(max-width:560px){.task-create-form,.task-edit-form{grid-template-columns:1fr}.task-create-form .wide,.task-edit-form .wide,.task-edit-form label:nth-of-type(5){grid-column:auto}.task-toolbar{align-items:stretch;flex-direction:column}.task-toolbar label{width:100%}.task-detail-body{padding:10px}.task-context{align-items:flex-start;flex-direction:column}.task-modal-backdrop{padding:0}.task-detail-modal{height:100dvh;max-height:none;border-radius:0}}.help-assistant{position:fixed;right:22px;bottom:20px;z-index:110;font-family:inherit}.help-launcher{height:64px;padding:0 20px 0 4px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:linear-gradient(135deg,#8c2fe8,#651cc2);color:#fff;display:flex;align-items:center;gap:8px;cursor:pointer;box-shadow:0 14px 34px rgba(91,29,157,.3);transition:transform .18s ease,box-shadow .18s ease}.help-launcher:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(91,29,157,.38)}.help-launcher:focus-visible{outline:3px solid #cda5f5;outline-offset:3px}.help-avatar,.help-launcher span{display:grid;place-items:center;background:transparent}.help-launcher span{width:64px;height:82px;align-self:flex-end}.help-avatar img,.help-launcher img{width:100%;height:100%;object-fit:contain}.help-launcher b{font-size:12px}.help-panel{width:min(400px,calc(100vw - 28px));height:min(620px,calc(100vh - 35px));border:1px solid #ddd2e8;border-radius:20px;background:#fff;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 24px 65px rgba(32,18,46,.28)}.help-panel>header{min-height:76px;padding:8px 10px 7px;background:linear-gradient(135deg,#351f4d,#7125bd);color:#fff;display:flex;align-items:center;gap:7px}.help-avatar{width:58px;height:64px;flex:0 0 auto}.help-panel>header>span:nth-child(2){min-width:0;flex:1 1}.help-panel>header b,.help-panel>header small{display:block}.help-panel>header b{font-size:14px}.help-panel>header small{margin-top:2px;color:#eadcf7;font-size:9px}.help-panel>header button{width:30px;height:30px;border:0;border-radius:8px;background:rgba(255,255,255,.1);color:#fff;display:grid;place-items:center;cursor:pointer}.help-panel>header button:hover{background:rgba(255,255,255,.2)}.help-safety{padding:9px 12px;background:#fff8e8;color:#765310;display:flex;align-items:flex-start;gap:7px;font-size:9px;line-height:1.45}.help-safety svg{flex:0 0 auto}.help-messages{min-height:0;flex:1 1;overflow:auto;padding:15px;background:#f8f6fa;display:flex;flex-direction:column;gap:9px}.help-message{max-width:88%;padding:10px 12px;border-radius:12px;font-size:11px;line-height:1.55;white-space:pre-wrap}.help-message.assistant{align-self:flex-start;border:1px solid #e2d9e9;border-bottom-left-radius:3px;background:#fff;color:#30273a}.help-message.user{align-self:flex-end;border-bottom-right-radius:3px;background:#7626c7;color:#fff}.help-message.waiting{color:#86798e;font-style:italic}.help-suggestions{padding:10px 12px 0;background:#fff;display:flex;flex-wrap:wrap;gap:6px}.help-suggestions small{width:100%;color:#786b82;font-size:9px;font-weight:750;text-transform:uppercase;letter-spacing:.06em}.help-suggestions button{padding:7px 9px;border:1px solid #d8c5eb;border-radius:999px;background:#faf6ff;color:#6323a3;font-size:9px;font-weight:750;cursor:pointer}.help-suggestions button:hover{background:#f1e5fc}.help-panel>form{padding:11px;border-top:1px solid #e6e0eb;background:#fff;display:grid;grid-template-columns:1fr 40px;grid-gap:7px;gap:7px}.help-panel>form input{min-width:0;height:41px;padding:0 12px;border:1px solid #d9d0df;border-radius:10px;font:inherit;font-size:11px}.help-panel>form input:focus{outline:0;border-color:#9d58df;box-shadow:0 0 0 3px #f1e7fa}.help-panel>form button{border:0;border-radius:10px;background:#7a28ca;color:#fff;display:grid;place-items:center;cursor:pointer}.help-panel>form button:disabled{opacity:.45;cursor:not-allowed}.help-panel button:focus-visible,.help-suggestions button:focus-visible{outline:2px solid #cda5f5;outline-offset:2px}@media(max-width:600px){.help-assistant{right:10px;bottom:10px}.help-launcher{height:58px;padding-right:15px}.help-launcher span{width:56px;height:72px}.help-panel{width:calc(100vw - 20px);height:min(650px,calc(100dvh - 20px));border-radius:16px}}.help-message-sources{display:block;margin-top:8px;padding-top:7px;border-top:1px solid #eee8f2;color:#786b82;font-size:8px;line-height:1.4;white-space:normal}.help-assistant{touch-action:none}.help-launcher{cursor:-webkit-grab;cursor:grab}.help-launcher:active{cursor:-webkit-grabbing;cursor:grabbing}.help-panel{touch-action:auto}.help-panel>header{cursor:-webkit-grab;cursor:grab;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.help-panel>header:active{cursor:-webkit-grabbing;cursor:grabbing}.help-drag-icon{flex:0 0 auto;color:#d8b9f3}.follow-up-summary{display:grid;grid-template-columns:220px minmax(260px,1fr) 220px;grid-gap:12px;gap:12px;margin-bottom:18px}.follow-up-summary>label,.follow-up-summary>span{padding:15px 17px;border:1px solid #e4ddec;border-radius:13px;background:#fff}.follow-up-summary b,.follow-up-summary small{display:block}.follow-up-summary small{color:var(--muted);font-size:10px}.follow-up-summary b{margin-top:5px;font-size:22px}.follow-up-summary label{display:grid;grid-gap:6px;gap:6px;color:var(--muted);font-size:10px;font-weight:750}.follow-up-summary select{height:36px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 9px}.follow-up-list{overflow:hidden;border:1px solid #e3dbea;border-radius:15px;background:#fff}.follow-up-list>article,.follow-up-list>header{display:grid;grid-template-columns:90px minmax(150px,1fr) 145px 110px minmax(180px,1.2fr) 110px minmax(260px,auto);grid-gap:12px;gap:12px;align-items:center;padding:12px 15px}.follow-up-list>header{background:#1b1228;color:#ded1e8;font-size:9px;font-weight:800;text-transform:uppercase}.follow-up-list>article{border-top:1px solid #eee9f2}.follow-up-list>article.overdue{background:#fff9f2}.follow-up-list span b,.follow-up-list span small,.follow-up-patient b,.follow-up-patient small{display:block}.follow-up-list span b,.follow-up-patient b{font-size:11px}.follow-up-list span small,.follow-up-patient small{margin-top:3px;color:var(--muted);font-size:8px}.follow-up-patient{border:0;background:transparent;color:#6422a9;text-align:left;cursor:pointer}.follow-up-phone a{display:flex;align-items:center;gap:4px;color:#185e72;font-size:10px;text-decoration:none}.follow-up-phone em{color:var(--muted);font-size:9px}.follow-up-list article>strong{font-size:13px}.space-traffic-light{width:67px;padding:6px 8px;border:1px solid #513078;border-radius:999px;background:linear-gradient(145deg,#20102f,#42205c);display:flex;justify-content:space-between;box-shadow:inset 0 0 8px #050208,0 4px 12px rgba(59,27,87,.22)}.space-traffic-light button{width:13px;height:13px;padding:0;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:#63586a;opacity:.36;cursor:pointer}.space-traffic-light button.on{opacity:1;box-shadow:0 0 10px currentColor,0 0 3px #fff}.space-traffic-light .red{color:#ff4c63}.space-traffic-light .red.on{background:#ff4058}.space-traffic-light .amber{color:#ffbd35}.space-traffic-light .amber.on{background:#ffb627}.space-traffic-light .green{color:#3fea9a}.space-traffic-light .green.on{background:#32df8e}.follow-up-actions{display:flex;gap:5px;flex-wrap:wrap}.follow-up-actions button{display:flex;align-items:center;gap:4px;padding:7px 8px;border:1px solid #ddd3e6;border-radius:8px;background:#fff;color:#56316f;font-size:8px;font-weight:800;cursor:pointer}.follow-up-actions button.decline{border-color:#efcaca;color:#a83342;background:#fff8f8}.follow-up-empty{padding:55px;text-align:center;color:var(--muted)}.follow-up-empty svg{width:30px;height:30px}.follow-up-empty b{display:block;margin-top:8px;color:var(--ink)}.follow-up-empty p{font-size:10px}.follow-up-message{color:#167453;font-size:10px;font-weight:750}.follow-up-date-modal{width:min(440px,94vw)}.follow-up-date-modal form{padding:18px}.follow-up-date-modal label{display:grid;grid-gap:6px;gap:6px;font-size:11px;font-weight:750}.follow-up-date-modal input{height:42px;padding:0 10px;border:1px solid var(--line);border-radius:9px}.follow-up-date-modal footer{display:flex;justify-content:flex-end;gap:8px;margin-top:17px}@media(max-width:1100px){.follow-up-list{overflow-x:auto}.follow-up-list>article,.follow-up-list>header{min-width:1120px}}@media(max-width:700px){.follow-up-summary{grid-template-columns:1fr}.follow-up-list>header{display:none}.follow-up-list>article{min-width:0;grid-template-columns:75px 1fr;padding:14px}.follow-up-list>article>:nth-child(n+3){grid-column:2}.follow-up-actions{grid-column:1/-1!important}.follow-up-actions button{flex:1 1;justify-content:center}.follow-up-list article>strong{grid-column:2}}.enquiries-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:1.5rem;flex-wrap:wrap}.enquiries-heading h1{margin:.3rem 0}.enquiries-heading p{color:#665d73}.enquiries-add{display:flex;gap:.5rem;align-items:flex-end;flex-wrap:wrap}.enquiries-add label{width:100%;font-size:.8rem}.enquiries-add select,.enquiries-card select{min-height:36px;border:1px solid #d8d2e5;border-radius:8px;background:white;padding:.4rem}.enquiries-add button{background:#7727db;color:white;border:0;border-radius:8px;padding:.65rem 1rem;cursor:pointer}.enquiries-add button:disabled{opacity:.5}.enquiries-board{display:flex;gap:1rem;overflow-x:auto;padding:1rem 0 1.5rem;scroll-snap-type:x proximity}.enquiries-lane{flex:0 0 250px;min-height:320px;background:#f5f0fb;border:1px solid #e4dcef;border-radius:14px;padding:.8rem;scroll-snap-align:start}.enquiries-lane h2{font-size:.91rem;display:flex;justify-content:space-between;gap:.4rem;min-height:2rem}.enquiries-lane h2 span{background:white;border-radius:20px;padding:.1rem .45rem}.enquiries-card{background:white;border:1px solid #e6deeb;border-radius:12px;padding:.8rem;margin:.65rem 0;box-shadow:0 2px 8px #2313330d;display:grid;grid-gap:.35rem;gap:.35rem;cursor:-webkit-grab;cursor:grab}.enquiries-card:active{cursor:-webkit-grabbing;cursor:grabbing}.enquiries-card small,.enquiries-card time{color:#625b6e;font-size:.75rem}.enquiries-card label{display:grid;grid-gap:.2rem;gap:.2rem;font-size:.72rem}.enquiries-name{padding:0;border:0;background:none;text-align:left;color:#6224ae;font-weight:700;cursor:pointer}.enquiries-error{color:#a21e40;font-size:.82rem}.enquiries-page :focus-visible{outline:3px solid #a74df1;outline-offset:2px}@media(max-width:650px){.enquiries-lane{flex-basis:82vw}}.enquiries-new-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.65rem;margin:1.1rem 0;padding:1rem;background:#fff;border:1px solid #e4dcef;border-radius:14px}.enquiries-new-form h2{width:100%;margin:0;font-size:1rem}.enquiries-new-form label{display:grid;grid-gap:.2rem;gap:.2rem;font-size:.75rem}.enquiries-new-form input{min-height:36px;border:1px solid #d8d2e5;border-radius:8px;padding:.4rem}.enquiries-new-form button{min-height:36px;border:0;border-radius:8px;background:#7727db;color:#fff;padding:0 1rem;cursor:pointer}.enquiries-new-form button:disabled{opacity:.5}.enquiries-card a{overflow-wrap:anywhere;font-size:.78rem}.enquiries-card.is-repair{border-color:#f0b46c;box-shadow:0 2px 10px #d9770620}.enquiry-type-badge{justify-self:start;border-radius:999px;padding:.22rem .55rem;font-size:.68rem;font-weight:800;letter-spacing:.02em}.enquiry-type-badge.repair{background:#fff0d8;color:#9a4d00;border:1px solid #f0b46c}.enquiry-type-badge.consultation{background:#efe7ff;color:#6324a8;border:1px solid #cdb4f3;font-size:0}.enquiry-type-badge.consultation:after{content:"Denture enquiry";font-size:.68rem}.enquiries-lane.is-manual{background:#edf7f5;border-color:#b9ddd5}.enquiries-manual-form{display:grid;grid-gap:.55rem;gap:.55rem;margin:.65rem 0 1rem;padding:.75rem;background:#fff;border:1px solid #cde5df;border-radius:12px}.enquiries-manual-form p{margin:0;color:#50645f;font-size:.76rem;line-height:1.35}.enquiries-manual-form label{display:grid;grid-gap:.2rem;gap:.2rem;font-size:.72rem;font-weight:700;color:#3d514c}.enquiries-manual-form input{width:100%;min-height:36px;border:1px solid #c5d8d3;border-radius:8px;padding:.4rem .5rem;font:inherit}.enquiries-manual-form button{min-height:38px;border:0;border-radius:8px;background:#176e5c;color:#fff;padding:.5rem .7rem;font-weight:700;cursor:pointer}.enquiries-manual-form button:disabled{opacity:.55;cursor:wait}.online-estimates-heading small{color:#7c31ca;font-weight:800;letter-spacing:.1em}.online-estimates-heading h1{margin:.35rem 0}.online-estimates-heading p{color:#665d73;max-width:750px}.online-estimates-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,1fr);grid-gap:1rem;gap:1rem;margin-top:1.2rem;align-items:start;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-gutter:stable;padding:0 0 .85rem}.online-estimates-lane{min-height:380px;background:#f5f0fb;border:1px solid #e4dcef;border-radius:16px;padding:1rem;transition:border-color .15s,background .15s,box-shadow .15s}.online-estimates-lane[data-stage=CALLBACK_REQUESTED]{background:#eef6ff;border-color:#b8d7f2}.online-estimates-lane[data-stage=BOOKED_CONSULT]{background:#eef8f3;border-color:#cbe5d8}.online-estimates-lane[data-stage=DEAD]{background:#f5f3f5;border-color:#ddd7df}.online-estimates-lane.is-drop-target{background:#eee2ff;border-color:#7c31ca;box-shadow:0 0 0 3px #7c31ca1f}.online-estimates-lane h2{display:flex;justify-content:space-between;gap:1rem;font-size:1rem}.online-estimates-lane h2 span{background:#fff;border-radius:999px;padding:.1rem .55rem}.online-estimate-card{display:grid;grid-gap:.42rem;gap:.42rem;margin:.75rem 0;padding:1rem;border:1px solid #e5dbea;border-radius:13px;background:#fff;box-shadow:0 3px 12px #2313330c;cursor:-webkit-grab;cursor:grab;transition:opacity .15s,transform .15s}.online-estimate-card:active{cursor:-webkit-grabbing;cursor:grabbing}.online-estimate-card.is-dragging{opacity:.45;transform:scale(.98)}.online-estimate-name{border:0;background:transparent;padding:0;text-align:left;color:#6724b2;font-weight:800;font-size:1rem;cursor:pointer}.online-estimate-card a{font-size:.82rem;overflow-wrap:anywhere}.online-estimate-card strong{font-size:1.2rem}.online-estimate-card small,.online-estimate-card time{color:#6b6372;font-size:.75rem}.online-estimate-card em{justify-self:start;padding:.25rem .55rem;border-radius:999px;background:#eee2ff;color:#6420aa;font-size:.73rem;font-style:normal;font-weight:700}.online-estimate-stage{display:grid;grid-gap:.25rem;gap:.25rem;margin-top:.3rem;color:#5f5668;font-size:.75rem;font-weight:700}.online-estimate-stage select{width:100%;border:1px solid #d8cde3;border-radius:8px;background:#fff;color:#34283d;padding:.48rem .55rem;font:inherit}.online-estimate-stage select:focus{outline:2px solid #7c31ca;outline-offset:1px}.online-estimates-empty{color:#6b6372;border:1px dashed #cfc3da;border-radius:10px;padding:1rem;text-align:center}.online-estimates-error{color:#a21e40}@media(max-width:760px){.online-estimates-board{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:1fr;overflow:visible;scrollbar-gutter:auto}}.online-offer-panel{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(380px,1.2fr);grid-gap:1.2rem;gap:1.2rem;margin:1.35rem 0;padding:1.2rem;border:1px solid #e0c7d3;border-radius:16px;background:linear-gradient(135deg,#fff7fb,#faf5ff)}.online-offer-panel small{color:#b01f61;font-weight:800;letter-spacing:.1em}.online-offer-panel h2{margin:.35rem 0}.online-offer-panel p{color:#665d73}.online-offer-panel form{display:grid;grid-gap:.75rem;gap:.75rem}.online-offer-panel label{display:grid;grid-gap:.3rem;gap:.3rem;font-size:.8rem;font-weight:800}.online-offer-panel input,.online-offer-panel textarea{width:100%;border:1px solid #d8cde3;border-radius:8px;background:#fff;padding:.62rem;font:inherit}.online-offer-controls{display:flex;gap:.75rem;align-items:flex-end;flex-wrap:wrap}.online-offer-controls>label:first-child{width:125px}.online-offer-active{display:flex!important;grid-auto-flow:column;align-items:center;justify-content:flex-start;padding-bottom:.7rem}.online-offer-active input{width:auto}.online-offer-status,.online-offer-warning{grid-column:1/-1;margin:0!important;font-size:.78rem}.online-offer-status{color:#522070!important;font-weight:700}.online-estimates-lane[data-stage=OFFER_APPLIED]{background:#fff0f6;border-color:#e6b4ca}@media(max-width:760px){.online-offer-panel{grid-template-columns:1fr}}.prescriptions-page{display:grid;grid-gap:18px;gap:18px}.prescription-completed-toggle{display:flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid #dce2ea;border-radius:10px;background:#fff;color:#485567;font-size:12px;font-weight:750}.prescription-completed-toggle input{accent-color:#7b2ed6}.prescription-summary{display:grid;grid-template-columns:repeat(2,minmax(180px,260px));grid-gap:14px;gap:14px}.prescription-summary>div{display:flex;align-items:center;gap:13px;padding:18px;border:1px solid #e4dcef;border-radius:14px;background:#fff}.prescription-summary svg{color:#7b2ed6}.prescription-summary b,.prescription-summary small,.prescription-summary span{display:block}.prescription-summary small{color:#768195;font-size:10px;font-weight:750;text-transform:uppercase}.prescription-summary b{margin-top:3px;font-size:24px}.prescription-worklist{display:grid;grid-gap:10px;gap:10px}.prescription-worklist article{display:grid;grid-template-columns:auto minmax(210px,1.4fr) minmax(170px,1fr) minmax(240px,1.4fr) auto;align-items:center;grid-gap:15px;gap:15px;padding:16px 18px;border:1px solid #e1e5eb;border-radius:14px;background:#fff}.prescription-worklist article.completed{background:#f7faf8;color:#66746c}.prescription-check{display:grid;place-items:center;width:28px;height:28px;border:2px solid #8f55cf;border-radius:8px;background:#fff;color:#fff;cursor:pointer}.completed .prescription-check{border-color:#42a36b;background:#42a36b}.prescription-worklist b,.prescription-worklist em,.prescription-worklist small,.prescription-worklist span{display:block}.prescription-worklist small{color:#818a99;font-size:9px;font-weight:800;text-transform:uppercase}.prescription-worklist b{margin-top:3px;color:#283142;font-size:13px}.prescription-worklist em{margin-top:3px;color:#6c7585;font-size:10px;font-style:normal}.prescription-patient b{font-size:15px}.prescription-worklist-message{margin:0;padding:12px 14px;border-radius:10px;background:#fff1f2;color:#9e273c;font-size:11px;font-weight:750}.prescription-empty{display:grid;place-items:center;min-height:210px;padding:30px;border:1px dashed #d8dce5;border-radius:14px;background:#fff;color:#778092;text-align:center}.prescription-empty b{margin-top:8px;color:#364052}.prescription-empty p{margin:5px 0 0}@media(max-width:900px){.prescription-worklist article{grid-template-columns:auto 1fr}.prescription-worklist article>span:not(.prescription-patient){grid-column:2}.prescription-worklist article>.secondary{grid-column:2;justify-self:start}}@media(max-width:560px){.prescription-summary{grid-template-columns:1fr}.prescription-completed-toggle{width:max-content}.prescription-worklist article{grid-template-columns:auto 1fr;padding:14px}}.notes-likelihood{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 18px;border-bottom:1px solid #e7dfee;background:linear-gradient(90deg,#fbf8ff,#f6f1fb)}.notes-likelihood>div:first-child b,.notes-likelihood>div:first-child small{display:block}.notes-likelihood>div:first-child b{font-size:11px}.notes-likelihood>div:first-child small{margin-top:2px;color:var(--muted);font-size:8px}.notes-traffic-light{display:flex;gap:7px;padding:6px 9px;border:1px solid #50306e;border-radius:999px;background:linear-gradient(145deg,#1c1029,#412059);box-shadow:inset 0 0 9px #08030c}.notes-traffic-light button{display:flex;align-items:center;gap:4px;border:0;background:transparent;color:#c6bacd;font-size:8px;cursor:pointer;opacity:.55}.notes-traffic-light i{width:12px;height:12px;border-radius:50%;background:#716777;border:1px solid rgba(255,255,255,.22)}.notes-traffic-light button.on{color:#fff;opacity:1}.notes-traffic-light .red.on i{background:#ff4058;box-shadow:0 0 10px #ff4058}.notes-traffic-light .amber.on i{background:#ffb627;box-shadow:0 0 10px #ffb627}.notes-traffic-light .green.on i{background:#32df8e;box-shadow:0 0 10px #32df8e}@media(max-width:650px){.notes-likelihood{align-items:flex-start;flex-direction:column}.notes-traffic-light{width:100%;justify-content:space-around}.notes-traffic-light button span{display:none}}.ct-page{max-width:1280px;margin:0 auto;padding:30px;color:#24313e}.ct-page *{box-sizing:border-box}.ct-hero{display:flex;align-items:center;gap:20px;padding:30px;border-radius:20px;background:linear-gradient(115deg,#281c3a,#513367);color:white}.ct-hero h1{font-size:30px;letter-spacing:-1px;margin:8px 0}.ct-hero p{margin:0;color:#e4dbe9;line-height:1.5}.ct-eyebrow{font-size:12px;color:#eadcb7;letter-spacing:.8px}.ct-hero-icon{display:grid;place-items:center;width:60px;height:60px;border-radius:18px;background:#ffffff14;color:#e1c273;flex-shrink:0}.ct-status{margin-left:auto;white-space:nowrap;background:#ffffff16;border:1px solid #ffffff30;padding:8px 12px;border-radius:30px;font-size:12px}.ct-connection{display:flex;gap:12px;margin:20px 0;padding:16px 20px;background:#faf7ee;border:1px solid #e9ddbd;border-radius:12px;color:#615033}.ct-connection svg{flex-shrink:0}.ct-connection p{margin:4px 0 0;font-size:13px;line-height:1.5}.ct-layout{display:grid;grid-template-columns:255px 1fr;grid-gap:22px;gap:22px;align-items:flex-start}.ct-nav{display:grid;grid-gap:7px;gap:7px}.ct-nav button{display:flex;gap:12px;text-align:left;align-items:center;padding:14px;border:1px solid transparent;border-radius:12px;background:transparent;color:#526172;cursor:pointer}.ct-nav button.selected{background:#ede7f4;color:#4f3268;border-color:#dbcee7}.ct-nav button span{display:grid;grid-gap:4px;gap:4px}.ct-nav button b{font-size:13px}.ct-nav button small{font-size:11px;color:#66717f}.ct-scope{display:flex;gap:9px;border-top:1px solid #dfe3e8;margin-top:14px;padding:22px 12px;font-size:12px;line-height:1.6;color:#75808b}.ct-panel{padding:28px;background:white;border:1px solid #e0e5ea;border-radius:16px;min-height:540px}.ct-panel fieldset{border:0;padding:0;margin:0;min-width:0}.ct-panel h2{margin:0 0 8px;font-size:22px;letter-spacing:-.4px}.ct-intro,.ct-section-heading p{color:#697684;font-size:14px;line-height:1.6;margin:0 0 24px}.ct-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:22px;gap:22px}.ct-field{display:flex;flex-direction:column;gap:8px;min-width:0}.ct-field span{font-size:13px;font-weight:650;color:#344252}.ct-field small{font-size:12px;line-height:1.5;color:#75808b}.ct-field input,.ct-field textarea,.ct-search{width:100%;border:1px solid #cfd6dd;border-radius:9px;padding:12px;font:inherit;font-size:14px;background:#fcfcfe;color:#263747}.ct-field textarea{resize:vertical;line-height:1.65;min-height:100px}.ct-field input:focus,.ct-field textarea:focus,.ct-search:focus{outline:2px solid #8966a8;outline-offset:2px}.ct-wide{grid-column:1/-1}.ct-page button{font-family:inherit}.ct-page button:focus-visible{outline:3px solid #9972b8;outline-offset:3px}.ct-page button:disabled{opacity:.55;cursor:not-allowed}.ct-section-heading{display:flex;gap:20px;align-items:flex-start;justify-content:space-between}.ct-pair-top button,.ct-preview button,.ct-section-heading button{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid #d7cbe2;border-radius:8px;background:#f8f5fb;color:#56396c;cursor:pointer;flex-shrink:0}.ct-empty{text-align:center;padding:48px 20px;border:1px dashed #d8cde2;border-radius:12px;color:#75808b;background:#fbfafc;font-size:14px;line-height:1.6}.ct-empty svg{color:#9c85b0}.ct-empty h3{color:#526071}.ct-pair{border:1px solid #e1e5ea;border-radius:12px;padding:18px;margin-top:16px;display:grid;grid-gap:16px;gap:16px}.ct-pair-top{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#73568a}.ct-pair-top button{padding:6px}.ct-tip{padding:16px;border-radius:10px;background:#f1f5f8;color:#536676;font-size:13px;line-height:1.6;margin-top:24px}.ct-savebar{position:-webkit-sticky;position:sticky;bottom:16px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 22px;margin-top:22px;border:1px solid #ddd5e5;border-radius:12px;background:#ffffffef;box-shadow:0 5px 20px #2a183516;font-size:13px;color:#66717f}.ct-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:9px;padding:12px 18px;background:#573774;color:#fff;font-weight:600;cursor:pointer}.ct-error{color:#a22c37;margin:6px 0;max-width:650px}.ct-review-summary{display:flex;gap:25px;flex-wrap:wrap;padding:24px 0;color:#76808b;font-size:13px}.ct-review-summary b{color:#533569}.ct-preview{padding:20px;border:1px solid #e4deea;border-radius:12px;margin-bottom:12px}.ct-preview small{font-size:11px;color:#73548f;text-transform:uppercase;letter-spacing:1px}.ct-preview h3{font-size:16px;margin:10px 0}.ct-preview p{white-space:pre-wrap;font-size:14px;line-height:1.65;color:#647181}.ct-approval{border-top:1px solid #e5dfeb;margin-top:25px;padding-top:20px}.ct-approval h3{font-size:17px}.ct-approval p{font-size:13px;line-height:1.7;color:#647181}.ct-approval small{display:block;margin-top:12px;color:#77818d}@media(max-width:1000px){.ct-layout{grid-template-columns:1fr}.ct-nav{grid-template-columns:repeat(3,1fr)}.ct-scope,.ct-status{display:none}}@media(max-width:650px){.ct-page{padding:14px}.ct-hero{padding:22px;gap:12px}.ct-hero-icon{display:none}.ct-hero h1{font-size:24px}.ct-grid{grid-template-columns:1fr}.ct-nav{grid-template-columns:1fr 1fr}.ct-nav button{padding:10px;gap:7px}.ct-nav button small{display:none}.ct-panel{padding:20px}.ct-section-heading{flex-direction:column}.ct-savebar{bottom:8px;padding:12px}.ct-hero p{font-size:13px}}.ct-test-thread{margin:20px 0}.ct-message-user{background:#f4f0f8;margin-left:35px}.ct-test-actions{display:flex;gap:12px;margin-top:15px;align-items:center}.ct-test-actions>button:not(.ct-primary){background:white;border:1px solid #d7cbe2;border-radius:9px;padding:12px;color:#56396c;cursor:pointer}.staff-chat{position:fixed;z-index:115;right:205px;bottom:22px;font-family:inherit;touch-action:none}.staff-chat-launcher{height:48px;padding:0 15px;border:0;border-radius:999px;background:#1f1830;color:#fff;display:flex;align-items:center;gap:8px;box-shadow:0 12px 30px rgba(27,18,44,.25);cursor:-webkit-grab;cursor:grab;touch-action:none}.staff-chat-launcher:active{cursor:-webkit-grabbing;cursor:grabbing}.staff-chat-launcher span{font-size:11px;font-weight:800}.staff-chat-launcher i,.staff-chat-panel nav i{min-width:21px;height:21px;padding:0 5px;border-radius:99px;background:#ed365d;color:#fff;display:grid;place-items:center;font-size:9px;font-style:normal;font-weight:900}.staff-chat-panel{width:min(650px,calc(100vw - 28px));height:min(570px,calc(100vh - 35px));border:1px solid #ddd4e7;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 25px 70px rgba(30,18,47,.3);display:flex;flex-direction:column;touch-action:auto}.staff-chat-panel>header{height:68px;padding:0 16px;background:linear-gradient(135deg,#2a1b3e,#6924ad);color:#fff;display:flex;align-items:center;gap:8px;cursor:-webkit-grab;cursor:grab;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.staff-chat-panel>header:active{cursor:-webkit-grabbing;cursor:grabbing}.staff-chat-panel>header>span{min-width:0;flex:1 1}.staff-chat-drag{flex:0 0 auto;color:#d8b9f3}.staff-chat-panel>header b,.staff-chat-panel>header small{display:block}.staff-chat-panel>header b{font-size:14px}.staff-chat-panel>header small{margin-top:3px;color:#e6d8f2;font-size:9px}.staff-chat-panel>header button{width:32px;height:32px;border:0;border-radius:8px;background:rgba(255,255,255,.12);color:#fff;display:grid;place-items:center;cursor:pointer}.staff-chat-layout{min-height:0;flex:1 1;display:grid;grid-template-columns:205px 1fr}.staff-chat-layout>nav{min-height:0;overflow:auto;padding:8px;border-right:1px solid #e8e2ed;background:#f8f6fa}.staff-chat-layout>nav>button{width:100%;padding:9px 8px;border:0;border-radius:10px;background:transparent;color:#352b40;display:grid;grid-template-columns:32px 1fr auto;align-items:center;grid-gap:8px;gap:8px;text-align:left;cursor:pointer}.staff-chat-layout>nav>button.active,.staff-chat-layout>nav>button:hover{background:#eee5f7}.staff-chat-layout>nav>button>span{width:32px;height:32px;border-radius:9px;background:#fff;color:#772bc0;display:grid;place-items:center;font-size:9px;font-weight:900}.staff-chat-layout>nav div{min-width:0}.staff-chat-layout>nav b,.staff-chat-layout>nav small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staff-chat-layout>nav b{font-size:10px}.staff-chat-layout>nav small{margin-top:3px;color:#84788d;font-size:8px}.staff-chat-layout>nav>p{padding:15px;color:#84788d;font-size:9px;line-height:1.5}.staff-chat-layout>main{min-width:0;min-height:0;display:flex;flex-direction:column;position:relative}.staff-chat-person{height:54px;padding:0 15px;border-bottom:1px solid #eee9f1;display:flex;flex-direction:column;justify-content:center}.staff-chat-person b,.staff-chat-person small{display:block}.staff-chat-person b{font-size:11px}.staff-chat-person small{margin-top:2px;color:#877b8f;font-size:8px}.staff-chat-messages{min-height:0;flex:1 1;overflow:auto;padding:14px;background:#faf9fb;display:flex;flex-direction:column;gap:8px}.staff-chat-messages article{max-width:82%;padding:9px 11px;border-radius:11px}.staff-chat-messages article.incoming{align-self:flex-start;border:1px solid #e3dce8;border-bottom-left-radius:3px;background:#fff}.staff-chat-messages article.outgoing{align-self:flex-end;border-bottom-right-radius:3px;background:#7629bf;color:#fff}.staff-chat-messages p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:10px;line-height:1.5}.staff-chat-messages small{display:block;margin-top:4px;color:#8a7e91;font-size:7px}.staff-chat-messages .outgoing small{color:#e2d2ee}.staff-chat-layout form{padding:10px;border-top:1px solid #e9e3ed;background:#fff;display:grid;grid-template-columns:1fr 38px;align-items:end;grid-gap:7px;gap:7px}.staff-chat-layout textarea{width:100%;padding:9px 10px;border:1px solid #dcd4e2;border-radius:9px;resize:none;font:inherit;font-size:10px;line-height:1.45}.staff-chat-layout form button{width:38px;height:38px;border:0;border-radius:9px;background:#7629bf;color:#fff;display:grid;place-items:center;cursor:pointer}.staff-chat-empty{margin:auto;padding:20px;color:#8d8295;text-align:center;font-size:9px}.staff-chat-error{position:absolute;left:10px;right:10px;bottom:63px;margin:0;padding:7px 9px;border-radius:8px;background:#fff0f2;color:#a12e42;font-size:8px;font-weight:750}.staff-chat-notice{position:absolute;bottom:58px;width:280px;padding:12px 14px;border:1px solid #d8c5e8;border-radius:12px;background:#fff;color:#30263a;text-align:left;box-shadow:0 16px 45px rgba(30,18,47,.25);cursor:pointer}.staff-chat-notice b,.staff-chat-notice span{display:block}.staff-chat-notice b{color:#6f24ad;font-size:10px}.staff-chat-notice span{margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}@media(max-width:760px){.staff-chat{right:10px;bottom:78px}.staff-chat-panel{height:min(650px,calc(100dvh - 92px))}.staff-chat-layout{grid-template-columns:112px 1fr}.staff-chat-layout>nav>button{grid-template-columns:30px 1fr}.staff-chat-layout>nav>button>span{width:30px;height:30px}.staff-chat-layout>nav>button>i{grid-column:1/-1;justify-self:end;margin-top:-17px}.staff-chat-launcher span{display:none}}.staff-chat-launcher.has-unread{animation:staff-chat-pulse 1.8s ease-in-out infinite;box-shadow:0 0 0 0 rgba(237,54,93,.45),0 14px 34px rgba(27,18,44,.34)}.staff-chat-notice{right:0;bottom:60px;width:min(370px,calc(100vw - 20px));padding:15px 42px 15px 15px;border:1px solid #cda9eb;border-left:5px solid #8a32d5;border-radius:16px;background:linear-gradient(145deg,#fff,#fbf7ff);display:grid;grid-template-columns:45px minmax(0,1fr);grid-gap:12px;gap:12px;box-shadow:0 22px 60px rgba(44,20,65,.34);cursor:default;touch-action:auto;animation:staff-chat-notice-in .3s cubic-bezier(.2,.8,.25,1)}.staff-chat-notice.below{top:60px;bottom:auto}.staff-chat-notice-icon{width:45px;height:45px;margin:0!important;border-radius:13px;background:linear-gradient(135deg,#7b27c5,#a84be8);color:#fff;display:grid!important;place-items:center;overflow:visible!important;white-space:normal!important;box-shadow:0 8px 20px rgba(116,37,183,.3)}.staff-chat-notice-content{min-width:0}.staff-chat-notice-content>small{display:block;color:#8a32d5;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.staff-chat-notice-content>b{display:block!important;margin-top:3px;color:#2f233a!important;font-size:14px!important}.staff-chat-notice-content>em{display:block;margin-top:1px;color:#8b7d94;font-size:8px;font-style:normal}.staff-chat-notice-content>p{margin:9px 0 12px;color:#43364d;font-size:11px;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere}.staff-chat-notice-actions{display:flex!important;align-items:center;gap:7px;margin:0!important;overflow:visible!important;white-space:normal!important}.staff-chat-notice-actions button{min-height:31px;padding:0 11px;border:1px solid #d9c5e9;border-radius:8px;background:#fff;color:#5d2a82;font:inherit;font-size:9px;font-weight:850;cursor:pointer}.staff-chat-notice-actions button:first-child{border-color:#7c28c6;background:#7c28c6;color:#fff}.staff-chat-notice-close{position:absolute;top:9px;right:9px;width:28px;height:28px;padding:0;border:0;border-radius:8px;background:transparent;color:#7e6d89;display:grid;place-items:center;cursor:pointer}.staff-chat-notice-close:hover{background:#f0e7f7;color:#5f267f}@keyframes staff-chat-notice-in{0%{opacity:0;transform:translateY(15px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes staff-chat-pulse{0%,to{box-shadow:0 0 0 0 rgba(237,54,93,.4),0 14px 34px rgba(27,18,44,.34)}50%{box-shadow:0 0 0 9px rgba(237,54,93,0),0 17px 40px rgba(27,18,44,.42)}}@media(max-width:760px){.staff-chat-notice{right:-2px;width:min(345px,calc(100vw - 16px));grid-template-columns:39px minmax(0,1fr);padding:13px 38px 13px 12px}.staff-chat-notice-icon{width:39px;height:39px}.staff-chat-notice-content>p{font-size:10px}}@media(prefers-reduced-motion:reduce){.staff-chat-launcher.has-unread,.staff-chat-notice{animation:none}}.patient-profile{width:min(1040px,96vw)}.patient-profile>.modal-heading{height:auto;min-height:92px;padding:16px 20px;align-items:center;gap:12px}.patient-profile>.modal-heading>.modal-icon{flex:0 0 41px}.patient-profile-identity{min-width:180px;max-width:245px;flex:1 1 210px}.patient-profile-identity h2{line-height:1.2;overflow-wrap:anywhere}.patient-profile-identity p{line-height:1.35}.patient-profile .profile-heading-actions{flex:1 1 560px;display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));grid-gap:8px;gap:8px;margin-left:8px}.patient-profile .profile-heading-actions button{width:100%;min-width:0;padding-left:10px;padding-right:10px;white-space:normal;line-height:1.15;text-align:center}.patient-profile>.modal-heading>.profile-heading-actions+button{flex:0 0 34px;margin-left:0}@media(max-width:920px){.patient-profile .profile-heading-actions{order:3;flex-basis:100%;margin-left:53px;grid-template-columns:repeat(2,minmax(150px,1fr))}.patient-profile>.modal-heading{flex-wrap:wrap}.patient-profile>.modal-heading>.profile-heading-actions+button{position:absolute;right:16px;top:16px}}@media(max-width:560px){.patient-profile{width:100%}.patient-profile .profile-heading-actions{margin-left:0;grid-template-columns:1fr 1fr}.patient-profile-identity{padding-right:40px}.patient-profile .profile-heading-actions button{font-size:10px}}.catalogue-settings{margin:0 0 24px;padding:24px;background:#fff;border:1px solid #e7e0ed;border-radius:18px;box-shadow:0 8px 28px #2c15300b}.catalogue-settings>header{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:18px}.catalogue-settings h2{margin:4px 0}.catalogue-settings p{margin:0;color:#746d7c}.catalogue-settings>header>div:last-child{display:flex;gap:9px}.catalogue-settings input,.catalogue-settings select{padding:10px;border:1px solid #d8d0df;border-radius:8px;background:#fff}.catalogue-table{max-height:650px;overflow:auto;border:1px solid #ebe5ef;border-radius:12px}.catalogue-head,.catalogue-row{display:grid;grid-template-columns:minmax(250px,2fr) minmax(170px,1fr) 80px 120px 120px 60px;grid-gap:10px;gap:10px;align-items:center;padding:11px 13px}.catalogue-head{position:-webkit-sticky;position:sticky;top:0;z-index:1;background:#f5effc;color:#5f1cae;font-size:12px;font-weight:800}.catalogue-row{border-top:1px solid #eee9f1}.catalogue-row>span{display:flex;flex-direction:column;gap:3px}.catalogue-row small{color:#766e7c}.catalogue-row label{display:flex;align-items:center;gap:3px}.catalogue-row label input{min-width:0;width:100%}.catalogue-row>input[type=checkbox]{width:18px;height:18px}@media(max-width:900px){.catalogue-settings>header{align-items:stretch;flex-direction:column}.catalogue-head{display:none}.catalogue-row{grid-template-columns:1fr 1fr}.catalogue-row>span:first-child{grid-column:1/-1}}