html, body {
    font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
    background: #f3f6fb;
    color: #172033;
    margin: 0;
}

h1:focus {
    outline: none;
}

.content {
    padding: 2rem 0 3rem;
}

/* ── Tile grid ────────────────────────────────────────────────────── */

.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    padding: 2rem;
}

.tile {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid #dce4ef;
    border-radius: 0.75rem;
    padding: 1.25rem 1rem 1.25rem 1.25rem;
    text-decoration: none;
    color: #172033;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    transition: box-shadow .15s, border-color .15s, transform .15s;
}

.tile:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    border-color: #aac0df;
    transform: translateY(-2px);
    color: #172033;
}

.tile-icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
}

.tile-body {
    flex: 1;
}

.tile-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.tile-desc {
    font-size: 0.8rem;
    color: #5a6a80;
    line-height: 1.4;
}

.tile-arrow {
    font-size: 1.5rem;
    color: #aac0df;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

/* ── Blazor boilerplate ───────────────────────────────────────────── */

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0,0,0,.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #1b6ec2;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

.not-found {
    padding: 2rem;
}
