/* Base page layout/typography for this site. The --site-dark/--site-dark-2/--site-light/--site-accent
   color variables used throughout are defined once in content/assets/site-header.css (shared by
   every site) - this file only ever reads them via var(). */
html, body {
    max-width: 100%;
}

/* icons.min.css (legacy Simple Line Icons bundle) happens to define a glyph literally named
   "badge" - its huge comma-separated selector list includes our own unrelated .icon-badge
   wrapper class by coincidence, setting font-family:simple-line-icons on it. That font's files
   were never carried over into this project, so the browser 404s on every page load trying to
   fetch them for this one matched element. Nothing here actually needs that font (the real icon
   glyph is the child <i class="mdi ..."> or <i class="fa-solid ...">, styled independently) - stop
   referencing it at all so the browser has no reason to fetch it. */
/* #reset reuses Bootstrap's stock .btn-success (hardcoded green, from bootstrap.min.css which
   loads after this file) - override to the site's own theme color instead. */
#reset.btn-success {
    background-color: var(--site-dark) !important;
    border-color: var(--site-dark) !important;
}

.icon-badge {
    font-family: inherit !important;
}
.icon-badge::before {
    content: none !important;
}

/* Per-site topbar gradient override (navy-on-black, requested distinct from the generic
   common.css 3-var gradient) - two hardcoded stops plus the shared --site-dark-2 mid-stop.
   common.css injects via shared-loader.js AFTER this file, so its own .site-topbar rule wins
   the cascade at equal specificity unless this is !important. */
.site-topbar {
    background: linear-gradient(135deg, #101522 0%, var(--site-dark-2) 60%, #071638 100%) !important;
}

/* app.min.css's legacy admin-template .footer rule (position:absolute; left:240px; bottom:0;
   background-color:#eeeff3 - meant to sit beside a 240px sidebar that no longer exists here)
   injects via shared-loader.js AFTER this file and wins the cascade at equal specificity -
   reset back to the simple centered text footer common.css defines. */
.footer {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    background-color: transparent !important;
    max-width: none !important;
}

/* bootstrap.min.css already sets body to Nunito, but stated explicitly here too (matching every
   other site's own site.css/main.css) rather than relying solely on the legacy stylesheet. */
body {
    font-family: "Nunito", "Segoe UI", Arial, sans-serif !important;
}

/* bootstrap.min.css/app.min.css inject via shared-loader.js AFTER this file, so their
   original template's heading font-family ("Cerebri Sans", never actually loaded via
   @font-face) on h1-h6/.h1-.h6 wins the cascade at equal specificity unless this is
   !important - override back to the surrounding Nunito instead of an unstyled fallback. */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit !important;
}

/* ===== Back to top ===== */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2147483647;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--site-dark-2);
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    box-shadow: 0 8px 20px rgba(0,0,0,.35);
    transition: background .2s ease, transform .2s ease;
}
.back-to-top.show { display: flex; }
.back-to-top:hover { background: var(--site-dark); transform: translateY(-3px); }

@media (max-width: 600px) {
    .back-to-top { width: 40px; height: 40px; right: 16px; bottom: 16px; }
}

.kb-area {
    position: relative;
    margin: 0 auto;
    padding: 14px;
    width: 100%;
    height: 130px;
    border-radius: 6px;
    background-color: #fff;
    box-shadow: 0 1px 0 0 rgba(198, 198, 198, 0.3);
    box-sizing: border-box
}

.kb-txt {
    display: block;
    width: 100%;
    height: 100%;
    color: #212121;
    font-size: 16px;
    outline: none;
    resize: none;
    text-align: left;
    border: 0 solid transparent;
}


.kb {
    margin: 30px 0;
    /*width: 1000px;*/
    height: auto;
    border-radius: 6px;
}

.kb-btn.keydown_press {
    background-color: #ececec !important;
    border: 1px solid #ececec !important;
    box-shadow: inset 0 1px 2px 0 rgba(0,0,0,0.35)
}

.kb-ui-viewport {
    width: 100%;
    overflow: hidden;
}

.kb-ui {
    position: relative;
    padding: 0 10px;
    height: 235px;
    width: max-content;
    max-width: 1000px;
    overflow: auto;
    /*margin-left:45px;*/
}

