:root {
    --bg: #f3f4f6;
    --card-bg: #ffffff;
    --border: #e5e7eb;
    --text-main: #111827;
    --text-muted: #6b7280;
    --accent: #1f2937;
    --accent-hover: #111827;
    --danger: #b91c1c;
    --success: #047857;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    border-bottom: 1px solid var(--border);
    background-color: #ffffff;
}

.header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo img {
    display: block;
    height: 24px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text span:first-child {
    font-weight: 600;
    font-size: 12px;
}

.brand-text span:last-child {
    font-size: 10px;
    color: var(--text-muted);
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.partner {
    font-size: 11px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.partner-logo {
    height: 26px;
    width: auto;
    display: block;
}

main {
    flex: 1;
}

.content {
    max-width: 960px;
    margin: 8px auto 8px;
    padding: 0 20px 8px;
}

.card {
    background-color: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    padding: 12px 22px 16px;
}

@media (min-width: 768px) {
    .card {
        padding: 18px 30px 22px;
    }
}

.card-header {
    margin-bottom: 16px;
}

.label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.label-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background-color: #e5e7eb;
}

h1 {
    font-size: 24px;
    margin: 0 0 4px;
    font-weight: 400;
}

.subtitle {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 620px;
}

.actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

button.primary {
    border: none;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    background-color: var(--accent);
    color: white;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.05s ease;
}

button.primary:hover:not(:disabled) {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

button.primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.small-link {
    font-size: 12px;
    color: var(--text-muted);
}

.small-link a {
    color: inherit;
    text-decoration: underline;
    text-decoration-style: dotted;
}

.divider {
    margin: 24px 0 16px;
    border: none;
    border-top: 1px dashed var(--border);
}

footer {
    border-top: 1px solid var(--border);
    background-color: #ffffff;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 10px 20px 14px;
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.footer-name {
    font-weight: 600;
}

.footer-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.footer-line .footer-sep {
    color: var(--text-muted);
}

.footer-line a {
    color: inherit;
    text-decoration: underline;
    text-decoration-style: dotted;
}

.footer-note {
    line-height: 1.3;
}
