:root{--ink:#142e44;--navy:#102536;--orange:#f19a4b;--paper:#f4f5f1}*{box-sizing:border-box}body{margin:0;font:16px/1.6 system-ui,Arial,sans-serif;color:var(--ink);background:var(--paper)}a{color:#145b85;text-underline-offset:3px}.wrap{width:min(1120px,calc(100% - 40px));margin:auto}header{background:var(--navy);color:white}.masthead{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font-size:20px;letter-spacing:2px;font-weight:750;text-decoration:none;color:white}nav{display:flex;align-items:center;gap:20px;flex-wrap:wrap}nav a{color:white}nav form{margin:0}main{padding:38px 0 20px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:#875021}.panel{background:white;border:1px solid #d8e0e5;border-radius:8px;padding:30px;margin:24px 0}.narrow{max-width:680px;margin:24px auto}h1{font-size:clamp(30px,4vw,46px);line-height:1.15;margin:0 0 18px;letter-spacing:-1px}h2{font-size:24px;line-height:1.3}h3{font-size:18px}p{margin:12px 0}.lead{font-size:19px}.grid,.fields{display:grid;grid-template-columns:1fr 1fr;gap:24px}.grid .panel{margin-top:0}.fields>div{min-width:0}label{display:block;font-weight:650;margin:16px 0 6px}input:not([type=checkbox]){width:100%;padding:12px;border:1px solid #8498a6;border-radius:4px;font:inherit;color:inherit;background:white}button,.button{display:inline-block;background:var(--orange);color:var(--navy);padding:13px 20px;border:0;border-radius:4px;font:inherit;font-weight:700;cursor:pointer;text-decoration:none}form>button{margin-top:22px}.link{padding:0;background:none;color:white;font-weight:400;text-decoration:underline}.check{display:flex;align-items:flex-start;gap:12px;font-weight:400}.check input{margin-top:7px;flex:0 0 auto}.notice{padding:15px;background:#fff3df;border-left:4px solid #d17b24}.error{padding:15px;background:#fff0ee;border-left:4px solid #a73220}.muted{font-size:14px;color:#526472}article{border-top:1px solid #dce3e7;padding:10px 0}dt{font-weight:700;margin-top:14px}dd{margin-left:0}.policy-text{white-space:pre-wrap;overflow-wrap:anywhere}footer{padding:25px 0 40px;font-size:13px;color:#526472}:focus-visible{outline:3px solid #26749b;outline-offset:4px}.skip{position:absolute;top:-100px;left:10px;padding:10px;background:white}.skip:focus{top:10px}@media(max-width:680px){.masthead{align-items:flex-start;flex-direction:column;padding:20px 0}.grid,.fields{grid-template-columns:1fr;gap:0}.panel{padding:22px}.wrap{width:calc(100% - 28px)}nav{gap:16px}}
:root{--line:#d8e0e5}select{width:100%;padding:12px;border:1px solid #8498a6;border-radius:4px;font:inherit;color:inherit;background:white}.catalog-card{display:flex;flex-direction:column}.catalog-card form{margin-top:auto}.benefits{padding-left:22px}.cart-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:24px;align-items:start}.cart-summary{position:sticky;top:20px}.cart-actions{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.cart-actions input{max-width:110px}.cart-actions button{margin-top:0}.secondary{background:#e6edf1;color:var(--ink)}@media(max-width:760px){.cart-layout{grid-template-columns:1fr}.cart-summary{position:static}.masthead nav{gap:12px}}
:where(.catalog-card,.cart-item,.cart-summary){min-width:0;overflow-wrap:anywhere}
textarea{width:100%;padding:12px;border:1px solid #8498a6;border-radius:4px;font:inherit;color:inherit;background:white;resize:vertical}fieldset{min-width:0}legend{font-weight:700;padding:0 8px}fieldset:disabled{opacity:.85}nav{font-size:14px}
.package-overview{border-width:2px;min-width:0;overflow-wrap:anywhere}.package-overview.package-active{border-color:#39834c;background:#edf8ee}.package-overview.package-inactive{border-color:#535b62;background:#fff}.package-overview h2{margin-top:0}.package-badges{display:flex;flex-wrap:wrap;gap:10px 20px;font-weight:700}.package-state{color:#41494f}.package-active .package-state{color:#216637}.price-unset{color:#b42318;font-weight:700}.price-draft{color:#a64b00;font-weight:700}.price-final{color:#216637;font-weight:700}.package-price-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0;padding:16px 0;border-top:1px solid #cdd6ce;border-bottom:1px solid #cdd6ce}.package-price-grid dt{margin:0 0 7px;font-size:14px}.package-price-grid dd{font-size:20px;line-height:1.4}.price-period{display:block;font-size:13px;font-weight:400}@media(max-width:420px){.package-price-grid{grid-template-columns:1fr}}

/* Checkout layout */
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start;margin:26px 0}.checkout-main{grid-column:1;grid-row:1;min-width:0}.checkout-main>.panel{margin:0 0 24px}.checkout-summary{grid-column:2;grid-row:1;margin:0;position:sticky;top:24px;min-width:0;overflow-wrap:anywhere}.checkout-layout h2{margin-top:0}
.billing-saved{padding:16px 20px;background:#f4f7f8;border-radius:6px;margin:18px 0}.billing-saved p{margin:6px 0}.billing-editor summary{cursor:pointer;color:#145b85;font-weight:650;padding:10px 0}.billing-editor[open] summary{border-bottom:1px solid var(--line);margin-bottom:8px}.billing-editor button{margin-top:22px}.billing-editor h3{border-top:1px solid var(--line);padding-top:22px;margin-top:26px}
.address-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.address-field{min-width:0}.address-recipient_name,.address-address_line_1,.address-address_line_2{grid-column:1/-1}.billing-match{width:18px;height:18px;vertical-align:middle;accent-color:#145b85}.billing-match-label{display:inline;font-weight:400;margin-left:8px}.billing-match:checked~.separate-billing{display:none}.separate-billing{margin-top:12px}
.checkout-payment button{width:100%}.checkout-payment .check{font-size:14px}.checkout-summary article h3{margin-bottom:6px}.checkout-summary article p{margin:6px 0}.checkout-summary .muted{font-size:13px}
@media(max-width:900px){.checkout-layout{grid-template-columns:1fr;gap:20px}.checkout-summary{grid-column:1;grid-row:1;position:static}.checkout-main{grid-column:1;grid-row:2}}
@media(max-width:480px){.address-fields{grid-template-columns:1fr}.address-field{grid-column:1}.checkout-layout{margin-top:20px}}

.purchase-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin:28px 0 20px;flex-wrap:wrap}.purchase-tabs a{padding:12px 20px;text-decoration:none;border-bottom:3px solid transparent;font-weight:650}.purchase-tabs a[aria-current]{border-color:var(--orange);color:var(--ink);background:white}.ledger-scroll{overflow-x:auto}.payment-ledger,.subscription-list{border-collapse:collapse;width:100%;text-align:left;font-size:14px}.payment-ledger th,.payment-ledger td,.subscription-list th,.subscription-list td{padding:16px 12px;border-bottom:1px solid var(--line);vertical-align:middle}.payment-ledger th,.subscription-list th{background:#f4f7f8}.money-column{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.subscription-name{padding:0;background:none;color:#145b85;text-align:left;text-decoration:underline;text-underline-offset:3px}.payment-status{color:#216637}.subscription-popup{width:min(620px,calc(100% - 32px));max-height:85vh;overflow:auto;border:1px solid var(--line);border-radius:10px;padding:28px;color:var(--ink);box-shadow:0 20px 80px #10253655}.subscription-popup::backdrop{background:#10253680}.popup-close{float:right;padding:8px 14px}.subscription-popup h2{padding-right:70px;margin-top:0}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* In-place dashboard tabs: native radio controls avoid reload and fragment jumps. */
html{scrollbar-gutter:stable}.purchase-tab-control{position:absolute;opacity:0;inline-size:1px!important;block-size:1px;padding:0!important;border:0!important;overflow:hidden}.purchase-tabs label{display:block;margin:0;padding:12px 20px;border-bottom:3px solid transparent;cursor:pointer;font-weight:650;color:#145b85}.purchase-tabs{align-items:stretch;gap:4px}#purchase-history-tab:checked~.purchase-tabs label[for="purchase-history-tab"],#manage-subscriptions-tab:checked~.purchase-tabs label[for="manage-subscriptions-tab"]{border-color:var(--orange);color:var(--ink);background:white}#purchase-history-tab:focus-visible~.purchase-tabs label[for="purchase-history-tab"],#manage-subscriptions-tab:focus-visible~.purchase-tabs label[for="manage-subscriptions-tab"]{outline:3px solid #26749b;outline-offset:2px}
#purchases .purchase-tab-panel{display:none;min-height:310px}#purchase-history-tab:checked~#purchase-history-panel,#manage-subscriptions-tab:checked~#manage-subscriptions-panel{display:block}.history-pagination,.subscription-pagination{display:none}#purchase-history-tab:checked~.history-pagination,#manage-subscriptions-tab:checked~.subscription-pagination{display:block}
#purchases table{table-layout:fixed;min-width:700px}.purchase-date-col{width:25%}.purchase-service-col{width:27%}.purchase-period-col{width:14%}.purchase-status-col{width:16%}.purchase-payment-col{width:18%}.purchase-table-help{min-height:46px;margin:12px 0}#purchases td{overflow-wrap:anywhere}#purchases .subscription-name{font-size:inherit;line-height:inherit}#purchases .subscription-list td strong{font-weight:400}
@media(max-width:680px){#purchases .purchase-tab-panel{min-height:340px}.purchase-table-help{min-height:88px}.purchase-tabs label{padding:12px 14px}}

/* Approved company logo on its original white background. */
.masthead .brand{display:flex;align-items:center;flex:0 0 auto;background:#fff;border-radius:4px;padding:7px 10px;margin:12px 0}.masthead .brand img{display:block;width:160px;height:auto;max-width:100%}.masthead{min-height:108px}@media(max-width:680px){.masthead .brand{margin:0}.masthead .brand img{width:140px}}

/* Invoice links have a dedicated, matching column in both customer tables. */
#purchases table{min-width:860px}.purchase-date-col{width:20%}.purchase-service-col{width:20%}.purchase-invoice-col{width:25%}.purchase-period-col{width:11%}.purchase-status-col{width:12%}.purchase-payment-col{width:12%}
