:root {
    --bg: #0b0e11;
    --fg: #f5f7fa;
    --accent: #4ecdc4;
    --accent-dark: #1a535c;
    --surface: #162029;
    --surface-alt: #1f2d3a;
    --danger: #ff6b6b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at top, rgba(78, 205, 196, 0.15), transparent 55%), var(--bg);
    color: var(--fg);
    min-height: 100vh;
}

main {
    width: min(900px, 90vw);
    margin: 0 auto;
    padding: 3rem 0 5rem;
}

h1 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    letter-spacing: 0.02em;
}

p.subtitle {
    margin-top: 0;
    color: rgba(245, 247, 250, 0.7);
}

form {
    background: linear-gradient(160deg, var(--surface), var(--surface-alt));
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    position: relative;
}

.form-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: -0.25rem 0 1.5rem;
}

.status-pill-button {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    background: rgba(11, 14, 17, 0.35);
    border: 1px solid rgba(78, 205, 196, 0.25);
    color: rgba(245, 247, 250, 0.85);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.status-pill-button::before {
    content: "";
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 0.25rem;
    border: 2px solid rgba(78, 205, 196, 0.35);
    box-shadow: inset 0 0 0 2px rgba(11, 14, 17, 0.55);
    background: rgba(78, 205, 196, 0.1);
}

.status-pill-button:hover,
.status-pill-button:focus-visible {
    background: rgba(78, 205, 196, 0.18);
    border-color: rgba(101, 226, 217, 0.9);
    box-shadow: 0 0 20px rgba(101, 226, 217, 0.2);
    transform: translateY(-1px);
    outline: none;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(11, 14, 17, 0.35);
    border: 1px solid rgba(78, 205, 196, 0.25);
    color: rgba(245, 247, 250, 0.8);
    transition: background 0.2s ease, border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    min-width: 0;
}

.status-indicator .status-icon {
    position: relative;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 0.35rem;
    border: 2px solid rgba(78, 205, 196, 0.3);
    box-shadow: inset 0 0 0 2px rgba(11, 14, 17, 0.65);
    background: rgba(78, 205, 196, 0.12);
    transition: background 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}

.status-indicator .status-icon::after {
    content: "";
    position: absolute;
    inset: 0.15rem 0.35rem 0.3rem 0.45rem;
    border-right: 2px solid transparent;
    border-bottom: 2px solid transparent;
    transform: rotate(45deg) scale(0.6);
    transform-origin: center;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.status-indicator .status-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.status-indicator .status-title {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(245, 247, 250, 0.7);
}

.status-indicator .status-description {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(245, 247, 250, 0.85);
    white-space: nowrap;
}

.status-indicator.active {
    background: rgba(78, 205, 196, 0.18);
    border-color: rgba(101, 226, 217, 0.9);
    box-shadow: 0 0 20px rgba(101, 226, 217, 0.25);
    transform: translateY(-1px);
}

.status-indicator.active .status-icon {
    background: linear-gradient(135deg, var(--accent), #65e2d9);
    border-color: rgba(11, 14, 17, 0.75);
    box-shadow: 0 0 12px rgba(78, 205, 196, 0.65);
}

.status-indicator.active .status-icon::after {
    border-right-color: var(--bg);
    border-bottom-color: var(--bg);
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

.status-indicator:not(.active) .status-description {
    color: rgba(245, 247, 250, 0.6);
}

.form-toolbar {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(78, 205, 196, 0.18);
    border: 1px solid rgba(101, 226, 217, 0.45);
    color: var(--fg);
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border 0.2s ease;
    text-decoration: none;
}

.secondary-button:hover {
    transform: translateY(-1px);
    background: rgba(101, 226, 217, 0.25);
    box-shadow: 0 12px 24px rgba(78, 205, 196, 0.25);
}

.secondary-button--danger {
    background: rgba(255, 107, 107, 0.18);
    border-color: rgba(255, 107, 107, 0.55);
}

.secondary-button--danger:hover {
    background: rgba(255, 107, 107, 0.28);
    box-shadow: 0 12px 24px rgba(255, 107, 107, 0.3);
}

.tiles-grid {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin: 2rem 0;
}

.tile-card {
    background: rgba(26, 83, 92, 0.28);
    border-radius: 14px;
    padding: 0.85rem 1.1rem;
    border: 1px solid rgba(78, 205, 196, 0.2);
    transition: transform 0.2s ease, border 0.2s ease;
    display: grid;
    grid-template-columns: 1fr minmax(110px, 140px);
    align-items: center;
    column-gap: 1rem;
}

.tile-card:hover {
    transform: translateY(-2px);
    border-color: rgba(78, 205, 196, 0.45);
}

.tile-card label {
    font-size: 1.05rem;
    margin: 0;
    font-weight: 500;
}

.tile-card select,
.tile-card input[type="number"] {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    border: none;
    background: rgba(15, 32, 39, 0.7);
    color: var(--fg);
    font-size: 1rem;
    outline: none;
}

.tile-card input[type="number"] {
    appearance: textfield;
}

.tile-card input[type="number"]::-webkit-outer-spin-button,
.tile-card input[type="number"]::-webkit-inner-spin-button {
    appearance: none;
    margin: 0;
}

button[type="submit"] {
    background: linear-gradient(135deg, var(--accent), #65e2d9);
    color: var(--bg);
    border: none;
    padding: 0.9rem 2.5rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 20px 40px rgba(78, 205, 196, 0.25);
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 45px rgba(78, 205, 196, 0.35);
}

.tilebag-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.tilebag-modal[hidden] {
    display: none;
}

.tilebag-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 14, 17, 0.8);
    backdrop-filter: blur(6px);
}

.tilebag-modal__panel {
    position: relative;
    background: linear-gradient(160deg, var(--surface), var(--surface-alt));
    border-radius: 18px;
    padding: 1.75rem;
    width: min(480px, 90vw);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(78, 205, 196, 0.35);
}

.tilebag-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.icon-button {
    background: none;
    border: none;
    color: rgba(245, 247, 250, 0.8);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.1rem 0.35rem;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.icon-button:hover {
    background: rgba(78, 205, 196, 0.18);
    color: var(--fg);
}

.tilebag-modal__body {
    max-height: min(420px, 60vh);
    overflow: auto;
    padding-right: 0.5rem;
}

.tilebag-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tilebag-list__item {
    background: rgba(11, 14, 17, 0.4);
    border-radius: 14px;
    padding: 1rem;
    border: 1px solid rgba(78, 205, 196, 0.15);
}

.tilebag-option {
    width: 100%;
    text-align: left;
    background: rgba(78, 205, 196, 0.2);
    border: 1px solid rgba(101, 226, 217, 0.4);
    color: var(--fg);
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tilebag-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(78, 205, 196, 0.28);
    background: rgba(101, 226, 217, 0.28);
}

.tilebag-contents {
    margin: 0.9rem 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 0.75rem;
}

.tilebag-contents div {
    display: contents;
}

.tilebag-contents dt {
    color: rgba(245, 247, 250, 0.7);
    font-size: 0.9rem;
}

.tilebag-contents dd {
    margin: 0;
    text-align: right;
    font-size: 0.9rem;
    font-weight: 600;
}

.tilebag-empty {
    margin: 0;
    color: rgba(245, 247, 250, 0.75);
    background: rgba(11, 14, 17, 0.35);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(78, 205, 196, 0.2);
}

.status-pill-button--accent {
    background: rgba(78, 205, 196, 0.28);
    border-color: rgba(101, 226, 217, 0.55);
    box-shadow: 0 0 22px rgba(78, 205, 196, 0.2);
}

.status-pill-button--accent::before {
    background: rgba(101, 226, 217, 0.35);
    border-color: rgba(101, 226, 217, 0.45);
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 0.25rem;
    accent-color: var(--accent);
}

.predictor-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
}

.predictor-modal[hidden] {
    display: none;
}

.predictor-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 14, 17, 0.86);
    backdrop-filter: blur(9px);
}

.predictor-modal__panel {
    position: relative;
    width: min(720px, 92vw);
    max-height: min(90vh, 900px);
    background: linear-gradient(165deg, rgba(22, 32, 41, 0.96), rgba(17, 27, 35, 0.96));
    border-radius: 20px;
    border: 1px solid rgba(101, 226, 217, 0.35);
    box-shadow: 0 36px 80px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.predictor-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.8rem 1rem;
    border-bottom: 1px solid rgba(78, 205, 196, 0.18);
}

.predictor-modal__body {
    padding: 1.5rem 1.8rem 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.predictor-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    align-items: end;
}

.predictor-score {
    font-size: clamp(2.8rem, 5vw, 3.6rem);
    font-weight: 700;
    color: var(--accent);
}

.predictor-tolerance {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 600;
    color: rgba(245, 247, 250, 0.9);
}

.predictor-confidence {
    font-weight: 600;
    color: rgba(245, 247, 250, 0.8);
}

.predictor-note {
    grid-column: 1 / -1;
    margin: 0;
    color: rgba(245, 247, 250, 0.75);
}

.predictor-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem 1.5rem;
}

