:root {
    --accent: #0eaade;
    --accent-dark: #078ab5;
    --accent-pale: #e9f8fd;
    --ink: #111424;
    --muted: #536176;
    --soft: #7a879a;
    --background: #f8fafc;
    --panel: #fff;
    --border: #e5e7eb;
    --warning-ink: #854d0e;
    --warning-background: #fffbeb;
    --warning-border: #f5d98b;
    --engagement-votes: #3d6fb6;
    --engagement-comments: #ad3260;
    --engagement-up: #21674f;
    --engagement-link: #066886;
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 18px;
    --shadow: 0 10px 28px rgba(17, 20, 36, .06);
    color-scheme: light;
    font-family: "Heebo", "Segoe UI", sans-serif;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background: var(--background);
    font-size: 16px;
    line-height: 1.5;
}

button,
input,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
}

svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    color: #fff;
    background: var(--ink);
    border-radius: 8px;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.page-width,
.header-inner,
.site-footer {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.site-header {
    position: relative;
    z-index: 20;
    min-height: 74px;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    flex: 0 0 auto;
}

.brand-logo {
    width: 46px;
    height: 46px;
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    line-height: 1;
}

.brand-copy strong {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
}

.site-search {
    position: relative;
    width: min(300px, 26vw);
    margin-left: auto;
}

.site-search svg {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 18px;
    height: 18px;
    color: #8994a5;
    transform: translateY(-50%);
}

.site-search input {
    width: 100%;
    height: 42px;
    padding: 0 15px 0 43px;
    color: var(--muted);
    background: #f3f6f9;
    border: 1px solid transparent;
    border-radius: 22px;
}

.site-search input::placeholder {
    color: #8b96a7;
}

.desktop-nav {
    display: flex;
    align-self: stretch;
    align-items: center;
    gap: 25px;
    color: #667286;
    font-size: 14px;
    font-weight: 600;
}

.desktop-nav a,
.desktop-nav span {
    position: relative;
    display: grid;
    height: 100%;
    place-items: center;
    text-decoration: none;
}

.desktop-nav span {
    color: #a0a9b7;
    cursor: default;
}

.desktop-nav .active {
    color: var(--ink);
}

.desktop-nav .active::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    content: "";
    background: var(--accent);
    border-radius: 3px 3px 0 0;
}

.avatar {
    width: 38px;
    height: 38px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #24334c, #4b617c);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

.user-copy {
    min-width: 0;
    display: grid;
    line-height: 1.25;
}

.user-copy strong,
.user-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-copy strong {
    font-size: 13px;
    font-weight: 700;
}

.user-copy small {
    margin-top: 3px;
    color: var(--soft);
    font-size: 11px;
}

.account-menu {
    position: relative;
    flex: 0 0 auto;
    margin-left: auto;
}

.account-menu-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 260px;
    min-height: 48px;
    padding: 5px 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    list-style: none;
}

.account-menu-trigger::-webkit-details-marker { display: none; }
.account-menu-trigger::marker { content: ""; }
.account-menu-trigger:hover,
.account-menu[open] > .account-menu-trigger { background: var(--accent-pale); }
.account-menu-trigger:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 2px; }
.account-menu-chevron { flex: 0 0 auto; color: var(--muted); }
.account-menu[open] .account-menu-chevron { transform: rotate(180deg); }

.account-menu-panel {
    position: absolute;
    z-index: 50;
    top: calc(100% + 8px);
    right: 0;
    width: min(260px, calc(100vw - 32px));
    padding: 6px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(17, 20, 36, .14);
}

.account-menu-heading { display: grid; gap: 3px; padding: 10px 12px 14px; overflow-wrap: anywhere; }
.account-menu-heading strong { font-size: 14px; }
.account-menu-heading small { color: var(--muted); font-size: 12px; }
.account-menu-links { display: grid; gap: 2px; }
.account-menu-links a,
.account-menu-signout button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.account-menu-links svg,
.account-menu-signout svg { flex: 0 0 auto; color: var(--muted); }
.account-menu-links a:hover,
.account-menu-links a[aria-current="page"],
.account-menu-signout button:hover { background: var(--accent-pale); }
.account-menu-links a:focus-visible,
.account-menu-signout button:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: -2px; }
.account-menu-signout { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--border); }

.hero {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 81% 35%, rgba(255, 255, 255, .12), transparent 24%),
        linear-gradient(118deg, #087fae 0%, #0eaade 58%, #1db8e4 100%);
}

.hero::before {
    position: absolute;
    right: 7%;
    bottom: -155px;
    width: 460px;
    height: 460px;
    content: "";
    border: 70px solid rgba(255, 255, 255, .055);
    border-radius: 50%;
}

.hero-orb {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
}

.hero-orb-one {
    top: -130px;
    right: 17%;
    width: 300px;
    height: 300px;
}

.hero-orb-two {
    right: -65px;
    bottom: -70px;
    width: 250px;
    height: 250px;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 69px;
    padding-bottom: 76px;
}

.eyebrow {
    display: inline-block;
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.eyebrow-light {
    color: rgba(255, 255, 255, .82);
}

.hero h1 {
    max-width: 720px;
    margin: 13px 0 15px;
    font-size: clamp(39px, 5vw, 58px);
    font-weight: 800;
    letter-spacing: -2.5px;
    line-height: 1.05;
}

.hero h1 span {
    color: #b9edfb;
}

.hero p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, .87);
    font-size: 17px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    min-height: 45px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.button svg {
    width: 17px;
    height: 17px;
}

.button-light {
    color: var(--accent-dark);
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 61, 87, .13);
}

.button-ghost {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .4);
}

.button-primary {
    color: #fff;
    background: var(--accent-dark);
}

.home-content {
    padding-bottom: 80px;
}

.welcome-strip {
    position: relative;
    z-index: 2;
    min-height: 83px;
    margin-top: -25px;
    padding: 17px 22px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--panel);
    border: 1px solid rgba(229, 231, 235, .8);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.welcome-icon {
    width: 47px;
    height: 47px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: var(--accent-dark);
    background: var(--accent-pale);
    border-radius: 13px;
}

.welcome-icon svg {
    width: 23px;
    height: 23px;
}

.welcome-strip > div:nth-child(2) {
    display: grid;
}

.welcome-strip span {
    color: var(--soft);
    font-size: 12px;
}

.welcome-strip strong {
    margin-top: 1px;
    font-size: 16px;
}

