
#chat .kn-welcome-feature-list{display:grid;grid-template-columns:1fr;gap:4px;margin:14px 0}
#chat .kn-welcome-feature-row{display:flex;align-items:center;text-align:left;gap:12px;width:100%;min-height:54px;padding:9px 12px;border:0;border-radius:8px;background:#102036;color:#edf5ff;cursor:pointer}
#chat .kn-welcome-feature-row:nth-child(even){background:#0b1627}
#chat .kn-welcome-feature-row:hover,#chat .kn-welcome-feature-row:focus-visible{background:#20476f;outline:2px solid #7da8dc;outline-offset:1px}
#chat .kn-welcome-feature-icon{width:25px;flex:0 0 25px;color:#91c3ff;font-size:21px;text-align:center}
#chat .kn-welcome-feature-copy{flex:1;min-width:0}
#chat .kn-welcome-feature-name{display:block;font:600 14px/1.4 system-ui}
#chat .kn-welcome-feature-description{display:block;color:#afc2d9;font:12px/1.4 system-ui}
#chat .kn-welcome-feature-arrow{color:#91c3ff;font-size:20px}
#chat .kn-welcome-feature-details{margin:10px 0 0;padding:12px;border:1px solid #456589;border-radius:8px;color:#dbe8f6;font:14px/1.6 system-ui}
#chat .kn-welcome-feature-details[hidden]{display:none!important}
#chat .kn-welcome-feature-action{min-height:44px;margin:10px 0 0;padding:9px 12px;border:1px solid #648bb9;border-radius:8px;background:#153453;color:#eaf3ff;font:600 13px system-ui;cursor:pointer}
@media(max-width:600px){#chat .kn-welcome-feature-row{min-height:54px;padding:8px 10px}}

#chat .kn-welcome-feature-icon.kn-welcome-sidebar-icon{display:inline-flex;align-items:center;justify-content:center}
#chat .kn-welcome-sidebar-icon .feature-icon{display:inline-flex;align-items:center;justify-content:center}
#chat .kn-welcome-sidebar-icon .nav-feature-svg{width:21px;height:21px}

/* Progressive Welcome: four actions first, complete catalog on demand. */
#chat .kn-welcome-heading{margin:6px 0 2px;font-weight:700;font-size:17px;color:#f3f8ff}
#chat .kn-welcome-question{margin:0 0 4px;font-size:15px;color:#d7e6f8}
#chat .kn-welcome-hint{margin:0 0 8px;font-size:12px;color:#a6bedb}
#chat .kn-welcome-expand{display:block;margin:8px auto 4px;padding:10px 16px;min-height:44px;border:0;border-radius:8px;background:transparent;color:#9dcaff;font:600 13px system-ui;cursor:pointer}
#chat .kn-welcome-expand:hover,#chat .kn-welcome-expand:focus-visible{background:#142a46;outline:2px solid #7da8dc}
#chat .kn-welcome-extra-list[hidden]{display:none!important}
#chat .kn-welcome-extra-list{margin-top:4px}
#chat .kn-welcome-feature-details .kn-welcome-feature-action{margin-right:8px}
@media(max-width:600px){#chat .kn-welcome-heading{font-size:16px}#chat .kn-welcome-feature-list{margin:9px 0}#chat .kn-welcome-feature-row{min-height:52px}}

/* Match the existing landing-page conversation starter: plain cobalt text, no bar. */
.app .main>.kn-composer-help-link{display:block!important;align-self:center!important;flex:0 0 auto!important;margin:2px auto 5px!important;padding:4px 0!important;min-height:0!important;height:auto!important;width:auto!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:#83b7ff!important;font:500 13px/1.4 system-ui,sans-serif!important;text-decoration:none!important;cursor:pointer!important;appearance:none!important}
.app .main>.kn-composer-help-link:hover,.app .main>.kn-composer-help-link:focus-visible{color:#b7d6ff!important;text-decoration:underline!important;outline:none!important}
.app .main>.kn-composer-help-link[hidden]{display:none!important}
.app .main>.kn-composer-help-link:disabled{opacity:.6!important;cursor:wait!important}
@media(max-width:600px){.app .main>.kn-composer-help-link{margin:0 auto 3px!important}}

/* Inline help is part of the chat scroll area, never the composer/footer. */
#chat>.kn-composer-help-panel{position:relative;z-index:25;align-self:stretch;flex:0 1 auto;max-height:none;overflow:visible;margin:0 12px 4px;padding:12px;border:1px solid #456589;border-radius:12px;background:#080f1b;color:#edf5ff;box-shadow:0 -8px 24px rgba(0,0,0,.25)}
#chat>.kn-composer-help-panel[hidden]{display:none!important}
.kn-composer-help-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px;font:600 14px system-ui}
.kn-composer-help-close{border:0!important;background:transparent!important;color:#b9d7ff!important;font:26px/1 system-ui!important;min-width:38px;min-height:38px;cursor:pointer}
.kn-composer-help-content{font:14px/1.5 system-ui}
@media(max-width:600px){#chat>.kn-composer-help-panel{max-height:none;margin:10px 6px;padding:9px}}

.kn-composer-help-panel .kn-welcome-feature-list{display:grid;grid-template-columns:1fr;gap:4px;margin:14px 0}
.kn-composer-help-panel .kn-welcome-feature-row{display:flex;align-items:center;text-align:left;gap:12px;width:100%;min-height:54px;padding:9px 12px;border:0;border-radius:8px;background:#102036;color:#edf5ff;cursor:pointer}
.kn-composer-help-panel .kn-welcome-feature-row:nth-child(even){background:#0b1627}
.kn-composer-help-panel .kn-welcome-feature-row:hover,.kn-composer-help-panel .kn-welcome-feature-row:focus-visible{background:#20476f;outline:2px solid #7da8dc;outline-offset:1px}
.kn-composer-help-panel .kn-welcome-feature-icon{width:25px;flex:0 0 25px;color:#91c3ff;font-size:21px;text-align:center}
.kn-composer-help-panel .kn-welcome-feature-copy{flex:1;min-width:0}
.kn-composer-help-panel .kn-welcome-feature-name{display:block;font:600 14px/1.4 system-ui}
.kn-composer-help-panel .kn-welcome-feature-description{display:block;color:#afc2d9;font:12px/1.4 system-ui}
.kn-composer-help-panel .kn-welcome-feature-arrow{color:#91c3ff;font-size:20px}
.kn-composer-help-panel .kn-welcome-feature-details{margin:10px 0 0;padding:12px;border:1px solid #456589;border-radius:8px;color:#dbe8f6;font:14px/1.6 system-ui}
.kn-composer-help-panel .kn-welcome-feature-details[hidden]{display:none!important}
.kn-composer-help-panel .kn-welcome-feature-action{min-height:44px;margin:10px 0 0;padding:9px 12px;border:1px solid #648bb9;border-radius:8px;background:#153453;color:#eaf3ff;font:600 13px system-ui;cursor:pointer}
@media(max-width:600px){.kn-composer-help-panel .kn-welcome-feature-row{min-height:54px;padding:8px 10px}}

.kn-composer-help-panel .kn-welcome-feature-icon.kn-welcome-sidebar-icon{display:inline-flex;align-items:center;justify-content:center}
.kn-composer-help-panel .kn-welcome-sidebar-icon .feature-icon{display:inline-flex;align-items:center;justify-content:center}
.kn-composer-help-panel .kn-welcome-sidebar-icon .nav-feature-svg{width:21px;height:21px}

/* Progressive Welcome: four actions first, complete catalog on demand. */
.kn-composer-help-panel .kn-welcome-heading{margin:6px 0 2px;font-weight:700;font-size:17px;color:#f3f8ff}
.kn-composer-help-panel .kn-welcome-question{margin:0 0 4px;font-size:15px;color:#d7e6f8}
.kn-composer-help-panel .kn-welcome-hint{margin:0 0 8px;font-size:12px;color:#a6bedb}
.kn-composer-help-panel .kn-welcome-expand{display:block;margin:8px auto 4px;padding:10px 16px;min-height:44px;border:0;border-radius:8px;background:transparent;color:#9dcaff;font:600 13px system-ui;cursor:pointer}
.kn-composer-help-panel .kn-welcome-expand:hover,.kn-composer-help-panel .kn-welcome-expand:focus-visible{background:#142a46;outline:2px solid #7da8dc}
.kn-composer-help-panel .kn-welcome-extra-list[hidden]{display:none!important}
.kn-composer-help-panel .kn-welcome-extra-list{margin-top:4px}
.kn-composer-help-panel .kn-welcome-feature-details .kn-welcome-feature-action{margin-right:8px}
@media(max-width:600px){.kn-composer-help-panel .kn-welcome-heading{font-size:16px}.kn-composer-help-panel .kn-welcome-feature-list{margin:9px 0}.kn-composer-help-panel .kn-welcome-feature-row{min-height:52px}}



/* Preview #60: ephemeral Captain response at the start of the chat stream. */
#chat>.kn-chat-inline-guide{position:relative!important;z-index:1!important;flex:0 0 auto!important;align-self:stretch!important;max-height:none!important;overflow:visible!important;margin:12px 12px 20px!important;padding:0 4px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important}
#chat>.kn-chat-inline-guide .kn-composer-help-header{display:flex;align-items:center;justify-content:space-between;min-height:34px;margin:0 0 8px;padding:0 2px;color:#b8d8ff;font:600 13px/1.4 system-ui}
#chat>.kn-chat-inline-guide .kn-composer-help-header:before{content:'✧';display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;margin-right:9px;border-radius:50%;background:#102a4b;color:#91c3ff;font-size:20px}
#chat>.kn-chat-inline-guide .kn-composer-help-header strong{flex:1}
#chat>.kn-chat-inline-guide .kn-composer-help-close{font-size:23px!important}
#chat>.kn-chat-inline-guide .kn-composer-help-content{padding:0 0 0 37px;max-width:100%;box-sizing:border-box}
#chat>.kn-chat-inline-guide .kn-welcome-feature-list{margin:10px 0}
#chat>.kn-chat-inline-guide .kn-welcome-feature-row{border-radius:8px}
@media(max-width:600px){#chat>.kn-chat-inline-guide{margin:8px 6px 16px!important;padding:0!important}#chat>.kn-chat-inline-guide .kn-composer-help-content{padding-left:0}#chat>.kn-chat-inline-guide .kn-welcome-feature-row{min-height:48px}}

/* A temporary help view replaces the visible legacy Welcome bubble, not the chat history. */
#chat.kn-help-open .bubble.captain-reply:has(.kn-welcome-feature-list){display:none!important}
#chat.kn-help-open>.kn-chat-inline-guide{display:block!important}
#chat.kn-help-open>.kn-chat-inline-guide[hidden]{display:none!important}

/* Viewport-positioned guide: no scrolling the conversation to its beginning. */
#chat>.kn-chat-inline-guide:not([hidden]){position:fixed!important;z-index:150!important;display:block!important;box-sizing:border-box!important;overflow-y:auto!important;overscroll-behavior:contain!important;max-width:none!important;max-height:calc(100dvh - 100px);margin:0!important;padding:10px 12px 18px!important;background:#000!important;border:0!important;border-radius:0!important;box-shadow:none!important}
#chat>.kn-chat-inline-guide[hidden]{display:none!important}
@media(max-width:600px){#chat>.kn-chat-inline-guide:not([hidden]){padding:6px 8px 12px!important}}

/* The guide is simply the next temporary Captain response in the chat flow. */
#chat>.kn-chat-inline-guide:not([hidden]){position:relative!important;inset:auto!important;z-index:auto!important;display:block!important;flex:0 0 auto!important;align-self:stretch!important;box-sizing:border-box!important;width:auto!important;max-width:none!important;max-height:none!important;overflow:visible!important;margin:12px 12px 20px!important;padding:0 4px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
#chat>.kn-chat-inline-guide[hidden]{display:none!important}
@media(max-width:600px){#chat>.kn-chat-inline-guide:not([hidden]){margin:8px 6px 16px!important;padding:0!important}}

/* Final: render the temporary guide using the existing Captain bubble styling. */
#chat>.bubble.captain-reply.kn-chat-inline-guide:not([hidden]){position:relative!important;inset:auto!important;display:block!important;align-self:stretch!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
#chat>.bubble.captain-reply.kn-chat-inline-guide[hidden]{display:none!important}
#chat>.bubble.captain-reply.kn-chat-inline-guide>.md{padding:0!important}
#chat>.bubble.captain-reply.kn-chat-inline-guide>.md[hidden]{display:none!important}

/* Temporary Welcome responses must never duplicate the singleton mode selector. */
#chat>.kn-chat-inline-guide .kn-mode-dock,
#chat>.kn-chat-inline-guide #knModeDock,
#chat>.kn-chat-inline-guide #knComposerModeButton,
#chat>.kn-chat-inline-guide #knComposerModeMenu,
#chat>.kn-chat-inline-guide .kn-mode-strip-label{display:none!important}
#chat>.kn-chat-inline-guide .kn-help-mode-label{display:inline-flex;align-items:center;margin-left:8px;color:#c8dcf7;font:500 12px/1.3 system-ui;white-space:nowrap}