.kb-box {
    position: relative;
    float: left;
    height: inherit;
        margin:0px 22px;
}

    .kb-box.kb-left {
        width: 565px
    }

    .kb-box.kb-center {
        /*margin-left: 20px;*/
        width: 115px
    }

        .kb-box.kb-center .kb-btn {
            font-size: 10px;
            font-weight: 600;
        }

            .kb-box.kb-center .kb-btn.kb-38uarr-59, .kb-box.kb-center .kb-btn.kb-left, .kb-box.kb-center .kb-btn.kb-38darr-59, .kb-box.kb-center .kb-btn.kb-right {
                font-size: 20px;
                font-weight: 700
            }

    .kb-box.kb-right {
        float: left;
        margin-right: 7px;
        width: 151px
    }

        .kb-box.kb-right .kb-btn.small {
            width: 34px;
            height: 34px;
            font-size: 12px
        }

        .kb-box.kb-right .kb-btn.kb-47 {
            top: 29px;
            left: 39px
        }

        .kb-box.kb-right .kb-btn.kb-42 {
            top: 29px;
            left: 78px
        }

        .kb-box.kb-right .kb-btn.kb-- {
            top: 29px;
            right: 0;
            left: auto
        }

        .kb-box.kb-right .kb-btn.kb-7 {
            top: 68px;
            left: auto
        }

        .kb-box.kb-right .kb-btn.kb-8 {
            top: 68px;
            left: 39px
        }

        .kb-box.kb-right .kb-btn.kb-9 {
            top: 68px;
            left: 78px
        }

        .kb-box.kb-right .kb-btn.kb-43 {
            top: 68px;
            right: 0
        }

        .kb-box.kb-right .kb-btn.kb-4 {
            top: 107px;
            left: 0
        }

        .kb-box.kb-right .kb-btn.kb-5 {
            top: 107px;
            left: 39px
        }

        .kb-box.kb-right .kb-btn.kb-6 {
            top: 107px;
            left: 78px
        }

        .kb-box.kb-right .kb-btn.kb-37 {
            top: 107px;
            right: 0;
            left: auto
        }

        .kb-box.kb-right .kb-btn.kb-1 {
            top: 146px;
            left: 0
        }

        .kb-box.kb-right .kb-btn.kb-2 {
            top: 146px;
            left: 39px
        }

        .kb-box.kb-right .kb-btn.kb-3 {
            top: 146px;
            left: 78px
        }

        .kb-box.kb-right .kb-btn.kb-61 {
            top: 146px;
            right: 0;
            left: auto
        }

        .kb-box.kb-right .kb-btn.kb-0 {
            top: 185px;
            left: 0;
            width: 73px
        }

        .kb-box.kb-right .kb-btn.kb-46 {
            top: 185px;
            left: 78px
        }

        .kb-box.kb-right .kb-btn.kb-enter {
            top: 146px;
            right: 0;
            left: auto;
            width: 34px;
            height: 73px;
            font-size: 12px
        }

    .kb-box.kb-NmLk {
        top: 0;
        left: 0
    }

