/* EcoCoast Planner — Navy/white formal theme, responsive, WCAG AA */

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
    --navy:        #0f2b4c;
    --navy-dark:   #091e36;
    --navy-light:  #1a3d6b;
    --cyan:        #1a8a9e;
    --cyan-light:  #23a3ba;
    --cyan-bg:     rgba(26, 138, 158, 0.07);
    --blue-50:     #f0f7fa;
    --blue-100:    #dfedf3;
    --blue-200:    #c4dbe6;
    --blue-muted:  #6e9ab5;
    --white-pure:  #ffffff;
    --text:        #0f2b4c;
    --text-muted:  #3d6480;
    --danger:      #c0392b;
    --danger-bg:   #fdecea;
    --warning-bg:  #fef8e7;
    --info-bg:     #eaf4fb;
    --max-width:   860px;
    --font-sans:   system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--white-pure);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--cyan);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
details:focus-visible summary {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}

fieldset {
    border: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ============================================================
   Site Header
   ============================================================ */
.site-header {
    background: var(--navy);
    color: var(--white-pure);
    padding: 1.25rem 1.5rem;
    border-bottom: 3px solid var(--cyan);
}

.header-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--white-pure);
}

.site-subtitle {
    font-size: 0.875rem;
    color: var(--blue-200);
    margin-top: 0.15rem;
}

.badge {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--cyan-light);
    background: rgba(26, 138, 158, 0.15);
    border: 1px solid rgba(26, 138, 158, 0.3);
    padding: 0.2rem 0.6rem;
}

/* ============================================================
   Progress Bar — Segmented horizontal bar
   ============================================================ */
.progress-bar {
    background: var(--white-pure);
    border-bottom: 1px solid var(--blue-200);
    padding: 0 1.5rem;
}

.progress-track {
    display: flex;
    max-width: var(--max-width);
    margin: 0 auto;
}

.progress-segment {
    flex: 1;
    padding: 0.65rem 0.5rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
}

.progress-segment + .progress-segment {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-segment.filled {
    background: var(--navy);
    color: var(--white-pure);
    border-bottom-color: var(--navy);
}

.progress-segment.current {
    background: var(--cyan);
    color: var(--white-pure);
    font-weight: 700;
    border-bottom-color: var(--cyan);
}

.progress-segment.upcoming {
    background: var(--blue-50);
    color: var(--blue-muted);
    border-bottom-color: var(--blue-200);
}

.segment-link {
    color: inherit;
    text-decoration: none;
    display: block;
}

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

.segment-label {
    display: block;
}

/* Mobile progress bar */
.progress-mobile {
    display: none;
}

.progress-mobile-bar {
    height: 4px;
    background: var(--blue-200);
    overflow: hidden;
}

.progress-mobile-fill {
    height: 100%;
    background: var(--cyan);
}

.progress-mobile-text {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

/* ============================================================
   Main Content
   ============================================================ */
.main-content {
    flex: 1;
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* ============================================================
   Site Footer
   ============================================================ */
.site-footer {
    background: var(--navy-dark);
    color: var(--blue-200);
    font-size: 0.78rem;
    text-align: center;
    padding: 1rem 1.5rem;
    line-height: 1.5;
    margin-top: auto;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.15s ease;
}

.btn-continue {
    background: var(--cyan);
    color: var(--white-pure);
}

.btn-continue:hover {
    background: var(--cyan-light);
    text-decoration: none;
}

.btn-back {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--blue-200);
}

.btn-back:hover {
    background: var(--blue-50);
    text-decoration: none;
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
}

/* ============================================================
   Questionnaire Step
   ============================================================ */
.question-group {
    margin-bottom: 0.5rem;
}

.question-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.question-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.error-message {
    background: var(--danger-bg);
    color: var(--danger);
    border: 1px solid rgba(192, 57, 43, 0.25);
    padding: 0.65rem 1rem;
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
}

.map-container {
    width: 100%;
    height: 320px;
    border: 1px solid var(--blue-200);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--white-pure);
    border: 1px solid var(--blue-200);
    padding: 0.85rem 1rem;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.option-item:hover {
    border-color: var(--cyan);
    background: var(--cyan-bg);
}

.option-item input[type="radio"],
.option-item input[type="checkbox"] {
    margin-top: 0.2rem;
    accent-color: var(--cyan);
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
}

.option-item label {
    cursor: pointer;
    flex: 1;
}

.option-label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
}

.option-desc {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
    line-height: 1.45;
}

/* "Other" text input */
.other-text-container {
    margin-top: 0.5rem;
    padding-left: 2.6rem;
}

.other-text-label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.other-text-input {
    width: 100%;
    max-width: 400px;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--blue-200);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text);
    background: var(--white-pure);
    transition: border-color 0.15s ease;
}