.predictor-input {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    background: rgba(11, 14, 17, 0.35);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(78, 205, 196, 0.16);
}

.predictor-input label {
    font-weight: 600;
    letter-spacing: 0.03em;
}

.predictor-input input[type="range"] {
    width: 100%;
}

.predictor-input input[type="number"] {
    width: 100%;
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
    border: 1px solid rgba(101, 226, 217, 0.25);
    background: rgba(10, 18, 24, 0.8);
    color: var(--fg);
    font-size: 1rem;
}

.predictor-input-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.predictor-input-value {
    min-width: 3.5rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
    font-weight: 600;
    color: rgba(245, 247, 250, 0.85);
}

.predictor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.predictor-refresh {
    background: rgba(78, 205, 196, 0.32);
    border-color: rgba(101, 226, 217, 0.6);
}

.predictor-factors h3,
.predictor-config h3 {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(245, 247, 250, 0.75);
}

#predictor-factors-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.predictor-factor-item {
    background: rgba(11, 14, 17, 0.35);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(78, 205, 196, 0.16);
}

.predictor-factor-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.predictor-factor-label {
    font-weight: 600;
}

.predictor-factor-value {
    font-weight: 600;
    color: var(--accent);
}

.predictor-factor-description {
    margin: 0;
    color: rgba(245, 247, 250, 0.75);
    font-size: 0.95rem;
}