.welcome-strip .permission-pill {
    margin-left: auto;
    padding: 6px 11px;
    color: #087a54;
    background: #eafaf3;
    border: 1px solid #c9f0df;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.content-section {
    padding-top: 68px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.section-heading h2 {
    margin: 5px 0 2px;
    font-size: 30px;
    letter-spacing: -.7px;
    line-height: 1.2;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.section-count {
    padding-bottom: 4px;
    color: var(--soft);
    font-size: 12px;
    font-weight: 600;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.product-card {
    min-height: 181px;
    padding: 21px;
    display: flex;
    flex-direction: column;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(17, 20, 36, .025);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card:hover {
    border-color: #cae9f4;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.product-icon {
    width: 41px;
    height: 41px;
    display: grid;
    place-items: center;
    color: var(--card-color);
    background: var(--card-bg);
    border-radius: 11px;
}

.product-area-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    stroke: none;
}

.product-card-copy {
    margin-top: 15px;
}

.product-card h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
}

.product-card p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.card-arrow {
    align-self: flex-end;
    margin-top: auto;
    color: #b0bac7;
    font-size: 19px;
    line-height: 1;
}

.tone-blue { --card-color: #078ab5; --card-bg: #e9f8fd; }
.tone-purple { --card-color: #7c58c5; --card-bg: #f2edfc; }
.tone-green { --card-color: #18855f; --card-bg: #eaf8f1; }
.tone-orange { --card-color: #c46823; --card-bg: #fff2e8; }
.tone-pink { --card-color: #b64b7b; --card-bg: #fbedf3; }
.tone-cyan { --card-color: #168697; --card-bg: #e9f7f8; }
.tone-indigo { --card-color: #4c67bd; --card-bg: #edf0fb; }
.tone-slate { --card-color: #536176; --card-bg: #eef1f4; }

.ideas-preview {
    padding-top: 74px;
}

.empty-state {
    min-height: 170px;
    padding: 27px 30px;
    display: flex;
    align-items: center;
    gap: 28px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.empty-votes {
    width: 84px;
    min-height: 105px;
    display: grid;
    flex: 0 0 auto;
    place-content: center;
    text-align: center;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.empty-votes span {
    color: var(--accent);
    font-size: 22px;
    line-height: .9;
}

.empty-votes strong {
    font-size: 23px;
    line-height: 1.1;
}

.empty-votes small {
    color: var(--soft);
    font-size: 10px;
    text-transform: uppercase;
}

.status-badge {
    display: inline-flex;
    padding: 5px 9px;
    color: #087a54;
    background: #eafaf3;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.empty-state h3 {
    margin: 9px 0 5px;
    font-size: 20px;
}

.empty-state p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.site-footer {
    min-height: 85px;
    padding-block: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #8490a1;
    border-top: 1px solid var(--border);
    font-size: 12px;
}

.site-footer div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.footer-dot {
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
}

.access-panel {
    width: min(620px, calc(100% - 40px));
    min-height: 300px;
    margin: 90px auto;
    padding: clamp(30px, 6vw, 56px);
    background: var(--panel);
    border: 1px solid var(--border);
    border-top: 4px solid var(--accent);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.access-panel h1 {
    margin: 9px 0 13px;
    font-size: clamp(29px, 5vw, 40px);
    letter-spacing: -1.2px;
    line-height: 1.12;
}

.access-panel > p {
    margin: 0 0 25px;
    color: var(--muted);
}

.access-note {
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #405064;
    background: var(--accent-pale);
    border-radius: var(--radius-sm);
}

.access-note p {
    margin: 0;
    font-size: 13px;
}

.access-note-icon {
    width: 24px;
    height: 24px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
    background: var(--accent-dark);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.admin-body {
    --admin-header-height: 74px;
    --admin-sidebar-width: 224px;
    background: #f5f7fa;
}

.admin-header {
    position: sticky;
    top: 0;
    min-height: var(--admin-header-height);
    border-bottom-color: #dce1e8;
}

.admin-header .header-inner {
    width: calc(100% - 48px);
    min-height: var(--admin-header-height);
    gap: 16px;
}

.admin-shell {
    --admin-page-gutter: 48px;
    display: grid;
    grid-template-columns: var(--admin-sidebar-width) minmax(0, 1fr);
    min-height: calc(100dvh - var(--admin-header-height));
}

.admin-shell .page-width,
.admin-shell .site-footer {
    width: min(1440px, calc(100% - var(--admin-page-gutter)));
}

.admin-workspace {
    min-width: 0;
    grid-column: 2;
    display: flex;
    flex-direction: column;
}

.admin-workspace > main {
    flex: 1;
    min-width: 0;
}

.admin-body :is(:target, :focus-visible) {
    scroll-margin-top: calc(var(--admin-header-height) + 16px);
}

.admin-sidebar {
    position: fixed;
    top: var(--admin-header-height);
    bottom: 0;
    left: 0;
    width: var(--admin-sidebar-width);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--panel);
    border-right: 1px solid var(--border);
}

.admin-navigation {
    padding: 26px 12px;
}

.admin-nav-group + .admin-nav-group {
    margin-top: 24px;
}

.admin-nav-group h2 {
    margin: 0 12px 8px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.admin-nav-group ul {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.admin-navigation a {
    min-height: 44px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    border-radius: 9px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.admin-navigation a:hover {
    color: var(--ink);
    background: #f3f6f9;
}

.admin-navigation a[aria-current="page"] {
    color: #086b8c;
    background: var(--accent-pale);
    box-shadow: inset 3px 0 var(--accent);
    font-weight: 800;
}

.admin-nav-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: currentColor;
    stroke: none;
}

.admin-nav-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
}

.admin-nav-toggle:hover {
    color: var(--accent-dark);
    background: var(--accent-pale);
}

.admin-nav-toggle:focus-visible,
.admin-navigation a:focus-visible {
    outline: 3px solid var(--accent-dark);
    outline-offset: 2px;
}

.admin-nav-toggle[hidden],
.admin-sidebar[hidden] {
    display: none;
}

.admin-sidebar-collapsed {
    grid-template-columns: minmax(0, 1fr);
}

.admin-sidebar-collapsed .admin-workspace {
    grid-column: 1;
}

.admin-nav-drawer {
    width: min(304px, calc(100% - 32px));
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    color: var(--ink);
    background: var(--panel);
    border: 0;
    box-shadow: var(--shadow);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.admin-nav-drawer::backdrop {
    background: rgba(17, 20, 36, .45);
}

.admin-drawer-heading {
    min-height: var(--admin-header-height);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--panel);
    border-bottom: 1px solid var(--border);
}

.admin-nav-drawer .admin-sidebar {
    position: static;
    width: 100%;
    overflow: visible;
    border: 0;
}

.admin-drawer-open {
    overflow: hidden;
}

@media (max-width: 1100px) {
    .admin-shell {
        display: block;
    }

    /* Keep all destinations reachable if JavaScript is unavailable. */
    .admin-shell > .admin-sidebar {
        position: static;
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .admin-shell > .admin-sidebar .admin-navigation {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .admin-shell > .admin-sidebar .admin-nav-group {
        margin-top: 0;
    }
}

@media (max-width: 900px) {
    .admin-header .account-menu .user-copy {
        display: none;
    }
}

@media (max-width: 680px) {
    .admin-body {
        --admin-header-height: 66px;
    }

    .admin-shell {
        --admin-page-gutter: 32px;
    }

    .admin-header .header-inner {
        width: calc(100% - 32px);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .admin-header .brand-copy small {
        display: none;
    }

    .admin-header .brand-logo {
        width: 40px;
        height: 40px;
    }
}

.text-button {
    padding: 5px 0;
    color: var(--muted);
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.admin-hero {
    color: #fff;
    background:
        radial-gradient(circle at 82% 5%, rgba(14, 170, 222, .2), transparent 26%),
        linear-gradient(118deg, #111424, #26364f);
}

.admin-hero-content {
    padding-top: 56px;
    padding-bottom: 62px;
}

.admin-hero h1 {
    margin: 9px 0 8px;
    font-size: clamp(32px, 4vw, 46px);
    letter-spacing: -1.6px;
    line-height: 1.1;
}

.admin-content {
    padding-bottom: 80px;
}

.admin-empty-state {
    border-top: 3px solid var(--accent);
}

.admin-access-panel {
    border-top-color: #26364f;
}

.admin-access-panel .button {
    width: 100%;
}

.admin-access-panel .password-recovery-link {
    margin-top: 18px;
}

.form-stack {
    display: grid;
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 7px;
}

.form-field label,
.form-field > span:first-child {
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.form-field input {
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #cfd6df;
    border-radius: var(--radius-sm);
    outline: none;
}

.form-field input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14, 170, 222, .14);
}

.field-validation,
.validation-summary {
    color: #b42318;
    font-size: 12px;
}

.validation-summary-valid,
.validation-summary:empty,
.field-validation:empty {
    display: none;
}

.validation-summary ul {
    margin: 0 0 4px;
    padding-left: 20px;
}

.admin-access-note {
    margin-top: 24px;
}

.form-alternative {
    margin: 22px 0 0 !important;
    text-align: center;
    font-size: 13px;
}

.form-alternative a {
    color: var(--accent-dark);
    font-weight: 700;
}

.mfa-panel {
    width: min(760px, calc(100% - 40px));
}

.mfa-setup-grid {
    margin: 25px 0;
    display: grid;
    grid-template-columns: 216px 1fr;
    align-items: center;
    gap: 28px;
}

.mfa-setup-grid h2 {
    margin: 0 0 7px;
    font-size: 18px;
}

.mfa-setup-grid p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 13px;
}

.qr-code {
    width: 216px;
    height: 216px;
    padding: 12px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.qr-code img {
    display: block;
}

.shared-key {
    padding: 9px 11px;
    display: inline-block;
    color: #23324a;
    background: #eef2f6;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    overflow-wrap: anywhere;
}

.muted-copy {
    margin-top: 12px !important;
}

.mfa-verification-form {
    padding-top: 23px;
    border-top: 1px solid var(--border);
}

.recovery-codes {
    margin: 25px 0;
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    background: #eef2f6;
    border-radius: var(--radius);
}

.recovery-codes code {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.admin-page-heading {
    color: #fff;
    background:
        radial-gradient(circle at 84% 10%, rgba(14, 170, 222, .18), transparent 25%),
        linear-gradient(118deg, #111424, #26364f);
}

.admin-page-heading .page-width {
    padding-top: 39px;
    padding-bottom: 42px;
}

.admin-page-heading h1 {
    margin: 7px 0 5px;
    font-size: clamp(30px, 4vw, 42px);
    letter-spacing: -1.4px;
    line-height: 1.1;
}

.admin-page-heading p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
}

.admin-page-content {
    padding-top: 34px;
}

.admin-metric-grid {
    margin-top: -25px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.admin-overview-metrics {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.jira-metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-metric-card .metric-date {
    font-size: 17px;
    line-height: 1.25;
}

.admin-table td > .status-badge + small {
    max-width: 300px;
    margin-top: 5px;
    display: block;
}

.admin-metric-card {
    min-height: 142px;
    padding: 22px 24px;
    display: grid;
    align-content: center;
    color: inherit;
    background: var(--panel);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
}

a.admin-metric-card:hover {
    border-color: #bee6f3;
    transform: translateY(-1px);
}

.admin-metric-card strong {
    margin-top: 5px;
    font-size: 34px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.admin-metric-card small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

.admin-list-card,
.admin-table-wrap,
.admin-form-card,
.audit-card {
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.admin-table-wrap {
    position: relative;
    overflow-x: auto;
}

.activity-row {
    min-height: 72px;
    padding: 14px 19px;
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--border);
}

.activity-row:last-child {
    border-bottom: 0;
}

.activity-row div {
    display: grid;
}

.activity-row strong {
    font-size: 14px;
}

.activity-row small,
.activity-row time {
    color: var(--soft);
    font-size: 11px;
}

.activity-mark {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.text-link {
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.filter-bar {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 11px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.filter-bar input,
.filter-bar select,
.form-field select {
    min-height: 43px;
    padding: 8px 12px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #cfd6df;
    border-radius: 9px;
    outline: none;
}

.filter-bar input:focus,
.filter-bar select:focus,
.form-field select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14, 170, 222, .14);
}

.filter-search {
    min-width: 230px;
    flex: 1 1 420px;
}

.filter-search input {
    width: 100%;
}

.button-compact {
    min-height: 43px;
    color: #fff;
    background: var(--accent-dark);
    cursor: pointer;
}

.button-secondary {
    color: #344054;
    background: #fff;
    border-color: #cfd6df;
}

.button-danger {
    color: #fff;
    background: #b42318;
}

.result-summary {
    margin: 25px 2px 12px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
}

.result-summary strong {
    color: var(--ink);
    font-size: 17px;
}

.attraction-row,
.administrator-row {
    min-height: 91px;
    padding: 15px 19px;
    display: grid;
    grid-template-columns: auto minmax(220px, 1.4fr) minmax(110px, .55fr) minmax(160px, .8fr) auto auto;
    align-items: center;
    gap: 18px;
    color: inherit;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
}

.attraction-row:last-child,
.administrator-row:last-child {
    border-bottom: 0;
}

.attraction-row:hover,
.administrator-row:hover {
    background: #f9fbfd;
}

.entity-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    color: #087a9f;
    background: var(--accent-pale);
    border-radius: 12px;
    font-weight: 800;
}

.entity-primary,
.entity-stat {
    min-width: 0;
    display: grid;
}

.entity-primary strong,
.entity-stat strong {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.entity-primary small,
.entity-stat small {
    overflow: hidden;
    color: var(--soft);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.row-arrow {
    color: #a7b0bd;
    font-size: 25px;
}

.status-badge-disabled {
    color: #9b2c24;
    background: #fff0ee;
}

.status-badge-large {
    padding: 7px 12px;
    font-size: 11px;
}

.pagination {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--muted);
    font-size: 13px;
}

.pagination a {
    color: var(--accent-dark);
    font-weight: 700;
    text-decoration: none;
}

.back-link {
    margin-bottom: 12px;
    display: flex;
    width: max-content;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.detail-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.guid-copy {
    font-family: ui-monospace, "Cascadia Mono", monospace;
    font-size: 13px;
}

.alert {
    margin-bottom: 20px;
    padding: 13px 16px;
    border: 1px solid;
    border-radius: var(--radius-sm);
    font-size: 13px;
}

.alert-success {
    color: #086746;
    background: #eafaf3;
    border-color: #bfe8d6;
}

.alert-error {
    color: #912018;
    background: #fff0ee;
    border-color: #fac7c2;
}

.alert-information {
    color: #28506b;
    background: #eef7fb;
    border-color: #cae8f3;
}

.alert-warning {
    color: var(--warning-ink);
    background: var(--warning-background);
    border-color: var(--warning-border);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.detail-card {
    min-height: 108px;
    padding: 20px;
    display: grid;
    align-content: center;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.detail-card > strong {
    margin-top: 6px;
    font-size: 16px;
}

.attraction-site-url {
    grid-column: 1 / -1;
    overflow-wrap: anywhere;
}

.detail-card-action {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-left: 3px solid var(--accent);
}

.detail-card-action div {
    display: grid;
}

.admin-table-section {
    padding-top: 49px;
}

.report-filters {
    padding: 20px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.report-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.report-filters label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    min-width: 0;
}

.report-filters input:not([type="hidden"]),
.report-filters select {
    width: 100%;
    min-height: 43px;
    padding: 8px 10px;
    border: 1px solid #cfd6df;
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 400;
}

.report-filters input:focus-visible,
.report-filters select:focus-visible,
.report-table-wrap:focus-visible,
.report-table a:focus-visible,
.report-advanced summary:focus-visible {
    outline: 2px solid var(--accent-dark);
    outline-offset: 3px;
}

.report-advanced {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.report-advanced summary {
    width: fit-content;
    cursor: pointer;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 700;
}

.report-advanced[open] summary { margin-bottom: 18px; }
.report-filter-active { margin-left: 8px; color: #087a54; font-size: 11px; }
.report-hint { color: var(--soft); font-size: 12px; line-height: 1.6; }
.report-validation.validation-summary-valid { display: none; }
.report-validation { margin-bottom: 18px; color: #b42318; }
.report-filter-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 20px; }
.report-filters .report-page-size { margin-left: auto; flex-direction: row; align-items: center; font-weight: 400; }
.report-page-size select { width: 76px; }
.report-saved-views { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 24px; margin-bottom: 16px; }
.report-view-picker, .report-view-edit-row { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.report-view-picker { flex: 1; }
.report-view-picker label { display: grid; gap: 6px; min-width: 0; flex: 1; max-width: 400px; font-size: 13px; font-weight: 700; }
.report-view-picker select { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--panel); }
.report-saved-views > .report-hint { margin: 0 0 10px; }
.report-view-current { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; overflow-wrap: anywhere; }
.report-view-current strong { min-width: 0; }
.report-view-modified { color: #785300; background: #fff3d4; padding: 3px 8px; border-radius: 12px; font-size: 11px; }
.report-view-tools { display: flex; flex-wrap: wrap; align-items: start; gap: 18px; border-top: 1px solid var(--border); margin-top: 20px; padding-top: 16px; }
.report-view-editor { min-width: 0; max-width: 100%; }
.report-view-editor summary { padding-block: 10px; color: var(--accent-dark); cursor: pointer; font-size: 13px; font-weight: 700; }
.report-view-editor summary:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
.report-view-edit-row { margin-block: 8px 12px; }
.report-view-edit-row label { flex: 1; min-width: min(240px, 100%); }
.report-view-edit-row input { max-width: 100%; }
.report-filters input:disabled { opacity: .55; background: #eef2f6; }
.report-results-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 24px 0 12px; }
.report-results-heading .result-summary { margin: 0; }
.report-export-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.report-table-wrap { width: 100%; overflow-x: auto; }
.admin-table.report-table { min-width: 1350px; }
.report-table th a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.report-table th[aria-sort="ascending"], .report-table th[aria-sort="descending"] { color: var(--accent-dark); }
.report-table th { white-space: nowrap; }
.report-table .report-idea { min-width: 230px; max-width: 300px; overflow-wrap: anywhere; }
.report-table .report-tags { margin-top: 6px; }
.report-table td .status-badge { margin: 2px 0; }
.report-table .report-count { font-weight: 700; font-variant-numeric: tabular-nums; }
.report-table .report-date { white-space: nowrap; font-size: 12px; }
.report-table tbody tr:hover { background: #f8fbfd; }

@media (max-width: 900px) {
    .report-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .report-filters { padding: 16px; }
    .report-filter-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .report-filters .report-page-size { margin-left: 0; flex-basis: 100%; }
    .report-results-heading { align-items: flex-start; }
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th {
    padding: 12px 16px;
    color: #667286;
    background: #f5f7fa;
    border-bottom: 1px solid var(--border);
    font-size: 11px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.admin-table td {
    padding: 15px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    vertical-align: middle;
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-table td > strong,
.admin-table td > small {
    display: block;
}

.admin-table td > small {
    color: var(--soft);
    font-size: 11px;
}

.permission-tag {
    padding: 4px 7px;
    display: inline-flex;
    color: #445267;
    background: #eef1f4;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
}

.permission-tag-contribute {
    color: #087a54;
    background: #eafaf3;
}

.table-action {
    text-align: right;
}

.text-link-button {
    padding: 4px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.text-link-danger {
    color: #b42318;
}

.administrator-list {
    display: grid;
    grid-template-columns: auto minmax(190px, 1.2fr) minmax(170px, .8fr) minmax(130px, .7fr) auto auto;
    column-gap: 18px;
}

.administrator-row {
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
}

.administrator-row .status-badge {
    justify-self: end;
}

.avatar-large {
    width: 43px;
    height: 43px;
}

.admin-guidance {
    margin-top: 20px;
}

.admin-form-card {
    max-width: 820px;
    padding: clamp(24px, 5vw, 40px);
}

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

.admin-form-card .form-field {
    margin-bottom: 20px;
}

.form-field select {
    width: 100%;
}

.role-guidance {
    margin: -7px 0 24px;
    padding: 15px 17px;
    color: var(--muted);
    background: #f5f7fa;
    border-radius: var(--radius-sm);
    font-size: 12px;
}

.role-guidance p {
    margin: 0 0 5px;
}

.role-guidance p:last-child {
    margin-bottom: 0;
}

.form-help {
    margin: -8px 0 25px;
    color: var(--soft);
    font-size: 12px;
}

.form-actions {
    padding-top: 21px;
    display: flex;
    gap: 11px;
    border-top: 1px solid var(--border);
}

.switch-field {
    margin-bottom: 22px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.switch-field input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent-dark);
}

.switch-field-readonly {
    color: #586579;
}

.readonly-check {
    width: 20px;
    height: 20px;
    display: grid !important;
    place-items: center;
    color: #fff;
    background: #087a54;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
}

.switch-field span,
.account-security-summary {
    display: grid;
}

.switch-field strong {
    font-size: 13px;
}

.switch-field small,
.account-security-summary small {
    color: var(--muted);
    font-size: 12px;
}

.account-security-summary {
    margin-bottom: 25px;
    padding: 16px;
    background: var(--accent-pale);
    border-radius: var(--radius-sm);
}

.account-security-summary strong {
    margin: 4px 0 2px;
    font-size: 14px;
}

.audit-list {
    display: grid;
    gap: 13px;
}

.audit-card {
    padding: 20px;
}

.audit-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.audit-card-heading h2 {
    margin: 7px 0 0;
    font-size: 17px;
}

.audit-card-heading time {
    color: var(--soft);
    font-size: 12px;
}

.audit-metadata {
    margin: 18px 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.audit-metadata div {
    min-width: 0;
}

.audit-metadata dt {
    color: var(--soft);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.audit-metadata dd {
    margin: 3px 0 0;
    overflow-wrap: anywhere;
    font-size: 12px;
}

.audit-details {
    margin-top: 15px;
    padding-top: 13px;
    border-top: 1px solid var(--border);
}

.audit-details summary {
    color: var(--accent-dark);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.audit-details code {
    margin-top: 11px;
    padding: 12px;
    display: block;
    overflow-x: auto;
    color: #334155;
    background: #f5f7fa;
    border-radius: 8px;
    font-size: 11px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

@media (max-width: 980px) {
    .header-inner {
        gap: 20px;
    }

    .site-search {
        display: none;
    }

    .desktop-nav {
        margin-left: auto;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .attraction-row,
    .administrator-list {
        grid-template-columns: auto minmax(190px, 1fr) minmax(120px, .6fr) auto auto;
    }

    .attraction-row .entity-stat:nth-of-type(3),
    .administrator-row .entity-stat:nth-of-type(3) {
        display: none;
    }
}

@media (max-width: 680px) {
    .page-width,
    .header-inner,
    .site-footer {
        width: min(100% - 32px, 1180px);
    }

    .site-header,
    .header-inner {
        min-height: 66px;
    }

    .desktop-nav,
    .user-copy {
        display: none;
    }

    .hero {
        min-height: 400px;
    }

    .hero-content {
        padding-top: 55px;
        padding-bottom: 65px;
    }

    .hero h1 {
        letter-spacing: -1.6px;
    }

    .hero p {
        font-size: 15px;
    }

    .button {
        width: 100%;
    }

    .welcome-strip {
        margin-top: -19px;
        padding: 15px;
    }

    .welcome-strip .permission-pill {
        display: none;
    }

    .content-section {
        padding-top: 53px;
    }

    .section-heading h2 {
        font-size: 26px;
    }

    .section-count {
        display: none;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .product-card {
        min-height: 116px;
        padding: 17px;
        display: grid;
        grid-template-columns: 42px 1fr auto;
        align-items: center;
        gap: 14px;
    }

    .product-card-copy,
    .card-arrow {
        margin: 0;
    }

    .empty-state {
        padding: 22px;
        align-items: flex-start;
        gap: 18px;
    }

    .empty-votes {
        width: 68px;
        min-height: 90px;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-metric-grid,
    .detail-grid,
    .form-grid,
    .audit-metadata {
        grid-template-columns: 1fr;
    }

    .admin-page-heading .page-width {
        padding-top: 30px;
        padding-bottom: 32px;
    }

    .detail-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .filter-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-search {
        min-width: 0;
        flex: auto;
    }

    .attraction-row,
    .administrator-list {
        grid-template-columns: auto minmax(0, 1fr) auto;
        column-gap: 12px;
    }

    .administrator-row {
        gap: 12px;
    }

    .attraction-row .entity-stat,
    .administrator-row .entity-stat,
    .attraction-row .status-badge,
    .administrator-row .status-badge {
        display: none;
    }

    .admin-table-wrap {
        overflow-x: auto;
    }

    .admin-table {
        min-width: 740px;
    }

    .activity-row {
        grid-template-columns: 10px minmax(0, 1fr);
    }

    .activity-row time {
        grid-column: 2;
    }

    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .mfa-setup-grid {
        grid-template-columns: 1fr;
    }

    .qr-code {
        margin-inline: auto;
    }

    .recovery-codes {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Ideas and discovery */
.product-card {
    color: inherit;
    text-decoration: none;
}

.product-card-copy small {
    display: block;
    margin-top: 9px;
    color: var(--card-color);
    font-size: 11px;
    font-weight: 700;
}

.idea-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.idea-card {
    min-height: 230px;
    padding: 22px;
    display: flex;
    gap: 17px;
    color: inherit;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(17, 20, 36, .025);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.idea-card:hover {
    border-color: #cae9f4;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.idea-card-votes,
.vote-stack {
    width: 56px;
    min-height: 65px;
    padding: 9px 5px;
    display: grid;
    flex: 0 0 auto;
    align-content: center;
    color: #3f4c60;
    background: #f5f7fa;
    border: 1px solid var(--border);
    border-radius: 10px;
    text-align: center;
}

.idea-card-votes strong,
.vote-stack strong {
    font-size: 18px;
    line-height: 1;
}

.idea-card-votes span,
.vote-stack small {
    margin-top: 4px;
    color: var(--soft);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.idea-card-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.idea-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.product-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--card-color);
    font-size: 11px;
    font-weight: 800;
}

.product-dot::before {
    width: 7px;
    height: 7px;
    content: "";
    background: var(--card-color);
    border-radius: 50%;
}

.idea-card h3 {
    margin: 16px 0 7px;
    font-size: 17px;
    line-height: 1.3;
}

.idea-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.idea-card-copy > small {
    margin-top: auto;
    padding-top: 14px;
    color: var(--soft);
    font-size: 10px;
}

.community-page-heading,
.idea-detail-heading {
    color: #fff;
    background:
        radial-gradient(circle at 78% 0, rgba(185, 237, 251, .18), transparent 27%),
        linear-gradient(118deg, #047fa9, #0eaade);
}

.community-page-heading .page-width,
.idea-detail-heading .page-width {
    padding-top: 50px;
    padding-bottom: 52px;
}

.community-page-heading h1,
.idea-detail-heading h1 {
    margin: 8px 0 6px;
    font-size: clamp(34px, 4vw, 48px);
    letter-spacing: -1.7px;
    line-height: 1.08;
}

.community-page-heading p,
.idea-detail-heading p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
}

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

.compact-heading .page-width {
    padding-top: 38px;
    padding-bottom: 42px;
}

.community-content,
.form-page-content,
.idea-detail-content {
    padding-top: 34px;
    padding-bottom: 80px;
}

.idea-filter-panel {
    padding: 18px;
    display: grid;
    grid-template-columns: minmax(240px, 1.7fr) repeat(4, minmax(140px, 1fr));
    gap: 13px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.idea-filter-panel label,
.taxonomy-form label {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.idea-filter-panel label > span,
.taxonomy-form label > span {
    color: #465469;
    font-size: 11px;
    font-weight: 700;
}

.idea-filter-panel input,
.idea-filter-panel select,
.taxonomy-form input,
.taxonomy-form select,
.form-field textarea,
.attachment-form input[type="file"] {
    width: 100%;
    min-height: 43px;
    padding: 8px 11px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #cfd6df;
    border-radius: 9px;
    outline: none;
}

.form-field textarea {
    resize: vertical;
}

.idea-filter-panel :is(input, select):focus,
.taxonomy-form :is(input, select):focus,
.form-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14, 170, 222, .14);
}

.idea-filter-panel .check-field,
.taxonomy-form .check-field {
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-field input {
    width: 17px;
    min-height: 17px;
    accent-color: var(--accent-dark);
}

.filter-actions {
    grid-column: 4 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.filter-actions .button {
    background: #086b8c;
}

.filter-actions .text-link {
    color: #086b8c;
}

.idea-list {
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.idea-list-row {
    min-height: 132px;
    padding: 20px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    color: inherit;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
}

.idea-list-row:last-child {
    border-bottom: 0;
}

.idea-list-row:hover {
    background: #f9fbfd;
}

.vote-stack.has-vote {
    color: #087a54;
    background: #eafaf3;
    border-color: #c9f0df;
}

.idea-list-copy {
    min-width: 0;
    display: grid;
    gap: 7px;
}

.idea-list-copy > strong {
    font-size: 17px;
}

.idea-list-copy > span:not(.idea-card-meta) {
    color: var(--muted);
    font-size: 13px;
}

.idea-list-copy > small {
    color: var(--soft);
    font-size: 11px;
}

.your-attraction-badge {
    padding: 3px 7px;
    color: #28506b;
    background: #eef7fb;
    border-radius: 12px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.editor-card {
    max-width: 850px;
    margin-inline: auto;
    padding: clamp(24px, 5vw, 44px);
    display: grid;
    gap: 22px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.editor-card .validation-summary-valid {
    display: none;
}

.idea-delete-confirmation h2,
.idea-delete-confirmation p { margin: 0; overflow-wrap: anywhere; }
.idea-delete-confirmation p { color: var(--muted); line-height: 1.6; }
.idea-delete-choices { min-width: 0; margin: 0; padding: 0; border: 0; }
.idea-delete-choices legend { margin-bottom: 14px; font-weight: 700; }
.idea-delete-choices label { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; padding: 16px; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
.idea-delete-choices input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; accent-color: #086b8c; }
.idea-delete-choices input:focus-visible { outline: 2px solid #086b8c; outline-offset: 3px; }
.idea-delete-choices label:has(input:checked) { border-color: #086b8c; background: var(--accent-pale); }
.idea-delete-choices small { display: block; margin-top: 6px; color: var(--muted); line-height: 1.5; }
.idea-delete-confirmation .idea-delete-button { background: #b42318; color: #fff; }
.idea-delete-confirmation .idea-delete-button:hover { background: #912018; }

.idea-creation-attachment {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    gap: 12px;
}

.idea-creation-attachment legend {
    margin-bottom: 10px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.idea-creation-attachment input[type="file"] {
    min-width: 0;
}

.idea-creation-attachment legend small {
    margin-left: 5px;
    font-weight: 400;
}

.editor-card .form-field small,
.editor-card .tag-picker legend small {
    color: var(--muted);
}

.editor-card .tag-picker input:checked + span {
    color: #086b8c;
}

.form-field small,
.attachment-form small {
    color: var(--soft);
    font-size: 11px;
}

.tag-picker {
    padding: 0;
    border: 0;
}

.tag-picker legend {
    margin-bottom: 10px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.tag-picker legend small {
    margin-left: 5px;
    color: var(--soft);
    font-weight: 400;
}

.tag-picker > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-picker label {
    cursor: pointer;
}

.tag-picker input {
    position: absolute;
    opacity: 0;
}

.tag-picker span,
.tag-list a {
    padding: 6px 11px;
    display: inline-flex;
    color: #465469;
    background: #f1f4f7;
    border: 1px solid #e0e5eb;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.tag-picker input:checked + span {
    color: #087a9f;
    background: var(--accent-pale);
    border-color: #a9ddec;
}

.idea-detail-heading .page-width {
    padding-top: 36px;
    padding-bottom: 42px;
}

.idea-detail-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.idea-detail-title h1 {
    max-width: 800px;
    font-size: clamp(30px, 4vw, 43px);
}

.idea-creation-details {
    display: grid;
    gap: 4px;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.idea-heading-actions {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    text-align: center;
}

.idea-detail-heading .product-dot {
    color: #fff;
}

.idea-detail-heading .product-dot::before {
    background: #fff;
}

.idea-heading-actions .button-light {
    width: 100%;
    color: #075f80;
    background: #fff;
    cursor: pointer;
}

.idea-heading-actions .button-light:hover {
    background: #e6f7fc;
}

.idea-heading-actions .button-light:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.idea-vote-count,
.idea-heading-actions form {
    width: 176px;
    max-width: 100%;
    align-self: center;
}

.idea-vote-count {
    min-height: 144px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 12px;
}

.idea-vote-count > strong {
    font-size: 42px;
    line-height: 1.1;
}

.idea-vote-count > span {
    font-size: 14px;
}

.idea-heading-actions .idea-vote-status {
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
}

.idea-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, .85fr);
    align-items: start;
    gap: 20px;
}

.idea-main-column,
.idea-side-column {
    display: grid;
    gap: 20px;
}

.idea-detail-content .detail-card {
    padding: 27px;
    display: block;
}

.idea-detail-content .detail-card h2 {
    margin: 6px 0 13px;
    font-size: 21px;
}

.idea-description > p,
.area-summary > p {
    margin: 0;
    color: #344054;
    white-space: pre-line;
}

.idea-description h2 {
    overflow-wrap: anywhere;
}

.subscription-card > p {
    color: #344054;
}

.subscription-card .button {
    width: 100%;
    white-space: normal;
}

.tag-list {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tag-list a {
    text-decoration: none;
}

.card-heading {
    display: flex;
    justify-content: space-between;
}

.muted-copy {
    color: var(--muted);
    font-size: 13px;
}

.comment-list {
    border-top: 1px solid var(--border);
}

.comment-item {
    padding: 20px 0;
    display: flex;
    gap: 13px;
    border-bottom: 1px solid var(--border);
}

.comment-item .avatar {
    width: 34px;
    height: 34px;
    font-size: 12px;
}

.comment-item > div {
    min-width: 0;
    flex: 1;
}

.comment-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.comment-meta strong {
    font-size: 13px;
}

.comment-meta span,
.comment-meta time {
    color: var(--soft);
    font-size: 10px;
}

.comment-item p {
    margin: 7px 0 0;
    color: #344054;
    white-space: pre-line;
}

.comment-form,
.attachment-form {
    margin-top: 22px;
    padding-top: 20px;
    display: grid;
    gap: 12px;
    border-top: 1px solid var(--border);
}

.team-badge,
.comment-meta .team-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    padding: 3px 8px;
    border-radius: 6px;
    color: #07576d;
    background: #e6f7fb;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}
.comment-meta .team-badge { margin-left: 0; }
.moderation-comment .team-badge { justify-self: start; margin-left: 0; }
.admin-comment-form { min-width: 0; }
.admin-comment-form h3,
.admin-comment-form p { margin: 0; }
.admin-comment-form p { color: var(--muted); line-height: 1.6; }
.admin-comment-form textarea { width: 100%; min-width: 0; padding: 12px; border: 1px solid var(--border); border-radius: 8px; font: inherit; resize: vertical; }
.admin-comment-form textarea:focus-visible { outline: 2px solid #086b8c; outline-offset: 2px; }
.admin-comment-form .validation-summary-valid { display: none; }
.admin-comment-form .button { justify-self: start; background: #086b8c; color: #fff; }
.admin-comment-form .button:hover { background: #07576d; }
@media (max-width: 680px) {
    .site-header:not(.admin-header):has(.account-menu) .brand-copy small { display: none; }
    .site-header:not(.admin-header):has(.account-menu) .header-inner { flex-wrap: wrap; gap: 10px; padding-block: 10px; }
    .site-header:not(.admin-header):has(.account-menu) .desktop-nav { display: flex; order: 3; flex-basis: 100%; justify-content: center; height: 36px; margin: 0; }
}

.area-summary {
    border-top: 4px solid var(--card-color);
}

.attachment-list {
    display: grid;
}

.attachment-list a {
    padding: 11px 0;
    display: grid;
    color: inherit;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
}

.attachment-list strong {
    overflow-wrap: anywhere;
    color: var(--accent-dark);
    font-size: 12px;
}

.attachment-list small {
    color: var(--soft);
    font-size: 10px;
}

.workflow-history ol {
    margin: 0;
    padding: 0;
    display: grid;
    list-style: none;
}

.workflow-history li {
    position: relative;
    min-height: 48px;
    display: grid;
    grid-template-columns: 14px 1fr;
    gap: 10px;
}

.workflow-history li:not(:last-child)::before {
    position: absolute;
    top: 13px;
    bottom: -5px;
    left: 5px;
    width: 2px;
    content: "";
    background: #dce5ec;
}

.workflow-marker {
    position: relative;
    z-index: 1;
    width: 12px;
    height: 12px;
    margin-top: 3px;
    background: var(--accent);
    border: 3px solid #dff5fc;
    border-radius: 50%;
}

.workflow-history li > span:last-child {
    display: grid;
}

.workflow-history strong {
    font-size: 12px;
}

.workflow-history time {
    color: var(--soft);
    font-size: 10px;
}

/* Ideas administration */
.idea-admin-row {
    min-height: 88px;
    padding: 14px 18px;
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr) auto auto auto;
    align-items: center;
    gap: 17px;
    color: inherit;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
}

.idea-admin-row:last-child {
    border-bottom: 0;
}

.idea-admin-row:hover {
    background: #f9fbfd;
}

.idea-admin-row .vote-stack {
    width: 50px;
    min-height: 56px;
}

.admin-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(270px, .8fr);
    align-items: start;
    gap: 20px;
}

.admin-detail-grid > main {
    display: grid;
    gap: 20px;
}

.idea-voters { scroll-margin-top: 160px; min-width: 0; }
.admin-table.voter-table { min-width: 0; table-layout: fixed; }
.voter-table th, .voter-table td { overflow-wrap: anywhere; }
.voter-table time { font-size: 12px; }
.voter-table a:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }

@media (max-width: 600px) {
    .voter-table th, .voter-table td { padding: 12px 6px; }
}

.moderation-copy-card,
.moderation-comments,
.moderation-controls {
    padding: 25px;
}

.moderation-copy-card h2,
.moderation-comments h2,
.moderation-controls h2 {
    margin: 12px 0 8px;
    font-size: 19px;
}

.moderation-copy-card > p,
.moderation-comment p {
    white-space: pre-line;
}

.moderation-stats {
    margin: 22px 0 0;
    padding-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
}

.moderation-stats div {
    display: grid;
}

.moderation-stats dt {
    color: var(--soft);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.moderation-stats dd {
    margin: 2px 0 0;
    font-size: 20px;
    font-weight: 800;
}

.moderation-comment {
    padding: 16px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: start;
    gap: 13px;
    border-top: 1px solid var(--border);
}

.moderation-comment > div {
    display: grid;
}

.moderation-comment small {
    color: var(--soft);
    font-size: 10px;
}

.moderation-comment p {
    margin: 9px 0 0;
    font-size: 13px;
}

.moderation-controls form {
    display: grid;
    gap: 12px;
}

.moderation-controls hr {
    margin: 24px 0;
    border: 0;
    border-top: 1px solid var(--border);
}

.jira-idea-state {
    margin: 12px 0;
    padding: 14px;
    display: grid;
    gap: 5px;
    background: #f3f8fc;
    border: 1px solid #dce7ef;
    border-radius: var(--radius-sm);
}

.jira-idea-state .status-badge {
    width: max-content;
}

.jira-idea-state small,
.admin-status-history small {
    color: var(--soft);
    font-size: 10px;
}

.integration-error {
    margin: 5px 0 0;
    color: #b42318;
    font-size: 11px;
}

.admin-status-history {
    margin: 0;
    padding: 0;
    display: grid;
    list-style: none;
}

.admin-status-history li {
    padding: 9px 0;
    display: grid;
    border-bottom: 1px solid var(--border);
}

.admin-status-history li:last-child {
    border-bottom: 0;
}

.taxonomy-section + .taxonomy-section {
    margin-top: 55px;
}

.taxonomy-create {
    margin-bottom: 15px;
}

.taxonomy-create summary {
    padding: 18px 20px;
    color: var(--accent-dark);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}

.taxonomy-create[open] summary {
    border-bottom: 1px solid var(--border);
}

.taxonomy-list {
    display: grid;
    gap: 11px;
}

.taxonomy-item {
    border-left: 4px solid var(--card-color);
}

.taxonomy-item summary {
    padding: 15px 19px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    cursor: pointer;
}

.taxonomy-item[open] summary {
    border-bottom: 1px solid var(--border);
}

.taxonomy-form {
    padding: 18px;
    display: grid;
    align-items: end;
    gap: 12px;
}

.product-area-form {
    grid-template-columns: 1fr 2fr minmax(110px, .7fr) minmax(100px, .5fr);
}

.area-icon-field {
    grid-column: 1 / -1;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.area-icon-field-label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.area-icon-selection {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.area-icon-name {
    flex: 1;
    min-width: 100px;
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.area-icon-picker {
    width: min(900px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    padding: 24px;
    color: var(--ink);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 80px rgba(17, 20, 36, .25);
}

.area-icon-picker[open] {
    display: flex;
    flex-direction: column;
}

.area-icon-picker::backdrop {
    background: rgba(17, 20, 36, .55);
}

.area-icon-picker-header,
.area-icon-picker-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
}

.area-icon-picker-header h2 {
    margin: 3px 0 0;
    font-size: 26px;
}

.area-icon-picker-close {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    color: var(--muted);
    background: #f2f5f8;
    border: 0;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
}

.area-icon-picker > p {
    margin: 12px 0;
    color: var(--muted);
    font-size: 13px;
}

.area-icon-picker-filters {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 14px;
}

.area-icon-picker-filters .form-field {
    flex: 1;
    min-width: 200px;
}

.area-icon-picker-filters .check-field {
    min-height: 46px;
    font-size: 13px;
}

.area-icon-picker-results {
    min-height: 100px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 3px;
}

.area-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.area-icon-choice {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    height: 100%;
    min-height: 112px;
    padding: 14px 10px;
    color: #344054;
    background: #fff;
    border: 1px solid #d7dfe7;
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
}

.area-icon-choice:hover,
.area-icon-choice[aria-pressed="true"] {
    border-color: var(--accent-dark);
    background: var(--accent-pale);
}

.area-icon-choice[aria-pressed="true"] {
    box-shadow: inset 0 0 0 1px var(--accent-dark);
}

.area-icon-choice .product-area-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: #087b9f;
}

.area-icon-choice strong {
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.area-icon-choice small {
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.area-icon-usage { color: #7a4b12; }
.area-icon-selected { color: #087b9f; font-weight: 700; }

.area-icon-picker button:focus-visible,
.area-icon-selection button:focus-visible {
    outline: 3px solid #087b9f;
    outline-offset: 2px;
}

#area-icon-more { margin-top: 14px; width: 100%; }

.area-icon-picker-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.area-icon-picker-footer p { margin: 0; color: var(--muted); font-size: 12px; }
.area-icon-picker [hidden], .area-icon-selection [hidden] { display: none; }

@media (max-width: 600px) {
    .area-icon-picker { width: calc(100% - 16px); max-height: calc(100dvh - 16px); padding: 16px; }
    .area-icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .area-icon-picker-header h2 { font-size: 23px; }
    .area-icon-picker-filters { gap: 6px; }
}

.taxonomy-delete {
    padding: 0 18px 18px;
}

.taxonomy-delete .button:disabled {
    color: var(--muted);
    background: #eef2f6;
    border-color: var(--border);
    cursor: not-allowed;
}

.product-area-form .check-field {
    grid-column: 1 / 3;
}

.tag-create-form {
    margin-bottom: 14px;
    grid-template-columns: minmax(220px, 1fr) auto;
}

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

.tag-edit-form {
    grid-template-columns: minmax(120px, 1fr) auto auto;
}

.tag-edit-form small {
    grid-column: 1;
    color: var(--soft);
    font-size: 10px;
}

/* Roadmap */
.roadmap-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(310px, .8fr);
    align-items: start;
    gap: 20px;
}

.roadmap-page-grid .card-heading {
    margin-bottom: 13px;
}

.roadmap-page-grid .card-heading h2 {
    margin: 4px 0 0;
    font-size: 24px;
}

.signal-list,
.latest-list {
    display: grid;
    gap: 12px;
}

.signal-card-link,
.updates-highlight {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.signal-card-link {
    padding: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 18px;
    color: inherit;
    text-decoration: none;
    border-left: 6px solid var(--accent);
}

.signal-card-link:hover {
    background: #effaff;
    border-color: rgba(14, 170, 222, .42);
}

.signal-under-review,
.signal-in-development {
    border-left-color: #f4bf24;
}

.signal-in-discovery {
    border-left-color: #3d6fb6;
}

.signal-accepted {
    border-left-color: #d84e8b;
}

.signal-completed {
    border-left-color: #1aa6a6;
}

.signal-card-link strong {
    display: block;
    font-size: 17px;
}

.signal-card-link p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.signal-meta {
    min-width: 70px;
    min-height: 64px;
    display: grid;
    align-content: center;
    justify-items: center;
    color: #fff;
    background: var(--ink);
    border-radius: var(--radius-sm);
}

.signal-meta b {
    font-size: 23px;
    line-height: 1;
}

.signal-meta span {
    font-size: 10px;
    font-weight: 800;
}

.updates-highlight {
    padding: 22px;
}

.activity-item {
    padding: 14px 0;
    display: grid;
    gap: 3px;
    color: inherit;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
}

.activity-item:last-child {
    border-bottom: 0;
}

.activity-item strong {
    font-size: 13px;
}

.activity-item span,
.activity-item time {
    color: var(--muted);
    font-size: 11px;
}

@media (max-width: 980px) {
    .idea-card-grid {
        grid-template-columns: 1fr;
    }

    .jira-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .idea-filter-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-actions {
        grid-column: auto;
    }

    .idea-detail-grid,
    .admin-detail-grid,
    .roadmap-page-grid {
        grid-template-columns: 1fr;
    }

    .product-area-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-area-form .check-field {
        grid-column: auto;
    }
}

@media (max-width: 680px) {
    .split-heading,
    .idea-detail-title,
    .idea-heading-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .community-page-heading .page-width,
    .idea-detail-heading .page-width {
        padding-top: 34px;
        padding-bottom: 37px;
    }

    .idea-filter-panel,
    .product-area-form,
    .tag-admin-grid,
    .tag-create-form,
    .tag-edit-form {
        grid-template-columns: 1fr;
    }

    .jira-metric-grid {
        grid-template-columns: 1fr;
    }

    .filter-actions {
        justify-content: stretch;
    }

    .idea-list-row {
        padding: 16px;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
        gap: 13px;
    }

    .idea-list-row .row-arrow {
        display: none;
    }

    .idea-card {
        min-height: 0;
    }

    .idea-heading-actions {
        width: 100%;
    }

    .idea-detail-content .detail-card {
        padding: 20px;
    }

    .idea-admin-row {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .idea-admin-row .status-badge {
        display: none;
    }

    .moderation-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .moderation-comment {
        grid-template-columns: 1fr auto;
    }

    .moderation-comment .status-badge {
        grid-column: 2;
        grid-row: 1;
    }

    .taxonomy-item summary {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .taxonomy-item summary .status-badge {
        display: none;
    }

    .signal-card-link {
        grid-template-columns: 1fr;
    }

    .signal-card-link .signal-meta {
        width: 100%;
        min-height: 54px;
    }
}

/* Notification administration and personal preferences */
.login-as-banner { background: #fff3d4; color: #614800; border-bottom: 1px solid #e7ce8d; }
.login-as-banner .page-width { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding-block: .8rem; }
.login-as-banner p { margin: 0; }
.login-as-banner p span { display: block; font-size: .85rem; margin-top: .2rem; }
.table-action .text-link-button:disabled { color: var(--muted); opacity: .65; cursor: not-allowed; text-decoration: none; }
.support-badge { background: #fff3d4; color: #785300; }
.notification-filter, .notification-actions { display: flex; align-items: end; flex-wrap: wrap; gap: 1rem; }
.notification-filter { margin-bottom: 1rem; }
.notification-editor { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 1.3fr); gap: 1.5rem; align-items: start; }
.notification-editor .form-field { margin-bottom: 1.25rem; }
.notification-editor input[type=text], .notification-editor textarea, .notification-filter select { width: 100%; border: 1px solid #ccd4df; border-radius: .5rem; padding: .75rem; font: inherit; background: white; color: #111424; }
.notification-filter select { width: auto; }
.notification-editor label { display: block; margin-bottom: .5rem; font-weight: 600; }
.notification-preview { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; line-height: 1.65; }
.email-preview-panel { min-width: 0; padding: 1.5rem; border: 1px solid var(--border); border-radius: .75rem; background: var(--panel); }
.email-preview-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.email-preview-heading h2 { margin: .25rem 0; }
.email-preview-modes { display: flex; gap: .35rem; }
.email-preview-modes [aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: white; }
.email-preview-subject { overflow-wrap: anywhere; }
.email-preview-stage { padding: 12px; background: #e9eef4; border: 1px solid var(--border); border-radius: .65rem; }
.email-preview-frame { display: block; width: 100%; max-width: 680px; height: 880px; margin: 0 auto; border: 0; background: #f1f5f9; border-radius: .35rem; }
.email-preview-panel[data-mode=mobile] .email-preview-frame { width: 375px; max-width: 100%; }
.email-preview-text { margin-top: 1rem; }
.email-preview-text summary { cursor: pointer; font-weight: 600; }
.account-email-preview { max-width: 920px; }
@media (max-width: 600px) { .email-preview-panel { padding: 1rem; } .email-preview-stage { padding: 4px; } }
.notification-editor h3 { overflow-wrap: anywhere; }
.notification-preferences { max-width: 48rem; margin: 2rem auto; }
.notification-preferences .validation-summary-valid { display: none; }
.notification-preferences fieldset { display: grid; gap: 1rem; margin: 1.5rem 0; padding: 1.5rem; border: 1px solid #dfe4eb; border-radius: .75rem; }
.notification-preferences legend { padding: 0 .5rem; font-weight: 700; }
.notification-preferences .checkbox-label, .notification-table .checkbox-label { display: flex; align-items: start; gap: .65rem; }
.notification-table small { display: block; margin-top: .4rem; }
.notification-table td { max-width: 24rem; overflow-wrap: anywhere; vertical-align: top; }
.notification-table details { min-width: 10rem; }
.notification-table form { margin-top: .75rem; }
.notification-actions { margin-top: 1.5rem; }
.notification-editor .validation-summary ul { color: #a82727; }
@media (max-width: 800px) { .notification-editor { grid-template-columns: minmax(0, 1fr); } }

.account-email-card { margin-block: 1rem; }
.account-email-guidance { margin-top: 1rem; }
.account-email-heading { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.account-email-heading h2 { font-size: 1.2rem; margin-top: 0; }
.account-email-heading p { overflow-wrap: anywhere; }
.account-email-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.account-email-facts dt { font-size: .85rem; }
.account-email-facts dd { margin: .3rem 0 0; font-weight: 700; }
.account-email-card .form-actions form { margin: 0; }
.settings-tabs { display: flex; gap: 1.5rem; border-bottom: 1px solid var(--border); padding-top: 1rem; }
.settings-tabs a { padding: .75rem .25rem; color: var(--muted); font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent; }
.settings-tabs a[aria-current="page"] { color: var(--ink); border-color: var(--accent); }
.settings-tabs a:focus-visible, .settings-advanced summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.settings-content { padding-top: 2rem; }
.settings-content .admin-form-card { margin-bottom: 1.5rem; }
.settings-content h2 { margin-top: 0; }
.settings-content .validation-summary-valid { display: none; }
.settings-notes .form-help { margin-top: .5rem; }
.settings-advanced { margin-top: 1.5rem; }
.settings-advanced summary { cursor: pointer; font-weight: 700; padding-block: .5rem; }
.settings-advanced .form-grid { margin-top: 1rem; }
.settings-notes .form-stack { margin-top: 1.5rem; }

/* Engagement overview */
.engagement-dashboard { padding-top: 2.25rem; display: grid; gap: 1.4rem; }
.engagement-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.engagement-heading h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.06rem; line-height: 1.2; margin: .35rem 0 .6rem; }
.engagement-heading p { color: var(--muted); margin: 0; }
.engagement-timezone { white-space: nowrap; }
.engagement-dashboard .eyebrow, .engagement-dashboard .text-link { color: var(--engagement-link); }
.engagement-dashboard .button-primary { background: var(--accent); color: var(--ink); }
.engagement-dashboard .button-primary:hover { background: var(--accent-pale); color: var(--ink); }
.engagement-filters, .engagement-custom-dates { display: flex; gap: .75rem; align-items: end; flex-wrap: wrap; }
.engagement-custom-dates[hidden] { display: none; }
.engagement-filters .form-field { display: grid; gap: .35rem; margin: 0; }
.engagement-filters label { font-size: .85rem; font-weight: 700; }
.engagement-filters select, .engagement-filters input { min-height: 44px; padding: .6rem .75rem; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--ink); max-width: 100%; }
.engagement-filters .button { min-height: 44px; }
.engagement-dashboard .validation-summary-valid { display: none; }
.engagement-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.engagement-metric { min-width: 0; padding: 1.3rem; gap: .45rem; align-content: start; }
.engagement-metric-label { color: var(--muted); font-size: .9rem; font-weight: 600; }
.engagement-metric strong { font-size: 2.6rem; font-variant-numeric: tabular-nums; line-height: 1.15; }
.engagement-metric small { font-size: .8rem; }
.engagement-change { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.engagement-change-up { color: var(--engagement-up); }
.engagement-change-down { color: var(--warning-ink); }
.engagement-comparison { margin: -.4rem 0 0; color: var(--muted); font-size: .8rem; }
.engagement-history-note { margin: 0; padding: .8rem 1rem; background: var(--accent-pale); border-radius: var(--radius-sm); color: var(--ink); font-size: .85rem; }
.engagement-chart-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.engagement-rankings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.engagement-panel { min-width: 0; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.engagement-panel h2 { font-size: 1.15rem; line-height: 1.4; margin: 0; }
.engagement-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.engagement-panel-heading .text-link { font-size: .85rem; }
.engagement-caption { margin: .3rem 0 0; color: var(--muted); font-size: .85rem; }
.engagement-legend { display: flex; flex-wrap: wrap; gap: .6rem 1rem; margin: 1rem 0 .4rem; color: var(--muted); font-size: .8rem; }
.engagement-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.engagement-swatch { display: inline-block; width: .6rem; height: .6rem; border-radius: 2px; }
.engagement-ideas { background: var(--accent); fill: var(--accent); }
.engagement-votes { background: var(--engagement-votes); fill: var(--engagement-votes); }
.engagement-comments { background: var(--engagement-comments); fill: var(--engagement-comments); }
.engagement-chart svg { width: 100%; height: 235px; stroke: none; overflow: visible; }
.engagement-chart svg text { fill: var(--muted); stroke: none; font-size: 12px; font-family: inherit; }
.engagement-chart-gridline { stroke: var(--border); stroke-width: 1; }
.engagement-chart-selection { fill: var(--accent-pale); }
.engagement-chart-bar { stroke: none; }
.engagement-chart-inspector { display: block; }
.engagement-chart-inspector input { width: 100%; accent-color: var(--accent-dark); margin: .4rem 0; min-height: 28px; cursor: pointer; }
.engagement-chart-detail { min-height: 2.5rem; font-size: .8rem; color: var(--muted); margin: .3rem 0 .5rem; font-variant-numeric: tabular-nums; }
.engagement-data summary, .engagement-definitions summary { cursor: pointer; padding: .5rem 0; font-size: .85rem; font-weight: 600; }
.engagement-table-scroll { overflow-x: auto; margin-top: .5rem; }
.engagement-data table { width: 100%; border-collapse: collapse; }
.engagement-data th, .engagement-data td { padding: .6rem .4rem; font-size: .8rem; border-bottom: 1px solid var(--border); text-align: right; font-variant-numeric: tabular-nums; }
.engagement-data th:first-child { text-align: left; font-weight: 500; white-space: normal; }
.engagement-trending { list-style: none; padding: 0; margin: 1rem 0 0; counter-reset: engagement-rank; }
.engagement-trending li { display: flex; align-items: start; gap: .9rem; padding: 1rem 0; border-top: 1px solid var(--border); counter-increment: engagement-rank; }
.engagement-trending li::before { content: counter(engagement-rank); min-width: 1rem; color: var(--muted); font-size: .85rem; padding-top: .2rem; }
.engagement-idea-title { font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.engagement-idea-title:hover, .engagement-attraction-label a:hover { text-decoration: underline; }
.engagement-trending p, .engagement-attractions p { font-size: .8rem; color: var(--muted); margin: .35rem 0 0; }
.engagement-trending p strong { font-weight: 600; }
.engagement-attractions { display: grid; gap: 1.4rem; list-style: none; padding: 0; margin: 1.5rem 0 .5rem; }
.engagement-attraction-label { display: flex; align-items: start; justify-content: space-between; gap: .75rem; font-size: .9rem; margin-bottom: .55rem; }
.engagement-attraction-label a { text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.engagement-attraction-label strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.engagement-bar-track { height: 8px; border-radius: 4px; background: var(--accent-pale); overflow: hidden; }
.engagement-bar { height: 100%; background: var(--accent); border-radius: 4px; }
.engagement-empty { padding: 1rem 0; margin: .5rem 0; color: var(--muted); font-size: .9rem; }
.engagement-definitions { color: var(--muted); }
.engagement-definitions p { font-size: .85rem; max-width: 90ch; }
.engagement-dashboard :is(a, summary, input, select, button):focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 3px; }
@media (max-width: 1250px) { .engagement-chart-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } .engagement-metrics { gap: .75rem; } .engagement-metric { padding: 1rem; } }
@media (max-width: 850px) { .engagement-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .engagement-chart-grid, .engagement-rankings { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .engagement-metrics { grid-template-columns: minmax(0, 1fr); } .engagement-panel { padding: 1rem; } .engagement-filters, .engagement-custom-dates { width: 100%; } .engagement-custom-dates .form-field { min-width: 0; flex: 1 1 100%; } .engagement-filters input { width: 100%; } }
@media (pointer: coarse) { .engagement-data summary, .engagement-definitions summary, .engagement-chart-inspector input { min-height: 44px; } }
