.service-note{display:flex;align-items:center;gap:12px;border:1px solid #ccd9cd;background:#edf3e8;padding:14px 18px;border-radius:10px;margin-bottom:20px;color:#254b3e;font-weight:600}.service-note>svg{width:24px;height:24px;flex:none}.service-note p{margin:0}.service-channel-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}.service-channel{padding:22px}.service-channel h2{margin:8px 0;font-size:19px}.service-channel p{margin:0;color:#496455}.service-control-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;padding-top:16px;border-top:1px solid #dce5d9;font-size:13px;font-weight:600}.service-switch{width:48px;height:28px;padding:3px;border:0;border-radius:16px;background:#abb8ae;flex:none;cursor:pointer}.service-switch>span{display:block;width:22px;height:22px;background:white;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .15s}.service-switch.on{background:#237448}.service-switch.on>span{transform:translateX(20px)}.service-switch:focus-visible{outline:3px solid #78a78a;outline-offset:3px}.service-switch:disabled{opacity:.5;cursor:not-allowed}.sidebar .nav{min-height:0;overflow-y:auto;flex-shrink:1}.sidebar-bottom{flex-shrink:0}
#ai-owner{min-width:200px;border:1px solid var(--line);background:#fff;border-radius:8px;padding:10px 12px}.toolbar:has(#ai-owner){justify-content:flex-start;gap:14px}.toolbar:has(#ai-owner)>.muted{margin-left:auto}
@media(min-width:801px) and (max-height:820px){#app .sidebar .nav{gap:3px}#app.sidebar-collapsed .nav{margin-top:16px}#app:not(.sidebar-collapsed) .sidebar .nav button{min-height:40px;height:40px;padding-top:9px;padding-bottom:9px}#app .sidebar .nav-label{margin-top:24px}.sidebar-bottom{padding-top:12px}}

.service-control-row strong,.service-control-row small{display:block}.service-control-row small{font-size:12px;color:#54695d;margin-top:5px;line-height:1.6}.service-channel .service-suggestion-note{font-size:12px;line-height:1.6;margin-top:18px;color:#54695d}

.service-ai-page{min-width:0;max-width:100%}
.service-ai-page .page-heading{align-items:center;margin-bottom:22px}
.service-ai-page .page-heading h1{font-size:25px}
.service-ai-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}
.service-ai-feature{min-width:0;background:#fff;border:1px solid var(--line);border-radius:10px;padding:16px}
.service-ai-feature>div{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}
.service-ai-feature strong{font-size:13px;font-weight:650}
.service-ai-feature p{margin-top:10px;font-size:11px;color:var(--muted);line-height:1.7}
.service-reception{min-width:0;margin-bottom:26px}
.service-reception-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 22px 0}
.service-reception-heading h2,.service-wa-heading h2{font-size:17px}
.service-reception-heading p,.service-wa-heading p{margin-top:5px;font-size:12px;color:var(--muted)}
.service-reception-facts{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr) minmax(0,1fr);gap:22px;margin:0;padding:22px}
.service-reception-facts>div{min-width:0}
.service-reception-facts dt{font-size:11px;color:var(--muted);margin-bottom:8px}
.service-reception-facts dd{margin:0;font-size:18px;font-weight:650;overflow-wrap:anywhere;line-height:1.5}
.service-reception-facts dd>span{font-size:12px;font-weight:500}
.service-reception-facts small{display:block;margin-top:6px;font-size:11px;color:var(--muted);line-height:1.6}
.service-reception-rules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:18px 22px;background:#f0f5ec;border-top:1px solid #e0e8da;border-bottom:1px solid #e0e8da}
.service-reception-rules span{display:block;font-size:11px;color:var(--muted);margin-bottom:6px}
.service-reception-rules strong{font-size:13px;font-weight:650;line-height:1.6}
.service-reception-note{font-size:11px;color:var(--muted);padding:13px 22px;line-height:1.7}
.service-training{border-top:1px solid var(--line)}
.service-training summary{padding:14px 22px;font-size:12px;font-weight:600;cursor:pointer}
.service-training p{padding:0 22px 16px;font-size:11px;color:var(--muted);line-height:1.7}
.service-wa-heading{margin-bottom:15px}
.service-ai-toolbar{flex-wrap:wrap;min-width:0;font-size:12px}
.service-ai-page #ai-owner{min-width:0;width:240px;max-width:100%;font-size:12px}
.service-ai-page .service-channel-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.service-ai-page .service-channel{min-width:0;padding:20px}
.service-ai-page .service-channel h2,.service-ai-page .service-channel p{overflow-wrap:anywhere}
.service-ai-page .service-control-row>div{min-width:0}
.service-ai-test{margin:0 0 26px;padding:0;overflow:hidden;border-color:#cbdcc5;background:#fbfdf9}
.service-ai-test-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px 16px;border-bottom:1px solid #dce8d8}
.service-ai-test-heading h2{margin:7px 0 5px;font-size:18px}.service-ai-test-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}
.service-ai-test-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;padding:18px 22px 0}
.service-ai-test-grid label{display:flex;flex-direction:column;gap:7px;color:#496455;font-size:12px;font-weight:650}.service-ai-test-grid select,.service-ai-test-grid textarea{width:100%;border:1px solid #cbd9cc;border-radius:9px;background:#fff;color:var(--text);font:inherit;font-size:13px;padding:10px 12px}.service-ai-test-grid select{min-height:40px}.service-ai-test-grid textarea{min-height:84px;resize:vertical;line-height:1.6}.service-ai-test-grid textarea:read-only{background:#f1f5ef;color:#52695b}.service-ai-test-message{grid-column:1 / -1}
.service-ai-test-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:16px 22px}.service-ai-test-actions .muted{font-size:11px}.service-ai-test-result{margin:0 22px 20px;border:1px solid #dce8d8;border-radius:10px;background:#fff;padding:14px 16px;min-height:58px}.service-ai-test-status{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#214d3c;font-size:13px}.service-ai-test-reply{margin-top:14px;padding:12px 14px;border-radius:8px;background:#f0f6ed;border-left:3px solid #237448}.service-ai-test-reply span{display:block;color:var(--muted);font-size:11px;margin-bottom:6px}.service-ai-test-reply p{margin:0;color:var(--text);font-size:14px;line-height:1.75;white-space:pre-wrap}.service-ai-test-meta{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:12px;color:var(--muted);font-size:11px}.service-ai-test-error{margin:12px 0 0;color:#9b4d38;font-size:12px;line-height:1.6}.service-ai-test-footnote{margin:12px 0 0;color:#6b7f70;font-size:11px;line-height:1.6}
.service-ai-test-hint{margin:12px 22px;color:var(--muted);font-size:11px;line-height:1.65}
.service-ai-test-history{display:flex;flex-direction:column;gap:14px;max-height:540px;min-height:92px;overflow-y:auto;overscroll-behavior:contain;margin:16px 22px 0;padding:16px;border:1px solid #dce8d8;border-radius:10px;background:#f2f6f0;scrollbar-gutter:stable}
.service-ai-test-history>.muted{font-size:12px;line-height:1.6;margin:auto 0}
.service-ai-test-turn{align-self:flex-start;width:fit-content;max-width:90%;min-width:0;border:1px solid #dce8d8;border-radius:11px;background:#fff;padding:12px 14px;overflow-wrap:anywhere}
.service-ai-test-turn.patient{align-self:flex-end;background:#e3efd9;border-color:#d1e2c5}
.service-ai-test-turn-label{display:block;margin-bottom:6px;font-size:11px;color:#57715b}
.service-ai-test-turn p{margin:0;font-size:14px;line-height:1.7;white-space:pre-wrap}
.service-ai-test-reference{margin-top:12px;border-top:1px solid #e4ebe0;padding-top:10px;color:var(--muted)}
.service-ai-test-reference summary{font-size:11px;cursor:pointer}.service-ai-test-reference p{font-size:12px;margin-top:8px}
.service-ai-test-materials{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:8px;margin-top:12px}
.service-ai-test-material{display:flex;flex-direction:column;gap:5px;padding:11px 12px;border:1px solid #cadcc1;border-radius:8px;background:#f7faf4;text-decoration:none;color:#285539;overflow-wrap:anywhere;min-width:0}
.service-ai-test-material strong{font-size:12px;line-height:1.5}.service-ai-test-material span,.service-ai-test-material small{font-size:11px;font-weight:400;line-height:1.6}.service-ai-test-material:focus-visible{outline:3px solid #78a78a;outline-offset:2px}
.service-ai-test-composer{padding-top:14px}.service-ai-test-actions button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:640px){.service-ai-test-history{margin:14px 16px 0;padding:10px;max-height:420px}.service-ai-test-turn{max-width:96%;padding:10px 11px}.service-ai-test-hint{margin:11px 16px}.service-ai-test-materials{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1050px){.service-ai-features{grid-template-columns:repeat(2,minmax(0,1fr))}.service-reception-facts{gap:16px}.service-reception-facts dd{font-size:16px}}
@media(max-width:640px){
 .service-ai-page .page-heading{align-items:flex-start;flex-wrap:wrap;gap:12px;margin-bottom:18px}
 .service-ai-page .page-heading h1{font-size:23px}
 .service-ai-page .page-heading .btn{margin-left:auto}
 .service-ai-features{gap:9px}.service-ai-feature{padding:13px}
 .service-reception-heading{padding:18px 16px 0;align-items:flex-start;flex-wrap:wrap}
 .service-reception-facts{grid-template-columns:minmax(0,1fr);gap:16px;padding:18px 16px}
 .service-reception-facts dd{font-size:17px}
 .service-reception-rules{grid-template-columns:minmax(0,1fr);gap:14px;padding:16px}
 .service-reception-note{padding:12px 16px}
 .service-training summary{padding:14px 16px}.service-training p{padding:0 16px 16px}
 .service-ai-toolbar{gap:10px}.service-ai-page #ai-owner{width:calc(100% - 48px)}
 .service-ai-toolbar>.muted{width:100%;margin-left:0!important;text-align:right}
 .service-ai-test-heading{padding:18px 16px 14px}.service-ai-test-grid{grid-template-columns:minmax(0,1fr);padding:16px 16px 0}.service-ai-test-message{grid-column:auto}.service-ai-test-actions{padding:14px 16px}.service-ai-test-result{margin:0 16px 16px}.service-ai-test-actions .btn{flex:1;min-width:132px}
}
.video-preparation-form .field[hidden]{display:none}
.video-preparation-form .video-patient-results{display:flex;flex-direction:column;max-height:280px;overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:10px;background:#fff;margin-top:3px}
.video-preparation-form .video-patient-results[hidden],.video-preparation-form .video-patient-selection[hidden]{display:none}
.video-preparation-form .video-patient-option{display:flex;flex-direction:column;gap:7px;flex:none;min-width:0;min-height:76px;width:100%;padding:13px 14px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:#fff;color:var(--text);font:inherit;text-align:left;cursor:pointer;white-space:normal;overflow-wrap:anywhere}
.video-preparation-form .video-patient-option:last-child{border-bottom:0}
.video-preparation-form .video-patient-option:hover,.video-preparation-form .video-patient-option.is-active{background:#f0f5ec}
.video-preparation-form .video-patient-option.is-selected{background:#e9f2e5;box-shadow:inset 3px 0 #237448}
.video-preparation-form .video-patient-option:focus-visible{outline:2px solid #237448;outline-offset:-3px}
.video-preparation-form .video-patient-option:disabled{cursor:wait;opacity:.65}
.video-patient-option-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0}
.video-patient-option-top strong{min-width:0;font-size:14px;font-weight:650;line-height:1.5}
.video-patient-kind{flex:none;font-size:10px;font-weight:500;color:#496455;background:#edf3e8;padding:3px 7px;border-radius:5px}
.video-patient-option-meta{display:flex;flex-wrap:wrap;column-gap:16px;row-gap:4px;color:var(--muted);font-size:12px;line-height:1.6;min-width:0}
.video-patient-option-meta>span{min-width:0;overflow-wrap:anywhere}
.video-patient-phone{font-variant-numeric:tabular-nums;color:#254b3e}
.video-patient-contact{font-size:11px;font-weight:400;color:var(--muted);line-height:1.5}
.video-preparation-form .video-patient-selection{display:flex;flex-direction:column;gap:6px;min-width:0;padding:12px 14px;margin-top:3px;border:1px solid #cbdcc5;border-radius:10px;background:#edf3e8;overflow-wrap:anywhere}
.video-patient-selected-label{font-size:11px;color:#237448;font-weight:650}
.video-patient-selection>strong{font-size:14px;line-height:1.5}
@media(max-width:640px){.video-preparation-form .video-patient-results{max-height:250px}.video-preparation-form .video-patient-option{min-height:84px;padding:13px 12px}.video-patient-option-top{flex-wrap:wrap;gap:5px}.video-patient-kind{font-size:10px}.video-patient-option-meta{column-gap:10px}.video-preparation-form .video-patient-selection{padding:12px}}
.service-welcome{margin:0 0 22px;padding:20px 22px;border-color:#bcd0b4;background:#f9fcf6;min-width:0}
.service-welcome-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.service-welcome-heading h2{margin:7px 0 6px;font-size:19px}.service-welcome-heading p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}
.service-welcome-control{display:flex;align-items:center;gap:12px;flex:none;padding-top:4px}.service-welcome-control>span{font-size:12px;color:#36573f;font-weight:650}
.service-welcome-scope{font-size:12px;color:#536b59;line-height:1.7;margin:15px 0 0}
.service-welcome-editor{margin-top:17px;padding-top:16px;border-top:1px solid #dce8d8}.service-welcome-editor-top{display:flex;align-items:center;flex-wrap:wrap;gap:9px 13px;font-size:12px;margin-bottom:10px}.service-welcome-editor-top label{font-weight:650;color:#3d5b45}.service-welcome-editor-top .muted{font-size:11px}
.service-welcome-editor select{max-width:100%;min-height:36px;border:1px solid #cbd9cc;border-radius:8px;background:#fff;color:var(--text);padding:7px 10px;font:inherit}.service-welcome-editor textarea{display:block;width:100%;min-height:115px;resize:vertical;border:1px solid #cbd9cc;border-radius:9px;background:#fff;color:var(--text);font:inherit;font-size:13px;line-height:1.7;padding:11px 13px}.service-welcome-editor textarea:read-only{background:#f3f6ef}.service-welcome-editor select:focus-visible,.service-welcome-editor textarea:focus-visible{outline:2px solid #78a78a;outline-offset:2px}
.service-welcome-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin-top:12px}.service-welcome-actions .muted{font-size:11px;line-height:1.5}.service-welcome-actions button:disabled{opacity:.55;cursor:not-allowed}
.service-welcome-feedback{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}.service-welcome-feedback p{font-size:12px;line-height:1.6;color:#36573f;margin:10px 0 0}.service-welcome-feedback p:empty{display:none}.service-welcome-feedback .is-error{color:#9b4d38}.service-welcome-feedback button{margin-top:10px}.service-welcome-feedback button[hidden]{display:none}
@media(max-width:640px){.service-welcome{padding:18px 16px}.service-welcome-heading{flex-wrap:wrap;gap:12px}.service-welcome-control{width:100%;justify-content:space-between;padding-top:12px;border-top:1px solid #dce8d8}.service-welcome-editor-top .muted{width:100%}.service-welcome-actions{align-items:flex-start;flex-direction:column}.service-welcome-editor textarea{min-height:160px}}
.service-welcome .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