.kb-btn {
    display: block;
    position: absolute;
    width: 34px;
    height: 34px;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    font-weight: 600;
    border-radius: 3px;
    text-align: center;
    background-color: #fff;
    border: 1px solid #dbd9d9;
}

    .kb-btn.small {
        top: 0;
        height: 24px;
        font-size: 12px;
    }

    .kb-btn.middle {
        top: 29px;
    }

    .kb-btn.kb-Esc {
        left: 0;
        font-size: 14px
    }

    .kb-btn.kb-F1 {
        left: 98px
    }

    .kb-btn.kb-F2 {
        left: 137px
    }

    .kb-btn.kb-F3 {
        left: 176px
    }

    .kb-btn.kb-F4 {
        left: 215px
    }

    .kb-btn.kb-F5 {
        left: 254px
    }

    .kb-btn.kb-F6 {
        left: 293px
    }

    .kb-btn.kb-F7 {
        left: 332px
    }

    .kb-btn.kb-F8 {
        left: 371px
    }

    .kb-btn.kb-F9 {
        left: 410px
    }

    .kb-btn.kb-F10 {
        left: 449px
    }

    .kb-btn.kb-F11 {
        left: 488px
    }

    .kb-btn.kb-F12 {
        left: 527px
    }

    .kb-btn.kb-96 {
        left: 0
    }

    .kb-btn.kb-1 {
        left: 39px
    }

    .kb-btn.kb-2 {
        left: 78px
    }

    .kb-btn.kb-3 {
        left: 117px
    }

    .kb-btn.kb-4 {
        left: 156px
    }

    .kb-btn.kb-5 {
        left: 195px
    }

    .kb-btn.kb-6 {
        left: 234px
    }

    .kb-btn.kb-7 {
        left: 273px
    }

    .kb-btn.kb-8 {
        left: 312px
    }

    .kb-btn.kb-9 {
        left: 351px
    }

    .kb-btn.kb-0 {
        left: 390px
    }

    .kb-btn.kb-- {
        left: 429px
    }

    .kb-btn.kb-61 {
        left: 468px
    }

    .kb-btn.kb-bksp, .kb-btn.kb-tab {
        left: 507px;
        width: 54px;
        font-size: 20px;
        font-weight: 700
    }

    .kb-btn.kb-tab {
        top: 68px;
        left: 0;
        font-size: 16px;
        font-weight: 600
    }

    .kb-btn.kb-q {
        top: 68px;
        left: 59px
    }

    .kb-btn.kb-w {
        top: 68px;
        left: 98px
    }

    .kb-btn.kb-e {
        top: 68px;
        left: 137px
    }

    .kb-btn.kb-r {
        top: 68px;
        left: 176px
    }

    .kb-btn.kb-t {
        top: 68px;
        left: 215px
    }

    .kb-btn.kb-y {
        top: 68px;
        left: 254px
    }

    .kb-btn.kb-u {
        top: 68px;
        left: 293px
    }

    .kb-btn.kb-i {
        top: 68px;
        left: 332px
    }

    .kb-btn.kb-o {
        top: 68px;
        left: 371px
    }

    .kb-btn.kb-p {
        top: 68px;
        left: 410px
    }

    .kb-btn.kb-91 {
        top: 68px;
        left: 449px
    }

    .kb-btn.kb-93 {
        top: 68px;
        left: 488px
    }

    .kb-btn.kb-92 {
        top: 68px;
        left: 527px
    }

    .kb-btn.kb-Caps {
        top: 107px;
        left: 0;
        width: 62px
    }

    .kb-btn.kb-a {
        top: 107px;
        left: 67px
    }

    .kb-btn.kb-s {
        top: 107px;
        left: 106px
    }

    .kb-btn.kb-d {
        top: 107px;
        left: 145px
    }

    .kb-btn.kb-f {
        top: 107px;
        left: 184px
    }

    .kb-btn.kb-g {
        top: 107px;
        left: 223px
    }

    .kb-btn.kb-h {
        top: 107px;
        left: 262px
    }

    .kb-btn.kb-j {
        top: 107px;
        left: 301px
    }

    .kb-btn.kb-k {
        top: 107px;
        left: 340px
    }

    .kb-btn.kb-l {
        top: 107px;
        left: 379px
    }

    .kb-btn.kb-59 {
        top: 107px;
        left: 418px
    }

    .kb-btn.kb-39 {
        top: 107px;
        left: 457px
    }

    .kb-btn.kb-enter {
        top: 107px;
        left: 496px;
        width: 65px
    }

    .kb-btn.kb-shift {
        top: 146px;
        left: 0;
        width: 72px
    }

    .kb-btn.kb-z {
        top: 146px;
        left: 77px
    }

    .kb-btn.kb-x {
        top: 146px;
        left: 116px
    }

    .kb-btn.kb-c {
        top: 146px;
        left: 155px
    }

    .kb-btn.kb-v {
        top: 146px;
        left: 194px
    }

    .kb-btn.kb-b {
        top: 146px;
        left: 233px
    }

    .kb-btn.kb-n {
        top: 146px;
        left: 272px
    }

    .kb-btn.kb-m {
        top: 146px;
        left: 311px
    }

    .kb-btn.kb-44 {
        top: 146px;
        left: 350px
    }

    .kb-btn.kb-46 {
        top: 146px;
        left: 389px
    }

    .kb-btn.kb-47 {
        top: 146px;
        left: 428px
    }

    .kb-btn.kb-shift.shift-two {
        top: 146px;
        left: 467px;
        width: 94px
    }

    .kb-btn.kb-Ctrl {
        top: 185px;
        left: 0;
        width: 56px
    }

        .kb-btn.kb-Ctrl.Ctrl-two {
            left: 504px;
        }

    .kb-btn.kb-windos {
        top: 185px;
        left: 61px;
        color: #888
    }

        .kb-btn.kb-windos.windos-two {
            left: 424px;
        }

    .kb-btn.kb-context {
        top: 185px;
        left: 61px;
        color: #888;
        left: 462px;
        top: 185px;
        width: 38px;
    }

    .kb-btn.kb-alt {
        top: 185px;
        left: 100px;
        width: 52px
    }

        .kb-btn.kb-alt.alt-two {
            /*right: 147px;*/
            left: 381px;
            top: 185px;
            width: 38px
        }

    .kb-btn.kb-space {
        top: 185px;
        left: 157px;
        width: 219px
    }

    .kb-btn.kb-prtSc {
        top: 0;
        left: 0
    }

    .kb-btn.kb-ScrlLk {
        top: 0;
        left: 39px
    }

    .kb-btn.kb-Pause {
        top: 0;
        left: 78px;
        width: 36px
    }

    .kb-btn.kb-Ins {
        top: 29px;
        left: 0
    }

    .kb-btn.kb-Home {
        top: 29px;
        left: 39px;
        letter-spacing: -1px
    }

    .kb-btn.kb-PgUp {
        top: 29px;
        left: 78px;
        width: 36px
    }

    .kb-btn.kb-del {
        top: 68px;
        left: 0
    }

    .kb-btn.kb-End {
        top: 68px;
        left: 39px
    }

    .kb-btn.kb-PgDn {
        top: 68px;
        left: 78px;
        width: 36px
    }

    .kb-btn.kb-38uarr-59 {
        top: 146px;
        left: 39px
    }

    .kb-btn.kb-left {
        top: 185px;
        left: 0
    }

    .kb-btn.kb-38darr-59 {
        top: 185px;
        left: 39px
    }

    .kb-btn.kb-right {
        top: 185px;
        left: 78px;
        width: 36px
    }

    .kb-btn.kb-NmLk {
        top: 29px;
        left: 0
    }

    .kb-btn:hover {
        border: 1px solid #a2a2a2;
        background: #e3e3e3;
    }

