:root {
    --nb-page: #1e262c;
    --nb-app: #1e262c;
    --nb-app-dark: #222a30;
    --nb-panel: #262e34;
    --nb-panel-soft: #2e363c;
    --nb-panel-raised: #303840;
    --nb-border: rgba(255, 255, 255, 0.055);
    --nb-border-strong: rgba(255, 255, 255, 0.12);
    --nb-comment-connector: #46525a;
    --nb-text: #f8ffff;
    --nb-muted: #c0c8d0;
    --nb-dim: #9fa6a8;
    --nb-accent: #10b068;
    --nb-accent-dark: #0b8f55;
    --nb-green: #10b068;
    --nb-green-dark: #0b8f55;
    --nb-blue: #205870;
    --nb-blue-dark: #184858;
    --nb-red: #d02020;
    --nb-red-dark: #8d2424;
    --nb-shell-max: 1720px;
    --nb-sidebar-width: 370px;
    --nb-content-max: 1742px;
    --nb-aside-width: 320px;
    --nb-layout-gap: 2.5rem;
    --rz-primary: var(--nb-accent);
    --rz-primary-dark: var(--nb-accent-dark);
    --rz-on-primary: #111827;
    --rz-text-color: var(--nb-text);
    --rz-text-secondary-color: var(--nb-muted);
    --rz-base-background-color: var(--nb-panel);
    --rz-border-radius: 14px;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    background: var(--nb-page);
    color: var(--nb-text);
}

a {
    color: var(--nb-accent);
}

a:hover {
    color: #28c77d;
}

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

.app-shell {
    display: grid;
    grid-template-columns:
        minmax(2rem, 1fr)
        var(--nb-sidebar-width)
        minmax(0, var(--nb-content-max))
        minmax(2rem, 1fr);
    grid-template-rows: 96px minmax(0, 1fr);
    column-gap: var(--nb-layout-gap);
    min-height: 100dvh;
    width: 100%;
    margin: 0;
    overflow-x: hidden;
    background: var(--nb-app);
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.site-topbar,
.site-sidebar,
.site-main,
.suggestions-main,
.suggestions-aside {
    min-width: 0;
}

.site-topbar {
    grid-column: 1 / -1;
    min-width: 0;
    background: var(--nb-app-dark);
    border-bottom: 1px solid var(--nb-border);
}

.site-topbar__inner {
    display: grid;
    grid-template-columns:
        minmax(2rem, 1fr)
        var(--nb-sidebar-width)
        minmax(0, calc(var(--nb-content-max) - var(--nb-aside-width) - var(--nb-layout-gap)))
        var(--nb-aside-width)
        minmax(2rem, 1fr);
    align-items: center;
    column-gap: var(--nb-layout-gap);
    min-width: 0;
    height: 100%;
}

.site-brand {
    grid-column: 2;
    display: grid;
    gap: 0.15rem;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

.site-brand:hover {
    color: #ffffff;
}

.site-brand strong {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.05;
}

.site-brand small {
    color: var(--nb-dim);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.1;
}

.top-search {
    grid-column: 3;
    position: relative;
    width: min(100%, 560px);
    min-width: 0;
    justify-self: center;
}

.top-search input {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 9px;
    background: var(--nb-panel-soft);
    color: #ffffff;
    font: inherit;
    padding: 0 3.25rem 0 1.4rem;
}

.top-search input::placeholder {
    color: rgba(255, 255, 255, 0.78);
}

.top-search input:focus {
    outline: 2px solid rgba(255, 255, 255, 0.16);
}

.top-search .rz-icon,
.top-search .rzi {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    color: #ffffff;
    font-size: 1.35rem;
    transform: translateY(-50%);
}

.top-actions {
    grid-column: 4;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
    color: #ffffff;
    min-width: 0;
    justify-self: end;
    white-space: nowrap;
}

.notification-button {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
}

.notification-button .rz-icon {
    font-size: 1.9rem;
    font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
}

.notifications-menu {
    position: relative;
}

.notification-badge {
    position: absolute;
    right: -0.2rem;
    top: -0.2rem;
    display: inline-grid;
    place-items: center;
    min-width: 1.1rem;
    height: 1.1rem;
    border: 2px solid var(--nb-app-dark);
    border-radius: 999px;
    background: #e15d5d;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 900;
    line-height: 1;
    padding: 0 0.22rem;
}

.notifications-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 0.8rem);
    z-index: 35;
    width: min(30rem, calc(100vw - 2rem));
    border: 1px solid var(--nb-border-strong);
    border-radius: 10px;
    background: var(--nb-panel);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.notifications-dropdown__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3rem;
    border-bottom: 1px solid var(--nb-border);
    padding: 0 0.9rem;
}

.notifications-dropdown__header strong {
    font-size: 0.95rem;
    font-weight: 850;
}

.notifications-dropdown__header button {
    border: 0;
    background: transparent;
    color: var(--nb-accent);
    cursor: pointer;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 850;
    padding: 0;
}

.notifications-list {
    display: grid;
    max-height: 24rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.notifications-item {
    display: grid;
    grid-template-columns: 2.15rem minmax(0, 1fr);
    gap: 0.7rem;
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--nb-border);
    background: transparent;
    color: var(--nb-text);
    cursor: pointer;
    font: inherit;
    min-width: 0;
    padding: 0.85rem 0.9rem;
    text-align: left;
}

.notifications-item:hover,
.notifications-item--unread {
    background: rgba(255, 255, 255, 0.045);
}

.notifications-item__icon {
    display: inline-grid;
    place-items: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 8px;
    background: var(--nb-panel-raised);
    color: var(--nb-muted);
}

