.client-service { min-width: 0; border: 1px solid #e5e1da; border-radius: 6px; background: #fff; padding: 1.15rem; }
.client-offer { min-width: 0; border: 1px solid #e5e1da; border-radius: 6px; background: #fff; padding: 1.15rem; }
.client-offer > header { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.client-offer > header p { color: #995e2e; font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.client-offer > header h3 { margin-top: .25rem; color: #272d35; font-size: 1.05rem; font-weight: 900; }
.client-offer > header > strong { color: #272d35; font-size: 1.15rem; white-space: nowrap; }
.client-offer > header > strong small { margin-left: .2rem; color: #666d76; font-size: .67rem; font-weight: 700; }
.client-offer-specs, .client-offer-features { margin-top: .75rem; color: #555c65; font-size: .75rem; line-height: 1.55; }
.client-offer-features { border-top: 1px solid #eeeae4; padding-top: .6rem; white-space: pre-line; }
.client-offer form { display: grid; gap: .65rem; margin-top: 1rem; border-top: 1px solid #eeeae4; padding-top: .9rem; }
.client-offer form > label { display: grid; gap: .3rem; color: #272d35; font-size: .73rem; font-weight: 800; }
.client-offer input, .client-offer textarea { width: 100%; min-width: 0; min-height: 2.45rem; border: 1px solid #d8d4cc; border-radius: 4px; background: #fff; padding: .55rem .65rem; color: #272d35; font-size: .77rem; }
.client-offer textarea { font: .72rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.client-offer input:focus, .client-offer textarea:focus { border-color: #995e2e; outline: 2px solid rgb(153 94 46 / 14%); }
.client-offer form small { color: #666d76; font-size: .67rem; font-weight: 500; }
.client-domain-input { display: flex; align-items: center; min-width: 0; border: 1px solid #d8d4cc; border-radius: 4px; padding-right: .55rem; }
.client-domain-input input { min-width: 5rem; border: 0; }
.client-domain-input input:focus { outline: 0; }
.client-domain-input span { flex: 0 1 auto; color: #666d76; font-size: .7rem; overflow-wrap: anywhere; }
.client-offer form button { justify-self: start; min-height: 2.4rem; border: 1px solid #272d35; border-radius: 4px; background: #272d35; padding: .5rem .75rem; color: #fff; font-size: .75rem; font-weight: 800; cursor: pointer; }
.client-offer form button:hover:not(:disabled) { border-color: #995e2e; background: #995e2e; }
.client-offer form button:disabled { cursor: wait; opacity: .6; }
.client-wallet { margin-bottom: 2.5rem; border-block: 1px solid #e5e1da; background: #fff; padding: 1.25rem 1rem; }
.client-wallet-summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.client-wallet-summary > strong { color: #272d35; font-size: 1.7rem; white-space: nowrap; }
.client-wallet-content { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr); gap: 2rem; margin-top: 1.25rem; border-top: 1px solid #eeeae4; padding-top: 1rem; }
.client-wallet-topup { display: grid; align-content: start; gap: .5rem; }
.client-wallet-topup label, .client-wallet-content h3 { color: #272d35; font-size: .78rem; font-weight: 900; }
.client-wallet-topup > div { display: flex; flex-wrap: wrap; gap: .5rem; }
.client-wallet-topup input { width: 7rem; min-height: 2.5rem; border: 1px solid #d8d4cc; border-radius: 4px; padding: .5rem; }
.client-wallet-topup button { min-height: 2.5rem; border: 1px solid #272d35; border-radius: 4px; background: #272d35; padding: .5rem .75rem; color: #fff; font-size: .75rem; font-weight: 800; cursor: pointer; }
.client-wallet-topup button:hover { border-color: #995e2e; background: #995e2e; }
.client-wallet-topup button:disabled { cursor: wait; opacity: .6; }
.client-wallet-topup p { color: #666d76; font-size: .7rem; }
.client-wallet-history { margin-top: .35rem; }
.client-wallet-history li { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid #f0ede8; padding: .55rem 0; color: #555c65; font-size: .75rem; }
.client-wallet-history li span { display: grid; gap: .15rem; }
.client-wallet-history strong { color: #272d35; font-weight: 700; }
.client-wallet-history time, .client-wallet-empty { color: #77736c; font-size: .7rem; }
.client-wallet-history b { align-self: center; white-space: nowrap; font-size: .75rem; }
.client-wallet-history b[data-kind="credit"] { color: #256144; }
.client-wallet-history b[data-kind="debit"] { color: #963d32; }
.client-service > header { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.client-status { flex: 0 0 auto; border: 1px solid #d9e8df; border-radius: 4px; background: #f3faf5; padding: .3rem .5rem; color: #256144; font-size: .7rem; font-weight: 800; }
.client-status[data-state="pending"], .client-status[data-state="provisioning"] { border-color: #eadbb6; background: #fff9e9; color: #795b1b; }
.client-status[data-state="suspended"], .client-status[data-state="blocked"], .client-status[data-state="destroyed"] { border-color: #edc9c4; background: #fff5f3; color: #963d32; }
.client-service-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1rem; margin-top: 1.15rem; border-top: 1px solid #eeeae4; border-bottom: 1px solid #eeeae4; padding: .9rem 0; }
.client-service-specs dt { color: #77736c; font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.client-service-specs dd { margin-top: .2rem; color: #272d35; font-size: .8rem; font-weight: 700; overflow-wrap: anywhere; }
.client-accesses { margin-top: .95rem; }
.client-accesses h4 { color: #272d35; font-size: .8rem; font-weight: 900; }
.client-access-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; border-top: 1px solid #f0ede8; padding: .7rem 0; }
.client-access-row > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .7rem; min-width: 0; }
.client-access-row strong { color: #995e2e; font-size: .72rem; }
.client-access-row span { color: #555c65; font-size: .75rem; overflow-wrap: anywhere; }
.client-access-row button { flex: 0 0 auto; min-height: 2.25rem; border: 1px solid #d8d4cc; border-radius: 4px; background: #fff; padding: .4rem .65rem; color: #272d35; font-size: .72rem; font-weight: 800; cursor: pointer; }
.client-access-row button:hover { border-color: #995e2e; color: #995e2e; }
.client-quote { padding: 1rem 0; }
.client-quote-lines { display: grid; gap: .35rem; margin-top: .75rem; color: #565e68; font-size: .78rem; }
.client-quote-lines li { display: flex; justify-content: space-between; gap: 1rem; }
.client-quote-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .85rem; }
.client-quote-actions button { min-height: 2.35rem; border: 1px solid #272d35; border-radius: 4px; background: #272d35; padding: .45rem .7rem; color: #fff; font-size: .74rem; font-weight: 800; cursor: pointer; }
.client-quote-actions button + button { border-color: #d8d4cc; background: #fff; color: #414851; }
.client-quote-actions button:hover { border-color: #995e2e; background: #995e2e; color: #fff; }
.client-quote-actions button:disabled { cursor: wait; opacity: .6; }
.client-key-form { display: grid; gap: .5rem; margin-top: 1rem; border-top: 1px solid #eeeae4; padding-top: .9rem; }
.client-key-form label { color: #272d35; font-size: .78rem; font-weight: 900; }
.client-key-form textarea { width: 100%; min-width: 0; border: 1px solid #d8d4cc; border-radius: 4px; background: #fff; padding: .65rem; color: #272d35; font: .75rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.client-key-form textarea:focus { border-color: #995e2e; outline: 2px solid rgb(153 94 46 / 14%); }
.client-key-form p { color: #666d76; font-size: .7rem; line-height: 1.55; }
.client-key-form button { justify-self: start; min-height: 2.35rem; border: 1px solid #272d35; border-radius: 4px; background: #272d35; padding: .45rem .7rem; color: #fff; font-size: .73rem; font-weight: 800; cursor: pointer; }
.client-key-form button:disabled { cursor: wait; opacity: .6; }
.client-key-form button:hover:not(:disabled) { border-color: #995e2e; background: #995e2e; }
.client-service-actions { margin-top: 1rem; border-top: 1px solid #eeeae4; padding-top: .85rem; }
.client-service-actions button { min-height: 2.35rem; border: 1px solid #9b3f38; border-radius: 4px; background: #fff; padding: .45rem .7rem; color: #87332e; font-size: .73rem; font-weight: 800; cursor: pointer; }
.client-service-actions button:hover:not(:disabled) { background: #9b3f38; color: #fff; }
.client-service-actions button:disabled { cursor: wait; opacity: .6; }
.client-cancel-status { margin-top: 1rem; border-top: 1px solid #eeeae4; padding-top: .85rem; color: #666d76; font-size: .75rem; font-weight: 700; }
@media (max-width: 640px) { .client-summary > div { padding: .8rem .65rem; } .client-summary strong { font-size: 1rem; } .client-summary span { font-size: .64rem; } .client-wallet-content { grid-template-columns: 1fr; gap: 1.25rem; } .client-wallet-summary > strong { font-size: 1.35rem; } }
@media (max-width: 520px) { .client-service-specs { grid-template-columns: 1fr; } .client-access-row { align-items: start; } }
.client-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 1.5rem; border-block: 1px solid #e5e1da; background: #fff; }
.client-summary > div { display: grid; gap: .3rem; padding: 1rem 1.15rem; }
.client-summary > div + div { border-left: 1px solid #e5e1da; }
.client-summary span { color: #666d76; font-size: .7rem; font-weight: 800; }
.client-summary strong { color: #272d35; font-size: 1.2rem; }
.site-nav > a, .site-nav-menu > summary { color: #4b5563; font-size: .84rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.site-nav > a:hover, .site-nav-menu > summary:hover, .site-nav > [aria-current="page"] { color: #c96b2c; }
.site-nav-menu { position: relative; }
.site-nav-menu > summary { list-style: none; }
.site-nav-menu > summary::-webkit-details-marker { display: none; }
.site-nav-menu > summary::after { display: inline-block; width: .42rem; height: .42rem; margin: 0 0 .18rem .4rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; content: ""; transform: rotate(45deg); }
.site-nav-dropdown { position: absolute; top: calc(100% + 1rem); left: -.85rem; z-index: 60; display: grid; min-width: 12rem; border: 1px solid #e5e1da; border-radius: 4px; background: #fff; padding: .35rem; box-shadow: 0 12px 30px rgb(39 45 53 / 12%); }
.site-nav-dropdown a { border-radius: 3px; padding: .65rem .75rem; color: #3f4751; font-size: .82rem; font-weight: 700; text-decoration: none; }
.site-nav-dropdown a:hover, .site-nav-dropdown a:focus-visible { background: #f7f5f1; color: #995e2e; }
.mobile-nav-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem; border-bottom: 1px solid #e5e1da; padding-bottom: .85rem; }
.mobile-nav-group p { grid-column: 1 / -1; padding: 0 .8rem .25rem; color: #995e2e; font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.mobile-nav-group a { border-radius: 4px; padding: .7rem .8rem; color: #272d35; font-size: .88rem; font-weight: 700; text-decoration: none; }
.mobile-nav-group a:hover, .mobile-nav-group a[aria-current="page"] { background: #f7f5f1; color: #995e2e; }
.client-workspace { display: grid; grid-template-columns: 13rem minmax(0, 1fr); align-items: start; gap: 2rem; }
.client-section-nav { position: sticky; top: 5.5rem; display: grid; align-content: start; gap: .3rem; border-right: 1px solid #e5e1da; padding: .15rem 1rem .15rem 0; }
.client-nav-heading { margin: .55rem .7rem .25rem; color: #8a8279; font-size: .64rem; font-weight: 900; text-transform: uppercase; }
.client-section-nav button { display: grid; gap: .16rem; width: 100%; min-height: 3.25rem; border: 0; border-left: 3px solid transparent; border-radius: 3px; background: transparent; padding: .62rem .7rem; color: #444b54; text-align: left; cursor: pointer; }
.client-section-nav button span { font-size: .82rem; font-weight: 850; }
.client-section-nav button small { color: #737982; font-size: .68rem; line-height: 1.35; }
.client-section-nav button:hover { background: #fff; color: #995e2e; }
.client-section-nav button[aria-pressed="true"] { border-left-color: #c96b2c; background: #fff; color: #272d35; }
.client-section-nav button[aria-pressed="true"] small { color: #6b645d; }
.client-section-nav button:focus-visible { outline: 2px solid #c96b2c; outline-offset: 2px; }
.client-panels { min-width: 0; }
.client-panel[hidden] { display: none; }
@media (max-width: 760px) { .client-workspace { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } .client-section-nav { position: static; display: flex; overflow-x: auto; gap: .25rem; border-right: 0; border-bottom: 1px solid #d8d4cc; padding: 0; } .client-nav-heading { display: none; } .client-section-nav button { flex: 1 0 auto; width: auto; min-height: 2.8rem; border-left: 0; border-bottom: 2px solid transparent; padding: .55rem .7rem; text-align: center; } .client-section-nav button[aria-pressed="true"] { border-bottom-color: #c96b2c; background: transparent; } .client-section-nav button small { display: none; } }
.client-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.client-account-setup { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; border: 1px solid #d8d4cc; border-left: 3px solid #995e2e; background: #fff; padding: 1rem 1.15rem; }
.client-account-setup[hidden] { display: none; }
.client-account-setup strong { color: #272d35; font-size: .9rem; }
.client-account-setup p { margin-top: .25rem; color: #666d76; font-size: .78rem; line-height: 1.5; }
.client-account-setup button, .client-product button { min-height: 2.45rem; border: 1px solid #272d35; border-radius: 4px; background: #272d35; padding: .5rem .8rem; color: #fff; font-size: .76rem; font-weight: 800; cursor: pointer; }
.client-account-setup button:hover, .client-product button:hover:not(:disabled) { border-color: #995e2e; background: #995e2e; }
.client-account-setup button:disabled, .client-product button:disabled { cursor: wait; opacity: .55; }
.client-service-filters { display: grid; grid-template-columns: auto minmax(12rem, 1fr) auto minmax(8rem, .35fr); align-items: center; gap: .5rem .7rem; margin: .8rem 0; border-block: 1px solid #e5e1da; padding: .7rem 0; }
.client-service-filters label { color: #555c65; font-size: .72rem; font-weight: 800; }
.client-service-filters input, .client-service-filters select { min-height: 2.4rem; min-width: 0; border: 1px solid #d8d4cc; border-radius: 4px; background: #fff; padding: .45rem .6rem; color: #272d35; font: inherit; font-size: .76rem; }
.client-shop-filters { display: grid; grid-template-columns: auto minmax(12rem, 1fr) auto minmax(10rem, .45fr); align-items: center; gap: .5rem .75rem; margin: 1rem 0; border-block: 1px solid #e5e1da; padding: .75rem 0; }
.client-shop-filters label { color: #555c65; font-size: .74rem; font-weight: 800; }
.client-shop-filters input, .client-shop-filters select { min-height: 2.45rem; min-width: 0; border: 1px solid #d8d4cc; border-radius: 4px; background: #fff; padding: .5rem .65rem; color: #272d35; font: inherit; font-size: .78rem; }
.client-shop-filters :focus { outline: 2px solid rgb(153 94 46 / 22%); outline-offset: 1px; }
.client-product-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.client-product { display: grid; align-content: start; gap: .7rem; min-width: 0; border: 1px solid #e5e1da; border-radius: 5px; background: #fff; padding: 1rem; }
.client-product header { display: flex; justify-content: space-between; gap: 1rem; }
.client-product header p { color: #995e2e; font-size: .66rem; font-weight: 900; text-transform: uppercase; }
.client-product h3 { margin-top: .18rem; color: #272d35; font-size: .98rem; font-weight: 900; }
.client-product header strong { flex: 0 0 auto; color: #272d35; font-size: 1rem; white-space: nowrap; }
.client-product header small { color: #666d76; font-size: .67rem; font-weight: 700; }
.client-product > p { color: #555c65; font-size: .76rem; line-height: 1.55; white-space: pre-line; }
.client-product footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; border-top: 1px solid #eeeae4; padding-top: .7rem; }
.client-product footer small { color: #666d76; font-size: .68rem; line-height: 1.4; }
.client-shop-hosting { margin-top: 2.5rem; border-top: 1px solid #e5e1da; padding-top: 1.5rem; }
.client-payment-status { margin-top: 1rem; border-top: 1px solid #eeeae4; padding-top: .75rem; color: #666d76; font-size: .76rem; line-height: 1.5; }
.client-payment-status[data-ready="true"] { color: #256144; }
.client-payment-status[data-ready="false"] { color: #963d32; }
.client-orders { border-top: 1px solid #e5e1da; padding-top: 1.5rem; }
.client-order-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid #eeeae4; padding: .8rem 0; color: #272d35; font-size: .78rem; }
.client-order-row > div { display: grid; gap: .2rem; }
.client-order-row small { color: #666d76; font-size: .68rem; }
.client-order-row button { border: 1px solid #d8d4cc; border-radius: 4px; background: #fff; padding: .45rem .65rem; color: #414851; font-size: .7rem; font-weight: 800; cursor: pointer; }
.client-order-row button:hover { border-color: #995e2e; color: #995e2e; }
@media (max-width: 640px) { .client-summary { grid-template-columns: repeat(2, minmax(0,1fr)); } .client-summary > div:nth-child(3) { border-left: 0; } .client-summary > div:nth-child(n+3) { border-top: 1px solid #e5e1da; } .client-shop-filters, .client-service-filters { grid-template-columns: minmax(0, 1fr); gap: .35rem; } .client-shop-filters label:not(:first-child), .client-service-filters label:not(:first-child) { margin-top: .35rem; } .client-product-list { grid-template-columns: minmax(0,1fr); } .client-account-setup { align-items: start; flex-direction: column; } .client-product footer, .client-order-row { align-items: start; flex-direction: column; } }

/* Client workspace */
body:has(#clientDashboard) { background: #f4f5f4; }
.client-page-heading { border-bottom: 1px solid #dfe3e0; background: #fff; }
.client-page-heading-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: min(100% - 3rem, 90rem); min-height: 8.5rem; margin-inline: auto; padding-block: 1.5rem; }
.client-eyebrow { color: #a45c2a; font-size: .69rem; font-weight: 900; text-transform: uppercase; }
.client-eyebrow span { padding-inline: .35rem; color: #9da39f; }
.client-page-heading h1 { margin-top: .35rem; color: #252d33; font-family: Manrope, sans-serif; font-size: 1.8rem; font-weight: 800; }
.client-page-heading #clientIdentity { margin-top: .25rem; color: #6b7479; font-size: .8rem; }
#clientActions { display: flex; }
#clientActions button { min-height: 2.45rem; border: 1px solid #d8ddda; border-radius: 4px; background: #fff; padding: .5rem .8rem; color: #30393e; font-size: .75rem; font-weight: 800; cursor: pointer; }
#clientActions button:hover { border-color: #a45c2a; color: #a45c2a; }
.client-page-content { width: min(100% - 3rem, 90rem); min-height: 68vh; margin-inline: auto; padding-block: 1.5rem 4rem; }
#clientNotice { max-width: none; margin-bottom: 1rem; border-radius: 4px; }
#clientLogin { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(15rem, .7fr); align-items: center; gap: 3rem; min-height: 20rem; border: 1px solid #e0e4e1; border-radius: 5px; background: #fff; padding: clamp(1.5rem, 5vw, 4rem); text-align: left; }
.client-login h2 { max-width: 38rem; margin-top: .65rem; color: #252d33; font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.18; }
.client-login > div > p:not(.client-eyebrow) { max-width: 35rem; margin-top: .8rem; color: #677177; font-size: .9rem; line-height: 1.7; }
.client-primary-action { display: inline-flex; align-items: center; min-height: 2.7rem; margin-top: 1.4rem; border-radius: 4px; background: #283239; padding: .65rem 1rem; color: white; font-size: .8rem; font-weight: 800; text-decoration: none; }
.client-primary-action:hover { background: #a45c2a; }
.client-login-aside { display: grid; gap: .45rem; align-content: center; min-height: 8rem; border-left: 2px solid #d8e5df; padding-left: 1.2rem; }
.client-login-aside strong { color: #34433d; font-size: .9rem; }
.client-login-aside span { color: #6c7771; font-size: .76rem; line-height: 1.6; }
#clientDashboard { display: grid; gap: 1rem; }
#clientDashboard.hidden, #clientLogin.hidden, #clientSidebar.hidden, #clientActions.hidden { display: none; }
.client-account-setup { margin: 0; border-radius: 4px; }
.client-summary { gap: 1px; overflow: hidden; margin: 0; border: 1px solid #dfe3e0; border-radius: 4px; background: #dfe3e0; }
.client-summary > div { position: relative; min-height: 5.6rem; align-content: center; gap: .35rem; background: #fff; padding: .8rem 1rem; }
.client-summary > div + div { border-left: 0; }
.client-summary span { color: #717a7e; font-size: .68rem; }
.client-summary strong { color: #283239; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.client-workspace { grid-template-columns: 14rem minmax(0, 1fr); gap: 1.5rem; min-height: 32rem; }
.client-section-nav { top: 1rem; gap: .2rem; border: 1px solid #dfe3e0; border-radius: 4px; background: #fff; padding: .75rem; }
.client-nav-heading { margin: .55rem .6rem .25rem; color: #929a9d; letter-spacing: .08em; }
.client-section-nav button { min-height: 3rem; }
.client-section-nav button[aria-pressed="true"] { border-left-color: #a45c2a; background: #f6f7f6; }
.client-panels { min-height: 32rem; border: 1px solid #dfe3e0; border-radius: 4px; background: #fff; padding: clamp(1rem, 2.2vw, 1.75rem); }
.client-panel > section > div:first-child h2, .client-wallet h2 { font-size: 1.35rem; }
.client-panel > section > div:first-child p, .client-wallet-summary p { line-height: 1.55; }
.client-service, .client-offer, .client-product { border-color: #e0e4e1; border-radius: 4px; box-shadow: 0 1px 2px rgb(31 45 40 / 3%); }
.client-service:hover, .client-offer:hover, .client-product:hover { border-color: #cbd4cf; }
.client-shop-filters, .client-service-filters { border-color: #e3e7e4; }
.client-wallet { margin-bottom: 1.75rem; border: 1px solid #e0e4e1; border-radius: 4px; padding: 1.25rem; }
.client-wallet-summary > strong { color: #256144; font-size: 1.8rem; font-variant-numeric: tabular-nums; }
.client-orders { margin-top: 1.5rem; }
.client-quote { border-color: #edf0ee; }
@media (max-width: 760px) {
  .client-page-heading-inner, .client-page-content { width: min(100% - 2rem, 90rem); }
  .client-page-heading-inner { min-height: 7.25rem; }
  .client-workspace { gap: .75rem; }
  .client-section-nav { position: sticky; top: 0; z-index: 5; border-radius: 4px; padding: .35rem; }
  .client-section-nav button { flex: 1 0 auto; min-width: 5rem; }
  .client-section-nav button[aria-pressed="true"] { background: #f6f7f6; }
  .client-panels { padding: 1rem; }
}
@media (max-width: 560px) {
  .client-page-heading-inner { align-items: flex-start; flex-direction: column; gap: .75rem; padding-block: 1.1rem; }
  #clientActions { width: 100%; }
  #clientActions button { flex: 1; }
  #clientLogin { grid-template-columns: 1fr; gap: 1.5rem; min-height: 0; padding: 1.4rem; }
  .client-login-aside { min-height: 0; }
  .client-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-summary > div:nth-child(3) { border-left: 0; }
  .client-summary > div:nth-child(n+3) { border-top: 1px solid #dfe3e0; }
  .client-panels { padding: .85rem; }
}

/* Full-screen client console */
body:has(.client-app-shell) { min-height: 100vh; background: #f2f4f2; }
.client-app-shell { min-height: 100vh; }
.client-appbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; border-bottom: 1px solid #dce2de; background: #fff; padding: .45rem 1.15rem; }
.client-app-brand { display: flex; align-items: center; gap: .55rem; color: #273239; text-decoration: none; }
.client-app-brand img { border-radius: 3px; }
.client-app-brand strong { font-size: .96rem; font-weight: 900; }
.client-app-brand span { margin-left: .15rem; border-left: 1px solid #dce2de; padding-left: .65rem; color: #9a5b2e; font-size: .58rem; font-weight: 900; letter-spacing: .06em; }
.client-appbar-divider { height: 2rem; border-left: 1px solid #e0e4e1; }
.client-appbar-page { display: grid; gap: .1rem; min-width: 8rem; }
.client-appbar-page > span { color: #995e2e; font-size: .64rem; font-weight: 800; }
.client-appbar-page h1 { color: #263239; font-size: .92rem; font-weight: 900; }
.client-identity { overflow: hidden; margin-left: auto; color: #697470; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.client-app-actions { display: flex; gap: .4rem; }
.client-app-actions button, .client-heading-tools > button, .client-home-block header > button { min-height: 2.25rem; border: 1px solid #d9dfdc; border-radius: 4px; background: #fff; padding: .45rem .7rem; color: #344039; font-size: .72rem; font-weight: 800; cursor: pointer; }
.client-app-actions button:hover, .client-heading-tools > button:hover, .client-home-block header > button:hover { border-color: #a45c2a; color: #a45c2a; }
.client-nav-toggle { display: none; width: 2.35rem; height: 2.35rem; border: 1px solid #dce2de; border-radius: 4px; background: #fff; color: #344039; font-size: 1rem; cursor: pointer; }
.client-app-layout { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); min-height: calc(100vh - 4.25rem); }
.client-app-layout:has(.client-sidebar.hidden) { grid-template-columns: minmax(0, 1fr); }
.client-sidebar { position: sticky; top: 4.25rem; display: flex; height: calc(100vh - 4.25rem); flex-direction: column; border-right: 1px solid #dce2de; background: #fff; }
.client-section-nav { position: static; display: flex; flex: 1; flex-direction: column; gap: .18rem; overflow: auto; border: 0; border-radius: 0; background: transparent; padding: 1rem .8rem; }
.client-nav-heading { margin: 1.15rem .65rem .35rem; color: #9aa19e; font-size: .62rem; letter-spacing: .09em; }
.client-section-nav button { flex: 0 0 auto; display: flex; align-items: center; width: 100%; min-height: 2.6rem; border: 0; border-left: 3px solid transparent; border-radius: 3px; background: transparent; padding: .55rem .65rem; color: #48534e; text-align: left; cursor: pointer; }
.client-section-nav button span { font-size: .78rem; font-weight: 800; }
.client-section-nav button:hover { background: #f4f6f4; color: #9a5b2e; }
.client-section-nav button[aria-pressed="true"] { border-left-color: #a45c2a; background: #f4f6f4; color: #263239; }
.client-section-nav button[aria-pressed="true"] span { font-weight: 900; }
.client-subnav { display: grid; gap: .08rem; margin: 0 0 .3rem .85rem; border-left: 1px solid #e0e5e2; padding-left: .5rem; }
.client-subnav button { min-height: 2rem; border: 0; padding: .35rem .5rem; color: #737d77; font-size: .7rem; }
.client-subnav button[aria-current="page"] { color: #995e2e; font-weight: 900; }
.client-sidebar-bottom { border-top: 1px solid #e7eae8; padding: .8rem 1rem; }
.client-sidebar-bottom a { display: grid; gap: .15rem; color: #505b55; font-size: .68rem; font-weight: 800; text-decoration: none; }
.client-sidebar-bottom span { color: #9a5b2e; font-size: .7rem; }
.client-main { min-width: 0; }
.client-page-content { width: min(100% - 3rem, 100rem); min-height: calc(100vh - 4.25rem); margin: 0 auto; padding: 1.25rem 0 3rem; }
.client-main #clientNotice { margin-bottom: 1rem; }
#clientLogin { min-height: calc(100vh - 8rem); }
#clientDashboard { gap: 1rem; }
.client-account-setup { max-width: none; }
.client-summary { grid-template-columns: repeat(4, minmax(0,1fr)); }
.client-workspace { display: block; min-height: 0; }
.client-panels { min-height: 0; border: 0; border-radius: 0; background: transparent; padding: 0; }
.client-panel { min-width: 0; }
.client-panel > section > div:first-child h2, .client-wallet h2 { font-size: 1.45rem; }
.client-home-welcome { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 1rem; border: 1px solid #dfe4e1; border-left: 3px solid #a45c2a; border-radius: 4px; background: #fff; padding: 1.35rem 1.5rem; }
.client-home-welcome h2 { margin-top: .35rem; color: #263239; font-size: 1.5rem; font-weight: 900; }
.client-home-welcome p:not(.client-eyebrow) { margin-top: .3rem; color: #6c7771; font-size: .8rem; }
.client-home-shop { min-height: 2.5rem; border: 1px solid #273239; border-radius: 4px; background: #273239; padding: .55rem .8rem; color: #fff; font-size: .74rem; font-weight: 850; cursor: pointer; }
.client-home-shop:hover { border-color: #a45c2a; background: #a45c2a; }
.client-home-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(17rem, .75fr); align-items: start; gap: 1rem; }
.client-home-block { min-width: 0; border: 1px solid #dfe4e1; border-radius: 4px; background: #fff; padding: 1.15rem; }
.client-home-block > header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .85rem; }
.client-home-block h3 { margin-top: .2rem; color: #273239; font-size: .96rem; font-weight: 900; }
.client-home-activity { display: grid; }
.client-home-activity > p { padding: 1rem 0; color: #747d78; font-size: .77rem; }
.client-home-activity article { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid #edf0ee; padding: .7rem 0; }
.client-home-activity article > div { display: grid; gap: .18rem; min-width: 0; }
.client-home-activity strong { overflow: hidden; color: #354039; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.client-home-activity small, .client-home-activity time { color: #77817b; font-size: .66rem; }
.client-home-activity time { flex: 0 0 auto; }
.client-home-shortcuts { display: grid; }
.client-home-shortcuts > button { display: grid; gap: .2rem; width: 100%; border: 0; border-top: 1px solid #edf0ee; background: transparent; padding: .8rem .1rem; color: #354039; text-align: left; cursor: pointer; }
.client-home-shortcuts > button:hover span { color: #995e2e; }
.client-home-shortcuts > button span { font-size: .76rem; font-weight: 850; }
.client-home-shortcuts > button small { color: #77817b; font-size: .68rem; }
.client-heading-tools { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.client-wallet-balance { display: grid; justify-items: end; gap: .55rem; }
.client-wallet-balance button { min-height: 2.35rem; border: 1px solid #283239; border-radius: 4px; background: #283239; padding: .45rem .75rem; color: #fff; font-size: .72rem; font-weight: 800; cursor: pointer; }
.client-wallet-content { grid-template-columns: minmax(0, 1fr); }
.client-home-block, .client-wallet, .client-service, .client-offer, .client-product { box-shadow: none; }
.client-modal { position: fixed; inset: 50% auto auto 50%; transform: translate(-50%, -50%); margin: 0; width: min(36rem, calc(100% - 2rem)); max-width: 42rem; max-height: min(88vh, 54rem); overflow: auto; border: 1px solid #d9dfdc; border-radius: 6px; background: #fff; padding: 0; color: #273239; box-shadow: 0 24px 80px rgb(24 35 30 / 24%); }
.client-modal::backdrop { background: rgb(24 35 30 / 52%); }
.client-modal-heading { position: sticky; top: 0; z-index: 2; display: flex; align-items: start; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #e6eae7; background: #fff; padding: 1rem 1.2rem; }
.client-modal-heading h2 { margin-top: .25rem; font-size: 1.08rem; font-weight: 900; }
.client-modal-heading > button { display: grid; width: 2rem; height: 2rem; place-items: center; border: 1px solid #e0e5e2; border-radius: 4px; background: #fff; color: #505a55; font-size: 1.1rem; cursor: pointer; }
.client-modal-fields, .client-modal-content { display: grid; gap: .55rem; padding: 1.15rem 1.2rem; }
.client-modal-fields label, .client-modal-content label { margin-top: .3rem; color: #344039; font-size: .73rem; font-weight: 850; }
.client-modal-fields input, .client-modal-fields select, .client-modal-content input, .client-modal-content select, .client-modal-content textarea { width: 100%; min-width: 0; min-height: 2.6rem; border: 1px solid #d3dbd6; border-radius: 4px; background: #fff; padding: .6rem .7rem; color: #273239; font: inherit; font-size: .78rem; }
.client-modal-content textarea { min-height: 6rem; font: .75rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.client-modal-fields :focus, .client-modal-content :focus { border-color: #995e2e; outline: 2px solid rgb(153 94 46 / 18%); outline-offset: 1px; }
.client-modal-content > p { color: #6f7973; font-size: .7rem; line-height: 1.55; }
.client-modal-actions { display: flex; justify-content: flex-end; gap: .55rem; border-top: 1px solid #e8ece9; padding: .9rem 1.2rem 1.05rem; }
.client-modal-actions button { min-height: 2.45rem; border: 1px solid #d7ded9; border-radius: 4px; background: #fff; padding: .5rem .8rem; color: #4d5751; font-size: .74rem; font-weight: 800; cursor: pointer; }
.client-modal-actions .client-modal-primary { border-color: #283239; background: #283239; color: #fff; }
.client-modal-actions .client-modal-primary:hover { border-color: #995e2e; background: #995e2e; }
.client-wallet-input-row { position: relative; }
.client-wallet-input-row input { padding-right: 3.2rem; }
.client-wallet-input-row span { position: absolute; top: 50%; right: .8rem; color: #7c8580; font-size: .74rem; transform: translateY(-50%); }
.client-modal-content .client-modal-actions { margin: .5rem -1.2rem -1.15rem; }
.client-modal-content [data-close-dialog] { margin-right: auto; }
.client-home-grid + section { margin-top: 1rem; }
.client-service-key { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .75rem; border-top: 1px solid #edf0ee; padding-top: .7rem; }
.client-service-key p, .client-service-key-state { color: #68736d; font-size: .7rem; line-height: 1.5; }
.client-service-key button { flex: 0 0 auto; min-height: 2.25rem; border: 1px solid #d8dfda; border-radius: 4px; background: #fff; padding: .4rem .6rem; color: #37443c; font-size: .68rem; font-weight: 850; cursor: pointer; }
.client-service-key button:hover { border-color: #995e2e; color: #995e2e; }
.client-service-key button:disabled, .client-modal-actions button:disabled { opacity: .55; cursor: not-allowed; }
.client-service-key-state { margin-top: .75rem; }
.client-offer-action { display: grid; gap: .45rem; align-items: start; justify-items: start; border-top: 1px solid #edf0ee; padding-top: .75rem; }
.client-offer-action small { color: #68736d; font-size: .68rem; }
.client-offer-action button { min-height: 2.4rem; border: 1px solid #283239; border-radius: 4px; background: #283239; padding: .5rem .7rem; color: #fff; font-size: .72rem; font-weight: 850; cursor: pointer; }
.client-offer-action button:hover:not(:disabled) { border-color: #995e2e; background: #995e2e; }
.client-offer-action button:disabled { opacity: .55; cursor: not-allowed; }
.client-heading-tools > button { flex: 0 0 auto; }
.client-modal-content label { display: grid; gap: .35rem; }
.client-modal-content label small { color: #737d77; font-size: .67rem; font-weight: 500; }
.client-modal-content .client-domain-input { display: flex; align-items: center; min-width: 0; border: 1px solid #d3dbd6; border-radius: 4px; padding-right: .65rem; }
.client-modal-content .client-domain-input input { border: 0; }
.client-modal-content .client-domain-input input:focus { outline: 0; }
.client-modal-content .client-domain-input span { color: #737d77; font-size: .7rem; }
@media (max-width: 900px) {
  .client-app-layout { grid-template-columns: 13.5rem minmax(0,1fr); }
  .client-home-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 760px) {
  .client-appbar { gap: .6rem; padding-inline: .65rem; }
  .client-nav-toggle { display: grid; flex: 0 0 auto; place-items: center; }
  .client-appbar-divider { display: none; }
  .client-app-brand span { display: none; }
  .client-appbar-page { min-width: 0; }
  .client-identity { display: none; }
  .client-app-actions { margin-left: auto; }
  .client-app-actions button { padding-inline: .55rem; }
  .client-app-layout, .client-app-layout:has(.client-sidebar.hidden) { display: block; min-height: calc(100vh - 4.25rem); }
  .client-sidebar { position: fixed; top: 4.25rem; bottom: 0; left: 0; z-index: 18; width: min(18rem, 86vw); height: auto; box-shadow: 10px 0 28px rgb(24 35 30 / 12%); transform: translateX(-110%); transition: transform .18s ease; }
  .client-sidebar.is-open { transform: translateX(0); }
  .client-main { min-height: calc(100vh - 4.25rem); }
  .client-page-content { width: calc(100% - 1.5rem); padding-top: .8rem; }
  .client-summary { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .client-summary > div:nth-child(3) { border-left: 0; }
  .client-summary > div:nth-child(n+3) { border-top: 1px solid #dfe3e0; }
}
@media (max-width: 520px) {
  .client-app-brand strong { font-size: .84rem; }
  .client-appbar-page > span { font-size: .58rem; }
  .client-appbar-page h1 { font-size: .8rem; }
  .client-app-actions button { min-height: 2.1rem; font-size: .65rem; }
  .client-home-welcome { align-items: start; flex-direction: column; padding: 1rem; }
  .client-home-welcome h2 { font-size: 1.25rem; }
  .client-heading-tools { align-items: start; flex-direction: column; }
  .client-wallet-summary { align-items: start; }
  .client-wallet-balance > strong { font-size: 1.25rem; }
  .client-modal { width: calc(100% - 1rem); }
}
