:root {
    --fuse-ink: #15221b;
    --fuse-muted: #5e6a63;
    --fuse-border: #d9e1db;
    --fuse-surface: #f8fbf8;
    --fuse-mint: #dff2e4;
    --fuse-green: #23884b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: linear-gradient(135deg, #f7faf5 0%, #edf5ef 48%, #f9f6ef 100%);
    color: var(--fuse-ink);
    font-family: "Aptos", "Segoe UI", sans-serif;
}

.fuse-shell-header {
    align-items: center;
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid var(--fuse-border);
    display: flex;
    justify-content: space-between;
    padding: 1rem clamp(1rem, 3vw, 3rem);
    position: sticky;
    top: 0;
}

.fuse-shell-identity {
    align-items: flex-end;
    display: grid;
    gap: 0.1rem;
    justify-items: end;
}

.fuse-shell-identity span {
    font-weight: 800;
}

.fuse-shell-identity small {
    color: var(--fuse-muted);
}

.fuse-shell-mark {
    color: var(--fuse-ink);
    font-weight: 800;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 1rem;
}

nav a,
.button-link {
    color: var(--fuse-green);
    font-weight: 700;
    text-decoration: none;
}

.fuse-shell-main {
    margin: 0 auto;
    max-width: 1120px;
    padding: clamp(1rem, 4vw, 3rem);
}

.fuse-hero {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--fuse-border);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(21, 34, 27, 0.08);
    padding: clamp(1.5rem, 5vw, 4rem);
}

.eyebrow,
.label {
    color: var(--fuse-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.2rem, 6vw, 4.8rem);
    line-height: 0.94;
    margin: 0.25rem 0 1rem;
}

h2 {
    margin-top: 0;
}

p {
    color: var(--fuse-muted);
    font-size: 1.05rem;
    line-height: 1.55;
}

.fuse-grid,
.fuse-card-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 1.25rem;
}

.fuse-grid article,
.fuse-card,
.fuse-boundary-note,
.fuse-alert,
.fuse-empty-state,
.fuse-table-shell,
.fuse-form-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--fuse-border);
    border-radius: 20px;
    padding: 1.25rem;
}

.fuse-form-card,
.fuse-decision-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
    max-width: 520px;
}

.fuse-form-card label,
.fuse-decision-form label {
    display: grid;
    font-weight: 800;
    gap: 0.4rem;
}

.fuse-form-card input:not([type="checkbox"]),
.fuse-decision-form textarea {
    border: 1px solid var(--fuse-border);
    border-radius: 12px;
    font: inherit;
    padding: 0.8rem;
}

.fuse-checkbox {
    align-items: center;
    display: flex !important;
    flex-direction: row;
}

.fuse-form-card button,
.fuse-decision-actions button {
    background: var(--fuse-green);
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 0.85rem 1.2rem;
}

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

.fuse-decision-actions button.danger {
    background: #9d2c2c;
}

.fuse-card {
    display: grid;
    gap: 0.45rem;
}

.fuse-card strong {
    font-size: 1.05rem;
}

.fuse-card small {
    color: var(--fuse-muted);
}

.fuse-alert {
    background: var(--fuse-mint);
    margin-top: 1rem;
}

.fuse-alert span {
    display: block;
    margin-top: 0.4rem;
}

.fuse-boundary-note {
    margin-top: 1.25rem;
}

.fuse-empty-state,
.fuse-table-shell {
    margin-top: 1.25rem;
}

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

th,
td {
    border-bottom: 1px solid var(--fuse-border);
    padding: 0.8rem;
    text-align: left;
    vertical-align: top;
}

td small {
    color: var(--fuse-muted);
    display: block;
    margin-top: 0.25rem;
}

@media (max-width: 720px) {
    .fuse-shell-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }
}
