@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

:root {
    color-scheme: light;
    --ink: #0c2233;
    --muted: #63727d;
    --line: #dce2e4;
    --paper: #f5f3ed;
    --surface: #ffffff;
    --green: #1d7b67;
    --green-dark: #155e50;
    --mint: #ecf5f2;
    --coral: #ff5d3b;
    --coral-dark: #df4326;
}

* {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    background-color: var(--paper);
    background-image: linear-gradient(90deg, rgba(12, 34, 51, 0.035) 1px, transparent 1px), linear-gradient(rgba(12, 34, 51, 0.035) 1px, transparent 1px);
    background-size: 28px 28px;
    color: var(--ink);
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--green);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--green-dark);
}

.page-shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    padding: 22px 20px 16px;
}

.site-header,
.site-footer {
    width: min(100%, 1080px);
    margin-inline: auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

.wordmark strong {
    font-weight: 700;
}

.wordmark-mark {
    display: grid;
    width: 34px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 9px 9px 9px 3px;
    background: var(--green);
    color: white;
    font-family: Georgia, serif;
    font-size: 19px;
}

.header-note,
.site-footer {
    color: var(--muted);
    font-size: 12px;
}

.main-content {
    display: grid;
    flex: 1;
    place-items: center;
    padding-block: 44px;
}

.auth-panel {
    width: min(100%, 440px);
    padding: 36px 30px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--coral);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 14px 44px rgba(12, 34, 51, 0.07);
}

.dashboard-panel {
    width: min(100%, 1180px);
    padding: 52px 0 64px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--coral);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 7px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--coral);
}

h1 {
    margin: 0;
    color: var(--ink);
    font-family: 'Fraunces', Georgia, "Times New Roman", serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.intro {
    margin: 12px 0 26px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.auth-form {
    display: grid;
    gap: 17px;
}

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

.field label {
    font-size: 13px;
    font-weight: 600;
}

.field input {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #cbd5cd;
    border-radius: 5px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
}

.field input:focus-visible {
    border-color: var(--green);
    outline: 3px solid var(--mint);
    outline-offset: 1px;
}

.field input[aria-invalid="true"] {
    border-color: var(--coral);
}

.field-error {
    margin: 0;
    color: var(--coral);
    font-size: 12px;
    line-height: 1.4;
}

.submit-button {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 3px;
    padding: 0 15px;
    border: 1px solid var(--coral);
    border-radius: 8px;
    background: var(--coral);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
}

.submit-button:hover {
    border-color: var(--coral-dark);
    background: var(--coral-dark);
}

.submit-button:focus-visible,
a:focus-visible {
    outline: 3px solid #d7a04a;
    outline-offset: 3px;
}

.submit-button span {
    font-size: 19px;
    line-height: 1;
}

.auth-switch {
    margin: 23px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.auth-switch a {
    font-weight: 650;
}

.dashboard-panel .submit-button {
    width: auto;
    min-width: 130px;
    justify-content: center;
}

.dashboard-action {
    width: 100%;
    margin: 24px 0 14px;
    color: #fff;
    text-decoration: none;
}

.dashboard-action:hover {
    color: #fff;
}

.text-button {
    padding: 9px 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.workflow-panel {
    width: min(100%, 760px);
    padding: 34px clamp(20px, 5vw, 48px);
    border: 1px solid var(--line);
    border-top: 4px solid var(--coral);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 14px 44px rgba(12, 34, 51, 0.07);
}

.back-link,
.cancel-link {
    color: var(--green);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.back-link {
    display: inline-block;
    margin-bottom: 25px;
}

.issue-form {
    display: grid;
    gap: 19px;
}

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

.field-hint {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.category-field {
    max-width: 420px;
}

.optional-context {
    border-top: 1px solid var(--line);
    padding-top: 15px;
}

.optional-context summary {
    width: fit-content;
    color: var(--green-dark);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}

.optional-context summary span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}

.optional-context summary:focus-visible {
    border-radius: 3px;
    outline: 3px solid var(--mint);
    outline-offset: 3px;
}

.optional-context-fields {
    display: grid;
    gap: 19px;
    padding-top: 18px;
}

.issue-field[hidden] {
    display: none;
}

.submission-type {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.submission-type legend {
    margin-bottom: 3px;
    font-size: 13px;
    font-weight: 700;
}

.submission-type-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.issue-field .submission-type-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.submission-type-card:hover {
    border-color: var(--coral);
    background: #fffaf8;
}

.submission-type-card:has(.submission-type-radio:checked) {
    border-color: var(--coral);
    background: #fff3ef;
    box-shadow: inset 0 0 0 1px var(--coral);
}

.submission-type-card:has(.submission-type-radio:focus-visible) {
    outline: 3px solid rgba(255, 93, 59, .28);
    outline-offset: 3px;
}

.submission-type-card .submission-type-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 1px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.submission-type-card-content {
    display: grid;
    min-width: 0;
    gap: 6px;
}

.submission-type-card-content strong {
    color: var(--ink);
    font-size: 15px;
}

.submission-type-card-content small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}

.submission-type-card-mark {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--muted);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 13px;
    font-weight: 700;
}

.submission-type-card:has(.submission-type-radio:checked) .submission-type-card-mark {
    border-color: var(--coral);
    background: var(--coral);
    color: #fff;
}

.required-note {
    color: var(--coral-dark);
    font-size: 12px;
    font-weight: 700;
}

.issue-field label {
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
}

.issue-field input,
.issue-field select,
.issue-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid #cbd5cd;
    border-radius: 5px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
}

.issue-field textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.55;
}

.issue-field select:focus-visible,
.issue-field input:focus-visible,
.issue-field textarea:focus-visible {
    border-color: var(--green);
    outline: 3px solid var(--mint);
    outline-offset: 1px;
}

.issue-field [aria-invalid="true"] {
    border-color: var(--coral);
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 2px;
}

.form-actions .submit-button {
    max-width: 230px;
}

.cancel-link:hover,
.back-link:hover {
    color: var(--green-dark);
}

.review-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 30px;
}

.review-heading h1 {
    overflow-wrap: anywhere;
}

.status-label {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid #c4dbcb;
    border-radius: 4px;
    background: var(--mint);
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 700;
}

.issue-details {
    display: grid;
    gap: 0;
    margin: 0;
    border-top: 1px solid var(--line);
}

.issue-details > div {
    display: grid;
    grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
    gap: 18px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
}

.issue-details dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.5;
}

