/* Supplied Kai detail content only. No export canvas heights or host selectors. */
.kai-detail{
  --kai-ink:#203b31;--kai-muted:#52665d;--kai-line:#ccd8cf;--kai-paper:#f6f7f2;
  box-sizing:border-box;min-width:0;width:100%;max-width:100%;
  color:var(--kai-ink);font-family:var(--era-sans,Arial,sans-serif);
  font-size:16px;font-weight:400;line-height:1.55;text-align:left;
  overflow-wrap:anywhere;
}
.kai-detail *,.kai-detail *::before,.kai-detail *::after{box-sizing:border-box}
.kai-detail p,.kai-detail figure{margin:0}
.kai-detail h2,.kai-detail h3{color:inherit;text-wrap:pretty}
.kai-detail h2{font-family:var(--era-serif,Georgia,serif);font-size:clamp(26px,3vw,40px);font-weight:400;line-height:1.16;margin:12px 0 18px;letter-spacing:-.02em}
.kai-detail h3{font-family:var(--era-sans,Arial,sans-serif);font-size:clamp(20px,2.2vw,26px);line-height:1.25;margin:22px 0 12px;font-weight:600}
.kai-detail .kai-detail-head{margin-bottom:26px}
.kai-detail .kai-example-label{font-size:15px;font-weight:600;line-height:1.5;color:#355a47;letter-spacing:.02em}
.kai-detail .kai-line{font-size:clamp(18px,2vw,22px);line-height:1.4;margin-bottom:16px}
.kai-detail .kai-explanation+.kai-explanation{margin-top:10px}
.kai-detail .kai-perspective{margin-bottom:18px;color:var(--kai-muted)}
.kai-detail .surface{width:100%;min-width:0;height:auto;max-height:none;overflow:visible;background:#fff;border:1px solid var(--kai-line);border-radius:12px;color:var(--kai-ink)}
.kai-detail .ui-header{display:flex;align-items:center;gap:12px;padding:18px;border-bottom:1px solid var(--kai-line);background:#f7f9f5;border-radius:12px 12px 0 0;min-width:0}
.kai-detail .ui-header>div{min-width:0}
.kai-detail .avatar{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:50%;background:#e1ece3;color:#254d39;font-size:16px;font-weight:600}
.kai-detail .ui-title{font-size:18px;font-weight:600;line-height:1.3}
.kai-detail .ui-subtitle{font-size:15px;line-height:1.45;color:var(--kai-muted);margin-top:5px}
.kai-detail .tools{display:flex;gap:12px;margin-left:auto;flex:0 0 auto;color:#41604f}
.kai-detail svg{display:block;flex:0 0 20px;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.kai-detail .body{height:auto;min-height:0;max-height:none;overflow:visible;padding:20px}
.kai-detail .ui-footer{padding:15px 20px;border-top:1px solid var(--kai-line);background:#f7f9f5;border-radius:0 0 12px 12px;font-size:15px;line-height:1.5;color:var(--kai-muted)}
.kai-detail .ui-label{font-size:15px;font-weight:600;color:#3f6050;line-height:1.4;margin-bottom:8px}
.kai-detail .ui-heading{font-size:22px;font-weight:600;line-height:1.3;margin-bottom:16px}
.kai-detail .status{font-size:16px;line-height:1.45;font-weight:600;padding:12px 14px;background:#f6eed9;color:#624e20;border-left:3px solid #957c42;margin-bottom:18px}
.kai-detail .date{text-align:center;font-size:15px;color:var(--kai-muted);margin-bottom:15px}
.kai-detail .messages{display:flex;flex-direction:column;gap:13px;min-width:0}
.kai-detail .bubble{align-self:flex-start;max-width:90%;min-width:0;padding:12px 15px;border:1px solid #dce4dc;border-radius:10px;background:#fff;font-size:16px;line-height:1.5;color:#203b31}
.kai-detail .bubble.customer{align-self:flex-end;background:#d9fdd3;border-color:#c7e5c2;border-radius:10px 2px 10px 10px}
.kai-detail .bubble.assistant{align-self:flex-start;background:#fff;border-radius:2px 10px 10px 10px}
.kai-detail .chat-label{display:block;margin-bottom:5px;font-size:15px;line-height:1.4;color:#355341;font-weight:600}
.kai-detail .message-text{font-size:inherit;line-height:inherit;white-space:normal}
.kai-detail .meta-time{font-size:15px;line-height:1.4;text-align:right;color:#53675b;margin:6px 0 0;white-space:nowrap}
.kai-detail .ticks{color:#165e78;font-weight:600;letter-spacing:-3px;padding-left:7px;padding-right:3px}
.kai-detail .whatsapp{background:#ecece3}
.kai-detail .whatsapp .ui-header,.kai-detail .whatsapp .composer{background:#f8faf5}
.kai-detail .composer{display:flex;align-items:center;gap:10px;padding:14px;border-top:1px solid var(--kai-line);border-radius:0 0 12px 12px;color:#52695a}
.kai-detail .input{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 15px;border:1px solid #d9e0d7;border-radius:24px;background:#fff;font-size:16px;color:var(--kai-muted)}
.kai-detail .website-banner{font-size:15px;line-height:1.5;padding-bottom:15px;border-bottom:1px solid var(--kai-line);margin-bottom:18px;color:#476151}
.kai-detail .website-banner strong{display:block;font-size:19px;color:#2d503d;margin-bottom:5px}
.kai-detail .fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 24px;padding:0;margin:0 0 22px}
.kai-detail .field{min-width:0;padding-bottom:10px;border-bottom:1px solid #e1e7df}
.kai-detail dt{font-size:15px;line-height:1.45;color:var(--kai-muted);margin-bottom:5px}
.kai-detail dd{font-size:16px;line-height:1.5;font-weight:500;margin:0}
.kai-detail .next{padding:16px;background:#edf4e9;border-left:3px solid #4a7957;font-size:16px;line-height:1.5}
.kai-detail .next strong{display:block;font-size:16px;line-height:1.4;margin-bottom:8px}
.kai-detail .next ul{margin:8px 0 0;padding-left:22px}
.kai-detail .next li+li{margin-top:8px}
.kai-detail .quote{font-size:16px;line-height:1.5;color:#476151;margin-bottom:20px;font-style:italic}
.kai-detail .mini-button{font-size:16px;line-height:1.4;font-weight:600;text-align:center;border:1px solid #bacebc;background:#f4f8ef;color:#2d503d;padding:13px 16px;margin-top:18px;border-radius:6px;cursor:default}
.kai-detail .pipeline{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:20px}
.kai-detail .pipeline span{flex:1 1 120px;font-size:15px;line-height:1.4;padding:11px;background:#eef2eb;border-bottom:2px solid #cbd8c8;text-align:center}
.kai-detail .pipeline .active{background:#e2efdf;border-color:#51805a;color:#254e31;font-weight:600}
.kai-detail .timeline{display:flex;flex-wrap:wrap;gap:16px;margin:20px 0}
.kai-detail .timeline p{flex:1 1 130px;font-size:15px;line-height:1.5;color:var(--kai-muted)}
.kai-detail .timeline strong{display:block;color:#2c533b;font-size:16px;margin-bottom:5px}
.kai-detail .call-row{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;padding:15px 0;border-bottom:1px solid #e1e7df;font-size:16px;line-height:1.5}
.kai-detail .call-row b{font-size:15px;line-height:1.5;color:#41644b}
.kai-detail .call-summary{margin-top:24px}
.kai-detail .knowledge-question{padding:17px;background:#edf3e9;font-size:19px;line-height:1.4;margin-bottom:21px}
.kai-detail .answer{font-size:17px;line-height:1.55}
.kai-detail .answer ul{padding-left:24px;margin:12px 0 18px}
.kai-detail .answer li+li{margin-top:9px}
.kai-detail .source{padding:16px;background:#f7faf2;border:1px solid #c8d7c5;border-radius:5px;margin-top:22px;font-size:16px;line-height:1.55}
.kai-detail .source strong{display:block;font-size:17px;margin-bottom:7px}
.kai-detail .kai-source-note{margin-top:12px}
.kai-detail .community{border-top:1px solid var(--kai-line);margin-top:26px;padding-top:22px;font-size:16px;line-height:1.55}
.kai-detail .community strong{display:block;font-size:20px;line-height:1.3;margin-bottom:13px}
.kai-detail .community p+p{margin-top:13px}
.kai-detail .kai-boundary{padding:13px;border-left:3px solid #567d52;background:#eef4e8;color:#365b36;font-weight:600}
.kai-detail .kai-answer-footer{margin-top:18px}
.kai-detail .telegram{background:#dcebd5}
.kai-detail .telegram .avatar{background:#397f9d;color:#fff}
.kai-detail .telegram-message{min-width:0;max-width:100%;padding:20px;background:#fff;border:1px solid #cfddc8;border-radius:10px}
.kai-detail .telegram-message .sender{font-size:16px;line-height:1.4;font-weight:600;color:#306782;margin-bottom:13px}
.kai-detail .telegram-message h3{font-size:22px;line-height:1.3;margin:0 0 14px}
.kai-detail .telegram-message .fields{margin-top:22px}
.kai-detail .telegram-message .mini-button{background:#eef5f8;border-color:#c4d8e0;color:#2d6276}
.kai-detail .kai-supplement{margin-top:17px;padding-top:14px;border-top:1px solid #d9e2d4;font-size:16px;line-height:1.5}
.kai-detail .kai-supplement strong{font-weight:600}
.kai-detail .kai-result{font-size:18px;line-height:1.45;margin-top:22px}
.kai-detail .kai-case-note,.kai-detail .kai-example-note{font-size:15px;line-height:1.55;color:var(--kai-muted);margin-top:15px}
.kai-detail .kai-detail-media{margin-top:28px;border-top:1px solid var(--kai-line);padding-top:8px;min-width:0}
.kai-detail .kai-detail-media>summary{display:list-item;cursor:pointer;padding:14px 5px;min-height:48px;font-size:17px;line-height:1.45;font-weight:600;color:#2a503a}
.kai-detail .kai-image-note,.kai-detail .kai-scene-note{font-size:15px;line-height:1.5;margin:10px 0 18px;color:var(--kai-muted)}
.kai-detail .kai-scene-note{font-weight:600;color:#3c573e}
.kai-detail .kai-detail-image{margin:24px 0;min-width:0}
.kai-detail .kai-detail-image-portrait{max-width:34rem;margin-inline:auto}
.kai-detail .kai-image-link{display:flex;flex-direction:column;gap:12px;min-height:44px;color:#234f34;text-decoration:underline;text-underline-offset:.18em}
.kai-detail .kai-image-link img{display:block;width:100%;max-width:100%;height:auto;max-height:none;object-fit:contain;background:#f5f2e9}
.kai-detail .kai-image-link span{display:block;padding:8px 0;font-size:16px;line-height:1.5;min-height:44px}
.kai-detail figcaption{font-size:15px;line-height:1.5;color:var(--kai-muted);margin-top:8px}
.kai-detail a:focus-visible,.kai-detail summary:focus-visible{outline:3px solid #2f7145;outline-offset:4px;border-radius:2px}
@media(max-width:520px){
  .kai-detail .ui-header{padding:15px 13px;gap:9px}
  .kai-detail .ui-header>.tools{display:none}
  .kai-detail .body{padding:16px 12px}
  .kai-detail .ui-footer{padding:14px 13px}
  .kai-detail .fields{grid-template-columns:minmax(0,1fr);gap:14px}
  .kai-detail .bubble{max-width:94%;padding:11px 12px}
  .kai-detail .call-row{grid-template-columns:minmax(0,1fr);gap:5px}
  .kai-detail .telegram-message{padding:15px 12px}
}
@media(forced-colors:active){
  .kai-detail .bubble,.kai-detail .source,.kai-detail .status{border:1px solid CanvasText}
  .kai-detail .pipeline .active{outline:2px solid Highlight}
}
