:root {
    font-family: Arial, Helvetica, sans-serif;
    color: #172033;
    background: #f4f6fa;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 40px 20px;
}

.shell {
    max-width: 960px;
    margin: 0 auto;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 22px 26px;
    border-radius: 16px;
    background: linear-gradient(180deg, #0d0e11, #15171c);
    color: white;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 26px;
    font-weight: 850;
    letter-spacing: -.04em;
}

.brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.account {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #cbd5e1;
}

button,
.back {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 14px;
    background: #f3f4f6;
    color: #111827;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

button:disabled {
    opacity: .55;
    cursor: wait;
}

h1 {
    margin: 38px 0 10px;
    font-size: 28px;
    letter-spacing: -.035em;
}

.intro {
    margin: 0 0 26px;
    color: #64748b;
    line-height: 1.6;
}

.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.tile {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: white;
    color: #172033;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .03);
}

.tile:hover {
    border-color: #16a34a;
    box-shadow: 0 6px 20px rgba(15, 23, 42, .08);
}

.tile h2 {
    margin: 0 0 12px;
    font-size: 21px;
}

.tile p {
    margin: 0 0 24px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.tile span {
    margin-top: auto;
    color: #15803d;
    font-size: 13px;
    font-weight: 750;
}

.notice {
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    line-height: 1.6;
}

.error {
    color: #991b1b;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid #16a34a;
    outline-offset: 4px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 520px) {
    body {
        padding: 20px 14px;
    }

    .topbar {
        padding: 20px;
    }
}