:root {
    --bg: #07111f;
    --bg-soft: #0d1a2d;
    --panel: #12223a;
    --panel-light: #172b48;
    --text: #f6f8fc;
    --muted: #aab7ca;
    --line: #263a58;
    --accent: #5b7cff;
    --accent-hover: #7892ff;
    --success: #47d69b;
    --danger: #ff7d8b;
    --white: #ffffff;
    --page: #f4f7fb;
    --page-text: #14213a;
    --shadow: 0 18px 50px rgba(6, 17, 34, .14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--page-text);
    background: var(--page);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.narrow {
    max-width: 760px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 17, 31, .96);
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(14px);
}

.nav-wrap {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--white);
    font-weight: 800;
    letter-spacing: -.02em;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--white);
    background: var(--accent);
    font-size: 14px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    color: #dce5f2;
    font-size: 15px;
    font-weight: 650;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--white);
}

.nav-toggle {
    display: none;
    color: var(--white);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--accent);
    border-radius: 12px;
    color: var(--white);
    background: var(--accent);
    font-weight: 800;
    cursor: pointer;
    transition: .2s ease;
}

.button:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-1px);
}

.button-small {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
}

.button-outline {
    color: var(--white);
    background: transparent;
    border-color: rgba(255,255,255,.24);
}

.button-outline:hover {
    background: rgba(255,255,255,.08);
}

.button-full {
    width: 100%;
}

.button-disabled {
    min-height: 42px;
    color: var(--muted);
    background: #263650;
    border-color: #263650;
    cursor: not-allowed;
}

.button-disabled:hover {
    transform: none;
    background: #263650;
    border-color: #263650;
}

.hero {
    padding: 88px 0 94px;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 20%, rgba(91, 124, 255, .22), transparent 34%),
        linear-gradient(145deg, #07111f, #0d1a2d 66%, #101f37);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    align-items: center;
    gap: 65px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 22px;
    font-size: clamp(40px, 5.4vw, 70px);
    line-height: 1.03;
    letter-spacing: -.045em;
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(28px, 3.5vw, 43px);
    line-height: 1.13;
    letter-spacing: -.03em;
}

h3 {
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 1.25;
}

.hero-copy {
    max-width: 650px;
    color: #b9c6d9;
    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0 25px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    color: #c7d3e5;
    font-size: 14px;
    font-weight: 700;
}

.app-preview {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 20px;
    background: #0b1728;
    box-shadow: 0 35px 90px rgba(0,0,0,.36);
}

.preview-top {
    display: flex;
    gap: 6px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
}

.preview-top span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #3c4b64;
}