.notifications-item--unread .notifications-item__icon {
    background: color-mix(in srgb, var(--nb-accent) 20%, var(--nb-panel-raised));
    color: var(--nb-accent);
}

.notifications-item__copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.notifications-item__copy strong {
    color: var(--nb-text);
    font-size: 0.88rem;
    font-weight: 850;
    line-height: 1.15;
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
}

.notifications-item__copy span,
.notifications-item__copy time {
    color: var(--nb-muted);
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.25;
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
}

.notifications-empty {
    color: var(--nb-muted);
    font-size: 0.9rem;
    font-weight: 650;
    margin: 0;
    padding: 1rem;
}

.account-menu-wrap {
    position: relative;
}

.account-menu-wrap--open .account-menu .rz-icon,
.account-menu-wrap--open .account-menu .rzi {
    transform: rotate(180deg);
}

.account-menu {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 0;
}

.account-menu img,
.account-avatar-fallback {
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
}

.account-menu img {
    display: block;
    object-fit: cover;
}

.account-avatar-fallback {
    display: inline-grid;
    place-items: center;
    background: var(--nb-accent);
    color: #111827;
    font-weight: 900;
}

.account-menu > span:not(.account-avatar-fallback) {
    max-width: 13rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-menu .rz-icon {
    color: #ffffff;
    font-size: 1.15rem;
}

.account-menu .rz-icon,
.account-menu .rzi {
    transition: transform 0.15s ease;
}

.account-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 0.65rem);
    z-index: 30;
    min-width: 11rem;
    padding: 0.4rem;
    border: 1px solid var(--nb-border-strong);
    border-radius: 10px;
    background: var(--nb-panel);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.account-dropdown[hidden] {
    display: none;
}

.account-dropdown__item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    min-height: 2.35rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--nb-text);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 0 0.65rem;
    text-align: left;
    text-decoration: none;
}

.account-dropdown__item:hover {
    background: rgba(255, 255, 255, 0.055);
    color: var(--nb-text);
}

.account-dropdown .rz-icon,
.account-dropdown .rzi {
    color: var(--nb-muted);
    font-size: 1.1rem;
}

.login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.72rem;
    min-height: 2.9rem;
    border: 0;
    border-radius: 9px;
    background: #5865f2;
    color: #ffffff;
    cursor: pointer;
    font-weight: 800;
    line-height: 1;
    padding: 0 1.05rem;
    text-decoration: none;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.login-button:hover {
    background: #4752c4;
    color: #ffffff;
}

.discord-login-button svg {
    flex: 0 0 auto;
    width: 1.42rem;
    height: 1.42rem;
    fill: currentColor;
}

.discord-login-button span {
    white-space: nowrap;
}

.site-sidebar {
    display: grid;
    align-content: start;
    align-self: start;
    gap: 1rem;
    grid-column: 2;
    padding: 2.75rem 0;
    background: var(--nb-app);
}

.sidebar-panel {
    min-height: 0;
    background: var(--nb-panel);
    border: 1px solid var(--nb-border);
    border-radius: 18px;
    overflow: hidden;
}

.sidebar-heading {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 0 2.25rem;
    color: var(--nb-dim);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
}

.site-nav {
    display: grid;
}

.site-nav a,
.site-nav__item {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 54px;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    gap: 0.85rem;
    padding: 0 2.25rem;
    text-decoration: none;
}

.site-nav__item--disabled {
    color: rgba(255, 255, 255, 0.28);
    cursor: not-allowed;
    opacity: 0.72;
    user-select: none;
}

.site-nav .rz-icon {
    color: var(--nb-muted);
    font-size: 1.25rem;
    font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
}

.site-nav__item--disabled .rz-icon,
.site-nav__item--disabled .rzi {
    color: rgba(192, 200, 208, 0.28);
}

.site-nav a.active .rz-icon,
.site-nav a:hover .rz-icon {
    color: #ffffff;
}

.site-nav a.active {
    font-weight: 700;
}

.site-nav a.active .rz-icon {
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.site-nav a:hover,
.site-nav a.active {
    background: rgba(255, 255, 255, 0.045);
}

.site-nav a.active::after {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 9px;
    background: var(--nb-accent);
    content: "";
}

.social-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    padding: 0 1rem 1rem;
}

.social-link {
    display: grid;
    grid-template-columns: 1.85rem minmax(0, 1fr);
    align-items: center;
    gap: 0.55rem;
    min-height: 2.8rem;
    border: 1px solid var(--nb-border);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--nb-text);
    font-size: 0.86rem;
    font-weight: 800;
    padding: 0 0.65rem;
    text-decoration: none;
}

.social-link:hover {
    border-color: var(--social-color);
    background: color-mix(in srgb, var(--social-color) 16%, transparent);
    color: #ffffff;
}

.social-link__icon {
    display: inline-grid;
    place-items: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 8px;
    background: var(--social-color);
    color: #ffffff;
}

.social-link__icon svg {
    display: block;
    width: 1.1rem;
    height: 1.1rem;
    fill: currentColor;
}

.social-link span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.social-link--discord {
    --social-color: #5865f2;
}

.social-link--youtube {
    --social-color: #ff0033;
}

.social-link--instagram {
    --social-color: #e4405f;
}

.social-link--tiktok {
    --social-color: #25f4ee;
}

.site-main {
    grid-column: 3;
    min-width: 0;
    width: 100%;
    padding: 2.75rem 0 4rem;
}

.page-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.page-header__main {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    min-width: 0;
}

.page-header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.8rem;
    height: 2.8rem;
    color: rgba(255, 255, 255, 0.72);
}

