@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #f5f7fb;
    --card: #ffffff;
    --ink: #0c0f19;
    --muted: #5b667a;
    --accent: #2a7cff;
    --accent-soft: #e4efff;
    --stroke: #e3e8f0;
    --shadow: 0 20px 60px rgba(28, 44, 80, 0.12);
    --text: var(--ink);
}

/* Managed website setup and handover ------------------------------------ */
.managed-setup-shell { width: min(1120px, 100%); margin: 0 auto; }
.managed-setup-shell .section-header p { max-width: 720px; }
.managed-setup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.managed-setup-card { display: grid; gap: 18px; padding: 21px; border: 1px solid #dce5f1; border-radius: 20px; background: linear-gradient(145deg,#fff,#f6f9ff); color: #1c2c43; text-decoration: none; box-shadow: 0 12px 28px rgba(31,57,94,.06); }
.managed-setup-card:hover { border-color: #9fc2f5; transform: translateY(-1px); }
.managed-setup-card h2 { margin: 9px 0 3px; letter-spacing: -.035em; }
.managed-setup-card__status { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #eaf2ff; color: #1c64c8; font-size: .72rem; font-weight: 850; }
.managed-setup-card dl, .managed-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 0; }
.managed-setup-card dl div, .managed-summary > div { padding-top: 11px; border-top: 1px solid #e5ebf3; }
.managed-setup-card dt, .managed-summary span { display: block; color: #718198; font-size: .69rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.managed-setup-card dd { margin: 4px 0 0; font-weight: 750; }
.managed-setup-form { display: grid; gap: 15px; }
.managed-form-card { padding: 22px; border: 1px solid #dce5f1; border-radius: 20px; background: #fff; }
.managed-form-heading { display: flex; gap: 13px; margin-bottom: 18px; }
.managed-form-heading > span, .managed-step__number { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: #e7f1ff; color: #1e64c6; font-weight: 900; }
.managed-form-heading h2, .managed-step h2 { margin: 0; color: #182c46; letter-spacing: -.03em; }
.managed-form-heading p, .managed-step p { margin: 4px 0 0; color: #64758b; line-height: 1.5; }
.managed-form-submit { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; border-radius: 18px; background: #13243b; color: #fff; }
.managed-form-submit span { display: block; margin-top: 3px; color: #bdcbe0; font-size: .82rem; }
.managed-choice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.managed-choice-grid--two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.managed-choice { position: relative; display: block; cursor: pointer; }
.managed-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.managed-choice > span { display: block; min-height: 100%; padding: 16px; border: 1px solid #dce5f1; border-radius: 16px; background: #f9fbfe; transition: border-color .15s, box-shadow .15s, background .15s; }
.managed-choice strong, .managed-choice small { display: block; }
.managed-choice strong { color: #1a2d47; }
.managed-choice small { margin-top: 5px; color: #65758b; line-height: 1.45; }
.managed-choice input:checked + span { border-color: #2a7cff; background: #eef5ff; box-shadow: 0 0 0 3px rgba(42,124,255,.11); }
.managed-choice input:focus-visible + span { outline: 3px solid rgba(42,124,255,.3); outline-offset: 2px; }
.managed-conditional, .managed-owner-fields { margin-top: 16px; padding-top: 16px; border-top: 1px solid #e7edf5; }
.managed-owner-fields h3 { margin: 0; color: #1a2d47; }
.managed-owner-fields > p { margin: 4px 0 15px; color: #65758b; }
.managed-selection-summary { display: grid; gap: 3px; padding: 15px 18px; border: 1px solid #cfe0f7; border-radius: 16px; background: #f3f8ff; }
.managed-selection-summary span { color: #60728a; font-size: .72rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.managed-selection-summary strong { color: #15345c; font-size: 1.05rem; text-transform: capitalize; }
.managed-selection-summary small { color: #66788f; }
.managed-inline-warning { margin-top: 13px; }
.managed-header-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.managed-service-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.managed-service-strip > div, .managed-existing-service { padding: 15px; border: 1px solid #dfe7f1; border-radius: 15px; background: #fff; }
.managed-service-strip span, .managed-existing-service span { display: block; color: #718198; font-size: .69rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.managed-service-strip strong, .managed-existing-service strong { display: block; margin-top: 5px; color: #1a2d47; }
.managed-service-strip small, .managed-existing-service small { display: block; margin-top: 4px; color: #718198; }
.managed-state-banner { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid #bbd6fa; border-radius: 18px; background: linear-gradient(135deg,#eff6ff,#fff); }
.managed-state-banner > span { padding: 7px 11px; border-radius: 999px; background: #2368ca; color: #fff; font-size: .75rem; font-weight: 850; }
.managed-state-banner small, .managed-step small, .managed-summary small { display: block; margin-top: 4px; color: #718198; }
.managed-steps { display: grid; gap: 12px; margin-top: 15px; }
.managed-step { display: grid; grid-template-columns: auto 1fr; gap: 15px; padding: 21px; border: 1px solid #e0e7f0; border-radius: 19px; background: #fff; opacity: .76; }
.managed-step.is-current { border-color: #85b4f4; box-shadow: 0 10px 26px rgba(38,103,195,.09); opacity: 1; }
.managed-step.is-done { opacity: 1; }
.managed-step.is-done .managed-step__number { background: #dff7eb; color: #087546; }
.managed-step form { margin-top: 15px; }
.danger-confirm-card { padding: 15px; border: 1px solid #f0d4a4; border-radius: 14px; background: #fffaf0; }
.managed-job-list { display: grid; gap: 8px; margin-top: 14px; }
.managed-job-list > div { display: flex; gap: 10px; align-items: center; padding: 11px; border: 1px solid #e5ebf3; border-radius: 13px; }
.job-dot { width: 10px; height: 10px; border-radius: 50%; background: #9caabd; }
.job-dot--completed { background: #18a368; box-shadow: 0 0 0 4px #e2f7ee; }
.job-dot--running, .job-dot--verifying, .job-dot--retrying { background: #2a7cff; box-shadow: 0 0 0 4px #e5efff; }
.job-dot--needs_attention { background: #cf3f3f; box-shadow: 0 0 0 4px #fee9e9; }
.managed-summary { grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 15px; }
.managed-summary > div { padding: 14px; }
.managed-summary strong { display: block; margin-top: 5px; }
.managed-invite-shell { max-width: 820px; }
.managed-invite-card { display: grid; gap: 18px; margin-top: 16px; padding: clamp(22px,5vw,38px); border: 1px solid #d9e4f2; border-radius: 24px; background: #fff; box-shadow: 0 18px 45px rgba(25,55,96,.08); }
.managed-invite-card h2 { margin: 0; font-size: clamp(1.55rem,4vw,2.2rem); letter-spacing: -.045em; }
.managed-invite-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: #dcf7e9; color: #087546; font-size: 1.5rem; font-weight: 900; }
.managed-signed-in { padding: 13px 15px; border-radius: 13px; background: #eef5ff; color: #35506f; }
@media (max-width: 760px) { .managed-setup-grid, .managed-choice-grid, .managed-choice-grid--two, .managed-service-strip { grid-template-columns: 1fr; } .managed-setup-card dl, .managed-summary { grid-template-columns: 1fr 1fr; } .managed-form-submit { align-items: stretch; flex-direction: column; } .managed-form-submit .primary-button { width: 100%; } .managed-step { padding: 17px; } .managed-header-actions { width: 100%; justify-content: stretch; } .managed-header-actions a { flex: 1 1 auto; text-align: center; } }

/* Public domains, hosting and checkout ------------------------------------ */
.storefront-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.storefront-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    min-height: 220px;
    padding: clamp(25px, 5vw, 48px);
    overflow: hidden;
    border: 1px solid #d5e1f1;
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 4%, rgba(41, 124, 255, .23), transparent 34%),
        linear-gradient(145deg, #fff 0%, #f4f8ff 100%);
    box-shadow: 0 20px 46px rgba(30, 55, 93, .08);
}

.storefront-hero--hosting { background: radial-gradient(circle at 89% 7%, rgba(56, 190, 144, .2), transparent 36%), linear-gradient(145deg, #fff 0%, #f3fbf8 100%); }
.storefront-hero--compact { min-height: 148px; padding: 28px 32px; }
.storefront-hero > div { max-width: 760px; }
.storefront-hero h1 { margin: 3px 0 12px; color: #12243d; font-size: clamp(2rem, 5vw, 3.7rem); line-height: 1.02; letter-spacing: -.055em; }
.storefront-hero--compact h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
.storefront-hero p:last-child { margin: 0; color: #5e7088; font-size: 1.02rem; line-height: 1.65; }
.basket-pill, .status-pill { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; padding: 10px 13px; border: 1px solid #cddbed; border-radius: 999px; background: rgba(255,255,255,.88); color: #29415e; font-size: .86rem; font-weight: 800; text-decoration: none; }
.basket-pill strong { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #236de0; color: #fff; }

.domain-search-card, .order-card, .order-summary, .storefront-cross-sell {
    border: 1px solid #dbe4f0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(35, 61, 100, .055);
}
.domain-search-card { display: grid; gap: 10px; padding: clamp(20px, 4vw, 30px); }
.domain-search-card > label { color: #263a55; font-size: 1rem; font-weight: 800; }
.domain-search-card > small { color: #708098; }
.domain-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.domain-search-row input, .inline-domain-form input { min-height: 54px; padding: 0 16px; border: 1px solid #cad7e8; border-radius: 13px; background: #fbfdff; color: #172941; font: inherit; }
.storefront-notice { padding: 14px 17px; border: 1px solid #bdd4f5; border-radius: 15px; background: #f1f7ff; color: #2f547f; line-height: 1.5; }
.storefront-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.storefront-section-heading h2 { margin: 2px 0 0; color: #20344e; font-size: clamp(1.3rem, 3vw, 1.8rem); letter-spacing: -.035em; }
.storefront-section-heading > span { color: #6d7f96; font-size: .82rem; font-weight: 800; }
.domain-results { display: grid; gap: 13px; }
.domain-result-list { display: grid; gap: 9px; }
.domain-result { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 16px; border: 1px solid #dde5ef; border-radius: 17px; background: rgba(255,255,255,.9); }
.domain-result.is-available { border-color: #badfce; background: linear-gradient(100deg, #fbfffd, #f5fbff); }
.domain-result__state { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 12px; background: #eef2f7; color: #6a798c; font-weight: 900; }
.domain-result.is-available .domain-result__state { background: #e6f7ed; color: #188052; }
.domain-result__name h3 { margin: 0; color: #172b47; font-size: 1.07rem; overflow-wrap: anywhere; }
.domain-result__name p { margin: 4px 0 0; color: #6c7c92; font-size: .83rem; }
.domain-result__price { display: grid; justify-items: end; }
.domain-result__price strong { color: #183b69; font-size: 1.1rem; }
.domain-result__price small { color: #79889b; font-size: .72rem; }

.storefront-assurance-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.storefront-assurance-grid article { padding: 20px; border: 1px solid #dfe7f1; border-radius: 18px; background: #fff; }
.storefront-assurance-grid article > span { color: #2872db; font-size: .73rem; font-weight: 900; }
.storefront-assurance-grid h2 { margin: 12px 0 7px; color: #243852; font-size: 1.03rem; }
.storefront-assurance-grid p { margin: 0; color: #677990; font-size: .88rem; line-height: 1.55; }
.storefront-cross-sell { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; }
.storefront-cross-sell h2 { margin: 3px 0 6px; color: #213650; }
.storefront-cross-sell p:last-child { margin: 0; color: #6b7b90; }
.domain-ending-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 720px; }
.domain-ending-list .ghost-button { display: grid; gap: 2px; min-width: 145px; text-align: left; }
.domain-ending-list .ghost-button small { color: #6b7b90; font-size: .7rem; font-weight: 500; }

.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.plan-card { position: relative; display: grid; gap: 16px; padding: clamp(23px, 4vw, 34px); border: 1px solid #d9e4f1; border-radius: 24px; background: #fff; box-shadow: 0 18px 38px rgba(31, 58, 96, .07); }
.plan-card.is-featured { border-color: #a9c9f5; background: radial-gradient(circle at 90% 0, rgba(44,122,244,.13), transparent 31%), #fff; }
.plan-badge { position: absolute; top: 18px; right: 18px; padding: 6px 10px; border-radius: 999px; background: #e8f1ff; color: #1c5db9; font-size: .74rem; font-weight: 900; }
.plan-card h2 { margin: 0; color: #192d47; font-size: 1.75rem; letter-spacing: -.045em; }
.plan-summary { max-width: 620px; margin: 0; color: #65768c; line-height: 1.6; }
.plan-price { display: flex; align-items: baseline; gap: 8px; }
.plan-price strong { color: #165abb; font-size: 2.55rem; letter-spacing: -.06em; }
.plan-price span { color: #718096; font-size: .83rem; font-weight: 700; }
.plan-features { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.plan-features li { position: relative; padding-left: 25px; color: #52677f; line-height: 1.45; }
.plan-features li::before { position: absolute; left: 0; content: '✓'; color: #16875a; font-weight: 900; }
.storefront-wide-button { display: block; width: 100%; text-align: center; }

.order-shell { max-width: 1080px; }
.order-progress { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid #dce5f0; border-radius: 15px; background: #fff; }
.order-progress > * { padding: 11px 14px; border-right: 1px solid #e4eaf2; color: #78879a; font-size: .78rem; text-align: center; }
.order-progress > *:last-child { border-right: 0; }
.order-progress strong { background: #edf4ff; color: #1f62c6; }
.order-layout, .order-gate-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(275px, .75fr); align-items: start; gap: 16px; }
.order-card { padding: clamp(20px, 4vw, 30px); }
.order-summary { position: sticky; top: 18px; display: grid; gap: 15px; padding: 23px; }
.order-summary > p { margin: 0; color: #6b7a90; font-size: .87rem; line-height: 1.5; }
.order-total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.order-total strong { color: #155bc0; font-size: 2.35rem; letter-spacing: -.06em; }
.order-total span { color: #718096; font-size: .75rem; font-weight: 800; }
.order-item-list { display: grid; gap: 9px; margin-top: 17px; }
.order-item { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 14px; border: 1px solid #dfe7f1; border-radius: 15px; background: #fbfdff; }
.order-item__icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: #e8f1ff; color: #2064c7; font-size: .78rem; font-weight: 900; }
.order-item strong { display: block; color: #243750; overflow-wrap: anywhere; }
.order-item small { display: block; margin-top: 3px; color: #758499; font-size: .76rem; line-height: 1.4; }
.order-item__price { color: #2c4462; font-size: .88rem; font-weight: 900; white-space: nowrap; }
.icon-button { display: grid; width: 31px; height: 31px; place-items: center; border: 0; border-radius: 9px; background: #f0f3f7; color: #647387; font: inherit; font-size: 1.2rem; cursor: pointer; }
.domain-choice-card { display: grid; gap: 14px; margin-top: 17px; padding: 18px; border: 1px dashed #9fbde5; border-radius: 17px; background: #f5f9ff; }
.domain-choice-card h3 { margin: 2px 0 0; color: #273c58; }
.domain-choice-card details { color: #46698f; font-weight: 800; }
.domain-choice-card summary { cursor: pointer; }
.inline-domain-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 12px; }
.order-add-more { display: flex; justify-content: space-between; gap: 15px; margin-top: 16px; padding: 13px 15px; border-radius: 13px; background: #f3f7fc; color: #5f7288; font-size: .85rem; }
.order-add-more a { color: #1c62c7; font-weight: 900; }
.order-empty { display: grid; justify-items: center; gap: 8px; padding: 44px 20px; text-align: center; }
.order-empty > span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 15px; background: #edf4ff; color: #266bd0; font-size: 1.4rem; }
.order-empty h3 { margin: 8px 0 0; color: #263b56; }
.order-empty p { margin: 0; color: #718097; }
.order-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 16px; }
.order-trust { display: grid; gap: 8px; margin: 0; padding: 14px 0 0; border-top: 1px solid #e5ebf3; list-style: none; }
.order-trust li { position: relative; padding-left: 19px; color: #738196; font-size: .76rem; line-height: 1.4; }
.order-trust li::before { position: absolute; left: 0; content: '✓'; color: #23805a; font-weight: 900; }
.order-gate-layout { max-width: 880px; margin: 0 auto; grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr); }
.order-account-card h1, .order-message-card h1 { margin: 5px 0 10px; color: #192c47; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.08; letter-spacing: -.05em; }
.order-account-card .subtext { margin: 0 0 20px; color: #66788f; line-height: 1.6; }
.storefront-form { display: grid; gap: 16px; }
.storefront-form .field { display: grid; gap: 7px; }
.storefront-form .field > span { color: #344960; font-size: .84rem; font-weight: 800; }
.storefront-form input, .storefront-form select { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid #cbd7e6; border-radius: 11px; background: #fbfdff; color: #1d314a; font: inherit; }
.storefront-form .field small { color: #758397; font-size: .76rem; }
.account-found-badge { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #e9f7ef; color: #18734d; font-size: .75rem; font-weight: 900; }
.account-found-badge--new { background: #eaf2ff; color: #2362bc; }
.account-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0; color: #8692a2; font-size: .76rem; }
.account-divider::before, .account-divider::after { height: 1px; flex: 1; background: #e0e6ee; content: ''; }
.form-help-link, .back-link { display: block; margin-top: 12px; color: #2867be; font-size: .82rem; font-weight: 800; text-align: center; }
.check-row { display: flex; align-items: flex-start; gap: 10px; color: #52667e; font-size: .82rem; line-height: 1.5; }
.check-row input { width: 18px; height: 18px; min-height: 0; margin-top: 1px; }
.order-summary--quiet { position: static; background: #f8faff; }
.mini-order-row, .mini-order-total { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #e4eaf2; color: #52667e; font-size: .8rem; }
.mini-order-row strong, .mini-order-total strong { color: #27415f; white-space: nowrap; }
.mini-order-total { padding-top: 3px; border-bottom: 0; color: #293f5c; font-weight: 900; }
.order-message-card { max-width: 700px; margin: 40px auto; text-align: center; }
.order-message-card > p:not(.eyebrow, .muted) { max-width: 570px; margin: 0 auto 16px; color: #60738c; font-size: 1rem; line-height: 1.65; }
.order-message-icon { display: grid; width: 60px; height: 60px; margin: 0 auto 18px; place-items: center; border-radius: 19px; background: #eaf2ff; color: #1d64c8; font-size: 1.55rem; }
.order-message-icon--success { background: #e7f7ee; color: #16764e; }
.verify-address { display: inline-flex; margin: 6px 0 16px; padding: 10px 14px; border-radius: 11px; background: #f1f5fa; color: #2b4564; font-weight: 900; overflow-wrap: anywhere; }
.form-section { display: grid; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid #e6ebf2; }
.form-section + .form-section { padding-top: 5px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.form-grid--wide { grid-column: 1 / -1; }
.review-assurance { margin-top: 20px; padding: 17px; border-radius: 15px; background: #f2f7fd; color: #597087; }
.review-assurance strong { color: #2d4865; }
.review-assurance ol { margin: 10px 0 0; padding-left: 20px; line-height: 1.65; }
.status-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 20px; max-width: 520px; margin: 20px auto; padding: 16px; border-radius: 15px; background: #f4f7fb; text-align: left; }
.status-summary span { color: #748399; }
.status-summary strong { color: #263d5a; overflow-wrap: anywhere; }
.status-pill.is-ready { border-color: #b9e2cc; background: #ebf9f1; color: #18764d; }
.status-pill.is-attention { border-color: #edd49e; background: #fff8e7; color: #8a5c08; }
.status-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.status-timeline > div { display: grid; gap: 6px; padding: 17px; border: 1px solid #e0e6ef; border-radius: 15px; background: #fafbfd; }
.status-timeline > div > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: #eef2f6; color: #728197; font-size: .75rem; font-weight: 900; }
.status-timeline .is-done { border-color: #c3e2d2; background: #f7fcf9; }
.status-timeline .is-done > span { background: #e1f5ea; color: #18754d; }
.status-timeline .is-current { border-color: #b9d2f4; background: #f6f9ff; }
.status-timeline .is-current > span { background: #e4efff; color: #1d62c5; }
.status-timeline strong { color: #2b415d; }
.status-timeline small { color: #718096; line-height: 1.45; }
.status-items { margin-top: 22px; }
.item-status { padding: 6px 9px; border-radius: 999px; background: #f1f3f6; color: #748196; font-size: .72rem; font-weight: 900; }
.item-status.is-ready { background: #e4f6ec; color: #19764e; }
.setup-progress-card, .service-pack { margin-top: 18px; }
.setup-progress-heading, .service-pack__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-bottom: 20px; }
.setup-progress-heading h2, .service-pack__heading h2 { margin: 2px 0 6px; color: #18283d; font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.setup-progress-heading p, .service-pack__heading p { margin: 0; color: #66758a; line-height: 1.55; }
.setup-live-indicator { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; padding: 8px 11px; border-radius: 999px; background: #fff4f4; color: #b31f2a; font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.setup-live-indicator i { width: 8px; height: 8px; border-radius: 50%; background: #d6242f; box-shadow: 0 0 0 5px rgba(214,36,47,.12); animation: setup-pulse 1.5s infinite; }
@keyframes setup-pulse { 50% { box-shadow: 0 0 0 9px rgba(214,36,47,0); } }
.setup-progress-list { position: relative; display: grid; gap: 0; }
.setup-step { position: relative; display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 13px; align-items: center; min-height: 76px; padding: 12px 4px; color: #8793a4; }
.setup-step:not(:last-child)::after { content: ''; position: absolute; left: 16px; top: 55px; bottom: -13px; width: 2px; background: #e4e9ef; }
.setup-step__mark { position: relative; z-index: 1; display: grid; width: 34px; height: 34px; place-items: center; border: 2px solid #dfe5ec; border-radius: 50%; background: #fff; color: #fff; font-weight: 900; }
.setup-step small { display: block; margin-bottom: 2px; color: #98a2b1; font-size: .68rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.setup-step strong { display: block; color: #66758a; }
.setup-step p { margin: 3px 0 0; color: #8a96a6; font-size: .84rem; line-height: 1.4; }
.setup-step__state { padding: 6px 9px; border-radius: 999px; background: #f3f5f7; font-size: .68rem; font-weight: 900; white-space: nowrap; }
.setup-step.is-current .setup-step__mark { border-color: #d6242f; background: #d6242f; box-shadow: 0 0 0 6px rgba(214,36,47,.1); }
.setup-step.is-current strong { color: #222f41; }
.setup-step.is-current .setup-step__state { background: #fff0f1; color: #b31f2a; }
.setup-step.is-done .setup-step__mark { border-color: #138451; background: #138451; }
.setup-step.is-done:not(:last-child)::after { background: #87caae; }
.setup-step.is-done strong { color: #264838; }
.setup-step.is-done p { color: #547263; }
.setup-step.is-done .setup-step__state { background: #e8f7ef; color: #176f49; }
.service-pack { border: 1px solid #d7e8df; background: linear-gradient(180deg,#fff 0,#fbfefc 100%); }
.service-pack__summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-bottom: 18px; }
.service-pack__summary article { display: grid; gap: 5px; min-width: 0; padding: 15px; border: 1px solid #e2e9e5; border-radius: 13px; background: #fff; }
.service-pack__summary span { color: #7a8796; font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.service-pack__summary strong { color: #1f3548; overflow-wrap: anywhere; }
.service-pack__summary small { color: #6c7c89; line-height: 1.4; }
.service-credential-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.service-credential-card { padding: 18px; border: 1px solid #dfe6ec; border-radius: 15px; background: #fff; box-shadow: 0 8px 24px rgba(31,53,72,.05); }
.service-credential-card__title { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.service-credential-card__title > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 11px; background: #fff0f1; color: #bc202b; font-size: .72rem; font-weight: 950; }
.service-credential-card__title strong, .service-credential-card__title small { display: block; }
.service-credential-card__title small { margin-top: 2px; color: #7c8998; }
.service-credential-card dl { display: grid; gap: 0; margin: 0; }
.service-credential-card dl > div { display: grid; grid-template-columns: 95px minmax(0,1fr); gap: 10px; padding: 10px 0; border-top: 1px solid #edf0f3; }
.service-credential-card dt { color: #7b8796; font-size: .78rem; font-weight: 800; }
.service-credential-card dd { display: flex; align-items: center; justify-content: flex-end; gap: 7px; min-width: 0; margin: 0; color: #25384c; text-align: right; }
.service-credential-card code { min-width: 0; overflow-wrap: anywhere; }
.service-credential-card [data-copy] { padding: 4px 7px; border: 0; border-radius: 7px; background: #edf2f6; color: #40546a; font: inherit; font-size: .7rem; font-weight: 850; cursor: pointer; }
.service-pack__reveal { display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,320px) auto; gap: 14px; align-items: end; margin-top: 16px; padding: 16px; border: 1px solid #eadcdf; border-radius: 14px; background: #fffafa; }
.service-pack__reveal strong, .service-pack__reveal small { display: block; }
.service-pack__reveal small { margin-top: 4px; color: #758294; line-height: 1.4; }
.service-pack__deploy { margin-top: 16px; overflow: hidden; border: 1px solid #dfe6ec; border-radius: 14px; background: #fff; }
.service-pack__deploy summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; list-style: none; }
.service-pack__deploy summary::-webkit-details-marker { display: none; }
.service-pack__deploy summary strong, .service-pack__deploy summary small { display: block; }
.service-pack__deploy summary strong { color: #25384c; }
.service-pack__deploy summary small { margin-top: 3px; color: #758294; line-height: 1.4; }
.service-pack__deploy summary > span:last-child { color: #bd2634; font-size: 1.3rem; transition: transform .2s ease; }
.service-pack__deploy[open] summary > span:last-child { transform: rotate(180deg); }
.service-pack__deploy-body { display: grid; justify-items: start; gap: 12px; padding: 0 18px 18px; }
.service-pack__deploy-body p { margin: 0; color: #66758a; line-height: 1.5; }
.service-pack__deploy-body textarea { display: block; width: 100%; max-width: 100%; min-height: 220px; padding: 14px; resize: vertical; border: 1px solid #dce3ea; border-radius: 10px; background: #f7f9fb; color: #27394a; font: 0.82rem/1.5 ui-monospace,SFMono-Regular,Consolas,monospace; }
@media (max-width: 820px) { .service-pack__summary { grid-template-columns: repeat(2,minmax(0,1fr)); } .service-credential-grid { grid-template-columns: 1fr; } .service-pack__reveal { grid-template-columns: 1fr; align-items: stretch; } }
@media (max-width: 560px) { .setup-progress-heading, .service-pack__heading { display: grid; } .setup-step { grid-template-columns: 30px minmax(0,1fr); gap: 10px; } .setup-step__mark { width: 30px; height: 30px; } .setup-step:not(:last-child)::after { left: 14px; top: 50px; } .setup-step__state { grid-column: 2; justify-self: start; } .service-pack__summary { grid-template-columns: 1fr; } .service-credential-card { padding: 14px; } .service-credential-card dl > div { grid-template-columns: 1fr; gap: 4px; } .service-credential-card dd { justify-content: flex-start; text-align: left; } }

@media (max-width: 780px) {
    .storefront-hero { min-height: 0; align-items: flex-start; flex-direction: column; padding: 24px; }
    .domain-search-row, .inline-domain-form { grid-template-columns: 1fr; }
    .domain-result { grid-template-columns: 36px minmax(0, 1fr); }
    .domain-result__price { justify-items: start; grid-column: 2; }
    .domain-result form { grid-column: 2; }
    .storefront-assurance-grid, .order-layout, .order-gate-layout, .status-timeline { grid-template-columns: 1fr; }
    .storefront-cross-sell { align-items: stretch; flex-direction: column; }
    .order-summary { position: static; }
    .order-item { grid-template-columns: 36px minmax(0, 1fr) auto; }
    .order-item form, .order-item .item-status { grid-column: 3; }
    .order-progress > * { padding: 9px 4px; font-size: .68rem; }
}

@media (max-width: 480px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-grid--wide { grid-column: auto; }
    .order-item { grid-template-columns: 34px minmax(0, 1fr); }
    .order-item__price, .order-item form, .order-item .item-status { grid-column: 2; justify-self: start; }
    .domain-result { padding: 13px; }
}

/* Keybit hosting workspace ------------------------------------------------ */
.hosting-overview {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.hosting-overview__hero,
.hosting-panel,
.hosting-empty-state,
.hosting-next-steps {
    border: 1px solid #dce5f1;
    border-radius: 22px;
    background: linear-gradient(145deg, #ffffff 0%, #f7faff 100%);
    box-shadow: 0 14px 30px rgba(30, 55, 93, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.hosting-overview__hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    min-height: 186px;
    padding: 28px;
    background:
        radial-gradient(circle at 90% 12%, rgba(42, 124, 255, 0.18), rgba(42, 124, 255, 0) 31%),
        linear-gradient(145deg, #fff 0%, #f4f8ff 100%);
}

.hosting-overview__hero h1,
.hosting-panel h2 {
    margin: 0;
    color: #14233a;
    letter-spacing: -0.045em;
}

.hosting-overview__hero h1 { font-size: clamp(1.85rem, 4vw, 2.8rem); line-height: 1.05; }
.hosting-overview__hero .subtext { max-width: 680px; margin: 10px 0 0; }
.hosting-overview__hero-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }

.hosting-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hosting-metric { min-height: 124px; padding: 18px; border: 1px solid #dce5f1; border-radius: 18px; background: #fff; box-shadow: 0 9px 20px rgba(30, 55, 93, 0.04); }
.hosting-metric span, .hosting-metric small { display: block; color: #68788e; font-size: 0.82rem; font-weight: 700; }
.hosting-metric strong { display: block; margin: 9px 0 4px; color: #1c5fca; font-size: 2rem; letter-spacing: -0.06em; }

.hosting-workspace { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(290px, 0.82fr); gap: 16px; }
.hosting-panel { padding: 21px; }
.hosting-panel__heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid #e5ebf3; }
.hosting-panel__heading .eyebrow { margin-bottom: 5px; }
.hosting-panel__count { display: grid; place-items: center; min-width: 30px; height: 30px; border-radius: 999px; background: #e7f0ff; color: #205dbb; font-size: 0.82rem; font-weight: 800; }
.hosting-site-list, .hosting-backup-list { display: grid; gap: 8px; margin-top: 14px; padding: 0; list-style: none; }
.hosting-site-row, .hosting-backup-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px; border: 1px solid #e0e8f3; border-radius: 14px; background: rgba(255,255,255,.76); }
.hosting-site-row strong, .hosting-backup-list strong { display: block; color: #1c2b40; overflow-wrap: anywhere; }
.hosting-site-row small, .hosting-backup-list small { display: block; margin-top: 3px; color: #738198; font-size: .8rem; }
.hosting-status { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; font-size: .75rem; font-weight: 800; white-space: nowrap; }
.hosting-status--healthy { color: #206644; background: #e8f7ee; }
.hosting-status--attention { color: #8b5e0b; background: #fff4db; }
.hosting-panel__note { margin: 16px 0 0; color: #63758c; font-size: .86rem; line-height: 1.55; }

.hosting-empty-state { display: flex; align-items: center; gap: 16px; padding: 25px; }
.hosting-empty-state__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; background: #e8f0ff; color: #2065c7; font-size: 1.6rem; }
.hosting-empty-state h2 { margin: 0; color: #203149; font-size: 1.08rem; }
.hosting-empty-state p { margin: 5px 0 0; color: #66778d; line-height: 1.5; }

.hosting-next-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 0; overflow: hidden; }
.hosting-next-steps > div { display: flex; gap: 12px; padding: 19px; border-right: 1px solid #e1e8f1; }
.hosting-next-steps > div:last-child { border-right: 0; }
.hosting-next-steps > div > span { display: grid; flex: 0 0 auto; place-items: center; width: 31px; height: 31px; border-radius: 11px; background: #ebf2ff; color: #2367c8; font-weight: 800; }
.hosting-next-steps strong { color: #23344c; }
.hosting-next-steps p { margin: 4px 0 0; color: #68788e; font-size: .84rem; line-height: 1.45; }

/* Keybit-only advanced hosting area: Hestia remains a server-side control plane. */
.hosting-advanced {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.hosting-advanced__hero,
.hosting-advanced__notice {
    border: 1px solid #dce5f1;
    border-radius: 22px;
    box-shadow: 0 14px 30px rgba(30, 55, 93, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.hosting-advanced__hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    min-height: 186px;
    padding: 28px;
    background:
        radial-gradient(circle at 90% 12%, rgba(42, 124, 255, 0.18), rgba(42, 124, 255, 0) 31%),
        linear-gradient(145deg, #fff 0%, #f4f8ff 100%);
}

.hosting-advanced__hero h1 {
    margin: 0;
    color: #14233a;
    font-size: clamp(1.85rem, 4vw, 2.8rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.hosting-advanced__hero .subtext { max-width: 680px; margin: 10px 0 0; }

.hosting-advanced__notice {
    display: flex;
    align-items: start;
    gap: 10px;
    padding: 14px 17px;
    background: linear-gradient(110deg, #eff8f2, #f8fcff);
    color: #355767;
    line-height: 1.45;
}

.hosting-advanced__notice strong { color: #216341; white-space: nowrap; }
.hosting-advanced__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hosting-advanced__list { display: grid; gap: 8px; margin-top: 14px; }
.hosting-advanced__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px; border: 1px solid #e0e8f3; border-radius: 14px; background: rgba(255,255,255,.76); }
.hosting-advanced__row strong, .hosting-advanced__site-link { display: block; color: #1c2b40; font-weight: 800; overflow-wrap: anywhere; }
.hosting-advanced__site-link:hover { color: #195fca; text-decoration: underline; }
.hosting-advanced__row small { display: block; margin-top: 3px; color: #738198; font-size: .8rem; overflow-wrap: anywhere; }

@media (max-width: 780px) {
    .hosting-overview__hero { align-items: start; flex-direction: column; min-height: 0; padding: 22px; }
    .hosting-overview__hero-actions { justify-content: flex-start; }
    .hosting-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hosting-workspace { grid-template-columns: 1fr; }
    .hosting-next-steps { grid-template-columns: 1fr; }
    .hosting-next-steps > div { border-right: 0; border-bottom: 1px solid #e1e8f1; }
    .hosting-next-steps > div:last-child { border-bottom: 0; }
    .hosting-advanced__hero { align-items: start; flex-direction: column; min-height: 0; padding: 22px; }
    .hosting-advanced__grid { grid-template-columns: 1fr; }
    .hosting-advanced__notice { flex-direction: column; }
}

:focus-visible {
    outline: 3px solid #1c70dc;
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 200;
    transform: translateY(-180%);
    padding: 10px 14px;
    border-radius: 10px;
    background: #0c1b33;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.16s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Conversations experience ------------------------------------------------ */
.impersonation-banner {
    width: min(1420px, calc(100% - 48px));
    margin: 0 auto 8px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #d7e5fc;
    border-radius: 15px;
    background: linear-gradient(90deg, #f1f6ff 0%, #fafcff 100%);
    color: #25426f;
    font-size: 0.86rem;
}

.impersonation-banner > div {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px;
}

.impersonation-banner strong {
    color: #194fa9;
}

.impersonation-banner .ghost-button {
    min-height: 34px;
    padding: 8px 13px;
    font-size: 0.82rem;
}

.conversation-hub,
.conversation-workspace,
.conversation-compose-page {
    width: min(1180px, 100%);
    margin: 0 auto;
    gap: 18px;
}

.conversation-masthead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    min-height: 156px;
    padding: 25px 28px;
    border: 1px solid rgba(212, 223, 240, 0.96);
    border-radius: 24px;
    background:
        radial-gradient(circle at 89% 8%, rgba(42, 124, 255, 0.16), rgba(42, 124, 255, 0) 30%),
        radial-gradient(circle at 74% 130%, rgba(126, 183, 255, 0.13), rgba(126, 183, 255, 0) 38%),
        linear-gradient(140deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 250, 255, 0.97) 100%);
    box-shadow: 0 18px 38px rgba(34, 62, 109, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.conversation-masthead--compact {
    min-height: 132px;
}

.conversation-masthead--assistant {
    min-height: 130px;
    background:
        radial-gradient(circle at 90% 10%, rgba(47, 183, 125, 0.18), rgba(47, 183, 125, 0) 30%),
        linear-gradient(140deg, rgba(255, 255, 255, 0.99) 0%, rgba(246, 252, 249, 0.97) 100%);
    border-color: #d4e7de;
}

.conversation-kicker,
.conversation-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 9px;
    color: #557093;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.conversation-breadcrumb a {
    color: #2a7cff;
    text-decoration: none;
}

.conversation-breadcrumb span:last-child {
    color: #68788e;
}

.conversation-masthead h1 {
    margin: 0;
    color: #122033;
    font-size: clamp(1.75rem, 3.2vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.conversation-masthead > div > p:not(.conversation-kicker),
.conversation-title-row p {
    margin: 8px 0 0;
    color: #64748b;
    line-height: 1.55;
}

.conversation-masthead__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    flex: 0 0 auto;
}

.conversation-masthead__actions .primary-button,
.conversation-masthead__actions .ghost-button,
.conversation-quick-start .ghost-button {
    min-width: 0;
    min-height: 42px;
    padding: 10px 15px;
    border-radius: 13px;
    box-shadow: none;
}

.conversation-notice {
    padding: 12px 15px;
    border: 1px solid #cadeff;
    border-radius: 15px;
    background: #f3f7ff;
    color: #244c91;
    font-size: 0.92rem;
    font-weight: 600;
}

.conversation-quick-start {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #d7e8df;
    border-radius: 18px;
    background: linear-gradient(110deg, #f8fdfb 0%, #f2f9f5 100%);
}

.conversation-quick-start__icon,
.conversation-option-card__icon,
.conversation-avatar,
.conversation-row__identity {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    color: #235d4b;
    background: #dff5e9;
    font-size: 1rem;
    font-weight: 800;
}

.conversation-quick-start strong {
    color: #183c31;
}

.conversation-quick-start p {
    margin: 3px 0 0;
    color: #5c716b;
    font-size: 0.9rem;
}

.conversation-filterbar {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 3px 1px 5px;
    scrollbar-width: none;
}

.conversation-filterbar::-webkit-scrollbar {
    display: none;
}

.conversation-filter {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #dce5f1;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.68);
    color: #64748b;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.conversation-filter b {
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #edf2f8;
    color: #63748b;
    font-size: 0.72rem;
}

.conversation-filter:hover {
    transform: translateY(-1px);
    border-color: #c8d8ee;
    color: #2d5da9;
}

.conversation-filter.is-active {
    border-color: #8eb6fa;
    background: linear-gradient(135deg, #2978f8 0%, #518eff 100%);
    color: #fff;
    box-shadow: 0 9px 18px rgba(42, 124, 255, 0.18);
}

.conversation-filter.is-active b {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.conversation-list {
    display: grid;
    gap: 9px;
}

.conversation-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 16px 17px;
    border: 1px solid #dfe6f0;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 251, 255, 0.98) 100%);
    box-shadow: 0 10px 24px rgba(30, 55, 93, 0.045), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    color: #17263b;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.conversation-row:hover,
.conversation-row:focus-visible {
    transform: translateY(-1px);
    border-color: #bcd1ef;
    box-shadow: 0 15px 30px rgba(30, 55, 93, 0.085), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.conversation-row__main {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.conversation-row__topline {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}

.conversation-row strong {
    overflow: hidden;
    font-size: 0.98rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-type {
    color: #66758a;
    font-size: 0.75rem;
    font-weight: 750;
}

.conversation-status,
.conversation-unread,
.conversation-live-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    min-height: 22px;
    padding: 3px 8px;
    border: 1px solid #d9e3f0;
    border-radius: 999px;
    background: #f8fbff;
    color: #5f7085;
    font-size: 0.71rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.conversation-status--open,
.conversation-status--waiting_on_admin {
    border-color: #c9dcff;
    background: #edf4ff;
    color: #285bb1;
}

.conversation-status--waiting_on_customer {
    border-color: #f0dbae;
    background: #fff8e9;
    color: #8b6514;
}

.conversation-status--closed {
    border-color: #dce2ea;
    background: #f4f6f8;
    color: #687385;
}

.conversation-unread {
    border-color: #b9d5fd;
    background: #dcebff;
    color: #135fce;
}

.conversation-row__detail,
.conversation-row__meta {
    color: #77869a;
    font-size: 0.82rem;
}

.conversation-row__meta {
    display: grid;
    justify-items: end;
    gap: 5px;
    white-space: nowrap;
}

.conversation-row__open {
    color: #2a7cff;
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 0.7;
}

.conversation-row--admin {
    grid-template-columns: 38px minmax(0, 1fr) auto;
}

.conversation-row__identity,
.conversation-avatar {
    color: #36516e;
    background: linear-gradient(145deg, #e7effc 0%, #d9e7fb 100%);
    border: 1px solid #d1dff4;
}

.conversation-empty-state {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 24px;
    border: 1px dashed #cbd8e8;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.66);
}

.conversation-empty-state__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 15px;
    background: #edf3fb;
    color: #5a7da8;
    font-size: 1.4rem;
}

.conversation-empty-state h2,
.conversation-empty-state p {
    margin: 0;
}

.conversation-empty-state h2 {
    color: #26384f;
    font-size: 1rem;
}

.conversation-empty-state p {
    margin-top: 3px;
    color: #75849a;
    font-size: 0.9rem;
}

.conversation-empty-state .primary-button,
.conversation-empty-state .ghost-button {
    min-width: 0;
    margin-left: auto;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: none;
}

.conversation-compose-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(285px, 0.72fr);
    gap: 16px;
    align-items: start;
}

.conversation-form-card,
.conversation-stream-panel,
.conversation-reply-panel,
.conversation-side-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid #dce4ef;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 251, 255, 0.98) 100%);
    box-shadow: 0 14px 30px rgba(30, 55, 93, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.conversation-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e4eaf2;
}

.conversation-panel-heading--tight {
    padding-bottom: 9px;
}

.conversation-panel-heading h2,
.conversation-side-card h2 {
    margin: 0;
    color: #1d2d42;
    font-size: 1rem;
    letter-spacing: -0.018em;
}

.conversation-panel-heading p,
.conversation-side-card > p {
    margin: 4px 0 0;
    color: #718095;
    font-size: 0.86rem;
    line-height: 1.5;
}

.conversation-form-card .field,
.conversation-side-card .field {
    gap: 7px;
}

.conversation-form-card .field > span,
.conversation-side-card .field > span {
    color: #43536b;
    font-size: 0.85rem;
    font-weight: 750;
}

.conversation-form-card input[type="text"],
.conversation-form-card select,
.conversation-form-card textarea,
.conversation-side-card input,
.conversation-side-card select,
.conversation-side-card textarea,
.conversation-searchbar input {
    border-color: #d9e2ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(40, 62, 94, 0.025);
}

.conversation-form-card textarea {
    resize: vertical;
}

.conversation-attachment-picker {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 60px;
    padding: 11px 13px;
    border: 1px dashed #c7d5e8;
    border-radius: 14px;
    background: #fbfdff;
    color: #28466e;
    cursor: pointer;
}

.conversation-attachment-picker:hover {
    border-color: #8fb7f7;
    background: #f5f9ff;
}

.conversation-attachment-picker__icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: #e6f0ff;
    color: #2a70d8;
    font-size: 1.1rem;
}

.conversation-attachment-picker span:nth-child(2) {
    display: grid;
    gap: 2px;
}

.conversation-attachment-picker small {
    color: #77869b;
    font-size: 0.76rem;
}

.conversation-attachment-picker input,
.conversation-composer__attachment input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.conversation-form-card__actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 2px;
}

.conversation-form-card__actions .primary-button {
    min-width: 150px;
    border-radius: 13px;
}

.conversation-options-rail {
    display: grid;
    gap: 10px;
}

.conversation-option-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 14px;
    border: 1px solid #dfe6f0;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    color: #23344a;
    text-decoration: none;
    box-shadow: 0 9px 20px rgba(31, 58, 97, 0.04);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.conversation-option-card:hover {
    transform: translateY(-1px);
    border-color: #bfd2ed;
    box-shadow: 0 14px 25px rgba(31, 58, 97, 0.075);
}

.conversation-option-card--ai {
    border-color: #cde5d9;
    background: linear-gradient(145deg, #fbfffd 0%, #f0faf5 100%);
}

.conversation-option-card--ai .conversation-option-card__icon {
    color: #226146;
    background: #dcf4e7;
}

.conversation-option-card > span:nth-child(2) {
    display: grid;
    gap: 3px;
}

.conversation-option-card strong {
    font-size: 0.92rem;
}

.conversation-option-card small {
    color: #75849a;
    font-size: 0.78rem;
    line-height: 1.45;
}

.conversation-option-card__arrow {
    color: #6d96cb;
    font-size: 1.5rem;
}

.conversation-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.conversation-title-row .conversation-avatar {
    width: 43px;
    height: 43px;
    border-radius: 15px;
    font-size: 1.02rem;
}

.conversation-avatar--assistant {
    color: #1e6c4c;
    background: #ddf7e9;
    border-color: #c8e8d6;
}

.conversation-title-row h1 {
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.conversation-title-row p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.conversation-admin-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.conversation-inline-edit {
    position: relative;
}

.conversation-inline-edit summary {
    cursor: pointer;
    color: #2a70d8;
    font-size: 0.8rem;
    font-weight: 750;
    list-style: none;
}

.conversation-inline-edit summary::-webkit-details-marker,
.conversation-filter-disclosure summary::-webkit-details-marker,
.conversation-disclosure summary::-webkit-details-marker {
    display: none;
}

.conversation-inline-edit[open] > form {
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    z-index: 12;
    width: min(330px, 78vw);
    padding: 13px;
    border: 1px solid #dce5f1;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 18px 34px rgba(30, 55, 93, 0.16);
}

.conversation-inline-edit .primary-button {
    min-width: 0;
    padding: 9px 12px;
    border-radius: 11px;
    box-shadow: none;
}

.conversation-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(270px, 0.68fr);
    align-items: start;
    gap: 16px;
}

.conversation-main-stack,
.conversation-sidebar {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.conversation-sidebar {
    position: sticky;
    top: 16px;
}

.conversation-stream-panel {
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.conversation-stream-panel > .conversation-panel-heading {
    margin: 0 18px;
    padding: 16px 0 13px;
}

.conversation-message-list {
    display: grid;
    gap: 11px;
    align-content: start;
    min-height: 0;
    padding: 18px;
    background: linear-gradient(180deg, rgba(247, 250, 255, 0.74), rgba(255, 255, 255, 0.2));
}

.conversation-message-list .thread-message {
    max-width: min(86%, 690px);
    padding: 13px 14px;
    border-radius: 16px;
    box-shadow: 0 5px 13px rgba(26, 47, 78, 0.035);
}

.conversation-message-list .thread-message.from-customer {
    justify-self: end;
    border-color: #bbd7ff;
    background: linear-gradient(150deg, #edf5ff 0%, #f7fbff 100%);
    border-bottom-right-radius: 5px;
}

.conversation-message-list .thread-message.from-admin {
    justify-self: start;
    border-color: #e0d7f4;
    background: linear-gradient(150deg, #fbf9ff 0%, #f7f4fd 100%);
    border-bottom-left-radius: 5px;
}

.conversation-message-list .thread-message.from-ai {
    justify-self: start;
    border-color: #c9e7d8;
    background: linear-gradient(150deg, #f3fcf7 0%, #fbfffd 100%);
    border-bottom-left-radius: 5px;
}

.conversation-message-list .thread-message-system {
    justify-self: stretch;
    max-width: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-style: solid;
    border-color: #e0e7f0;
    border-radius: 12px;
    background: #f7f9fc;
    box-shadow: none;
}

.conversation-message-list .thread-message-system .thread-meta {
    flex: 0 0 auto;
    margin: 0;
}

.conversation-message-list .thread-message-system .thread-meta .muted {
    display: none;
}

.conversation-message-list .thread-message-system p {
    margin: 0;
    color: #637286;
    font-size: 0.84rem;
}

.conversation-message-list .thread-message p {
    margin: 0;
    color: #29384d;
    line-height: 1.55;
}

.conversation-message-list .thread-meta {
    margin-bottom: 7px;
}

.conversation-message-list .thread-meta strong {
    color: #31445c;
    font-size: 0.79rem;
}

.conversation-message-list .thread-meta .muted {
    color: #7b899b;
    font-size: 0.74rem;
}

.conversation-reply-panel {
    padding: 0;
    overflow: hidden;
}

.conversation-composer {
    display: grid;
    gap: 10px;
    padding: 15px;
    border: 1px solid #bfd2ec;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 13px 25px rgba(28, 57, 97, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.conversation-reply-panel .conversation-composer {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.conversation-composer textarea {
    width: 100%;
    min-height: 78px;
    padding: 2px;
    border: 0;
    outline: 0;
    resize: vertical;
    background: transparent;
    box-shadow: none;
    color: #1f3148;
    font-size: 0.98rem;
    line-height: 1.5;
}

.conversation-composer textarea::placeholder {
    color: #8794a6;
}

.conversation-composer__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid #e5ebf3;
}

.conversation-composer__attachment {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2a70d8;
    font-size: 0.84rem;
    font-weight: 750;
    cursor: pointer;
}

.conversation-composer__hint {
    margin-left: auto;
    color: #94a0af;
    font-size: 0.73rem;
}

.conversation-composer__footer .primary-button {
    min-width: 124px;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(42, 124, 255, 0.18);
}

.conversation-close-form {
    padding: 0 15px 15px;
}

.conversation-text-action {
    border: 0;
    padding: 2px 0;
    background: transparent;
    color: #78869a;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.conversation-text-action:hover {
    color: #2a70d8;
}

.conversation-closed-state {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
}

.conversation-closed-state > div {
    display: grid;
    gap: 3px;
}

.conversation-closed-state span {
    color: #748398;
    font-size: 0.86rem;
}

.conversation-closed-state .ghost-button {
    min-width: 0;
    padding: 9px 12px;
    border-radius: 11px;
}

.conversation-side-card {
    gap: 10px;
    padding: 15px;
    border-radius: 18px;
}

.conversation-side-card--assistant {
    border-color: #cce6d9;
    background: linear-gradient(145deg, #fbfffd 0%, #f2faf5 100%);
}

.conversation-side-card--quote {
    border-color: #d9e4f4;
    background: linear-gradient(150deg, #ffffff 0%, #f4f8ff 100%);
}

.conversation-side-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.conversation-side-card__actions form {
    margin: 0;
}

.conversation-side-card__actions .primary-button,
.conversation-side-card__actions .ghost-button,
.conversation-side-card > .ghost-button,
.conversation-side-card > form > .primary-button {
    min-width: 0;
    min-height: 35px;
    padding: 8px 10px;
    border-radius: 10px;
    box-shadow: none;
    font-size: 0.78rem;
}

.conversation-facts {
    display: grid;
    gap: 7px;
    margin: 0;
}

.conversation-facts div {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 9px;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid #e6ebf2;
}

.conversation-facts div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.conversation-facts dt {
    color: #7a8798;
    font-size: 0.74rem;
    font-weight: 750;
}

.conversation-facts dd {
    margin: 0;
    color: #314259;
    font-size: 0.84rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.conversation-disclosure {
    overflow: hidden;
    border: 1px solid #dfe7f0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.65);
}

.conversation-disclosure summary {
    padding: 10px 11px;
    color: #4e6077;
    font-size: 0.8rem;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
}

.conversation-disclosure[open] summary {
    border-bottom: 1px solid #e0e7f0;
}

.conversation-disclosure > form,
.conversation-disclosure__body,
.conversation-brief {
    display: grid;
    gap: 10px;
    padding: 11px;
}

.conversation-brief > div {
    display: grid;
    gap: 5px;
}

.conversation-brief p {
    display: grid;
    gap: 2px;
    margin: 0;
    color: #4c5e74;
    font-size: 0.79rem;
    line-height: 1.45;
}

.conversation-brief b {
    color: #263b55;
}

.conversation-quote-amount {
    margin: 0 !important;
    color: #173b76 !important;
    font-size: 1.5rem !important;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.conversation-job-summary {
    display: grid;
    gap: 4px;
    padding: 9px 10px;
    border: 1px solid #d7eade;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.62);
    color: #2c6149;
    font-size: 0.8rem;
}

.conversation-live-status {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 15px;
    border: 1px solid #d4e8dc;
    border-radius: 16px;
    background: linear-gradient(100deg, #f7fdf9, #fbfffd);
}

.conversation-live-status > div {
    display: grid;
    gap: 2px;
}

.conversation-live-status strong {
    color: #245c43;
    font-size: 0.87rem;
}

.conversation-live-status span:not(.ai-presence-dot) {
    color: #678077;
    font-size: 0.84rem;
    line-height: 1.45;
}

.conversation-live-label {
    border: 0;
    padding: 0;
    background: transparent;
    color: #4e7d6a;
}

.conversation-live-label .ai-presence-dot {
    width: 7px;
    height: 7px;
    box-shadow: 0 0 0 3px rgba(39, 174, 113, 0.12);
}

.conversation-chat-shell {
    display: grid;
    gap: 12px;
}

.ai-conversation-workspace .conversation-message-list {
    min-height: 0;
    border: 1px solid #dce7e1;
    border-radius: 20px;
    background: linear-gradient(180deg, #f8fcfa 0%, #f4f8fc 100%);
}

.ai-conversation-workspace .conversation-composer {
    position: sticky;
    bottom: 14px;
    z-index: 4;
}

.ai-send-notice {
    padding: 10px 13px;
    border: 1px solid #d7e5fc;
    border-radius: 12px;
    background: #f4f8ff;
    color: #244d91;
    font-size: 0.88rem;
}

.ai-send-notice.is-warning {
    border-color: #f0ddb0;
    background: #fffaf0;
    color: #765616;
}

.ai-send-notice.is-error {
    border-color: #f1cccc;
    background: #fff6f6;
    color: #9f2f2f;
}

.conversation-searchbar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto auto;
    gap: 9px;
    align-items: center;
    padding: 10px;
    border: 1px solid #dce5ef;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 9px 22px rgba(29, 56, 98, 0.04);
}

.conversation-searchbar input[type="search"] {
    min-width: 0;
    min-height: 40px;
    padding: 9px 12px;
}

.conversation-searchbar .primary-button {
    min-width: 0;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 11px;
    box-shadow: none;
}

.conversation-filter-disclosure {
    position: relative;
}

.conversation-filter-disclosure summary {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 9px 12px;
    border: 1px solid #d9e3f0;
    border-radius: 11px;
    background: #fff;
    color: #50627a;
    font-size: 0.83rem;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
}

.conversation-filter-disclosure[open] summary {
    border-color: #aac6f1;
    color: #2a6ccf;
}

.conversation-filter-disclosure__body {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 15;
    width: 310px;
    display: grid;
    gap: 11px;
    padding: 13px;
    border: 1px solid #dbe5f1;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(31, 56, 94, 0.16);
}

.conversation-filter-disclosure__body .field {
    gap: 6px;
}

.conversation-filter-disclosure__body .field span {
    color: #4f6076;
    font-size: 0.78rem;
    font-weight: 750;
}

.conversation-clear-filter {
    color: #748399;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.conversation-clear-filter:hover {
    color: #2a70d8;
}

@media (max-width: 900px) {
    .conversation-compose-layout,
    .conversation-detail-layout {
        grid-template-columns: 1fr;
    }

    .conversation-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .conversation-side-card--assistant,
    .conversation-side-card--quote {
        grid-column: span 1;
    }
}

@media (max-width: 860px) {
    .conversation-masthead {
        align-items: flex-start;
        flex-direction: column;
    }

    .conversation-masthead__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .impersonation-banner {
        width: calc(100% - 24px);
        align-items: flex-start;
        margin-bottom: 4px;
        padding: 10px 12px;
    }

    .impersonation-banner > div {
        display: grid;
        gap: 2px;
    }

    .impersonation-banner span {
        font-size: 0.77rem;
        line-height: 1.35;
    }

    .conversation-hub,
    .conversation-workspace,
    .conversation-compose-page {
        gap: 14px;
    }

    .conversation-masthead {
        min-height: auto;
        padding: 18px;
        border-radius: 20px;
        align-items: flex-start;
        flex-direction: column;
    }

    .conversation-masthead__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .conversation-masthead__actions .primary-button,
    .conversation-masthead__actions .ghost-button {
        flex: 1 1 auto;
    }

    .conversation-masthead h1 {
        font-size: 1.75rem;
    }

    .conversation-quick-start {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 13px;
    }

    .conversation-quick-start .ghost-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .conversation-row,
    .conversation-row--admin {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        padding: 14px;
        border-radius: 16px;
    }

    .conversation-row--admin .conversation-row__identity {
        display: none;
    }

    .conversation-row strong {
        white-space: normal;
    }

    .conversation-row__meta {
        font-size: 0.72rem;
    }

    .conversation-empty-state {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 18px;
    }

    .conversation-empty-state .primary-button,
    .conversation-empty-state .ghost-button {
        width: 100%;
        margin-left: 0;
    }

    .conversation-options-rail {
        grid-template-columns: 1fr;
    }

    .conversation-form-card,
    .conversation-stream-panel,
    .conversation-reply-panel,
    .conversation-side-card {
        border-radius: 18px;
    }

    .conversation-sidebar {
        grid-template-columns: 1fr;
    }

    .conversation-stream-panel > .conversation-panel-heading {
        margin: 0 14px;
        padding: 14px 0 11px;
    }

    .conversation-message-list {
        gap: 9px;
        padding: 13px;
    }

    .conversation-message-list .thread-message {
        max-width: 94%;
        padding: 11px 12px;
    }

    .conversation-message-list .thread-message-system {
        max-width: none;
        display: grid;
        gap: 4px;
    }

    .conversation-composer__footer {
        flex-wrap: wrap;
    }

    .conversation-composer__hint {
        display: none;
    }

    .conversation-composer__footer .primary-button {
        flex: 1 1 auto;
    }

    .conversation-closed-state {
        align-items: flex-start;
        flex-direction: column;
    }

    .conversation-closed-state .ghost-button {
        width: 100%;
    }

    .conversation-searchbar {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .conversation-filter-disclosure {
        grid-column: 1 / 2;
    }

    .conversation-searchbar .primary-button {
        grid-column: 2 / 3;
    }

    .conversation-clear-filter {
        grid-column: 1 / -1;
        text-align: center;
    }

    .conversation-filter-disclosure summary {
        width: 100%;
    }

    .conversation-filter-disclosure__body {
        right: auto;
        left: 0;
        width: min(310px, calc(100vw - 54px));
    }
}

/* Customer hosting control centre ---------------------------------------- */
.hosting-control {
    --hc-ink: #14243a;
    --hc-muted: #60738b;
    --hc-line: #dce6f2;
    --hc-blue: #1967d2;
    --hc-blue-soft: #edf4ff;
    --hc-green: #137a58;
    --hc-red: #b43842;
    display: grid;
    gap: 16px;
    width: min(1200px, 100%);
    margin: 0 auto;
    color: var(--hc-ink);
}

.hosting-control *, .hosting-control *::before, .hosting-control *::after { box-sizing: border-box; }
.hosting-control form { margin: 0; }
.hosting-control input, .hosting-control select, .hosting-control textarea {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #c8d6e8;
    border-radius: 10px;
    background: #fff;
    color: var(--hc-ink);
    font: inherit;
}
.hosting-control textarea { min-height: 86px; resize: vertical; }
.hosting-control input:focus, .hosting-control select:focus, .hosting-control textarea:focus {
    outline: 3px solid rgba(34, 113, 219, .16);
    border-color: #4c91ed;
}
.hosting-control label { display: grid; gap: 5px; color: #344b66; font-size: .8rem; font-weight: 780; }
.hosting-control label small { color: #73849a; font-size: .72rem; font-weight: 600; line-height: 1.45; }
.compact-button { min-height: 36px; padding: 7px 11px; font-size: .78rem; }
.danger-button { min-height: 38px; padding: 8px 12px; border: 1px solid #d57d84; border-radius: 10px; background: #fff5f5; color: #a52f39; font: inherit; font-size: .78rem; font-weight: 850; cursor: pointer; }
.danger-button:hover { background: #ffe8e9; }
.text-button { padding: 6px 0; border: 0; background: transparent; color: var(--hc-blue); font: inherit; font-size: .77rem; font-weight: 820; cursor: pointer; }
.text-button--danger { color: var(--hc-red); }

.hosting-control__hero, .hosting-pane, .hosting-finder, .hosting-overview article, .hosting-alert, .hosting-secret, .hosting-no-results {
    border: 1px solid var(--hc-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(24, 52, 91, .055);
}
.hosting-control__hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    min-height: 178px;
    padding: 28px;
    overflow: hidden;
    background: radial-gradient(circle at 88% 0, rgba(34, 119, 239, .19), transparent 33%), radial-gradient(circle at 72% 125%, rgba(30, 179, 125, .11), transparent 35%), linear-gradient(145deg, #fff, #f4f8ff);
}
.hosting-control__hero h1 { margin: 0; color: var(--hc-ink); font-size: clamp(1.85rem, 4vw, 2.75rem); line-height: 1.04; letter-spacing: -.055em; }
.hosting-control__hero p:not(.eyebrow) { max-width: 720px; margin: 10px 0 0; color: #536981; line-height: 1.58; }
.hosting-control__hero-actions, .hosting-pane__heading-actions, .hosting-quick-actions, .hosting-dns__toolbar, .hosting-setting__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.hosting-alert, .hosting-secret, .hosting-no-results { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: #526b86; }
.hosting-alert strong, .hosting-secret strong, .hosting-no-results strong { color: #233b57; }
.hosting-alert--success { border-color: #b9dfcf; background: #f3fbf8; }
.hosting-alert--success strong { color: #116c4f; }
.hosting-alert--error { border-color: #efc2c5; background: #fff7f7; }
.hosting-alert--error strong { color: #a22f38; }
.hosting-secret { justify-content: space-between; background: linear-gradient(135deg, #f4f8ff, #fff); }
.hosting-secret p { margin: 3px 0 0; color: var(--hc-muted); font-size: .79rem; }
.hosting-secret__value { display: flex; align-items: center; gap: 8px; }
.hosting-secret code { max-width: 390px; padding: 9px 11px; border: 1px dashed #9abbe6; border-radius: 9px; background: #fff; overflow-wrap: anywhere; }

.hosting-finder { position: sticky; top: 8px; z-index: 10; display: grid; grid-template-columns: minmax(250px, 1fr) auto; align-items: center; gap: 12px; padding: 10px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); }
.hosting-finder label { position: relative; }
.hosting-finder label > span { position: absolute; left: 12px; top: 8px; z-index: 1; color: #6c7e93; font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; pointer-events: none; }
.hosting-finder input { min-height: 49px; padding: 20px 12px 5px; border-color: #d4e0ee; background: #f8fbff; }
.hosting-finder nav { display: flex; gap: 3px; overflow-x: auto; }
.hosting-finder nav a { flex: 0 0 auto; padding: 9px; border-radius: 9px; color: #49627e; font-size: .74rem; font-weight: 820; text-decoration: none; }
.hosting-finder nav a:hover, .hosting-finder nav a[aria-current="true"] { background: var(--hc-blue-soft); color: var(--hc-blue); }

.hosting-overview { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
.hosting-overview article { min-height: 108px; padding: 14px; background: linear-gradient(145deg, #fff, #f9fbff); }
.hosting-overview span, .hosting-overview small { display: block; color: #72839a; font-size: .72rem; font-weight: 740; }
.hosting-overview strong { display: block; margin: 6px 0 3px; color: var(--hc-blue); font-size: 1.75rem; line-height: 1; letter-spacing: -.05em; }

.hosting-pane { scroll-margin-top: 86px; padding: 20px; }
.hosting-pane[hidden], .hosting-resource[hidden], .hosting-dns[hidden] { display: none !important; }
.hosting-control [hidden] { display: none !important; }
.hosting-pane__heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; padding-bottom: 14px; border-bottom: 1px solid #e7edf5; }
.hosting-pane__heading h2 { margin: 0; color: var(--hc-ink); font-size: 1.35rem; letter-spacing: -.035em; }
.hosting-pane__heading p:not(.eyebrow) { margin: 5px 0 0; color: var(--hc-muted); font-size: .85rem; line-height: 1.5; }
.hosting-add-button { min-height: 37px; padding: 7px 11px; border: 1px solid #a9c7ee; border-radius: 10px; background: var(--hc-blue-soft); color: #165dbd; font: inherit; font-size: .77rem; font-weight: 840; white-space: nowrap; cursor: pointer; }
.hosting-add-button:hover { background: #deebff; }

.hosting-inline-form { margin-top: 12px; padding: 14px; border: 1px dashed #b9cde7; border-radius: 14px; background: #f7faff; }
.hosting-inline-form[hidden] { display: none !important; }
.hosting-inline-form > form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 10px; }
.hosting-form-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 10px; }
.hosting-form-grid .span-2 { grid-column: span 2; }
.hosting-resource-list { display: grid; gap: 8px; margin-top: 12px; }
.hosting-resource-list--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hosting-resource { border: 1px solid #dfe8f3; border-radius: 15px; background: #fff; overflow: clip; }
.hosting-resource[open] { border-color: #b9d0ed; box-shadow: 0 10px 24px rgba(32, 70, 118, .07); }
.hosting-resource > summary, .hosting-dns > summary, .hosting-subpanel > summary, .hosting-compact-list details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px;
    cursor: pointer;
    list-style: none;
}
.hosting-resource summary::-webkit-details-marker, .hosting-dns summary::-webkit-details-marker, .hosting-subpanel summary::-webkit-details-marker, .hosting-compact-list summary::-webkit-details-marker { display: none; }
.hosting-resource__identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hosting-resource__identity > span:last-child { min-width: 0; }
.hosting-resource__identity strong, .hosting-subpanel strong, .hosting-compact-list strong, .hosting-dns strong { display: block; color: #1d314a; overflow-wrap: anywhere; }
.hosting-resource__identity small, .hosting-subpanel small, .hosting-compact-list small, .hosting-dns small { display: block; margin-top: 2px; color: #74869c; font-size: .72rem; line-height: 1.35; }
.hosting-resource__mark { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #eaf2ff; color: #1f68c9; font-size: .75rem; font-weight: 900; }
.hosting-resource__mark--domain { background: #eef1ff; color: #6252c7; }
.hosting-resource__mark--mail { background: #eaf8f3; color: #167657; }
.hosting-resource__mark--backup { background: #f4efff; color: #7456bb; }
.hosting-resource__summary-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.hosting-chevron { display: inline-block; width: 8px; height: 8px; border-right: 2px solid #7990aa; border-bottom: 2px solid #7990aa; transform: rotate(45deg) translateY(-2px); transition: transform .18s ease; }
details[open] > summary .hosting-chevron { transform: rotate(225deg) translate(-2px, -2px); }
.hosting-resource__body { padding: 14px; border-top: 1px solid #e7edf5; background: #fbfdff; }
.hosting-status { display: inline-flex; align-items: center; min-height: 25px; padding: 4px 8px; border-radius: 999px; background: #eef2f7; color: #5b6e84; font-size: .68rem; font-weight: 850; white-space: nowrap; }
.hosting-status--healthy { background: #eaf8f2; color: var(--hc-green); }
.hosting-status--attention { background: #fff0f1; color: var(--hc-red); }
.hosting-control-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 11px; }
.hosting-control-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hosting-setting { display: grid; align-content: start; gap: 9px; padding: 13px; border: 1px solid #e0e8f2; border-radius: 13px; background: #fff; }
.hosting-setting > div > strong { color: #253b54; }
.hosting-setting p { margin: 3px 0 0; color: var(--hc-muted); font-size: .75rem; line-height: 1.45; }
.hosting-setting__row { justify-content: space-between; align-self: end; }
.hosting-setting--flat { grid-template-columns: minmax(0, 1fr) auto; align-items: end; border: 0; padding: 0; }
.hosting-mail-links { display: grid; gap: 6px; margin-top: 10px; }
.hosting-mail-links form { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border: 1px solid #e1e8f1; border-radius: 9px; background: #fff; color: #536a83; font-size: .73rem; }

.hosting-danger { margin-top: 12px; padding: 0 11px; border-left: 3px solid #e5a0a5; color: #8c3d44; }
.hosting-insight-actions { margin-top: 10px; }
.hosting-insights { margin-top: 8px; padding: 12px; border: 1px solid #cbdcf1; border-radius: 12px; background: #f4f8ff; }
.hosting-insights strong { color: #274c7d; }
.hosting-insights p { margin: 4px 0; color: #5e7590; font-size: .77rem; }
.hosting-insights ul { display: grid; gap: 3px; margin: 8px 0 0; padding: 0; color: #4e6680; font-size: .72rem; list-style: none; }
.hosting-danger > summary { padding: 7px 0; font-size: .75rem; font-weight: 800; cursor: pointer; }
.hosting-danger form { display: grid; gap: 9px; max-width: 590px; padding: 6px 0 10px; }
.hosting-danger p { margin: 0; color: #72565a; font-size: .78rem; line-height: 1.48; }
.hosting-note { display: flex; align-items: start; gap: 8px; margin-top: 12px; padding: 12px; border-left: 3px solid #78a9e9; border-radius: 0 12px 12px 0; background: #f2f7ff; color: #58708b; font-size: .78rem; line-height: 1.48; }
.hosting-note strong { flex: 0 0 auto; color: #265eaa; }

.hosting-subpanel, .hosting-dns { margin-top: 9px; border: 1px solid #dfe8f3; border-radius: 13px; background: #fff; }
.hosting-subpanel > form, .hosting-contact-form, .hosting-dns__body { display: grid; gap: 11px; padding: 14px; border-top: 1px solid #e7edf5; }
.hosting-check { display: flex !important; grid-template-columns: auto 1fr; align-items: center; }
.hosting-check input { flex: 0 0 auto; width: 18px; min-height: 18px; }
.hosting-contact-form fieldset { margin: 0; padding: 12px; border: 1px solid #e0e8f2; border-radius: 12px; }
.hosting-contact-form legend { padding: 0 6px; color: #2f4865; font-size: .76rem; font-weight: 850; }
.hosting-dns__toolbar { justify-content: space-between; }
.hosting-table-wrap { overflow-x: auto; border: 1px solid #e1e8f1; border-radius: 12px; }
.hosting-table { width: 100%; border-collapse: collapse; font-size: .74rem; }
.hosting-table th { padding: 9px; background: #f4f7fb; color: #60758c; text-align: left; white-space: nowrap; }
.hosting-table td { max-width: 420px; padding: 9px; border-top: 1px solid #e7edf4; color: #425a75; vertical-align: top; }
.hosting-table__value { overflow-wrap: anywhere; }
.hosting-code-pill { display: inline-block; padding: 3px 6px; border-radius: 6px; background: #edf3fc; color: #345f93; font-size: .66rem; font-weight: 900; }
.hosting-row-menu { position: relative; }
.hosting-row-menu > summary { color: var(--hc-blue); font-weight: 820; cursor: pointer; }
.hosting-row-menu > div { position: absolute; right: 0; z-index: 4; width: min(290px, 80vw); padding: 11px; border: 1px solid #cbd9ea; border-radius: 12px; background: #fff; box-shadow: 0 14px 30px rgba(28, 54, 90, .18); }
.hosting-row-menu form { display: grid; gap: 7px; }

.hosting-tool-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.hosting-tool-group { min-width: 0; padding: 14px; border: 1px solid #dfe8f3; border-radius: 15px; background: #fbfdff; }
.hosting-tool-group__heading { display: flex; justify-content: space-between; gap: 10px; }
.hosting-tool-group__heading strong { color: #263c56; }
.hosting-tool-group__heading p { margin: 3px 0 0; color: var(--hc-muted); font-size: .74rem; }
.hosting-file-manager { margin-top: 12px; padding: 14px; border: 1px solid #dfe8f3; border-radius: 15px; background: #fbfdff; }
.hosting-file-manager__site { display: flex; align-items: end; gap: 8px; }
.hosting-file-manager__site label { min-width: 220px; }
.hosting-file-manager__workspace { display: grid; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #e1e9f3; }
.hosting-file-manager__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px; border-radius: 11px; background: #eef4fb; }
.hosting-file-manager__bar > span { min-width: 0; text-align: center; }
.hosting-file-manager__bar strong, .hosting-file-manager__bar small { display: block; }
.hosting-file-manager__bar small { margin-top: 2px; color: #6f8299; font-size: .7rem; overflow-wrap: anywhere; }
.hosting-file-manager__tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.hosting-file-manager__tools form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; padding: 10px; border: 1px solid #e0e8f2; border-radius: 12px; background: #fff; }
.hosting-file-manager__notice { padding: 9px 11px; border-radius: 10px; background: #eaf8f2; color: #167151; font-size: .77rem; font-weight: 750; }
.hosting-file-manager__notice.is-error { background: #fff0f1; color: #a33842; }
.hosting-file-list { display: grid; gap: 6px; }
.hosting-file-list article { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 9px 10px; border: 1px solid #e1e8f1; border-radius: 11px; background: #fff; }
.hosting-file-list__mark { min-width: 42px; padding: 4px 6px; border-radius: 7px; background: #edf3fc; color: #496b94; font-size: .61rem; font-weight: 900; text-align: center; text-transform: uppercase; }
.hosting-file-list__mark--folder { background: #fff5dc; color: #8a681e; }
.hosting-file-list__identity { min-width: 0; }
.hosting-file-list__identity strong { display: block; overflow-wrap: anywhere; }
.hosting-file-list__identity small { display: block; margin-top: 2px; color: #7a899c; font-size: .68rem; }
.hosting-file-list__actions { display: flex; align-items: center; gap: 7px; }
.hosting-file-editor { display: grid; gap: 9px; padding: 12px; border: 1px solid #b9cee8; border-radius: 12px; background: #fff; }
.hosting-file-editor > div { display: flex; align-items: center; justify-content: space-between; }
.hosting-file-editor textarea { min-height: 320px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .78rem; line-height: 1.5; tab-size: 4; }
.hosting-compact-list { display: grid; gap: 7px; margin-top: 10px; }
.hosting-compact-list details { border: 1px solid #e0e7f0; border-radius: 11px; background: #fff; }
.hosting-compact-list details > div { padding: 11px; border-top: 1px solid #e7edf4; }
.hosting-backup-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.hosting-backup-grid article { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 12px; border: 1px solid #e0e8f2; border-radius: 13px; background: #fbfdff; }
.hosting-backup-grid strong { display: block; overflow-wrap: anywhere; }
.hosting-backup-grid small { display: block; margin-top: 2px; color: #75879c; font-size: .7rem; }
.hosting-activity-list { display: grid; margin-top: 11px; }
.hosting-activity-list article { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 10px; padding: 11px 4px; border-bottom: 1px solid #e8eef5; }
.hosting-activity-list article:last-child { border-bottom: 0; }
.hosting-activity-list strong { color: #263c55; }
.hosting-activity-list p { margin: 2px 0; color: #61768e; font-size: .76rem; }
.hosting-activity-list small { color: #8290a3; font-size: .68rem; }
.hosting-activity__dot { width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: #8ba1b8; box-shadow: 0 0 0 4px #edf2f7; }
.hosting-activity__dot--completed { background: #1b926b; box-shadow: 0 0 0 4px #e7f6f0; }
.hosting-activity__dot--failed, .hosting-activity__dot--needs_attention { background: #c54852; box-shadow: 0 0 0 4px #fcecef; }

@media (max-width: 980px) {
    .hosting-overview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hosting-control-grid--three { grid-template-columns: 1fr; }
    .hosting-backup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .hosting-control__hero { align-items: start; flex-direction: column; min-height: 0; padding: 21px; }
    .hosting-finder { position: static; grid-template-columns: 1fr; }
    .hosting-finder nav { padding-bottom: 2px; }
    .hosting-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hosting-pane { padding: 16px; scroll-margin-top: 10px; }
    .hosting-pane__heading { align-items: stretch; flex-direction: column; }
    .hosting-pane__heading-actions { align-items: stretch; flex-direction: column; }
    .hosting-control-grid, .hosting-resource-list--grid, .hosting-tool-columns, .hosting-inline-form > form, .hosting-form-grid { grid-template-columns: 1fr !important; }
    .hosting-file-manager__site, .hosting-file-manager__bar, .hosting-file-list__actions { align-items: stretch; flex-direction: column; }
    .hosting-file-manager__site label { min-width: 0; }
    .hosting-file-manager__tools { grid-template-columns: 1fr; }
    .hosting-file-list article { grid-template-columns: auto minmax(0, 1fr); }
    .hosting-file-list__actions { grid-column: 2; }
    .hosting-form-grid .span-2 { grid-column: auto; }
    .hosting-resource > summary { align-items: start; }
    .hosting-resource__summary-actions .hosting-status { display: none; }
    .hosting-alert, .hosting-secret, .hosting-note { align-items: stretch; flex-direction: column; }
    .hosting-secret__value { align-items: stretch; flex-direction: column; }
    .hosting-table td { max-width: 250px; }
}
@media (max-width: 480px) {
    .hosting-overview { grid-template-columns: 1fr 1fr; }
    .hosting-overview article { min-height: 92px; }
    .hosting-backup-grid { grid-template-columns: 1fr; }
    .hosting-control__hero-actions, .hosting-quick-actions, .hosting-dns__toolbar { align-items: stretch; flex-direction: column; }
    .hosting-control__hero-actions > *, .hosting-quick-actions > *, .hosting-dns__toolbar > * { width: 100%; }
    .hosting-activity-list article { grid-template-columns: auto minmax(0, 1fr); }
    .hosting-activity-list article > .hosting-status { grid-column: 2; justify-self: start; }
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #f6f8fc 0%, #eef3fb 60%, #f5f7fb 100%);
    min-height: 100vh;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header,
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
}

.site-footer {
    font-size: 0.9rem;
    color: var(--muted);
}

.footer-meta {
    display: grid;
    gap: 6px;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--accent);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.brand-mark {
    background: var(--accent);
    color: #fff;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.brand-mark:hover,
.brand-mark:focus {
    text-decoration: none;
}

.brand-text {
    font-size: 1.05rem;
}

.content {
    flex: 1;
    padding: 16px 24px 40px;
}

.menu {
    position: relative;
}

.menu-toggle {
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    border: 1px solid var(--stroke);
    border-radius: 12px;
    padding: 6px 10px;
    background: #fff;
    color: var(--text);
}

.menu-toggle::-webkit-details-marker {
    display: none;
}

.menu-panel {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 220px;
    max-width: 320px;
    background: #fff;
    border: 1px solid var(--stroke);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 12px;
    z-index: 20;
}

.menu[open] .menu-panel {
    display: block;
}

.site-header--public {
    position: relative;
    z-index: 60;
    width: min(1420px, calc(100% - 32px));
    margin: 16px auto 0;
    padding: 14px 18px;
    border-radius: 22px;
    border: 1px solid rgba(220, 228, 240, 0.98);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(246, 250, 255, 0.9) 100%);
    box-shadow: 0 18px 40px rgba(28, 44, 80, 0.08);
    backdrop-filter: blur(8px);
}

.site-header--public .menu {
    position: relative;
    z-index: 61;
}

.site-header--public .menu-panel {
    z-index: 80;
}

.site-header--public .brand {
    gap: 12px;
}

.site-header--public .brand-mark--public {
    padding: 8px 12px;
    border-radius: 12px;
    letter-spacing: 0.05em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

.site-header--public .brand-text {
    font-size: 1rem;
    color: #5e6d83;
    font-weight: 700;
}

.site-header--public .header-actions--public {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-header--public .header-actions--public .primary-button,
.site-header--public .header-actions--public .ghost-button {
    min-height: 40px;
    border-radius: 12px;
}

.site-header--public .menu-toggle {
    min-height: 40px;
    min-width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-footer--public {
    width: min(1420px, calc(100% - 32px));
    margin: 8px auto 18px;
    padding: 14px 18px 0;
    border-top: 1px solid rgba(214, 224, 239, 0.96);
    color: #6a788d;
}

.site-footer--public .footer-meta {
    gap: 2px;
}

.site-footer--public .footer-links a {
    position: relative;
}

.site-footer--public .footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: currentColor;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.site-footer--public .footer-links a:hover::after {
    opacity: 0.25;
}

.menu-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.menu-links {
    display: grid;
    gap: 6px;
}

.menu-link {
    text-decoration: none;
    color: var(--text);
    padding: 8px 10px;
    border-radius: 10px;
    font-weight: 600;
}

.menu-link:hover,
.menu-link:focus {
    background: var(--accent-soft);
    color: var(--accent);
    text-decoration: none;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.notif {
    position: relative;
}

.notif-toggle {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
}

.notif-toggle::-webkit-details-marker {
    display: none;
}

.notif-dot {
    color: var(--accent);
}

.notif-count {
    background: #d93636;
    color: #fff;
    border-radius: 999px;
    padding: 2px 6px;
    font-size: 0.75rem;
}

.notif-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 280px;
    background: #fff;
    border: 1px solid var(--stroke);
    border-radius: 14px;
    padding: 12px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 10px;
    z-index: 20;
}

.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notif-list {
    display: grid;
    gap: 8px;
}

.notif-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid var(--stroke);
    background: #f8fafc;
}

.notif-item .muted {
    display: block;
    font-size: 0.85rem;
}

.notif[open] .notif-toggle {
    border-color: var(--accent-soft);
    background: var(--accent-soft);
    color: var(--accent);
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid var(--stroke);
    border-radius: 16px;
    padding: 16px 18px;
    display: none;
    gap: 16px;
    align-items: center;
    box-shadow: var(--shadow);
    z-index: 20;
}

.cookie-banner p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

@media (max-width: 720px) {
    .site-header,
    .site-footer {
        padding: 12px 16px;
    }

    .site-header--public,
    .site-footer--public {
        width: calc(100% - 24px);
        margin-left: auto;
        margin-right: auto;
    }

    .site-header--public {
        padding: 12px 14px;
        border-radius: 18px;
        margin-top: 12px;
    }

    .site-footer--public {
        padding: 12px 14px 0;
        margin-bottom: 12px;
    }

    .brand {
        gap: 6px;
    }

    .brand-mark {
        font-size: 0.78rem;
        padding: 6px 8px;
        border-radius: 10px;
    }

    .brand-text {
        font-size: 0.95rem;
        max-width: 140px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-actions {
        gap: 8px;
    }

    .header-actions .ghost-button,
    .header-actions .user-pill {
        display: none;
    }

    .menu-toggle {
        padding: 8px 12px;
        font-size: 1rem;
        border-radius: 12px;
    }

    .subnav {
        display: none;
    }

    .content {
        padding: 12px 16px 32px;
    }

    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px 16px;
    }

    .cookie-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .cookie-actions .primary-button,
    .cookie-actions .ghost-button {
        width: 100%;
    }
}

.cookie-banner.is-visible {
    display: flex;
}

.user-pill {
    background: var(--accent-soft);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.subnav {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 0 24px 12px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.subnav a {
    flex: 0 0 auto;
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--stroke);
}

@media (max-width: 820px) {
    .subnav {
        display: none;
    }
}

.hero {
    display: grid;
    gap: 24px;
}

.hero-card {
    background: var(--card);
    padding: 28px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.hero-card h1 {
    font-size: 1.8rem;
    margin: 0 0 12px;
}

.subtext {
    color: var(--muted);
    margin: 0 0 20px;
    line-height: 1.6;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.primary-button {
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(42, 124, 255, 0.2);
    border: none;
    appearance: none;
}

.primary-button:disabled {
    cursor: not-allowed;
    opacity: 0.75;
}

.primary-button.is-loading {
    gap: 10px;
}

.button-spinner {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    animation: button-spin 0.8s linear infinite;
}

.payment-card #payment-element {
    margin-bottom: 16px;
}

.payment-card #pay-button {
    margin-top: 16px;
}

.wallet-checkout {
    margin-bottom: 16px;
}

.wallet-checkout #wallet-button-element {
    display: grid;
    gap: 10px;
}

.ghost-button {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent-soft);
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.1;
    appearance: none;
}

.danger-button {
    background: #c62828;
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(198, 40, 40, 0.2);
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.1;
    appearance: none;
}

@keyframes button-spin {
    to {
        transform: rotate(360deg);
    }
}

.hero-meta {
    display: grid;
    gap: 16px;
}

.meta-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--stroke);
    border-radius: 20px;
    padding: 18px 20px;
}

.meta-card h2 {
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.meta-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.section {
    display: grid;
    gap: 16px;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.section-header h1 {
    margin: 0;
    font-size: 1.6rem;
}

.section-header p {
    margin: 0;
    color: var(--muted);
}

.section-spacer {
    height: 8px;
}

.card {
    background: var(--card);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--stroke);
    box-shadow: 0 10px 30px rgba(28, 44, 80, 0.08);
}

.card-subtle {
    background: #f8fafc;
    border: 1px solid var(--stroke);
    border-radius: 16px;
    padding: 16px;
    display: grid;
    gap: 12px;
}

.card h2 {
    margin: 0;
}

.placeholder-bar {
    position: sticky;
    bottom: 16px;
    margin-top: 18px;
    padding: 14px 16px;
    background: var(--card);
    border: 1px solid var(--stroke);
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(28, 44, 80, 0.08);
    display: grid;
    gap: 10px;
    z-index: 5;
}

.placeholder-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.placeholder-chip {
    border: 1px solid var(--stroke);
    background: #f8fafc;
    color: var(--text);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.85rem;
    cursor: pointer;
}

.placeholder-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.placeholder-notice {
    margin: 0;
}

.template-toggle {
    background: none;
    border: none;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.template-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
}

.template-chevron {
    display: inline-block;
    font-size: 1.4rem;
    transform: rotate(0deg);
    transition: transform 0.2s ease;
}

.card.is-open .template-chevron {
    transform: rotate(90deg);
}

.card-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.card-header > div {
    display: grid;
    gap: 4px;
}

.card-header p {
    margin: 0;
}

.card-body {
    display: grid;
    gap: 10px;
}

.card-body p {
    margin: 0;
}

.card-body > h3 + .list {
    margin-top: -4px;
}

.card.stack {
    gap: 12px;
}

.stack > h1,
.stack > h2,
.stack > h3,
.stack > h4,
.stack > h5,
.stack > h6,
.card-body > h1,
.card-body > h2,
.card-body > h3,
.card-body > h4,
.card-body > h5,
.card-body > h6 {
    margin: 0;
}

@media (max-width: 720px) {
    .support-request-grid {
        grid-template-columns: 1fr;
    }

    .support-request-help {
        order: 1;
    }

    .support-request-form {
        order: 2;
    }
}

.thread-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.inline-edit summary {
    list-style: none;
}

.inline-edit summary::-webkit-details-marker {
    display: none;
}

.inline-edit[open] summary {
    margin-bottom: 12px;
}

.badge {
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.9rem;
}

.list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.order-summary-list li {
    align-items: flex-start;
}

.order-summary-list li > span:first-child {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

.order-summary-list li > span:last-child {
    flex: 0 0 auto;
    white-space: nowrap;
}

.muted {
    color: var(--muted);
}

.table {
    display: grid;
    gap: 8px;
}

.table-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    align-items: center;
    background: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--stroke);
}

.table-head {
    background: transparent;
    border: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    padding-left: 4px;
}

.table-total {
    font-weight: 700;
}

.link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.link.is-disabled {
    color: var(--muted);
    text-decoration: line-through;
    cursor: not-allowed;
}

.table-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.table-actions form {
    margin: 0;
}

.table-actions button.link {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.upload-list {
    display: grid;
    gap: 10px;
}

.upload-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--stroke);
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
}

.upload-item.is-error {
    border-color: #f1b0b0;
    color: #a73535;
    background: #fff5f5;
}

.thread-message {
    border: 1px solid var(--stroke);
    border-radius: 14px;
    padding: 14px;
    background: #fff;
}

.thread-message.from-customer {
    border-color: #dbe8ff;
    background: #f7faff;
}

.thread-message.from-admin {
    border-color: #f0e4ff;
    background: #fbf8ff;
}

.thread-message.from-ai {
    border-color: #cce9de;
    background: linear-gradient(180deg, #f7fffb 0%, #f1fbf6 100%);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ai-support-page,
.ai-chat-page {
    max-width: 1040px;
    margin: 0 auto;
}

.ai-site-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.ai-site-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.ai-site-card h2,
.ai-site-card p {
    margin: 0;
}

.ai-site-card form {
    grid-column: 1 / -1;
}

.ai-site-card .primary-button {
    width: 100%;
}

.ai-site-card__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #176b4b;
    background: #e1f7ed;
    font-size: 1.25rem;
}

.ai-empty-state {
    grid-column: 1 / -1;
}

.ai-empty-state h2,
.ai-empty-state p {
    margin: 0;
}

.ai-chat-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    border: 1px solid #d8e7e1;
    border-radius: 22px;
    background: radial-gradient(circle at top right, rgba(67, 183, 133, 0.15), transparent 35%), linear-gradient(180deg, #ffffff 0%, #f6fbf9 100%);
    box-shadow: 0 12px 32px rgba(23, 91, 66, 0.08);
}

.ai-chat-head h1,
.ai-chat-head p {
    margin: 0;
}

.ai-chat-head h1 {
    letter-spacing: -0.03em;
}

.ai-chat-head p {
    color: var(--muted);
    margin-top: 4px;
}

.ai-chat-head__eyebrow {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: #176b4b;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ai-presence-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #27ae71;
    box-shadow: 0 0 0 4px rgba(39, 174, 113, 0.14);
}

.ai-chat-shell {
    display: grid;
    gap: 12px;
}

.ai-chat-transcript {
    display: grid;
    gap: 10px;
    min-height: 180px;
    padding: 8px 0;
}

.ai-message {
    max-width: min(760px, 100%);
    box-shadow: 0 6px 18px rgba(28, 44, 80, 0.04);
}

.ai-message.from-customer {
    justify-self: end;
    border-bottom-right-radius: 5px;
}

.ai-message.from-ai,
.ai-message.from-admin {
    justify-self: start;
    border-bottom-left-radius: 5px;
}

.ai-chat-status {
    display: grid;
    gap: 4px;
    padding: 12px 15px;
    border: 1px solid #dbe8e2;
    border-radius: 14px;
    background: #fbfefc;
}

.ai-chat-status__line {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1d5d45;
}

.ai-chat-status p {
    margin: 0;
    font-size: 0.9rem;
}

.ai-send-notice {
    padding: 10px 13px;
    border-radius: 12px;
    border: 1px solid #d7e5fc;
    background: #f4f8ff;
    color: #244d91;
    font-size: 0.9rem;
}

.ai-send-notice.is-warning {
    border-color: #f0ddb0;
    background: #fffaf0;
    color: #765616;
}

.ai-send-notice.is-error {
    border-color: #f1cccc;
    background: #fff6f6;
    color: #9f2f2f;
}

.ai-composer {
    display: grid;
    gap: 10px;
    position: sticky;
    bottom: 12px;
    padding: 14px;
    border: 1px solid #d8e3ee;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 30px rgba(28, 44, 80, 0.1);
    backdrop-filter: blur(10px);
}

.ai-composer textarea {
    width: 100%;
    min-height: 78px;
    resize: vertical;
    border: 0;
    padding: 4px 2px;
    background: transparent;
    box-shadow: none;
}

.ai-composer textarea:focus {
    outline: none;
}

.ai-composer__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--stroke);
}

.ai-composer__footer .primary-button {
    min-width: 132px;
}

.ai-attachment-control {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.ai-attachment-control input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 720px) {
    .ai-chat-head,
    .ai-composer__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .ai-chat-head .ghost-button,
    .ai-composer__footer .primary-button {
        width: 100%;
    }

    .ai-message {
        max-width: 100%;
    }
}

.thread-message.thread-message-system {
    border-style: dashed;
    border-color: #d7dee8;
    background: #f8fafc;
}

.thread-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.attachment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.attachment {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    text-decoration: none;
    color: var(--accent);
    background: #fff;
    font-weight: 600;
    font-size: 0.85rem;
}

.attachment-thumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--stroke);
    border-radius: 12px;
    background: #fff;
    padding: 0;
    width: 140px;
    height: 105px;
    overflow: hidden;
    cursor: pointer;
}

.attachment-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 15, 25, 0.85);
    z-index: 1000;
}

.lightbox.is-open {
    display: flex;
}

.lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    background: #fff;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(10, 15, 25, 0.6);
    color: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 600;
    cursor: pointer;
}

.status {
    text-transform: capitalize;
    font-weight: 600;
}

.status.open {
    color: #1b6cf0;
}

.status.closed {
    color: #6c7486;
}

.status.paid {
    color: #0a8f4d;
}

.status.due {
    color: #d77400;
}

.status.expired,
.status.failed,
.status.refunded {
    color: #c32b2b;
}

.status.cancelled {
    color: #6c7486;
}

.status.awaiting_payment,
.status.pending {
    color: #d77400;
}

.status.approved,
.status.processing,
.status.quote_sent,
.status.design,
.status.build,
.status.review {
    color: #1b6cf0;
}

.status.fulfilled,
.status.active,
.status.ready_to_launch,
.status.live {
    color: #0a8f4d;
}

.status.rejected,
.status.suspended,
.status.archived,
.status.quote_rejected,
.status.on_hold {
    color: #6c7486;
}

.status.quote_draft,
.status.final_due {
    color: #d77400;
}

.grid {
    display: grid;
    gap: 20px;
}

.notice {
    background: var(--accent-soft);
    color: var(--accent);
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 600;
}

.metric {
    font-size: 2rem;
    margin: 0;
}

.field textarea,
.field select {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    font-size: 1rem;
    font-family: inherit;
    width: 100%;
}

.field textarea {
    resize: vertical;
}

.checkbox {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 0.9rem;
    color: var(--muted);
}

.radio {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 0.9rem;
    color: var(--muted);
}

.inline-form {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.wizard-progress {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.wizard-progress__track {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #e6ecf5;
}

.wizard-progress__track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--accent);
}

.inline-action {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-left: 8px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    margin-top: 16px;
}

.tab-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tab-button {
    border: 1px solid var(--stroke);
    background: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
}

.tab-button.is-active {
    color: var(--accent);
    border-color: var(--accent-soft);
    background: var(--accent-soft);
}

.email-preview {
    background: #fff;
    border: 1px solid var(--stroke);
    border-radius: 12px;
    padding: 16px;
}

.wysiwyg-toolbar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.wysiwyg-editor {
    border: 1px solid var(--stroke);
    border-radius: 12px;
    padding: 12px;
    min-height: 180px;
    background: #fff;
}

.note {
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.95rem;
}

.stack {
    display: grid;
    gap: 16px;
}

.field {
    display: grid;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--muted);
}

.field input {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    font-size: 1rem;
    font-family: inherit;
    width: 100%;
}

.field input[type="number"],
.field input[type="date"] {
    max-width: 220px;
}

.inline-select {
    max-width: 140px;
}

.field.is-hidden {
    display: none;
}

.option-group {
    display: grid;
    gap: 10px;
}

.option-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--muted);
}

.option-row input[type="radio"],
.option-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.mailbox-request-options {
    gap: 14px;
}

.mailbox-request-option-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.mailbox-request-option {
    display: block;
    cursor: pointer;
}

.mailbox-request-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mailbox-request-option-card {
    display: grid;
    gap: 10px;
    min-height: 100%;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--stroke);
    background: #fff;
    color: var(--muted);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.mailbox-request-option:hover .mailbox-request-option-card {
    border-color: rgba(34, 102, 190, 0.28);
    box-shadow: 0 10px 24px rgba(28, 44, 80, 0.08);
    transform: translateY(-1px);
}

.mailbox-request-option input[type="radio"]:checked + .mailbox-request-option-card {
    border-color: rgba(34, 102, 190, 0.42);
    background: linear-gradient(180deg, rgba(244, 248, 255, 0.96), rgba(255, 255, 255, 0.98));
    box-shadow: 0 12px 28px rgba(28, 44, 80, 0.1);
    color: var(--text);
}

.mailbox-request-option-top {
    display: flex;
    gap: 12px;
    align-items: start;
    justify-content: space-between;
}

.mailbox-request-option-price {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(34, 102, 190, 0.1);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}

.mailbox-request-option-copy {
    line-height: 1.5;
}

.unit-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 16px;
    background: #f4f7ff;
    border: 1px solid var(--stroke);
}

.unit-toggle {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.unit-pill {
    border: 1px solid var(--stroke);
    background: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 600;
    cursor: pointer;
    color: var(--muted);
}

.unit-pill.is-active {
    background: var(--accent);
    color: #fff;
    border-color: transparent;
}

.wizard-title {
    font-size: 1.4rem;
}

.cron-progress.is-hidden {
    display: none;
}

.progress-track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #e9edf6;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent);
    transition: width 0.3s ease;
}

.password-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-field input {
    padding-right: 70px;
}

.toggle-password {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid var(--stroke);
    background: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.8rem;
    cursor: pointer;
}

.field input:focus {
    outline: 2px solid rgba(42, 124, 255, 0.25);
    border-color: var(--accent);
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 40;
}

.modal.is-open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 21, 43, 0.55);
}

.modal-card {
    position: relative;
    width: min(1100px, 100%);
    max-height: min(85vh, 860px);
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--stroke);
    background: #fff;
}

.modal-body {
    padding: 24px;
    overflow: auto;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 520px) {
    .modal {
        padding: 12px;
    }

    .modal-card {
        max-height: 92vh;
    }

    .modal-header,
    .modal-body {
        padding: 16px;
    }

    .modal .cta-row > .primary-button,
    .modal .cta-row > .ghost-button {
        width: 100%;
    }
}

@media (min-width: 900px) {
    .content {
        padding: 40px 80px 60px;
    }

    .hero {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: start;
    }

    .hero-card h1 {
        font-size: 2.2rem;
    }

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

    .section-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.website-project-page .wp-page-frame {
    max-width: 1420px;
    margin: 0 auto;
}

.website-project-page .website-project-shell {
    position: relative;
}

.website-project-page .website-project-shell::before {
    content: '';
    position: absolute;
    inset: 22px 0 auto 0;
    height: 184px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(42, 124, 255, 0.12), rgba(42, 124, 255, 0) 46%),
        linear-gradient(180deg, rgba(42, 124, 255, 0.08) 0%, rgba(42, 124, 255, 0) 100%);
    pointer-events: none;
}

.website-project-page .wp-workspace {
    display: grid;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.website-project-page .wp-masthead {
    display: grid;
    gap: 12px;
    padding: 14px 18px 16px;
    background:
        radial-gradient(circle at top left, rgba(42, 124, 255, 0.11), rgba(42, 124, 255, 0) 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(246, 250, 255, 0.9) 100%);
    border: 1px solid rgba(214, 224, 239, 0.98);
    border-radius: 24px;
    box-shadow: 0 20px 44px rgba(20, 34, 58, 0.08);
    backdrop-filter: blur(10px);
}

.website-project-page .wp-masthead__top,
.website-project-page .wp-masthead__main,
.website-project-page .wp-title-row,
.website-project-page .wp-chip-row,
.website-project-page .wp-title-meta,
.website-project-page .wp-breadcrumbs,
.website-project-page .wp-masthead__actions,
.website-project-page .wp-action-cluster,
.website-project-page .wp-inline-actions,
.website-project-page .wp-task-row__top,
.website-project-page .wp-task-row__meta,
.website-project-page .wp-checkpoint-pill__meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.website-project-page .wp-masthead__top,
.website-project-page .wp-masthead__main {
    justify-content: space-between;
}

.website-project-page .wp-masthead__main {
    align-items: flex-start;
}

.website-project-page .wp-masthead__top {
    align-items: center;
}

.website-project-page .wp-breadcrumbs {
    font-size: 0.82rem;
    color: var(--muted);
    opacity: 0.92;
}

.website-project-page .wp-title-block {
    min-width: 0;
    flex: 1 1 auto;
}

.website-project-page .wp-masthead__identity {
    display: grid;
    gap: 10px;
}

.website-project-page .wp-title-row h1 {
    margin: 0;
    font-size: clamp(1.72rem, 2.4vw, 2.45rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.website-project-page .wp-title-meta {
    color: var(--muted);
    font-size: 0.9rem;
}

.website-project-page .wp-title-meta--chips {
    gap: 6px;
}

.website-project-page .wp-meta-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(220, 229, 243, 0.95);
    color: #5a6a80;
    font-size: 0.84rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.website-project-page .wp-meta-chip strong {
    color: #233248;
}

.website-project-page .wp-masthead__actions {
    justify-content: flex-end;
    flex: 0 0 auto;
    gap: 10px;
}

.website-project-page .wp-masthead__status {
    padding-top: 2px;
}

.website-project-page .wp-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 999px;
    border: 1px solid #dde5ef;
    background: rgba(244, 248, 255, 0.92);
    color: #304256;
    font-size: 0.77rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.website-project-page .wp-chip--paid,
.website-project-page .wp-chip--live,
.website-project-page .wp-chip--complete,
.website-project-page .wp-chip--done,
.website-project-page .wp-chip--approved,
.website-project-page .wp-chip--active {
    background: #e8f7ef;
    color: #166534;
    border-color: #c7ead4;
}

.website-project-page .wp-chip--overdue,
.website-project-page .wp-chip--cancelled,
.website-project-page .wp-chip--quote_rejected,
.website-project-page .wp-chip--failed {
    background: #fff1f0;
    color: #b42318;
    border-color: #f5d0cc;
}

.website-project-page .wp-chip--open,
.website-project-page .wp-chip--final_due,
.website-project-page .wp-chip--requires_payment_method,
.website-project-page .wp-chip--requires_source,
.website-project-page .wp-chip--not_linked,
.website-project-page .wp-chip--neutral {
    background: #fff7e8;
    color: #92400e;
    border-color: #f2ddad;
}

.website-project-page .wp-chip--in_progress,
.website-project-page .wp-chip--design,
.website-project-page .wp-chip--build,
.website-project-page .wp-chip--review,
.website-project-page .wp-chip--ready_to_launch,
.website-project-page .wp-chip--quote_sent,
.website-project-page .wp-chip--awaiting_payment,
.website-project-page .wp-chip--pending,
.website-project-page .wp-chip--on_hold,
.website-project-page .wp-chip--open {
    background: #eaf1ff;
    color: #1d4ed8;
    border-color: #cedcff;
}

.website-project-page .wp-kpi-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: -2px;
}

.website-project-page .wp-kpi {
    display: grid;
    gap: 4px;
    padding: 14px 14px 14px 17px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 250, 255, 0.96) 100%);
    border: 1px solid rgba(227, 232, 240, 0.95);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(28, 44, 80, 0.07);
}

.website-project-page .wp-kpi::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #2a7cff 0%, #81b0ff 100%);
    opacity: 0.9;
}

.website-project-page .wp-kpi strong {
    font-size: 1.08rem;
    line-height: 1.12;
}

.website-project-page .wp-kpi__value {
    color: #122033;
    letter-spacing: -0.02em;
}

.website-project-page .wp-kpi small,
.website-project-page .wp-panel__head p,
.website-project-page .wp-feed__item span,
.website-project-page .wp-conversation-row p,
.website-project-page .wp-conversation-row__meta span,
.website-project-page .wp-activity-row__body span,
.website-project-page .wp-empty-state span,
.website-project-page .wp-note-inline span,
.website-project-page .wp-task-row__meta,
.website-project-page .wp-disclosure summary small {
    color: var(--muted);
}

.website-project-page .wp-kpi__label,
.website-project-page .wp-facts-grid dt,
.website-project-page .wp-mini-list dt {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.website-project-page .wp-tabbar {
    gap: 6px;
    padding: 6px 0 4px;
    border-bottom: 1px solid rgba(227, 232, 240, 0.85);
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.website-project-page .wp-tabbar::-webkit-scrollbar {
    display: none;
}

.website-project-page .wp-tabbar .tab-button {
    padding: 10px 15px;
    border-radius: 13px;
    border-bottom-color: transparent;
    background: rgba(255, 255, 255, 0.68);
    color: #66758b;
    flex: 0 0 auto;
    font-weight: 700;
}

.website-project-page .wp-tabbar .tab-button.is-active {
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    color: #15253a;
    border-color: rgba(214, 224, 239, 0.95);
    box-shadow: 0 10px 18px rgba(28, 44, 80, 0.07);
}

.website-project-page .website-project-tabpanel {
    padding-top: 2px;
}

.website-project-page .wp-overview-grid,
.website-project-page .wp-delivery-grid,
.website-project-page .wp-conversation-grid {
    display: grid;
    gap: 12px;
    align-items: start;
}

.website-project-page .wp-overview-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
}

.website-project-page .wp-delivery-grid {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.4fr);
}

.website-project-page .wp-conversation-grid {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.3fr);
}

.website-project-page .wp-side-rail {
    display: grid;
    gap: 12px;
}

.website-project-page .wp-main-stack {
    display: grid;
    gap: 12px;
}

.website-project-page .wp-panel {
    display: grid;
    gap: 12px;
    padding: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 251, 255, 0.96) 100%);
    border: 1px solid rgba(220, 228, 240, 0.98);
    border-radius: 20px;
    box-shadow: 0 16px 34px rgba(28, 44, 80, 0.075);
}

.website-project-page .wp-masthead__actions .primary-button,
.website-project-page .wp-masthead__actions .ghost-button {
    min-height: 40px;
    border-radius: 12px;
    font-weight: 700;
}

.website-project-page .website-project-card {
    position: relative;
}

.website-project-page .website-project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    pointer-events: none;
}

.website-project-page .wp-panel__head {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(227, 232, 240, 0.8);
}

.website-project-page .wp-panel--compact {
    gap: 10px;
}

.website-project-page .wp-panel--tight {
    gap: 10px;
    padding: 12px;
}

.website-project-page .wp-panel__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.website-project-page .wp-panel__head h2 {
    margin: 0;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.website-project-page .wp-panel__head p {
    margin: 3px 0 0;
    font-size: 0.86rem;
}

.website-project-page .wp-panel__head--rail {
    align-items: center;
}

.website-project-page .wp-panel__head--split {
    align-items: center;
}

.website-project-page .wp-disclosure,
.website-project-page .wp-inline-notes {
    border: 1px solid rgba(227, 232, 240, 0.98);
    border-radius: 12px;
    background: #fbfcff;
}

.website-project-page .wp-disclosure summary,
.website-project-page .wp-inline-notes summary {
    list-style: none;
    cursor: pointer;
}

.website-project-page .wp-disclosure summary::-webkit-details-marker,
.website-project-page .wp-inline-notes summary::-webkit-details-marker {
    display: none;
}

.website-project-page .wp-disclosure summary {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
}

.website-project-page .wp-disclosure summary span:first-child {
    display: grid;
    gap: 4px;
}

.website-project-page .wp-disclosure__hint {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 700;
}

.website-project-page .wp-disclosure__body {
    padding: 0 14px 14px;
}

.website-project-page .wp-copy-block {
    line-height: 1.55;
    color: #243245;
}

.website-project-page .wp-facts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    margin: 0;
}

.website-project-page .wp-facts-grid div,
.website-project-page .wp-mini-list div {
    display: grid;
    gap: 4px;
    padding: 12px 13px;
    border-radius: 15px;
    background: linear-gradient(180deg, #fcfdff 0%, #f6f9ff 100%);
    border: 1px solid rgba(223, 231, 242, 0.95);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.website-project-page .wp-facts-grid dd,
.website-project-page .wp-mini-list dd {
    margin: 0;
    font-weight: 700;
    word-break: break-word;
}

.website-project-page .wp-feed {
    display: grid;
    gap: 0;
}

.website-project-page .wp-feed__item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(227, 232, 240, 0.98);
}

.website-project-page .wp-feed__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.website-project-page .wp-reference-list {
    display: grid;
    gap: 8px;
    margin: 0;
}

.website-project-page .wp-reference-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 11px 12px;
    border-radius: 15px;
    background: linear-gradient(180deg, #fcfdff 0%, #f7faff 100%);
    border: 1px solid rgba(223, 231, 242, 0.95);
}

.website-project-page .wp-reference-row dd {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.website-project-page .wp-reference-main {
    font-weight: 700;
    color: #1d2b3d;
}

.website-project-page .wp-action-cluster {
    gap: 8px;
}

.website-project-page .wp-inline-form-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.website-project-page .wp-inline-form-grid .field--full {
    grid-column: 1 / -1;
}

.website-project-page .wp-inline-form-grid > button {
    align-self: end;
}

.website-project-page .wp-mini-list {
    display: grid;
    gap: 10px;
    margin: 0;
}

.website-project-page .wp-empty-state {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px dashed #d7dfeb;
    border-radius: 12px;
    background: #fbfcff;
}

.website-project-page .wp-rail {
    position: sticky;
    top: 14px;
}

.website-project-page .wp-rail-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.website-project-page .wp-rail-summary__item,
.website-project-page .wp-detail-pill {
    display: grid;
    gap: 4px;
    padding: 10px 11px;
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfdff 0%, #f2f7ff 100%);
    border: 1px solid rgba(220, 228, 240, 0.98);
}

.website-project-page .wp-checkpoint-rail {
    display: grid;
    gap: 8px;
}

.website-project-page .wp-checkpoint-pill {
    display: grid;
    gap: 6px;
    padding: 12px 12px;
    border-radius: 18px;
    border: 1px solid rgba(220, 228, 240, 0.98);
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.website-project-page .wp-checkpoint-pill:hover {
    transform: translateY(-1px);
    border-color: #c9d7f1;
}

.website-project-page .wp-checkpoint-pill.is-active {
    border-color: #aac7fb;
    background: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
    box-shadow: inset 0 0 0 1px #d6e4ff, 0 12px 24px rgba(42, 124, 255, 0.11);
}

.website-project-page .wp-checkpoint-pill__top,
.website-project-page .wp-conversation-row,
.website-project-page .wp-detail-title-row,
.website-project-page .wp-task-header-row,
.website-project-page .wp-detail-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}

.website-project-page .wp-checkpoint-pill__meta,
.website-project-page .wp-checkpoint-pill__bottom,
.website-project-page .wp-task-row__meta,
.website-project-page .wp-conversation-row p {
    font-size: 0.85rem;
}

.website-project-page .wp-annotation-strip {
    display: grid;
    gap: 4px;
    padding: 12px 13px;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid rgba(227, 232, 240, 0.98);
}

.website-project-page .wp-annotation-strip p {
    margin: 0;
    color: #243245;
    line-height: 1.55;
}

.website-project-page .wp-checkpoint-dashboard {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.website-project-page .wp-detail-toolbar {
    align-items: stretch;
}

.website-project-page .wp-detail-pill {
    min-width: 0;
    flex: 1 1 0;
}

.website-project-page .wp-checkpoint-stat,
.website-project-page .wp-stage-strip__item,
.website-project-page .wp-snapshot-band__item {
    display: grid;
    gap: 4px;
    padding: 11px 12px;
    border-radius: 14px;
    background: linear-gradient(180deg, #fcfdff 0%, #f5f8ff 100%);
    border: 1px solid rgba(221, 229, 241, 0.95);
}

.website-project-page .wp-stage-strip,
.website-project-page .wp-snapshot-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.website-project-page .wp-stage-form {
    display: grid;
    gap: 10px;
}

.website-project-page .wp-stage-hint {
    margin: 0;
    color: #607087;
    font-size: .86rem;
    line-height: 1.45;
}

.website-project-page .wp-stage-hint strong {
    color: #253a55;
}

.website-project-page .wp-settlement-card {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(220, 228, 240, 0.98);
}

.website-project-page .wp-settlement-card.is-settled {
    display: grid;
    gap: 11px;
    padding: 14px;
    border: 1px solid rgba(70, 154, 99, 0.24);
    border-radius: 15px;
    background: linear-gradient(180deg, #fbfffc 0%, #f2fbf5 100%);
}

.website-project-page .wp-settlement-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.website-project-page .wp-settlement-card__head > div {
    display: grid;
    gap: 3px;
}

.website-project-page .wp-settlement-card__head strong {
    color: #183824;
}

.website-project-page .wp-settlement-card__head span:not(.wp-chip) {
    color: #5a6f62;
    font-size: .82rem;
}

.website-project-page .wp-settlement-card > p {
    margin: 0;
    color: #284d35;
    font-size: .9rem;
    line-height: 1.5;
}

.website-project-page .wp-settlement-card form {
    margin: 0;
}

.website-project-page .wp-task-header-row form {
    flex: 0 0 auto;
}

.website-project-page .wp-checkpoint-complete-form {
    margin: 0;
}

.website-project-page .website-project-checkpoint-panel {
    scroll-margin-top: 12px;
}

.website-project-page .wp-checkpoint-progress {
    grid-column: 1 / -1;
}

.website-project-page .wp-checkpoint-progress__bar {
    height: 8px;
    border-radius: 999px;
    background: #e6edf8;
    overflow: hidden;
}

.website-project-page .wp-checkpoint-progress__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2a7cff 0%, #73a6ff 100%);
}

.website-project-page .wp-task-table {
    display: grid;
    gap: 8px;
}

.website-project-page .wp-task-table__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px 80px 220px;
    gap: 10px;
    padding: 0 12px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.website-project-page .wp-task-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px 80px 220px;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(220, 228, 240, 0.98);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    align-items: start;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

.website-project-page .wp-task-row.is-done {
    background: linear-gradient(180deg, #f9fdfb 0%, #f2fbf5 100%);
}

.website-project-page .wp-task-row__main {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.website-project-page .wp-task-row__status,
.website-project-page .wp-task-row__order {
    display: flex;
    align-items: center;
}

.website-project-page .wp-task-row__title {
    font-size: 0.98rem;
    line-height: 1.3;
    color: #17263a;
}

.website-project-page .wp-task-row__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.website-project-page .wp-task-row__actions .ghost-button,
.website-project-page .wp-task-row__actions .link {
    min-height: 34px;
}

.website-project-page .wp-inline-notes summary {
    padding: 8px 10px;
    font-size: 0.86rem;
    color: var(--muted);
}

.website-project-page .wp-inline-notes__body {
    padding: 0 10px 10px;
    line-height: 1.5;
    color: #243245;
    font-size: 0.92rem;
}

.website-project-page .wp-note-inline {
    padding: 10px 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, #fbfdff 0%, #f3f8ff 100%);
    border: 1px solid rgba(220, 228, 240, 0.98);
}

.website-project-page .wp-document-preview,
.website-project-page .wp-note-card {
    padding: 14px 15px;
    border-radius: 16px;
    background: linear-gradient(180deg, #fcfdff 0%, #f4f8ff 100%);
    border: 1px solid rgba(227, 232, 240, 0.98);
}

.website-project-page .wp-document-preview p,
.website-project-page .wp-note-card p {
    margin: 0;
    line-height: 1.6;
    color: #243245;
}

.website-project-page .wp-conversation-list,
.website-project-page .wp-activity-list {
    display: grid;
    gap: 8px;
}

.website-project-page .wp-conversation-row {
    padding: 12px 13px;
    border-radius: 14px;
    border: 1px solid rgba(220, 228, 240, 0.98);
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.website-project-page .wp-conversation-row__top {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.website-project-page .wp-conversation-row p {
    margin: 4px 0 0;
}

.website-project-page .wp-conversation-row__meta {
    display: grid;
    gap: 6px;
    justify-items: end;
    text-align: right;
    font-size: 0.84rem;
}

.website-project-page .wp-activity-panel {
    min-height: 0;
}

.website-project-page .wp-activity-list {
    position: relative;
    padding-left: 4px;
}

.website-project-page .wp-activity-list::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: #dbe4ef;
}

.website-project-page .wp-activity-row {
    position: relative;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
}

.website-project-page .wp-activity-row__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 7px;
    position: relative;
    z-index: 1;
}

.website-project-page .wp-activity-row__body {
    display: grid;
    gap: 3px;
    padding: 2px 0 10px;
}

.website-project-page .wp-modal-card {
    width: min(760px, 100%);
    max-height: min(86vh, 900px);
}

.website-project-page .wp-task-row__primary {
    border-color: rgba(42, 124, 255, 0.28);
    background: rgba(42, 124, 255, 0.08);
    color: #1950c9;
}

.website-project-page .wp-modal-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.website-project-page .wp-panel--feature {
    background:
        radial-gradient(circle at top right, rgba(42, 124, 255, 0.08), rgba(42, 124, 255, 0) 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.96) 100%);
}

.website-project-page .wp-delivery-setup-bar {
    margin-bottom: 16px;
}

.website-project-page .wp-delivery-setup-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
    align-items: end;
}

.website-project-page .wp-inline-form-grid--delivery {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
}

.website-project-page .wp-delivery-setup-actions,
.website-project-page .wp-delivery-template-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.website-project-page .wp-delivery-template-summary {
    display: grid;
    gap: 2px;
}

.website-project-page .ghost-button--danger {
    border-color: rgba(176, 46, 46, 0.18);
    color: #a22b2b;
    background: rgba(176, 46, 46, 0.05);
}

.website-project-page .field--checkbox {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    min-height: 44px;
}

.website-project-page .field--checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

@media (max-width: 1100px) {
    .website-project-page .wp-overview-grid,
    .website-project-page .wp-delivery-grid,
    .website-project-page .wp-conversation-grid {
        grid-template-columns: 1fr;
    }

    .website-project-page .wp-delivery-setup-grid,
    .website-project-page .wp-inline-form-grid--delivery {
        grid-template-columns: 1fr;
    }

    .website-project-page .wp-rail {
        position: static;
    }
}

@media (max-width: 720px) {
    .website-project-page .wp-masthead {
        padding: 12px 12px 14px;
        border-radius: 18px;
    }

    .website-project-page .wp-masthead__top,
    .website-project-page .wp-masthead__main,
    .website-project-page .wp-task-row__actions,
    .website-project-page .wp-conversation-row,
    .website-project-page .wp-feed__item,
    .website-project-page .wp-detail-title-row,
    .website-project-page .wp-detail-toolbar,
    .website-project-page .wp-task-header-row,
    .website-project-page .wp-panel__head {
        flex-direction: column;
        align-items: stretch;
    }

    .website-project-page .wp-task-header-row form,
    .website-project-page .wp-task-header-row form button {
        width: 100%;
    }

    .website-project-page .website-project-checkpoint-panel.has-selected-checkpoint {
        order: -1;
    }

    .website-project-page .wp-checkpoint-complete-form,
    .website-project-page .wp-checkpoint-complete-form button {
        width: 100%;
    }

    .website-project-page .wp-inline-form-grid,
    .website-project-page .wp-facts-grid,
    .website-project-page .wp-modal-grid,
    .website-project-page .wp-stage-strip,
    .website-project-page .wp-snapshot-band,
    .website-project-page .wp-checkpoint-dashboard,
    .website-project-page .wp-task-row,
    .website-project-page .wp-task-table__head {
        grid-template-columns: 1fr;
    }

    .website-project-page .wp-conversation-row__meta {
        justify-items: start;
        text-align: left;
    }

    .website-project-page .wp-masthead__actions {
        justify-content: flex-start;
    }

    .website-project-page .wp-reference-row {
        grid-template-columns: 1fr;
    }

    .website-project-page .wp-task-table__head {
        display: none;
    }

    .website-project-page .wp-task-row__status,
    .website-project-page .wp-task-row__order {
        justify-content: flex-start;
    }
}

/* Conversation visual refinement ----------------------------------------- */
.conversation-hub,
.conversation-workspace,
.conversation-compose-page {
    isolation: isolate;
}

.conversation-masthead::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.52), transparent 42%, rgba(255, 255, 255, 0.42));
    pointer-events: none;
}

.conversation-masthead {
    position: relative;
    overflow: hidden;
}

.conversation-masthead--assistant {
    background:
        radial-gradient(circle at 86% 12%, rgba(71, 201, 146, 0.18), rgba(71, 201, 146, 0) 32%),
        radial-gradient(circle at 64% 124%, rgba(92, 170, 255, 0.17), rgba(92, 170, 255, 0) 44%),
        linear-gradient(135deg, #ffffff 0%, #f8fcfa 53%, #eef9f3 100%);
    box-shadow: 0 20px 44px rgba(33, 90, 67, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.conversation-masthead--assistant .conversation-avatar--assistant {
    position: relative;
    box-shadow: 0 9px 18px rgba(45, 157, 105, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.conversation-masthead--assistant .conversation-avatar--assistant::after {
    content: '';
    position: absolute;
    right: -3px;
    bottom: -3px;
    width: 10px;
    height: 10px;
    border: 2px solid #f8fdf9;
    border-radius: 50%;
    background: #2fb77d;
    box-shadow: 0 0 0 3px rgba(47, 183, 125, 0.12);
}

.conversation-domain-chip,
.conversation-live-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 750;
    line-height: 1;
}

.conversation-domain-chip {
    border: 1px solid rgba(193, 215, 207, 0.86);
    background: rgba(255, 255, 255, 0.72);
    color: #587167;
}

.conversation-live-chip {
    color: #287050;
}

.conversation-live-chip .ai-presence-dot {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 3px rgba(39, 174, 113, 0.12);
}

.conversation-live-status {
    position: relative;
    overflow: hidden;
    gap: 12px;
    padding: 14px 16px;
    background:
        linear-gradient(104deg, rgba(246, 253, 249, 0.98) 0%, rgba(252, 255, 253, 0.96) 58%, rgba(241, 250, 246, 0.98) 100%);
    box-shadow: 0 9px 21px rgba(44, 109, 80, 0.045), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.conversation-live-status::after {
    content: '';
    position: absolute;
    inset: 0 0 0 auto;
    width: 88px;
    background: radial-gradient(circle at 100% 50%, rgba(46, 174, 118, 0.13), transparent 68%);
    pointer-events: none;
}

.conversation-live-status > .ai-presence-dot {
    width: 9px;
    height: 9px;
    margin-top: 4px;
}

.conversation-live-status__label {
    margin-bottom: 2px;
    color: #5d8c75 !important;
    font-size: 0.68rem !important;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.conversation-live-status strong {
    font-size: 0.92rem;
    letter-spacing: -0.012em;
}

.ai-conversation-workspace .conversation-chat-shell {
    gap: 11px;
}

.ai-conversation-workspace .conversation-message-list {
    position: relative;
    gap: 13px;
    padding: 20px;
    border-color: #dcebe3;
    background:
        radial-gradient(circle at 0 0, rgba(104, 203, 157, 0.06), transparent 30%),
        radial-gradient(circle at 100% 100%, rgba(75, 146, 255, 0.055), transparent 34%),
        linear-gradient(145deg, #f9fdfb 0%, #f5f8fc 100%);
    box-shadow: 0 16px 32px rgba(36, 74, 64, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ai-conversation-workspace .conversation-message-list .thread-message {
    position: relative;
    min-width: min(230px, 100%);
    padding: 14px 15px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ai-conversation-workspace .conversation-message-list .thread-message:hover {
    transform: translateY(-1px);
    box-shadow: 0 11px 22px rgba(34, 67, 92, 0.075);
}

.ai-conversation-workspace .conversation-message-list .thread-message.from-ai,
.ai-conversation-workspace .conversation-message-list .thread-message.from-admin {
    margin-left: 9px;
}

.ai-conversation-workspace .conversation-message-list .thread-message.from-ai::before,
.ai-conversation-workspace .conversation-message-list .thread-message.from-admin::before {
    content: '✦';
    position: absolute;
    left: -25px;
    top: 15px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border: 1px solid #cce6d9;
    border-radius: 7px;
    background: #e7f8ef;
    color: #277151;
    box-shadow: 0 5px 10px rgba(35, 108, 76, 0.09);
    font-size: 0.62rem;
}

.ai-conversation-workspace .conversation-message-list .thread-message.from-customer {
    border-color: #aecdff;
    background:
        linear-gradient(145deg, rgba(232, 243, 255, 0.98) 0%, rgba(248, 252, 255, 0.98) 100%);
    box-shadow: 0 8px 17px rgba(42, 124, 255, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.ai-conversation-workspace .conversation-message-list .thread-message.from-ai {
    border-color: #bfe2d0;
    background:
        linear-gradient(145deg, #effbf4 0%, #fbfffd 100%);
    box-shadow: 0 8px 17px rgba(39, 132, 90, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.ai-conversation-workspace .conversation-message-list .thread-message.from-ai .thread-meta strong,
.ai-conversation-workspace .conversation-message-list .thread-message.from-admin .thread-meta strong {
    color: #29684c;
}

.ai-conversation-workspace .conversation-message-list .thread-message-system {
    padding: 9px 11px;
    border-color: #dde7f0;
    background: rgba(248, 250, 253, 0.86);
}

.ai-conversation-workspace .conversation-message-list .thread-message-system .thread-meta strong::before {
    content: '•';
    margin-right: 5px;
    color: #72a1d9;
}

.ai-conversation-workspace .conversation-composer {
    border-color: #c5d9ed;
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 251, 255, 0.98) 100%);
    box-shadow: 0 18px 34px rgba(33, 67, 111, 0.11), inset 0 1px 0 #fff;
}

.ai-conversation-workspace .conversation-composer:focus-within {
    border-color: #8ebaf5;
    box-shadow: 0 0 0 4px rgba(42, 124, 255, 0.10), 0 18px 34px rgba(33, 67, 111, 0.12), inset 0 1px 0 #fff;
}

.ai-conversation-workspace .conversation-composer__footer .primary-button {
    background: linear-gradient(135deg, #2477f5 0%, #4c8fff 100%);
    box-shadow: 0 10px 20px rgba(42, 124, 255, 0.24);
}

.ai-conversation-workspace .conversation-composer__attachment {
    padding: 6px 8px;
    border-radius: 9px;
    transition: background 0.18s ease, color 0.18s ease;
}

.ai-conversation-workspace .conversation-composer__attachment:hover {
    background: #edf4ff;
    color: #195ec7;
}

.conversation-list .conversation-row {
    overflow: hidden;
}

.conversation-list .conversation-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 3px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(180deg, #85b7ff, #d5e6ff);
    opacity: 0;
    transition: opacity 0.18s ease;
}

.conversation-list .conversation-row {
    position: relative;
}

.conversation-list .conversation-row:hover::before,
.conversation-list .conversation-row:focus-visible::before {
    opacity: 1;
}

.admin-conversation-workspace .conversation-stream-panel,
.admin-conversation-workspace .conversation-side-card {
    box-shadow: 0 15px 30px rgba(30, 55, 93, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.admin-conversation-workspace .conversation-live-label {
    padding: 5px 8px;
    border: 1px solid #d5eadf;
    border-radius: 999px;
    background: #f4fbf7;
}

@media (max-width: 720px) {
    .conversation-masthead--assistant .conversation-title-row {
        align-items: flex-start;
    }

    .conversation-domain-chip,
    .conversation-live-chip {
        margin-top: 2px;
    }

    .ai-conversation-workspace .conversation-message-list {
        padding: 16px 14px 16px 29px;
    }

    .ai-conversation-workspace .conversation-message-list .thread-message.from-ai,
    .ai-conversation-workspace .conversation-message-list .thread-message.from-admin {
        margin-left: 8px;
    }

    .ai-conversation-workspace .conversation-message-list .thread-message.from-ai::before,
    .ai-conversation-workspace .conversation-message-list .thread-message.from-admin::before {
        left: -23px;
    }

    .ai-conversation-workspace .conversation-message-list .thread-message {
        min-width: 0;
    }
}

/* Chat density and reader control ----------------------------------------- */
.ai-conversation-workspace .conversation-live-status {
    padding: 11px 14px;
}

.ai-conversation-workspace .conversation-live-status__label {
    display: none;
}

.ai-conversation-workspace .conversation-message-list {
    padding-top: 16px;
    padding-bottom: 16px;
}

.ai-conversation-workspace .conversation-composer {
    gap: 7px;
    padding: 12px 14px;
}

.ai-conversation-workspace .conversation-composer textarea {
    min-height: 60px;
}

.ai-conversation-workspace .conversation-composer__footer {
    padding-top: 8px;
}

.ai-conversation-workspace .conversation-scroll-latest {
    position: fixed;
    right: max(18px, calc((100vw - 1180px) / 2 + 24px));
    bottom: 112px;
    z-index: 12;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 7px 12px 7px 8px;
    border: 1px solid #b7d0f1;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 28px rgba(28, 57, 96, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    color: #1d63c9;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ai-conversation-workspace .conversation-scroll-latest[hidden] {
    display: none !important;
}

.ai-conversation-workspace .conversation-scroll-latest:hover {
    transform: translateY(-2px);
    background: #fff;
    box-shadow: 0 18px 31px rgba(28, 57, 96, 0.21), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.ai-conversation-workspace .conversation-scroll-latest__icon {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e9f2ff;
    color: #1c70dc;
    font-size: 1rem;
    line-height: 1;
}

@media (max-width: 900px) {
    .ai-conversation-workspace .conversation-composer__hint {
        display: none;
    }
}

@media (max-width: 720px) {
    .ai-conversation-workspace .conversation-live-status {
        padding: 10px 12px;
    }

    .ai-conversation-workspace .conversation-live-status__label {
        display: none;
    }

    .ai-conversation-workspace .conversation-live-status > .ai-presence-dot {
        margin-top: 5px;
    }

    .ai-conversation-workspace .conversation-composer {
        padding: 11px 12px;
    }

    .ai-conversation-workspace .conversation-composer textarea {
        min-height: 56px;
    }

    .ai-conversation-workspace .conversation-scroll-latest {
        right: 14px;
        bottom: 94px;
        min-height: 36px;
        padding-right: 10px;
    }
}

/* Unified Keybit hosting workspace --------------------------------------- */
.hosting-hub {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.hosting-hub__hero,
.hosting-hub__section,
.hosting-hub__nav,
.hosting-hub__metrics article {
    border: 1px solid #dce5f1;
    border-radius: 22px;
    background: linear-gradient(145deg, #ffffff 0%, #f7faff 100%);
    box-shadow: 0 14px 30px rgba(30, 55, 93, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.hosting-hub__hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    min-height: 188px;
    padding: 29px;
    background:
        radial-gradient(circle at 88% 11%, rgba(42, 124, 255, 0.18), rgba(42, 124, 255, 0) 31%),
        radial-gradient(circle at 72% 118%, rgba(87, 196, 145, 0.12), rgba(87, 196, 145, 0) 38%),
        linear-gradient(145deg, #fff 0%, #f4f8ff 100%);
}

.hosting-hub__hero h1,
.hosting-hub__section h2 {
    margin: 0;
    color: #14233a;
    letter-spacing: -0.045em;
}

.hosting-hub__hero h1 { font-size: clamp(1.9rem, 4vw, 2.85rem); line-height: 1.04; }
.hosting-hub__hero .subtext { max-width: 700px; margin: 11px 0 0; color: #53667e; line-height: 1.58; }
.hosting-hub__actions, .hosting-hub__action-row { display: flex; flex-wrap: wrap; gap: 9px; }
.hosting-hub__actions { justify-content: flex-end; }

.hosting-hub__nav {
    display: flex;
    align-items: center;
    gap: 7px;
    overflow-x: auto;
    padding: 9px;
    scrollbar-width: thin;
}

.hosting-hub__nav a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 11px;
    border-radius: 12px;
    color: #40536c;
    font-size: .84rem;
    font-weight: 800;
    text-decoration: none;
}

.hosting-hub__nav a:hover { background: #eaf2ff; color: #175fc8; }
.hosting-hub__nav a span { color: #2770da; }

.hosting-hub__metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 11px; }
.hosting-hub__metrics article { min-height: 120px; padding: 16px; }
.hosting-hub__metrics span, .hosting-hub__metrics small { display: block; color: #68788e; font-size: .78rem; font-weight: 750; }
.hosting-hub__metrics strong { display: block; margin: 8px 0 4px; color: #1c5fca; font-size: 1.9rem; letter-spacing: -.06em; }

.hosting-hub__section { padding: 22px; }
.hosting-hub__section-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; padding-bottom: 15px; border-bottom: 1px solid #e4ebf4; }
.hosting-hub__section-heading .eyebrow { margin-bottom: 5px; }
.hosting-hub__section-heading p:not(.eyebrow) { max-width: 650px; margin: 7px 0 0; color: #65778d; line-height: 1.5; }
.text-action { align-self: center; color: #1a67d2; font-size: .85rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.text-action:hover { text-decoration: underline; }
.hosting-hub__state, .hosting-tool-card__state { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; background: #edf3fb; color: #597087; font-size: .73rem; font-weight: 800; white-space: nowrap; }

.hosting-hub__empty { display: grid; gap: 4px; margin-top: 14px; padding: 17px; border: 1px dashed #cbd9eb; border-radius: 15px; background: #f9fbfe; color: #63758c; }
.hosting-hub__empty strong { color: #263b56; }
.hosting-hub__empty span { line-height: 1.45; }
.hosting-site-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 14px; }
.hosting-site-card { padding: 16px; border: 1px solid #e0e8f3; border-radius: 16px; background: rgba(255,255,255,.8); }
.hosting-site-card__top { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.hosting-site-card__domain { display: block; color: #1c2b40; font-weight: 850; overflow-wrap: anywhere; }
.hosting-site-card__domain:hover { color: #195fca; }
.hosting-site-card small { display: block; margin-top: 4px; color: #738198; font-size: .8rem; }
.hosting-site-card__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 15px; padding-top: 13px; border-top: 1px solid #ecf0f5; }
.hosting-site-card__facts span { color: #5a6d83; font-size: .78rem; line-height: 1.42; overflow-wrap: anywhere; }
.hosting-site-card__facts b { display: block; margin-bottom: 2px; color: #7a8ba0; font-size: .68rem; letter-spacing: .045em; text-transform: uppercase; }

.hosting-hub__two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hosting-hub__list { display: grid; gap: 8px; margin-top: 14px; }
.hosting-hub__list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 13px; border: 1px solid #e0e8f3; border-radius: 14px; background: rgba(255,255,255,.76); }
.hosting-hub__list strong { display: block; color: #1c2b40; overflow-wrap: anywhere; }
.hosting-hub__list small { display: block; margin-top: 3px; color: #738198; font-size: .79rem; }
.hosting-hub__callout { display: grid; gap: 4px; margin-top: 15px; padding: 13px; border-left: 3px solid #7db0f5; border-radius: 0 13px 13px 0; background: #f2f7ff; color: #58708b; font-size: .84rem; line-height: 1.5; }
.hosting-hub__callout strong { color: #235da8; }

.hosting-email-card, .hosting-insights-card { display: flex; gap: 12px; margin-top: 16px; padding: 15px; border: 1px solid #e0e8f3; border-radius: 16px; background: linear-gradient(145deg, #fbfdff, #f4f8ff); }
.hosting-email-card__icon, .hosting-insights-card > span { display: grid; flex: 0 0 auto; place-items: center; width: 37px; height: 37px; border-radius: 13px; background: #e6f0ff; color: #2266c7; font-size: 1.08rem; }
.hosting-email-card strong, .hosting-insights-card strong { color: #243950; }
.hosting-email-card p, .hosting-insights-card p { margin: 4px 0 0; color: #66798f; font-size: .84rem; line-height: 1.5; }
.hosting-hub__action-row { margin-top: 15px; }

.hosting-tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 15px; }
.hosting-tool-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; min-height: 164px; padding: 15px; border: 1px solid #e0e8f3; border-radius: 16px; background: rgba(255,255,255,.78); }
.hosting-tool-card__icon { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 11px; background: #e9f2ff; color: #2469ca; font-weight: 900; }
.hosting-tool-card strong { color: #243950; }
.hosting-tool-card p { margin: 4px 0 0; color: #68798d; font-size: .79rem; line-height: 1.48; }
.hosting-tool-card__items { display: grid; gap: 3px; margin: 9px 0 0; padding: 0; color: #526b86; font-size: .73rem; list-style: none; }
.hosting-tool-card__items li { overflow-wrap: anywhere; }
.hosting-tool-card__state { grid-column: 1 / -1; justify-self: start; align-self: end; }

@media (max-width: 940px) {
    .hosting-hub__metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hosting-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .hosting-hub__hero { align-items: start; flex-direction: column; min-height: 0; padding: 22px; }
    .hosting-hub__actions { justify-content: flex-start; }
    .hosting-hub__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hosting-hub__metrics article:last-child { grid-column: span 2; }
    .hosting-hub__section { padding: 18px; }
    .hosting-hub__section-heading { flex-direction: column; gap: 8px; }
    .text-action { align-self: flex-start; }
    .hosting-site-grid, .hosting-hub__two-column, .hosting-tool-grid { grid-template-columns: 1fr; }
    .hosting-site-card__facts { grid-template-columns: 1fr; }
    .hosting-hub__nav { margin: 0 -2px; border-radius: 17px; }
}

/* Production interface polish ------------------------------------------- */
:root {
    --bg: #f3f6fb;
    --card: #ffffff;
    --ink: #132238;
    --text: #132238;
    --muted: #637187;
    --accent: #1672e8;
    --accent-strong: #0f5fc8;
    --accent-soft: #eaf3ff;
    --stroke: #dce4ef;
    --stroke-strong: #cbd7e6;
    --shadow-sm: 0 8px 24px rgba(27, 51, 86, 0.06);
    --shadow: 0 18px 46px rgba(27, 51, 86, 0.10);
    --radius-sm: 11px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --brand-red: #e3222b;
    --brand-red-strong: #bd1820;
    --brand-ink: #17191f;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

[hidden] {
    display: none !important;
}

body {
    overflow-x: clip;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% -6%, rgba(66, 136, 242, 0.08), transparent 30rem),
        linear-gradient(180deg, #f7f9fc 0%, var(--bg) 44%, #f5f7fb 100%);
    font-size: 1rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea,
summary,
a {
    -webkit-tap-highlight-color: transparent;
}

button,
summary,
a[class] {
    touch-action: manipulation;
}

.site-header,
.subnav,
.content,
.site-footer,
.impersonation-banner {
    width: min(1480px, 100%);
    margin-right: auto;
    margin-left: auto;
}

.site-header {
    min-height: 68px;
    padding: 14px 24px 10px;
}

.site-header--public {
    width: min(1420px, calc(100% - 32px));
    min-height: 64px;
    margin-top: 14px;
    padding: 11px 14px;
    border-color: rgba(210, 221, 235, 0.92);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(27, 51, 86, 0.075);
}

.brand-mark {
    min-height: 0;
    padding: 4px 7px;
    border: 1px solid #e5e9ef;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(23, 25, 31, .075);
}

.brand-logo {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
}

.brand-text {
    color: #25364d;
    font-weight: 800;
}

.header-actions {
    gap: 8px;
}

.menu-toggle,
.notif-toggle {
    min-width: 42px;
    min-height: 42px;
    justify-content: center;
    border-color: var(--stroke);
    background: rgba(255,255,255,.88);
    box-shadow: 0 4px 12px rgba(28, 49, 79, .045);
}

.menu-toggle:hover,
.notif-toggle:hover {
    border-color: #b9cee9;
    background: #fff;
}

.menu-panel,
.notif-panel {
    overflow: auto;
    max-height: min(76vh, 680px);
    border-color: #d6e0ec;
    border-radius: var(--radius-md);
    box-shadow: 0 22px 54px rgba(21, 42, 72, .16);
}

.menu-link {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 11px;
    border-radius: 10px;
    font-size: .9rem;
}

.menu-link[aria-current="page"] {
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-weight: 800;
}

.admin-primary-nav {
    position: sticky;
    top: 0;
    z-index: 18;
    width: min(1480px, 100%);
    margin: 0 auto;
    padding: 2px 24px 10px;
    background: linear-gradient(180deg, rgba(244, 248, 253, .96) 0%, rgba(244, 248, 253, .84) 74%, rgba(244, 248, 253, 0) 100%);
    backdrop-filter: blur(10px);
}

.admin-primary-nav__inner {
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 5px;
    overflow-x: auto;
    border: 1px solid rgba(212, 223, 237, .92);
    border-radius: 15px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 8px 24px rgba(27, 51, 86, .06);
    scrollbar-width: none;
}

.admin-primary-nav__inner::-webkit-scrollbar {
    display: none;
}

.admin-primary-nav__label {
    flex: 0 0 auto;
    padding: 0 8px;
    color: #76859a;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-primary-link,
.admin-primary-nav__more {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 11px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #526176;
    font: inherit;
    font-size: .84rem;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.admin-primary-link:hover,
.admin-primary-link:focus-visible,
.admin-primary-nav__more:hover,
.admin-primary-nav__more:focus-visible,
.admin-primary-link[aria-current="page"] {
    background: #eef5ff;
    color: var(--accent-strong);
    text-decoration: none;
}

.admin-primary-link[aria-current="page"] {
    box-shadow: inset 0 -2px 0 var(--brand-red);
}

.admin-primary-nav__more {
    margin-left: auto;
    position: sticky;
    right: 0;
    z-index: 2;
    border: 1px solid #d7e2ef;
    background: #fff;
    color: var(--accent-strong);
    box-shadow: -8px 0 12px rgba(255, 255, 255, .94);
}

.menu-toggle__label {
    margin-left: 7px;
    font-size: .82rem;
    white-space: nowrap;
}

.menu--admin .menu-panel {
    width: min(430px, calc(100vw - 28px));
    max-width: none;
    padding: 14px;
}

.menu--admin .menu-header {
    margin-bottom: 12px;
}

.menu--admin .menu-header .muted {
    max-width: 34ch;
    line-height: 1.35;
}

.menu--admin .menu-links {
    gap: 10px;
}

.admin-menu-search input {
    width: 100%;
    min-height: 42px;
    padding-left: 13px;
    border-radius: 11px;
    background: #f8fbff;
}

.admin-menu-section {
    display: grid;
    gap: 7px;
}

.admin-menu-section__label {
    color: #738198;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-menu-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.menu-link--quick {
    display: grid;
    gap: 2px;
    align-content: center;
    min-height: 58px;
    border: 1px solid #dce7f3;
    background: linear-gradient(180deg, #fff 0%, #f7faff 100%);
}

.menu-link--quick small {
    color: #7a8799;
    font-size: .72rem;
    font-weight: 600;
}

.admin-menu-group {
    border: 1px solid #dce5f0;
    border-radius: 12px;
    background: #fbfdff;
}

.admin-menu-group > summary {
    display: flex;
    min-height: 43px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 11px;
    list-style: none;
    color: #314158;
    font-size: .85rem;
    font-weight: 800;
    cursor: pointer;
}

.admin-menu-group > summary::-webkit-details-marker,
.row-actions-menu > summary::-webkit-details-marker,
.admin-filter-more > summary::-webkit-details-marker,
.admin-form-reveal > summary::-webkit-details-marker,
.admin-editor-item > summary::-webkit-details-marker,
.admin-insight-drawer > summary::-webkit-details-marker {
    display: none;
}

.admin-menu-group > summary::after {
    content: '+';
    color: #7790ae;
    font-size: 1rem;
}

.admin-menu-group[open] > summary::after {
    content: '−';
}

.admin-menu-group__count {
    margin-left: auto;
    padding: 2px 7px;
    border-radius: 999px;
    background: #edf3fb;
    color: #66778e;
    font-size: .7rem;
}

.admin-menu-group__links {
    display: grid;
    gap: 3px;
    padding: 0 6px 6px;
}

.admin-menu-group__links .menu-link {
    min-height: 38px;
    padding: 7px 9px;
}

.admin-menu-footer {
    padding-top: 9px;
    border-top: 1px solid #e2e9f1;
}

.menu-link--logout {
    color: #8e3c3c;
}

.admin-menu-empty {
    margin: 0;
    padding: 14px;
    border-radius: 11px;
    background: #f7f9fc;
    color: var(--muted);
    text-align: center;
}

/* Canonical admin control-panel components. */
.app-shell--admin .content {
    padding: 18px clamp(15px, 2.7vw, 42px) 38px;
}

.admin-page {
    display: grid;
    width: 100%;
    max-width: 1480px;
    min-width: 0;
    gap: 12px;
    margin: 0 auto;
}

.admin-page-header {
    display: flex;
    min-width: 0;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 2px 2px 8px;
    border-bottom: 1px solid #dce5f0;
}

.admin-page-header__copy {
    min-width: 0;
}

.admin-page-header__eyebrow {
    margin: 0 0 3px;
    color: var(--brand-red);
    font-size: .69rem;
    font-weight: 850;
    letter-spacing: .1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-page-header h1 {
    margin: 0;
    color: #122137;
    font-size: clamp(1.55rem, 2.4vw, 1.95rem);
    letter-spacing: -.04em;
    line-height: 1.1;
}

.admin-page-header__copy > p:last-child:not(.admin-page-header__eyebrow) {
    max-width: 70ch;
    margin: 4px 0 0;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.4;
}

.admin-page-header__actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.admin-page-header__actions .primary-button,
.admin-page-header__actions .ghost-button {
    min-height: 38px;
    padding: 8px 12px;
}

.admin-action-bar {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 4px;
    padding: 4px;
    overflow-x: auto;
    border: 1px solid #dce5f0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .78);
    scrollbar-width: none;
}

.admin-action-bar::-webkit-scrollbar {
    display: none;
}

.admin-action-bar__label,
.admin-action-bar a {
    flex: 0 0 auto;
}

.admin-action-bar__label {
    padding: 0 8px;
    color: #76859a;
    font-size: .66rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-action-bar a {
    min-height: 34px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #455873;
    font-size: .8rem;
    font-weight: 750;
    line-height: 1.1;
    text-decoration: none;
}

.admin-action-bar a:hover,
.admin-action-bar a:focus-visible {
    background: #edf5ff;
    color: var(--accent-strong);
}

.admin-metric-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.admin-metric {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 82px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr;
    gap: 3px 9px;
    align-items: center;
    padding: 11px 12px 10px 14px;
    overflow: hidden;
    border: 1px solid #dbe5f0;
    border-radius: 13px;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    color: #23354d;
    box-shadow: 0 6px 18px rgba(27, 51, 86, .055);
    text-decoration: none;
}

.admin-metric::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: #75a8ee;
    content: '';
}

.admin-metric > span {
    color: #627289;
    font-size: .69rem;
    font-weight: 850;
    letter-spacing: .065em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-metric > strong {
    grid-area: 1 / 2 / 3 / 3;
    color: #152a44;
    font-size: 1.65rem;
    letter-spacing: -.05em;
    line-height: 1;
}

.admin-metric > small {
    align-self: end;
    min-width: 0;
    overflow: hidden;
    color: #718097;
    font-size: .74rem;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-metric.is-urgent {
    border-color: #ecc8cb;
    background: linear-gradient(180deg, #fff 0%, #fff7f7 100%);
}

.admin-metric.is-urgent::before {
    background: var(--brand-red);
}

.admin-metric.is-attention::before {
    background: #d99324;
}

.admin-metric:hover,
.admin-metric:focus-visible {
    border-color: #b9cee8;
    box-shadow: 0 9px 22px rgba(27, 51, 86, .09);
    transform: translateY(-1px);
}

.admin-queue-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    align-items: start;
}

.admin-panel {
    min-width: 0;
    padding: 13px;
    border: 1px solid #dbe5f0;
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 7px 20px rgba(27, 51, 86, .055);
}

.admin-panel-header {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 9px;
}

.admin-panel-header > div {
    min-width: 0;
}

.admin-panel-header h2 {
    margin: 0;
    color: #1b304b;
    font-size: .96rem;
    letter-spacing: -.02em;
    line-height: 1.25;
}

.admin-panel-header p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: .73rem;
    line-height: 1.3;
}

.admin-panel-header > a {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 6px 7px;
    border-radius: 7px;
    color: var(--accent-strong);
    font-size: .74rem;
    font-weight: 800;
    text-decoration: none;
}

.admin-panel-header > a:hover {
    background: var(--accent-soft);
}

.admin-queue-list {
    display: grid;
    gap: 4px;
}

.admin-queue-item {
    display: grid;
    min-width: 0;
    min-height: 51px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    padding: 7px 8px;
    border-top: 1px solid #e4ebf3;
    border-radius: 8px;
    color: #263b56;
    text-decoration: none;
}

.admin-queue-item:first-child {
    border-top-color: #dce6f1;
}

.admin-queue-item:hover,
.admin-queue-item:focus-visible {
    border-top-color: transparent;
    background: #f1f7ff;
}

.admin-queue-item__main {
    min-width: 0;
}

.admin-queue-item__main strong,
.admin-queue-item__main small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-queue-item__main strong {
    color: #263a54;
    font-size: .79rem;
    line-height: 1.35;
}

.admin-queue-item__main small {
    margin-top: 2px;
    color: #748399;
    font-size: .7rem;
    line-height: 1.3;
}

.admin-queue-item__side {
    color: #263a54;
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
}

.admin-queue-item__side.is-status {
    max-width: 88px;
    overflow: hidden;
    padding: 4px 6px;
    border-radius: 999px;
    background: #edf4fd;
    color: #42638d;
    font-size: .65rem;
    text-overflow: ellipsis;
}

.admin-queue-item__side.is-time {
    max-width: 78px;
    color: #718097;
    font-size: .66rem;
    font-weight: 700;
    white-space: normal;
    text-align: right;
}

.admin-empty-state {
    margin: 0;
    padding: 13px 10px;
    border: 1px dashed #d8e2ee;
    border-radius: 9px;
    background: #fafcff;
    color: var(--muted);
    font-size: .78rem;
}

.admin-insight-drawer {
    border: 1px solid #dbe5f0;
    border-radius: 13px;
    background: rgba(255, 255, 255, .74);
}

.admin-insight-drawer > summary {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 12px;
    list-style: none;
    cursor: pointer;
}

.admin-insight-drawer > summary > span:first-child {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.admin-insight-drawer > summary strong {
    color: #2a3d57;
    font-size: .82rem;
}

.admin-insight-drawer > summary small,
.admin-insight-drawer__summary {
    color: var(--muted);
    font-size: .72rem;
}

.admin-insight-drawer__summary {
    flex: 0 0 auto;
    font-weight: 750;
}

.admin-insight-drawer__body {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 10px;
    padding: 0 10px 10px;
    border-top: 1px solid #e4ebf3;
}

.admin-snapshot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding-top: 10px;
}

.admin-snapshot-grid > div {
    display: grid;
    gap: 2px;
    padding: 9px;
    border: 1px solid #e1e9f2;
    border-radius: 9px;
    background: #fbfdff;
}

.admin-snapshot-grid span,
.admin-snapshot-grid small {
    color: var(--muted);
    font-size: .68rem;
}

.admin-snapshot-grid strong {
    color: #253a55;
    font-size: .95rem;
}

.admin-recent-payments {
    min-width: 0;
    padding-top: 10px;
}

.admin-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
    padding: 10px;
    border: 1px solid #dbe5f0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .78);
}

.admin-toolbar__fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 8px;
}

.admin-toolbar .field {
    gap: 4px;
}

.admin-toolbar .field input,
.admin-toolbar .field select {
    min-height: 39px;
}

.admin-toolbar__actions {
    display: flex;
    gap: 6px;
}

.admin-toolbar__actions .primary-button,
.admin-toolbar__actions .ghost-button {
    min-height: 39px;
    padding: 8px 12px;
}

.admin-data-table {
    padding: 4px;
    border: 1px solid #dbe5f0;
    border-radius: 13px;
    background: rgba(255, 255, 255, .62);
}

.app-shell--admin .admin-data-table .table-row:not(.table-head) {
    padding: 9px 11px;
    border-radius: 9px;
    box-shadow: none;
}

.app-shell--admin .admin-data-table .table-head {
    padding: 6px 10px;
}

.admin-catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
}

.admin-editor-list {
    display: grid;
    gap: 6px;
}

.admin-editor-item {
    overflow: hidden;
    border: 1px solid #dfe7f1;
    border-radius: 10px;
    background: #fbfdff;
}

.admin-editor-item > summary {
    display: grid;
    min-height: 48px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    list-style: none;
    cursor: pointer;
}

.admin-editor-item > summary:hover {
    background: #f1f7ff;
}

.admin-editor-item > summary::after {
    width: 16px;
    color: #6680a0;
    content: '+';
    font-weight: 850;
    text-align: center;
}

.admin-editor-item[open] > summary::after {
    content: '−';
}

.admin-editor-item > summary > span:first-child {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.admin-editor-item > summary strong,
.admin-editor-item > summary small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-editor-item > summary strong {
    color: #273b55;
    font-size: .82rem;
}

.admin-editor-item > summary small {
    color: var(--muted);
    font-size: .7rem;
}

.admin-editor-item__status {
    padding: 4px 7px;
    border-radius: 999px;
    background: #edf6f0;
    color: #31724a;
    font-size: .66rem;
    font-weight: 800;
}

.admin-editor-form {
    display: grid;
    gap: 8px;
    align-items: end;
    padding: 11px;
    border-top: 1px solid #e2e9f2;
    background: #fff;
}

.admin-editor-form--plan {
    grid-template-columns: minmax(0, 1.4fr) minmax(105px, .6fr) auto auto;
}

.admin-editor-form--domain {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-editor-form .field input {
    min-height: 39px;
}

.admin-editor-form__active {
    min-height: 39px;
    align-items: center;
}

.admin-editor-form > button {
    min-height: 39px;
}

.admin-editor-form__provider {
    grid-column: 1 / -1;
    color: var(--muted);
    line-height: 1.4;
}

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

@media (max-width: 899px) {
    .admin-metric-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .admin-page-header {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .admin-page-header__actions {
        justify-content: flex-start;
    }

    .admin-metric-strip {
        display: flex;
        margin-right: -15px;
        margin-left: -15px;
        padding: 0 15px 3px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .admin-metric-strip::-webkit-scrollbar {
        display: none;
    }

    .admin-metric {
        flex: 0 0 min(69vw, 220px);
        min-height: 78px;
        scroll-snap-align: start;
    }

    .admin-queue-grid,
    .admin-catalog-grid,
    .admin-insight-drawer__body,
    .admin-toolbar {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-toolbar__actions {
        justify-content: flex-end;
    }

    .admin-insight-drawer__summary {
        display: none;
    }

    .admin-editor-form--plan {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-editor-form--domain > .field:first-of-type,
    .admin-editor-form--domain > button {
        grid-column: 1 / -1;
    }

    .app-shell--admin .admin-data-table .table-row:not(.table-head) {
        padding: 5px 10px;
    }

    .app-shell--admin .admin-data-table .table-row:not(.table-head) > span {
        padding: 5px 0;
    }

    .app-shell--admin .admin-data-table .table-row:not(.table-head) > span:empty {
        display: none;
    }

    .app-shell--admin .admin-data-table .table-actions .link {
        min-height: 34px;
        padding-top: 5px;
        padding-bottom: 5px;
    }
}

@media (max-width: 440px) {
    .admin-page-header__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-page-header__actions .primary-button,
    .admin-page-header__actions .ghost-button {
        width: 100%;
    }

    .admin-action-bar__label {
        display: none;
    }

    .admin-queue-item__side.is-time {
        display: none;
    }

    .admin-snapshot-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.row-actions-menu,
.admin-filter-more {
    position: relative;
}

.row-actions-menu > summary {
    padding: 5px 8px;
    list-style: none;
    border: 1px solid #d7e2ef;
    border-radius: 8px;
    background: #fff;
    color: #53667f;
    font-size: .78rem;
    font-weight: 750;
    cursor: pointer;
}

.row-actions-menu__panel,
.admin-filter-more > div {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 25;
    display: grid;
    min-width: 190px;
    gap: 3px;
    padding: 6px;
    border: 1px solid #d6e1ee;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(21, 42, 72, .16);
}

.row-actions-menu__panel a,
.row-actions-menu__panel button,
.row-actions-menu__panel span,
.admin-filter-more > div a {
    display: block;
    width: 100%;
    padding: 8px 9px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #33445b;
    font: inherit;
    font-size: .82rem;
    font-weight: 650;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.row-actions-menu__panel a:hover,
.row-actions-menu__panel button:hover,
.admin-filter-more > div a:hover,
.admin-filter-more > div a.is-active {
    background: #eef5ff;
    color: var(--accent-strong);
}

.row-actions-menu__panel .is-disabled {
    color: #8a96a6;
    cursor: not-allowed;
}

.row-actions-menu__panel form {
    margin: 0;
}

.admin-filter-tabs {
    display: flex;
    gap: 7px;
    align-items: center;
    margin-bottom: 14px;
    padding: 5px;
    overflow-x: auto;
    border: 1px solid #dce5f0;
    border-radius: 13px;
    background: rgba(255, 255, 255, .82);
    scrollbar-width: none;
}

.admin-filter-tabs::-webkit-scrollbar {
    display: none;
}

.admin-filter-tab,
.admin-filter-more > summary {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 38px;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    list-style: none;
    border-radius: 9px;
    color: #58687d;
    font-size: .84rem;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.admin-filter-tab strong {
    padding: 1px 6px;
    border-radius: 999px;
    background: #edf2f8;
    color: #68788e;
    font-size: .72rem;
}

.admin-filter-tab:hover,
.admin-filter-tab.is-active,
.admin-filter-more.is-active > summary {
    background: #eaf3ff;
    color: var(--accent-strong);
    text-decoration: none;
}

.admin-form-reveal {
    margin: 12px 0 16px;
    border: 1px solid #dce5f0;
    border-radius: 13px;
    background: #f9fbfe;
}

.admin-form-reveal > summary {
    min-height: 44px;
    padding: 11px 13px;
    list-style: none;
    color: var(--accent-strong);
    font-size: .86rem;
    font-weight: 800;
    cursor: pointer;
}

.admin-form-reveal > summary::after {
    content: '+';
    float: right;
}

.admin-form-reveal[open] > summary::after {
    content: '−';
}

.admin-form-reveal > form {
    padding: 0 13px 13px;
}

.subnav {
    gap: 7px;
    padding: 2px 24px 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.subnav::-webkit-scrollbar {
    display: none;
}

.subnav a {
    min-height: 38px;
    padding: 8px 12px;
    border-color: rgba(214, 224, 237, .92);
    border-radius: 11px;
    background: rgba(255,255,255,.74);
    color: #58677b;
    font-size: .84rem;
    font-weight: 700;
}

.subnav a:hover,
.subnav a[aria-current="page"] {
    border-color: #bfd4ef;
    background: #fff;
    color: var(--accent-strong);
}

.subnav a[aria-current="page"] {
    box-shadow: inset 0 -2px 0 var(--brand-red);
}

.app-shell--public .primary-button {
    background: linear-gradient(135deg, var(--brand-red-strong) 0%, var(--brand-red) 100%);
    box-shadow: 0 8px 20px rgba(227, 34, 43, .18);
}

.app-shell--public .primary-button:hover:not(:disabled) {
    box-shadow: 0 11px 25px rgba(227, 34, 43, .24);
}

.app-shell--public .eyebrow,
.landing-page .landing-step-number {
    color: var(--brand-red);
}

.app-shell--public .menu-link[aria-current="page"] {
    background: #fff0f1;
    color: var(--brand-red-strong);
}

.content {
    padding: 24px clamp(16px, 4vw, 56px) 52px;
}

.section {
    width: 100%;
    max-width: 1420px;
    margin-right: auto;
    margin-left: auto;
    gap: 14px;
}

.section > * {
    min-width: 0;
}

.stack > * {
    min-width: 0;
}

.section-header {
    gap: 8px;
}

.section-header h1 {
    color: #122137;
    font-size: clamp(1.7rem, 3vw, 2.15rem);
    line-height: 1.12;
    letter-spacing: -.04em;
    overflow-wrap: anywhere;
}

.managed-summary > div {
    min-width: 0;
    overflow-wrap: anywhere;
}

.section-header h2 {
    margin: 0;
    color: #1a2b42;
    letter-spacing: -.025em;
}

.section-header p {
    max-width: 70ch;
    line-height: 1.55;
}

.primary-button,
.ghost-button,
.danger-button {
    min-width: 0;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 750;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.primary-button {
    background: linear-gradient(135deg, var(--accent) 0%, #3487f4 100%);
    box-shadow: 0 8px 20px rgba(22, 114, 232, .19);
}

.primary-button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 11px 24px rgba(22, 114, 232, .24);
}

.ghost-button {
    border-color: #d3e1f2;
    background: rgba(255,255,255,.72);
    color: var(--accent-strong);
}

.ghost-button:hover:not(:disabled) {
    border-color: #acc9ed;
    background: #fff;
}

.danger-button {
    border: 1px solid #e4b7bb;
    background: #fff6f6;
    color: #ae2731;
    box-shadow: none;
}

.danger-button:hover:not(:disabled) {
    border-color: #d98d94;
    background: #ffebec;
}

.primary-button:focus-visible,
.ghost-button:focus-visible,
.danger-button:focus-visible,
.menu-toggle:focus-visible,
.notif-toggle:focus-visible,
.menu-link:focus-visible,
.subnav a:focus-visible,
.table-actions .link:focus-visible,
.workflow-checkpoint > summary:focus-visible {
    outline: 3px solid rgba(22, 114, 232, .28);
    outline-offset: 2px;
}

.card,
.hero-card,
.meta-card,
.table-row:not(.table-head) {
    border-color: var(--stroke);
    box-shadow: var(--shadow-sm);
}

.card {
    padding: clamp(17px, 2.4vw, 22px);
    border-radius: var(--radius-lg);
}

.hero-card {
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
}

.meta-card {
    min-height: 0;
    padding: 16px 18px;
    border-radius: var(--radius-md);
}

.meta-card h2 {
    font-size: 1rem;
    letter-spacing: -.015em;
}

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

.dashboard-cards .card {
    align-content: start;
}

.field {
    gap: 6px;
    color: #58677b;
    font-size: .88rem;
    font-weight: 650;
}

.field input,
.field textarea,
.field select,
.storefront-form input,
.storefront-form select {
    min-width: 0;
    min-height: 46px;
    border-color: var(--stroke-strong);
    border-radius: 11px;
    background: #fff;
    color: var(--ink);
    font-size: 1rem;
}

.field input:hover,
.field textarea:hover,
.field select:hover {
    border-color: #b6c7dc;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: 3px solid rgba(22, 114, 232, .13);
    border-color: #66a2ee;
    box-shadow: 0 0 0 1px rgba(22, 114, 232, .08);
}

.field input[type="checkbox"],
.field input[type="radio"] {
    width: 20px;
    min-height: 20px;
    accent-color: var(--accent);
}

.notice {
    border: 1px solid #c9ddf7;
    background: #f0f7ff;
    color: #235b9f;
    font-weight: 650;
    line-height: 1.45;
}

.table {
    min-width: 0;
    gap: 7px;
}

.table-row {
    min-width: 0;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 13px;
}

.table-row > * {
    min-width: 0;
    overflow-wrap: anywhere;
}

.table-head {
    padding-top: 7px;
    padding-bottom: 7px;
    color: #6b788a;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .07em;
}

.table-actions {
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.table-actions .link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 8px;
    border-radius: 8px;
}

.table-actions .link:hover {
    background: var(--accent-soft);
}

.table-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 3px;
    padding: 10px 2px 0;
}

.table-pagination__status {
    min-width: 88px;
    color: var(--muted);
    font-size: .84rem;
    font-weight: 750;
    text-align: center;
}

.table-pagination button {
    min-height: 38px;
    padding: 8px 12px;
}

.table-pagination button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.workflow-checkpoint {
    overflow: clip;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 7px 20px rgba(27, 51, 86, .045);
}

.workflow-checkpoint > summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 66px;
    padding: 11px 14px;
    list-style: none;
    cursor: pointer;
}

.workflow-checkpoint > summary::-webkit-details-marker {
    display: none;
}

.workflow-checkpoint > summary:hover {
    background: #f7faff;
}

.workflow-checkpoint__number {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 11px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: .82rem;
    font-weight: 800;
}

.workflow-checkpoint__summary strong,
.workflow-checkpoint__summary small {
    display: block;
}

.workflow-checkpoint__summary strong {
    color: #21344d;
}

.workflow-checkpoint__summary small {
    margin-top: 2px;
    color: var(--muted);
    font-size: .78rem;
}

.workflow-checkpoint__chevron {
    width: 9px;
    height: 9px;
    margin-right: 4px;
    border-right: 2px solid #6f829a;
    border-bottom: 2px solid #6f829a;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .16s ease;
}

.workflow-checkpoint[open] .workflow-checkpoint__chevron {
    transform: rotate(225deg) translate(-2px, -2px);
}

.workflow-checkpoint__body {
    padding: 16px;
    border-top: 1px solid var(--stroke);
    background: #fbfcfe;
}

.placeholder-bar {
    border-color: #cfdbea;
    box-shadow: 0 14px 32px rgba(27, 51, 86, .12);
}

.template-toggle,
.template-title,
[data-template-wrapper] {
    min-width: 0;
}

.template-toggle {
    min-height: 50px;
}

.template-title {
    overflow-wrap: anywhere;
    text-align: left;
}

.status {
    font-weight: 750;
}

@media (max-width: 899px) {
    .content {
        padding-top: 18px;
    }

    .grid {
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100%;
        min-width: 0;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    body {
        background:
            radial-gradient(circle at 12% -4%, rgba(66, 136, 242, 0.08), transparent 18rem),
            linear-gradient(180deg, #f7f9fc 0%, var(--bg) 55%, #f5f7fb 100%);
    }

    .site-header,
    .site-footer {
        padding-right: 16px;
        padding-left: 16px;
    }

    .site-header {
        min-height: 62px;
        padding-top: 10px;
        padding-bottom: 8px;
    }

    .site-header--public {
        width: calc(100% - 20px);
        min-height: 58px;
        margin-top: 10px;
        padding: 8px 10px;
        border-radius: 16px;
    }

    .brand-mark,
    .site-header--public .brand-mark--public {
        min-height: 0;
        padding: 4px 6px;
    }

    .brand-logo {
        width: 112px;
    }

    .brand-text {
        max-width: 76px;
        font-size: .9rem;
    }

    .content {
        padding: 14px 15px 36px;
    }

    .section {
        gap: 12px;
    }

    .section-header {
        align-items: stretch;
    }

    .section-header > .primary-button,
    .section-header > .ghost-button {
        width: 100%;
    }

    .section-header h1 {
        font-size: 1.72rem;
    }

    .managed-summary {
        grid-template-columns: minmax(0, 1fr);
    }

    .primary-button,
    .ghost-button,
    .danger-button {
        min-height: 44px;
    }

    .card,
    .hero-card {
        padding: 17px;
        border-radius: 18px;
    }

    .hero-card h1 {
        font-size: clamp(1.8rem, 9vw, 2.3rem);
        line-height: 1.08;
    }

    .hero-card .subtext {
        margin-bottom: 16px;
    }

    .hero-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .meta-card {
        padding: 14px;
    }

    .meta-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .cta-row {
        gap: 7px;
    }

    .is-responsive-table > .table-head {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .is-responsive-table > .table-row:not(.table-head) {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding: 7px 13px;
        border-radius: 15px;
    }

    .is-responsive-table > .table-row:not(.table-head) > span {
        display: grid;
        grid-template-columns: minmax(88px, .72fr) minmax(0, 1.28fr);
        gap: 10px;
        align-items: baseline;
        padding: 8px 0;
        border-bottom: 1px solid #edf1f6;
    }

    .is-responsive-table > .table-row:not(.table-head) > span::before {
        content: attr(data-label);
        color: #718096;
        font-size: .69rem;
        font-weight: 800;
        letter-spacing: .055em;
        text-transform: uppercase;
    }

    .is-responsive-table > .table-row:not(.table-head) > span:last-of-type {
        border-bottom: 0;
    }

    .is-responsive-table > .table-row:not(.table-head) > .table-actions {
        display: flex;
        justify-content: flex-start;
        gap: 4px;
        padding-top: 9px;
    }

    .is-responsive-table > .table-row:not(.table-head) > .table-actions::before {
        flex: 0 0 88px;
        align-self: center;
    }

    .table-actions .link {
        min-height: 40px;
    }

    .table-actions form {
        display: inline-flex !important;
    }

    .table-pagination {
        justify-content: space-between;
        padding-top: 7px;
    }

    .table-pagination button {
        min-height: 42px;
    }

    .placeholder-bar {
        position: static;
        padding: 13px;
    }

    .placeholder-list {
        max-height: 132px;
        overflow: auto;
        align-content: flex-start;
    }

    .placeholder-chip {
        min-height: 38px;
        padding: 7px 9px;
        overflow-wrap: anywhere;
    }

    .workflow-checkpoint > summary {
        min-height: 62px;
        padding: 10px 12px;
    }

    .workflow-checkpoint__body {
        padding: 13px;
    }

    .workflow-checkpoint__body .table-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .workflow-checkpoint__body .cta-row > button,
    .workflow-checkpoint__body .cta-row > a {
        flex: 1 1 145px;
    }

    .cookie-banner {
        border-radius: 17px;
        box-shadow: 0 18px 46px rgba(21, 42, 72, .18);
    }
}

@media (max-width: 420px) {
    .definition-table .table-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    .definition-table .table-row > :first-child {
        color: var(--muted);
        font-size: .74rem;
        font-weight: 800;
        letter-spacing: .05em;
        text-transform: uppercase;
    }

    .site-header .notif-toggle {
        font-size: .78rem;
    }

    .site-header .notif-dot {
        max-width: none;
        font-size: 0;
    }

    .site-header .notif-dot::after {
        content: 'Inbox';
        font-size: .78rem;
    }

    .hero-meta {
        grid-template-columns: 1fr;
    }

    .meta-card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .is-responsive-table > .table-row:not(.table-head) > span {
        grid-template-columns: minmax(78px, .65fr) minmax(0, 1.35fr);
    }

    .is-responsive-table > .table-row:not(.table-head) > .table-actions::before {
        flex-basis: 78px;
    }
}

@media (max-width: 720px) {
    .admin-primary-nav {
        padding: 0 12px 8px;
    }

    .admin-primary-nav__label {
        display: none;
    }

    .admin-primary-link {
        min-height: 42px;
    }

    .admin-primary-nav__more {
        display: none;
    }

    .menu-toggle__label {
        display: none;
    }

    .menu--admin .menu-panel {
        position: fixed;
        top: 72px;
        right: 12px;
        left: 12px;
        width: auto;
        max-height: calc(100vh - 88px);
    }

    .admin-menu-quick-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .row-actions-menu__panel {
        right: auto;
        left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