.predictor-factor-empty {
    margin: 0;
    color: rgba(245, 247, 250, 0.7);
    font-style: italic;
}

.predictor-config dl {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.5rem 1rem;
    margin: 0;
}

.predictor-config dt {
    font-weight: 600;
    color: rgba(245, 247, 250, 0.75);
}

.predictor-config dd {
    margin: 0;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.predictor-phase-list {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.predictor-config dd .predictor-phase-list {
    text-align: left;
}

.predictor-phase-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
    align-items: baseline;
    color: rgba(245, 247, 250, 0.72);
    font-size: 0.9rem;
}

.predictor-phase-label {
    font-weight: 600;
    color: rgba(245, 247, 250, 0.8);
    white-space: nowrap;
}

.predictor-phase-details {
    color: inherit;
}

.predictor-footnote {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(245, 247, 250, 0.6);
}

.predictor-status {
    min-height: 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.predictor-status[data-status="loading"] {
    color: rgba(101, 226, 217, 0.9);
}

.predictor-status[data-status="error"] {
    color: var(--danger);
}

@media (max-width: 720px) {
    .predictor-config dl {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .predictor-config dd {
        text-align: left;
    }
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 14, 17, 0.82);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.overlay.active {
    display: flex;
}

.overlay .panel {
    text-align: left;
    padding: 2.25rem 2.5rem;
    border-radius: 18px;
    background: rgba(31, 45, 58, 0.92);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
    width: min(520px, 90vw);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.overlay.error .panel {
    border: 1px solid rgba(255, 107, 107, 0.6);
}

.overlay-header {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.overlay .spinner {
    width: 120px;
    height: 120px;
}

.overlay .spinner-orbit {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 0 6px rgba(101, 226, 217, 0.45));
}

.overlay-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
    margin: 0;
}

.overlay-stats .full-row {
    grid-column: 1 / -1;
}

.overlay-stats div {
    background: rgba(11, 14, 17, 0.35);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(78, 205, 196, 0.15);
}

.overlay-stats dt {
    margin: 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(245, 247, 250, 0.55);
}

.overlay-stats dd {
    margin: 0.25rem 0 0;
    font-size: 1rem;
    font-weight: 600;
}

.overlay-stats .grid-backtracks {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(245, 247, 250, 0.7);
    margin-top: 0.25rem;
}

.overlay-stats #stat-attempt {
    white-space: pre-line;
}

.progress-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.progress-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(245, 247, 250, 0.8);
}

.progress-label {
    min-width: 4.5rem;
}

.progress-value {
    text-align: right;
    min-width: 3.5rem;
}

.progress-svg {
    width: 100%;
    height: 14px;
    display: block;
}

.progress-track {
    fill: rgba(11, 14, 17, 0.45);
}

.progress-fill {
    fill: var(--accent);
    transform-box: fill-box;
    transform-origin: left center;
    transform: scaleX(var(--progress, 0));
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.overlay-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.link-button {
    background: transparent;
    border: none;
    color: rgba(245, 247, 250, 0.7);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
    text-decoration: underline;
}

.link-button[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.results-container {
    background: linear-gradient(160deg, var(--surface), var(--surface-alt));
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    margin-top: 2rem;
}

.results-container h2 {
    margin-top: 0;
}

.results-container ul {
    list-style: none;
    padding: 0;
}

.results-container li + li {
    margin-top: 0.35rem;
}

.notice {
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(78, 205, 196, 0.15);
    border: 1px solid rgba(78, 205, 196, 0.4);
}

.notice--success {
    background: rgba(78, 205, 196, 0.18);
    border-color: rgba(101, 226, 217, 0.55);
}

.notice--error {
    background: rgba(255, 107, 107, 0.18);
    border-color: rgba(255, 107, 107, 0.55);
}

.preseed-form-grid {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-bottom: 1.5rem;
}

.preseed-field input[type="number"] {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    border: none;
    background: rgba(15, 32, 39, 0.7);
    color: var(--fg);
    font-size: 1rem;
    outline: none;
    appearance: textfield;
}

.preseed-field--checkbox {
    grid-column: 1 / -1;
}

.preseed-field--tilebag {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.preseed-field--tilebag .status-pill-button {
    width: 100%;
    max-width: 220px;
}

@media (min-width: 720px) {
    .preseed-field--checkbox {
        grid-column: span 2;
    }

    .preseed-field--tilebag {
        grid-column: span 1;
        align-items: center;
    }
}

.preseed-mask {
    border: 1px solid rgba(78, 205, 196, 0.18);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    background: rgba(26, 83, 92, 0.12);
    margin-bottom: 1.75rem;
}

.preseed-mask-grid {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.preseed-tiles {
    border: 1px solid rgba(78, 205, 196, 0.18);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    background: rgba(26, 83, 92, 0.15);
    margin-bottom: 1.75rem;
}

.preseed-tiles legend {
    padding: 0 0.5rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.preseed-help {
    margin-top: 0.35rem;
    margin-bottom: 1.25rem;
    color: rgba(245, 247, 250, 0.75);
}

.preseed-actions {
    display: flex;
    justify-content: flex-end;
}

.preseed-actions button[type="submit"] {
    min-width: 220px;
}

.preseeded-section {
    margin-top: 3rem;
}

.preseeded-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preseeded-card {
    background: rgba(26, 83, 92, 0.28);
    border: 1px solid rgba(78, 205, 196, 0.25);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.preseeded-card__summary h3 {
    margin: 0 0 0.35rem 0;
}

.preseeded-card__summary p {
    margin: 0.25rem 0 0 0;
    color: rgba(245, 247, 250, 0.8);
}

.inline-form {
    display: inline-block;
    margin-top: 0.75rem;
}

.preseed-empty {
    color: rgba(245, 247, 250, 0.7);
}

a.download-link {
    color: var(--accent);
    text-decoration: none;
}

a.download-link:hover {
    text-decoration: underline;
}

.error-message {
    color: var(--danger);
    font-weight: 600;
    margin-top: 1rem;
}
