/* 行程典库：整页右侧滚动，列表/详情区加高（无内部粗滚动条） */
#p11{
  position:absolute!important;top:0;left:0;right:0;bottom:0;
  overflow-x:hidden!important;overflow-y:auto!important;
  box-sizing:border-box;-webkit-overflow-scrolling:touch;
}
.kb-page{max-width:1320px;width:100%;margin:0 auto;padding:12px 16px 16px;box-sizing:border-box}
.kb-topbar{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:10px 16px;margin-bottom:10px}
.kb-topbar-intro{flex:1;min-width:220px}
.kb-title{margin:0 0 4px;font-size:20px;font-weight:700;color:#1e293b}
.kb-sub{margin:0;font-size:12px;color:#64748b;line-height:1.5;max-width:520px}
.kb-topbar-stats{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.kb-stat-inline{display:flex;align-items:baseline;gap:4px;padding:5px 11px;background:#fff;border:1px solid #e2e8f0;border-radius:999px;font-size:12px;white-space:nowrap}
.kb-stat-inline b{font-size:14px;font-weight:700;color:#667eea}
.kb-stat-inline span{color:#64748b;font-size:11px}
.kb-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:10px 12px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:10px}
.kb-filters input,.kb-filters select{padding:7px 10px;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;background:#fff}
.kb-search-wrap{display:flex;align-items:stretch;flex:1;min-width:200px;max-width:320px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;overflow:hidden}
.kb-search-wrap:focus-within{border-color:#667eea;box-shadow:0 0 0 2px rgba(102,126,234,.15)}
.kb-filters-search{flex:1;min-width:0;max-width:none;border:none!important;border-radius:0!important;box-shadow:none!important}
.kb-search-btn{flex:0 0 auto;width:40px;border:none;border-left:1px solid #e2e8f0;background:linear-gradient(180deg,#f8fafc,#f1f5f9);color:#4338ca;font-size:16px;cursor:pointer;line-height:1;padding:0}
.kb-search-btn:hover{background:#ede9fe}
.kb-insights-bar{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px;margin-bottom:10px}
.kb-insights-bar:empty{display:none}
.kb-insights-label{font-size:11px;font-weight:600;color:#64748b;margin-bottom:8px}
.kb-insights-body{display:flex;flex-direction:column;gap:8px}
.kb-insight-block{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px 10px}
.kb-insight-head{font-size:12px;font-weight:600;color:#334155;flex-shrink:0;line-height:26px}
.kb-insight-items{display:flex;flex-wrap:wrap;gap:6px;flex:1;min-width:0}
.kb-insight-chip{display:inline-flex;align-items:center;gap:5px;max-width:min(100%,360px);padding:4px 10px;border-radius:999px;background:#f8fafc;border:1px solid #e2e8f0;font-size:12px;color:#475569;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kb-insight-dest{flex-shrink:0;padding:1px 6px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:10px;font-weight:700}
.kb-insight-chip--dest{background:#ecfdf5;border-color:#bbf7d0;color:#047857;max-width:min(100%,180px)}
.kb-insight-rank{color:#94a3b8;font-size:10px;font-weight:700;flex-shrink:0}
.kb-insight-num{color:#667eea;font-weight:600;font-size:11px;flex-shrink:0;margin-left:2px}
.kb-workspace{display:flex;gap:12px;align-items:stretch;min-height:calc(100vh - 260px)}
@media(max-width:860px){.kb-workspace{flex-direction:column;min-height:calc(100dvh - var(--m-hd-h,52px) - var(--m-tab-h,56px) - 200px)}}
.kb-list-pane{flex:0 0 clamp(260px,28vw,320px);display:flex;flex-direction:column;background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 1px 6px rgba(15,23,42,.04)}
@media(max-width:860px){.kb-list-pane{width:100%;flex:0 0 auto}}
.kb-detail-pane{flex:1;min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 1px 6px rgba(15,23,42,.04)}
.kb-pane-head{padding:10px 12px;font-size:12px;font-weight:600;color:#64748b;background:#f8fafc;border-bottom:1px solid #eef2f7;flex-shrink:0}
.kb-list{flex:1}
.kb-list-foot{flex-shrink:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 8px;padding:8px 10px;border-top:1px solid #eef2f7;background:#fafbff}
.kb-list-foot button{padding:4px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#475569;font-size:12px;cursor:pointer}
.kb-list-foot button:disabled{opacity:.45;cursor:not-allowed}
.kb-list-foot .kb-page-go{padding:4px 8px}
.kb-list-foot span,.kb-list-foot label{font-size:11px;color:#64748b;white-space:nowrap}
.kb-page-jump{display:inline-flex;align-items:center;gap:4px}
.kb-page-input{width:42px;padding:3px 6px;border:1px solid #e2e8f0;border-radius:6px;font-size:12px;text-align:center;color:#334155;background:#fff}
.kb-page-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 2px rgba(102,126,234,.15)}
.kb-item{padding:9px 12px;border-bottom:1px solid #f1f5f9;cursor:pointer;transition:background .12s}
.kb-item:hover{background:#f8fafc}
.kb-item.on{background:#f5f3ff;box-shadow:inset 3px 0 0 #667eea}
.kb-item-title{font-size:13px;font-weight:600;color:#1e293b;margin-bottom:3px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.kb-item-sub{display:flex;flex-wrap:wrap;gap:4px}
.kb-tag{display:inline-block;padding:1px 6px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:10px;font-weight:600}
.kb-tag--dest{background:#ecfdf5;color:#047857}
.kb-tag--persons{background:#fff7ed;color:#c2410c}
.kb-detail-body{padding:16px 18px 24px}
.kb-welcome{padding:48px 20px;text-align:center;color:#94a3b8}
.kb-welcome-title{font-size:16px;font-weight:600;color:#64748b;margin-bottom:8px}
.kb-welcome-hint{font-size:13px;line-height:1.6;max-width:420px;margin:0 auto}
.kb-detail-title{margin:0 0 10px;font-size:18px;font-weight:700;color:#1e293b;line-height:1.4;max-width:920px}
.kb-meta-row{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px;max-width:920px}
.kb-chip{display:inline-flex;align-items:center;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:600;line-height:1.3}
.kb-chip--city{background:#dbeafe;color:#1d4ed8}
.kb-chip--dest{background:#d1fae5;color:#047857}
.kb-chip--month{background:#ede9fe;color:#6d28d9}
.kb-chip--price{background:#ffedd5;color:#c2410c}
.kb-chip--persons{background:#fce7f3;color:#be185d}
.kb-chip--transport{background:#e0f2fe;color:#0369a1}
.kb-chip--meal{background:#fef3c7;color:#b45309}
.kb-chip--hotel{background:#f3e8ff;color:#7e22ce}
.kb-chip--spot{background:#ecfccb;color:#3f6212}
.kb-view-toggle{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 14px;position:sticky;top:0;background:#fff;padding:12px 0 8px;z-index:2;border-bottom:1px solid #f1f5f9;max-width:920px}
.kb-view-toggle .kb-export-btn{margin-left:4px}
.kb-view-btn{padding:6px 14px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:#64748b;font-size:12px;font-weight:600;cursor:pointer}
.kb-view-btn.on{background:#667eea;color:#fff;border-color:#667eea}
.kb-view-btn:disabled{opacity:.45;cursor:not-allowed}
.kb-days{display:flex;flex-direction:column;gap:10px;max-width:920px}
.kb-itinerary-summary{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0 0 14px;padding:10px 14px;background:linear-gradient(135deg,#f5f3ff 0%,#ecfdf5 100%);border:1px solid #e0e7ff;border-radius:12px;font-size:12px;color:#64748b;max-width:920px}
.kb-itinerary-summary b{font-size:15px;font-weight:700;color:#4338ca;margin-right:2px}
.kb-summary-sep{color:#cbd5e1;font-weight:300}
.kb-simple-timeline{display:flex;flex-direction:column;gap:0;max-width:920px;padding:2px 0 8px}
.kb-simple-day{display:flex;gap:12px;align-items:stretch}
.kb-simple-rail{flex:0 0 42px;display:flex;flex-direction:column;align-items:center;padding-top:10px}
.kb-simple-dot{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:28px;padding:0 6px;border-radius:999px;background:linear-gradient(135deg,#667eea,#8b5cf6);color:#fff;font-size:11px;font-weight:700;box-shadow:0 2px 8px rgba(102,126,234,.35);flex-shrink:0}
.kb-simple-line{flex:1;width:2px;margin:8px 0 0;background:linear-gradient(180deg,#c7d2fe 0%,#e2e8f0 100%);border-radius:999px;min-height:20px}
.kb-simple-card-wrap{flex:1;min-width:0;padding-bottom:12px}
.kb-simple-card-wrap .kb-day-card--simple{margin:0;border-color:#e0e7ff;background:#fff;box-shadow:0 2px 10px rgba(15,23,42,.05);padding:12px 14px;border-radius:12px}
.kb-day-card{border:1px solid #eef2f7;border-radius:12px;padding:12px 14px;background:#fafbff}
.kb-day-card--simple{padding:8px 12px;background:#fff;border-color:#e2e8f0}
.kb-day-card--simple .kb-day-head{margin-bottom:6px}
.kb-simple-grid{display:grid;grid-template-columns:52px 1fr;gap:8px 10px;align-items:start}
.kb-simple-row{display:contents}
.kb-simple-label{font-size:11px;font-weight:700;color:#64748b;line-height:26px;text-align:right;padding-right:2px}
.kb-simple-label--city{color:#1d4ed8}
.kb-simple-label--spot{color:#3f6212}
.kb-simple-label--transport{color:#0369a1}
.kb-simple-val{min-width:0}
.kb-simple-chips{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.kb-simple-empty{font-size:12px;color:#cbd5e1}
.kb-simple-row--transport .kb-simple-val{font-size:12px;color:#475569;line-height:1.5;padding-top:4px}
.kb-day-row--simple{margin-top:8px}
.kb-day-row--simple:first-child{margin-top:0}
.kb-day-row--date .kb-day-date-label{font-size:11px;font-weight:600;color:#6d28d9;background:#ede9fe;padding:2px 8px;border-radius:999px;flex-shrink:0}
.kb-day-city-line{font-weight:600;color:#1e293b;font-size:13px}
.kb-day-row--transport{margin-top:6px;padding-top:8px;border-top:1px dashed #e2e8f0}
.kb-day-fallback{font-size:12px;color:#64748b;line-height:1.55;margin-top:4px;padding:8px 10px;background:#f8fafc;border-radius:8px}
.kb-day-row--simple .kb-spots{display:inline-flex;flex-wrap:wrap;gap:4px}
.kb-spots--grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:6px!important;width:100%}
.kb-spots--grid .kb-chip--spot{justify-content:center;text-align:center;white-space:normal;line-height:1.35;padding:5px 8px}
.kb-spot-trail{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;width:100%}
.kb-spot-trail--with-dist{gap:4px 6px}
.kb-spot-trail .kb-chip--spot{flex:0 1 auto;max-width:100%}
.kb-trail-distance{display:inline-flex;align-items:center;gap:3px;font-size:10px;font-weight:600;color:#64748b;background:linear-gradient(180deg,#f8fafc 0%,#f1f5f9 100%);border:1px dashed #cbd5e1;border-radius:999px;padding:2px 9px;line-height:1.35;flex-shrink:0;letter-spacing:.02em}
.kb-trail-distance-icon{font-size:10px;color:#94a3b8;font-weight:700}
.kb-day-route--simple{font-size:13px;font-weight:500;color:#1e293b;margin-bottom:0;line-height:1.45}
.kb-day-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px}
.kb-day-num{font-size:13px;font-weight:700;color:#4338ca;min-width:44px}
.kb-day-route{font-size:13px;color:#334155;line-height:1.55;margin-bottom:6px;white-space:pre-wrap;word-break:break-word}
.kb-day-narrative{margin:8px 0 10px;padding:10px 12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}
.kb-day-narrative-label{font-size:11px;font-weight:700;color:#667eea;margin-bottom:6px;letter-spacing:.04em}
.kb-day-desc{font-size:13px;color:#475569;line-height:1.75;margin-bottom:0;white-space:pre-wrap;word-break:break-word}
.kb-day-rows{display:flex;flex-direction:column;gap:6px}
.kb-day-row{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px;font-size:12px;color:#475569;line-height:1.5}
.kb-day-row-text{flex:1;min-width:0}
.kb-spots{display:flex;flex-wrap:wrap;gap:5px;margin-top:4px}
.kb-section{margin-top:12px;border:1px solid #eef2f7;border-radius:12px;overflow:hidden;max-width:920px}
.kb-section-head{padding:8px 12px;background:#f8fafc;font-size:12px;font-weight:600;color:#475569;border-bottom:1px solid #eef2f7}
.kb-section-body{padding:10px 12px;font-size:13px;color:#334155;line-height:1.65;white-space:pre-wrap;word-break:break-word}
.kb-itinerary-note{font-size:12px;color:#94a3b8;margin:0 0 10px;max-width:920px}
.kb-intro-shell{max-width:920px;margin-top:4px}
.kb-intro-tabs{display:flex;flex-wrap:nowrap;gap:4px;overflow-x:auto;padding:0 2px 10px;margin:0 0 12px;border-bottom:2px solid #f1f5f9;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.kb-intro-tabs::-webkit-scrollbar{height:4px}
.kb-intro-tabs::-webkit-scrollbar-thumb{background:#e2e8f0;border-radius:999px}
.kb-intro-tab{flex:0 0 auto;padding:8px 14px;border:none;border-radius:8px 8px 0 0;background:transparent;color:#64748b;font-size:13px;font-weight:600;cursor:pointer;position:relative;white-space:nowrap;transition:color .15s,background .15s}
.kb-intro-tab:hover{color:#4338ca;background:#f8fafc}
.kb-intro-tab.on{color:#4338ca;background:linear-gradient(180deg,#f5f3ff 0%,#fff 100%)}
.kb-intro-tab.on::after{content:'';position:absolute;left:10px;right:10px;bottom:-2px;height:3px;border-radius:999px;background:linear-gradient(90deg,#667eea,#8b5cf6)}
.kb-intro-panel{padding:4px 2px 8px}
.kb-intro-prose{font-size:14px;color:#334155;line-height:1.75;max-width:100%}
.kb-intro-prose p{margin:0 0 12px;white-space:pre-wrap;word-break:break-word}
.kb-intro-prose p:last-child{margin-bottom:0}
.kb-intro-empty{font-size:13px;color:#94a3b8;margin:12px 0}
.kb-intro-timeline{display:flex;flex-direction:column;gap:0;padding:4px 0}
.kb-intro-day{display:flex;gap:14px;align-items:stretch}
.kb-intro-day-rail{flex:0 0 18px;display:flex;flex-direction:column;align-items:center;padding-top:14px}
.kb-intro-day-dot{width:10px;height:10px;border-radius:50%;background:linear-gradient(135deg,#667eea,#8b5cf6);box-shadow:0 0 0 3px #ede9fe;flex-shrink:0}
.kb-intro-day-line{flex:1;width:2px;margin:6px 0 0;background:linear-gradient(180deg,#c7d2fe,#e2e8f0);border-radius:999px;min-height:24px}
.kb-intro-day-card{flex:1;min-width:0;padding-bottom:16px}
.kb-intro-day-card .kb-day-card{margin:0;border-color:#e0e7ff;background:#fff;box-shadow:0 1px 4px rgba(102,126,234,.08)}
.kb-intro-day-card .kb-day-num{color:#667eea}
.kb-empty{padding:24px 12px;text-align:center;color:#94a3b8;font-size:13px}
.kb-search-hits{margin:0 0 8px;max-height:min(220px,30vh);overflow-y:auto;overflow-x:hidden;padding-right:4px;scrollbar-gutter:stable}
.kb-search-hits::-webkit-scrollbar{width:6px}
.kb-search-hits::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}
.kb-search-hits-label{font-size:11px;color:#64748b;margin:0 0 6px;line-height:1.4}
.kb-hit{padding:8px 12px;border:1px solid #eef2f7;border-radius:10px;margin-bottom:6px;background:#fff;cursor:pointer;font-size:12px;user-select:none}
.kb-hit:hover{border-color:#c7d2fe;background:#fafbff}
.kb-hit.on{border-color:#667eea;background:#f5f3ff;box-shadow:inset 3px 0 0 #667eea}
.kb-hit-title{font-weight:600;margin-bottom:2px;line-height:1.4}
.kb-hit-body{color:#64748b;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:860px){
  .kb-search-hits{max-height:min(180px,24vh)}
  .kb-workspace{order:0}
}
.kb-view-btn--wiki.on{background:linear-gradient(135deg,#0d9488,#14b8a6);border-color:#0d9488}
.kb-insight-wiki{margin-left:4px;padding:1px 5px;border-radius:999px;background:#ccfbf1;color:#0f766e;font-size:9px;font-weight:700}
.kb-wiki-shell{max-width:none}
.kb-wiki-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px}
.kb-wiki-recompile{margin-left:auto;padding:4px 10px;border:1px solid #99f6e4;border-radius:8px;background:#f0fdfa;color:#0f766e;font-size:11px;font-weight:600;cursor:pointer}
.kb-wiki-recompile:hover{background:#ccfbf1}
.kb-wiki-summary{padding:12px 14px;margin-bottom:14px;background:linear-gradient(135deg,#f0fdfa,#ecfeff);border:1px solid #99f6e4;border-radius:12px;font-size:13px;line-height:1.65;color:#134e4a}
.kb-wiki-summary .kb-sum-days{font-weight:700;color:#0d9488}
.kb-wiki-summary .kb-sum-city{font-weight:600;color:#0369a1}
.kb-wiki-summary .kb-sum-sep{color:#94a3b8;font-weight:400}
.kb-wiki-summary .kb-sum-price{font-weight:600;color:#b45309}
.kb-wiki-graph{margin-bottom:16px;padding:12px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px}
.kb-wiki-graph-title{font-size:12px;font-weight:700;color:#64748b;margin-bottom:10px}
.kb-wiki-graph-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px;align-items:flex-start}
.kb-wiki-graph-row:last-child{margin-bottom:0}
.kb-wiki-graph-label{flex:0 0 52px;font-size:11px;font-weight:700;color:#0d9488;padding-top:4px}
.kb-wiki-graph-chips{display:flex;flex-wrap:wrap;gap:6px;flex:1;min-width:0}
.kb-wiki-entity{display:inline-flex;padding:3px 9px;border-radius:999px;background:#ecfdf5;border:1px solid #a7f3d0;color:#047857;font-size:11px;font-weight:600}
.kb-wiki-md{font-size:13px;color:#334155;line-height:1.65}
.kb-wiki-h1{font-size:16px;font-weight:700;color:#1e293b;margin:0 0 10px}
.kb-wiki-h2{font-size:14px;font-weight:700;color:#0f766e;margin:16px 0 8px}
.kb-wiki-h3{font-size:13px;font-weight:600;color:#475569;margin:12px 0 6px}
.kb-wiki-quote{margin:0 0 12px;padding:8px 12px;border-left:3px solid #14b8a6;background:#f0fdfa;border-radius:0 8px 8px 0;color:#115e59;font-size:12px}
.kb-wiki-ul{margin:0 0 10px 18px;padding:0}
.kb-wiki-ul li{margin-bottom:4px}
.kb-wiki-p{margin:0 0 8px}
.kb-wiki-hr{border:0;border-top:1px dashed #e2e8f0;margin:12px 0}
.kb-wiki-link{color:#0d9488;font-weight:600;border-bottom:1px dashed #5eead4}
.kb-wiki-empty{padding:24px 16px;text-align:center;color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;max-width:520px}
.kb-wiki-hint{font-size:12px;line-height:1.6;margin:8px 0 16px;color:#94a3b8}
.kb-wiki-compile-btn{padding:8px 18px;border:none;border-radius:10px;background:linear-gradient(135deg,#0d9488,#14b8a6);color:#fff;font-size:13px;font-weight:600;cursor:pointer}
.kb-wiki-compile-btn:hover{filter:brightness(1.05)}

/* 行程助手 */
.kb-assistant-toggle{margin-left:auto;padding:7px 12px;border:1px solid #c7d2fe;border-radius:8px;background:linear-gradient(180deg,#eef2ff,#e0e7ff);color:#4338ca;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}
.kb-assistant-toggle.on{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-color:#667eea}
.kb-assistant{background:#fff;border:1px solid #e2e8f0;border-radius:14px;margin-bottom:10px;overflow:hidden;box-shadow:0 1px 6px rgba(15,23,42,.04)}
.kb-assistant--collapsed{display:none}
.kb-assistant-head{padding:10px 14px;background:linear-gradient(135deg,#f5f3ff 0%,#ecfeff 100%);border-bottom:1px solid #e2e8f0}
.kb-assistant-title{font-size:14px;font-weight:700;color:#4338ca;margin-bottom:2px}
.kb-assistant-sub{font-size:11px;color:#64748b;line-height:1.5}
.kb-assistant-msgs{max-height:min(52vh,420px);overflow-y:auto;padding:12px 14px;display:flex;flex-direction:column;gap:10px;background:#fafbff}
.kb-assistant-msg{display:flex;flex-direction:column;gap:6px}
.kb-assistant-msg--user{align-items:flex-end}
.kb-assistant-msg--bot{align-items:flex-start}
.kb-assistant-bubble{max-width:min(100%,720px);padding:10px 12px;border-radius:12px;font-size:13px;line-height:1.55;color:#334155}
.kb-assistant-msg--user .kb-assistant-bubble{background:#667eea;color:#fff;border-bottom-right-radius:4px}
.kb-assistant-msg--bot .kb-assistant-bubble{background:#fff;border:1px solid #e2e8f0;border-bottom-left-radius:4px}
.kb-assistant-bubble strong{font-weight:700}
.kb-assistant-routes{display:flex;flex-direction:column;gap:8px;margin-top:4px;max-width:min(100%,760px)}
.kb-assistant-route{padding:10px 12px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .12s,box-shadow .12s}
.kb-assistant-route:hover{border-color:#667eea;box-shadow:0 2px 8px rgba(102,126,234,.12)}
.kb-assistant-route-title{font-size:13px;font-weight:700;color:#1e293b;line-height:1.45;margin-bottom:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.kb-assistant-route-meta{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:6px}
.kb-assistant-route-meta span{display:inline-block;padding:1px 7px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:10px;font-weight:600}
.kb-assistant-route-meta .kb-ar-days{background:#ecfdf5;color:#047857}
.kb-assistant-route-meta .kb-ar-price{background:#ffedd5;color:#c2410c}
.kb-assistant-route-preview{font-size:11px;color:#64748b;line-height:1.5}
.kb-assistant-route-preview div{margin-bottom:2px}
.kb-assistant-highlights{font-size:11px;color:#475569;margin-top:4px}
.kb-assistant-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 10px}
.kb-assistant-chip{padding:4px 10px;border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc;color:#475569;font-size:11px;cursor:pointer}
.kb-assistant-chip:hover{border-color:#667eea;color:#4338ca;background:#eef2ff}
.kb-assistant-input-row{display:flex;gap:8px;padding:10px 14px 12px;border-top:1px solid #eef2f7;background:#fff}
.kb-assistant-input{flex:1;min-width:0;padding:8px 12px;border:1px solid #e2e8f0;border-radius:10px;font-size:13px}
.kb-assistant-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 2px rgba(102,126,234,.15)}
.kb-assistant-send{flex:0 0 auto;padding:8px 16px;border:none;border-radius:10px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:13px;font-weight:600;cursor:pointer}
.kb-assistant-send:disabled{opacity:.55;cursor:not-allowed}
.kb-assistant-loading{font-size:12px;color:#94a3b8;padding:4px 0}
.kb-assistant-examples{margin:0 14px 10px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;font-size:12px}
.kb-assistant-examples summary{padding:8px 12px;cursor:pointer;color:#4338ca;font-weight:600;list-style:none}
.kb-assistant-examples summary::-webkit-details-marker{display:none}
.kb-assistant-examples-body{padding:0 12px 12px;max-height:240px;overflow-y:auto}
.kb-assistant-ex-meta{font-size:11px;color:#64748b;margin-bottom:8px;line-height:1.4}
.kb-assistant-ex-block{margin-bottom:10px}
.kb-assistant-ex-title{font-size:11px;font-weight:700;color:#64748b;margin-bottom:4px}
.kb-assistant-ex-list{display:flex;flex-wrap:wrap;gap:5px}
.kb-assistant-ex-item{padding:3px 8px;border-radius:999px;border:1px solid #e2e8f0;background:#fff;color:#475569;font-size:11px;cursor:pointer}
.kb-assistant-ex-item:hover{border-color:#667eea;color:#4338ca;background:#eef2ff}
.kb-detail-actions{margin:0 0 12px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.kb-export-btn{padding:6px 14px;border:1px solid #667eea;border-radius:8px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:12px;font-weight:600;cursor:pointer}
.kb-export-btn:hover{filter:brightness(1.05)}
