#needs {
    display: grid;
    gap: 0.72rem;
    padding-left: 0;
    padding-right: 0;
}

.needs-empty-state {
    padding: 1.1rem 1.15rem;
    border: 1px dashed color-mix(in srgb, var(--theme-title) 20%, transparent);
    border-radius: 0.85rem;
    background: color-mix(in srgb, var(--theme-accent) 5%, var(--theme-surface));
    color: var(--theme-text);
}

.needs-empty-state--interactive {
    width: 100%;
    text-align: left;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.needs-empty-state--interactive:hover,
.needs-empty-state--interactive:focus-visible {
    border-color: color-mix(in srgb, var(--theme-accent) 36%, transparent);
    background: color-mix(in srgb, var(--theme-accent) 9%, var(--theme-surface));
}

.needs-empty-state--interactive:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--theme-accent) 52%, transparent);
    outline-offset: 2px;
}

.needs-empty-state__title {
    margin-bottom: 0.35rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--theme-title);
}

.needs-empty-state__text {
    color: var(--theme-text-muted);
}

.need-card {
    position: relative;
    border: 1px solid color-mix(in srgb, var(--theme-title) 12%, transparent);
    border-left: 4px solid var(--theme-accent);
    border-radius: 0.95rem;
    background: var(--theme-surface);
    color: var(--theme-text);
}

.need-card--presenter {
    overflow: hidden;
}

.need-card--compact:hover {
    background: color-mix(in srgb, var(--theme-surface) 88%, var(--theme-accent) 12%);
}

.need-card__delete-form {
    margin: 0;
}

.need-card__delete-button {
    top: 0.42rem;
    right: 0.42rem;
    transform: none;
    min-width: 1.9rem;
    min-height: 1.9rem;
    padding: 0;
    border-radius: 0.48rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.18rem;
    line-height: 0.9;
    font-weight: 700;
    z-index: 30;
}

.need-card__trigger {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 0;
    background: transparent;
    color: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}

.in-edition-mode .need-card--presenter .need-card__trigger {
    padding-right: 3.15rem;
}

.in-consultation-mode .need-card--presenter .need-card__trigger {
    padding-right: 1rem;
}

.need-card__trigger:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--theme-accent) 58%, transparent);
    outline-offset: -2px;
    border-radius: 0.95rem;
}

.need-card__trigger-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex: 1;
}

.need-card__trigger-text {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex: 1;
}

.need-card__trigger-side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.7rem;
    flex-shrink: 0;
}

.need-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    color: var(--theme-accent);
    flex-shrink: 0;
}

.need-card__icon svg {
    width: 1.56rem;
    height: 1.56rem;
    display: block;
}

.need-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.need-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--theme-accent) 16%, var(--theme-surface));
    color: var(--theme-title);
    font-size: 0.86rem;
    font-weight: 700;
}

.need-card__badge--muted {
    background: color-mix(in srgb, var(--theme-border) 18%, var(--theme-surface));
    color: var(--theme-text);
}

.need-card__badge--status {
    background: color-mix(in srgb, var(--theme-title) 9%, var(--theme-surface));
}

.need-card__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--theme-title);
    line-height: 1.35;
    min-width: 0;
}

.need-card__description {
    color: var(--theme-text);
    line-height: 1.5;
}

.need-card__description--empty {
    color: var(--theme-text-muted);
    font-style: italic;
}

.need-card__date {
    font-size: 0.88rem;
    color: var(--theme-text-muted);
}

.need-card__already-answered {
    color: var(--theme-text-muted);
    font-weight: 700;
}

.need-card__responses-pill {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--theme-title) 8%, var(--theme-surface));
    color: var(--theme-text);
    font-size: 0.82rem;
    font-weight: 700;
}

.need-card__chevron {
    color: var(--theme-text-muted);
    font-size: 1.45rem;
    line-height: 1;
}

.need-detail-drawer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1045;
}

.need-detail-panel {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: min(480px, 96vw);
    background: var(--theme-surface);
    border-left: 1px solid var(--theme-border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
}

.need-detail-drawer.is-open .need-detail-panel {
    transform: translateX(0);
}

.need-detail-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem 0.9rem;
    border-bottom: 1px solid var(--theme-border);
    background: var(--theme-surface-alt);
}

.need-detail-panel__title-wrap {
    min-width: 0;
}

.need-detail-panel__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--theme-title);
    line-height: 1.35;
}

.need-detail-panel__close {
    border: 1px solid var(--theme-border);
    background: var(--theme-surface);
    color: var(--theme-text);
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    line-height: 1;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.need-detail-panel__body {
    padding: 1rem 1.1rem 1.3rem;
    overflow-y: auto;
    flex: 1;
}

.need-detail {
    display: grid;
    gap: 1rem;
}

.need-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.need-detail__description {
    color: var(--theme-text);
    line-height: 1.65;
}

.need-detail__info {
    padding-top: 0.2rem;
}

.need-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    padding-top: 1rem;
    border-top: 1px solid color-mix(in srgb, var(--theme-title) 10%, transparent);
}

.need-detail__actions form {
    margin: 0;
}

.need-detail-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.34);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1040;
}

.need-detail-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

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

.needs-form-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 700;
    color: var(--theme-title);
}

.needs-form-field--full {
    grid-column: 1 / -1;
}

.needs-form-field textarea {
    min-height: 170px;
}

.needs-type-chooser.is-enhanced .needs-type-chooser__native-wrap {
    display: none;
}