.page-header__icon .rz-icon {
    display: block;
    font-size: 2.15rem;
    font-variation-settings: "FILL" 0, "wght" 350, "GRAD" 0, "opsz" 24;
    line-height: 1;
}

.page-header__copy {
    min-width: 0;
    width: 100%;
}

.page-header__title-row {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(14rem, 1fr);
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.page-header h1 {
    color: var(--nb-text);
    font-size: clamp(1.85rem, 2.4vw, 2.45rem);
    font-weight: 850;
    line-height: 1.05;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.page-header__eyebrow {
    display: block;
    color: var(--nb-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.page-header p {
    color: var(--nb-muted);
    font-size: 0.98rem;
    line-height: 1.45;
    justify-self: end;
    margin-bottom: 0;
    max-width: 34rem;
    text-align: right;
}

.page-header__actions,
.form-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.page-header__actions {
    justify-content: flex-end;
    min-width: 0;
}

.suggestions-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--nb-aside-width);
    gap: var(--nb-layout-gap);
    align-items: start;
}

.suggestions-main {
    min-width: 0;
}

.suggestion-composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.suggestion-composer a {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: var(--nb-text);
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.suggestion-card,
.suggestion-composer,
.side-card,
.suggestion-section,
.suggestion-form {
    background: var(--nb-panel);
    border: 1px solid var(--nb-border);
    max-width: 100%;
    min-width: 0;
    box-shadow: none;
}

.board-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
    gap: 1.25rem;
    align-items: end;
    margin-bottom: 0.75rem;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.status-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    min-width: 0;
}

.status-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.15rem;
    border: 1px solid var(--nb-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--nb-muted);
    cursor: pointer;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 750;
    padding: 0 0.4rem 0 0.7rem;
    transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.status-tab strong {
    display: inline-grid;
    place-items: center;
    min-width: 1.55rem;
    height: 1.35rem;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.055);
    color: var(--nb-text);
    font-size: 0.74rem;
    font-weight: 850;
    line-height: 1;
    padding: 0 0.35rem;
}

.status-tab:hover {
    border-color: var(--nb-border-strong);
    background: rgba(255, 255, 255, 0.045);
    color: #ffffff;
}

.status-tab--active {
    border-color: rgba(16, 176, 104, 0.55);
    background: rgba(16, 176, 104, 0.13);
    color: #ffffff;
}

.status-tab--active strong {
    background: var(--nb-accent);
    color: #07120d;
}

.board-toolbar__controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 0.85rem;
    min-width: 0;
}

.board-toolbar__controls label {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
    color: var(--nb-muted);
    font-size: 0.78rem;
    font-weight: 750;
}

.board-toolbar__controls label > span {
    color: var(--nb-dim);
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1;
    text-transform: uppercase;
}

.moderation-grid label,
.suggestion-form label,
.comment-form label {
    display: grid;
    gap: 0.45rem;
    color: var(--nb-muted);
    font-size: 0.875rem;
    font-weight: 700;
}

.suggestions-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--nb-muted);
    margin: 0 0 1rem;
    font-size: 0.925rem;
}

.suggestion-feed {
    display: grid;
    gap: 1.5rem;
}

.suggestion-card {
    border-color: rgba(255, 255, 255, 0.08);
    transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.suggestion-card:hover {
    background: var(--nb-panel-soft);
    border-color: var(--nb-border-strong);
    transform: translateY(-1px);
}

.suggestion-card-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 1.25rem;
    align-items: center;
    color: inherit;
    padding: 0.55rem 0.75rem;
    text-decoration: none;
}

.suggestion-card-link:hover {
    color: inherit;
}

.suggestion-card-main {
    display: grid;
    gap: 0.72rem;
    min-width: 0;
}

.suggestion-title {
    color: var(--nb-text);
    font-size: 1.15rem;
    font-weight: 800;
}

.suggestion-card-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    min-width: 0;
}

.suggestion-flag {
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.18rem 0.55rem;
    text-transform: uppercase;
}

.suggestion-flag--accent {
    background: rgba(226, 152, 57, 0.15);
    color: #f0b662;
}

.suggestion-flag--danger {
    background: rgba(208, 32, 32, 0.16);
    color: #e58f8f;
}

.suggestion-lock {
    display: inline-grid;
    place-items: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    background: rgba(208, 32, 32, 0.16);
    color: #e58f8f;
}

.suggestion-lock .rz-icon {
    font-size: 1rem;
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 20;
}

.suggestion-meta-line {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    color: var(--nb-muted);
}

