:root {
    --green-900: #173b25;
    --green-700: #275d38;
    --green-600: #347548;
    --green-100: #e6f0e8;
    --cream: #f6f1e5;
    --sand: #e6d6b3;
    --gold: #b9852f;
    --ink: #172019;
    --muted: #667068;
    --white: #ffffff;
    --danger: #a52b2b;
    --border: #d9ded9;
    --shadow: 0 14px 40px rgba(23, 59, 37, 0.10);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fcfdfb;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1160px, calc(100% - 32px));
    margin-inline: auto;
}

.hidden {
    display: none !important;
}

.preline {
    white-space: pre-line;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid rgba(39, 93, 56, 0.12);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--green-900);
    font-weight: 800;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    color: var(--white);
    background: var(--green-700);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

.brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-weight: 650;
}

.main-nav a:hover {
    color: var(--green-600);
}

.basket-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.basket-count {
    display: grid;
    min-width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 999px;
    color: var(--white);
    background: var(--green-700);
    font-size: 0.78rem;
}

.menu-button {
    display: none;
    border: 0;
    background: transparent;
    color: var(--green-900);
    font-size: 1.7rem;
}

.hero {
    overflow: hidden;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(185, 133, 47, 0.24),
            transparent 32%
        ),
        var(--cream);
}

.hero-grid {
    display: grid;
    min-height: 560px;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 64px;
    padding-block: 64px;
}

.hero-copy h1,
.page-header h1,
.product-detail-copy h1 {
    margin: 0;
    color: var(--green-900);
    font-family: Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 5.2rem);
    line-height: 1.02;
}

.hero-tagline {
    max-width: 600px;
    margin: 24px 0 30px;
    color: #415046;
    font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero-visual img,
.hero-placeholder {
    width: 100%;
    min-height: 390px;
    border-radius: 34px;
    box-shadow: var(--shadow);
    object-fit: cover;
}

.hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    color: var(--green-900);
    background:
        linear-gradient(
            135deg,
            var(--green-100),
            var(--sand)
        );
    font-size: clamp(4rem, 10vw, 8rem);
}

.button-row,
.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--green-700);
    border-radius: 12px;
    padding: 11px 20px;
    color: var(--white);
    background: var(--green-700);
    font-weight: 750;
    transition:
        transform 0.16s ease,
        background 0.16s ease;
}

.button:hover {
    background: var(--green-900);
    transform: translateY(-1px);
}

.button-secondary {
    color: var(--green-900);
    background: transparent;
}

.button-secondary:hover {
    color: var(--white);
}

.button-small {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 0.9rem;
}

.button-wide {
    width: 100%;
}

.section {
    padding-block: 74px;
}

.section-muted {
    background: var(--cream);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.section-heading h2,
.split-panel h2,
.reservation-panel h2,
.confirmation-card h2,
.qr-card h2 {
    margin: 0;
    color: var(--green-900);
    font-family: Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.7rem);
}

.section-heading > a {
    color: var(--green-700);
    font-weight: 800;
}

.product-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.product-card,
.news-card,
.confirmation-card,
.status-card,
.qr-card,
.reservation-panel {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.product-image {
    display: grid;
    height: 235px;
    place-items: center;
    overflow: hidden;
    background: var(--green-100);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.035);
}

.product-emoji {
    font-size: 5rem;
}

.product-body {
    padding: 22px;
}

