/*
 * Public knowledge base: the help-centre home, the article page, the
 * light/dark theme, and the article layout. Article bodies may only use kb-*
 * classes (see App\Support\HtmlSanitizer), so everything an article can style
 * lives here: readable text, settings tables, tips, numbered steps and phone
 * and desktop screen mockups.
 */

/* ── Light theme (the switch in the nav; dark is the brand default) ── */
html[data-theme="light"] {
    --navy: #F5F7FC;
    --navy-raised: #FFFFFF;
    --white: #141A2E;
    --slate: #525B75;
    --slate-dim: #7A829B;
    --cyan: #0A8C85;
    --card: #FFFFFF;
    --card-hover: #F3F0FF;
    --border: rgba(20, 26, 46, 0.1);
    --border-strong: rgba(107, 72, 255, 0.45);
    color-scheme: light;
}
html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="light"] .homepage-nav { background: rgba(255, 255, 255, 0.85); }
html[data-theme="light"] .mesh-bg { opacity: 0.5; }

.kb-body { min-height: 100vh; }
.kb-page [hidden], .kb-page[hidden] { display: none !important; }
.kb-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kb-icon { flex-shrink: 0; }

.kb-nav-right { display: flex; align-items: center; gap: 24px; }
.kb-theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 10px; background: var(--card); color: var(--white); cursor: pointer; transition: border-color 0.2s, transform 0.15s; }
.kb-theme-toggle:hover { border-color: var(--border-strong); transform: translateY(-1px); }
html[data-theme="light"] .kb-theme-sun, html:not([data-theme="light"]) .kb-theme-moon { display: none; }

.kb-page { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 116px 24px 40px; }
.kb-page a { color: inherit; }