.suggestion-author-avatar {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

img.suggestion-author-avatar {
    display: block;
    object-fit: cover;
}

.suggestion-author-avatar--fallback {
    display: inline-grid;
    place-items: center;
    background: var(--nb-panel-raised);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1;
}

.suggestion-author-copy {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
    min-width: 0;
}

.suggestion-author-copy > span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

.suggestion-author-copy small {
    color: var(--nb-dim);
    font-size: 0.76rem;
    font-weight: 750;
    line-height: 1;
}

.suggestion-author-copy strong {
    color: var(--nb-text);
    font-size: 0.88rem;
    font-weight: 850;
    line-height: 1;
}

.suggestion-author-copy time {
    color: var(--nb-muted);
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1;
}

.suggestion-author-copy .rz-icon {
    color: var(--nb-dim);
    font-size: 1rem;
    font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
}

.suggestion-card-fields {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    min-width: 0;
}

.suggestion-card-fields > span {
    display: grid;
    gap: 0.22rem;
    border: 1px solid var(--nb-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
    min-width: 8rem;
    padding: 0.4rem 0.6rem;
}

.suggestion-card-fields small {
    color: var(--nb-dim);
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.suggestion-card-fields strong {
    color: var(--nb-text);
    font-size: 0.95rem;
    line-height: 1.2;
}

.field-value--accent {
    color: #f0b662 !important;
}

.field-value--blue {
    color: #89c4d4 !important;
}

.field-value--success {
    color: #7bd28d !important;
}

.field-value--danger {
    color: #e58f8f !important;
}

.suggestion-card-metrics {
    display: grid;
    grid-template-columns: repeat(3, 2.6rem);
    align-items: center;
    gap: 0.65rem;
    border-left: 1px solid var(--nb-border-strong);
    min-height: 3.4rem;
    padding-left: 1.25rem;
}

.suggestion-card-metrics > span {
    display: grid;
    grid-template-columns: 1.15rem 1fr;
    align-items: center;
    gap: calc(0.55rem + 4px);
    color: var(--nb-muted);
    line-height: 1;
}

.suggestion-card-metrics .rz-icon {
    color: var(--nb-muted);
    font-size: 1.15rem;
    font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
}

.suggestion-card-metrics strong {
    color: var(--nb-text);
    font-size: 1.05rem;
    line-height: 1;
    text-align: left;
}

.suggestion-card-metric--up,
.suggestion-card-metric--up .rz-icon,
.suggestion-card-metric--up .rzi,
.suggestion-card-metric--up strong {
    color: var(--nb-accent);
}

.suggestion-card-metric--down,
.suggestion-card-metric--down .rz-icon,
.suggestion-card-metric--down .rzi,
.suggestion-card-metric--down strong {
    color: #e15d5d;
}

.toolbar-link {
    color: var(--nb-accent);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.toolbar-link:hover {
    text-decoration: underline;
}

.ui-button.rz-button {
    border-radius: 10px;
    font-weight: 800;
    letter-spacing: 0;
    max-width: 100%;
    text-transform: none;
}

.ui-button--primary.rz-button.rz-primary {
    background: var(--nb-accent);
    border-color: var(--nb-accent);
    color: #ffffff;
}

.ui-button--primary.rz-button.rz-primary:hover {
    background: #16c978;
    border-color: #16c978;
    color: #ffffff;
}

.ui-button--secondary.rz-button {
    color: var(--nb-text);
}

.status-badge.rz-badge {
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.status-badge--neutral.rz-badge-light {
    background: var(--nb-panel-raised);
    color: var(--nb-text);
}

.comment-list small,
.empty-state,
.back-link {
    color: var(--nb-muted);
}

.badge-row,
.suggestion-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.suggestions-aside {
    display: grid;
    gap: 2rem;
}

.side-card h2 {
    color: #ffffff;
    font-size: 1.25rem;
    margin: 0 0 1.7rem;
}

.overview-card {
    padding: 1.45rem 1.35rem;
}

.stat-list {
    display: grid;
    gap: 1.15rem;
    margin: 0;
}

.stat-list__item {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.95rem;
    align-items: center;
}

.stat-copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.stat-icon {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.035);
    border-radius: 999px;
    background: var(--nb-panel-raised);
    color: #ffffff;
}

.stat-icon .rz-icon {
    font-size: 1.45rem;
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.stat-icon--blue {
    color: #a5d7e6;
}

.stat-icon--success {
    color: #99dda7;
}

.stat-icon--danger {
    color: #eda1a1;
}

.stat-label {
    color: var(--nb-muted);
    font-size: 0.96rem;
    font-weight: 550;
    line-height: 1.2;
}

.stat-value {
    color: var(--nb-text);
    font-size: 1.22rem;
    font-weight: 850;
    line-height: 1.1;
}

.process-list {
    display: grid;
    gap: 0.85rem;
    color: var(--nb-muted);
    margin: 0;
    padding-left: 1.25rem;
}

.process-list li::marker {
    color: var(--nb-accent);
    font-weight: 800;
}

.comment-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    font-weight: 750;
    text-decoration: none;
}

.back-link:hover {
    color: #ffffff;
}

.back-link .rz-icon {
    font-size: 1.05rem;
}

.suggestion-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18rem;
    gap: 1.15rem;
    align-items: start;
}

.suggestion-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
    background: var(--nb-panel);
    border: 1px solid var(--nb-border);
    box-shadow: none;
    margin-bottom: 1rem;
}

.suggestion-detail-hero__main {
    display: grid;
    gap: 0.9rem;
    min-width: 0;
}

.suggestion-detail-hero h1 {
    color: var(--nb-text);
    font-size: clamp(1.65rem, 2vw, 2.15rem);
    font-weight: 850;
    line-height: 1.12;
    margin: 0;
    overflow-wrap: anywhere;
}

.suggestion-detail-fields {
    justify-content: flex-end;
    align-self: start;
}

.suggestion-detail-fields > span {
    min-width: 8.5rem;
}

.suggestion-aside {
    display: grid;
    gap: 1rem;
}

.suggestion-section,
.suggestion-form {
    padding: 1rem;
}

.suggestion-section {
    margin-top: 1rem;
}

.suggestion-section h2 {
    color: var(--nb-text);
    font-size: 1.1rem;
    margin: 0;
}

.suggestion-body {
    display: grid;
    gap: 0.85rem;
}

.suggestion-body__content {
    display: grid;
    gap: 0.85rem;
    min-width: 0;
}

.suggestion-body p {
    color: var(--nb-text);
    line-height: 1.55;
    margin: 0;
}

.suggestion-summary-card .stat-list {
    gap: 1rem;
}

.suggestion-summary-card .stat-icon {
    width: 2.75rem;
    height: 2.75rem;
}

.suggestion-summary-card .stat-value {
    font-size: 1.08rem;
}

.suggestion-stance-card {
    padding: 1rem;
}

.suggestion-stance-card h2 {
    margin-bottom: 0.85rem;
}

.suggestion-stance-actions {
    display: grid;
    gap: 0.65rem;
}

.suggestion-stance-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.65rem;
    width: 100%;
    border: 1px solid var(--nb-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--nb-muted);
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 850;
    padding: 0 0.85rem;
    transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.suggestion-stance-button .rz-icon,
.suggestion-stance-button .rzi {
    font-size: 1.05rem;
    font-variation-settings: "FILL" 0, "wght" 450, "GRAD" 0, "opsz" 20;
}

.suggestion-stance-button--want:hover,
.suggestion-stance-button--want.suggestion-stance-button--active {
    border-color: rgba(16, 176, 104, 0.7);
    background: rgba(16, 176, 104, 0.14);
    color: #7ee0ae;
}

.suggestion-stance-button--oppose:hover,
.suggestion-stance-button--oppose.suggestion-stance-button--active {
    border-color: rgba(208, 32, 32, 0.72);
    background: rgba(208, 32, 32, 0.14);
    color: #f09a9a;
}

.suggestion-stance-button--active .rz-icon,
.suggestion-stance-button--active .rzi {
    font-variation-settings: "FILL" 1, "wght" 550, "GRAD" 0, "opsz" 20;
}

.suggestion-stance-button:disabled {
    cursor: default;
    opacity: 0.7;
}

.moderation-grid {
    display: grid;
    gap: 0.85rem;
}

.moderation-panel {
    border-color: rgba(255, 255, 255, 0.08);
}

.moderation-panel h2 {
    margin-bottom: 0.9rem;
}

.moderation-panel form {
    display: grid;
    gap: 1rem;
}

.moderation-toggle {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 0.55rem !important;
    color: var(--nb-text) !important;
    font-size: 0.92rem !important;
}

.moderation-toggle span {
    color: var(--nb-text);
    font-weight: 750;
}

.moderation-panel .form-actions {
    justify-content: stretch;
}

.moderation-panel .ui-button {
    width: 100%;
}

.comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--nb-border);
    padding-bottom: 0.9rem;
}

