.suggestions-page {
    min-height: calc(100vh - 150px);
}

.suggestions-content {
    max-width: 960px;
    margin: 0 auto;
}

.suggestions-intro {
    padding: 48px 28px 34px;
}

.suggestions-intro h1 {
    margin: 0 0 14px;
    color: #1f2450;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.2;
}

.suggestions-summary {
    max-width: 780px;
    margin: 0 0 24px;
    color: #34385d;
    font-size: 18px;
    line-height: 1.55;
}

.installed-users-notice {
    max-width: 820px;
    padding: 14px 16px;
    border: 1px solid #d4d7f5;
    border-radius: 5px;
    background: #f8f8fc;
    line-height: 1.5;
}

.installed-users-notice strong {
    display: block;
    margin-bottom: 4px;
    color: #1f2450;
}

.installed-users-notice p {
    margin: 0;
}






.suggestion-submit-panel h2 {
    margin: 0 0 8px;
    color: #1f2450;
    font-size: 21px;
    font-weight: 600;
}

.suggestion-submit-help {
    margin: 0 0 14px;
    color: #444;
    line-height: 1.5;
}

.suggestion-warn {
    margin: 0 0 14px;
    color: #444;
    font-weight: 700;
    line-height: 1.5;
}

.suggestion-submit-panel label {
    display: block;
    margin: 10px 0 5px;
    color: #1f2450;
    font-weight: 600;
}

.suggestion-submit-panel input,
.suggestion-submit-panel textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #aaa;
    border-radius: 4px;
    box-sizing: border-box;
    font: inherit;
}

.suggestion-submit-panel textarea {
    resize: vertical;
}

.suggestion-submit-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.suggestion-submit-actions button,
.suggestion-vote-button {
    padding: 6px 12px;
    border: 1px solid #7d82aa;
    border-radius: 4px;
    background: #ebecff;
    color: #1f2450;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.suggestion-submit-actions button:hover,
.suggestion-submit-actions button:focus,
.suggestion-vote-button:hover,
.suggestion-vote-button:focus {
    background: #dfe2ff;
}

.suggestion-submit-actions button:disabled,
.suggestion-vote-button:disabled {
    cursor: default;
    opacity: 0.65;
}

.suggestion-submit-status {
    color: #4a4f7a;
    font-size: 13px;
}

.suggestion-vote-button {
    display: block;
    margin: 7px auto 0;
    padding: 4px 9px;
    font-size: 12px;
}







.suggestions-list-section {
    padding: 32px 28px 50px;
    border-top: 1px solid #eeeeee;
    background: #ffffff;
}

.suggestions-list-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.suggestions-list-heading h2 {
    margin: 0 0 5px;
    color: #1f2450;
    font-size: 26px;
    font-weight: 600;
}

.suggestions-list-heading p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

.suggestion-count {
    flex: 0 0 auto;
    padding-bottom: 2px;
    color: #666;
    font-size: 14px;
}

.suggestion-load-status,
.suggestion-empty {
    padding: 20px 0;
    color: #555;
}

.suggestion-load-status.error {
    color: #8b1e1e;
}

.suggestion-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.suggestion-card {
    padding: 18px 20px;
    border: 1px solid #d9d9e6;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.suggestion-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.suggestion-title {
    margin: 0;
    color: #1f2450;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
}

.suggestion-votes {
    flex: 0 0 auto;
    min-width: 64px;
    text-align: center;
    color: #343b78;
}

.suggestion-vote-number {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.suggestion-vote-label {
    display: block;
    margin-top: 3px;
    font-size: 12px;
}

.suggestion-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-top: 8px;
    color: #555;
    font-size: 13px;
}

.suggestion-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 10px;
    background: #ebecff;
    color: #1f2450;
    font-weight: 600;
}

.suggestion-description {
    display: -webkit-box;
    margin: 14px 0 0;
    overflow: hidden;
    color: #333;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.suggestion-details {
    margin-top: 10px;
}

.suggestion-details summary {
    display: inline-block;
    color: #343b78;
    font-weight: 600;
    cursor: pointer;
}

.suggestion-details summary:hover,
.suggestion-details summary:focus {
    text-decoration: underline;
}

.suggestion-full-description {
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid #eeeeee;
    white-space: pre-wrap;
    line-height: 1.55;
}

@media (max-width: 760px) {
    .suggestions-intro {
        padding-top: 36px;
    }

    .suggestions-intro h1 {
        font-size: 28px;
    }

    .suggestions-list-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .suggestion-card-header {
        gap: 12px;
    }

    .suggestion-votes {
        min-width: 50px;
    }
}


/* Two-row suggestion-card layout */

.suggestion-card {
    padding: 18px 20px;
}

.suggestion-row-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.suggestion-right-group {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.suggestion-title {
    flex: 1 1 auto;
    min-width: 0;
}

.suggestion-votes {
    min-width: 48px;
}

.suggestion-details {
    margin-top: 6px;
}

.suggestion-full-description {
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid #eeeeee;
    white-space: pre-wrap;
    line-height: 1.55;
}

@media (max-width: 760px) {
    .suggestion-row-top {
        gap: 12px;
    }

    .suggestion-right-group {
        gap: 10px;
    }
}


.suggestion-row-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.suggestion-row-bottom .suggestion-details {
    flex: 1 1 auto;
    min-width: 0;
}

.suggestion-vote-control {
    flex: 0 0 auto;
    min-width: 48px;
    display: flex;
    justify-content: center;
}