/* Help-centre header */
.kb-hero { padding: 24px 0 36px; text-align: center; }
.kb-hero-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 14px; border: 1px solid rgba(107, 72, 255, 0.4); border-radius: 100px; background: rgba(107, 72, 255, 0.12); color: var(--cyan); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.kb-hero h1 { margin: 0 0 14px; font-family: var(--font-heading, 'Space Grotesk', sans-serif); font-size: clamp(36px, 5.5vw, 60px); font-weight: 700; line-height: 1.1; letter-spacing: -1.5px; }
.kb-grad { background: linear-gradient(135deg, var(--indigo-light, #8B6FFF) 0%, var(--cyan, #00D4C8) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.kb-hero-sub { margin: 0 auto 28px; color: var(--slate); font-size: 17px; }

.kb-search { display: flex; align-items: center; gap: 12px; max-width: 620px; margin: 0 auto; padding: 0 18px; border: 1px solid var(--border); border-radius: 16px; background: var(--card); color: var(--slate); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18); transition: border-color 0.2s, box-shadow 0.2s; }
.kb-search:focus-within { border-color: var(--indigo, #6B48FF); box-shadow: 0 0 0 4px rgba(107, 72, 255, 0.18), 0 14px 40px rgba(0, 0, 0, 0.18); }
.kb-search input { flex: 1; min-width: 0; height: 56px; border: 0; outline: 0; background: transparent; color: var(--white); font: inherit; font-size: 16px; }
.kb-search input::placeholder { color: var(--slate-dim); }

.kb-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.kb-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border: 1px solid var(--border); border-radius: 100px; background: var(--card); color: var(--slate) !important; font-size: 14px; text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.kb-chip:hover { border-color: var(--border-strong); color: var(--white) !important; }

/* Featured guide */
.kb-featured { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 24px; margin-bottom: 28px; padding: 30px 34px; overflow: hidden; border: 1px solid var(--border-strong); border-radius: 22px; background: linear-gradient(135deg, rgba(107, 72, 255, 0.22) 0%, rgba(0, 212, 200, 0.1) 100%), var(--card); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.kb-featured:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(107, 72, 255, 0.25); }
.kb-featured-badge { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 6px; background: var(--indigo, #6B48FF); color: #fff; font-size: 12px; font-weight: 600; }
.kb-featured h2 { margin: 0 0 8px; font-family: var(--font-heading, 'Space Grotesk', sans-serif); font-size: 26px; line-height: 1.25; }
.kb-featured p { margin: 0 0 16px; color: var(--slate); }
.kb-featured-link { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-weight: 600; }

.kb-featured-art { position: relative; height: 190px; }
.kb-art-window, .kb-art-phone { position: absolute; display: flex; flex-direction: column; gap: 9px; border-radius: 12px; background: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.kb-art-window { top: 12px; left: 0; width: 72%; height: 150px; padding: 0 16px 16px; }
.kb-art-bar { display: block; height: 18px; margin: 0 -16px 4px; border-radius: 12px 12px 0 0; background: #EDEFF5; }
.kb-art-phone { right: 4%; top: 0; width: 34%; height: 190px; padding: 22px 12px 12px; border: 5px solid #1C1C1E; border-radius: 22px; }
.kb-art-notch { position: absolute; top: 5px; left: 50%; width: 34%; height: 6px; border-radius: 4px; background: #1C1C1E; transform: translateX(-50%); }
.kb-art-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin: 0 auto 4px; border-radius: 10px; background: linear-gradient(135deg, #6B48FF, #00D4C8); color: #fff; }
.kb-art-line { display: block; height: 8px; border-radius: 4px; background: #D9DCE6; }
.kb-art-line-short { width: 55%; }
.kb-art-field { display: block; height: 16px; border: 1px solid #D9DCE6; border-radius: 5px; }
.kb-art-field-on { border-color: #F5C400; background: #FFF4C2; }
.kb-art-button { display: block; width: 40%; height: 18px; margin-left: auto; border-radius: 5px; background: #0F6CBD; }

/* Category cards */
.kb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.kb-card { padding: 22px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); transition: border-color 0.2s, box-shadow 0.2s; }
.kb-card:hover { border-color: var(--border-strong); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16); }
.kb-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.kb-card-head h2 { margin: 0; font-family: var(--font-heading, 'Space Grotesk', sans-serif); font-size: 19px; }
.kb-card-head p { margin: 0; color: var(--slate); font-size: 13px; }
.kb-card-icon { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, rgba(107, 72, 255, 0.95), rgba(0, 212, 200, 0.85)); color: #fff; box-shadow: 0 8px 20px rgba(107, 72, 255, 0.3); }
.kb-card-list { margin: 0; padding: 0; list-style: none; }
.kb-card-list li { margin: 0; }
.kb-card-list a { display: flex; align-items: center; gap: 11px; margin: 0 -10px; padding: 10px; border-radius: 10px; color: var(--white); font-size: 15px; line-height: 1.4; text-decoration: none; transition: background 0.15s; }
.kb-card-list a > .kb-icon:first-child { color: var(--cyan); }
.kb-card-list a:hover { background: var(--card-hover); }
.kb-card-list a span { flex: 1; }
.kb-card-arrow { color: var(--slate-dim); transition: transform 0.15s, color 0.15s; }
.kb-card-list a:hover .kb-card-arrow { color: var(--indigo-light, #8B6FFF); transform: translateX(3px); }

.kb-empty { padding: 30px 0; color: var(--slate); text-align: center; }

/* Still need help? */
.kb-help { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 36px; padding: 24px 28px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); }
.kb-help-text { flex: 1; min-width: 220px; }
.kb-help h2 { margin: 0 0 2px; font-family: var(--font-heading, 'Space Grotesk', sans-serif); font-size: 20px; }
.kb-help p { margin: 0; color: var(--slate); }
.kb-help-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.kb-btn { display: inline-block; padding: 10px 20px; border: 1px solid var(--border); border-radius: 10px; background: transparent; color: var(--white) !important; font-weight: 600; text-decoration: none; transition: border-color 0.2s, transform 0.15s; }
.kb-btn:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.kb-btn-primary { border-color: transparent; background: linear-gradient(135deg, var(--indigo, #6B48FF) 0%, #4A2FCC 100%); color: #fff !important; }

.kb-footer { position: relative; z-index: 1; padding: 24px; color: var(--slate); font-size: 13px; text-align: center; }
.kb-footer a { color: inherit; }

/* Article page */
.kb-page-article { max-width: 860px; }
.kb-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: var(--slate); font-size: 14px; }
.kb-crumbs a { color: var(--slate) !important; text-decoration: none; }
.kb-crumbs a:hover { color: var(--white) !important; }
.kb-article-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.kb-article-head h1 { margin: 0; font-family: var(--font-heading, 'Space Grotesk', sans-serif); font-size: clamp(28px, 4vw, 42px); line-height: 1.15; letter-spacing: -1px; }
.kb-back { margin-top: 40px; }
.kb-back a { color: var(--cyan) !important; }

/* ── Article body ── */

.kb-article { text-align: left; font-size: 16px; line-height: 1.7; }
.kb-article h2 { margin: 48px 0 12px; font-size: 26px; scroll-margin-top: 24px; }
.kb-article h3 { margin: 28px 0 8px; font-size: 19px; }
.kb-article p, .kb-article li { color: var(--white, #F0F4FF); }
.kb-article a { color: var(--cyan, #00D4C8); }
.kb-article ul, .kb-article ol { padding-left: 22px; }
.kb-article li { margin-bottom: 8px; }

.kb-lead { font-size: 18px; opacity: 0.9; }

.kb-toc { margin: 24px 0; padding: 18px 22px; border: 1px solid var(--border, rgba(255,255,255,0.08)); border-radius: 14px; background: rgba(255, 255, 255, 0.03); }
.kb-toc ol { margin: 8px 0 0; }
.kb-toc li { margin-bottom: 4px; }

/* What the reader types, e.g. mail.yourdomain.com */
.kb-fill { display: inline-block; padding: 0 6px; border-radius: 5px; background: rgba(254, 214, 46, 0.18); color: #FFE27A; font-weight: 600; overflow-wrap: anywhere; }

.kb-settings { width: 100%; border-collapse: collapse; margin: 16px 0 8px; font-size: 15px; }
.kb-settings th, .kb-settings td { padding: 12px 14px; border-bottom: 1px solid var(--border, rgba(255,255,255,0.08)); vertical-align: top; text-align: left; }
.kb-settings th { width: 38%; color: var(--slate, #8892AA); font-weight: 500; }

.kb-tip { margin: 20px 0; padding: 14px 18px; border-left: 3px solid var(--cyan, #00D4C8); border-radius: 0 10px 10px 0; background: rgba(0, 212, 200, 0.07); }

.kb-numbered li { padding-left: 4px; }

/* ── Step-by-step phone screens ── */
.kb-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 22px; margin: 24px 0; }
.kb-step { display: flex; flex-direction: column; gap: 10px; }
.kb-step-title { margin: 0; min-height: 52px; font-size: 15px; }
.kb-step-number { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-right: 6px; border-radius: 50%; background: var(--indigo, #6B48FF); color: #fff; font-size: 13px; font-weight: 700; }
.kb-step-note { margin: 0; font-size: 13px; opacity: 0.75; }

.kb-phone { width: 250px; max-width: 100%; margin: 0 auto; padding: 10px; border-radius: 38px; background: #1C1C1E; box-shadow: 0 0 0 2px #3A3A3C, 0 18px 40px rgba(0, 0, 0, 0.45); }
.kb-phone-screen { height: 440px; overflow: hidden; border-radius: 30px; background: #F2F2F7; color: #000; font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif; font-size: 13px; line-height: 1.35; }
.kb-phone-screen p { color: #000; margin: 0; }

.kb-ios-status { display: flex; justify-content: space-between; padding: 12px 22px 4px; font-size: 12px; font-weight: 600; }
.kb-ios-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 4px; padding: 8px 12px 10px; font-size: 13px; }
.kb-ios-nav strong { font-size: 14px; white-space: nowrap; }
.kb-ios-back { color: #007AFF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-ios-action { justify-self: end; color: #007AFF; font-weight: 600; }

.kb-phone-screen .kb-ios-caption { padding: 10px 26px 5px; color: #6D6D72; font-size: 11px; text-transform: uppercase; letter-spacing: 0.02em; }
.kb-ios-group { margin: 0 12px 14px; overflow: hidden; border-radius: 10px; background: #fff; }
.kb-ios-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 8px 14px; border-bottom: 0.5px solid #E5E5EA; }
.kb-ios-row:last-child { border-bottom: 0; }
.kb-ios-row > span:first-child { flex-shrink: 0; }
.kb-ios-form .kb-ios-row > span:first-child { width: 74px; }
.kb-ios-form .kb-ios-row { justify-content: flex-start; }
.kb-ios-chevron { color: #C4C4C6; font-size: 18px; line-height: 1; }
.kb-ios-value { color: #8E8E93; }
.kb-ios-link { color: #007AFF; }
.kb-ios-placeholder { color: #C4C4C6; }

.kb-ios-list { margin: 6px 12px; overflow: hidden; border-radius: 10px; background: #fff; }
.kb-ios-provider { padding: 13px 14px; border-bottom: 0.5px solid #E5E5EA; text-align: center; font-size: 15px; font-weight: 600; }
.kb-ios-provider:last-child { border-bottom: 0; }

.kb-ios-segment { display: grid; grid-template-columns: 1fr 1fr; margin: 4px 26px 8px; padding: 2px; border-radius: 8px; background: #E3E3E8; font-size: 12px; font-weight: 600; text-align: center; }
.kb-ios-segment span { padding: 5px 0; border-radius: 6px; }
.kb-ios-segment .kb-ios-segment-on { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); }

.kb-ios-switch { position: relative; width: 42px; height: 25px; border-radius: 13px; background: #E9E9EB; }
.kb-ios-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 21px; height: 21px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.kb-ios-switch-on { background: #34C759; }
.kb-ios-switch-on::after { left: 19px; }

.kb-phone-screen .kb-ios-done { margin: 6px 16px; padding: 12px 14px; border-radius: 10px; background: #fff; color: #1B7F3A; font-size: 12px; }

/* Inside the (light) phone screen the typed values get a stronger yellow box. */
.kb-phone-screen .kb-fill { padding: 1px 5px; background: #FFF4C2; color: #000; font-weight: 600; outline: 1.5px solid #F5C400; overflow-wrap: anywhere; }

/* What to tap on each screen. */
.kb-tap { position: relative; background: #E8F1FF; box-shadow: inset 0 0 0 2px #007AFF; }
.kb-ios-list .kb-tap, .kb-ios-group .kb-tap { border-radius: 10px; }
.kb-tap-text { padding: 2px 6px; border-radius: 6px; box-shadow: 0 0 0 2px #007AFF; }

/* ── Android (Gmail app, Material 3) screens, inside the same .kb-phone frame ── */
.kb-phone-android { border-radius: 30px; }
.kb-phone-android .kb-phone-screen { border-radius: 22px; background: #fff; font-family: 'Google Sans', Roboto, 'Segoe UI', Arial, sans-serif; }
.kb-and-status { display: flex; justify-content: space-between; padding: 10px 18px 4px; font-size: 12px; font-weight: 500; color: #1F1F1F; }
.kb-and-bar { display: flex; align-items: center; gap: 10px; padding: 8px 14px; font-size: 15px; color: #1F1F1F; }
.kb-and-search { display: flex; align-items: center; justify-content: space-between; margin: 6px 12px 10px; padding: 10px 14px; border-radius: 28px; background: #EEF2F9; color: #444746; font-size: 13px; }
.kb-and-avatar { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #0B57D0; color: #fff; font-size: 12px; font-weight: 600; }
.kb-phone-screen .kb-and-title { padding: 14px 18px 4px; font-size: 20px; color: #1F1F1F; }
.kb-phone-screen .kb-and-sub { padding: 0 18px 10px; color: #444746; font-size: 12px; }
.kb-and-sheet { margin: 4px 10px; padding: 8px 0; border-radius: 22px; background: #F0F4F9; }
.kb-and-item { display: flex; align-items: center; gap: 12px; padding: 11px 16px; font-size: 13px; color: #1F1F1F; }
.kb-and-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #D3E3FD; color: #0B57D0; font-size: 12px; font-weight: 700; }
.kb-and-list .kb-and-item { border-bottom: 1px solid #E1E3E1; }
.kb-and-field { position: relative; margin: 14px 16px 4px; padding: 11px 12px 9px; border: 1px solid #747775; border-radius: 6px; font-size: 13px; color: #1F1F1F; overflow-wrap: anywhere; }
.kb-phone-screen .kb-and-field > .kb-and-label { position: absolute; top: -8px; left: 9px; padding: 0 4px; background: #fff; color: #444746; font-size: 10px; }
.kb-and-radio { display: flex; align-items: center; gap: 12px; padding: 10px 18px; font-size: 13px; }
.kb-and-radio::before { content: ''; flex-shrink: 0; width: 14px; height: 14px; border: 2px solid #444746; border-radius: 50%; }
.kb-and-radio-on::before { border-color: #0B57D0; background: radial-gradient(#0B57D0 0 4px, #fff 5px); }
.kb-and-toggle { display: flex; align-items: center; justify-content: space-between; padding: 8px 18px; font-size: 13px; }
.kb-and-switch { position: relative; width: 38px; height: 22px; border-radius: 11px; background: #0B57D0; }
.kb-and-switch::after { content: ''; position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.kb-and-actions { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; }
.kb-and-text-btn { color: #0B57D0; font-size: 13px; font-weight: 500; }
.kb-and-btn { padding: 8px 20px; border-radius: 20px; background: #0B57D0; color: #fff; font-size: 13px; font-weight: 500; }
.kb-phone-screen .kb-and-done { margin: 12px 16px; padding: 12px 14px; border-radius: 12px; background: #E6F4EA; color: #146C2E; font-size: 12px; }

/* ── Outlook windows (Windows 11 / macOS) ── */
.kb-steps-wide { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.kb-window { width: 100%; overflow: hidden; border-radius: 10px; background: #fff; color: #242424; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 16px 36px rgba(0, 0, 0, 0.4); font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif; font-size: 12px; line-height: 1.4; }
.kb-window p { color: #242424; margin: 0; }
.kb-win-titlebar { display: flex; align-items: center; justify-content: space-between; padding: 7px 12px; background: #F3F3F3; border-bottom: 1px solid #E0E0E0; font-size: 11px; color: #424242; }
.kb-win-controls { letter-spacing: 10px; color: #616161; }
.kb-mac-titlebar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #ECECEC; border-bottom: 1px solid #D6D6D6; font-size: 11px; color: #4A4A4A; }
.kb-mac-dot { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.kb-mac-dot + .kb-mac-dot { background: #FEBC2E; }
.kb-mac-dot + .kb-mac-dot + .kb-mac-dot { background: #28C840; margin-right: 8px; }
.kb-win-body { min-height: 250px; padding: 16px 18px; }
.kb-win-split { display: grid; grid-template-columns: 112px 1fr; min-height: 250px; }
.kb-win-nav { padding: 12px 8px; background: #FAFAFA; border-right: 1px solid #E0E0E0; }
.kb-win-nav p { padding: 6px 8px; border-radius: 4px; }
.kb-win-nav .kb-win-nav-on { background: #E5EBFA; font-weight: 600; }
.kb-win-pane { padding: 14px 16px; }
.kb-window .kb-win-heading { margin-bottom: 10px; font-size: 15px; font-weight: 600; }
.kb-window .kb-win-small { color: #616161; font-size: 11px; }
.kb-win-label { display: block; margin: 8px 0 3px; color: #424242; font-size: 11px; }
.kb-win-input { padding: 5px 8px; border: 1px solid #D1D1D1; border-bottom-color: #616161; border-radius: 4px; background: #fff; overflow-wrap: anywhere; }
.kb-win-row { display: grid; grid-template-columns: 1fr 64px 92px; gap: 8px; }
.kb-win-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kb-window .kb-win-section { margin: 12px 0 2px; font-weight: 600; }
.kb-win-check { display: flex; align-items: center; gap: 7px; margin: 10px 0; }
.kb-win-check::before { content: '\2713'; display: inline-flex; align-items: center; justify-content: center; width: 13px; height: 13px; border-radius: 3px; background: #0F6CBD; color: #fff; font-size: 10px; }
.kb-win-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.kb-win-actions-start { justify-content: flex-start; margin: 8px 0 12px; }
.kb-window .kb-win-gap { margin-top: 10px; }
.kb-win-btn { padding: 5px 16px; border: 1px solid #D1D1D1; border-radius: 4px; background: #fff; }
.kb-win-btn-primary { border-color: #0F6CBD; background: #0F6CBD; color: #fff; }
.kb-win-link { color: #0F6CBD; }
.kb-win-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.kb-win-tile { padding: 12px 6px; border: 1px solid #E0E0E0; border-radius: 6px; text-align: center; }
.kb-win-menu { width: 150px; padding: 6px 0; border: 1px solid #E0E0E0; border-radius: 6px; background: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); }
.kb-win-menu p { padding: 6px 12px; }
.kb-window .kb-win-ok { margin-top: 10px; padding: 10px 12px; border-radius: 6px; background: #F1FAF1; color: #0E700E; }

/* Typed values and what to click inside the light screens. */
.kb-window .kb-fill { padding: 0 4px; background: #FFF4C2; color: #000; font-weight: 600; outline: 1.5px solid #F5C400; border-radius: 3px; }
.kb-phone-android .kb-fill { padding: 1px 5px; background: #FFF4C2; color: #000; font-weight: 600; outline: 1.5px solid #F5C400; }
.kb-window .kb-tap, .kb-phone-android .kb-tap { box-shadow: 0 0 0 2px #FF8A00; background: #FFF1E0; border-radius: 6px; }
.kb-window .kb-tap-text, .kb-phone-android .kb-tap-text { box-shadow: 0 0 0 2px #FF8A00; }

html[data-theme="light"] .kb-fill { background: #FFF1B8; color: #5C4400; }
html[data-theme="light"] .kb-toc { background: #fff; }
html[data-theme="light"] .kb-tip { background: rgba(10, 140, 133, 0.08); }
html[data-theme="light"] .kb-phone, html[data-theme="light"] .kb-window { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 14px 30px rgba(20, 26, 46, 0.18); }
html[data-theme="light"] .kb-phone { box-shadow: 0 0 0 2px #3A3A3C, 0 14px 30px rgba(20, 26, 46, 0.25); }

@media (max-width: 760px) {
    .kb-featured { grid-template-columns: 1fr; padding: 24px; }
    .kb-featured-art { display: none; }
    .kb-grid { grid-template-columns: 1fr; }
    .kb-nav-right { gap: 12px; }
}

@media (max-width: 640px) {
    .kb-page { padding-top: 96px; }
    .kb-nav { padding: 0 16px; }
    .kb-nav .logo-wordmark { font-size: 17px; }
    .kb-article { font-size: 15px; }
    .kb-settings th { width: 42%; }
    .kb-steps { grid-template-columns: 1fr; }
    .kb-win-split { grid-template-columns: 1fr; }
    .kb-win-nav { display: none; }
}
