.feedback-page {
    min-height: 70vh;
    background:
        radial-gradient(circle at 95% 4%, rgba(255, 107, 53, 0.13), transparent 30rem),
        #f5f7fb;
}

.feedback-hero {
    padding: 4.5rem 0 7rem;
    color: #fff;
    background: linear-gradient(125deg, #171717 0%, #292929 62%, #3a2119 100%);
}

.feedback-kicker {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.feedback-hero h1 {
    max-width: 820px;
    font-size: clamp(2.3rem, 6vw, 4.5rem);
    line-height: 0.98;
}

.feedback-hero p {
    max-width: 660px;
    margin-top: 1.25rem;
    color: #d1d5db;
    font-size: 1.08rem;
}

.feedback-shell {
    position: relative;
    margin-top: -3.4rem;
    padding-bottom: 5rem;
}

.feedback-shell > .alert {
    margin-bottom: 1rem;
}

.feedback-submit-card,
.feedback-access-note,
.feedback-board {
    border: 1px solid #e3e7ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
}

.feedback-submit-card {
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.feedback-submit-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    cursor: pointer;
    list-style: none;
}

.feedback-submit-card summary::-webkit-details-marker {
    display: none;
}

.feedback-submit-card summary strong,
.feedback-submit-card summary small {
    display: block;
}

.feedback-submit-card summary strong {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.feedback-submit-card summary small {
    margin-top: 0.2rem;
    color: var(--gray);
}

.feedback-summary-action {
    flex: 0 0 auto;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    color: #fff;
    background: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
}

.feedback-submit-card[open] .feedback-summary-action {
    color: #7c2d12;
    background: #ffedd5;
}

.feedback-form {
    padding: 1.5rem;
    border-top: 1px solid #edf0f5;
    background: #fbfcfe;
}

.feedback-form-grid {
    display: grid;
    grid-template-columns: minmax(180px, 0.32fr) 1fr;
    gap: 1rem;
}

.feedback-form label {
    display: block;
    margin: 0.9rem 0 0.4rem;
    font-size: 0.84rem;
    font-weight: 800;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
    width: 100%;
    padding: 0.82rem 0.9rem;
    border: 1px solid #cfd5df;
    border-radius: 9px;
    color: #111827;
    background: #fff;
    font: inherit;
}

.feedback-form textarea {
    resize: vertical;
}

.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
    border-color: var(--primary);
    outline: 3px solid rgba(255, 107, 53, 0.14);
}

.feedback-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}

.feedback-form-footer small {
    color: var(--gray);
}

.feedback-access-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1.1rem 1.25rem;
    color: #374151;
}

.feedback-board {
    overflow: hidden;
}

.feedback-board-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid #e8ebf0;
}

.feedback-board-header h2 {
    font-size: 1.75rem;
}

.feedback-board-header p {
    margin-top: 0.25rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.feedback-filters {
    display: flex;
    gap: 0.3rem;
    padding: 0.25rem;
    border-radius: 10px;
    background: #f0f2f6;
}

.feedback-filters a {
    padding: 0.48rem 0.72rem;
    border-radius: 8px;
    color: #4b5563;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.feedback-filters a:hover,
.feedback-filters a.active {
    color: #111827;
    background: #fff;
    box-shadow: 0 2px 7px rgba(17, 24, 39, 0.08);
}

.feedback-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 1.2rem;
    padding: 1.5rem;
    border-bottom: 1px solid #edf0f5;
    scroll-margin-top: 8rem;
}

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

.feedback-item:target {
    background: #fffaf2;
}

.feedback-vote-button {
    display: flex;
    width: 78px;
    min-height: 92px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.05rem;
    border: 1px solid #d9dee7;
    border-radius: 12px;
    color: #4b5563;
    background: #f8fafc;
    font: inherit;
}

button.feedback-vote-button {
    cursor: pointer;
}

button.feedback-vote-button:hover {
    border-color: var(--primary);
    color: #9a3412;
    background: #fff7ed;
}

.feedback-vote-button.is-voted {
    border-color: var(--primary);
    color: #9a3412;
    background: #ffedd5;
}

.feedback-vote-button > span {
    font-size: 0.72rem;
}

.feedback-vote-button strong {
    font-size: 1.4rem;
    line-height: 1.1;
}

.feedback-vote-button small {
    font-size: 0.72rem;
    font-weight: 700;
}

.feedback-vote-button.is-readonly {
    opacity: 0.82;
}

.feedback-item-labels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.7rem;
}

.feedback-type,
.feedback-status,
.feedback-private-label {
    display: inline-flex;
    padding: 0.3rem 0.58rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
}

.feedback-type-feature {
    color: #1d4ed8;
    background: #dbeafe;
}

.feedback-type-bug {
    color: #be123c;
    background: #ffe4e6;
}

.feedback-status {
    color: #374151;
    background: #e5e7eb;
}

.feedback-status-published {
    color: #0369a1;
    background: #e0f2fe;
}

.feedback-status-backlog {
    color: #6d28d9;
    background: #ede9fe;
}

.feedback-status-in-development {
    color: #b45309;
    background: #fef3c7;
}

.feedback-status-completed {
    color: #047857;
    background: #d1fae5;
}

.feedback-status-cancelled {
    color: #6b7280;
    background: #f3f4f6;
}

.feedback-private-label {
    color: #92400e;
    background: #fff7d6;
}

.feedback-item h3 {
    color: #111827;
    font-size: 1.38rem;
    line-height: 1.2;
    text-transform: none;
}

.feedback-description {
    max-width: 960px;
    margin-top: 0.55rem;
    color: #4b5563;
    overflow-wrap: anywhere;
}

.feedback-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1.15rem;
    margin-top: 1rem;
    color: #7b8493;
    font-size: 0.78rem;
}

.feedback-meta strong {
    color: #4b5563;
}

.feedback-empty {
    padding: 4rem 1.5rem;
    color: var(--gray);
    text-align: center;
}

.feedback-empty strong {
    display: block;
    color: #374151;
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase;
}

@media (max-width: 760px) {
    .feedback-hero {
        padding: 3.5rem 0 6rem;
    }

    .feedback-board-header,
    .feedback-form-footer,
    .feedback-access-note {
        align-items: stretch;
        flex-direction: column;
    }

    .feedback-filters {
        align-self: flex-start;
        max-width: 100%;
        overflow-x: auto;
    }

    .feedback-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .feedback-item {
        grid-template-columns: 58px 1fr;
        gap: 0.85rem;
        padding: 1.15rem;
    }

    .feedback-vote-button {
        width: 56px;
        min-height: 82px;
    }

    .feedback-item h3 {
        font-size: 1.16rem;
    }
}