.needs-type-chooser__trigger {
    width: 100%;
    border: 1px solid color-mix(in srgb, var(--theme-title) 16%, transparent);
    border-radius: 1rem;
    background: color-mix(in srgb, var(--theme-accent) 4%, var(--theme-surface));
    color: var(--theme-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.92rem 1rem;
    text-align: left;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.needs-type-chooser__trigger:hover,
.needs-type-chooser__trigger:focus-visible {
    border-color: color-mix(in srgb, var(--theme-accent) 34%, transparent);
    background: color-mix(in srgb, var(--theme-accent) 8%, var(--theme-surface));
}

.needs-type-chooser__trigger:focus-visible,
.needs-type-option:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--theme-accent) 54%, transparent);
    outline-offset: 2px;
}

.needs-type-chooser__trigger.is-placeholder .needs-type-chooser__trigger-label {
    color: var(--theme-text-muted);
}

.needs-type-chooser__trigger.is-placeholder .needs-type-chooser__trigger-icon,
.needs-type-chooser__trigger.is-placeholder .needs-type-chooser__trigger-hint {
    display: none;
}

.needs-type-chooser__trigger-icon,
.needs-type-option__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: color-mix(in srgb, var(--theme-accent) 10%, var(--theme-surface));
    color: color-mix(in srgb, var(--theme-accent) 72%, var(--theme-title));
}

.needs-type-icon,
.needs-type-chooser__trigger-icon,
.needs-type-option__icon {
    line-height: 0;
}

.needs-type-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.needs-type-icon svg,
.needs-type-chooser__trigger-icon svg,
.needs-type-option__icon svg {
    width: 1.2rem;
    height: 1.2rem;
    display: block;
}

.needs-type-chooser__trigger-copy {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.14rem;
}

.needs-type-chooser__trigger-label {
    font-weight: 700;
    color: var(--theme-title);
}

.needs-type-chooser__trigger-hint {
    display: none;
}

.needs-type-chooser__trigger-chevron {
    color: var(--theme-text-muted);
    font-size: 1.2rem;
    line-height: 1;
}

.needs-type-chooser-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 0.8rem;
}

.needs-type-option {
    border: 1px solid color-mix(in srgb, var(--theme-title) 14%, transparent);
    border-radius: 1rem;
    background: var(--theme-surface);
    color: var(--theme-text);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 0.95rem;
    text-align: left;
    height: 100%;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.needs-type-option:hover,
.needs-type-option.is-selected {
    border-color: color-mix(in srgb, var(--theme-accent) 36%, transparent);
    background: color-mix(in srgb, var(--theme-accent) 7%, var(--theme-surface));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.needs-type-option.is-selected .needs-type-option__icon {
    background: color-mix(in srgb, var(--theme-accent) 17%, var(--theme-surface));
    color: var(--theme-accent);
}

.needs-type-option__label {
    font-weight: 700;
    color: var(--theme-title);
    line-height: 1.25;
}

.need-response-page {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.need-response-page__box {
    max-width: 860px;
    margin: 0 auto;
    padding: 1.35rem;
    border: 1px solid color-mix(in srgb, var(--theme-title) 12%, transparent);
    border-radius: 1rem;
    background: var(--theme-surface);
}

.need-response-page__header,
.need-responses-page__header {
    margin-bottom: 1rem;
}

.need-response-page__eyebrow {
    margin-bottom: 0.35rem;
    color: var(--theme-accent);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.need-response-page__title {
    margin: 0 0 0.45rem;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--theme-title);
}

.need-response-page__subtitle {
    color: var(--theme-text-muted);
}

.need-response-page__need {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 0.9rem;
    background: color-mix(in srgb, var(--theme-accent) 6%, var(--theme-surface));
    line-height: 1.6;
    color: var(--theme-text);
}

.need-response-page__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.need-responses-page {
    max-width: 960px;
    margin: 0 auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.need-responses-page__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
}

.need-responses-page__count {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--theme-accent) 12%, var(--theme-surface));
    color: var(--theme-title);
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
}

.need-responses-toolbar {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.15rem;
}

.need-response-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.need-response-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.1rem;
    padding: 0.28rem 0.8rem;
    border: 1px solid color-mix(in srgb, var(--theme-title) 12%, transparent);
    border-radius: 999px;
    background: var(--theme-surface);
    color: var(--theme-text);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.need-response-filter:hover {
    color: var(--theme-title);
    border-color: color-mix(in srgb, var(--theme-accent) 30%, transparent);
    background: color-mix(in srgb, var(--theme-accent) 5%, var(--theme-surface));
}

.need-response-filter.is-active {
    border-color: color-mix(in srgb, var(--theme-accent) 38%, transparent);
    background: color-mix(in srgb, var(--theme-accent) 11%, var(--theme-surface));
    color: var(--theme-title);
}

.need-response-filter__label {
    line-height: 1;
}

.need-response-filter__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.55rem;
    min-height: 1.55rem;
    padding: 0.08rem 0.38rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--theme-title) 9%, var(--theme-surface));
    color: var(--theme-title);
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1;
}

.need-response-filter.is-active .need-response-filter__count {
    background: var(--theme-accent);
    color: var(--theme-surface);
}