.comments-header > div {
    display: grid;
    gap: 0.2rem;
}

.comments-header span {
    color: var(--nb-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.comments-panel {
    display: grid;
    gap: 1.25rem;
    overflow: hidden;
}

.comment-sort {
    width: auto;
    min-width: 9.5rem;
    height: 2.25rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--nb-text);
    cursor: pointer;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 750;
    padding: 0 0.45rem;
}

.comment-sort:focus {
    outline: 0;
    border-color: var(--nb-border-strong);
}

.comment-composer,
.comment-reply-form {
    display: grid;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.045);
    border-radius: 10px;
    background: var(--nb-panel-soft);
    overflow: hidden;
    margin-bottom: 0;
}

.comment-composer__input {
    display: grid;
    min-width: 0;
}

.comment-composer .rz-textarea,
.comment-reply-form .rz-textarea {
    background: transparent;
    border: 1px solid transparent !important;
    border-radius: 0;
    color: var(--nb-text);
    min-height: 5.5rem;
    outline: 0 !important;
    box-shadow: none !important;
    resize: vertical;
}

.comment-mention-menu {
    display: grid;
    gap: 0.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
    background: rgba(18, 24, 27, 0.96);
    padding: 0.35rem;
}

.comment-mention-menu button {
    display: grid;
    grid-template-columns: 1.85rem minmax(0, 1fr);
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    color: var(--nb-text);
    cursor: pointer;
    font: inherit;
    padding: 0.4rem 0.45rem;
    text-align: left;
}

.comment-mention-menu button:hover,
.comment-mention-menu button:focus-visible {
    border-color: var(--nb-border-strong);
    background: rgba(255, 255, 255, 0.055);
    outline: 0;
}

.comment-mention-menu button > span:last-child {
    display: grid;
    gap: 0.08rem;
    min-width: 0;
}

.comment-mention-menu strong,
.comment-mention-menu small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comment-mention-menu strong {
    font-size: 0.9rem;
    font-weight: 850;
}

.comment-mention-menu small,
.comment-mention-menu__empty {
    color: var(--nb-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.comment-mention-menu__empty {
    padding: 0.45rem 0.5rem;
}

.comment-composer .rz-textarea:focus,
.comment-composer .rz-textarea.rz-state-focused,
.comment-reply-form .rz-textarea:focus,
.comment-reply-form .rz-textarea.rz-state-focused {
    border-color: transparent !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.comment-composer:focus-within,
.comment-reply-form:focus-within {
    border-color: rgba(255, 255, 255, 0.08);
}

.comment-composer__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.045);
    padding: 0.65rem 0.75rem;
}

.comment-submit-group {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-left: auto;
}

.comment-tools {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--nb-muted);
    font-weight: 850;
}

.comment-tools button {
    display: inline-grid;
    place-items: center;
    width: 1.8rem;
    height: 1.8rem;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    color: var(--nb-muted);
    cursor: pointer;
    font: inherit;
    font-size: 0.86rem;
    line-height: 1;
}

.comment-tools button:hover,
.comment-tools button:focus-visible {
    border-color: var(--nb-border-strong);
    background: rgba(255, 255, 255, 0.045);
    color: #ffffff;
    outline: 0;
}