.product-category,
.news-topic {
    margin: 0 0 6px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-body h3,
.news-body h3 {
    margin: 0;
    color: var(--green-900);
    font-size: 1.3rem;
}

.product-price {
    margin: 16px 0 4px;
    color: var(--green-900);
    font-size: 1.25rem;
    font-weight: 850;
}

.product-price span {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.product-price-large {
    font-size: 1.8rem;
}

.product-stock {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 0.9rem;
}

.news-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-body {
    padding: 24px;
}

.news-body time {
    color: var(--muted);
    font-size: 0.85rem;
}

.empty-state {
    padding: 54px 24px;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    text-align: center;
    background: var(--white);
}

.split-panel {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 42px;
}

.page-header {
    padding-block: 58px;
    background: var(--cream);
}

.page-header h1 {
    max-width: 900px;
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.page-header p:last-child {
    max-width: 740px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.category-filter a {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 9px 16px;
    background: var(--white);
    font-weight: 700;
}

.category-filter a.active {
    border-color: var(--green-700);
    color: var(--white);
    background: var(--green-700);
}

.product-detail {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.product-detail-image img,
.product-detail-image .hero-placeholder {
    width: 100%;
    min-height: 470px;
    border-radius: 26px;
    object-fit: cover;
}

.product-detail-copy h1 {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.availability-badge {
    display: inline-flex;
    margin: 8px 0 24px;
    border-radius: 999px;
    padding: 7px 13px;
    color: var(--green-900);
    background: var(--green-100);
    font-weight: 750;
}

.product-reservation-form,
.reservation-panel form {
    display: grid;
    gap: 18px;
}

label {
    display: grid;
    gap: 7px;
    color: var(--green-900);
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #bcc7be;
    border-radius: 11px;
    padding: 12px 13px;
    color: var(--ink);
    background: var(--white);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--green-600);
    outline: 3px solid rgba(52, 117, 72, 0.14);
}

.form-feedback {
    min-height: 24px;
    margin: 0;
    color: var(--green-700);
    font-weight: 700;
}

.reservation-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 36px;
    align-items: start;
}

.reservation-panel {
    position: sticky;
    top: 96px;
    padding: 26px;
}

.reservation-panel h2 {
    margin-bottom: 22px;
    font-size: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.checkbox-label {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    font-weight: 600;
}

.checkbox-label input {
    width: auto;
    margin-top: 5px;
}

.basket-items {
    display: grid;
    gap: 16px;
}

.basket-item {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) 170px auto;
    gap: 18px;
    align-items: end;
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 20px;
    background: var(--white);
}

.basket-item h3 {
    margin: 0 0 4px;
}

.basket-item p {
    margin: 0;
    color: var(--muted);
}

.basket-item-controls {
    display: grid;
    gap: 10px;
}

.remove-button {
    border: 0;
    padding: 10px;
    color: var(--danger);
    background: transparent;
    font-weight: 800;
}

.reservation-summary {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 18px;
    font-size: 1.05rem;
}

.form-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.form-error {
    border-radius: 10px;
    padding: 12px;
    color: #721c1c;
    background: #fae2e2;
    white-space: pre-line;
}

.reservation-confirmation {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) minmax(280px, 360px);
    gap: 34px;
    align-items: start;
}

.confirmation-main {
    display: grid;
    gap: 18px;
}

.confirmation-card,
.status-card,
.qr-card {
    padding: 26px;
}

.status-card p {
    margin: 0 0 8px;
    color: var(--muted);
}

.status-badge {
    display: inline-flex;
    border-radius: 999px;
    padding: 8px 13px;
    background: var(--green-100);
}

.status-cancelled,
.status-no_show {
    color: var(--danger);
    background: #fae2e2;
}

.status-completed {
    color: var(--white);
    background: var(--green-700);
}

.confirmation-card h2,
.qr-card h2 {
    margin-bottom: 16px;
    font-size: 1.75rem;
}

.confirmation-items {
    display: grid;
    gap: 12px;
}

.confirmation-item,
.confirmation-total {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.confirmation-item div {
    display: grid;
}

.confirmation-item span {
    color: var(--muted);
    font-size: 0.9rem;
}

.confirmation-total {
    margin-top: 18px;
    border-bottom: 0;
    font-size: 1.08rem;
}

.confirmation-total.final {
    color: var(--green-700);
    font-size: 1.2rem;
}

.qr-card {
    position: sticky;
    top: 96px;
    text-align: center;
}

.qr-card img {
    width: min(100%, 280px);
    margin: 0 auto 16px;
}

.farm-photo {
    width: 100%;
    min-height: 410px;
    border-radius: 24px;
    object-fit: cover;
}

.contact-panel {
    align-self: center;
}

.contact-panel a:not(.button) {
    color: var(--green-700);
    font-weight: 750;
}

.map-frame {
    width: 100%;
    height: 460px;
    border: 0;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.site-footer {
    padding-block: 44px;
    color: #dce7df;
    background: var(--green-900);
}

.footer-grid {
    display: grid;
    grid-template-columns:
        1.2fr 1fr auto;
    gap: 32px;
    align-items: start;
}

.site-footer a {
    display: block;
    margin-bottom: 8px;
}

@media (max-width: 900px) {
    .menu-button {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 72px;
        right: 16px;
        left: 16px;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 10px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 12px;
    }

    .hero-grid,
    .product-detail,
    .reservation-layout,
    .reservation-confirmation {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .news-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .reservation-panel,
    .qr-card {
        position: static;
    }

    .hero-grid {
        min-height: auto;
        gap: 38px;
    }

    .hero-visual {
        order: -1;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 22px, 1160px);
    }

    .section {
        padding-block: 52px;
    }

    .product-grid,
    .news-grid,
    .split-panel,
    .form-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .basket-item {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .hero-grid {
        padding-block: 34px 52px;
    }

    .hero-visual img,
    .hero-placeholder {
        min-height: 280px;
    }

    .product-detail-image img,
    .product-detail-image .hero-placeholder {
        min-height: 330px;
    }
}

@media print {
    .site-header,
    .site-footer,
    .button {
        display: none !important;
    }

    .reservation-confirmation {
        display: block;
    }

    .qr-card {
        margin-top: 20px;
        box-shadow: none;
    }
}

/* Espace personnel V1 */

.staff-header {
    padding-block: 46px;
    color: var(--white);
    background:
        linear-gradient(
            135deg,
            var(--green-900),
            var(--green-700)
        );
}

.staff-header .eyebrow {
    color: #e7bd6a;
}

.staff-header h1 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.8rem);
}

.staff-header p {
    margin-bottom: 0;
}

.staff-header .button-secondary {
    border-color: var(--white);
    color: var(--white);
}

.staff-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.staff-section {
    background: #f3f6f3;
}

.staff-stat-grid {
    display: grid;
    grid-template-columns:
        repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 30px;
}

.staff-stat {
    display: grid;
    gap: 7px;
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.staff-stat span {
    color: var(--muted);
    font-size: 0.82rem;
}

.staff-stat strong {
    color: var(--green-900);
    font-size: 1.9rem;
}

.staff-search {
    display: grid;
    grid-template-columns:
        minmax(240px, 1fr) auto auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 26px;
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 18px;
    background: var(--white);
}

.staff-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.staff-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

.staff-table th,
.staff-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.staff-table th {
    color: var(--green-900);
    background: var(--green-100);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.staff-table td span {
    display: block;
    color: var(--muted);
    font-size: 0.86rem;
}

.staff-item-line {
    margin-bottom: 5px;
}

.staff-pickup-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) minmax(260px, 340px);
    gap: 28px;
    align-items: start;
}

.staff-pickup-main {
    display: grid;
    gap: 18px;
}

.staff-card-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
}

.staff-card-heading h2 {
    margin-bottom: 0;
}

.staff-note {
    margin-top: 18px;
    border-radius: 12px;
    padding: 14px;
    background: var(--cream);
}

.staff-note p {
    margin-bottom: 0;
}

.staff-product-list {
    display: grid;
    gap: 16px;
}

.staff-product-row {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) minmax(210px, 280px);
    gap: 20px;
    align-items: end;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.staff-product-row > div {
    display: grid;
    gap: 5px;
}

.staff-product-row span {
    color: var(--muted);
    font-size: 0.9rem;
}

.staff-product-row label {
    position: relative;
}

.staff-product-row small {
    position: absolute;
    right: 12px;
    bottom: 12px;
    color: var(--muted);
}

.staff-product-row input {
    padding-right: 55px;
}

.staff-action-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button-danger {
    border-color: #9d2929;
    background: #9d2929;
}

.button-warning {
    border-color: #9b6814;
    background: #9b6814;
}

.staff-complete-button {
    background: #126b3c;
}

.staff-summary-card {
    position: sticky;
    top: 96px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.staff-summary-card h2 {
    margin-top: 0;
    color: var(--green-900);
    font-family: Georgia, serif;
}

.staff-summary-card dl {
    display: grid;
    gap: 0;
}

.staff-summary-card dl > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    padding-block: 13px;
}

.staff-summary-card dt {
    color: var(--muted);
}

.staff-summary-card dd {
    margin: 0;
    text-align: right;
    font-weight: 750;
}

.staff-paid-checkbox {
    font-size: 1.05rem;
}

.staff-message {
    border-radius: 12px;
    padding: 14px 16px;
    font-weight: 700;
}

.staff-message-success {
    color: #174b2c;
    background: #dff0e4;
}

.staff-message-error {
    color: #7b1f1f;
    background: #f7dddd;
}

.scanner-container {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) minmax(280px, 360px);
    gap: 30px;
    align-items: start;
}

.scanner-panel,
.scanner-fallback {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.scanner-panel {
    position: relative;
}

.scanner-panel video {
    width: 100%;
    min-height: 360px;
    border-radius: 16px;
    background: #111;
    object-fit: cover;
}

.scanner-target {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(55%, 300px);
    aspect-ratio: 1;
    border: 4px solid rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    transform: translate(-50%, -60%);
    pointer-events: none;
    box-shadow:
        0 0 0 9999px rgba(0, 0, 0, 0.25);
}

.scanner-panel .button-row {
    position: relative;
    margin-top: 18px;
}

.scanner-fallback h2 {
    margin-top: 0;
    color: var(--green-900);
    font-family: Georgia, serif;
}

.scanner-fallback form {
    display: grid;
    gap: 16px;
}

@media (max-width: 1050px) {
    .staff-stat-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .staff-header-inner,
    .staff-card-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .staff-pickup-layout,
    .scanner-container {
        grid-template-columns: 1fr;
    }

    .staff-summary-card {
        position: static;
    }

    .staff-product-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .staff-stat-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .staff-search {
        grid-template-columns: 1fr;
    }

    .staff-action-grid {
        display: grid;
    }

    .staff-action-grid .button {
        width: 100%;
    }

    .scanner-panel video {
        min-height: 280px;
    }
}

/* Notifications Push V1 */

.footer-actions {
    display: grid;
    gap: 10px;
}

.push-dialog {
    width: min(560px, calc(100% - 24px));
    max-height: calc(100vh - 32px);
    overflow: auto;
    border: 0;
    border-radius: 22px;
    padding: 0;
    color: var(--ink);
    background: var(--white);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.32);
}

.push-dialog::backdrop {
    background: rgba(10, 25, 15, 0.66);
    backdrop-filter: blur(4px);
}

.push-dialog-card {
    display: grid;
    gap: 18px;
    padding: 28px;
}

.push-dialog-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
}

.push-dialog-heading h2 {
    margin: 0;
    color: var(--green-900);
    font-family: Georgia, serif;
    font-size: 2rem;
}

.dialog-close {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--green-900);
    background: var(--white);
    font-size: 1.7rem;
    line-height: 1;
}