.other-text-input:focus {
    border-color: var(--cyan);
    outline: none;
    box-shadow: 0 0 0 2px var(--cyan-bg);
}

.other-text-input::placeholder {
    color: var(--blue-muted);
}

.other-text-wrapper {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    max-width: 400px;
}

.other-text-wrapper .other-text-input {
    flex: 1;
}

.char-counter {
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
    min-width: 3.5rem;
    text-align: right;
}

/* ============================================================
   Processing Page
   ============================================================ */
.processing-page {
    text-align: center;
    padding: 2rem 0;
}

.processing-page h2 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.processing-page > p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.processing-checklist {
    list-style: none;
    display: inline-flex;
    flex-direction: column;
    gap: 0.6rem;
    text-align: left;
    margin: 0 auto;
}

.processing-checklist li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem;
}

.stage-done {
    color: var(--cyan);
}

.stage-active {
    color: var(--navy);
    font-weight: 600;
    background: var(--cyan-bg);
}

.stage-pending {
    color: var(--blue-muted);
}

.stage-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    background: var(--cyan);
    color: var(--white-pure);
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Pulsing indicator for the active stage */
.stage-active::before {
    content: "";
    display: inline-block;
    width: 0.6rem;
    height: 0.6rem;
    background: var(--cyan);
    animation: pulse 1.2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.3; }
}

/* ============================================================
   Results Page
   ============================================================ */
.results-page {
    padding-bottom: 1rem;
}

.results-header h2 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.results-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.chip {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--navy);
    background: var(--blue-50);
    border: 1px solid var(--blue-200);
    padding: 0.2rem 0.65rem;
}

.results-intro {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.55;
    margin-bottom: 0.5rem;
}

.notice {
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
}

.notice-info {
    background: var(--blue-50);
    color: var(--navy);
    border: 1px solid var(--blue-200);
}

/* Result cards */
.results-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.result-card {
    background: var(--white-pure);
    border: 1px solid var(--blue-200);
    overflow: hidden;
}

.card-header {
    background: var(--navy);
    color: var(--white-pure);
    padding: 1rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    flex: 1;
    min-width: 200px;
}

.card-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.15rem 0.5rem;
}

.verification-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.15rem 0.6rem;
}

.badge-verified {
    background: var(--cyan);
    color: var(--white-pure);
}

.badge-partial {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.card-body {
    padding: 1.25rem;
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.card-section {
    margin-bottom: 0.5rem;
}

.card-section h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--cyan);
    margin-bottom: 0.35rem;
    border-bottom: 1px solid var(--blue-100);
    padding-bottom: 0.2rem;
}

.card-section p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.55;
}

.cost-badge {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--navy);
    background: var(--blue-50);
    padding: 0.15rem 0.5rem;
    border: 1px solid var(--blue-200);
}

/* Full-width card sections */
.card-why,
.card-evidence,
.card-caveats,
.card-resources {
    grid-column: 1 / -1;
}

.card-why {
    background: var(--cyan-bg);
    padding: 0.85rem 1rem;
    border-left: 3px solid var(--cyan);
}

.card-evidence ul,
.card-resources ul {
    list-style: none;
    padding: 0;
}