.comment-tools .rz-icon,
.comment-tools .rzi {
    display: block;
    font-size: 1rem;
    line-height: 1;
    font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 20;
}

.comment-submit,
.comment-cancel {
    min-height: 2.25rem;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 850;
    padding: 0 1rem;
}

.comment-submit {
    background: var(--nb-accent);
    color: #ffffff;
}

.comment-submit:hover {
    background: #16c978;
}

.comment-submit:disabled {
    cursor: default;
    opacity: 0.65;
}

.comment-cancel {
    background: transparent;
    color: var(--nb-muted);
}

.comment-cancel:hover {
    color: #ffffff;
}

.comment-list {
    --comment-avatar-size: 1.85rem;
    --comment-thread-indent: 3.25rem;
    --comment-connector-width: 2px;
    --comment-connector-x: calc(var(--comment-avatar-size) / 2 - var(--comment-connector-width) / 2);
    display: grid;
    gap: 1.25rem;
}

.comment-item {
    position: relative;
    display: grid;
    gap: 0.85rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.comment-item__main,
.comment-item--reply {
    display: grid;
    gap: 0.55rem;
}

.comment-replies {
    display: grid;
    gap: 1rem;
    position: relative;
    border-left: 0;
    list-style: none;
    margin: 0;
    padding: 0.2rem 0 0 var(--comment-thread-indent);
}

.comment-item--thread-open::after {
    position: absolute;
    left: var(--comment-connector-x);
    top: 1.85rem;
    bottom: 2.25rem;
    width: var(--comment-connector-width);
    background: var(--nb-comment-connector);
    content: "";
    z-index: 0;
}

.comment-item--reply {
    position: relative;
}

.comment-item--reply::before {
    position: absolute;
    left: calc((var(--comment-thread-indent) - var(--comment-connector-x)) * -1);
    top: calc(var(--comment-avatar-size) / 2);
    width: calc(var(--comment-thread-indent) - var(--comment-connector-x) + var(--comment-avatar-size) / 2);
    height: 0.92rem;
    border-bottom: var(--comment-connector-width) solid var(--nb-comment-connector);
    border-left: var(--comment-connector-width) solid var(--nb-comment-connector);
    border-bottom-left-radius: 16px;
    content: "";
    z-index: 2;
    transform: translateY(-100%);
}

.comment-item--last-reply::after {
    position: absolute;
    left: calc((var(--comment-thread-indent) - var(--comment-connector-x)) * -1);
    top: calc(var(--comment-avatar-size) / 2 + var(--comment-connector-width) - 0.68rem);
    bottom: -4rem;
    width: calc(var(--comment-connector-width) + 6px);
    background: var(--nb-panel);
    content: "";
    z-index: 1;
}

.comment-item__main {
    position: relative;
    z-index: 3;
}

.comment-replies {
    position: relative;
    z-index: 1;
}

.comment-reply-form {
    margin-left: 2.45rem;
    margin-top: 0.2rem;
}

.comment-reply-form .rz-textarea {
    min-height: 4.75rem;
}

.comment-item--reply p,
.comment-item--reply .comment-actions {
    margin-left: 2.35rem;
}

.comment-list p {
    color: var(--nb-text);
    line-height: 1.5;
    margin-left: 2.45rem;
    margin-bottom: 0;
}

.comment-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
    color: var(--nb-muted);
}

.comment-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    color: var(--nb-muted);
    margin-left: 2.45rem;
}

.comment-actions button,
.comment-action {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 0;
    background: transparent;
    color: var(--nb-muted);
    cursor: pointer;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 750;
    padding: 0;
}

.comment-actions button.comment-action--like:hover,
.comment-actions button.comment-action--like:hover .rz-icon,
.comment-actions button.comment-action--like:hover .rzi,
.comment-actions button.comment-action--like:hover span,
.comment-actions button.comment-action--liked:hover {
    color: var(--nb-accent);
}

.comment-actions button.comment-action--dislike:hover,
.comment-actions button.comment-action--dislike:hover .rz-icon,
.comment-actions button.comment-action--dislike:hover .rzi,
.comment-actions button.comment-action--dislike:hover span,
.comment-actions button.comment-action--disliked:hover,
.comment-actions button.comment-action--disliked:hover .rz-icon,
.comment-actions button.comment-action--disliked:hover .rzi,
.comment-actions button.comment-action--disliked:hover span {
    color: #ee7777;
}

.comment-action--liked,
.comment-action--liked .rz-icon,
.comment-action--liked .rzi,
.comment-action--liked span {
    color: var(--nb-accent);
}

.comment-action--disliked,
.comment-action--disliked .rz-icon,
.comment-action--disliked .rzi,
.comment-action--disliked span {
    color: #e15d5d;
}

.comment-actions .rz-icon {
    font-size: 0.95rem;
    line-height: 1;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
}

.comment-action--liked .rz-icon,
.comment-action--disliked .rz-icon {
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 20;
}

.comment-thread-toggle .rz-icon {
    font-size: 1rem;
}

.comment-meta .suggestion-author-avatar {
    width: 1.85rem;
    height: 1.85rem;
}

.comment-mention {
    color: var(--nb-accent);
    font-weight: 850;
}