.need-responses-toolbar__summary {
    color: var(--theme-text-muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.need-responses-toolbar__summary-separator {
    margin: 0 0.25rem;
}

.need-responses-list {
    display: grid;
    gap: 1rem;
}

.need-response-card {
    position: relative;
    padding: 1.1rem;
    border: 1px solid color-mix(in srgb, var(--theme-title) 12%, transparent);
    border-radius: 1rem;
    background: var(--theme-surface);
    border-left-width: 4px;
    border-left-color: color-mix(in srgb, var(--theme-title) 14%, transparent);
}

.need-response-card--highlighted {
    border-color: color-mix(in srgb, var(--theme-accent) 34%, transparent);
    border-left-color: var(--theme-accent);
    background: color-mix(in srgb, var(--theme-accent) 6%, var(--theme-surface));
}

.need-response-card--contacted {
    border-left-color: color-mix(in srgb, var(--theme-accent) 42%, transparent);
}

.need-response-card--accepted {
    border-left-color: color-mix(in srgb, #13854e 45%, transparent);
}

.need-response-card--declined {
    border-left-color: color-mix(in srgb, #b3261e 42%, transparent);
}

.need-response-card--withdrawn {
    border-left-color: color-mix(in srgb, var(--theme-border) 34%, transparent);
}

.need-response-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.need-response-card__identity {
    min-width: 0;
}

.need-response-card__author-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.need-response-card__author {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--theme-title);
}

.need-response-card__new-marker {
    display: inline-flex;
    align-items: center;
    min-height: 1.45rem;
    padding: 0.1rem 0.48rem;
    border-radius: 999px;
    background: var(--theme-accent);
    color: var(--theme-surface);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.need-response-card__date {
    color: var(--theme-text-muted);
    font-size: 0.9rem;
}

.need-response-status {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    padding: 0.2rem 0.72rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
    white-space: nowrap;
}

.need-response-status--new {
    background: color-mix(in srgb, var(--theme-accent) 16%, var(--theme-surface));
    color: var(--theme-title);
}

.need-response-status--seen {
    background: color-mix(in srgb, var(--theme-title) 9%, var(--theme-surface));
    color: var(--theme-title);
}

.need-response-status--contacted {
    background: color-mix(in srgb, #2563eb 16%, var(--theme-surface));
    color: color-mix(in srgb, #1d4ed8 82%, var(--theme-title));
}

.need-response-status--accepted {
    background: color-mix(in srgb, #16a34a 16%, var(--theme-surface));
    color: color-mix(in srgb, #166534 82%, var(--theme-title));
}

.need-response-status--declined {
    background: color-mix(in srgb, #dc2626 14%, var(--theme-surface));
    color: color-mix(in srgb, #991b1b 78%, var(--theme-title));
}

.need-response-status--withdrawn {
    background: color-mix(in srgb, var(--theme-border) 24%, var(--theme-surface));
    color: var(--theme-text-muted);
}

.need-response-card__message {
    line-height: 1.6;
    color: var(--theme-text);
}

.need-response-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.need-response-card__meta-pill {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0.16rem 0.6rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--theme-accent) 9%, var(--theme-surface));
    color: var(--theme-title);
    font-size: 0.82rem;
    font-weight: 700;
}

.need-response-card__meta-pill--muted {
    background: color-mix(in srgb, var(--theme-border) 18%, var(--theme-surface));
    color: var(--theme-text-muted);
}

.need-response-card__actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1rem;
    padding-top: 0.95rem;
    border-top: 1px solid color-mix(in srgb, var(--theme-title) 10%, transparent);
}

.need-response-card__actions-main,
.need-response-card__actions-status {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.need-response-card__actions form {
    margin: 0;
}

.need-conversation-page {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.need-conversation-page__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.need-conversations-page {
    max-width: 980px;
    margin: 0 auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.need-conversations-page--inbox {
    max-width: 1280px;
    display: grid;
    gap: 1rem;
    --need-inbox-shell-border: color-mix(in srgb, var(--theme-border) 88%, transparent);
    --need-inbox-shell-shadow: 0 12px 30px color-mix(in srgb, var(--theme-accent) 10%, transparent);
    --need-inbox-threads-pane-bg: linear-gradient(
        180deg,
        color-mix(in srgb, var(--theme-surface) 84%, var(--theme-accent) 16%) 0%,
        color-mix(in srgb, var(--theme-bg) 92%, var(--theme-accent) 8%) 100%
    );
    --need-inbox-panel-head-bg: linear-gradient(
        180deg,
        color-mix(in srgb, var(--theme-surface) 78%, var(--theme-accent) 22%) 0%,
        color-mix(in srgb, var(--theme-bg) 90%, var(--theme-accent) 10%) 100%
    );
    --need-inbox-thread-bg: color-mix(in srgb, var(--theme-surface) 97%, var(--theme-accent) 3%);
    --need-inbox-thread-hover-bg: color-mix(in srgb, var(--theme-surface) 90%, var(--theme-accent) 10%);
    --need-inbox-thread-active-bg: color-mix(in srgb, var(--theme-surface) 84%, var(--theme-accent) 16%);
    --need-inbox-thread-unread-bg: color-mix(in srgb, var(--theme-surface-alt) 84%, var(--theme-accent) 16%);
    --need-inbox-thread-border-hover: color-mix(in srgb, var(--theme-border) 68%, var(--theme-accent) 32%);
    --need-inbox-thread-border-active: color-mix(in srgb, var(--theme-border) 46%, var(--theme-accent) 54%);
    --need-inbox-panel-head-border: color-mix(in srgb, var(--theme-border) 70%, var(--theme-accent) 30%);
    --need-inbox-panel-head-shadow: inset 0 -1px 0 color-mix(in srgb, var(--theme-border) 72%, transparent);
    --need-inbox-detail-bg: linear-gradient(
        180deg,
        color-mix(in srgb, var(--theme-surface) 98%, var(--theme-accent) 2%) 0%,
        color-mix(in srgb, var(--theme-bg) 82%, var(--theme-surface-alt) 18%) 100%
    );
    --need-inbox-bubble-bg: color-mix(in srgb, var(--theme-surface-alt) 84%, var(--theme-surface) 16%);
    --need-inbox-bubble-mine-bg: color-mix(in srgb, var(--theme-surface) 84%, var(--theme-accent) 16%);
    --need-inbox-control-bg: color-mix(in srgb, var(--theme-surface-alt) 88%, var(--theme-accent) 12%);
    --need-inbox-control-bg-hover: color-mix(in srgb, var(--theme-surface) 82%, var(--theme-accent) 18%);
    --need-inbox-emoji-muted-border: color-mix(in srgb, var(--theme-border) 72%, var(--theme-accent) 28%);
    --need-inbox-emoji-muted-color: var(--need-inbox-emoji-muted-border);
    --need-inbox-emoji-trigger-bg: color-mix(in srgb, var(--theme-surface-alt) 82%, var(--theme-surface) 18%);
    --need-inbox-emoji-trigger-bg-hover: color-mix(in srgb, var(--theme-surface-alt) 74%, var(--theme-accent) 26%);
    --need-inbox-emoji-trigger-border: color-mix(in srgb, var(--theme-border) 50%, var(--theme-accent) 50%);
    --need-inbox-emoji-trigger-color: var(--need-inbox-emoji-trigger-border);
    --need-inbox-submit-muted-border: color-mix(in srgb, var(--theme-border) 50%, var(--theme-accent) 50%);
    --need-inbox-submit-muted-color: color-mix(in srgb, var(--theme-accent) 72%, var(--theme-text-muted) 28%);
    --need-inbox-threads-drawer-bg: color-mix(in srgb, var(--theme-surface-alt) 88%, var(--theme-bg));
    --need-inbox-threads-drawer-section-bg: var(--theme-surface);
    --need-inbox-threads-drawer-backdrop: rgba(0, 0, 0, 0.35);
}

.need-inbox {
    display: grid;
    gap: 1rem;
    min-height: 0;
}

.need-inbox__threads,
.need-inbox__detail-shell,
.need-inbox__placeholder {
    border: 1px solid var(--need-inbox-shell-border);
    border-radius: 1.1rem;
    background: var(--theme-surface);
    box-shadow: var(--need-inbox-shell-shadow);
}

.need-inbox__threads {
    display: block;
    min-height: 0;
    overflow: hidden;
    background: var(--need-inbox-threads-pane-bg);
}

.need-inbox__detail {
    min-width: 0;
    min-height: 0;
}

.need-inbox__detail-shell {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    min-height: 0;
    overflow: hidden;
}

.need-inbox__panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 1rem 0.8rem;
    border-bottom: 1px solid var(--need-inbox-panel-head-border);
    background: var(--need-inbox-panel-head-bg);
    box-shadow: var(--need-inbox-panel-head-shadow);
}

.need-inbox__panel-hero {
    min-width: 0;
    display: grid;
    gap: 0.4rem;
}

.need-inbox__panel-copy {
    min-width: 0;
    display: grid;
    gap: 0.3rem;
}

.need-inbox__panel-title {
    margin-bottom: 0;
    font-size: clamp(1.06rem, 1.45vw, 1.3rem);
    line-height: 1.28;
}

.need-inbox__panel-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.45rem;
    margin-top: 0.05rem;
}

.need-inbox__meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    min-height: 1.85rem;
    padding: 0.2rem 0.62rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--theme-border) 74%, var(--theme-accent) 26%);
    background: var(--need-inbox-control-bg);
    color: var(--theme-text);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    vertical-align: bottom;
}

.need-inbox__meta-pill--status {
    border-color: color-mix(in srgb, var(--theme-border) 70%, var(--theme-accent) 30%);
}

.need-inbox__meta-pill--link:hover,
.need-inbox__meta-pill--link:focus-visible {
    color: var(--theme-title);
    background: var(--need-inbox-control-bg-hover);
}

.need-inbox__need-status-form {
    display: block;
    min-height: 0;
    margin: 0;
}

.need-inbox__need-status-form.is-updating {
    opacity: 0.72;
    pointer-events: none;
}

.need-inbox__need-status-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 1.85rem;
}

.need-inbox__need-status-control {
    position: relative;
    padding-right: 1.7rem;
    cursor: pointer;
}

.need-inbox__need-status-prefix {
    color: var(--theme-text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    pointer-events: none;
}

.need-inbox__need-status-value {
    color: var(--theme-text);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
}

.need-inbox__need-status-chevron {
    position: absolute;
    top: 50%;
    right: 0.62rem;
    width: 0.9rem;
    height: 0.9rem;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23606c7f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.need-inbox__need-status-select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    opacity: 0;
    cursor: pointer;
}

.need-inbox__need-status-select:focus {
    outline: none;
    box-shadow: none;
}

.need-inbox__need-status-feedback {
    position: absolute;
    left: 0;
    top: calc(100% + 0.35rem);
    min-width: max-content;
    color: var(--theme-accent);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
}

.need-inbox__need-status-feedback.is-error {
    color: #c93b3b;
}

.need-inbox__panel-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.need-inbox__mobile-thread-toggle,
.need-inbox__mobile-thread-backdrop,
.need-inbox__threads-mobile-head,
.need-inbox__threads-tab {
    display: none;
}

.need-inbox__placeholder {
    display: grid;
    gap: 0.55rem;
    min-height: 0;
    align-content: center;
    padding: 1.4rem;
}

.need-conversations-list {
    display: grid;
    grid-auto-rows: max-content;
    align-content: start;
    align-items: start;
    gap: 0.72rem;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.82rem;
}

.need-conversation-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: flex-start;
    gap: 0.78rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0.8rem 0.82rem;
    border: 1px solid transparent;
    border-radius: 0.9rem;
    background: var(--need-inbox-thread-bg);
    box-sizing: border-box;
    overflow: hidden;
}

.need-conversation-summary--link {
    color: inherit;
    text-decoration: none;
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.need-conversation-summary--link:hover,
.need-conversation-summary--link:focus-visible {
    color: inherit;
    text-decoration: none;
    border-color: var(--need-inbox-thread-border-hover);
    background: var(--need-inbox-thread-hover-bg);
}

.need-conversation-summary.is-active {
    border-color: var(--need-inbox-thread-border-active);
    background: var(--need-inbox-thread-active-bg);
    box-shadow: 0 14px 28px color-mix(in srgb, var(--theme-accent) 14%, transparent);
}

.need-conversation-summary--unread {
    border-color: color-mix(in srgb, var(--theme-border) 58%, var(--theme-accent) 42%);
    background: var(--need-inbox-thread-unread-bg);
}

.need-conversation-summary__avatar {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: color-mix(in srgb, var(--theme-accent) 16%, var(--theme-surface));
    color: color-mix(in srgb, var(--theme-accent) 76%, var(--theme-title) 24%);
    font-size: 0.94rem;
    font-weight: 800;
}

.need-conversation-summary__content {
    min-width: 0;
    display: grid;
    gap: 0.18rem;
    overflow: hidden;
}

.need-conversation-summary__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.65rem;
    margin-bottom: 0.35rem;
    min-width: 0;
}

.need-conversation-summary__identity {
    min-width: 0;
    overflow: hidden;
}

.need-conversation-summary__eyebrow {
    margin-bottom: 0.28rem;
    color: var(--theme-text-muted);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.need-conversation-summary__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    color: var(--theme-title);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.need-conversation-summary__meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    min-width: 0;
}

.need-conversation-summary__date {
    font-size: 0.82rem;
    color: var(--theme-text-muted);
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.need-conversation-summary__excerpt {
    margin: 0;
    color: var(--theme-text-muted);
    line-height: 1.42;
    font-size: 0.88rem;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
}

.need-conversation-summary--unread .need-conversation-summary__title,
.need-conversation-summary--unread .need-conversation-summary__excerpt {
    color: var(--theme-title);
    font-weight: 700;
}

.need-conversation-thread {
    display: grid;
    gap: 0.85rem;
    min-height: 0;
    align-content: start;
    overflow: auto;
    padding: 1.15rem 1.2rem 1.3rem;
    background: var(--need-inbox-detail-bg);
}

.need-conversation-thread__empty {
    padding: 0.95rem 1rem;
    border-radius: 0.95rem;
    border: 1px dashed color-mix(in srgb, var(--theme-border) 70%, var(--theme-accent) 30%);
    background: color-mix(in srgb, var(--theme-surface-alt) 86%, var(--theme-accent) 14%);
    color: var(--theme-text-muted);
    line-height: 1.6;
}

.need-conversation-context {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.1rem;
    padding: 1rem 1.05rem;
    border: 1px solid color-mix(in srgb, var(--theme-title) 12%, transparent);
    border-radius: 1rem;
    background: color-mix(in srgb, var(--theme-accent) 4%, var(--theme-surface));
}

.need-conversation-context__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
}

.need-conversation-context__title-group {
    min-width: 0;
}

.need-conversation-context__eyebrow {
    margin-bottom: 0.28rem;
    color: var(--theme-text-muted);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.need-conversation-context__title {
    margin: 0;
    font-size: 1.16rem;
    font-weight: 800;
    color: var(--theme-title);
    line-height: 1.4;
}

.need-conversation-context__grid {
    display: grid;
    gap: 0.85rem;
}

.need-conversation-context__item {
    display: grid;
    gap: 0.22rem;
}

.need-conversation-context__label {
    color: var(--theme-text-muted);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.need-conversation-context__value {
    color: var(--theme-title);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
}

.need-conversation-context__excerpt {
    color: var(--theme-text);
    line-height: 1.6;
}

.need-conversation-message {
    display: flex;
    justify-content: flex-start;
}

.need-conversation-message--mine {
    justify-content: flex-end;
}

.need-conversation-message__bubble {
    width: min(100%, 40rem);
    padding: 0.88rem 0.94rem;
    border-radius: 1rem 1rem 1rem 0.24rem;
    background: var(--need-inbox-bubble-bg);
    border: 1px solid color-mix(in srgb, var(--theme-border) 82%, transparent);
}

.need-conversation-message--mine .need-conversation-message__bubble {
    border-radius: 1rem 1rem 0.24rem 1rem;
    background: var(--need-inbox-bubble-mine-bg);
    border-color: color-mix(in srgb, var(--theme-border) 54%, var(--theme-accent) 46%);
}

.need-conversation-message__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
}

.need-conversation-message__meta-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.need-conversation-message__author {
    font-weight: 800;
    color: var(--theme-title);
}

.need-conversation-message__date {
    font-size: 0.86rem;
    color: var(--theme-text-muted);
}

.need-conversation-message__body {
    color: var(--theme-text);
    line-height: 1.6;
}

.need-conversation-message__delivery {
    margin-top: 0.5rem;
    color: var(--theme-text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    text-align: right;
}

.needs-form-field--conversation label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 800;
    color: var(--theme-title);
}

.need-conversation-composer {
    display: grid;
    gap: 0.72rem;
    padding: 0.95rem 1.2rem 1.05rem;
    border-top: 1px solid var(--need-inbox-shell-border);
    background: color-mix(in srgb, var(--theme-surface) 72%, var(--theme-surface-alt) 28%);
    position: sticky;
    bottom: 0;
    z-index: 2;
    box-shadow: 0 -12px 24px color-mix(in srgb, var(--theme-accent) 8%, transparent);
}

.need-conversation-composer__form {
    display: grid;
    gap: 0.55rem;
}

.need-conversation-composer__emoji-option {
    border: 1px solid color-mix(in srgb, var(--theme-border) 72%, var(--theme-accent) 28%);
    border-radius: 999px;
    background: var(--need-inbox-control-bg);
    line-height: 1;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.need-conversation-composer__emoji-picker {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(2.25rem, max-content));
    gap: 0.45rem;
    width: max-content;
    max-width: 100%;
    justify-self: start;
    padding: 0.72rem;
    border: 1px solid color-mix(in srgb, var(--theme-border) 72%, var(--theme-accent) 28%);
    border-radius: 1rem;
    background: color-mix(in srgb, var(--theme-surface) 74%, var(--theme-surface-alt) 26%);
}

.need-conversation-composer__emoji-option {
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.need-conversation-composer__emoji-option:hover,
.need-conversation-composer__emoji-option:focus-visible {
    border-color: color-mix(in srgb, var(--theme-border) 42%, var(--theme-accent) 58%);
    background: var(--need-inbox-control-bg-hover);
    transform: translateY(-1px);
}

.need-conversation-composer__field-wrap {
    --conversation-composer-control-size: 3.15rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0;
}

.need-conversation-composer__emoji-trigger {
    width: var(--conversation-composer-control-size);
    min-width: var(--conversation-composer-control-size);
    height: var(--conversation-composer-control-size);
    padding: 0;
    border: 1px solid var(--need-inbox-emoji-trigger-border);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--need-inbox-emoji-trigger-bg);
    color: var(--need-inbox-emoji-trigger-color);
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.need-conversation-composer__emoji-trigger:hover,
.need-conversation-composer__emoji-trigger:focus-visible,
.need-conversation-composer__emoji-trigger[aria-expanded="true"] {
    color: var(--theme-accent);
    border-color: color-mix(in srgb, var(--theme-border) 42%, var(--theme-accent) 58%);
    background: var(--need-inbox-emoji-trigger-bg-hover);
}

.need-conversation-composer__emoji-trigger svg {
    width: 1.2rem;
    height: 1.2rem;
    display: block;
}

.needs-form-field--conversation .need-conversation-composer__field {
    min-height: var(--conversation-composer-control-size);
    max-height: 8.5rem;
    height: var(--conversation-composer-control-size);
    resize: none;
    box-sizing: border-box;
    border-radius: 1rem;
    padding: 0.86rem 0.92rem;
    line-height: 1.35;
    overflow-y: auto;
}

.need-conversation-composer__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--conversation-composer-control-size);
    min-width: var(--conversation-composer-control-size);
    height: var(--conversation-composer-control-size);
    padding: 0;
    border: 1px solid var(--need-inbox-submit-muted-border);
    border-radius: 999px;
    background: transparent;
    color: var(--need-inbox-submit-muted-color);
    box-shadow: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.need-conversation-composer__submit.is-active {
    border-color: color-mix(in srgb, var(--theme-accent) 24%, transparent);
    background: var(--theme-accent);
    color: var(--theme-surface);
    box-shadow: 0 14px 26px color-mix(in srgb, var(--theme-accent) 20%, transparent);
}

.need-conversation-composer__submit.is-active:hover,
.need-conversation-composer__submit.is-active:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px color-mix(in srgb, var(--theme-accent) 24%, transparent);
}

.need-conversation-composer__submit:disabled {
    cursor: default;
    border-color: var(--need-inbox-submit-muted-border);
    background: transparent;
    color: var(--need-inbox-submit-muted-color);
    opacity: 1;
}

.need-conversation-composer__submit svg {
    width: 1.15rem;
    height: 1.15rem;
}

@media (min-width: 992px) {
    .need-conversations-page--inbox {
        --need-inbox-shell-border: var(--theme-border);
        --need-inbox-shell-shadow: 0 10px 24px color-mix(in srgb, var(--theme-title) 6%, transparent);
        --need-inbox-threads-pane-bg: color-mix(in srgb, var(--theme-surface-alt) 88%, var(--theme-bg));
        --need-inbox-panel-head-bg: color-mix(in srgb, var(--theme-surface) 95%, var(--theme-accent) 5%);
        --need-inbox-panel-head-border: color-mix(in srgb, var(--theme-border) 68%, var(--theme-accent) 32%);
        --need-inbox-panel-head-shadow: inset 0 -1px 0 color-mix(in srgb, var(--theme-border) 74%, var(--theme-accent) 26%);
        --need-inbox-thread-bg: var(--theme-surface);
        --need-inbox-thread-hover-bg: color-mix(in srgb, var(--theme-surface-alt) 64%, var(--theme-surface) 36%);
        --need-inbox-thread-active-bg: color-mix(in srgb, var(--theme-surface) 92%, var(--theme-accent) 8%);
        --need-inbox-thread-unread-bg: color-mix(in srgb, var(--theme-surface-alt) 78%, var(--theme-surface) 22%);
        --need-inbox-thread-border-hover: var(--theme-border);
        --need-inbox-thread-border-active: color-mix(in srgb, var(--theme-border) 62%, var(--theme-accent) 38%);
        --need-inbox-detail-bg: color-mix(in srgb, var(--theme-surface) 94%, var(--theme-bg) 6%);
        --need-inbox-bubble-bg: color-mix(in srgb, var(--theme-surface-alt) 60%, var(--theme-surface) 40%);
        --need-inbox-bubble-mine-bg: color-mix(in srgb, var(--theme-surface) 91%, var(--theme-accent) 9%);
        --need-inbox-control-bg: color-mix(in srgb, var(--theme-surface-alt) 82%, var(--theme-surface) 18%);
        --need-inbox-control-bg-hover: color-mix(in srgb, var(--theme-surface-alt) 74%, var(--theme-accent) 26%);
        --need-inbox-emoji-muted-border: color-mix(in srgb, var(--theme-border) 50%, var(--theme-accent) 50%);
        --need-inbox-emoji-muted-color: var(--need-inbox-emoji-muted-border);
        --need-inbox-submit-muted-border: color-mix(in srgb, var(--theme-border) 40%, var(--theme-accent) 60%);
        --need-inbox-submit-muted-color: color-mix(in srgb, var(--theme-accent) 78%, var(--theme-title) 22%);
        height: calc(100dvh - 5.75rem);
        padding-top: 1rem;
        padding-bottom: 1rem;
        overflow: hidden;
        grid-template-rows: auto minmax(0, 1fr);
    }

    .need-inbox {
        grid-template-columns: minmax(320px, 360px) minmax(0, 1fr);
        align-items: stretch;
        overflow: hidden;
    }

    .need-inbox__threads,
    .need-inbox__detail-shell,
    .need-inbox__placeholder {
        height: 100%;
        min-height: 0;
    }

    .need-inbox__detail-shell {
        max-height: 100%;
        overflow: hidden;
    }

    .need-conversation-composer__emoji-picker {
        grid-template-columns: repeat(7, 2.4rem);
        padding: 0.6rem;
        border-radius: 0.95rem;
        box-shadow: 0 10px 28px color-mix(in srgb, var(--theme-title) 7%, transparent);
    }

    .need-conversation-composer__emoji-trigger svg {
        width: 1.32rem;
        height: 1.32rem;
    }
}

@media (min-width: 768px) {
    .needs-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.15rem 1rem;
    }

    .needs-type-chooser-modal__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #needs {
        gap: 1rem;
    }
}

@media (max-width: 991px) {
    .need-conversations-page--inbox {
        --need-inbox-mobile-top-offset: 5.5rem;
        --need-inbox-mobile-shell-height: calc(100dvh - var(--need-inbox-mobile-top-offset));
    }

    .need-inbox--has-selection {
        position: relative;
        height: var(--need-inbox-mobile-shell-height);
        min-height: var(--need-inbox-mobile-shell-height);
    }

    .need-inbox--has-selection .need-inbox__detail,
    .need-inbox--has-selection .need-inbox__detail-shell {
        height: 100%;
        min-height: 0;
    }
}

@media (max-width: 580px) {
    .need-conversations-page {
        padding-top: 0;
        padding-bottom: 0;
    }

    .need-conversations-page--inbox {
        width: calc(100% + var(--bs-gutter-x, 1.5rem));
        max-width: none;
        gap: 0;
        margin-left: calc(var(--bs-gutter-x, 1.5rem) / -2);
        margin-right: calc(var(--bs-gutter-x, 1.5rem) / -2);
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .need-inbox__detail-shell,
    .need-inbox__placeholder {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
    }

    .needs-type-chooser__trigger {
        padding: 0.82rem 0.9rem;
    }

    .needs-type-chooser__trigger-icon,
    .needs-type-option__icon {
        width: 2.3rem;
        height: 2.3rem;
        border-radius: 0.75rem;
    }

    .needs-type-chooser__trigger-hint {
        font-size: 0.84rem;
    }

    .needs-type-chooser-modal__grid {
        grid-template-columns: 1fr;
    }

    .need-card {
        border-radius: 0.8rem;
    }

    .need-card__trigger {
        padding: 0.78rem 0.88rem;
        align-items: flex-start;
        gap: 0.62rem;
    }

    .need-card__trigger-main {
        min-width: 0;
        gap: 0.72rem;
        align-items: flex-start;
        flex: 1;
    }

    .need-card__trigger-text {
        display: grid;
        gap: 0.42rem;
        min-width: 0;
        flex: 1;
    }

    .need-card__trigger-side {
        justify-content: flex-end;
        align-items: center;
        align-self: flex-start;
        gap: 0.45rem;
        flex-shrink: 0;
    }

    .need-card__title {
        font-size: 0.98rem;
        line-height: 1.32;
    }

    .need-card__badge {
        min-height: 1.65rem;
        padding: 0.14rem 0.55rem;
        font-size: 0.76rem;
    }

    .need-card__icon {
        width: 2.35rem;
        height: 2.35rem;
    }

    .need-card__icon svg {
        width: 1.3rem;
        height: 1.3rem;
    }

    .need-card__delete-button {
        top: 0.36rem;
        right: 0.36rem;
        min-width: 1.72rem;
        min-height: 1.72rem;
        font-size: 1rem;
    }

    .in-edition-mode .need-card--presenter .need-card__trigger {
        padding-right: 2.7rem;
    }

    .need-card__responses-pill {
        min-height: 1.6rem;
        padding: 0.12rem 0.48rem;
        font-size: 0.74rem;
    }

    .need-card__chevron {
        font-size: 1.18rem;
        margin-top: 0.04rem;
    }

    .need-response-page,
    .need-responses-page {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .need-response-page__box {
        padding: 1rem;
    }

    .need-response-page__title {
        font-size: 1.35rem;
    }

    .need-response-page__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .need-conversation-page__nav,
    .need-response-card__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .need-responses-page__title-row,
    .need-response-card__actions,
    .need-response-card__actions-main,
    .need-response-card__actions-status {
        width: 100%;
    }

    .need-responses-page__title-row,
    .need-response-card__actions {
        flex-direction: column;
    }

    .need-response-filter {
        width: 100%;
        justify-content: space-between;
    }

    .need-conversation-page {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .need-conversation-composer {
        padding: 0.9rem 0.95rem 0.95rem;
    }

    .need-conversation-thread {
        padding: 0.95rem;
    }

    .need-conversation-composer__field-wrap {
        --conversation-composer-control-size: 2.95rem;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 0.55rem;
    }

    .need-detail-panel {
        width: 100%;
        border-left: 0;
    }

    .need-detail-panel__header {
        padding: 0.95rem 0.95rem 0.85rem;
    }

    .need-detail-panel__body {
        padding: 0.95rem 0.95rem 1.2rem;
    }

    .need-detail-panel__title {
        font-size: 1.22rem;
    }

    .need-inbox__threads,
    .need-inbox__detail-shell,
    .need-inbox__placeholder {
        border-radius: 0;
        box-shadow: none;
    }

    .need-inbox__placeholder {
        padding: 0.95rem;
    }

    .need-conversations-list {
        padding: 0.82rem;
    }

    .need-inbox--has-selection .need-inbox__threads {
        display: none;
    }

    .need-inbox:not(.need-inbox--has-selection) .need-inbox__detail {
        display: none;
    }

    .need-inbox__panel-head {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.95rem;
    }

    .need-inbox__need-status-form {
        flex-wrap: wrap;
    }

    .need-conversation-summary__head,
    .need-conversation-message__meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .need-conversation-summary__meta {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

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

    .need-inbox__panel-hero {
        width: 100%;
    }

    .need-inbox__threads-tab {
        position: absolute;
        left: calc(100% - 1px);
        top: 14%;
        z-index: 2;
        border: 1px solid var(--theme-border);
        border-left: none;
        border-radius: 0 16px 16px 0;
        display: inline-flex;
        align-items: center;
        gap: 0.46rem;
        padding: 0.92rem 0.62rem;
        background: var(--theme-surface-alt);
        color: var(--theme-text);
        font-size: 0.74rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        box-shadow: 0 6px 18px color-mix(in srgb, var(--theme-bg) 40%, transparent);
        transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
    }

    .need-inbox__threads-tab:hover,
    .need-inbox__threads-tab:focus-visible {
        color: var(--theme-accent);
        border-color: var(--theme-accent);
    }

    .need-inbox__threads-tab-icon {
        width: 1.05rem;
        height: 1.05rem;
        display: block;
        transform: rotate(90deg);
        color: var(--theme-accent);
    }

    .need-conversations-page--inbox.is-mobile-threads-open .need-inbox__threads-tab {
        opacity: 0;
        pointer-events: none;
    }

    .need-inbox__mobile-thread-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 41;
        border: 0;
        padding: 0;
        background: var(--need-inbox-threads-drawer-backdrop);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .need-conversations-page--inbox.is-mobile-threads-open .need-inbox__mobile-thread-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .need-inbox__threads-mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.8rem;
        padding: 0.95rem 0.95rem 0.7rem;
        border-bottom: 1px solid var(--theme-border);
        background: var(--need-inbox-threads-drawer-section-bg);
    }

    .need-inbox__threads-mobile-title {
        font-size: 1rem;
        font-weight: 800;
        color: var(--theme-title);
    }

    .need-inbox__threads-mobile-close {
        width: 2.35rem;
        height: 2.35rem;
        padding: 0;
        border: 1px solid var(--theme-border);
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--need-inbox-threads-drawer-section-bg);
        color: var(--theme-title);
    }

    .need-inbox__threads-mobile-close svg {
        width: 0.95rem;
        height: 0.95rem;
        display: block;
    }

    .need-inbox--has-selection .need-inbox__threads {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 42;
        width: min(22rem, 88vw);
        height: auto;
        min-height: 0;
        max-width: 100%;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
        border-radius: 0;
        border-left: 0;
        border-bottom: 0;
        border-right: 1px solid var(--theme-border);
        background: var(--need-inbox-threads-drawer-bg);
        overflow: visible;
        transform: translateX(-100%);
        transition: transform 0.22s ease;
    }

    .need-conversations-page--inbox.is-mobile-threads-open .need-inbox--has-selection .need-inbox__threads {
        transform: translateX(0);
    }

    .need-inbox--has-selection .need-conversations-list {
        padding: 0.85rem;
    }

}

body.need-detail-open {
    overflow: hidden;
}

body.need-conversations-drawer-open {
    overflow: hidden;
}
