html, body { margin: 0; padding: 0; height: 100%; }

body.ssg {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--ssg-bg, #F4F5F7);
    color: var(--ssg-text, #222);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.ssg-card {
    background: #FFFFFF;
    border-top: 4px solid var(--ssg-primary, #1F3F5C);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    width: calc(100% - 40px);
    padding: 40px 36px;
    text-align: center;
}
.ssg-card h1 {
    font-size: 22px;
    margin: 0 0 16px;
    color: var(--ssg-primary, #1F3F5C);
}

.ssg-card--offline { max-width: 520px; }
.ssg-card--offline p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    white-space: pre-line;
}

.ssg-card--password { max-width: 420px; }
.ssg-card--password h1 { margin-bottom: 8px; }
.ssg-card--password .ssg-lead {
    margin: 0 0 24px;
    font-size: 14px;
    color: #555;
}
.ssg-card--password input[type=password] {
    width: 100%;
    padding: 10px 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 12px;
}
.ssg-card--password button {
    width: 100%;
    padding: 10px 12px;
    font-size: 16px;
    background: var(--ssg-primary, #1F3F5C);
    color: #FFFFFF;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}
.ssg-card--password button:hover { opacity: 0.92; }
.ssg-card--password .ssg-error {
    color: #B00020;
    font-size: 14px;
    margin: 0 0 12px;
}
