.header-cart:any-link {
  position:relative; display:inline-grid; place-items:center; flex-shrink:0; width:44px; min-height:44px;
  padding:0; border:0; background:transparent; color:var(--slate); text-decoration:none;
}
.header-cart img {width:23px;height:23px;}
.header-cart-count {
  position:absolute; top:2px; right:0; display:grid; place-items:center;
  min-width:17px; height:17px; padding:0 3px; border-radius:999px;
  color:#fff; background:#a82d2d; font-size:10px; font-weight:800; line-height:1;
}
.header-cart-count[hidden] {display:none;}
.site-header .header-cart::after {content:none;}
.cart-item-actions {display:flex; gap:.65rem 1rem; align-items:center; flex-wrap:wrap;}
.cart-item-actions .action {font:inherit; font-weight:800; cursor:pointer;}
.cart-view {font-weight:800; text-underline-offset:.25em;}
.service-cart .receipt {margin-top:1.25rem;}
.cart-item-list {list-style:none; padding:0; margin:0;}
.cart-item-list li {display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.45rem 1rem; padding:.9rem 0; border-bottom:1px solid var(--edge);}
.cart-item-list li h2 {font-size:1.14rem; margin:0; overflow-wrap:anywhere;}
.cart-item-list button {border:0; background:transparent; font:inherit; color:inherit; cursor:pointer; text-decoration:underline; padding:.6rem 0;}
.cart-subtotal {display:flex; justify-content:space-between; gap:.75rem; margin-top:1rem;}
#cart-message:empty,#service-cart-status:empty {display:none;}
@media(max-width:540px) {
  .site-header .brand-text {display:none;}
  .site-header .header-menus {gap:5px;}
}
@media(max-width:360px) {
  .site-header .site-menu.services-menu summary {padding-inline:8px; gap:5px;}
  .site-header .brand-word {letter-spacing:1px;}
}

.cart-plan-detail {grid-column:1/-1; margin:0; font-size:.9rem;}
#software-cart-status:empty,#direct-cart-status:empty {display:none;}
#save-software-cart:disabled {opacity:.55; cursor:default;}

.direct-cart-actions {margin-block:1rem;}