.preview-tabs {
    display: flex;
    gap: 22px;
    padding: 16px 19px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.preview-tabs strong {
    color: var(--white);
}

.preview-grid {
    display: grid;
    grid-template-columns: .85fr 1fr 1fr;
    gap: 12px;
    padding: 14px;
}

.preview-panel {
    min-height: 220px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
}

.preview-panel small {
    color: #c7d4e6;
    font-size: 11px;
    font-weight: 800;
}

.drop-zone,
.fake-image {
    height: 155px;
    margin-top: 12px;
    display: grid;
    place-items: center;
    border: 1px dashed #557094;
    border-radius: 9px;
    color: #91a5c2;
    text-align: center;
    font-size: 12px;
}

.fake-image {
    border-style: solid;
    background:
        linear-gradient(45deg, #ecf0f6 25%, transparent 25%) -8px 0/16px 16px,
        linear-gradient(-45deg, #ecf0f6 25%, transparent 25%) -8px 0/16px 16px,
        linear-gradient(45deg, transparent 75%, #ecf0f6 75%) -8px 0/16px 16px,
        linear-gradient(-45deg, transparent 75%, #ecf0f6 75%) -8px 0/16px 16px,
        #fff;
    color: #1b2a42;
    font-weight: 900;
}

.section {
    padding: 90px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-heading p,
.page-hero p,
.tool-card p,
.dashboard-tool p {
    color: #65748b;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.tool-card {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 20px;
    padding: 26px;
    border: 1px solid #dce4ef;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(9, 28, 56, .05);
}

.tool-icon,
.dashboard-tool-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: var(--accent);
    background: #edf1ff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.status-badge,
.member-badge {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0 10px;
    margin-bottom: 12px;
    border-radius: 999px;
    color: #4361d8;
    background: #edf1ff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.section-dark {
    color: var(--white);
    background: var(--bg);
}

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta h2 {
    max-width: 700px;
}

.cta p {
    color: var(--muted);
}

.page-hero,
.dashboard-hero {
    padding: 74px 0;
    color: var(--white);
    background:
        radial-gradient(circle at 85% 20%, rgba(91,124,255,.2), transparent 30%),
        var(--bg);
}

.page-hero h1,
.dashboard-hero h1 {
    margin-bottom: 14px;
}

.page-hero p,
.dashboard-hero p {
    color: #b8c5d8;
    font-size: 18px;
}

.pricing-wrap {
    display: flex;
    justify-content: center;
}

.pricing-card {
    width: min(520px, 100%);
    padding: 38px;
    border: 1px solid #d8e1ed;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.pricing-card.featured {
    border: 2px solid var(--accent);
}

.price {
    margin: 12px 0 18px;
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -.04em;
}

.price small {
    color: #697890;
    font-size: 16px;
}

.feature-list {
    padding: 0;
    margin: 26px 0;
    list-style: none;
}

.feature-list li {
    padding: 11px 0;
    border-bottom: 1px solid #e8edf4;
}

.feature-list li::before {
    content: "✓";
    margin-right: 10px;
    color: var(--success);
    font-weight: 900;
}

.center-actions {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.auth-section {
    min-height: calc(100vh - 74px);
    display: grid;
    place-items: center;
    padding: 70px 20px;
    background:
        radial-gradient(circle at 20% 15%, rgba(91,124,255,.16), transparent 25%),
        #edf2f8;
}

.auth-card {
    width: min(500px, 100%);
    padding: 40px;
    border: 1px solid #d7e0eb;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.auth-card h1 {
    margin-bottom: 12px;
    font-size: 42px;
}

.auth-card > p {
    color: #6d7a8f;
}

.auth-card form {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.auth-card label {
    display: grid;
    gap: 7px;
    font-weight: 800;
}

.auth-card input {
    width: 100%;
    min-height: 49px;
    padding: 0 14px;
    border: 1px solid #cbd5e2;
    border-radius: 11px;
    outline: none;
}

.auth-card input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(91,124,255,.12);
}

.auth-card label small {
    color: #7c899b;
    font-weight: 500;
}

.auth-switch {
    margin: 22px 0 0;
    text-align: center;
}

.auth-switch a {
    color: var(--accent);
    font-weight: 800;
}

.form-errors,
.alert {
    border-radius: 12px;
}

.form-errors {
    padding: 12px 15px;
    color: #8b2031;
    background: #fff0f2;
    border: 1px solid #ffc9d0;
}

.form-errors p {
    margin: 0;
}

.alert {
    margin-top: 18px;
    padding: 13px 16px;
}

.alert-success {
    color: #136744;
    background: #e9fff5;
    border: 1px solid #b9efd8;
}

.alert-error {
    color: #872234;
    background: #fff0f2;
    border: 1px solid #ffc9d0;
}

.dashboard-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.account-pill {
    min-width: 275px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 15px;
    background: rgba(255,255,255,.06);
}

.account-pill > span {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--white);
    background: var(--accent);
    font-weight: 900;
}

.account-pill div {
    display: grid;
}

.account-pill small {
    color: #a9b6ca;
}

.dashboard-section {
    padding-top: 55px;
}

.dashboard-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.dashboard-topline h2 {
    margin-bottom: 5px;
    font-size: 31px;
}

.dashboard-topline p {
    margin-bottom: 0;
    color: #6b788d;
}

.member-badge {
    margin: 0;
    color: #177752;
    background: #e6fbf2;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.dashboard-tool {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 20px;
    padding: 25px;
    border: 1px solid #d9e2ed;
    border-radius: 18px;
    background: var(--white);
}

.dashboard-tool-content .button {
    margin-top: 8px;
}

.dashboard-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 25px;
    padding: 22px 25px;
    border: 1px solid #cfd9ff;
    border-radius: 16px;
    background: #edf1ff;
}

.dashboard-note p {
    margin: 4px 0 0;
    color: #556683;
}

.dashboard-note > span {
    white-space: nowrap;
    color: #4d67d9;
    font-weight: 900;
}

.site-footer {
    padding: 56px 0 25px;
    color: #b7c4d7;
    background: #050d18;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .5fr;
    gap: 50px;
}

.footer-grid p {
    max-width: 480px;
    margin-top: 16px;
}

.footer-grid > div:last-child {
    display: grid;
    align-content: start;
    gap: 8px;
}

.footer-grid strong {
    color: var(--white);
    margin-bottom: 4px;
}

.footer-bottom {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.09);
    font-size: 13px;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 65px;
    }

    .tool-grid,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-heading,
    .cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-pill {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        top: 74px;
        left: 14px;
        right: 14px;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--bg-soft);
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 10px 12px;
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }

    .preview-panel {
        min-height: auto;
    }

    .drop-zone,
    .fake-image {
        height: 110px;
    }

    .section {
        padding: 65px 0;
    }

    .tool-card,
    .dashboard-tool {
        grid-template-columns: 1fr;
    }

    .dashboard-topline,
    .dashboard-note,
    .footer-grid {
        align-items: flex-start;
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .auth-card {
        padding: 28px 22px;
    }

    .auth-card h1 {
        font-size: 35px;
    }

    h1 {
        font-size: 42px;
    }
}


.tool-shell {
    padding: 28px 0 70px;
    background: #eef2f7;
}
.tool-shell-inner {
    width: min(1600px, calc(100% - 28px));
}
.protected-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding: 13px 16px;
    border: 1px solid #bfd8ca;
    border-radius: 12px;
    color: #145f42;
    background: #e9fff4;
}
.protected-notice strong {
    padding: 4px 9px;
    border-radius: 999px;
    color: #fff;
    background: #17845b;
    font-size: 12px;
    text-transform: uppercase;
}
.standalone-tool {
    margin: 0 !important;
}
.gd-hps-page h1,
.gdkg-admin-page > h1 {
    color: #14213a;
}
.gdkg-admin-page .description {
    color: #607087;
}
.card-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.button-outline-dark {
    color: #28405f;
    background: #fff;
    border-color: #c8d4e3;
}
.button-outline-dark:hover {
    color: #fff;
    background: #28405f;
    border-color: #28405f;
}
.preview-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .5fr);
    gap: 28px;
    align-items: start;
}
.public-tool-preview {
    overflow: hidden;
    min-height: 520px;
    border: 1px solid #203653;
    border-radius: 20px;
    color: #eef5ff;
    background: #0d1829;
    box-shadow: var(--shadow);
}
.public-preview-bar {
    display: flex;
    gap: 7px;
    padding: 14px 17px;
    border-bottom: 1px solid #263b58;
}
.public-preview-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #52647d;
}
.public-preview-nav {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 17px 20px;
    border-bottom: 1px solid #263b58;
}
.public-preview-nav span {
    color: #91a2ba;
    font-size: 13px;
}
.public-preview-body {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
}
.public-preview-body aside {
    padding: 16px;
    border: 1px solid #2b405f;
    border-radius: 13px;
    background: #14233a;
}
.preview-control {
    height: 45px;
    margin-bottom: 14px;
    border: 1px solid #3c5270;
    border-radius: 8px;
    background: #1b2d49;
}
.preview-control.short {
    width: 72%;
}
.preview-button {
    height: 45px;
    margin-top: 24px;
    border-radius: 8px;
    background: #5b7cff;
}
.public-preview-canvas {
    min-height: 420px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #2b405f;
    border-radius: 13px;
    background:
        linear-gradient(45deg, #e7ebf1 25%, transparent 25%) -10px 0/20px 20px,
        linear-gradient(-45deg, #e7ebf1 25%, transparent 25%) -10px 0/20px 20px,
        linear-gradient(45deg, transparent 75%, #e7ebf1 75%) -10px 0/20px 20px,
        linear-gradient(-45deg, transparent 75%, #e7ebf1 75%) -10px 0/20px 20px,
        #fff;
}
.mini-demo {
    display: flex;
    align-items: end;
    gap: 24px;
}
.mini-demo span {
    display: block;
    width: 90px;
    height: 230px;
    border: 7px solid #111827;
    border-radius: 48% 48% 25% 25%;
    background: #c9d3e2;
}
.mini-demo span:nth-child(2) {
    height: 280px;
}
.hex-demo {
    width: 420px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}
.hex-demo span {
    width: 80px;
    height: 92px;
    display: block;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: #7086aa;
}
.key-demo {
    display: flex;
    gap: 28px;
}
.key-demo span {
    position: relative;
    width: 235px;
    height: 165px;
    border-radius: 12px;
    background: #8194b2;
}
.key-demo span::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 16px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
}
.key-demo span:last-child::before {
    left: auto;
    right: 16px;
}
.preview-info-card {
    padding: 28px;
    border: 1px solid #d8e2ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}
.preview-info-card h2 {
    font-size: 28px;
}
.preview-login-link {
    display: block;
    margin-top: 16px;
    color: var(--accent);
    text-align: center;
    font-weight: 800;
}
@media (max-width: 900px) {
    .preview-page-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 700px) {
    .public-preview-body {
        grid-template-columns: 1fr;
    }
    .public-preview-canvas {
        min-height: 300px;
    }
    .key-demo span {
        width: 130px;
        height: 95px;
    }
    .hex-demo {
        width: 280px;
    }
    .hex-demo span {
        width: 52px;
        height: 60px;
    }
    .mini-demo span {
        width: 60px;
        height: 160px;
    }
    .mini-demo span:nth-child(2) {
        height: 190px;
    }
}


.verification-box {
    margin: 22px 0;
    padding: 16px;
    border: 1px solid #cbd8ef;
    border-radius: 12px;
    background: #f1f5ff;
}
.verification-box p {
    margin: 7px 0 0;
}
.admin-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.admin-stat {
    display: grid;
    gap: 4px;
    padding: 22px;
    border: 1px solid #dbe3ee;
    border-radius: 15px;
    background: #fff;
}
.admin-stat strong {
    font-size: 32px;
    line-height: 1;
}
.admin-stat span {
    color: #6a788e;
}
.users-table-wrap {
    overflow-x: auto;
    border: 1px solid #d8e1ed;
    border-radius: 16px;
    background: #fff;
}
.users-table {
    width: 100%;
    border-collapse: collapse;
}
.users-table th,
.users-table td {
    padding: 15px;
    border-bottom: 1px solid #e7edf4;
    text-align: left;
    vertical-align: middle;
}
.users-table th {
    color: #53627a;
    background: #f7f9fc;
    font-size: 13px;
    text-transform: uppercase;
}
.users-table td small {
    display: block;
    color: #738198;
}
.email-row td {
    padding-top: 0;
    color: #6a788e;
    font-size: 13px;
}
.table-status {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}
.table-status.ok {
    color: #176847;
    background: #e4faef;
}
.table-status.waiting {
    color: #805c13;
    background: #fff5d9;
}
.table-status.off {
    color: #8a2d3c;
    background: #ffebee;
}
.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.admin-btn {
    padding: 7px 10px;
    border: 1px solid #cbd5e2;
    border-radius: 8px;
    color: #2b3d57;
    background: #fff;
    cursor: pointer;
    font-weight: 700;
}
.admin-btn.success {
    color: #166b48;
    border-color: #9ddfc4;
    background: #e9fff4;
}
.admin-btn.danger {
    color: #8a2d3c;
    border-color: #ffc1ca;
    background: #fff0f2;
}
.muted-text {
    color: #7a8799;
}
@media (max-width: 700px) {
    .admin-summary {
        grid-template-columns: 1fr;
    }
}


.grant-access-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 8px;
    margin-top: 8px;
}

.grant-access-controls label {
    display: grid;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
}

.grant-access-controls input {
    width: 110px;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

.access-expiry {
    display: block;
    margin-top: 4px;
    color: #64748b;
}


.admin-tool-settings-grid{display:grid;gap:18px}
.admin-tool-settings-card{display:grid;gap:20px;padding:24px;border:1px solid #dce4ef;border-radius:18px;background:#fff}
.admin-tool-settings-head{display:flex;align-items:flex-start;gap:16px}
.admin-tool-settings-head h2{margin:0 0 6px}.admin-tool-settings-head p{margin:0;color:#68778e}
.admin-tool-settings-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.admin-tool-settings-fields label{display:grid;gap:6px;font-weight:750}
.admin-tool-settings-fields input,.admin-tool-settings-fields select{width:100%;padding:11px;border:1px solid #ccd6e4;border-radius:10px;background:#fff}
.admin-tool-toggle-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.admin-tool-toggle-grid label{display:flex;align-items:center;gap:8px;padding:12px;border:1px solid #dce4ef;border-radius:10px}
@media(max-width:800px){.admin-tool-settings-fields,.admin-tool-toggle-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.admin-tool-settings-fields,.admin-tool-toggle-grid{grid-template-columns:1fr}}


/* Admin-only tool version shown once in the main page hero. */
.page-hero h1 .tool-version-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 3px 6px;
    border: 1px solid rgba(74, 222, 128, .45);
    border-radius: 999px;
    background: rgba(34, 197, 94, .14);
    color: #86efac;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .02em;
    vertical-align: middle;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .page-hero h1 .tool-version-badge {
        margin-left: 6px;
        padding: 2px 5px;
        font-size: 9px;
    }
}
.nav-logout-form{display:inline-flex;margin:0}.nav-logout-form button{font:inherit}
