:root {
    --checkpoint-blue: #0066cc;
    --checkpoint-blue-dark: #004c99;
    --header-bg: #d9ebf7;
    --border-color: #b8d4ea;
    --text-primary: #1a1a1a;
    --text-muted: #4a4a4a;
    --surface: #ffffff;
    --error-bg: #fff4f4;
    --error-border: #e8b4b4;
    --error-text: #8b1a1a;
    --radius: 6px;
    --shadow: 0 2px 8px rgba(0, 40, 80, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--surface);
    color: var(--text-primary);
    font-family: "Segoe UI", Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    min-width: 0;
}

.page-shell {
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.page-header {
    background: var(--header-bg);
    border: 1px solid var(--border-color);
    border-bottom: none;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 10px 14px;
}

.page-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.page-card {
    border: 1px solid var(--border-color);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 16px 14px 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.section-title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    color: var(--text-primary);
}

.instruction-text {
    margin: 0;
    color: var(--text-muted);
}

.installer-link {
    color: var(--checkpoint-blue);
    text-decoration: underline;
    font-weight: 600;
}

.installer-link:hover,
.installer-link:focus {
    color: var(--checkpoint-blue-dark);
}

.installer-link strong {
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.user-id-panel {
    margin-top: 14px;
    padding: 10px 12px;
    background: #f7fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.user-id-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.error-panel {
    padding: 12px;
    background: var(--error-bg);
    border: 1px solid var(--error-border);
    border-radius: var(--radius);
    color: var(--error-text);
}

.error-panel p {
    margin: 0;
}

.hidden-form {
    display: none;
}
