.atg-quote-page {
    --atg-quote-cream-bg: linear-gradient(180deg, #f6edd4 0%, #f3e5c2 58%, #efe0b8 100%);
    --atg-quote-cream-border: rgba(92, 74, 58, 0.22);
}

.atg-quote-panel {
    border-radius: 24px;
    border-radius: 28px;
    color: var(--atg-color-ink);
}

/* Varm creme som menupakke / nyhedsbrev på forsiden (#f3e5c2) */
.atg-public-template-shell .atg-main-content .mud-paper.atg-quote-panel.atg-quote-panel--cream,
.atg-quote-panel.atg-quote-panel--cream {
    background: var(--atg-quote-cream-bg) !important;
    border: 1px solid var(--atg-quote-cream-border) !important;
    box-shadow: 0 18px 42px rgba(8, 6, 5, 0.22) !important;
    color: #1a1410 !important;
}

.atg-quote-panel--cream .atg-quote-panel-heading {
    color: #1a1410 !important;
}

.atg-quote-panel--cream .atg-quote-panel-heading:not(:first-child) {
    border-top-color: rgba(44, 36, 29, 0.14);
}

.atg-quote-panel--cream .mud-input-slot,
.atg-quote-panel--cream .mud-input-label,
.atg-quote-panel--cream .mud-typography-body1,
.atg-quote-panel--cream .mud-typography-body2,
.atg-quote-panel--cream .mud-checkbox .mud-typography-body1 {
    color: #1a1410 !important;
}

.atg-quote-panel--cream .atg-form-data-notice,
.atg-quote-panel--cream .atg-form-data-notice .mud-typography-body2 {
    color: #5c4a3a !important;
}

.atg-quote-panel--cream a.atg-link {
    color: #7a3b2a !important;
}

.atg-quote-panel--cream .mud-input-outlined .mud-input-outlined-border {
    border-color: rgba(44, 36, 29, 0.22) !important;
    background: rgba(255, 253, 248, 0.55);
}

.atg-quote-panel--cream .mud-input-outlined:focus-within .mud-input-outlined-border {
    border-color: rgba(92, 74, 58, 0.45) !important;
}

.atg-quote-panel--cream .atg-quote-newsletter-opt-in {
    border-top-color: rgba(44, 36, 29, 0.14);
}

.atg-quote-panel .mud-input-control .mud-input-slot,
.atg-quote-panel .mud-input-control .mud-input-outlined-border {
    border-radius: 16px !important;
}

.atg-quote-panel-heading {
    margin: 0 0 1rem;
    font-family: var(--atg-font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--atg-color-ink);
}

.atg-quote-panel-heading:not(:first-child) {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--atg-color-line);
}

.atg-quote-dev-alert {
    border-radius: 20px;
}

.atg-quote-newsletter-opt-in {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--atg-color-line);
}

.atg-quote-newsletter-pitch {
    margin: 0.35rem 0 0.75rem 2.5rem;
    max-width: 42rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--atg-on-surface-soft, #2e2720);
}

.atg-quote-panel--cream .atg-quote-newsletter-pitch {
    color: #453930 !important;
}

.atg-quote-newsletter-opt-in .mud-typography-body1,
.atg-quote-newsletter-opt-in .mud-checkbox .mud-typography-body1 {
    color: var(--atg-on-surface-soft, #2e2720);
    line-height: 1.55;
}

.atg-quote-validation-wrap {
    margin-top: 1rem;
}

.atg-quote-actions {
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 0.25rem;
}

.atg-quote-submit-button {
    min-height: 56px;
    width: 100%;
}

.atg-quote-panel--cream .atg-quote-submit-button.mud-button-root {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.atg-quote-page .atg-page-hero {
    min-height: 40vh;
    margin-bottom: 0;
}

.atg-quote-page-body {
    background: var(--atg-canvas-bg);
    padding-block: clamp(2rem, 4vw, 3.25rem) clamp(3rem, 6vw, 5rem);
}

.atg-quote-shell.atg-quote-shell-simple {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
    max-width: min(54rem, 100%);
    margin-inline: auto;
    width: 100%;
}

.atg-quote-form-column {
    min-width: 0;
    width: 100%;
}

.atg-quote-form-stack {
    align-items: stretch;
}

.atg-quote-prefill-note-compact {
    display: grid;
    gap: 0.35rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: rgba(255, 250, 245, 0.07);
    border: 1px solid rgba(201, 169, 106, 0.28);
}

.atg-quote-prefill-note-compact .atg-eyebrow {
    color: var(--atg-color-accent);
    margin: 0;
}

.atg-quote-prefill-note-compact strong {
    color: var(--atg-color-on-dark);
    font-size: 1.05rem;
    font-family: var(--atg-font-serif);
}

.atg-quote-success-panel {
    background: var(--atg-elevated-bg) !important;
    border: 1px solid var(--atg-elevated-border) !important;
    text-align: center;
    border-radius: 28px;
    box-shadow: var(--atg-shadow-soft);
    color: var(--atg-color-ink) !important;
}

.atg-quote-success-title {
    margin-bottom: 0.75rem;
    color: var(--atg-color-ink);
}

.atg-quote-success-copy {
    font-size: 1.125rem;
    color: var(--atg-color-ink-soft);
    line-height: 1.7;
    max-width: 38rem;
    margin: 0 auto;
}

/* Legacy sidebar styles — bevares til evt. genbrug, men ikke på den simple tilbudsside. */
.atg-quote-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
    gap: 1.5rem;
    align-items: start;
}