.kb-cloud {
    --kb-ink: #252b2e;
    --kb-muted: #68757b;
    --kb-line: #dce3e5;
    position: relative;
    min-height: min(100svh, 920px);
    background: #f3f5f5;
    color: var(--kb-ink);
    font-family: inherit;
}
.kb-cloud *, .kb-cloud *::before, .kb-cloud *::after { box-sizing: border-box; }
.kb-cloud__shell {
    max-width: 1440px;
    min-height: min(100svh, 920px);
    margin: 0 auto;
    padding: clamp(36px, 5vw, 64px) clamp(20px, 5vw, 72px) 30px;
    display: flex;
    flex-direction: column;
}
.kb-cloud__heading { text-align: center; }
.kb-cloud__heading h1 {
    margin: 0;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.16;
    font-weight: 600;
    letter-spacing: 0;
}
.kb-cloud__heading p { margin: 10px 0 0; color: var(--kb-muted); font-size: clamp(14px, 1.4vw, 16px); line-height: 1.45; }
.kb-cloud__search {
    width: min(100%, 440px);
    height: 52px;
    margin: 26px auto 0;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #d5dee1;
    border-radius: 27px;
    background: rgba(255,255,255,.81);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.kb-cloud__search:focus-within { border-color: #819096; box-shadow: 0 0 0 3px rgba(70,87,93,.10); }
.kb-cloud__search svg, .kb-cloud__close svg {
    width: 21px; height: 21px; fill: none; stroke: currentColor;
    stroke-width: 1.8; stroke-linecap: round;
}
.kb-cloud__search svg { flex: none; color: #6a777d; }
.kb-cloud__search input {
    min-width: 0; flex: 1; border: 0; outline: 0; background: transparent;
    color: var(--kb-ink); font: inherit; font-size: 16px; line-height: 1.4;
}
.kb-cloud__search input::placeholder { color: #7c888d; opacity: 1; }
.kb-cloud__tags { display:flex; justify-content:center; flex-wrap:wrap; gap:7px; margin:15px auto 0; max-width:100%; }
.kb-cloud__tag { min-height:30px; padding:5px 11px; border:0; border-radius:999px; background:var(--kb-tag-color,#3668e8); color:#fff; font:inherit; font-size:12px; font-weight:600; line-height:1.2; cursor:pointer; opacity:.86; transition:opacity .18s ease,transform .18s ease,box-shadow .18s ease; }
.kb-cloud__tag-clear { display:none; margin-left:7px; font-size:17px; font-weight:400; line-height:0; vertical-align:-1px; }
.kb-cloud__tag.is-active .kb-cloud__tag-clear { display:inline; }
.kb-cloud__tag:hover,.kb-cloud__tag.is-active { opacity:1; transform:translateY(-1px); box-shadow:0 3px 10px rgba(34,48,55,.13); }
.kb-cloud__tag:focus-visible { outline:2px solid #26343a; outline-offset:3px; }
.kb-cloud__questions {
    width: min(100%, 1060px);
    margin: 40px auto 30px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(24px, 5vw, 64px);
    row-gap: 12px;
}
.kb-cloud__question {
    position: relative;
    width: 100%; min-height: 112px;
    padding: 20px 24px;
    border: 0; border-radius: 12px;
    background: transparent; color: #2d373b;
    font: inherit; font-size: clamp(18px, 1.65vw, 23px); font-weight: 500;
    line-height: 1.36; text-align: center; cursor: pointer; text-decoration:none;
    overflow-wrap: anywhere;
    transition: color .25s ease, opacity .35s ease, transform .35s cubic-bezier(.22,1,.36,1);
}
.kb-cloud--ready .kb-cloud__question:not(.is-visible) { opacity: .78; }
.kb-cloud__question:hover, .kb-cloud__question:focus-visible {
    opacity: 1; color: #11191c; text-decoration:none;
    transform: scale(1.025);
}
.kb-cloud__question:focus-visible { outline: 2px solid #64747a; outline-offset: 3px; }
.kb-cloud__question.is-return-focus:focus-visible { outline: none; }
.kb-cloud__status { min-height: 24px; margin: 0; text-align: center; color: var(--kb-muted); font-size: 14px; }
.kb-cloud__status:empty { min-height: 0; }
.kb-cloud__reset { display:inline-block; margin-left:9px; padding:3px 0; border:0; background:none; color:#335d78; font:inherit; font-weight:600; cursor:pointer; }
.kb-cloud__reset:hover { text-decoration:underline; }
.kb-cloud__reset:focus-visible { outline:2px solid #335d78; outline-offset:3px; border-radius:2px; }
.kb-cloud__sentinel { height: 1px; }
.kb-cloud--searching .kb-cloud__questions {
    margin-top: 24px;
    row-gap: 6px;
}
.kb-cloud--searching .kb-cloud__question {
    min-height: 66px; padding: 10px 12px;
    opacity: 1; text-align: left;
}
.kb-cloud--searching .kb-cloud__question:hover, .kb-cloud--searching .kb-cloud__question:focus-visible { transform: none; }
.kb-cloud__dialog {
    width: min(760px, calc(100vw - 32px));
    max-height: calc(100dvh - 12px);
    padding: 0; overflow: hidden; overscroll-behavior: contain;
    border: 1px solid #e0e5e6; border-bottom: 0; border-radius: 24px 24px 0 0;
    color: var(--kb-ink); background: #fff;
    box-shadow: 0 22px 68px rgba(16,29,34,.16);
}
.kb-cloud__dialog[open] {
    position: fixed; inset: auto 0 0; margin: 0 auto;
    height: var(--kb-sheet-height, min(84dvh, 850px));
    animation: kb-sheet-in .32s cubic-bezier(.22,1,.36,1) both;
    transition: height .2s cubic-bezier(.22,1,.36,1);
}
.kb-cloud__dialog.is-dragging { transition: none; }
.kb-cloud__dialog::backdrop { background: rgba(18,27,32,.32); }
.kb-cloud__dialog:focus { outline: none; }
.kb-cloud__dialog-inner { position: relative; display: flex; flex-direction: column; height: 100%; padding: 44px 38px 0; }
.kb-cloud__handle {
    position:absolute; inset:0 62px auto 62px; height:42px; padding:0;
    display:flex; align-items:flex-start; justify-content:center;
    border:0; background:transparent; cursor:ns-resize; touch-action:none;
}
.kb-cloud__handle span { width:38px; height:4px; margin-top:12px; border-radius:4px; background:#d8dfe1; transition:background .2s ease; }
.kb-cloud__handle:hover span { background:#aebbbf; }
.kb-cloud__handle:focus-visible { outline:2px solid #64747a; outline-offset:-5px; border-radius:12px; }
.kb-cloud__sheet-head { display:flex; align-items:flex-start; gap:12px; flex:none; margin:0 0 14px; }
.kb-cloud__sheet-actions { display:flex; gap:2px; flex:none; margin-top:-7px; }
.kb-cloud__close {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border: 0; border-radius: 50%; background: transparent;
    color: #647178; cursor: pointer; text-decoration:none;
}
.kb-cloud__close:hover, .kb-cloud__share:hover { color: #1e292e; }
.kb-cloud__close:focus-visible, .kb-cloud__share:focus-visible { outline: 2px solid #64747a; outline-offset: 2px; }
.kb-cloud__dialog h2 {
    flex:1; min-width:0; margin:0;
    font-size: clamp(24px, 2.4vw, 30px); line-height: 1.24;
    font-weight: 600; overflow-wrap: anywhere; max-height: 26dvh; overflow-y: auto;
    transition: font-size .25s ease, line-height .25s ease, max-height .25s ease;
}
.kb-cloud__dialog.is-title-condensed h2 {
    font-size: clamp(18px, 1.8vw, 21px); line-height: 1.2;
    max-height: 2.4em; overflow: hidden;
}
.kb-cloud__answer-wrap { position:relative; flex:1; min-height:0; margin-right:-28px; }
.kb-cloud__answer-wrap.is-scrolled .kb-cloud__answer {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.28) 12px, rgba(0,0,0,.82) 34px, #000 52px);
    mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.28) 12px, rgba(0,0,0,.82) 34px, #000 52px);
}
.kb-cloud__answer-wrap.has-overflow:not(.is-at-end)::after {
    content:''; position:absolute; inset:auto 0 0; height:56px;
    background:linear-gradient(to bottom, rgba(255,255,255,0), #fff 94%);
    pointer-events:none; z-index:1;
}
.kb-cloud__answer { height:100%; min-height:0; white-space: pre-line; margin:0; padding:0 28px clamp(80px, 11dvh, 120px) 0; overflow-y:auto; overscroll-behavior:contain; color:#4d585d; font-size:clamp(16px,1.4vw,18px); line-height:1.58; overflow-wrap:anywhere; scrollbar-width:thin; scrollbar-color:#cbd4d7 transparent; }
.kb-cloud__answer a { color:#1864b7; text-decoration:underline; text-underline-offset:2px; }
.kb-cloud__answer a:hover { color:#0c4a8e; }
.kb-cloud__share {
    width:44px; height:44px;
    display:grid; place-items:center; padding:0; border:0; border-radius:50%;
    background:transparent; color:#647178; cursor:pointer;
    transition:color .2s ease;
}
.kb-cloud__share.is-copied { color:#2c704f; }
.kb-cloud__share svg { grid-area:1/1; width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; transition:opacity .35s ease, transform .35s cubic-bezier(.22,1,.36,1); }
.kb-cloud__share-check { opacity:0; transform:rotate(60deg) scale(.6); }
.kb-cloud__share.is-copied .kb-cloud__share-link { opacity:0; transform:rotate(-75deg) scale(.6); }
.kb-cloud__share.is-copied .kb-cloud__share-check { opacity:1; transform:rotate(0) scale(1); }
@media (max-width: 650px) {
    .kb-cloud__dialog::backdrop {
        background: linear-gradient(to bottom, rgba(18,27,32,.32) 0, rgba(18,27,32,.32) calc(100% - 140px), #fff calc(100% - 140px), #fff 100%);
    }
    .kb-cloud__tags { gap:7px; margin-top:13px; }
    .kb-cloud__tag { min-height:30px; padding:5px 10px; font-size:12px; }
    .kb-cloud, .kb-cloud__shell { min-height: 100svh; }
    .kb-cloud__shell { padding: 34px 20px 24px; }
    .kb-cloud__heading h1 { font-size: clamp(29px, 8vw, 39px); }
    .kb-cloud__heading p { margin-top: 8px; font-size: 14px; }
    .kb-cloud__search { width: 100%; margin-top: 23px; height: 51px; }
    .kb-cloud__questions { display: block; margin: 20px auto 28px; }
    .kb-cloud__question { display: block; min-height: 90px; margin: 0; padding: 17px 8px; font-size: clamp(18px, 4.8vw, 20px); line-height: 1.32; }
    .kb-cloud--searching .kb-cloud__questions { margin-top: 23px; }
    .kb-cloud--searching .kb-cloud__question { min-height: 64px; margin-bottom: 4px; text-align: left; }
    .kb-cloud__dialog[open] {
        margin: 0;
        width: 100%; max-width: none; height: var(--kb-sheet-height, min(84dvh, 850px)); max-height: calc(100dvh - 10px);
        border: 0; border-radius: 24px 24px 0 0;
    }
    .kb-cloud__dialog.is-expandable .kb-cloud__answer { touch-action: none; }
    .kb-cloud__dialog-inner { height: 100%; max-height: none; padding: 47px 22px env(safe-area-inset-bottom); }
    .kb-cloud__sheet-head { gap:8px; margin-bottom:12px; }
    .kb-cloud__dialog h2 { font-size: clamp(23px, 5.8vw, 28px); transition: font-size .25s ease, line-height .25s ease, max-height .25s ease; }
    .kb-cloud__dialog.has-long-title h2 { font-size: clamp(20px, 5vw, 24px); }
    .kb-cloud__dialog.is-title-condensed h2 { font-size: clamp(17px, 4.3vw, 20px); line-height: 1.2; max-height: 2.4em; overflow: hidden; }
    .kb-cloud__answer-wrap { margin-right:-14px; }
    .kb-cloud__answer { padding-right:14px; }
    .kb-cloud__answer { font-size:17px; line-height:1.58; }
}
@keyframes kb-sheet-in { from { translate: 0 100%; } to { translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
    .kb-cloud__question, .kb-cloud__dialog[open], .kb-cloud__share svg, .kb-cloud__dialog h2 { animation: none; transition: none; }
}
