/* K Biz Note v91: curated AI tool usage guides */
.kag-wrap{max-width:1120px;margin:0 auto;padding:32px 18px 76px;box-sizing:border-box}.kag-hero,.kag-detail-hero{padding:38px 34px;border:1px solid #dbe4ef;border-radius:26px;background:linear-gradient(135deg,#f8fafc,#eff6ff 55%,#faf5ff);box-shadow:0 14px 34px rgba(15,23,42,.06)}.kag-eyebrow,.kag-small-label{margin:0 0 8px;color:#6d28d9;font-size:12px;font-weight:900;letter-spacing:.08em}.kag-hero h1,.kag-detail-hero h1{margin:0;color:#111827;font-size:clamp(30px,4.5vw,46px);line-height:1.2;word-break:keep-all}.kag-hero>p,.kag-detail-hero>p{max-width:900px;margin:15px 0 0;color:#475569;font-size:16.5px;line-height:1.8;word-break:keep-all}.kag-hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.kag-hero-actions a,.kag-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 14px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#334155;text-decoration:none;font-weight:850}.kag-hero-actions a.primary,.kag-btn.primary{border-color:#581c87;background:#581c87;color:#fff}.kag-answer,.kag-alert{margin:20px 0;padding:20px 22px;border:1px solid #bfdbfe;border-radius:18px;background:#eff6ff}.kag-answer strong,.kag-alert strong{display:block;margin-bottom:6px;color:#1e3a8a;font-size:18px}.kag-answer p,.kag-alert p{margin:0;color:#475569;line-height:1.75}.kag-alert.ended{border-color:#fecaca;background:#fef2f2}.kag-alert.ended strong{color:#991b1b}.kag-category-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:24px 0 38px}.kag-category-nav a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:9px 13px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;color:#334155;text-decoration:none;font-weight:850}.kag-category-nav span{display:inline-flex;min-width:25px;height:25px;align-items:center;justify-content:center;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:12px}.kag-section{scroll-margin-top:130px;margin-top:40px}.kag-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:14px}.kag-section-head h2,.kag-step-section h2,.kag-panel h2,.kag-prompt-section h2,.kag-caution h2,.kag-source-section h2,.kag-related h2,.kag-note h2{margin:0;color:#111827;font-size:26px;line-height:1.3}.kag-section-head p{max-width:600px;margin:0;color:#64748b;line-height:1.6;text-align:right}.kag-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.kag-card{display:flex;flex-direction:column;min-width:0;padding:19px;border:1px solid #dbe4ef;border-radius:19px;background:#fff;box-shadow:0 7px 20px rgba(15,23,42,.04)}.kag-card.is-ended{border-color:#fecaca;background:#fffafa}.kag-card-top,.kag-detail-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.kag-provider,.kag-detail-meta>span{padding:5px 8px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:11.5px;font-weight:850}.kag-status{padding:5px 8px!important;border-radius:999px!important;font-size:11.5px!important;font-weight:900!important}.status-active{background:#dcfce7!important;color:#166534!important}.status-review{background:#fef3c7!important;color:#92400e!important}.status-ended{background:#fee2e2!important;color:#991b1b!important}.kag-card h3{margin:13px 0 7px;color:#111827;font-size:21px}.kag-card p{margin:0;color:#64748b;line-height:1.65;word-break:keep-all}.kag-card ul{margin:12px 0 14px;padding-left:18px;color:#475569;font-size:14px;line-height:1.65}.kag-card-link{margin-top:auto;color:#581c87;text-decoration:none;font-weight:900}.kag-note{margin-top:42px;padding:22px;border:1px solid #e2e8f0;border-radius:20px;background:#f8fafc}.kag-note p{margin:9px 0 0;color:#64748b;line-height:1.75}.kag-detail-hero.is-ended{border-color:#fecaca;background:linear-gradient(135deg,#fff7ed,#fef2f2)}.kag-detail-meta{margin-bottom:12px}.kag-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:28px 0}.kag-panel{padding:21px;border:1px solid #e2e8f0;border-radius:19px;background:#fff}.kag-panel ul,.kag-caution ul{margin:13px 0 0;padding-left:21px;color:#475569;line-height:1.75}.kag-step-section,.kag-prompt-section,.kag-caution,.kag-source-section,.kag-related{margin-top:36px}.kag-steps{display:grid;gap:10px;margin:15px 0 0;padding:0;list-style:none;counter-reset:none}.kag-steps li{display:grid;grid-template-columns:42px 1fr;align-items:start;gap:12px;padding:15px;border:1px solid #e2e8f0;border-radius:16px;background:#fff}.kag-steps li>span{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#581c87;color:#fff;font-weight:900}.kag-steps p{margin:5px 0 0;color:#475569;line-height:1.7}.kag-section-title-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.kag-copy{flex:0 0 auto;border:0;border-radius:999px;padding:10px 15px;background:#581c87;color:#fff;font-weight:900;cursor:pointer}.kag-prompt{margin:14px 0 0;padding:20px;border-radius:17px;background:#111827;color:#f8fafc;white-space:pre-wrap;word-break:break-word;line-height:1.72;font-family:inherit}.kag-small{margin:9px 0 0;color:#64748b;font-size:13px;line-height:1.65}.kag-caution{padding:21px;border-left:5px solid #f59e0b;border-radius:0 18px 18px 0;background:#fffbeb}.kag-source-list{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0 0;padding:0;list-style:none}.kag-source-list a{display:inline-flex;padding:8px 12px;border:1px solid #dbe4ef;border-radius:999px;background:#fff;color:#4338ca;text-decoration:none;font-weight:800;font-size:13px}.kag-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:14px}.kag-related-grid a{display:flex;flex-direction:column;gap:5px;padding:15px;border:1px solid #e2e8f0;border-radius:15px;background:#fff;color:#111827;text-decoration:none}.kag-related-grid span{color:#64748b;font-size:12px}.kag-bottom-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:38px;padding-top:22px;border-top:1px solid #e2e8f0}
@media(max-width:900px){.kag-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kag-category-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.kag-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kag-section-head{display:block}.kag-section-head p{margin-top:6px;text-align:left}.kag-detail-grid{grid-template-columns:1fr}}
@media(max-width:600px){.kag-wrap{padding:24px 12px 60px}.kag-hero,.kag-detail-hero{padding:27px 19px;border-radius:21px}.kag-grid{grid-template-columns:1fr}.kag-category-nav{grid-template-columns:1fr 1fr;gap:6px}.kag-category-nav a{min-height:44px;padding:7px 9px;font-size:12.5px}.kag-section-head h2,.kag-step-section h2,.kag-panel h2,.kag-prompt-section h2,.kag-caution h2,.kag-source-section h2,.kag-related h2,.kag-note h2{font-size:22px}.kag-section-title-row{align-items:flex-start}.kag-related-grid{grid-template-columns:1fr 1fr}.kag-hero-actions a,.kag-btn{font-size:13px}.kag-steps li{grid-template-columns:36px 1fr;padding:13px;gap:8px}.kag-steps li>span{width:31px;height:31px}.kag-source-list{display:grid;grid-template-columns:1fr}.kag-source-list a{width:100%;box-sizing:border-box}}

/* v93 plan badges */
.kag-plan{display:inline-flex;align-items:center;justify-content:center;padding:5px 8px;border-radius:999px;font-size:11.5px;font-weight:900;white-space:nowrap}.plan-free{background:#dcfce7;color:#166534}.plan-mixed{background:#dbeafe;color:#1d4ed8}.plan-paid{background:#f3e8ff;color:#7e22ce}.plan-unknown{background:#f1f5f9;color:#64748b}.kag-plan-legend{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;margin:18px 0 0;padding:14px 16px;border:1px solid #e2e8f0;border-radius:16px;background:#fff}.kag-plan-legend>strong{margin-right:2px;color:#0f172a}.kag-plan-legend em{font-style:normal;color:#64748b;font-size:12.5px}.kag-plan-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px 0 0;padding:15px 17px;border:1px solid #dbe4ef;border-radius:16px;background:#fff}.kag-plan-summary>div{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.kag-plan-summary strong{color:#334155;font-size:14px}.kag-plan-summary>a{flex:0 0 auto;color:#4338ca;text-decoration:none;font-size:13px;font-weight:850}.kag-card-top .kag-status{margin-left:auto}@media(max-width:720px){.kag-plan-legend{align-items:flex-start}.kag-plan-legend em{flex:1 1 calc(100% - 95px)}.kag-plan-summary{align-items:flex-start;flex-direction:column}.kag-plan-summary>a{width:100%;box-sizing:border-box;text-align:center;padding:9px 12px;border:1px solid #cbd5e1;border-radius:999px}}