.card-evidence li {
    font-size: 0.88rem;
    line-height: 1.5;
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--blue-50);
}

.card-evidence li:last-child {
    border-bottom: none;
}

.source-ref {
    font-size: 0.78rem;
    color: var(--cyan);
    font-style: normal;
    font-weight: 600;
}

.evidence-flag {
    font-size: 0.75rem;
    color: var(--danger);
    font-style: italic;
}

.card-caveats {
    background: var(--warning-bg);
    padding: 0.85rem 1rem;
    border-left: 3px solid #e0a800;
}

.card-resources li {
    padding: 0.25rem 0;
}

.card-resources a {
    font-size: 0.85rem;
    word-break: break-all;
}

/* No results */
.no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--blue-muted);
}

.no-results h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

/* How generated disclosure */
.how-generated {
    margin-top: 2rem;
    border: 1px solid var(--blue-200);
    background: var(--white-pure);
}

.how-generated summary {
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
}

.how-generated summary:hover {
    background: var(--blue-50);
}

.how-generated-content {
    padding: 0 1rem 1rem;
}

.layer-summary {
    margin-bottom: 1rem;
}

.layer-summary h4 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--cyan);
    margin-bottom: 0.3rem;
}

.layer-summary ul {
    list-style: disc;
    padding-left: 1.25rem;
    font-size: 0.85rem;
    color: var(--text);
}

.layer-summary li {
    margin-bottom: 0.2rem;
    line-height: 1.45;
}

.confidence-label {
    font-size: 0.75rem;
    color: var(--blue-muted);
    font-style: italic;
}

.results-footer {
    margin-top: 2rem;
    text-align: center;
}

/* ============================================================
   Error, Flagged & Limit Pages
   ============================================================ */
.error-page,
.flagged-page,
.limit-page {
    text-align: center;
    padding: 3rem 1rem;
}

.error-page h2,
.flagged-page h2,
.limit-page h2 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.error-page p,
.flagged-page p,
.limit-page p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 480px;
    margin: 0 auto 0.5rem;
    line-height: 1.55;
}

.error-page .nav-buttons,
.flagged-page .nav-buttons,
.limit-page .nav-buttons {
    justify-content: center;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 700px) {
    .progress-track {
        display: none;
    }

    .progress-mobile {
        display: block;
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 0.75rem 0;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

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

    .card-title {
        min-width: 0;
    }

    .question-title {
        font-size: 1.25rem;
    }

    .site-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1.25rem 1rem;
    }

    .site-header {
        padding: 1rem;
    }

    .nav-buttons {
        flex-direction: column-reverse;
        gap: 0.5rem;
    }

    .nav-buttons .btn {
        width: 100%;
    }

    .map-container {
        height: 240px;
    }
}

/* ============================================================
   User Navigation (header)
   ============================================================ */
.user-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1.5rem;
    background: var(--navy-dark);
    font-size: 0.85rem;
}

.user-nav .user-name {
    color: var(--blue-200);
    margin-right: auto;
}

.user-nav a {
    color: var(--white-pure);
    text-decoration: none;
    opacity: 0.85;
}

.user-nav a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ============================================================
   Auth Page
   ============================================================ */
.auth-page {
    max-width: 420px;
    margin: 2rem auto;
    text-align: center;
}

.auth-form {
    text-align: left;
    margin-top: 1.5rem;
}

.auth-form .form-group {
    margin-bottom: 1rem;
}

.auth-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.auth-form input[type="email"] {
    width: 100%;
    padding: 0.6rem;
    font-size: 1rem;
    border: 1px solid var(--blue-200);
    border-radius: 4px;
}

/* ============================================================
   Expert Home Page
   ============================================================ */
.expert-home {
    max-width: var(--max-width);
    margin: 0 auto;
}

.home-actions {
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.runs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.runs-table th,
.runs-table td {
    text-align: left;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--blue-100);
}

