.smart-scheduler{margin:20px 0;padding:24px;border:1px solid #a9bed3;border-radius:14px;background:#f7faff;scroll-margin-top:20px}
.smart-scheduler h2{margin:0 0 8px;font-size:21px;color:#203755}
.smart-query-form{margin-top:18px}.smart-query-form>label{display:block;font-size:14px;font-weight:650;margin-bottom:8px;color:#344d6b}
.smart-query-form textarea{box-sizing:border-box;width:100%;resize:vertical;min-height:84px;padding:13px;border:1px solid #b7c8dc;border-radius:9px;font:inherit;line-height:1.6;background:white;color:#172b4d}
.smart-query-actions,.smart-match-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:10px}.smart-query-actions p,.smart-match-actions p{flex:1;line-height:1.6;margin:0}
.smart-query-actions button,.smart-match-actions button{flex:none}.smart-location{flex:1;min-width:200px}
.smart-travel-settings{padding:14px 0;border-top:1px solid #dbe4ed;border-bottom:1px solid #dbe4ed}.smart-travel-settings>summary{cursor:pointer;font-size:14px;font-weight:650;color:#304c6b}
.smart-route-input{display:grid;grid-template-columns:1fr 100px;align-items:center;gap:12px;margin:10px 0;font-size:13px;color:#43506a}.smart-route-input input{width:100%;box-sizing:border-box;border:1px solid #cbd3df;border-radius:8px;padding:9px;font:inherit;min-height:40px}
.smart-summary{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 12px}.smart-summary span{padding:9px 12px;border:1px solid #d5dfea;border-radius:7px;background:white;color:#334d6b;font-size:13px}
.smart-results-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px;margin:15px 0}.smart-results-grid .schedule-result{padding:18px}.smart-results-grid h3{font-size:17px}
.smart-leg{padding:12px 0;border-top:1px solid #e4eaf1;font-size:13px;line-height:1.65}.smart-leg strong{display:block;color:#314c69}.smart-leg small{display:block;color:#586b81;font-size:12px}.smart-leg .smart-margin{display:inline-block;margin-top:5px;padding:3px 7px;border-radius:4px;background:#e8f4ee;color:#225e45}.smart-leg.conflict .smart-margin{background:#fbe8e5;color:#943e30}
.smart-review-notes{padding-left:18px!important;font-size:13px;color:#775d29;line-height:1.6}.smart-excluded>summary{padding:14px 0;cursor:pointer;font-weight:650;color:#556b84}.smart-warning{margin:12px 0}.smart-status{color:#536279;font-size:14px;padding:10px 0}
.smart-scheduler button:disabled{opacity:.6;cursor:wait}.smart-scheduler :focus-visible{outline:2px solid #316da8;outline-offset:2px}.smart-scheduler #smartRequirements:empty{display:none}
@media(max-width:650px){.smart-scheduler{padding:16px}.smart-query-actions,.smart-match-actions{align-items:stretch;flex-direction:column}.smart-results-grid{grid-template-columns:minmax(0,1fr)}.smart-scheduler .section-head{align-items:start}.smart-route-input{grid-template-columns:minmax(0,1fr) 80px}.smart-scheduler .schedule-toolbar label{min-width:130px}.smart-scheduler .schedule-toolbar input{box-sizing:border-box;max-width:100%}}
.assistant-examples{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
.assistant-conversation{max-height:270px;overflow:auto;margin-bottom:14px}
.assistant-message{padding:12px 16px;border-radius:10px;white-space:pre-wrap;background:#f0f5f2}
.assistant-message.user{background:#f3f4f6;margin-left:24px}
.scheduling-assistant textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:78px}
.scheduling-assistant form label{display:block;margin-bottom:8px;font-weight:600}
.scheduling-assistant textarea,.scheduling-assistant input{font:inherit;padding:11px 12px;border:1px solid #c9d8d1;border-radius:9px;background:#fff;color:#172f2d}
.scheduling-assistant input{width:100%;box-sizing:border-box;margin:7px 0 16px}
.scheduling-assistant textarea:focus,.scheduling-assistant input:focus{outline:2px solid #86b9a2;outline-offset:2px}
.assistant-lesson-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:10px;margin:16px 0}
.assistant-lesson{display:flex;flex-direction:column;gap:7px;padding:14px;border:1px solid #dce4df;border-radius:10px;text-align:left;background:#fff}
.assistant-requests{margin-top:24px;border-top:1px solid #dce4df;padding-top:16px}
.assistant-requests summary{font-weight:600;cursor:pointer}
#assistantQueue{display:grid;gap:10px;margin-top:12px}

.smart-profiles{margin:16px 0;border:1px solid #dbe4ee;border-radius:12px;padding:12px;background:#f8fafc}.smart-profiles>summary{cursor:pointer;font-weight:650}.smart-profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px;margin:12px 0}.smart-profile{padding:12px;border:1px solid #dbe4ee;border-radius:10px;background:white}.smart-profile>strong,.smart-profile>span,.smart-profile>small{display:block}.smart-profile>span{font-size:12px;color:#475569;margin-top:4px}.smart-profile p,.smart-owner-note p{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0}.smart-profile small{color:#64748b}.smart-owner-note{background:#f1f5f9;border-radius:8px;padding:10px;margin:10px 0;font-size:13px}.smart-profiles .smart-profile-grid{max-height:520px;overflow:auto}

.advisor-mode{display:flex;align-items:center;gap:12px;margin:12px 0}
.scheduling-assistant select{box-sizing:border-box;max-width:100%;padding:10px 12px;border:1px solid #c9d8d1;border-radius:9px;font:inherit;background:#fff;color:#172f2d}
.advisor-profiles{margin-top:20px;padding-top:16px;border-top:1px solid #dce4df}
.advisor-profiles summary,.advisor-source summary{cursor:pointer;font-weight:600}
.advisor-profile-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.advisor-profile-fields select{width:100%;margin-top:7px}
.advisor-source{padding:10px 12px;margin-top:8px;border:1px solid #dce4df;border-radius:8px;overflow-wrap:anywhere}
.advisor-source p{font-size:13px;line-height:1.6;color:#536279}
.assistant-message{overflow-wrap:anywhere;line-height:1.7}
.assistant-conversation{max-height:520px}
@media(max-width:650px){.advisor-profile-fields{grid-template-columns:1fr}.advisor-mode{align-items:start;flex-direction:column}.assistant-message.user{margin-left:10px}}

.smart-profiles{margin:16px 0;border:1px solid #dbe4ee;border-radius:12px;padding:12px;background:#f8fafc}.smart-profiles>summary{cursor:pointer;font-weight:650}.smart-profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px;margin:12px 0}.smart-profile{padding:12px;border:1px solid #dbe4ee;border-radius:10px;background:white}.smart-profile>strong,.smart-profile>span,.smart-profile>small{display:block}.smart-profile>span{font-size:12px;color:#475569;margin-top:4px}.smart-profile p,.smart-owner-note p{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0}.smart-profile small{color:#64748b}.smart-owner-note{background:#f1f5f9;border-radius:8px;padding:10px;margin:10px 0;font-size:13px}.smart-profiles .smart-profile-grid{max-height:520px;overflow:auto}

.assistant-operation{padding:14px;margin:12px 0;border:1px solid #cbdce5;border-radius:10px;background:#fff}.assistant-operation p{overflow-wrap:anywhere;line-height:1.5}.assistant-operation small{display:block;margin-top:8px;color:#526672}.assistant-operation a{margin-right:12px}.assistant-operation button{margin-left:12px}#advisorCharges{margin:18px 0}