.kb-text {
    display: inline-block;
    padding: 0;
    margin: 0;
    white-space: nowrap
}

.footer {
    position: relative;
    width: 100%;
    max-height: 200px;
    padding: 15px 0px 40px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: #585d60;
}

.kb-ui .press {
    background: #e3e3e3 !important;
}

.kb-ui .active {
    background: #e7ecff !important;
}
.foreground-div {
    position: relative;
    z-index: 2;
    background: #f5f6f8;
}

/* app.min.css sets #wrapper/.content-page to overflow:hidden (vendor admin-
   template chrome, index.html only - guide.html never loads that stylesheet).
   An overflow:hidden ancestor becomes position:sticky's containing block, but
   these two never scroll internally themselves (they're sized to fit their
   content) - so a sticky descendant sticks relative to a box that never
   moves, instead of tracking the page's real scroll on <body>. Restore
   visible so .page-ad-rail's sticky positioning tracks the actual page scroll. */
#wrapper, .content-page {
    overflow: visible;
}

.background-div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    z-index: 1;
    overflow: auto;
}
.hide {
    display: none !important;
}

/* ===== Cosmetic polish (visible page only) ===== */
.kb-title-bar {
    background: linear-gradient(135deg, var(--site-dark) 0%, var(--site-dark-2) 100%);
    border-radius: 6px 6px 0 0;
}

.kb {
    border: 1px solid #eee;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .1);
    border-radius: 10px;
    overflow: hidden;
}

.kb-area {
    box-shadow: 0 1px 0 0 rgba(198, 198, 198, .3), inset 0 0 0 1px #eee;
}

.kb-ui {
    scrollbar-width: thin;
}

.footer {
    border-top: 1px solid #e6e6e6;
    margin-top: 6px;
    padding-top: 24px;
}

/* .footer is a column flex container with align-items:center, so its
   flex-item children shrink to content width by default - the ad-slot
   has no content yet when adsbygoogle.push() runs, so it measures 0px
   and Google can't size the ad ("No slot size for availableWidth=0").
   Stretch it to the full footer width instead. */
.footer .ad-slot {
    width: 100%;
}

.footer p {
    font-size: .82em;
    line-height: 1.65;
    max-width: 640px;
    color: #6b7280;
}

/* Outer layout: left ad rail | tool card + guide content | right ad rail */
.page-layout { display: grid; grid-template-columns: 280px 1fr 280px; gap: 32px; align-items: start; }

/* ===== Responsive tuning ===== */
/* Narrower rail columns once the viewport can't comfortably fit the full
   280px width alongside the content column, before the rail disappears
   entirely below 1200px (kept in sync with .page-ad-rail's own breakpoint
   in ad-rail.css). */
@media (max-width: 1500px) {
    .page-layout { grid-template-columns: 200px 1fr 200px; gap: 15px; }
}

@media (max-width: 1200px) {
    .page-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .kb { margin: 18px 0; }
}

@media (max-width: 600px) {
    h1.h2 { font-size: 1.3em !important; }
}