.runs-table th {
    background: var(--blue-50);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.summary-cell {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.status-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-submitted {
    background: #d4edda;
    color: #155724;
}

.status-draft {
    background: var(--warning-bg);
    color: #856404;
}

/* ============================================================
   Feedback Page
   ============================================================ */
.feedback-page {
    max-width: var(--max-width);
    margin: 0 auto;
}

.feedback-source-block {
    margin-bottom: 2.5rem;
    border-bottom: 2px solid var(--blue-100);
    padding-bottom: 2rem;
}

.feedback-source-block:last-of-type {
    border-bottom: none;
}

/* Selection recap */
.selections-recap {
    background: var(--blue-50);
    border: 1px solid var(--blue-200);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.selections-recap h4 {
    margin: 0 0 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.recap-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    margin: 0;
}

.recap-list dt {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.recap-list dt::after {
    content: ":";
}

.recap-list dd {
    margin: 0 0 0.25rem;
    font-size: 0.85rem;
}

/* Feedback form */
.feedback-form {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--white-pure);
    border: 1px solid var(--blue-200);
    border-radius: 6px;
}

.feedback-form fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.feedback-form legend {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--navy);
}

.field-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.optional-tag {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.helper-text {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

/* Rating radio group */
.rating-group {
    margin-bottom: 1rem;
}

.rating-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.rating-option {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--blue-200);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.15s;
}

.rating-option:hover {
    background: var(--cyan-bg);
}

.rating-option input:checked + span {
    font-weight: 700;
}

.rating-option:has(input:checked) {
    background: var(--cyan-bg);
    border-color: var(--cyan);
}

/* Text groups */
.text-group {
    margin-bottom: 1rem;
}

.text-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.text-group textarea {
    width: 100%;
    padding: 0.6rem;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    border: 1px solid var(--blue-200);
    border-radius: 4px;
    resize: vertical;
    min-height: 3rem;
    line-height: 1.5;
}

.text-group textarea:focus {
    outline: 2px solid var(--cyan);
    outline-offset: -1px;
    border-color: var(--cyan);
}

/* Meeting notes panel — visually distinct */
.meeting-notes-panel {
    background: #f7f7f0;
    border: 1px dashed #bbb;
    border-radius: 6px;
    padding: 0.75rem;
    position: relative;
}

.meeting-notes-badge {
    display: inline-block;
    background: #e0ddd0;
    color: #555;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Skip checkbox */
.skip-group {
    margin-top: 0.75rem;
}

.skip-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-muted);
}

/* Feedback save status indicator */
.feedback-status {
    font-size: 0.8rem;
    min-height: 1.2em;
    margin-bottom: 0.5rem;
}

.feedback-status--saving {
    color: var(--text-muted);
}

.feedback-status--saved {
    color: #27ae60;
}

.feedback-status--error {
    color: var(--danger);
}

.feedback-status--locked {
    color: var(--text-muted);
    font-style: italic;
}

/* Submit section */
.feedback-submit {
    margin-top: 2rem;
    text-align: center;
}

.btn-secondary {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--white-pure);
    color: var(--navy);
    border: 2px solid var(--navy);
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-secondary:hover {
    background: var(--blue-50);
}

/* Another pathway page */
.another-pathway {
    max-width: var(--max-width);
    margin: 2rem auto;
    text-align: center;
}

.coverage-suggestions {
    text-align: left;
    margin-top: 2rem;
    padding: 1rem;
    background: var(--blue-50);
    border-radius: 6px;
}

.suggestion-count {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================================
   Admin Dashboard
   ============================================================ */
.admin-dashboard {
    max-width: var(--max-width);
    margin: 0 auto;
}

.admin-section {
    margin-bottom: 2rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--blue-100);
}

.admin-table th {
    background: var(--blue-50);
    font-weight: 600;
    font-size: 0.85rem;
}

.export-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-link-form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.admin-link-form select {
    padding: 0.5rem;
    font-size: 0.95rem;
    border: 1px solid var(--blue-200);
    border-radius: 4px;
}

/* Stale tab notice */
.stale-tab-notice {
    text-align: center;
    font-size: 0.9rem;
}
