/* Public commerce only.  This intentionally reuses the existing header/footer and
   avoids changing the consultation workspace's density or square-panel rules. */
.cc-page { background: #f5f8f6; color: #1d3027; }
.cc-shell { width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 72px 0 88px; }
.cc-page-head { margin: 0 0 28px; }
.cc-page-head p, .cc-subscription-strip > div > p, .cc-checkout-card > p:first-child { margin: 0 0 8px; color: #087a59; font-size: 12px; font-weight: 800; letter-spacing: .09em; }
.cc-page-head h1 { margin: 0; color: #18362a; font-size: clamp(30px, 4vw, 42px); line-height: 1.2; letter-spacing: -.045em; }
.cc-page-head > span { display: block; max-width: 620px; margin-top: 12px; color: #586d62; font-size: 15px; line-height: 1.65; }
.cc-category-filter { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; }
.cc-category-filter label { color: #40584c; font-size: 14px; font-weight: 800; }
.cc-category-filter select { min-height: 42px; min-width: min(100%, 300px); padding: 0 34px 0 12px; border: 1px solid #cbdcd3; border-radius: 8px; background: #fff; color: #213d30; font: inherit; }
.cc-category-filter .cc-button { min-height: 42px; }
.cc-product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 252px), 1fr)); gap: 16px; }
.cc-product-card, .cc-subscription-card, .cc-current-subscriptions, .cc-subscription-strip, .cc-checkout-card { background: #fff; border: 1px solid #dce7e1; box-shadow: 0 8px 24px rgba(25, 65, 48, .05); }
.cc-product-card { min-width: 0; padding: 22px; display: flex; flex-direction: column; gap: 22px; }
.cc-product-card-top { min-height: 86px; }
.cc-product-card h2, .cc-subscription-card h2, .cc-current-subscriptions h2 { margin: 0; color: #153629; font-size: 20px; line-height: 1.35; letter-spacing: -.03em; }
.cc-product-category { margin: 0 0 8px; color: #087a59; font-size: 12px; font-weight: 800; }
.cc-product-seller { display: inline-flex; margin-top: 10px; color: #5c7166; font-size: 13px; font-weight: 700; text-decoration: none; }
.cc-product-seller:hover { color: #174735; text-decoration: underline; text-underline-offset: 3px; }
.cc-product-card-top strong { display: block; margin-top: 14px; color: #087a59; font-size: 22px; letter-spacing: -.03em; }
.cc-meta-list { display: grid; gap: 12px; margin: 0; min-height: 96px; }
.cc-meta-list div { display: grid; gap: 4px; }
.cc-meta-list dt { color: #6a7b73; font-size: 12px; font-weight: 700; }
.cc-meta-list dd { margin: 0; color: #30483d; font-size: 14px; line-height: 1.55; }
.cc-deliverables { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.cc-deliverables li::before { content: "·"; margin-right: 6px; color: #087a59; font-weight: 900; }
.cc-empty { grid-column: 1 / -1; padding: 42px 24px; border: 1px dashed #b9cec2; background: #fff; color: #53695d; text-align: center; }
.cc-empty h2 { margin: 0; color: #213d30; font-size: 20px; }
.cc-empty p { margin: 9px 0 0; font-size: 14px; }
.cc-button { box-sizing: border-box; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border: 1px solid transparent; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; transition: background-color .16s ease, border-color .16s ease, color .16s ease; }
.cc-product-card .cc-button { margin-top: auto; width: 100%; }
.cc-button-primary { background: #174735; color: #fff; }
.cc-button-primary:hover { background: #0c3828; color: #fff; }
.cc-button-outline { border-color: #aec6b9; background: #fff; color: #174735; }
.cc-button-outline:hover { border-color: #174735; background: #eef6f1; }
.cc-button-disabled { background: #e9efec; color: #7a8a82; cursor: not-allowed; }
.cc-button:focus-visible, .cc-text-button:focus-visible { outline: 3px solid #72bca0; outline-offset: 3px; }
.cc-subscription-strip { display: grid; grid-template-columns: minmax(160px, .7fr) minmax(320px, 1.35fr) auto; gap: 28px; align-items: center; margin-top: 48px; padding: 26px 30px; }
.cc-package-reference { margin-top: 48px; padding: 28px; border: 1px solid #dce7e1; background: #f0f7f2; }
.cc-package-reference > header { margin-bottom: 18px; }
.cc-package-reference > header p { margin: 0 0 7px; color: #087a59; font-size: 12px; font-weight: 800; letter-spacing: .09em; }
.cc-package-reference h2 { margin: 0; color: #18362a; font-size: 24px; letter-spacing: -.035em; }
.cc-package-reference > header span { display: block; max-width: 740px; margin-top: 10px; color: #53695d; font-size: 14px; line-height: 1.6; }
.cc-reference-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cc-reference-grid article { padding: 20px; border: 1px solid #d5e5db; background: #fff; }
.cc-reference-grid article > p { margin: 0 0 8px; color: #087a59; font-size: 13px; font-weight: 800; }
.cc-reference-grid article > strong { display: block; color: #1d3c2d; font-size: 17px; }
.cc-reference-grid article > span { display: block; margin-top: 9px; color: #52685c; font-size: 13px; line-height: 1.55; }
.cc-reference-grid ul { display: grid; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; color: #31493d; font-size: 13px; line-height: 1.5; }
.cc-reference-grid li::before { content: "·"; margin-right: 6px; color: #087a59; font-weight: 900; }
.cc-subscription-strip h2 { margin: 0; font-size: 24px; letter-spacing: -.035em; }
.cc-subscription-plans { display: grid; gap: 8px; }
.cc-subscription-plans div { display: flex; justify-content: space-between; gap: 16px; color: #30483d; font-size: 14px; }
.cc-subscription-plans span { color: #087a59; white-space: nowrap; font-weight: 800; }
.cc-subscription-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 360px)); gap: 16px; }
.cc-subscription-card { padding: 26px; display: flex; flex-direction: column; align-items: flex-start; }
.cc-subscription-card .cc-price { display: block; margin: 16px 0 18px; color: #087a59; font-size: 24px; letter-spacing: -.03em; }
.cc-subscription-card ul { display: grid; gap: 8px; min-height: 84px; margin: 0 0 24px; padding: 0; list-style: none; color: #46594f; font-size: 14px; line-height: 1.45; }
.cc-subscription-card li::before { content: "·"; margin-right: 6px; color: #087a59; font-weight: 900; }
.cc-subscription-card form { width: 100%; margin-top: auto; }
.cc-subscription-card form .cc-button, .cc-subscription-card > .cc-button { width: 100%; }
.cc-notice { margin: 0 0 18px; padding: 12px 14px; border-left: 3px solid #76968a; background: #ecf4ef; color: #284438; font-size: 14px; line-height: 1.45; }
.cc-notice-success { border-color: #087a59; }
.cc-notice-error { border-color: #c64545; background: #fff3f2; color: #8d3434; }
.cc-current-subscriptions { margin-top: 40px; padding: 24px; }
.cc-current-subscriptions h2 { margin-bottom: 18px; }
.cc-table-wrap { overflow-x: auto; }
.cc-current-subscriptions table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: left; }
.cc-current-subscriptions th, .cc-current-subscriptions td { padding: 13px 10px; border-top: 1px solid #e2ebe6; color: #33493e; font-size: 14px; }
.cc-current-subscriptions th { color: #667a6f; font-size: 12px; font-weight: 800; }
.cc-current-subscriptions td:last-child { text-align: right; }
.cc-text-button { display: inline-flex; padding: 6px 0; border: 0; background: transparent; color: #1c664e; font: inherit; font-size: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cc-checkout-shell { width: min(520px, calc(100% - 32px)); margin: 0 auto; padding: 76px 0 96px; }
.cc-checkout-card { padding: 32px; }
.cc-checkout-card h1 { margin: 0 0 26px; color: #17352a; font-size: 28px; letter-spacing: -.04em; }
.cc-checkout-summary { margin: 0 0 24px; border-top: 1px solid #deebe4; }
.cc-checkout-summary div { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid #deebe4; }
.cc-checkout-summary dt { color: #687c71; font-size: 14px; }
.cc-checkout-summary dd { margin: 0; color: #1e3f31; font-size: 14px; font-weight: 800; text-align: right; }
.cc-checkout-feedback { min-height: 21px; margin: 14px 0; color: #a53d3d; font-size: 14px; line-height: 1.5; }
.cc-checkout-button { width: 100%; margin-bottom: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1040px) { .cc-product-card-top, .cc-meta-list { min-height: auto; } .cc-reference-grid { grid-template-columns: 1fr; } .cc-subscription-strip { grid-template-columns: 1fr auto; } .cc-subscription-plans { grid-column: 1 / -1; grid-row: 2; } }
@media (max-width: 640px) { .cc-shell { width: min(100% - 32px, 1180px); padding: 42px 0 56px; } .cc-category-filter { align-items: stretch; flex-direction: column; } .cc-category-filter select { width: 100%; } .cc-product-grid { grid-template-columns: 1fr; } .cc-product-card, .cc-subscription-card, .cc-current-subscriptions, .cc-checkout-card, .cc-package-reference { padding: 20px; } .cc-subscription-strip { grid-template-columns: 1fr; gap: 18px; padding: 22px 20px; } .cc-subscription-strip .cc-button { width: 100%; } .cc-subscription-plans div { display: grid; gap: 3px; } .cc-checkout-shell { padding: 42px 0 56px; } }
@media (prefers-reduced-motion: reduce) { .cc-button { transition: none; } }
