:root {
    --green-dark: #1b5e20;
    --green: #2e7d32;
    --green-light: #e8f5e9;
    --text: #1f2933;
    --muted: #52606d;
    --border: #d0d7de;
    --error: #b00020;
    --success: #0f5132;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--text);
    background: #fafafa;
    line-height: 1.6;
}

.site-header {
    background: var(--green-dark);
    color: #fff;
}

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

.site-title {
    color: #fff;
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: bold;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
}

.site-nav a {
    color: #fff;
}

.nav-user {
    opacity: 0.9;
}

.page-shell {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 20px 64px;
}

.page-shell.narrow {
    max-width: 720px;
}

.hero {
    background: var(--green-light);
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 32px;
}

.hero h1 {
    margin-top: 0;
    color: var(--green-dark);
}

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

.button {
    display: inline-block;
    padding: 11px 18px;
    background: var(--green);
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    font-family: Arial, sans-serif;
}

.button.secondary {
    background: #fff;
    color: var(--green-dark);
    border: 1px solid var(--green-dark);
}

section {
    margin-bottom: 36px;
}

section h2 {
    color: var(--green-dark);
    margin-bottom: 12px;
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
}

.card.form-card {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

label {
    display: block;
    margin-top: 16px;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

input,
select,
textarea {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    margin-top: 6px;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    border: 1px solid var(--border);
    border-radius: 4px;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.help {
    color: var(--muted);
    font-size: 0.95rem;
}

.domain {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.domain input {
    width: auto;
    min-width: 220px;
    flex: 1 1 220px;
}

.error {
    color: var(--error);
    font-weight: bold;
}

.message {
    color: var(--success);
    font-weight: bold;
}

pre {
    background: #f4f4f4;
    padding: 12px;
    white-space: pre-wrap;
    overflow-x: auto;
}

.signed-in-banner {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-family: Arial, sans-serif;
}

.signed-in-banner a {
    color: var(--green-dark);
}

.domain-list {
    font-family: Arial, sans-serif;
    columns: 2;
    column-gap: 24px;
    margin: 0 0 20px;
    padding-left: 20px;
}

.domain-list li {
    break-inside: avoid;
    margin-bottom: 6px;
}

.char-count {
    margin-top: 6px;
}

@media (max-width: 640px) {
    .domain-list {
        columns: 1;
    }
}