.comment-meta > span {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.comment-meta strong {
    color: var(--nb-text);
    font-size: 0.9rem;
    line-height: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comment-stance {
    font-size: 0.84rem;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
}

.comment-stance--wants {
    color: var(--nb-accent);
}

.comment-stance--opposes {
    color: #e15d5d;
}

.comment-meta time {
    color: var(--nb-dim);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    text-align: right;
    white-space: nowrap;
}

.suggestion-form {
    display: grid;
    gap: 1.1rem;
    max-width: 50rem;
}

.suggestion-form small {
    color: var(--nb-muted);
}

.suggestion-form .rz-textbox,
.suggestion-form .rz-textarea,
.comment-composer .rz-textarea,
.comment-reply-form .rz-textarea {
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

.suggestion-create-page {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
    align-items: start;
}

.suggestion-create-page .page-header {
    margin-bottom: 1.15rem;
}

.suggestion-create-page .suggestion-form {
    border-color: rgba(255, 255, 255, 0.095);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
        var(--nb-panel);
    max-width: none;
    padding: 1.35rem;
    width: 100%;
}

.suggestion-form__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--nb-border);
    padding-bottom: 1rem;
}

.suggestion-form__header h2 {
    color: var(--nb-text);
    font-size: 1.18rem;
    font-weight: 850;
    line-height: 1.2;
    margin: 0;
}

.suggestion-form__header p {
    color: var(--nb-muted);
    font-size: 0.92rem;
    line-height: 1.45;
    margin: 0.35rem 0 0;
    max-width: 38rem;
    overflow-wrap: anywhere;
}

.suggestion-form__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(13rem, 0.8fr);
    gap: 1rem;
    min-width: 0;
}

.suggestion-create-page .suggestion-form label {
    gap: 0.55rem;
    color: var(--nb-text);
    font-size: 0.82rem;
    font-weight: 850;
}

