:root {
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f4f7f6;
    color: #17211f;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

a { color: #0d6b53; }

.admin-body { display: block; }

.panel-card,
.admin-shell {
    width: min(70rem, 100%);
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid #d7e2df;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 1rem 3rem rgb(22 58 48 / 9%);
}

.panel-card.narrow { width: min(32rem, 100%); }
.admin-shell.compact { max-width: 58rem; }

.stack-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.stack-form label { display: grid; gap: .45rem; font-weight: 700; }
.stack-form input,
.stack-form select,
.stack-form textarea {
    width: 100%; padding: .8rem .9rem; border: 1px solid #bdccc8; border-radius: .65rem;
    background: #fff; color: #17211f; font: inherit;
}
.stack-form input:focus,
.stack-form select:focus,
.stack-form textarea:focus { outline: 3px solid rgb(20 117 91 / 18%); border-color: #14755b; }
.stack-form small, .muted, small { color: #61736e; font-weight: 400; }
button, .button-link {
    display: inline-flex; justify-content: center; align-items: center; min-height: 2.7rem;
    padding: .7rem 1rem; border: 0; border-radius: .65rem; background: #14755b;
    color: #fff; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer;
}
button.secondary { background: #e8efed; color: #25423a; }
.form-link { margin: 1.2rem 0 0; text-align: center; }
.alert { padding: .85rem 1rem; border-radius: .65rem; line-height: 1.5; }
.alert.error { background: #fff0f0; color: #8a2424; }
.alert.success { background: #eaf8f1; color: #145c46; }
.alert ul { margin: 0; padding-left: 1.2rem; }
.admin-header { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-start; }
.header-actions, .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.inline-form { display: inline; }
.secondary-link { font-weight: 750; }
.panel-section { margin-top: 2rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .9rem; border-bottom: 1px solid #e5ecea; text-align: left; }
th { color: #4a5c57; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.badge { display: inline-block; padding: .25rem .55rem; border-radius: 999px; background: #eaf3f0; font-size: .82rem; }
.pending-note { margin-top: 2rem; padding: 1rem; border-left: 4px solid #d2a12b; background: #fff9e9; line-height: 1.5; }
.empty-state { padding: 2rem; border: 1px dashed #bdccc8; border-radius: .75rem; text-align: center; color: #61736e; }
fieldset { min-width: 0; padding: 1rem; border: 1px solid #d7e2df; border-radius: .8rem; }
fieldset legend { padding: 0 .35rem; color: #14755b; font-weight: 800; }
.two-columns fieldset { display: grid; gap: 1rem; }
.checkbox-label { grid-template-columns: auto 1fr !important; align-items: center; }
.checkbox-label input { width: auto; }
.configuration-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr)); gap: 1.25rem; margin-top: 2rem; }
.config-card { padding: 1.25rem; border: 1px solid #d7e2df; border-radius: .9rem; background: #fbfdfc; }
.config-card h2 { margin-top: 0; }
.compact-form { max-width: 42rem; }
.preview-card { margin-top: 1rem; padding: 1.25rem; border: 1px solid #d7e2df; border-radius: .9rem; background: #fbfdfc; }
.preview-card h3 { margin-top: 0; }
.message-preview { overflow-x: auto; padding: 1rem; border: 1px solid #d7e2df; border-radius: .65rem; background: #f3f7f6; color: #17211f; white-space: pre-wrap; overflow-wrap: anywhere; }

@media (max-width: 42rem) {
    .admin-header { display: grid; }
    .header-actions { align-items: stretch; }
    .header-actions > * { flex: 1 1 auto; }
}

.status-card {
    width: min(42rem, 100%);
    padding: clamp(1.5rem, 5vw, 3rem);
    border: 1px solid #d7e2df;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 1rem 3rem rgb(22 58 48 / 9%);
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: #14755b;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1.05;
}

.summary {
    margin: 1.25rem 0 0;
    max-width: 55ch;
    color: #4a5c57;
    font-size: 1.05rem;
    line-height: 1.65;
}

.status-list {
    display: grid;
    gap: 0.75rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.status-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #edf2f0;
}

.status {
    color: #14755b;
    font-weight: 750;
}

.mvp-home-body { display: block; }
.mvp-home { width: min(72rem, 100%); margin: 0 auto; padding: clamp(1rem, 4vw, 4rem); }
.mvp-hero, .mvp-services, .mvp-contact { padding: clamp(1.4rem, 4vw, 3rem); }
.mvp-hero { border: 1px solid #d7e2df; border-radius: 1.25rem; background: #fff; box-shadow: 0 1rem 3rem rgb(22 58 48 / 9%); }
.mvp-services h2, .mvp-contact h2 { margin-top: 0; }
.mvp-service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.mvp-service-grid article { padding: 1.25rem; border: 1px solid #d7e2df; border-radius: .9rem; background: #fff; }
.mvp-service-grid h3 { margin-top: 0; }
.mvp-contact { border-top: 1px solid #d7e2df; }
.mvp-legal-links { display: flex; flex-wrap: wrap; gap: 1rem; padding: 1rem clamp(1.4rem, 4vw, 3rem); border-top: 1px solid #d7e2df; }
.mvp-choice-card { width: min(46rem, 100%); padding: clamp(1.25rem, 4vw, 2.5rem); border: 1px solid #d7e2df; border-radius: 1.25rem; background: #fff; }
.mvp-zero-state { padding: .8rem 1rem; border-left: 4px solid #14755b; background: #eef8f5; }
