@font-face{font-family:Vazirmatn;src:url('./assets/Vazirmatn.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{color-scheme:light;--bg:#f8f5f1;--surface:#fffefc;--inset:#f1e9e6;--primary:#733b50;--primary-hover:#5f2f41;--on-primary:#fffaf9;--rose:#f1dee3;--text:#342a2e;--muted:#77656b;--border:#e6dcdb;--control-border:#ad969e;--success:#28634d;--success-bg:#e5f0e9;--warning:#85571d;--warning-bg:#f7ecd7;--danger:#a23d45;--danger-bg:#f9e7e7;--info:#315b78;--plum:#493340;--radius:14px;--sidebar:216px;--focus:#9a4e6a;--shadow:0 16px 60px #39222c24}
:root[data-theme=dark]{color-scheme:dark;--bg:#221d20;--surface:#2e262b;--inset:#392e34;--primary:#e8b2c3;--primary-hover:#f3c5d3;--on-primary:#39202b;--rose:#503642;--text:#f5ebee;--muted:#c9b4be;--border:#58444e;--control-border:#9f818e;--success:#a1d9b7;--success-bg:#263d32;--warning:#edc982;--warning-bg:#443722;--danger:#ffb2ba;--danger-bg:#4b2c34;--info:#aacfe7;--plum:#493340;--focus:#edb9cf;--shadow:0 16px 60px #0005}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--bg);color:var(--text);font-family:Vazirmatn,Tahoma,sans-serif;font-size:14px;line-height:1.75}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{color:inherit}button,input,textarea,select{transition:background-color .18s ease-out,border-color .18s ease-out,color .18s ease-out}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--focus);outline-offset:4px}input,select,textarea{min-width:0;max-width:100%;background:var(--surface);color:var(--text);border:1px solid var(--control-border);border-radius:8px;padding:10px 12px;min-height:44px}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}input[type=date],input[type=time]{direction:ltr;text-align:center}textarea{resize:vertical;line-height:1.8}svg{display:block;width:20px;height:20px;flex:none}p{margin:0}h1,h2,h3{margin:0;font-weight:650;line-height:1.5;text-wrap:balance}h1{font-size:30px}h2{font-size:18px}h3{font-size:14px}small{font-size:12px}strong{font-weight:650}button{border:0}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.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}.skip-link{position:fixed;top:10px;right:240px;z-index:100;background:var(--primary);color:var(--on-primary);padding:10px 16px;border-radius:8px;transform:translateY(-150%)}.skip-link:focus{transform:none}
.sidebar{position:fixed;inset:0 0 0 auto;width:var(--sidebar);border-left:1px solid var(--border);background:var(--surface);display:flex;flex-direction:column;z-index:30;padding:31px 17px 18px}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 37px}.brand strong{font-size:17px;display:block}.brand small{display:block;margin-top:2px;color:var(--muted);font-size:11px}.brand-mark{background:var(--primary);color:var(--on-primary);border-radius:12px;width:43px;height:48px;display:grid;place-items:center;flex:none}.brand-mark svg{width:32px;height:32px}.main-nav{display:grid;gap:8px}.nav-item{display:flex;gap:13px;align-items:center;min-height:48px;padding:12px 15px;border-radius:8px;color:var(--muted);font-size:13px;font-weight:500;transition:background-color .18s,color .18s}.nav-item:hover{background:var(--bg);color:var(--text)}.nav-item.active{background:var(--rose);color:var(--primary);font-weight:650}.nav-item svg{width:19px;height:19px}.nav-count{background:var(--primary);color:var(--on-primary);font-size:11px;min-width:23px;border-radius:6px;text-align:center;margin-right:auto;padding:0 5px}.sidebar-bottom{margin-top:auto}.manager-profile{display:flex;align-items:center;gap:10px;border-top:1px solid var(--border);padding:22px 6px 2px;margin-top:17px}.manager-profile strong{font-size:12px;display:block}.manager-profile small{display:block;color:var(--muted);font-size:11px}.manager-profile>span:last-child{margin-right:auto;color:var(--muted)}.manager-profile>span:last-child svg{width:16px;height:16px}.profile-symbol{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--inset);color:var(--primary)}.sidebar-close{display:none!important}.app-shell{margin-right:var(--sidebar)}.topbar{height:81px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border);padding:0 36px;background:var(--bg)}.topbar-context,.topbar-actions{display:flex;align-items:center;gap:15px}.topbar-context{font-size:12px;color:var(--muted)}.topbar-context strong{color:var(--text);font-weight:500}.crumb-divider{color:var(--control-border)}.topbar-actions{gap:10px}.top-date{font-size:12px;color:var(--muted);margin-left:14px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;border-radius:8px;background:transparent;color:var(--muted)}.icon-button:hover{background:var(--inset);color:var(--text)}.menu-button{display:none}.mobile-overlay{position:fixed;inset:0;background:#22181c70;z-index:29}.app-shell main{max-width:1600px;margin:auto;padding:30px 36px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 27px}.page-heading p{color:var(--muted);margin-top:7px;font-size:13px}.button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 17px;border:1px solid var(--control-border);border-radius:8px;background:var(--surface);color:var(--text);font-size:13px;font-weight:550;white-space:nowrap}.button svg{width:18px;height:18px}.button:hover:not(:disabled){background:var(--inset)}.button-primary{background:var(--primary);color:var(--on-primary);border-color:var(--primary)}.button-primary:hover:not(:disabled){background:var(--primary-hover);border-color:var(--primary-hover)}.button-subtle{border-color:var(--border)}.button-danger{color:var(--danger);background:var(--danger-bg);border-color:var(--danger)}.button-small{min-height:36px;font-size:12px;padding:5px 12px}.text-link{display:inline-flex;align-items:center;gap:8px;color:var(--primary);font-size:12px;min-height:44px;white-space:nowrap}.text-link:hover{text-decoration:underline;text-underline-offset:5px}.text-link svg{width:15px;height:15px}.muted{color:var(--muted);font-size:13px}.full-width{width:100%}
.stats-strip{display:grid;grid-template-columns:repeat(4,1fr);padding:23px 0;margin-bottom:29px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);gap:0}.stat{padding:0 24px;border-left:1px solid var(--border);min-width:0}.stat:first-child{padding-right:0}.stat:last-child{border-left:0;padding-left:0}.stat-label{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted);white-space:nowrap}.stat-label svg{width:17px;height:17px;color:var(--primary)}.stat-bottom{display:flex;align-items:baseline;gap:9px;margin-top:12px;flex-wrap:wrap}.stat-bottom strong{font-size:30px;line-height:1.15;font-weight:600;direction:ltr;min-width:20px;font-variant-numeric:tabular-nums}.stat-bottom span{font-size:10px;color:var(--muted)}.stat:last-child .stat-bottom strong{font-size:27px}.overview-grid{display:grid;grid-template-columns:minmax(0,1fr) 324px;gap:24px;align-items:start}.operations-column,.assistant-column{min-width:0}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 24px 18px}.panel-heading p{font-size:11px;color:var(--muted);margin-top:5px}.small-icon{color:var(--muted)}.schedule-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 24px 19px;border-bottom:1px solid var(--border)}.segmented{display:flex;background:var(--inset);border-radius:8px;padding:3px;gap:2px}.segmented button{min-height:34px;padding:4px 17px;background:transparent;color:var(--muted);border-radius:6px;font-size:12px}.segmented button.selected{background:var(--surface);color:var(--primary);font-weight:650}.segmented button:not(.selected):hover{color:var(--text)}.date-control{display:flex;align-items:center;gap:8px;color:var(--muted)}.date-control svg{width:17px;height:17px}.date-control input{padding:5px 8px;min-height:38px;width:138px;font-size:11px;border-color:var(--border)}.appointment-list{min-height:280px}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 20px;min-height:280px}.empty-state .empty-icon{color:var(--primary);background:var(--bg);width:64px;height:64px;border-radius:18px;display:grid;place-items:center;margin-bottom:18px}.empty-icon svg{width:31px;height:31px}.empty-state h3{font-size:16px;font-weight:550;margin-bottom:7px}.empty-state p{font-size:12px;color:var(--muted);max-width:300px;line-height:1.9}.empty-state .button,.empty-state .text-link{margin-top:18px}.schedule-footer{display:flex;align-items:center;gap:8px;padding:13px 24px;border-top:1px solid var(--border);color:var(--muted);font-size:10px;line-height:1.8}.legend-dot{width:6px;height:6px;border-radius:50%;background:var(--primary);flex:none}.week-panel{padding-top:8px;margin-top:19px}.week-panel .panel-heading{padding:12px 2px 17px}.week-panel h2{font-size:16px}.week-chart{display:flex;align-items:flex-end;gap:15px;min-height:115px;direction:rtl;padding:0 9px}.chart-column{display:flex;flex-direction:column;align-items:center;flex:1;min-width:0;gap:5px}.chart-column strong{color:var(--muted);font-size:10px;font-weight:400}.chart-bar-track{height:70px;display:flex;align-items:flex-end;width:100%;max-width:40px}.chart-bar{width:100%;border-radius:4px 4px 0 0;background:var(--rose);min-height:2px}.chart-column:last-child .chart-bar{background:var(--primary)}.chart-column span{font-size:10px;color:var(--muted);white-space:nowrap}.chart-zero-note{font-size:11px;color:var(--muted);margin:12px 2px 0}
.voice-panel{background:var(--plum);color:#fff5f8;border-radius:var(--radius);padding:22px 23px 19px;position:relative;overflow:hidden}.voice-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}.voice-badge{display:inline-flex;align-items:center;gap:7px;font-size:10px;color:#ecd5e0}.status-dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:#d8bbbc}.voice-brand{color:#dcb5c2}.voice-brand svg{width:27px;height:27px}.voice-panel h2{font-size:23px;font-weight:500}.voice-description{font-size:12px;color:#e0c9d4;line-height:2;margin-top:9px}.voice-visual{height:144px;display:flex;align-items:center;justify-content:center;position:relative;margin:2px 0 3px}.voice-orbit{position:absolute;border:1px solid #dfb8c52b;border-radius:50%;width:118px;height:118px}.orbit-two{width:148px;height:148px;border-color:#dfb8c513}.voice-core{display:grid;place-items:center;width:79px;height:79px;border:1px solid #e0b3c247;background:#624451;border-radius:50%;color:#f4dce5;z-index:1}.voice-core svg{width:31px;height:31px;stroke-width:1.5}.voice-start{background:#eed5dd;color:#452c39;border-color:#eed5dd;width:100%;font-weight:600}.voice-start:hover:not(:disabled){background:#f9e5ec;border-color:#f9e5ec}.voice-helper{display:flex;align-items:center;justify-content:center;gap:8px;font-size:10px;color:#dec6d1;margin-top:11px;min-height:19px}.voice-active-controls{display:flex;gap:8px}.voice-active-controls .button{flex:1}.voice-mute{background:#624451;border-color:#b28d9d;color:#fff4f8}.voice-mute:hover:not(:disabled){background:#785664}.voice-end{background:#edd8de;border-color:#edd8de;color:#713943}.voice-end:hover:not(:disabled){background:#f9e5ec}.voice-error{font-size:11px;margin-top:12px;background:#321e2b6b;border-radius:8px;padding:9px 10px;color:#ffd8db}.voice-panel button:focus-visible{outline-color:#f6d0df}.audio-resume{background:transparent;color:#f6d0df;min-height:40px;text-decoration:underline}.waveform{position:absolute;display:none;align-items:center;gap:5px;height:40px}.waveform i{display:block;width:4px;height:10px;background:#ebc4d3;border-radius:4px}.voice-panel[data-phase=listening] .voice-core,.voice-panel[data-phase=thinking] .voice-core,.voice-panel[data-phase=speaking] .voice-core{opacity:0}.voice-panel[data-phase=listening] .waveform,.voice-panel[data-phase=thinking] .waveform,.voice-panel[data-phase=speaking] .waveform{display:flex}.voice-panel[data-phase=listening] .status-dot{background:#b9dfbd}.voice-panel[data-phase=thinking] .status-dot{background:#eed3a5}.voice-panel[data-phase=speaking] .status-dot{background:#eed3a5}.voice-panel[data-phase=listening] .waveform i,.voice-panel[data-phase=speaking] .waveform i{animation:voice-wave 1.2s ease-in-out infinite}.waveform i:nth-child(2n){animation-delay:-.3s!important;height:24px}.waveform i:nth-child(3n){animation-delay:-.6s!important;height:35px}.voice-panel[data-phase=thinking] .waveform{opacity:.55}.chat-panel{margin-top:19px;padding:0 2px}.chat-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.chat-heading h3{font-size:12px;font-weight:500}.chat-heading>span{color:var(--muted)}.chat-heading svg{width:17px;height:17px}.suggested-questions{display:grid;gap:7px;margin-bottom:15px}.suggested-questions button{display:flex;justify-content:space-between;align-items:center;gap:7px;text-align:right;border:1px solid var(--border);border-radius:8px;min-height:40px;padding:8px 11px;background:transparent;font-size:11px;color:var(--muted)}.suggested-questions button:hover{background:var(--surface);color:var(--primary);border-color:var(--control-border)}.suggested-questions svg{width:13px;height:13px}.chat-composer{display:flex;gap:8px;align-items:flex-end;padding:6px;background:var(--surface);border:1px solid var(--control-border);border-radius:9px}.chat-composer textarea{border:0;background:transparent;resize:none;flex:1;min-height:36px;max-height:120px;padding:7px 5px;font-size:11px;overflow-y:auto}.chat-composer textarea:focus-visible{outline-offset:0}.chat-send{border-radius:6px;background:var(--primary);color:var(--on-primary);width:36px;height:36px;flex:none;display:grid;place-items:center}.chat-send:hover:not(:disabled){background:var(--primary-hover)}.chat-send svg{width:18px;height:18px}.grounding-note{display:flex;align-items:center;justify-content:center;gap:5px;color:var(--muted);font-size:9px;margin-top:11px}.grounding-note svg{width:12px;height:12px}.chat-messages{max-height:360px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:12px;margin-bottom:14px;padding-left:4px;scrollbar-width:thin}.chat-message{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.chat-message.user{background:var(--inset);border-radius:10px 10px 2px 10px;padding:9px 12px;margin-left:20px}.chat-message.assistant{padding:2px 0 10px;border-bottom:1px solid var(--border)}.chat-message.error{color:var(--danger)}.message-label{display:block;font-size:10px;color:var(--muted);font-weight:600;margin-bottom:4px}.message-source{font-size:9px;color:var(--muted);display:block;margin-top:7px;line-height:1.8}.chat-thinking{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:8px}
.appointment-row{display:grid;grid-template-columns:64px minmax(100px,1fr) auto;align-items:center;gap:12px;padding:19px 24px;border-bottom:1px solid var(--border)}.appointment-row:last-child{border-bottom:0}.appointment-time{font-size:17px;font-weight:500;direction:ltr;text-align:right;align-self:start}.appointment-time small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:2px}.appointment-name{font-size:13px;font-weight:600;overflow-wrap:anywhere}.appointment-details{font-size:11px;color:var(--muted);margin-top:3px;display:flex;align-items:center;gap:7px;flex-wrap:wrap}.appointment-status{display:flex;align-items:flex-end;gap:7px;flex-direction:column}.status-tag{display:inline-flex;align-items:center;justify-content:center;font-size:10px;border-radius:5px;padding:3px 8px;white-space:nowrap;background:var(--inset);color:var(--muted);line-height:1.9}.status-tag.success{color:var(--success);background:var(--success-bg)}.status-tag.warning{color:var(--warning);background:var(--warning-bg)}.status-tag.danger{color:var(--danger);background:var(--danger-bg)}.row-actions{display:flex;align-items:center;gap:4px}.row-actions button{color:var(--muted);background:transparent;font-size:10px;padding:4px 6px;min-height:32px;border-radius:5px}.row-actions button:hover{background:var(--inset);color:var(--primary)}.row-actions button[data-status=cancelled]:hover{color:var(--danger)}.appointment-row.cancelled .appointment-name{text-decoration:line-through;color:var(--muted)}.list-toolbar{display:flex;align-items:center;gap:18px;padding:20px 24px;border-bottom:1px solid var(--border);flex-wrap:wrap}.list-toolbar>.button{margin-right:auto}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:550;margin-bottom:17px}.field input,.field select,.field textarea{font-weight:400;width:100%;font-size:13px}.field-hint{color:var(--muted);font-size:11px;margin:-3px 0 18px}.compact-field{flex-direction:row;align-items:center;margin:0;font-weight:400}.compact-field input{width:155px}.search-input{display:flex;align-items:center;gap:10px;min-width:240px;max-width:400px;flex:1}.search-input>span{color:var(--muted)}.search-input input{width:100%;border:0;background:transparent;padding-right:0}.data-table{width:100%;border-collapse:collapse;font-size:12px}.data-table th{text-align:right;color:var(--muted);font-size:11px;font-weight:500;padding:16px 24px;border-bottom:1px solid var(--border);white-space:nowrap}.data-table td{padding:20px 24px;border-bottom:1px solid var(--border)}.data-table tr:last-child td{border-bottom:0}.data-table .cell-primary{font-weight:550;font-size:13px;overflow-wrap:anywhere}.data-table .cell-secondary{font-size:11px;color:var(--muted);display:block;margin-top:2px}.ltr{direction:ltr;unicode-bidi:isolate;display:inline-block}.table-wrap{overflow-x:auto}.list-footer{padding:15px 24px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}.section-note{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);margin-top:19px}.section-note svg{width:16px;height:16px;flex:none}.knowledge-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}.knowledge-add{padding:24px}.knowledge-add h2{margin-bottom:8px}.knowledge-add>p{font-size:12px;margin-bottom:22px}.knowledge-add .button{font-size:12px}.upload-divider{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--muted);margin:23px 0 18px}.upload-divider:before,.upload-divider:after{content:"";height:1px;background:var(--border);flex:1}.file-drop{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;padding:18px 8px;margin-bottom:12px;border:1px dashed var(--control-border);border-radius:9px;color:var(--muted);position:relative;cursor:pointer;overflow:hidden}.file-drop>span:first-child{color:var(--primary);margin-bottom:4px}.file-drop strong{font-size:12px;color:var(--text)}.file-drop>span{font-size:10px}.file-drop input{font-size:10px;padding:7px 4px;max-width:100%;border:0;background:transparent}.file-drop:focus-within{outline:2px solid var(--focus);outline-offset:3px}.document-row{display:flex;gap:13px;align-items:center;padding:20px 24px;border-top:1px solid var(--border)}.document-row>.document-icon{padding:9px;background:var(--bg);border-radius:8px;color:var(--primary);flex:none}.document-row>div{min-width:0;flex:1}.document-row strong{font-size:12px;display:block;overflow-wrap:anywhere}.document-row p{font-size:10px;color:var(--muted);margin-top:4px}.document-row .icon-button{color:var(--danger)}.training-note{display:flex;align-items:flex-start;gap:13px;padding:23px 2px;color:var(--muted);max-width:850px}.training-note>span{color:var(--primary);margin-top:4px}.training-note h3{font-size:12px;color:var(--text);margin-bottom:5px}.training-note p{font-size:11px;line-height:1.9}.settings-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:24px;align-items:start}.settings-panel{padding:26px}.settings-panel h2{margin-bottom:25px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.integration-row{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:15px 0;border-bottom:1px solid var(--border)}.integration-row:first-child{padding-top:0}.integration-row strong{font-size:12px;font-weight:550;display:block}.integration-row p{color:var(--muted);font-size:10px;margin-top:4px;max-width:300px;overflow-wrap:anywhere}.integration-actions{display:flex;flex-direction:column;gap:10px;margin-top:21px}.integration-actions .button{font-size:12px}.integration-actions+.field-hint{margin-top:13px;margin-bottom:0}.training-status{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px;padding:24px 26px}.training-status h2{font-size:15px}.training-status p{font-size:12px;color:var(--muted);margin-top:7px;max-width:720px}.page-footer{display:flex;gap:12px;align-items:center;border-top:1px solid var(--border);padding:19px 0;margin-top:33px;color:var(--muted);font-size:10px}.page-footer>span:first-child{font-weight:600;color:var(--text)}.page-footer>span:last-child{margin-right:auto;font-size:9px}.global-error{display:flex;gap:16px;align-items:center;justify-content:space-between;background:var(--danger-bg);border:1px solid var(--danger);border-radius:9px;color:var(--danger);padding:12px 16px;font-size:12px;margin-bottom:24px}.loading-state{display:flex;gap:10px;align-items:center;justify-content:center;min-height:220px;color:var(--muted);font-size:12px}.spinner{width:18px;height:18px;display:inline-block;border:2px solid currentColor;border-left-color:transparent;border-radius:50%;animation:spin .8s linear infinite;flex:none}.form-error{color:var(--danger);font-size:12px;background:var(--danger-bg);border-radius:7px;padding:10px 12px;margin-bottom:15px;line-height:1.9}.toast{position:fixed;bottom:24px;left:24px;max-width:min(430px,calc(100% - 32px));padding:13px 19px;background:var(--text);color:var(--surface);font-size:12px;border-radius:9px;box-shadow:var(--shadow);z-index:100;overflow-wrap:anywhere}.toast[data-kind=error]{background:var(--danger);color:var(--surface)}.action-dialog{border:0;border-radius:16px;background:var(--surface);color:var(--text);padding:0;width:min(550px,calc(100% - 32px));max-height:calc(100dvh - 48px);box-shadow:var(--shadow)}.action-dialog::backdrop{background:#24171f73}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 24px;border-bottom:1px solid var(--border)}.dialog-heading h2{font-size:19px}#dialogContent{padding:24px}.dialog-actions{display:flex;gap:10px;justify-content:flex-start;border-top:1px solid var(--border);padding-top:20px;margin-top:23px}.dialog-description{font-size:13px;color:var(--muted);line-height:1.9;margin-bottom:23px}.dialog-form .field:last-of-type{margin-bottom:0}.slots-hint{color:var(--muted);font-size:11px;margin-top:-8px;margin-bottom:17px}.no-slots{color:var(--warning);background:var(--warning-bg);padding:10px 12px;border-radius:7px}.page-count{display:flex;align-items:center;gap:8px}.page-count button{min-height:36px;min-width:36px}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes voice-wave{0%,100%{transform:scaleY(.45)}50%{transform:scaleY(1)}}
@media(min-width:1600px){.overview-grid{grid-template-columns:minmax(0,1fr) 355px;gap:28px}.voice-panel{padding:27px}.voice-visual{height:165px}.app-shell main{padding-top:38px}.appointment-list{min-height:320px}.empty-state{min-height:320px}.stat-bottom strong{font-size:34px}.topbar{padding-right:44px;padding-left:44px}}
@media(max-width:1200px){:root{--sidebar:196px}.sidebar{padding-right:12px;padding-left:12px}.brand{gap:8px;padding-right:5px;padding-left:5px}.brand strong{font-size:15px}.nav-item{font-size:12px;padding-right:12px;padding-left:12px;gap:10px}.topbar{padding:0 25px}.app-shell main{padding:26px 25px 0}.overview-grid{grid-template-columns:minmax(0,1fr) 298px;gap:19px}.voice-panel{padding:20px}.voice-panel h2{font-size:21px}.panel-heading{padding:20px 19px 15px}.schedule-toolbar{padding:0 19px 18px}.appointment-row{padding:18px 19px;grid-template-columns:52px minmax(80px,1fr) auto;gap:8px}.appointment-time{font-size:15px}.stat{padding:0 16px}.stat-label{font-size:11px;gap:6px}.stat-label svg{width:15px;height:15px}.stat-bottom{gap:7px}.stat-bottom strong{font-size:27px}.stat:last-child .stat-bottom strong{font-size:24px}.stat-bottom span{font-size:9px}.knowledge-layout{grid-template-columns:minmax(0,1fr) 330px;gap:20px}.settings-layout{gap:20px}.settings-panel{padding:22px}.date-control{gap:4px}.date-control>span:first-child{display:none}.date-control input{width:124px;font-size:10px}.segmented button{padding:4px 14px}}
@media(max-width:1050px){:root{--sidebar:0px}.sidebar{transform:translateX(100%);width:230px;transition:transform .2s ease-out}.sidebar.open{transform:translateX(0)}.sidebar-close{display:inline-flex!important;position:absolute;top:15px;left:10px}.sidebar .brand{padding-top:36px;padding-bottom:30px}.menu-button{display:inline-flex}.topbar{height:72px}.overview-grid{grid-template-columns:minmax(0,1fr) 315px;gap:24px}.nav-item{font-size:13px}.brand strong{font-size:17px}.brand{gap:12px}.stats-strip{padding:21px 0}.stat{padding:0 22px}.stat-label{font-size:12px}.stat-bottom strong{font-size:29px}.skip-link{right:20px}.settings-layout{grid-template-columns:1fr 1fr}}
@media(max-width:780px){.app-shell main{padding:25px 22px 0}.topbar{padding:0 18px}.top-date{font-size:11px;margin-left:2px}.topbar-actions{gap:2px}.topbar-context{gap:10px}.page-heading h1{font-size:26px}.overview-grid{grid-template-columns:minmax(0,1fr) 286px;gap:18px}.panel-heading{padding:19px 16px 14px}.panel-heading h2{font-size:16px}.panel-heading .text-link{font-size:10px;gap:3px}.panel-heading .text-link svg{width:12px;height:12px}.schedule-toolbar{padding:0 16px 17px;gap:8px}.segmented button{padding:4px 11px;font-size:11px}.date-control input{width:122px}.stat{padding:0 13px}.stat-label{font-size:10px;gap:5px}.stat-label svg{width:14px;height:14px}.stat-bottom strong{font-size:26px}.stat-bottom{gap:6px}.stat-bottom span{font-size:9px}.stat:last-child .stat-bottom strong{font-size:23px}.voice-panel h2{font-size:21px}.voice-panel{padding:19px}.voice-description{font-size:11px}.voice-visual{height:141px}.voice-helper{font-size:9px}.voice-start{font-size:12px;padding:9px 10px}.voice-top{margin-bottom:20px}.appointment-row{grid-template-columns:45px 1fr;gap:7px;padding:17px 16px}.appointment-status{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between}.appointment-time{font-size:14px}.appointment-name{font-size:12px}.schedule-footer{padding:12px 16px;font-size:9px;align-items:flex-start}.legend-dot{margin-top:5px}.week-chart{gap:8px;padding:0 2px}.chart-column span{font-size:9px}.chart-column strong{font-size:9px}.week-panel .panel-heading h2{font-size:14px}.week-panel .panel-heading p{font-size:10px}.knowledge-layout{grid-template-columns:minmax(0,1fr) 300px;gap:18px}.knowledge-add{padding:20px}.settings-layout{grid-template-columns:1fr}.data-table th,.data-table td{padding:17px 20px}.settings-panel{padding:24px}.page-heading .button{padding:10px 13px;font-size:12px}}
@media(max-width:650px){.overview-grid{grid-template-columns:1fr}.assistant-column{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.chat-panel{margin-top:0;padding-top:3px}.voice-panel{height:100%}.voice-panel h2{font-size:19px}.voice-top{margin-bottom:14px}.voice-visual{height:135px}.voice-start{font-size:11px}.voice-start svg{width:16px;height:16px}.voice-helper{font-size:8px}.voice-description{font-size:10px}.voice-orbit{width:100px;height:100px}.orbit-two{width:126px;height:126px}.voice-core{width:69px;height:69px}.appointment-row{grid-template-columns:60px 1fr auto;padding:19px 22px}.appointment-status{grid-column:auto;flex-direction:column;align-items:flex-end}.appointment-name{font-size:13px}.appointment-time{font-size:16px}.panel-heading{padding:20px 22px 16px}.panel-heading h2{font-size:17px}.panel-heading .text-link{font-size:11px;gap:5px}.schedule-toolbar{padding:0 22px 18px}.date-control input{width:143px;font-size:11px}.segmented button{padding:4px 19px;font-size:12px}.schedule-footer{padding:13px 22px;font-size:10px;align-items:center}.legend-dot{margin-top:0}.week-panel{margin-bottom:8px}.week-chart{min-height:100px;gap:18px}.week-panel .panel-heading h2{font-size:16px}.chart-column span{font-size:10px}.knowledge-layout{grid-template-columns:1fr}.knowledge-add{padding:24px}.stats-strip{grid-template-columns:1fr 1fr;row-gap:23px;padding:23px 0}.stat{padding:0 23px!important}.stat:first-child,.stat:nth-child(3){padding-right:0!important}.stat:nth-child(2n){border-left:0;padding-left:0!important}.stat-label{font-size:12px;gap:7px}.stat-label svg{width:17px;height:17px}.stat-bottom strong{font-size:28px}.stat-bottom span{font-size:10px}.stat-bottom{margin-top:10px}.stat:last-child .stat-bottom strong{font-size:27px}.topbar-context>span:not(:first-child){display:none}.topbar-context>span:first-of-type{display:none}.topbar-context{gap:6px}.topbar{height:66px}.top-date{font-size:10px}.topbar-actions .icon-button{width:38px;min-width:38px}.topbar-actions svg{width:18px;height:18px}.page-heading{align-items:flex-start;gap:12px;margin-bottom:22px}.page-heading h1{font-size:24px}.page-heading p{font-size:11px;max-width:260px;line-height:1.9}.page-heading .button{margin-top:2px;padding:9px 11px;min-height:40px;font-size:11px;gap:5px}.page-heading .button svg{width:16px;height:16px}.app-shell main{padding:23px 20px 0}.topbar{padding:0 14px}.topbar-context strong{font-size:11px}.list-toolbar{padding:17px 20px;gap:10px}.list-toolbar>.button{font-size:11px}.compact-field{font-size:11px;gap:9px}.compact-field input{font-size:11px;width:140px}.list-toolbar>.muted{font-size:10px;order:3;flex-basis:100%}.search-input{min-width:200px}.search-input input{font-size:12px}.search-input+.muted{flex-basis:auto;order:initial}.data-table th,.data-table td{padding:16px;font-size:11px}.data-table .cell-primary{font-size:12px}.data-table th{font-size:10px}.data-table td:last-child,.data-table th:last-child{padding-right:8px}.training-status{align-items:flex-start;flex-direction:column;padding:22px}.training-status p{font-size:11px}.section-note{align-items:flex-start;font-size:11px}.section-note>span{margin-top:3px}.page-footer{margin-top:27px;flex-wrap:wrap;font-size:9px;gap:6px 12px}.page-footer>span:last-child{font-size:8px}.global-error{font-size:11px;padding:12px}.global-error .button{font-size:11px}.toast{left:16px;bottom:16px}}
@media(max-width:450px){.assistant-column{display:flex;flex-direction:column;gap:0}.voice-panel{width:100%;padding:23px 24px 20px}.voice-panel h2{font-size:25px}.voice-top{margin-bottom:17px}.voice-description{font-size:12px}.voice-visual{height:140px;margin-top:5px}.voice-core{width:76px;height:76px}.voice-orbit{width:118px;height:118px}.orbit-two{width:148px;height:148px}.voice-start{font-size:13px}.voice-helper{font-size:10px}.voice-badge{font-size:10px}.chat-panel{width:100%;margin-top:23px}.chat-heading h3{font-size:13px}.suggested-questions button{font-size:12px;min-height:44px}.chat-composer textarea{font-size:12px;min-height:38px}.grounding-note{font-size:10px}.app-shell main{padding-right:18px;padding-left:18px}.page-heading h1{font-size:23px}.page-heading p{font-size:11px;max-width:220px}.page-heading .button{padding:8px 10px;font-size:10px}.stats-strip{margin-bottom:23px}.stat-label{font-size:11px}.stat{padding:0 17px!important}.stat-bottom strong{font-size:29px}.stat:last-child .stat-bottom strong{font-size:26px}.stat-bottom span{font-size:9px}.panel-heading{padding:19px 18px 15px}.schedule-toolbar{padding:0 18px 17px}.appointment-row{padding:18px;grid-template-columns:48px 1fr}.appointment-status{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between}.appointment-time{font-size:15px}.schedule-footer{padding:13px 18px;font-size:9px;align-items:flex-start}.legend-dot{margin-top:6px}.empty-state{padding:34px 17px;min-height:278px}.empty-state h3{font-size:15px}.empty-state p{font-size:11px;max-width:245px}.date-control input{width:130px}.segmented button{padding:4px 15px}.week-chart{gap:11px}.week-panel .panel-heading{padding-top:10px}.week-panel .panel-heading h2{font-size:15px}.week-panel .panel-heading p{font-size:10px}.page-footer>span:last-child{flex-basis:100%;margin-right:0}.form-grid{gap:12px}.dialog-heading{padding:16px 20px}#dialogContent{padding:20px}.dialog-heading h2{font-size:18px}.dialog-form .form-grid{grid-template-columns:1fr}.dialog-form .field{margin-bottom:15px}.dialog-form .form-grid{gap:0}.dialog-actions{margin-top:20px;gap:8px}.dialog-actions .button{font-size:12px;flex:1}.settings-panel,.knowledge-add{padding:22px}.data-table.mobile-cards thead{display:none}.data-table.mobile-cards,.data-table.mobile-cards tbody{display:block}.data-table.mobile-cards tr{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;padding:20px;border-bottom:1px solid var(--border)}.data-table.mobile-cards tr:last-child{border:0}.data-table.mobile-cards td{padding:0!important;border:0!important;display:block}.data-table.mobile-cards td:before{content:attr(data-label);display:block;color:var(--muted);font-size:9px;margin-bottom:2px}.data-table.mobile-cards td:first-child{grid-column:1/-1}.data-table.mobile-cards td:first-child:before{display:none}.data-table.mobile-cards .cell-primary{font-size:13px}.list-toolbar{padding:15px 18px}.compact-field input{width:134px}.list-toolbar>.button{min-height:40px;padding:7px 10px;font-size:10px}.row-actions button{min-height:36px;padding:4px 7px}.list-footer{padding:14px 18px;font-size:10px}.training-status{padding:20px}.voice-active-controls .button{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition:none!important}.waveform i{transform:none!important}.spinner{border-color:currentColor!important;opacity:.55}}
.weekday-field{padding:0;margin:0 0 20px;border:0;min-width:0}.weekday-field legend{font-size:12px;font-weight:550;margin-bottom:10px}.weekday-options{display:flex;flex-wrap:wrap;gap:8px}.weekday-options label{display:flex;align-items:center;gap:5px;min-height:38px;border:1px solid var(--border);border-radius:7px;padding:5px 8px;font-size:10px;cursor:pointer}.weekday-options input,.check-field input{min-height:0;width:16px;height:16px;accent-color:var(--primary);flex:none}.weekday-options label:has(input:checked){border-color:var(--primary);color:var(--primary);background:var(--rose)}.check-field{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.9;margin-bottom:13px;cursor:pointer}.check-field input{margin-top:4px}.optional{display:inline;color:var(--muted);font-size:10px;font-weight:400}.field:has(.optional){gap:5px}.nav-open{overflow:hidden}
.service-default-hint{max-width:210px;line-height:1.8}
.appointments-workspace{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px;align-items:start}.calendar-panel,.daily-schedule{min-width:0}.calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 22px 12px}.calendar-heading h2{font-size:21px}.calendar-heading p{font-size:11px;color:var(--muted);margin-top:5px}.calendar-month-nav{display:flex;gap:2px;flex:none}.calendar-month-nav .icon-button{border:1px solid var(--border);width:44px;min-width:44px;height:44px}.calendar-month-nav svg{width:17px;height:17px}.calendar-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 22px 17px}.calendar-actions .button{font-size:11px;min-height:44px}.calendar-actions svg{width:15px;height:15px}.month-calendar{padding:0 15px 14px;min-height:355px;transition:opacity .18s ease-out}.month-calendar[aria-busy=true]{opacity:.58}.calendar-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.calendar-weekdays{border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:12px 0;margin-bottom:7px}.calendar-weekdays>span{text-align:center;color:var(--muted);font-size:10px;font-weight:500}.calendar-weekdays>.calendar-friday{color:var(--primary)}.calendar-day-cell,.calendar-day-blank{min-width:0}.calendar-day{width:100%;min-height:68px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:7px 3px;margin:0;background:transparent;border:1px solid transparent;border-radius:8px;color:var(--text);font-variant-numeric:tabular-nums}.calendar-day:hover{background:var(--inset)}.calendar-day.today{border-color:var(--control-border)}.calendar-day.selected{background:var(--primary);color:var(--on-primary)}.calendar-day.selected:hover{background:var(--primary-hover)}.calendar-day.today.selected{border-color:var(--primary)}.calendar-day-number{font-size:16px;line-height:1.4;font-weight:500}.calendar-day-markers{display:flex;align-items:center;justify-content:center;gap:4px;min-height:17px;line-height:1.4}.calendar-appointment-count{color:var(--primary);font-size:10px;font-weight:600}.calendar-day.selected .calendar-appointment-count{color:var(--on-primary)}.calendar-count-label{font-size:8px;font-weight:400}.calendar-empty-mark{display:block;width:4px;height:4px;background:var(--border);border-radius:50%}.calendar-day.selected .calendar-empty-mark{background:var(--on-primary);opacity:.55}.calendar-blocked-mark{width:5px;height:5px;display:block;background:var(--warning);border-radius:1px;transform:rotate(45deg)}.calendar-day.selected .calendar-blocked-mark{background:var(--on-primary)}.calendar-legend{border-top:1px solid var(--border);display:flex;align-items:center;flex-wrap:wrap;gap:8px 15px;padding:13px 22px;color:var(--muted);font-size:9px}.calendar-legend>span{display:flex;align-items:center;gap:6px}.calendar-key{display:block;width:6px;height:6px;background:var(--primary);border-radius:50%;flex:none}.blocked-key{background:var(--warning);border-radius:1px;transform:rotate(45deg)}.calendar-error{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--danger-bg);color:var(--danger);padding:12px 16px;margin:0 15px 15px;border-radius:8px;font-size:11px}.calendar-error .button{flex:none}.calendar-unavailable{padding:24px 10px;color:var(--muted);font-size:12px;line-height:1.9}.daily-schedule>.list-toolbar{padding:0 22px 17px;gap:10px}.daily-schedule .compact-field{gap:8px;font-size:11px}.daily-schedule .compact-field input{font-size:11px;width:139px}.daily-schedule .list-toolbar>.button{font-size:11px;padding:8px 12px;min-height:40px}.daily-schedule>.panel-heading{padding:22px 22px 18px}.daily-schedule #appointmentDayLabel{font-size:12px;margin-top:7px}.daily-schedule .appointment-row{grid-template-columns:52px minmax(80px,1fr);padding:18px 22px;gap:8px}.daily-schedule .appointment-status{grid-column:2;flex-direction:row;justify-content:space-between;align-items:center}.voice-transcript{border-top:1px solid #b28d9d66;padding-top:13px;margin-top:16px}.voice-transcript-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:34px}.voice-transcript-heading h3{font-size:10px;font-weight:500;color:#e0c9d4}.voice-transcript-edit{min-height:34px;background:transparent;color:#fff5f8;padding:4px 7px;border-radius:6px;font-size:10px;text-decoration:underline;text-underline-offset:4px}.voice-transcript-edit:hover{background:#624451}.voice-transcript #voiceTranscriptPreview{font-size:11px;line-height:1.9;color:#f6e4ec;white-space:pre-wrap;overflow-wrap:anywhere;max-height:150px;overflow-y:auto}.voice-transcript-review{padding-top:10px}.voice-transcript-review>p{font-size:10px;line-height:1.9;color:#e0c9d4;margin-bottom:12px}.voice-transcript-review label{display:block;font-size:11px;margin-bottom:7px;color:#fff5f8}.voice-transcript-review textarea{width:100%;min-height:96px;border-color:#b28d9d;background:#382430;color:#fff5f8;font-size:12px}.voice-review-actions{display:flex;gap:8px;align-items:center;margin-top:10px}.voice-review-actions .button{min-height:40px;font-size:10px;padding:8px 9px;white-space:normal;line-height:1.6}.voice-review-actions .voice-start{width:auto;flex:1}.voice-review-actions .voice-mute{flex:none}.voice-transcript-review textarea:focus-visible{outline-color:#f6d0df}
@media(max-width:1200px){.appointments-workspace{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:18px}.calendar-heading{padding:19px 17px 12px}.calendar-heading h2{font-size:19px}.calendar-heading p{font-size:10px}.calendar-actions{padding:0 17px 16px}.calendar-month-nav .icon-button{width:44px;height:44px;min-width:44px}.month-calendar{padding:0 9px 12px}.calendar-day{min-height:63px}.calendar-count-label{display:none}.calendar-legend{padding:12px 17px;gap:7px 10px;font-size:8px}.daily-schedule>.panel-heading{padding:20px 18px 17px}.daily-schedule>.list-toolbar{padding:0 18px 16px;gap:8px}.daily-schedule .compact-field input{width:128px;font-size:10px}.daily-schedule .compact-field{font-size:10px}.daily-schedule .list-toolbar>.button{font-size:10px;padding:7px 10px}.daily-schedule .appointment-row{padding:17px 18px}}
@media(max-width:780px){.appointments-workspace{grid-template-columns:1fr}.calendar-heading{padding:21px 22px 13px}.calendar-heading h2{font-size:22px}.calendar-heading p{font-size:11px}.calendar-actions{padding:0 22px 18px}.calendar-month-nav .icon-button{width:44px;height:44px;min-width:44px}.month-calendar{padding:0 17px 16px;min-height:350px}.calendar-day{min-height:69px}.calendar-count-label{display:inline;font-size:9px}.calendar-day-number{font-size:18px}.calendar-weekdays>span{font-size:11px}.calendar-legend{padding:14px 22px;gap:8px 19px;font-size:10px}.daily-schedule>.panel-heading{padding:22px 22px 18px}.daily-schedule>.list-toolbar{padding:0 22px 18px}.daily-schedule .compact-field{font-size:12px}.daily-schedule .compact-field input{width:160px;font-size:12px}.daily-schedule .list-toolbar>.button{font-size:12px;padding:8px 17px}.daily-schedule .appointment-row{grid-template-columns:64px minmax(100px,1fr) auto;gap:12px;padding:19px 22px}.daily-schedule .appointment-status{grid-column:auto;flex-direction:column;align-items:flex-end}}
@media(max-width:450px){.calendar-heading{padding:18px 17px 10px;gap:8px}.calendar-heading h2{font-size:20px}.calendar-heading p{font-size:10px;max-width:200px}.calendar-month-nav{gap:1px}.calendar-month-nav .icon-button{width:44px;height:44px;min-width:44px}.calendar-actions{padding:0 17px 16px;gap:10px}.calendar-actions .button{min-height:44px;font-size:10px;padding:8px 11px}.month-calendar{padding:0 8px 10px;min-height:315px}.calendar-week{gap:2px}.calendar-weekdays{padding:11px 0;margin-bottom:5px}.calendar-weekdays>span{font-size:10px}.calendar-day{min-height:57px;padding:7px 2px;gap:3px;border-radius:7px}.calendar-day-number{font-size:15px}.calendar-day-markers{gap:3px}.calendar-appointment-count{font-size:9px}.calendar-count-label{display:none}.calendar-legend{padding:12px 15px;font-size:8px;gap:7px 12px}.calendar-error{margin-right:10px;margin-left:10px;padding:11px;font-size:10px;flex-wrap:wrap}.daily-schedule>.panel-heading{padding:20px 18px 16px}.daily-schedule>.list-toolbar{padding:0 18px 17px}.daily-schedule .compact-field{font-size:11px}.daily-schedule .compact-field input{width:137px;font-size:11px}.daily-schedule .list-toolbar>.button{padding:8px 12px;font-size:11px}.daily-schedule .appointment-row{padding:18px;grid-template-columns:48px 1fr;gap:8px}.daily-schedule .appointment-status{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between}.voice-transcript-heading h3{font-size:11px}.voice-transcript-edit{min-height:40px;font-size:11px}.voice-transcript #voiceTranscriptPreview{font-size:12px}.voice-review-actions .button{font-size:11px;min-height:44px}.voice-transcript-review>p{font-size:11px}}