.push-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 8px;
}

@media (max-width: 620px) {
    .push-dialog-card {
        padding: 22px;
    }

    .push-dialog-actions {
        display: grid;
    }

    .push-dialog-actions .button {
        width: 100%;
    }
}

/* Centre de mise en production V1 */

.readiness-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.readiness-summary h2 {
    margin: 0;
    color: var(--green-900);
    font-family: Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.readiness-summary p:last-child {
    margin-bottom: 0;
}

.readiness-summary-ready {
    border-color: #76a987;
    background: #eef8f1;
}

.readiness-summary-pending {
    border-color: #d7aa5e;
    background: #fff8e9;
}

.readiness-score {
    display: grid;
    flex: 0 0 auto;
    text-align: right;
}

.readiness-score strong {
    color: var(--green-900);
    font-size: 2.5rem;
}

.readiness-score span {
    color: var(--muted);
}

.readiness-progress {
    height: 12px;
    overflow: hidden;
    margin: 20px 0 32px;
    border-radius: 999px;
    background: #dfe5df;
}

.readiness-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(
            90deg,
            var(--gold),
            var(--green-600)
        );
}

.readiness-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.readiness-card {
    display: flex;
    min-height: 230px;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid var(--border);
    border-radius: 17px;
    padding: 21px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.readiness-card-heading {
    display: flex;
    align-items: center;
    gap: 13px;
}

.readiness-card-heading h3 {
    margin: 0;
    color: var(--green-900);
}

.readiness-card-heading span:last-child {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 750;
    text-transform: uppercase;
}

.readiness-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 999px;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 900;
}

.readiness-card p {
    flex: 1;
}

.readiness-card-ok {
    border-color: #a8cdb3;
}

.readiness-card-ok .readiness-icon {
    background: var(--green-600);
}

.readiness-card-blocking {
    border-color: #d79a9a;
}

.readiness-card-blocking .readiness-icon {
    background: #a52b2b;
}

.readiness-card-warning {
    border-color: #dfc287;
}

.readiness-card-warning .readiness-icon {
    background: #a87318;
}

.readiness-help {
    margin-top: 30px;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.readiness-help h2 {
    margin-top: 0;
    color: var(--green-900);
    font-family: Georgia, serif;
}

.readiness-help li {
    margin-bottom: 9px;
}

@media (max-width: 980px) {
    .readiness-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .readiness-summary {
        align-items: stretch;
        flex-direction: column;
    }

    .readiness-score {
        text-align: left;
    }

    .readiness-grid {
        grid-template-columns: 1fr;
    }
}