.issue-details dd {
    min-width: 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.preserve-lines {
    white-space: pre-wrap;
}

.review-return {
    display: inline-block;
    margin-top: 24px;
}

.success-message {
    margin: 0 0 20px;
    padding: 11px 13px;
    border-left: 3px solid var(--green);
    background: var(--mint);
    color: var(--green-dark);
    font-size: 13px;
    line-height: 1.5;
}

.empty-category-message {
    margin: 0 0 20px;
    padding: 12px 14px;
    border-left: 3px solid var(--coral);
    background: #fbefeb;
    color: #793b2e;
    font-size: 13px;
    line-height: 1.5;
}

.submit-button:disabled {
    border-color: #aebbb2;
    background: #aebbb2;
    cursor: not-allowed;
}

.media-meta,
.attachment-empty {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.media-download {
    display: inline-block;
    margin-top: 9px;
    font-size: 13px;
    font-weight: 650;
}

.media-upload-form {
    display: grid;
    max-width: 440px;
    gap: 8px;
    margin-top: 15px;
}

.media-upload-form label {
    font-size: 13px;
    font-weight: 650;
}

.media-upload-form input[type="file"] {
    max-width: 100%;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
}

.media-upload-form input[type="file"]:focus-visible {
    outline: 3px solid var(--mint);
    outline-offset: 1px;
}

.upload-hint {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.media-submit {
    justify-content: center;
    margin-top: 4px;
}

.attachment-panel {
    display: grid;
    gap: 14px;
    padding: 19px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fbfcfb;
}

.attachment-heading h2 {
    margin: 0;
    color: var(--ink);
    font-size: 16px;
}

.attachment-heading h2 span { color: var(--muted); font-size: 13px; font-weight: 500; }
.attachment-heading p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

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

.attachment-choice,
.recording-button {
    display: flex;
    min-width: 0;
    min-height: 46px;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #cbd5cd;
    border-radius: 7px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    text-align: left;
    transition: border-color .16s ease, background-color .16s ease;
}

.attachment-choice:hover,
.recording-button:hover { border-color: var(--green); background: #f2f8f5; }
.attachment-choice span { width: 22px; flex: 0 0 22px; color: var(--coral-dark); font-size: 18px; text-align: center; }
.attachment-choice:focus-visible,
.recording-button:focus-visible,
.attachment-remove:focus-visible,
.remove-attachment-note button:focus-visible { outline: 3px solid #d7a04a; outline-offset: 2px; }
.attachment-file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.issue-field input.attachment-file-input { width: 1px; min-width: 1px; min-height: 1px; padding: 0; border: 0; }
.attachment-file-input:focus-visible { outline: 3px solid var(--mint); }

.recording-divider {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 8px 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}
.recording-divider::before,
.recording-divider::after { height: 1px; flex: 1; background: #dce2e4; content: ""; }
.recording-divider[hidden] { display: none !important; }
.recording-controls {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid #dce2e4;
    border-radius: 7px;
    background: #f4f7f6;
}

.recording-controls[hidden] { display: none; }
.recording-controls[hidden],
.recording-controls [hidden],
.recording-actions [hidden],
.recording-button[hidden] { display: none !important; }
.recording-controls p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.recording-processing { display: flex; align-items: center; gap: 9px; color: var(--ink) !important; font-weight: 700; }
.recording-processing[hidden] { display: none; }
.recording-spinner { width: 15px; height: 15px; flex: 0 0 15px; border: 2px solid #cbd5cd; border-top-color: var(--green); border-radius: 50%; animation: recording-spin .8s linear infinite; }
.recording-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.recording-status[hidden] { display: none; }
.recording-indicator { display: inline-flex; align-items: center; gap: 8px; color: #a52f20; font-size: 13px; font-weight: 800; }
.recording-indicator[hidden] { display: none; }
.recording-indicator i { width: 9px; height: 9px; border-radius: 50%; background: #df4326; box-shadow: 0 0 0 4px rgba(223, 67, 38, .13); animation: recording-pulse 1.2s ease-in-out infinite; }
.recording-elapsed { color: var(--ink); font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 750; }
.recording-elapsed[hidden] { display: none; }
.recording-warning { color: #a52f20; font-size: 13px; }
.recording-warning[hidden] { display: none; }
.recording-live-preview { display: block; width: 100%; max-height: 340px; aspect-ratio: 16 / 9; border-radius: 6px; background: #0c2233; object-fit: cover; }
.recording-live-preview[hidden] { display: none; }
.recording-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.recording-button { min-height: 42px; justify-content: center; padding: 9px 13px; }
.recording-button svg,
.composer-action-button svg { display: block; width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.recording-button svg[hidden] { display: none !important; }
.recording-button-stop { border-color: var(--coral); color: var(--coral-dark); }
.recording-button-primary { border-color: var(--coral); background: var(--coral); color: #fff; }
.recording-button-primary:hover { border-color: var(--coral-dark); background: var(--coral-dark); }
.recording-button-cancel { border-color: transparent; background: transparent; color: var(--muted); }
.recording-button-cancel:hover { border-color: #cbd5cd; background: #fff; }
.recording-button[data-record-remove] { margin-left: auto; border-color: #cbd5cd; background: transparent; color: var(--muted); }
.recording-button[data-record-remove]:hover { border-color: #aebcbe; background: #fff; color: var(--ink); }
.recording-button:disabled { cursor: wait; opacity: .65; }

@keyframes recording-pulse {
    50% { opacity: .45; box-shadow: 0 0 0 7px rgba(223, 67, 38, .08); }
}

@keyframes recording-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    .recording-indicator i { animation: none; }
    .recording-spinner { animation: none; border-top-color: var(--green); }
}

@media (max-width: 520px) {
    .recording-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
    .recording-actions .recording-button { width: 100%; justify-content: flex-start; }
    .recording-button[data-record-remove] { margin-left: 0; }
}

.attachment-preview,
.saved-attachment {
    display: grid;
    gap: 12px;
    padding: 13px;
    border: 1px solid #dce2e4;
    border-radius: 7px;
    background: #fff;
}

.attachment-preview[hidden],
.saved-attachment[hidden] { display: none; }
.attachment-preview > [hidden] { display: none !important; }
.attachment-preview-header,
.saved-attachment { align-items: center; }
.attachment-preview-header { display: flex; justify-content: space-between; gap: 12px; }
.attachment-preview-header > div,
.saved-attachment > div { display: grid; min-width: 0; gap: 4px; overflow-wrap: anywhere; }
.attachment-preview-header strong,
.saved-attachment strong { color: var(--ink); font-size: 13px; }
.attachment-preview-header span,
.saved-attachment span { color: var(--muted); font-size: 11px; }
.attachment-preview img,
.attachment-preview video { display: block; width: 100%; max-height: 340px; border-radius: 5px; background: #0c2233; object-fit: contain; }
.attachment-preview audio { display: block; width: 100%; }
.attachment-remove { padding: 6px 0; border: 0; background: transparent; color: var(--coral-dark); cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.saved-attachment { grid-template-columns: minmax(0, 1fr) auto; }
.saved-attachment a { font-size: 12px; font-weight: 700; }
.saved-attachment .attachment-remove { grid-column: 1 / -1; justify-self: start; }
.remove-attachment-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.remove-attachment-note button { border: 0; background: transparent; color: var(--green-dark); cursor: pointer; font: inherit; font-weight: 700; text-decoration: underline; }

.issue-form-actions .save-draft-button {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid #aebcbe;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
}

.issue-form-actions .save-draft-button:hover { border-color: var(--green); background: #f3f8f5; }
.issue-form-actions .submit-button { margin: 0; }
.issue-form-actions .cancel-link { margin-left: auto; }
.issue-form-actions :is(.save-draft-button, .submit-button):focus-visible { outline: 3px solid #d7a04a; outline-offset: 3px; }

.empty-category-message { padding: 12px 14px; border-left: 3px solid var(--green); background: var(--mint); color: var(--ink); font-size: 13px; line-height: 1.5; }

.issue-review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.issue-review-actions .submit-button { width: auto; min-width: 150px; justify-content: center; margin: 0; text-decoration: none; }

.site-footer {
    padding-top: 16px;
    border-top: 1px solid var(--line);
    text-align: center;
}

@media (max-width: 480px) {
    .page-shell {
        padding: 16px 14px 12px;
    }

    .header-note {
        max-width: 110px;
        text-align: right;
    }

    .submission-type-options {
        grid-template-columns: minmax(0, 1fr);
    }

    .main-content {
        padding-block: 30px;
    }

    .auth-panel,
    .dashboard-panel,
    .workflow-panel {
        padding: 30px 21px;
    }

    h1 {
        font-size: 29px;
    }

    .review-heading {
        flex-direction: column;
    }

    .issue-details > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

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

    .form-actions .submit-button {
        max-width: none;
    }

    .issue-form-actions .cancel-link { margin-left: 0; }

    .saved-attachment { grid-template-columns: minmax(0, 1fr); }
    .saved-attachment .attachment-remove { grid-column: auto; }

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

    .cancel-link {
        text-align: center;
    }
}

/* -------------------------------------------------------------------------
   Resolve Your Beef dashboard
   ------------------------------------------------------------------------- */

.dashboard-panel .eyebrow {
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}

.dashboard-panel h1 {
    max-width: 850px;
    font-size: clamp(42px, 6vw, 68px);
}

.dashboard-panel .intro {
    max-width: 720px;
    margin: 24px 0 0;
    color: #475965;
    font-size: 19px;
    line-height: 1.65;
}

.dashboard-panel .prototype-copy {
    max-width: 760px;
    margin: 24px 0 0;
    padding-left: 15px;
    border-left: 3px solid #d8dedf;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0 70px;
}

.dashboard-panel .dashboard-action {
    display: inline-flex;
    width: auto;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 14px 20px;
    border-radius: 8px;
    background: var(--coral);
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 93, 59, .20);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

.dashboard-panel .dashboard-action:hover {
    background: var(--coral-dark);
    color: #fff;
    transform: translateY(-1px);
}

.issues-section {
    border-top: 1px solid var(--line);
    padding-top: 55px;
}

.issues-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.issues-section-header .eyebrow {
    margin-bottom: 10px;
}

.issues-section-header h2 {
    margin: 0;
    color: var(--ink);
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.03em;
}

.issue-count {
    padding: 8px 12px;
    border-radius: 20px;
    background: var(--mint);
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.issues-list {
    display: grid;
    gap: 16px;
}

.issue-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 12px 40px rgba(12, 34, 51, .06);
    transition: .2s ease;
}

.issue-card:hover {
    border-color: #c8d1d4;
    box-shadow: 0 18px 50px rgba(12, 34, 51, .09);
    transform: translateY(-1px);
}

.issue-card-content {
    padding: 28px 30px;
}

.issue-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}

.issue-card-meta span:first-child {
    padding: 6px 9px;
    border-radius: 20px;
    background: var(--mint);
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.issue-card h3 {
    margin: 0;
    color: var(--ink);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.issue-card p {
    max-width: 850px;
    margin: 12px 0 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.issue-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
}

.issue-card-actions .text-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.issue-card-actions .text-button:hover {
    color: var(--coral);
}

.issue-card-actions .text-button::after {
    content: '→';
    transition: transform .2s ease;
}

.issue-card-actions .text-button:hover::after {
    transform: translateX(3px);
}

.issue-no-attachment {
    color: var(--muted);
    font-size: 12px;
}

.issues-empty {
    padding: 55px 35px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
    text-align: center;
}

.issues-empty h3 {
    margin: 0;
    color: var(--ink);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 30px;
}

.issues-empty p {
    max-width: 550px;
    margin: 12px auto 24px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.dashboard-panel > form {
    margin-top: 35px;
}

.dashboard-panel > form .text-button {
    padding: 0;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
}

.dashboard-panel > form .text-button:hover {
    color: var(--coral);
}

@media (max-width: 700px) {
    .dashboard-panel {
        width: min(100% - 28px, 1180px);
        padding: 45px 0 60px;
    }

    .dashboard-panel h1 {
        font-size: 44px;
    }

    .dashboard-panel .intro {
        font-size: 17px;
    }

    .dashboard-actions {
        flex-direction: column;
        margin-bottom: 50px;
    }

    .dashboard-panel .dashboard-action {
        width: 100%;
    }

    .issues-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .issue-card-content {
        padding: 22px;
    }

    .issue-card h3 {
        font-size: 24px;
    }

    .issue-card-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}
/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(100%, 1180px);
    margin-inline: auto;
    padding: 8px 0;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.wordmark:hover {
    color: var(--ink);
}

.wordmark-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 11px 11px 11px 4px;
    background: var(--coral);
    color: #fff;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 21px;
    font-weight: 700;
}

.wordmark-text {
    font-family: 'DM Sans', sans-serif;
}

.wordmark-text strong {
    font-weight: 800;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-note {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
}

@media (max-width: 480px) {
    .site-header {
        gap: 12px;
    }

    .header-note {
        max-width: 120px;
        text-align: right;
        line-height: 1.35;
    }

    .wordmark {
        font-size: 14px;
    }

    .wordmark-mark {
        width: 34px;
        height: 34px;
        font-size: 19px;
    }
}

/* ==========================================================================
   Three-column activity dashboard
   ========================================================================== */
.auth-header-nav{display:flex;align-items:center;gap:26px}
.auth-header-nav a{color:var(--ink);font-size:13px;font-weight:700;text-decoration:none}
.auth-header-nav a:hover,.auth-header-nav a.is-active{color:var(--coral)}
.auth-header-nav .auth-header-cta{padding:11px 15px;border-radius:6px;background:var(--ink);color:#fff}
.auth-header-nav .auth-header-cta:hover{background:#16364c;color:#fff}

body:has(.social-dashboard){background:#fff;background-image:none}
body:has(.social-dashboard) .page-shell{padding:0}
body:has(.social-dashboard) .site-header{width:100%;max-width:none;padding:16px max(28px,calc((100vw - 1360px)/2));border-bottom:1px solid #e8e6df;background:#fff}
body:has(.social-dashboard) .main-content{display:block;padding:0}
body:has(.social-dashboard) .site-footer{display:none}

.social-dashboard{display:grid;grid-template-columns:220px minmax(0,780px) 240px;gap:clamp(30px,3vw,48px);width:min(calc(100% - 56px),1360px);margin:0 auto;padding:38px 0 70px}
.dashboard-sidebar{align-self:start;position:sticky;top:24px}
.dashboard-profile{display:flex;align-items:center;gap:11px;padding:4px 0 22px;border-bottom:1px solid #e7e4dc}
.dashboard-avatar{display:grid;width:40px;height:40px;flex:0 0 40px;place-items:center;border-radius:50%;background:var(--paper);color:var(--ink);font-family:'Fraunces',Georgia,serif;font-size:15px;font-weight:700}
.dashboard-profile div{display:grid;min-width:0;gap:2px}
.dashboard-profile strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.dashboard-profile span:last-child{color:var(--muted);font-size:11px}

.dashboard-nav{display:grid;gap:5px;margin:18px 0}
.dashboard-nav-item{display:grid;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:43px;padding:0 10px;border-radius:7px;color:#40515c;font-size:13px;font-weight:650;text-decoration:none}
.dashboard-nav-item:hover{background:#f7f5ef;color:var(--ink)}
.dashboard-nav-item.is-active{background:#f1efe8;color:var(--ink);font-weight:800}
.dashboard-nav-icon{font-size:17px;text-align:center}
.dashboard-nav-count{display:grid;min-width:23px;height:23px;padding:0 6px;place-items:center;border-radius:12px;background:#fff;color:var(--muted);font-size:10px}
.dashboard-primary-action,.dashboard-mobile-create{display:flex;min-height:44px;align-items:center;justify-content:center;gap:7px;border-radius:7px;background:var(--coral);color:#fff;font-size:13px;font-weight:800;text-decoration:none}
.dashboard-primary-action:hover,.dashboard-mobile-create:hover{background:var(--coral-dark);color:#fff}
.dashboard-signout{margin-top:20px;padding-top:17px;border-top:1px solid #e7e4dc}
.dashboard-signout button{padding:7px 10px;border:0;background:transparent;color:var(--muted);cursor:pointer;font:inherit;font-size:12px;font-weight:650}
.dashboard-signout button:hover{color:var(--coral)}

.dashboard-feed{min-width:0}
.dashboard-feed-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:0 0 22px}
.dashboard-kicker,.dashboard-section-label,.dashboard-side-label{color:var(--coral);font-size:10px;font-weight:800;letter-spacing:.11em}
.dashboard-feed-header h1{margin:5px 0 7px;font-size:34px;line-height:1.08}
.dashboard-feed-header p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}
.dashboard-mobile-create{display:none;padding:0 14px;white-space:nowrap}

.dashboard-tabs{display:flex;gap:24px;margin-bottom:28px;border-bottom:1px solid #e4e2db}
.dashboard-tabs a{position:relative;padding:0 2px 12px;color:var(--muted);font-size:12px;font-weight:750;text-decoration:none}
.dashboard-tabs a span{margin-left:4px;color:#8b959a;font-size:10px}
.dashboard-tabs a.is-active{color:var(--ink)}
.dashboard-tabs a.is-active::after{position:absolute;right:0;bottom:-1px;left:0;height:2px;background:var(--coral);content:''}

.dashboard-section{scroll-margin-top:24px}
.dashboard-shared-section{margin-top:48px;padding-top:38px;border-top:1px solid #e4e2db}
.dashboard-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:14px}
.dashboard-section-heading h2{margin:4px 0 0;font-family:'Fraunces',Georgia,serif;font-size:25px;line-height:1.1}
.dashboard-section-count{padding:5px 8px;border-radius:12px;background:var(--mint);color:var(--green-dark);font-size:9px;font-weight:800}

.dashboard-card-list{display:grid;gap:12px}
.dashboard-issue-card{overflow:hidden;border:1px solid #dfe3e3;border-radius:10px;background:#fff;transition:border-color .16s ease,box-shadow .16s ease}
.dashboard-issue-card:hover{border-color:#cbd2d4;box-shadow:0 8px 24px rgba(12,34,51,.055)}
.dashboard-card-main{display:block;padding:19px 21px 15px;color:inherit;text-decoration:none}
.dashboard-card-main:hover{color:inherit}
.dashboard-card-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
.dashboard-category{color:var(--coral);font-size:9px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.dashboard-status{padding:4px 7px;border:1px solid #e0e2df;border-radius:12px;background:#f7f6f2;color:#6e777c;font-size:9px;font-weight:750}
.dashboard-status.is-published{border-color:#d4e7df;background:var(--mint);color:var(--green-dark)}
.dashboard-issue-card h3{margin:0;font-family:'Fraunces',Georgia,serif;font-size:23px;line-height:1.17;letter-spacing:-.015em}
.dashboard-issue-card p{margin:8px 0 0;color:#596971;font-size:12px;line-height:1.58}
.dashboard-card-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 21px;border-top:1px solid #eceae5;background:#fdfdfb}
.dashboard-card-meta{display:flex;flex-wrap:wrap;gap:14px;color:#78848a;font-size:10px}
.dashboard-open-link{flex:0 0 auto;color:var(--ink);font-size:10px;font-weight:800;text-decoration:none}
.dashboard-open-link:hover{color:var(--coral)}
.dashboard-shared-by{color:var(--muted);font-size:10px}
.dashboard-empty{padding:42px 28px;border:1px dashed #d6dad9;border-radius:10px;background:#fbfaf7;text-align:center}
.dashboard-empty-mark{display:grid;width:38px;height:38px;margin:0 auto 12px;place-items:center;border-radius:9px 9px 9px 3px;background:var(--coral);color:#fff;font-family:'Fraunces',Georgia,serif;font-weight:700}
.dashboard-empty h3{margin:0;font-family:'Fraunces',Georgia,serif;font-size:23px}
.dashboard-empty p{max-width:470px;margin:8px auto 15px;color:var(--muted);font-size:12px;line-height:1.55}
.dashboard-empty a{font-size:11px;font-weight:800;text-decoration:none}
.dashboard-empty-compact{padding:30px 24px}

.dashboard-sidebar-right{display:grid;gap:14px}
.dashboard-summary-card,.dashboard-help-card{padding:18px;border:1px solid #ddd9d0;border-radius:9px;background:#f5f2ea}
.dashboard-summary-card h2,.dashboard-help-card h2{margin:5px 0 14px;font-family:'Fraunces',Georgia,serif;font-size:22px;line-height:1.08}
.dashboard-stats{display:grid;grid-template-columns:1fr 1fr;margin:0 0 15px;border-block:1px solid #ddd9d0}
.dashboard-stats div{display:grid;gap:1px;padding:13px 5px}
.dashboard-stats div+div{border-left:1px solid #ddd9d0;padding-left:14px}
.dashboard-stats strong{font-family:'Fraunces',Georgia,serif;font-size:24px}
.dashboard-stats span{color:var(--muted);font-size:9px}
.dashboard-side-cta{display:flex;min-height:38px;align-items:center;justify-content:center;border-radius:6px;background:var(--ink);color:#fff;font-size:11px;font-weight:800;text-decoration:none}
.dashboard-side-cta:hover{background:#17384f;color:#fff}
.dashboard-help-card ol{display:grid;gap:13px;margin:0 0 17px;padding:0;counter-reset:guide;list-style:none}
.dashboard-help-card li{position:relative;display:grid;gap:2px;padding-left:21px;counter-increment:guide}
.dashboard-help-card li::before{position:absolute;left:0;color:var(--coral);font-size:10px;font-weight:800;content:counter(guide) "."}
.dashboard-help-card li strong{font-size:10px}
.dashboard-help-card li span{color:var(--muted);font-size:9px;line-height:1.45}
.dashboard-help-card>a{color:var(--ink);font-size:9px;font-weight:800;text-decoration:none}

@media(max-width:1050px){
 .social-dashboard{grid-template-columns:190px minmax(0,1fr);width:min(calc(100% - 40px),960px);gap:28px}
 .dashboard-sidebar-right{display:none}
}
@media(max-width:720px){
 body:has(.social-dashboard) .site-header{padding:13px 16px}
 .auth-header-nav{gap:12px}
 .auth-header-nav>a:not(.auth-header-cta){display:none}
 .auth-header-nav .auth-header-cta{padding:9px 11px;font-size:11px}
 .social-dashboard{display:block;width:min(calc(100% - 28px),680px);padding:24px 0 50px}
 .dashboard-sidebar-left{position:static;margin-bottom:22px}
 .dashboard-profile,.dashboard-primary-action,.dashboard-signout{display:none}
 .dashboard-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:0;padding:5px;border:1px solid #e4e2db;border-radius:9px;background:#f8f7f3}
 .dashboard-nav-item{display:flex;min-height:38px;justify-content:center;padding:0 8px;font-size:11px}
 .dashboard-nav-icon,.dashboard-nav-count{display:none}
 .dashboard-feed-header h1{font-size:29px}
 .dashboard-mobile-create{display:flex}
 .dashboard-card-footer{align-items:flex-start;flex-direction:column;gap:8px}
}
@media(max-width:480px){
 .dashboard-feed-header{display:block}
 .dashboard-mobile-create{margin-top:15px}
 .dashboard-tabs{margin-top:3px}
 .dashboard-card-main{padding:17px 16px 13px}
 .dashboard-card-footer{padding:10px 16px}
 .dashboard-issue-card h3{font-size:21px}
 .dashboard-section-heading{align-items:flex-start}
}

/* Guided issue composer — append to auth.css */

.issue-composer{width:min(100%,860px);padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.composer-intro{max-width:690px}
.issue-composer h1{font-size:clamp(38px,5vw,58px)}
.issue-composer .intro{max-width:650px;margin-bottom:20px;font-size:16px}
.composer-progress{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:30px 0 14px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.composer-progress[hidden]{display:none!important}
.composer-progress>span{display:flex;align-items:center;gap:8px;color:#8a969c;font-size:11px;font-weight:750}
.composer-progress b{display:grid;width:25px;height:25px;place-items:center;border:1px solid #d7dddf;border-radius:50%;background:#fff;font-size:10px}
.composer-progress .is-active,.composer-progress .is-complete{color:var(--ink)}
.composer-progress .is-active b{border-color:var(--coral);color:var(--coral)}
.composer-progress .is-complete b{border-color:var(--green);background:var(--mint);color:var(--green)}
.composer-privacy{max-width:none!important;margin:0 0 26px!important;padding:11px 13px!important;border:0!important;border-radius:7px;background:#f5f3ed;color:var(--muted)!important}
.composer-step-label{display:flex;align-items:flex-start;gap:12px;margin:6px 0 -3px}
.composer-step-label>span{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border-radius:9px;background:#fff0ec;color:var(--coral);font-size:10px;font-weight:800}
.composer-step-label>div{display:grid;gap:2px}
.composer-step-label strong{font-family:'Fraunces',Georgia,serif;font-size:20px;line-height:1.2}
.composer-step-label small{color:var(--muted);font-size:11px;line-height:1.45}
.issue-composer .issue-form{gap:20px}
.composer-primary-field{padding:22px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 16px 36px rgba(12,34,51,0.02)}
.composer-primary-field:focus-within{border-color:#a8c8be;box-shadow:0 0 0 3px var(--mint)}
.composer-primary-field label{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.composer-primary-field input,.composer-primary-field textarea{padding:14px 0 8px;border:0;border-bottom:1px solid #e2e5e3;border-radius:0;background:transparent;font-size:clamp(24px,3vw,40px);line-height:1.2;letter-spacing:-.03em}
.composer-primary-field textarea{min-height:180px;font-size:17px;line-height:1.6;letter-spacing:0}
.composer-primary-field input:focus-visible,.composer-primary-field textarea:focus-visible{border-color:var(--green);outline:0}
.composer-field-meta{display:flex;justify-content:space-between;gap:18px;color:var(--muted);font-size:10px}
.composer-field-meta .field-hint{font-size:10px}
.composer-category{display:grid;grid-template-columns:1fr;align-items:center;gap:18px;padding:20px 18px;border:1px solid var(--line);border-radius:14px;background:#faf9f6}
.composer-category select{min-height:42px}
.composer-context{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 10px 25px rgba(12,34,51,0.02)}
.composer-context>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;cursor:pointer;list-style:none}
.composer-context>summary::-webkit-details-marker{display:none}
.summary-main{display:flex;align-items:center;gap:12px}
.summary-main>b{display:grid;width:34px;height:34px;place-items:center;border-radius:9px;background:#f2f0e9;color:var(--ink);font-size:10px}
.summary-main>span{display:grid;gap:2px}
.summary-main strong{font-family:'Fraunces',Georgia,serif;font-size:18px}
.summary-main small{color:var(--muted);font-size:10px}
.summary-toggle{padding:5px 8px;border-radius:12px;background:var(--mint);color:var(--green-dark);font-size:9px;font-weight:800}
.composer-context[open] .summary-toggle{background:#fff0ec;color:var(--coral)}
.composer-context .optional-context-fields{padding:4px 20px 22px;border-top:1px solid #eceae5}
.composer-outcome-label{margin-top:10px}
.composer-ready{display:flex;align-items:center;gap:11px;padding:13px 15px;border:1px solid #d8e5df;border-radius:8px;background:var(--mint)}
.composer-ready[hidden]{display:none!important}
.composer-ready-dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:var(--green)}
.composer-ready>div{display:grid;gap:2px}
.composer-ready strong{font-size:11px}
.composer-ready small{color:var(--muted);font-size:10px}
.composer-stage-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid #edf0ed}
.account-continue-guidance{margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.5}
.composer-context-actions{justify-content:space-between}
.composer-action-button{display:inline-flex;min-height:48px;align-items:center;justify-content:center;gap:9px;padding:0 15px;border:1px solid transparent;border-radius:8px;cursor:pointer;font:inherit;font-size:14px;font-weight:650;line-height:1.2;text-decoration:none;transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease}
.composer-action-button svg{width:16px;height:16px;flex-basis:16px}
.composer-action-button-primary{border-color:var(--coral);background:var(--coral);color:#fff}
.composer-action-button-primary:hover{border-color:var(--coral-dark);background:var(--coral-dark)}
.composer-action-button-quiet{border-color:#aebcbe;background:#fff;color:var(--ink)}
.composer-action-button-quiet:hover{border-color:var(--green);background:#f3f8f5}
.composer-action-button:focus-visible{outline:3px solid #d7a04a;outline-offset:3px}
.composer-action-button:disabled{cursor:not-allowed;opacity:.55}
.issue-composer [data-stage-panel][hidden],.issue-composer [data-account-tools][hidden]{display:none!important}
.issue-composer .account-mode-tools[hidden],.issue-composer .recording-controls[hidden]{display:none!important}
.account-mode-stage{display:grid;gap:12px;margin:0;padding:20px;border:1px solid var(--line);border-radius:14px;background:#fff}
.account-mode-stage>legend{padding:0 5px;color:var(--ink);font:700 22px/1.25 'Fraunces',Georgia,serif}
.account-mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.account-mode-choice{position:relative;display:grid;min-width:0;min-height:78px;grid-template-columns:28px minmax(0,1fr);align-content:center;align-items:center;gap:3px 9px;padding:9px 11px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}
.account-mode-choice:has(input:checked){border-color:var(--green);background:var(--mint);box-shadow:inset 0 0 0 1px rgba(29,123,103,.14)}
.account-mode-choice:has(input:checked)::after{position:absolute;top:7px;right:8px;display:grid;width:16px;height:16px;place-items:center;border-radius:50%;background:var(--green);color:#fff;content:"✓";font-size:10px;font-weight:800}
.account-mode-choice:has(input:focus-visible){outline:3px solid #d7a04a;outline-offset:2px}
.account-mode-choice input{position:absolute;min-width:44px;min-height:44px;margin:0;opacity:0}
.account-mode-icon{display:grid;width:28px;height:28px;grid-row:span 2;place-items:center;border-radius:7px;background:#f2f0e9;color:var(--ink);font-size:18px;font-weight:750;line-height:1}
.account-mode-icon-pdf{font-size:18px}
.account-mode-choice strong{padding-inline-end:18px;font-size:12px;line-height:1.3;overflow-wrap:anywhere}
.account-mode-choice small{grid-column:2;color:var(--muted);font-size:10px;line-height:1.35;overflow-wrap:anywhere}
.account-mode-choice input:focus-visible~.account-mode-icon{outline:3px solid #d7a04a;outline-offset:3px}
.account-mode-required{margin:0;color:var(--muted);font-size:11px;line-height:1.45}
.account-mode-required[hidden]{display:none!important}
.account-mode-tools{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:13px;border:1px dashed #ccd4d3;border-radius:8px;background:#fafaf8}
.account-mode-tools p{flex:1 1 100%;margin:0;color:var(--muted);font-size:11px;line-height:1.5}
.account-mode-tools .attachment-choice{min-height:40px}
.composer-details-stage{padding:20px}
.composer-context-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:15px;border-bottom:1px solid #eceae5}
.composer-details-stage .optional-context-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:17px 0 2px}
.composer-details-stage .issue-field:last-child{grid-column:1/-1}
.composer-details-stage .issue-field label span{color:var(--muted);font-size:10px;font-weight:500;text-transform:none;letter-spacing:0}
.review-ready-note{align-self:center;color:var(--muted);font-size:11px}
.live-account-mode{display:block;margin-top:6px;color:var(--muted);font-size:10px}
.composer-review{display:grid;gap:16px;padding:24px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 18px 40px rgba(12,34,51,0.03)}
.composer-review-header h2{margin:0;color:var(--ink);font-size:clamp(28px,4vw,38px);line-height:1.1}
.review-summary-card{display:grid;gap:12px;padding:18px;border:1px solid #e5e9e7;border-radius:12px;background:#faf9f6}
.review-summary-row{display:grid;gap:6px;padding-bottom:12px;border-bottom:1px solid #edf0ed}
.review-summary-row:last-child{padding-bottom:0;border-bottom:0}
.review-summary-row>span{font-size:11px;font-weight:700;letter-spacing:.08em;color:var(--muted);text-transform:uppercase}
.review-summary-row strong,.review-summary-row p,.review-summary-row li{margin:0;color:var(--ink);font-size:14px;line-height:1.55}
.review-summary-row p,.review-summary-row ul{margin:0}
.review-summary-row ul{padding-left:18px}
.composer-review-actions{display:flex;flex-wrap:wrap;gap:10px}
.composer-review-actions-bar{padding-top:0;border-top:0}
.public-button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}
.composer-actions{display:grid;grid-template-columns:auto auto 1fr;align-items:center}
.issue-composer .composer-actions[hidden]{display:none!important}
.composer-actions .submit-button{justify-self:end;min-width:210px}
.issue-composer .attachment-panel{margin-top:8px;padding:18px;border:1px dashed #ccd4d3;border-radius:9px;background:#fafaf8}
.issue-composer .attachment-actions{grid-template-columns:repeat(4,minmax(0,1fr))}
.issue-composer .attachment-choice{min-height:74px}

@media(max-width:700px){
 .issue-composer{width:100%;padding:0!important}
 .composer-progress{grid-template-columns:1fr;gap:7px}
 .account-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .account-mode-choice{min-height:78px;padding:9px}
 .composer-context-heading{align-items:flex-start}
 .composer-details-stage .optional-context-fields{grid-template-columns:1fr;gap:13px}
 .composer-details-stage .issue-field:last-child{grid-column:auto}
 .composer-review{padding:18px}
 .review-ready-note{display:none}
 .composer-progress>span{padding:5px 0}
 .composer-stage-actions .composer-action-button{flex:1 1 0}
 .composer-category{grid-template-columns:1fr;gap:8px}
 .composer-context>summary{align-items:flex-start}
 .summary-main small{display:none}
 .composer-field-meta{align-items:flex-start}
 .composer-actions{grid-template-columns:1fr 1fr;gap:12px}
 .composer-actions .submit-button{grid-column:1/-1;grid-row:1;width:100%;min-width:0}
 .composer-actions .save-draft-button{width:100%}
 .composer-actions .cancel-link{text-align:center}
 .issue-composer .attachment-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:360px){
 .account-mode-grid{grid-template-columns:minmax(0,1fr)}
}

.composer-primary-field[hidden],
.composer-category[hidden] { display: none !important; }

.composer-category { min-width: 0; margin: 0; }
.composer-category legend { padding: 0; color: var(--ink); font-size: 12px; font-weight: 700; }
.category-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.category-choice { position: relative; display: inline-flex; min-height: 42px; align-items: center; cursor: pointer; }
.category-choice input { position: absolute; width: 1px; height: 1px; min-height: 1px; margin: 0; padding: 0; opacity: 0; }
.category-choice span { display: inline-flex; min-height: 42px; align-items: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #344754; font-size: 12px; font-weight: 650; transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.category-choice input:checked + span { border-color: var(--green); background: var(--mint); color: var(--green-dark); box-shadow: inset 0 0 0 1px rgba(29,123,103,0.14); }
.category-choice input:focus-visible + span { outline: 3px solid #d7a04a; outline-offset: 2px; }

.optional-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.optional-choice { min-width: 0; border: 1px solid #e0e5e2; border-radius: 8px; background: #fff; }
.optional-choice > summary { display: flex; min-height: 48px; align-items: center; padding: 10px 13px; color: #344754; cursor: pointer; font-size: 12px; font-weight: 700; list-style: none; }
.optional-choice > summary::-webkit-details-marker { display: none; }
.optional-choice > summary:focus-visible { outline: 3px solid #d7a04a; outline-offset: 2px; }
.optional-choice[open] > summary { border-bottom: 1px solid #edf0ed; color: var(--green-dark); }
.optional-choice > .issue-field { padding: 12px; }
.optional-media-choice { grid-column: 1 / -1; }
.optional-choice .attachment-panel { margin: 0; border: 0; background: transparent; }

.publish-preview { width: min(620px, calc(100vw - 32px)); max-width: none; max-height: min(82vh, 760px); padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 80px rgba(12, 34, 51, .25); }
.publish-preview::backdrop { background: rgba(12, 34, 51, .58); }
.publish-preview-header { padding: 23px 25px 17px; border-bottom: 1px solid var(--line); }
.publish-preview-header .public-eyebrow { margin-bottom: 5px; }
.publish-preview-header h2 { margin: 0; color: var(--ink); font: 700 25px/1.15 'Fraunces', Georgia, serif; }
.publish-preview-content { padding: 22px 25px; }
.publish-preview-category { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: var(--mint); color: var(--green-dark); font-size: 11px; font-weight: 750; }
.publish-preview-content h3 { margin: 14px 0 7px; color: var(--ink); font: 700 23px/1.2 'Fraunces', Georgia, serif; overflow-wrap: anywhere; }
.publish-preview-content > p { margin: 0; color: #344754; font-size: 14px; line-height: 1.65; }
.publish-preview-context { display: grid; grid-template-columns: minmax(110px, .35fr) 1fr; gap: 8px 14px; margin: 18px 0 0; padding-top: 15px; border-top: 1px solid #edf0ed; }
.publish-preview-context:empty { display: none; }
.publish-preview-context dt { color: var(--muted); font-size: 11px; font-weight: 700; }
.publish-preview-context dd { min-width: 0; margin: 0; color: var(--ink); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.publish-preview-media { margin-top: 14px !important; color: var(--muted) !important; font-size: 12px !important; }
.publish-preview-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 15px 25px; border-top: 1px solid var(--line); }
.publish-preview-actions .public-button { min-height: 42px; cursor: pointer; }

@media(max-width:700px){
    .category-choices { gap: 7px; }
    .category-choice span { min-height: 44px; padding-inline: 11px; }
    .optional-choice-grid { grid-template-columns: 1fr; }
    .optional-media-choice { grid-column: auto; }
    .publish-preview-header,.publish-preview-content { padding-inline: 19px; }
    .publish-preview-actions { position: sticky; bottom: 0; flex-direction: column-reverse; padding: 12px 19px; background: #fff; }
    .publish-preview-actions .public-button { width: 100%; }
}

.composer-primary-field[hidden],
.composer-category[hidden] { display: none !important; }

.composer-category {
    min-width: 0;
    margin: 0;
}

.composer-category legend {
    padding: 0;
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
}

.category-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.category-choice {
    position: relative;
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    cursor: pointer;
}

.category-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.category-choice span {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: #344754;
    font-size: 12px;
    font-weight: 650;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.category-choice input:checked + span {
    border-color: var(--green);
    background: var(--mint);
    color: var(--green-dark);
}

.category-choice input:focus-visible + span {
    outline: 3px solid #d7a04a;
    outline-offset: 2px;
}

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

.optional-choice {
    min-width: 0;
    border: 1px solid #e0e5e2;
    border-radius: 8px;
    background: #fff;
}

.optional-choice > summary {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 10px 13px;
    color: #344754;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    list-style: none;
}

.optional-choice > summary::-webkit-details-marker { display: none; }
.optional-choice > summary:focus-visible { outline: 3px solid #d7a04a; outline-offset: 2px; }
.optional-choice[open] > summary { border-bottom: 1px solid #edf0ed; color: var(--green-dark); }
.optional-choice > .issue-field { padding: 12px; }
.optional-media-choice { grid-column: 1 / -1; }
.optional-choice .attachment-panel { margin: 0; border: 0; background: transparent; }

.publish-preview {
    width: min(620px, calc(100vw - 32px));
    max-width: none;
    max-height: min(82vh, 760px);
    padding: 0;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 24px 80px rgba(12, 34, 51, .25);
}

.publish-preview::backdrop { background: rgba(12, 34, 51, .58); }
.publish-preview-header { padding: 23px 25px 17px; border-bottom: 1px solid var(--line); }
.publish-preview-header .public-eyebrow { margin-bottom: 5px; }
.publish-preview-header h2 { margin: 0; color: var(--ink); font: 700 25px/1.15 'Fraunces', Georgia, serif; }
.publish-preview-content { padding: 22px 25px; }
.publish-preview-category { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: var(--mint); color: var(--green-dark); font-size: 11px; font-weight: 750; }
.publish-preview-content h3 { margin: 14px 0 7px; color: var(--ink); font: 700 23px/1.2 'Fraunces', Georgia, serif; overflow-wrap: anywhere; }
.publish-preview-content > p { margin: 0; color: #344754; font-size: 14px; line-height: 1.65; }
.publish-preview-context { display: grid; grid-template-columns: minmax(110px, .35fr) 1fr; gap: 8px 14px; margin: 18px 0 0; padding-top: 15px; border-top: 1px solid #edf0ed; }
.publish-preview-context:empty { display: none; }
.publish-preview-context dt { color: var(--muted); font-size: 11px; font-weight: 700; }
.publish-preview-context dd { min-width: 0; margin: 0; color: var(--ink); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.publish-preview-media { margin-top: 14px!important; color: var(--muted)!important; font-size: 12px!important; }
.publish-preview-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 15px 25px; border-top: 1px solid var(--line); }
.publish-preview-actions .public-button { min-height: 42px; cursor: pointer; }

@media(max-width:700px){
    .category-choices { gap: 7px; }
    .category-choice span { min-height: 42px; padding-inline: 11px; }
    .optional-choice-grid { grid-template-columns: 1fr; }
    .optional-media-choice { grid-column: auto; }
    .publish-preview-header,.publish-preview-content { padding-inline: 19px; }
    .publish-preview-actions { position: sticky; bottom: 0; flex-direction: column-reverse; padding: 12px 19px; background: #fff; }
    .publish-preview-actions .public-button { width: 100%; }
}


/* Two-column interactive issue composer with persistent live preview */
.issue-composer { width: min(100%, 1320px) !important; max-width: 1320px !important; }
.issue-composer .composer-intro { max-width: 800px; }
.composer-workspace { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); gap: 30px; align-items: start; }
.composer-editor { min-width: 0; }
.composer-live-preview { min-width: 0; position: sticky; top: 25px; padding: 20px; background: #f5f3ed; border: 1px solid #e3e0d8; border-radius: 13px; }
.live-preview-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.live-preview-eyebrow { color: #d84a2e; font-size: 10px; letter-spacing: .13em; font-weight: 800; }
.live-preview-top h2 { margin: 6px 0 0; font: 700 19px/1.2 'Fraunces', Georgia, serif; color: #0c2233; }
.live-preview-status { background: #e8eee9; color: #477160; border-radius: 20px; padding: 5px 9px; font-size: 10px; font-weight: 800; }
.live-issue-card { padding: 24px; border: 1px solid #e0e4e2; border-radius: 12px; background: white; box-shadow: 0 10px 25px rgba(12,34,51,.035); overflow-wrap: anywhere; }
.live-author { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.live-avatar { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; background: #ffede8; color: #e45135; font-weight: 800; }
.live-author div { display: grid; gap: 3px; }
.live-author strong { font-size: 12px; color: #0c2233; }
.live-author small { color: #849098; font-size: 10px; }
.live-category { color: #e45135; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
.live-issue-card h3 { margin: 9px 0 12px; font: 700 27px/1.15 'Fraunces', Georgia, serif; color: #0c2233; }
.live-story { white-space: pre-wrap; color: #4b5c66; font-size: 13px; line-height: 1.7; }
.live-attachment { margin-top: 17px; border-radius: 8px; overflow: hidden; background: #f5f3ed; }
.live-attachment img, .live-attachment video { display: block; max-width: 100%; width: 100%; max-height: 270px; object-fit: contain; }
.live-attachment audio { display: block; width: 100%; }
.live-attachment [hidden] { display: none !important; }
.live-attachment span { display: block; padding: 15px; font-size: 12px; }
.live-extra { margin-top: 16px; border-left: 3px solid #ff5d3b; padding-left: 12px; color: #5b6970; font-size: 12px; }
.live-extra > div + div { margin-top: 9px; }
.live-extra strong { color: #0c2233; }
.live-extra p { margin: 4px 0 0; white-space: pre-wrap; }
.live-footer { display: flex; gap: 20px; border-top: 1px solid #edf0ee; padding-top: 15px; margin-top: 20px; color: #859198; font-size: 11px; }
.live-preview-footnote { margin: 13px 3px 0; color: #7c898f; font-size: 11px; line-height: 1.55; }
@media (max-width: 1000px) { .composer-workspace { grid-template-columns: minmax(0,1fr) minmax(290px,.85fr); gap: 18px; } .composer-live-preview { padding: 13px; } .live-issue-card { padding: 17px; } }
@media (max-width: 760px) { .composer-workspace { grid-template-columns: minmax(0,1fr); } .composer-live-preview { position: static; } .issue-composer { width: 100% !important; } }


/* Accessible discussion and owner actions. */
.owner-remove-link{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;margin:10px 0;border:1px solid #8b3530;border-radius:8px;color:#8b3530;font-size:16px;font-weight:700;text-decoration:underline}
.content-removed{padding:16px;border-left:4px solid #516b67;background:#eef4f2;color:#263c38;font-size:16px}
.dashboard-discover{padding:24px;margin:20px 0;border:2px solid #347e72;border-radius:14px;background:#eef7f4}.dashboard-discover h2{margin-top:0}.dashboard-discover .dashboard-primary-action{width:fit-content}
.auth-header-nav>a,.public-nav-link{font-size:16px;min-height:44px;display:inline-flex;align-items:center}
.public-body .comment-reply-toggle,.public-body .comment-replies>summary{font-size:16px;font-weight:700;min-height:44px;padding:12px 16px;border:2px solid #347e72;border-radius:8px;background:#edf7f4;color:#195d53;cursor:pointer}
.public-body .comment-actions{gap:12px;flex-wrap:wrap;align-items:flex-start}.public-body .comment-replies{min-width:0;flex:1}.public-body .comment-item{border-left:4px solid #347e72;padding-left:16px}.public-body .comment-meta{font-size:16px;color:#263c38}.public-body .discussion-jump{margin:20px 0}.public-body .activity-list li{display:flex;flex-wrap:wrap;gap:8px}
.owner-remove-link:focus-visible,.public-body summary:focus-visible{outline:3px solid #e45c38;outline-offset:3px}

@media(max-width:700px){.auth-header-nav{flex-wrap:wrap;gap:8px 14px}.auth-header-nav>a:not(.auth-header-cta){display:inline-flex;font-size:16px}.site-header{flex-wrap:wrap}.public-body .comment-actions{display:block}.public-body .comment-actions>button,.public-body .comment-actions>details{margin:10px 0}.public-body .comment-replies>summary{width:100%;box-sizing:border-box}.public-body .comment-replies-more,.public-body .comment-reply-cancel{font-size:16px;min-height:44px}}

/* Readable activity cards, including supporting text and status labels. */
.social-dashboard .dashboard-feed-header p,
.social-dashboard .dashboard-issue-card p,
.social-dashboard .dashboard-discover p,
.social-dashboard .dashboard-empty p{font-size:18px;line-height:1.6;color:#334b58}
.social-dashboard .dashboard-nav-item,
.social-dashboard .dashboard-tabs a,
.social-dashboard .dashboard-card-meta,
.social-dashboard .dashboard-shared-by,
.social-dashboard .dashboard-status,
.social-dashboard .dashboard-section-count,
.social-dashboard .dashboard-nav-count,
.social-dashboard .dashboard-tabs a span{font-size:16px;line-height:1.5;color:#334b58}
.social-dashboard .dashboard-category,
.social-dashboard .dashboard-kicker,
.social-dashboard .dashboard-section-label,
.social-dashboard .dashboard-side-label{font-size:16px;line-height:1.5;letter-spacing:.04em;color:#a63822}
.social-dashboard .dashboard-primary-action,
.social-dashboard .dashboard-mobile-create,
.social-dashboard .dashboard-side-cta,
.social-dashboard .dashboard-open-link,
.social-dashboard .dashboard-empty a,
.social-dashboard .dashboard-help-card>a{font-size:18px;line-height:1.5;min-height:48px;padding:10px 14px;box-sizing:border-box}
.social-dashboard .dashboard-open-link{display:inline-flex;align-items:center;padding-left:0}
.social-dashboard .dashboard-card-topline,
.social-dashboard .dashboard-section-heading,
.social-dashboard .dashboard-card-footer{flex-wrap:wrap;gap:10px 16px}
.social-dashboard .dashboard-card-topline{align-items:flex-start}
.social-dashboard .dashboard-card-topline>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
.social-dashboard .dashboard-status,
.social-dashboard .dashboard-section-count{padding:5px 10px;flex-shrink:0;height:auto;border-radius:16px}
.social-dashboard .dashboard-card-meta{gap:8px 16px}
.social-dashboard .dashboard-issue-card h3{font-size:24px;line-height:1.3;overflow-wrap:anywhere}
.social-dashboard .dashboard-profile strong{font-size:18px;white-space:normal}
.social-dashboard .dashboard-profile span:last-child,
.social-dashboard .dashboard-signout button,
.social-dashboard .dashboard-stats span,
.social-dashboard .dashboard-help-card li strong,
.social-dashboard .dashboard-help-card li span,
.social-dashboard .dashboard-help-card li::before{font-size:16px;line-height:1.5;color:#334b58}
.social-dashboard .dashboard-tabs{flex-wrap:wrap;gap:12px 24px}
@media(max-width:720px){
 .social-dashboard .dashboard-nav{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}
 .social-dashboard .dashboard-nav-item{min-height:48px;padding:8px;text-align:center}
 .social-dashboard .dashboard-card-footer{align-items:stretch}
 .social-dashboard .dashboard-section-heading{align-items:flex-start}
 .social-dashboard .dashboard-discover .dashboard-primary-action{display:flex;width:100%;margin-top:16px}
}