.suggestion-create-page .suggestion-form label > span {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.field-label-stack {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.field-helper-row {
    align-items: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
}

.suggestion-create-page .suggestion-form small {
    color: var(--nb-dim);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
}

.character-count {
    color: var(--nb-dim);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
}

.character-count--max {
    color: #e15d5d;
}

.suggestion-create-page .suggestion-form .rz-textbox,
.suggestion-create-page .suggestion-form .rz-textarea {
    border: 1px solid var(--nb-border-strong);
    border-radius: 10px;
    background-color: #222b31;
    color: var(--nb-text);
    font-size: 0.96rem;
    font-weight: 650;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.suggestion-create-page .suggestion-form .rz-textbox {
    min-height: 3rem;
}

.suggestion-create-page .suggestion-form .rz-textarea {
    min-height: 15rem;
    line-height: 1.5;
    padding-block: 0.85rem;
    resize: vertical;
}

.suggestion-create-page .suggestion-form .rz-textbox:hover,
.suggestion-create-page .suggestion-form .rz-textarea:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.suggestion-create-page .suggestion-form .rz-textbox:focus,
.suggestion-create-page .suggestion-form .rz-textbox.rz-state-focused,
.suggestion-create-page .suggestion-form .rz-textarea:focus,
.suggestion-create-page .suggestion-form .rz-textarea.rz-state-focused {
    border-color: rgba(16, 176, 104, 0.7);
    box-shadow: 0 0 0 3px rgba(16, 176, 104, 0.13);
    outline: 0;
}

.suggestion-create-page .form-actions {
    border-top: 1px solid var(--nb-border);
    margin-top: 0.15rem;
    padding-top: 1.1rem;
}

.suggestion-create-page .form-actions a {
    color: var(--nb-muted);
    font-weight: 800;
    text-decoration: none;
}

.suggestion-create-page .form-actions a:hover {
    color: #ffffff;
}

.suggestion-create-card {
    border-color: rgba(255, 255, 255, 0.095);
    border-radius: 10px;
    padding: 1.25rem;
}

.suggestion-create-card h2 {
    margin-bottom: 0.55rem;
}

.suggestion-create-card p {
    color: var(--nb-muted);
    font-size: 0.92rem;
    line-height: 1.45;
    margin: 0 0 1.1rem;
}

.suggestion-guidelines {
    display: grid;
    gap: 0.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.suggestion-guidelines li {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.7rem;
    align-items: start;
    color: var(--nb-muted);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
}

.suggestion-guidelines .rz-icon,
.suggestion-guidelines .rzi {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(16, 176, 104, 0.26);
    border-radius: 10px;
    background: rgba(16, 176, 104, 0.1);
    color: var(--nb-accent);
    font-size: 1.15rem;
}

.validation-summary {
    border: 0;
    background: transparent;
    color: #e2a1a1;
    margin: 0;
    padding: 0;
}

.validation-summary ul {
    display: grid;
    gap: 0.35rem;
    margin: 0;
    padding-left: 1.1rem;
}

.filter-select {
    width: 100%;
    min-width: 0;
    height: 2.55rem;
    border: 1px solid var(--nb-border);
    border-radius: 8px;
    background-color: var(--nb-panel-soft);
    color: var(--nb-text);
    cursor: pointer;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 750;
    line-height: 1.2;
    padding: 0 0.8rem;
}

.filter-select:hover {
    border-color: var(--nb-border-strong);
}

.filter-select:focus {
    outline: 0;
    border-color: var(--nb-border-strong);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.filter-select option {
    background: var(--nb-panel);
    color: var(--nb-text);
}

.form-error,
.validation-message {
    color: #e2a1a1;
}

.form-success {
    color: #a4ddb0;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid var(--nb-green);
}

.invalid {
    outline: 1px solid var(--nb-red);
}

.blazor-error-boundary {
    background: #5f2c2c;
    border: 1px solid var(--nb-red);
    border-radius: 10px;
    color: var(--nb-text);
    padding: 1rem;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

@media (max-width: 1400px) {
    .app-shell {
        margin: 0;
        max-width: none;
        min-height: 100dvh;
        border-radius: 0;
    }

    .site-topbar {
        padding-inline: 0;
    }

    .site-topbar__inner {
        grid-template-columns:
            minmax(2rem, 1fr)
            var(--nb-sidebar-width)
            minmax(0, calc(var(--nb-content-max) - var(--nb-aside-width) - var(--nb-layout-gap)))
            var(--nb-aside-width)
            minmax(2rem, 1fr);
    }

    .site-main {
        width: 100%;
    }

    .suggestions-page {
        gap: 2rem;
        grid-template-columns: minmax(0, 1fr) 280px;
    }
}

@media (max-width: 1100px) {
    .app-shell {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto minmax(0, 1fr);
    }

    .site-topbar__inner {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-block: 1rem;
        padding-inline: 2rem;
    }

    .top-search {
        max-width: none;
    }

    .top-actions {
        justify-content: flex-start;
        max-width: 100%;
        width: 100%;
    }

    .site-sidebar {
        grid-column: 1;
        display: grid;
        padding: 1rem 2rem 0;
    }

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

    .sidebar-heading {
        min-height: auto;
        padding: 0.7rem 1rem;
    }

    .site-nav {
        display: flex;
        flex-wrap: wrap;
        padding: 0.75rem;
    }

    .site-nav a,
    .site-nav__item {
        min-height: auto;
        padding: 0.7rem 1rem;
    }

    .site-nav a.active::after {
        display: none;
    }

    .social-nav {
        grid-template-columns: repeat(4, minmax(7rem, 1fr));
        overflow-x: auto;
        padding: 0.75rem;
    }

    .site-main {
        grid-column: 1;
        padding: 1.5rem 2rem 3rem;
    }

    .suggestions-page,
    .suggestion-detail-layout {
        grid-template-columns: 1fr;
    }

    .board-toolbar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    html,
    body {
        overflow-x: hidden;
    }

    body {
        background: var(--nb-app);
    }

    .app-shell {
        overflow-x: hidden;
        width: 100%;
    }

    .site-topbar,
    .site-sidebar,
    .site-main {
        overflow-x: hidden;
        padding-inline: 1rem;
    }

    .site-topbar {
        padding-inline: 0;
    }

    .site-topbar__inner {
        padding-inline: 1rem;
    }

    .site-brand,
    .top-search,
    .top-actions {
        grid-column: auto;
    }

    .top-search {
        justify-self: stretch;
        width: 100%;
    }

    .site-sidebar {
        padding-inline: 1rem;
    }

    .site-main > *,
    .suggestions-page,
    .suggestions-main {
        max-width: calc(100vw - 2rem);
        width: 100%;
    }

    .page-header {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .page-header__main {
        align-items: flex-start;
    }

    .page-header__title-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .page-header p {
        justify-self: start;
        max-width: none;
        text-align: left;
    }

    .page-header__icon {
        width: 2.45rem;
        height: 2.45rem;
    }

    .page-header__icon .rz-icon {
        font-size: 1.8rem;
    }

    .page-header__actions {
        justify-content: flex-start;
        width: 100%;
    }

    .account-menu {
        align-items: flex-start;
        min-width: 0;
    }

    .login-button {
        flex: 1 1 auto;
        min-width: 0;
    }

    .discord-login-button span {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .account-menu > span:not(.account-avatar-fallback) {
        max-width: 12rem;
    }

    .page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-header p {
        max-width: 100%;
    }

    .suggestion-composer,
    .suggestion-card,
    .side-card,
    .board-toolbar,
    .board-toolbar__controls,
    .suggestion-form__grid,
    .suggestion-detail-hero,
    .suggestion-card-link {
        max-width: calc(100vw - 2rem);
        grid-template-columns: 1fr;
        width: 100%;
    }

    .suggestion-create-page .suggestion-form {
        max-width: 100%;
        overflow: hidden;
        padding: 1rem;
        width: 100%;
    }

    .suggestion-create-page {
        max-width: calc(100vw - 2rem) !important;
        overflow: hidden;
        width: calc(100vw - 2rem) !important;
    }

    .suggestion-create-page .suggestions-main {
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        width: 100%;
    }

    .suggestion-create-page .page-header h1 {
        border: 0;
        box-shadow: none;
        max-width: 100%;
        outline: 0;
    }

    .suggestion-form__header {
        padding-bottom: 0.85rem;
    }

    .suggestion-form__header > div,
    .suggestion-create-page .suggestion-form label,
    .suggestion-create-page .suggestion-form label > span,
    .suggestion-create-page .suggestion-form small {
        max-width: 100%;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .suggestion-create-page .suggestion-form__grid {
        max-width: 100%;
    }

    .suggestion-create-page .suggestion-form__header p {
        max-width: calc(100vw - 4rem);
    }

    .suggestion-create-page .suggestion-form .rz-textarea {
        min-height: 13rem;
    }

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

    .suggestion-create-page .form-actions .ui-button {
        width: 100%;
    }

    .suggestion-detail-hero {
        gap: 0.8rem;
    }

    .suggestion-detail-fields {
        justify-content: flex-start;
    }

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

    .board-toolbar__controls {
        align-items: stretch;
    }

    .status-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }

    .status-tab {
        flex: 0 0 auto;
    }

    .suggestions-summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.45rem;
    }

    .suggestion-card-fields {
        justify-content: stretch;
    }

    .suggestion-composer .ui-button {
        width: 100%;
    }

    .suggestion-card-fields {
        flex-direction: column;
    }

    .suggestion-card-metrics {
        border-left: 0;
        border-top: 1px solid var(--nb-border-strong);
        justify-content: flex-start;
        min-height: auto;
        padding-left: 0;
        padding-top: 0.75rem;
    }
}