.purchase-thumb,.payment-art {
  display:block; object-fit:contain; background:transparent; padding:0;
}
.purchase-thumb {width:54px; height:54px;}
:is(.service-selector,#system-order) .pick {
  grid-template-columns:18px 54px minmax(0,1fr) auto;
  align-items:center; gap:clamp(6px,1.3vw,12px);
}
#system-order .suite-choice {justify-content:flex-start;}
#system-order .suite-choice b {margin-left:auto;}
#system-order .system-details {text-decoration:none;}
.service-selector #service-status {font-weight:800; margin:.3rem 0 .8rem;}
.selection-lines {list-style:none; padding:0; margin:0 0 .9rem;}
.selection-lines:empty {display:none;}
.selection-lines li {display:grid; grid-template-columns:36px minmax(0,1fr) auto; align-items:center; gap:.55rem; padding:.55rem 0; border-top:1px solid var(--edge); font-size:.92rem;}
.selection-lines .purchase-thumb {width:36px;height:36px;}
.service-cart .cart-item-list li {grid-template-columns:58px minmax(0,1fr) auto; align-items:center;}
.cart-thumbnails {grid-column:1;grid-row:1 / span 3;align-self:start;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;}
.cart-thumbnails .purchase-thumb {width:100%; height:auto; aspect-ratio:1;}
.cart-thumbnails .purchase-thumb:only-child {grid-column:span 2;}
.cart-item-list .cart-plan-detail,.cart-item-list .cart-item-actions {grid-column:2/-1;}
.cart-item-list .cart-item-actions .action {width:auto;min-height:42px; padding:.55rem .95rem;}
.cart-suggestion {display:grid;grid-template-columns:54px minmax(0,1fr);gap:.25rem .85rem;align-items:center;margin:1rem 0;padding:.9rem;border:1px solid #b4dff7;border-radius:8px;background:#dff2fe;}
.cart-suggestion[hidden] {display:none;}
.cart-suggestion .purchase-thumb {grid-row:1 / span 3;align-self:start;}
.cart-suggestion h2 {font-size:1rem;margin:0;}
.cart-suggestion p {font-size:.9rem;margin:0;}
.cart-secondary {justify-self:start;min-height:42px;color:#0e2b3d;background:#f4f6f7;border:1px solid #83afc9;border-radius:6px;cursor:pointer;padding:.4rem .65rem;font:inherit;font-weight:700;}
.purchase-product-head {display:grid; grid-template-columns:clamp(64px,15vw,145px) minmax(0,1fr); align-items:start; gap:clamp(12px,3vw,26px);}
.purchase-product-head .payment-art {width:100%;aspect-ratio:1;}
.purchase-product-head h1 {font-size:clamp(1.55rem,5.5vw,3.2rem);margin:0 0 .35em;}
.purchase-product-copy p {margin:.3rem 0 .5rem;}
.purchase .direct-cart-actions .action {background:transparent;color:var(--slate);box-shadow:none;border:1px solid var(--edge);padding:.48rem .8rem;}
.payment-options {margin:.75rem 0;border:1px solid var(--edge);border-radius:6px;padding:.65rem .8rem;}
.payment-options summary {cursor:pointer;font-weight:700;}
.payment-options label {display:block;margin-top:.6rem;}
@media(max-width:520px) {
  :is(.service-selector,#system-order) .pick {grid-template-columns:16px 41px minmax(0,1fr) auto;}
  :is(.service-selector,#system-order) .pick .purchase-thumb {width:41px;height:41px;}
  :is(.service-selector,#system-order) .pick small {font-size:.78rem;}
  :is(.service-selector,#system-order) .pick-copy strong {font-size:.91rem;}
  #system-order .system-details {margin-left:66px;}
  .purchase-product-copy p:last-child {font-size:.92rem;}
}
.software-order-art {display:flex;flex-wrap:wrap;gap:.35rem;margin:.5rem 0;}
.software-order-art:empty {display:none;}
.software-order-art .purchase-thumb {width:38px;height:38px;}

.sayven-feature .suite-intake-link:any-link {
  display:inline-block; margin:.4rem .65rem .4rem 0;
  color:inherit; font-weight:800; text-decoration:none;
}
.suite-intake-link span {white-space:nowrap;}

:is(#system-order,#service-panel) {--system-art:clamp(48px,9vw,68px); --system-gap:clamp(10px,2vw,17px);}
:is(#system-order,#service-panel) .system-choice {
  padding:14px clamp(12px,2.5vw,22px); background:#f4f6f7;
}
:is(#system-order,#service-panel) .system-choice::before {display:none;}
:is(#system-order,#service-panel) .system-choice:has(input:checked) {background:#edf7fd;}
:is(#system-order,#service-panel) .system-choice .pick, :is(#system-order,#service-panel) .suite-choice {
  position:relative; display:grid; grid-template-columns:var(--system-art) minmax(0,1fr);
  align-items:start; gap:var(--system-gap); padding-right:28px;
}
:is(#system-order,#service-panel) .purchase-thumb {
  width:var(--system-art); height:var(--system-art); padding:0; background:transparent; border-radius:0;
}
:is(#system-order,#service-panel) .software-order-art .purchase-thumb {width:38px;height:38px;}
:is(#system-order,#service-panel) .system-choice .pick-copy {display:block;}
:is(#system-order,#service-panel) .system-choice .pick-copy strong,:is(#system-order,#service-panel) .suite-choice strong {display:block;font-size:1rem;}
:is(#system-order,#service-panel) .pick .rate,:is(#system-order,#service-panel) .suite-choice .rate {display:block;margin-top:3px;font-size:.9rem;}
:is(#system-order,#service-panel) .pick .rate small,:is(#system-order,#service-panel) .suite-choice .rate small {display:inline;color:inherit;font-size:.8em;}
:is(#system-order,#service-panel) .pick input,
:is(#system-order,#service-panel) .suite-choice::after {
  position:absolute; top:0; right:0; width:16px; height:16px; margin:0;
}
:is(#system-order,#service-panel) .pick input {accent-color:#3e5667;}
:is(#system-order,#service-panel) .system-details {margin:3px 0 0 calc(var(--system-art) + var(--system-gap));}
:is(#system-order,#service-panel) .suite-choice::after {
  content:""; top:14px; right:12px; display:grid; place-items:center;
  border:1px solid #3e5667; border-radius:3px; box-sizing:border-box;
}
:is(#system-order,#service-panel) .suite-choice[aria-pressed="true"]::after {content:"✓";background:#3e5667;color:white;font-size:12px;}

:is(#system-order,#service-panel) .system-family {margin:0 0 1.3rem;}
:is(#system-order,#service-panel) .system-family h3 {font-size:1.05rem;color:var(--slate);margin:.75rem 0 .55rem;}
:is(#system-order,#service-panel) .system-addons {margin:.75rem 0 0 .5rem;padding-left:clamp(8px,2vw,16px);border-left:2px solid var(--brass);}
:is(#system-order,#service-panel) .system-addons h4 {font-size:.96rem;color:var(--slate);margin:0 0 .25rem;}
:is(#system-order,#service-panel) .system-addons .fine {margin:0 0 .6rem;}
:is(#system-order,#service-panel) #system-dependency-status:not(:empty) {font-weight:700;}

.checkout-categories {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin-top:1.15rem;}
.checkout-categories a:any-link {display:grid;place-items:center;min-height:46px;padding:.65rem .45rem;border:1px solid #899695;border-radius:7px;background:#ffffff0d;color:#f4f6f7;text-align:center;text-decoration:none;font-weight:700;line-height:1.2;}
.checkout-categories a:hover {background:#ffffff20;}
.checkout-categories a[aria-current]:any-link {background:#38b6ff;color:#0e2b3d;border-color:#38b6ff;}
.checkout-categories a:focus-visible {outline:2px solid white;outline-offset:2px;}
#service-panel .choice-group {margin:1.25rem 0 .6rem;color:var(--slate);font-size:1.05rem;}
#service-panel .collection-link,.systems-pricing-note {margin:.1rem 0 1rem;color:#3e5667;max-width:68ch;}
#service-panel .selection-lines .purchase-thumb {width:36px;height:36px;}
#service-panel .pick .rate {font-weight:700;}
#service-panel .pick .rate small {font-weight:400;}
@media (max-width:600px){.checkout-categories {grid-template-columns:repeat(2,minmax(0,1fr));}}

.purchase.checkout-catalog :is(.checkout-categories a, a.cart-view) {text-decoration:none;}

.field-offers {margin:1.25rem 0;padding:clamp(.9rem,3vw,1.35rem);border:1px solid #b4dff7;border-radius:12px;background:#dff2fe;}
.field-offers h2 {margin:0 0 .85rem;font-size:1.22rem;}
.field-offer-list {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:.65rem;}
.field-offer-list article {display:grid;grid-template-columns:44px minmax(0,1fr);gap:.35rem .7rem;align-content:start;padding:.8rem;border:1px solid #cedee8;border-radius:8px;background:#f4f6f7;}
.field-offer-list img {grid-row:1 / span 3;}
.field-offer-list h3,.field-offer-list p {grid-column:2;margin:0;}
.field-offer-list h3 {font-size:1rem;}
.field-offer-list p {font-size:.9rem;}
.field-offer-list .cart-secondary {grid-column:2;justify-self:start;margin-top:.3rem;}
.field-offer-price del {color:#3e5667;margin-right:.2rem;}
@media (prefers-reduced-motion:no-preference) {
  .field-offers {animation:field-offer-enter 280ms ease-out both;}
  @keyframes field-offer-enter {from {opacity:0;transform:translateY(5px);} to {opacity:1;transform:translateY(0);}}
}

.review-products {list-style:none;padding:0;display:grid;gap:.5rem}
.review-products li {display:flex;align-items:center;gap:.8rem;padding:.6rem;border-bottom:1px solid var(--edge);font-weight:700}
.review-products .purchase-thumb {width:48px;height:48px;object-fit:contain}
.kit-contents {grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.kit-contents figure {margin:0}
.kit-contents figure>img {width:100%;height:auto;display:block;border-radius:5px}
.kit-contents figcaption {font-size:.84rem;line-height:1.3;margin-top:.4rem}
.kit-contents figcaption img {width:30px;height:30px;vertical-align:middle;object-fit:contain;margin-right:.25rem}
.inline-policy {max-height:30vh;overflow-y:auto;padding:.75rem;border:1px solid var(--edge);font-size:.9rem}.inline-policy h4 {margin:.85rem 0 .25rem}
#exit-offer[open] {max-height:90dvh;overflow:auto}
body:has(#exit-offer[open]) .timed-offer-banner {visibility:hidden}

#system-order .suite-choice[aria-pressed="false"] {
  background:var(--surface,#f4f6f7);
  border:1px solid var(--edge,#aeb3a6);
}
@media (prefers-reduced-motion:no-preference) {
  #system-order .suite-choice.suite-nudge[aria-pressed="false"] {animation:suite-nudge .46s ease-in-out;}
  @keyframes suite-nudge {
    0%,100% {transform:translateX(0);}
    25% {transform:translateX(-3px);}
    50% {transform:translateX(3px);}
    75% {transform:translateX(-2px);}
  }
}

#selection {margin-block:2rem 1.25rem;scroll-margin-top:7rem;}
#selection #selection-title {margin-top:0;}
.checkout-sidebar {min-width:0;display:grid;align-content:start;gap:1rem;}
.checkout-sidebar .receipt {position:static;margin:0;}
#selection-sidebar {display:grid;min-width:0;gap:1rem;}
#selection-sidebar .receipt {padding:clamp(.9rem,2vw,1.4rem);}
#selection .cart-item-list li {
  grid-template-columns:2.3rem minmax(0,1fr) auto;
  gap:0 .55rem;
  padding:.45rem 0;
  align-items:start;
}
#selection .cart-item-list h3 {font-size:.96rem;margin:0;overflow-wrap:anywhere;}
#selection .cart-thumbnails {width:2.3rem;grid-row:1;}
#selection .cart-thumbnails .purchase-thumb {max-width:100%;max-height:2.3rem;}
#selection .cart-plan-detail {margin:.2rem 0 0;font-size:.82rem;line-height:1.35;}
#selection .cart-item-price {display:grid;justify-items:end;text-align:right;white-space:nowrap;}
#selection .cart-remove {display:grid;place-items:center;min-width:28px;min-height:28px;padding:0;font-size:1.15rem;line-height:1;text-decoration:none;border-radius:4px;}
#selection .cart-remove:hover {background:var(--edge);}
#selection .cart-item-actions .action {margin:0;padding:.5rem .75rem;}
#selection #cart-checkout-help {font-size:.85rem;}
.checkout-addons h2 {margin:0;font-size:1.25rem;}
.checkout-addons .field-offers {margin:.65rem 0 0;padding:.6rem;background:transparent;border:0;}
.checkout-addons .field-offer-list {grid-template-columns:minmax(0,1fr);}
.checkout-addon-row {display:grid;grid-template-columns:2rem minmax(0,1fr) auto;gap:.2rem .55rem;align-items:center;padding:.65rem 0;border-bottom:1px solid var(--edge);}
.checkout-addon-row img {width:2rem;height:2rem;grid-row:1 / span 2;}
.checkout-addon-row small {grid-column:2;}
.checkout-addon-row button {grid-column:3;grid-row:1 / span 2;white-space:nowrap;}
#checkout-addons[hidden],#service-cart-status:empty {display:none;}


.checkout-addons .checkout-addon-row > img.purchase-thumb {
  width:100%;
  max-width:2rem;
  height:2rem;
  max-height:2rem;
  object-fit:contain;
  align-self:start;
}
.checkout-addon-row > :is(strong,small) {min-width:0;overflow-wrap:anywhere;}
#cart-payment-action[hidden] {display:none;}
#cart-payment-action .action {margin:0;}
@media (max-width:460px) {
  .checkout-addon-row {grid-template-columns:2rem minmax(0,1fr);}
  .checkout-addon-row button {grid-column:2;grid-row:auto;justify-self:start;}
}

#service-panel .pick:has(input:disabled) {opacity:.58;cursor:not-allowed;}
#software-billing-controls {margin-top:1rem;}
#selection #billing-options {margin:1rem 0 .8rem;padding:0;border:0;min-width:0;}
#selection #billing-options legend {font-size:1.05rem;margin-bottom:.5rem;}
#selection #billing-options .periods {gap:.5rem;}
#selection #billing-options .periods label {padding:.6rem;min-width:0;}
#selection #billing-options .periods strong {font-size:clamp(1rem,2vw,1.45rem);overflow-wrap:anywhere;}
#selection #software-order-art[hidden] {display:none;}

.cart-trade-select {display:grid;gap:.35rem;width:100%;font-weight:700;}
.cart-trade-select select {max-width:100%;padding:.55rem;border:1px solid var(--edge);border-radius:5px;background:#fff;font:inherit;}
#cart-payment-action .action[aria-disabled=true] {opacity:.55;cursor:not-allowed;}

/* Included kit descriptions need the width of the order summary. */
#selection .cart-item-price:has(del) {
  grid-column:2/-1;justify-items:start;text-align:left;white-space:normal;
  color:var(--link-blue);font-size:.9rem;margin-top:.2rem;
}
#selection .cart-item-price del {color:var(--charcoal);font-weight:400}

#category-custom .discovery-intro {margin:.6rem 0 1rem}
#category-custom .discovery-intro h3 {font-size:1.24rem;margin:0}
#category-custom .discovery-intro p {margin:.4rem 0}
#category-custom .discovery-intro a, #category-custom .planning-note a, #category-custom .resource-box a:not(.action) {color:var(--link-blue);font-weight:700;text-underline-offset:3px}
#category-custom .planning-note {font-size:.93rem;line-height:1.5;margin:.7rem 0 1.7rem}
#category-custom .resource-box {background:var(--mist);border-color:var(--line)}
#category-custom .resource-box :is(h3,p) {margin:0}
#category-custom .resource-box select {max-width:100%}
#category-custom .discovery-choice {border-left:4px solid var(--blue)}
