.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}.task-panel>header>div:last-child{display:flex;gap:7px}.task-panel>header button{display:flex;align-items:center;gap:4px}.task-panel>form{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;grid-gap:8px;gap:8px;padding:13px;border-bottom:1px solid var(--line);background:#faf8fd}.task-panel form textarea{grid-column:1/-1}.task-panel form input,.task-panel form select,.task-panel form textarea{padding:9px;border:1px solid var(--line);border-radius:8px;font:inherit}.task-list article{display:grid;grid-template-columns:7px minmax(0,1fr) auto auto;align-items:center;grid-gap:11px;gap:11px;padding:12px 0;border-bottom:1px solid #eeeaf2}.task-list article>i{width:7px;height:34px;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:.62}.task-list b,.task-list small{display:block}.task-list p{margin:4px 0;color:#665c6d;font-size:10px}.task-list small{margin-top:4px;color:var(--muted);font-size:9px}.task-list em{padding:4px 7px;border-radius:999px;background:#f0ebf4;font-size:8px;font-style:normal;font-weight:900}.task-list article>button{display:flex;align-items:center;gap:4px;border:0;background:transparent;color:#6f2ca2;font-size:9px;font-weight:800;cursor:pointer}.task-empty{padding:35px;text-align:center;color:var(--muted)}.task-empty b{display:block;margin-top:7px}.task-message{color:#297047;font-size:10px}@media(max-width:800px){.task-panel>form{grid-template-columns:1fr}.task-panel form textarea{grid-column:auto}.task-list article{grid-template-columns:7px 1fr}.task-list article>button,.task-list article>em{grid-column:2}}.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-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}}.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}}.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}}