/* Remaining local pages share the homepage's navy, grey and white system.
   Forms, diagrams, tables and provider branding retain their native behavior. */
body.rugged-inner-page { background:#f5f5f5 !important; }
body.rugged-storefront .site-header:not(:has(.header-orders,.header-cart)) { grid-template-columns:44px 180px 132px !important; grid-template-areas:"menu brand fit" !important; justify-content:start; }
body.rugged-inner-page main { width:calc(100% - 2 * var(--rugged-gutter)); max-width:var(--rugged-content); margin:0 auto; padding:32px 0 64px; min-height:65dvh; }
body.rugged-storefront .customer-surface {
  --account-muted:#687780; --account-border:#dce2e6; --account-accent:#153044;
  --account-accent-hover:#25485d; --account-selected:#edf2f5; --account-ring:#315b7630;
  --red:#153044; --red-hover:#25485d;
}
body.rugged-storefront :is(.button,.customer-surface .button,.finder-next-row>button,.finder-next-action) { min-height:46px; border:1px solid #10212c; border-radius:8px; color:#fff; background:#10212c; box-shadow:none; text-shadow:none; }
body.rugged-storefront :is(.button,.customer-surface .button,.finder-next-row>button,.finder-next-action):hover:not(:disabled) { color:#fff; background:#25485d; border-color:#25485d; }
body.rugged-storefront :is(.button.secondary,.button-secondary,.customer-surface .button-secondary) { color:#153044; background:#fff; border-color:#cbd5db; }
body.rugged-storefront :is(.button.secondary,.button-secondary,.customer-surface .button-secondary):hover { color:#153044; background:#edf2f5; border-color:#899ca8; }
body.rugged-storefront :is(.button,.product-add):disabled { background:#e4e8eb; color:#7b858d; border-color:#d6dce0; cursor:not-allowed; }
body.rugged-inner-page :is(input:not([type=checkbox],[type=radio],[type=range],[type=file],[type=color]),select,textarea),
body.rugged-storefront .customer-surface :is(input:not([type=checkbox],[type=radio]),select,textarea) { color:#10212c; background-color:#fff; border-color:#cbd5db; border-radius:8px; box-shadow:none; }
body.rugged-storefront :is(input[type=radio],input[type=checkbox]) { accent-color:#153044; }
body.rugged-storefront :is(.text-button,.specification-link) { color:#435b6b; }
body.rugged-inner-page :is(.empty-state,.load-error) { padding:40px 28px; border:1px solid #dce2e6; border-radius:18px; background:#fff; }
body.rugged-inner-page :is(.page-heading h1,.knowledge-intro h1,.finder-heading h1,.saved-inlay h1) { min-width:0; overflow-wrap:anywhere; color:#10212c; font-size:44px; line-height:1.15; font-weight:650; letter-spacing:-1.5px; }
body.rugged-inner-page .breadcrumbs { margin-bottom:24px; color:#687780; font-size:12px; flex-wrap:wrap; }
body.rugged-inner-page .breadcrumbs a { color:#435b6b; }
body.rugged-inner-page :is(.panel,.order-card,.account-panel,.planning-panel,.commerce-panel) { border-color:#dce2e6; border-radius:18px; background:#fff; box-shadow:none; }
body.rugged-inner-page :is(.notice,.profile-prefill) { border-radius:8px; }

/* Equipment finder: preserve the tool's structure and technical visualization. */
body.rugged-inner-page .dimension-finder { max-width:none; margin:0; }
body.rugged-inner-page .finder-heading { margin-bottom:28px; }
body.rugged-inner-page .finder-heading h1 { margin:0; padding:0; border:0; }
body.rugged-inner-page .finder-heading h1::before { content:none; }
body.rugged-inner-page .finder-heading > p { margin:16px 0 0; max-width:760px; color:#687780; font-size:15px; line-height:1.7; }
body.rugged-inner-page .finder-workflow { overflow:hidden; margin:0 0 24px; border:1px solid #dce2e6; border-radius:16px; background:#fff; box-shadow:none; }
body.rugged-inner-page .finder-workflow button { background:#fff; border-color:#e0e5e8; color:#10212c; }
body.rugged-inner-page .finder-workflow button > span { color:#435b6b; }
body.rugged-inner-page .finder-workflow button[aria-current] { background:#edf2f5; box-shadow:inset 0 -2px #478b17; }
body.rugged-inner-page .finder-workflow button:disabled { color:#7b858d; background:#f5f6f6; }
body.rugged-inner-page .finder-reading { margin-bottom:24px; color:#435b6b; }
body.rugged-inner-page :is(.finder-panel,.finder-filters,.finder-layout,.finder-unresolved) { border:1px solid #dce2e6; border-radius:18px; background:#fff; box-shadow:none; }
body.rugged-inner-page .finder-panel { padding:28px; }
body.rugged-inner-page :is(.finder-panel-heading h2,.finder-filter-heading h2,.finder-results h2) { color:#10212c; font-size:25px; font-weight:650; letter-spacing:-.6px; }
body.rugged-inner-page .finder-panel-heading { border-color:#e0e5e8; }
body.rugged-inner-page .finder-panel-heading h2 { max-width:none; }
body.rugged-inner-page .finder-item { border-color:#dce2e6; border-radius:12px; background:#f8f9f9; box-shadow:none; }
body.rugged-inner-page .finder-item-number { color:#435b6b; background:#edf2f5; border-color:#dce2e6; }
body.rugged-inner-page .finder-model { border-color:#dce2e6; border-radius:10px; background:#fff; }
body.rugged-inner-page :is(.finder-model-preview,.finder-dimension) { background:#fff; border-color:#dce2e6; box-shadow:none; }
body.rugged-inner-page .finder-dimension { border-radius:10px; }
body.rugged-inner-page :is(.finder-extra,.finder-grip-settings) { border-color:#dce2e6; border-radius:10px; background:#fff; }
body.rugged-inner-page .finder-filters { padding:24px; }
body.rugged-inner-page .finder-filters .collection-nav { margin-bottom:0; }
body.rugged-inner-page .finder-filters .collection-nav a[aria-current] { background:#10212c; color:#fff; border-color:#10212c; }
body.rugged-inner-page .finder-series :is(button,a) { border-radius:7px; box-shadow:none; }
body.rugged-inner-page .finder-add-row > button,body.rugged-inner-page .finder-action > a { border:1px solid #cbd5db; border-radius:8px; background:#fff; color:#153044; box-shadow:none; }
body.rugged-inner-page .finder-series .collection-series-nav { padding:0; gap:6px; border:0; border-radius:0; background:none; box-shadow:none; }
body.rugged-inner-page .finder-series .collection-series-nav a { border:1px solid transparent; border-radius:7px; background:none; color:#435b6b; box-shadow:none; }
body.rugged-inner-page .finder-series .collection-series-nav a[aria-current] { border-color:#b9c6cd; background:#fff; color:#10212c; box-shadow:inset 0 -2px #478b17; }
body.rugged-inner-page .finder-table-wrap { border-color:#dce2e6; border-radius:16px; background:#fff; }
body.rugged-inner-page .finder-table th { background:#edf1f3; color:#435b6b; border-color:#dce2e6; }
body.rugged-inner-page .finder-table thead { background:#edf1f3; }
body.rugged-inner-page .finder-table td { border-color:#e4e9ec; }
body.rugged-inner-page .finder-table tbody tr:hover { background:#f2f5f6; }
body.rugged-inner-page .finder-layout { padding:24px; }
body.rugged-inner-page :is(.inlay-panel,.case-cad-panel,.equipment-panel) { border-color:#dce2e6; border-radius:12px; box-shadow:none; }

/* Account and order states, including tabs rendered after sign-in. */
body.rugged-inner-page .account-page { max-width:none; margin:0; }
body.rugged-inner-page .account-cover { border-color:#dce2e6; border-radius:18px; box-shadow:none; }
body.rugged-inner-page .account-cover-top { min-height:120px; padding:28px 32px; background:#fff; color:#10212c; border-bottom:1px solid #e0e5e8; }
body.rugged-inner-page .account-cover-top::before { content:none; }
body.rugged-inner-page .account-cover-top p { color:#687780; }
body.rugged-inner-page .account-identity { background:#fff; }
body.rugged-inner-page .account-avatar { color:#153044; background:#edf2f5; border:1px solid #dce2e6; box-shadow:none; }
body.rugged-inner-page .account-page .account-nav { border-color:#dce2e6; border-radius:14px; }
body.rugged-inner-page .account-page .account-nav a[aria-current] { color:#10212c; background:#edf2f5; box-shadow:inset 3px 0 #478b17; }
body.rugged-inner-page :is(.account-help,.account-access) { background:#fff; border-color:#dce2e6; border-radius:14px; }
body.rugged-inner-page .account-panel-heading { padding:24px 28px; border-color:#e0e5e8; }
body.rugged-inner-page .account-panel-heading h2 { color:#10212c; font-size:23px; font-weight:650; }
body.rugged-storefront .email-login input[type=checkbox] { display:inline-block; width:18px; height:18px; min-height:18px; padding:0; margin:0; flex:none; vertical-align:middle; }
body.rugged-storefront .email-login label:has(input[type=checkbox]) { display:flex; align-items:center; gap:10px; min-height:44px; font-size:13px; }
body.rugged-inner-page .account-empty-icon { border-radius:16px; background:#edf2f5; color:#153044; }
body.rugged-storefront .customer-surface .order-form .buyer-option { border-color:#dce2e6; background:#fff; border-radius:10px; box-shadow:none; }
body.rugged-storefront .customer-surface .order-form .buyer-option:has(input:checked) { border-color:#153044; background:#edf2f5; box-shadow:inset 0 0 0 1px #153044; }
body.rugged-storefront .customer-surface .order-form .buyer-option input:checked { border-color:#153044; background:#153044; }
body.rugged-inner-page .order-card { padding:24px; }
body.rugged-inner-page .order-list { gap:16px; }
body.rugged-inner-page :is(.order-status,.planning-status,.commerce-status) { border-radius:6px; }

/* Reading pages: neutral white cards and a constrained reading measure. */
body.rugged-inner-page :is(.knowledge-home,.knowledge-article,.solution-page) { max-width:none; margin:0; }
body.rugged-inner-page .knowledge-intro { align-items:start; gap:32px; padding:0 0 32px; border-color:#dce2e6; }
body.rugged-inner-page .knowledge-intro h1 { max-width:800px; }
body.rugged-inner-page :is(.knowledge-kicker,.knowledge-meta,.article-byline,.legal-version) { color:#687780; }
body.rugged-inner-page :is(.knowledge-intro-lead,.knowledge-intro-note,.article-deck) { color:#687780; font-size:15px; line-height:1.7; }
body.rugged-inner-page .knowledge-grid { gap:20px; }
body.rugged-inner-page .knowledge-card { background:#fff; border:1px solid #dce2e6; border-radius:18px; overflow:hidden; box-shadow:none; }
body.rugged-inner-page .knowledge-card-image { background:#fff; border:0; }
body.rugged-inner-page .knowledge-card-copy { padding:24px; }
body.rugged-inner-page .knowledge-card h2 { color:#10212c; font-weight:650; }
body.rugged-inner-page :is(.knowledge-read,.article-side-link) { color:#153044; }
body.rugged-inner-page :is(.knowledge-cta,.article-next-step,.article-keypoints,.article-toc,.legal-toc) { background:#fff; border:1px solid #dce2e6; border-radius:16px; box-shadow:none; }
body.rugged-inner-page .article-hero { gap:32px; border-color:#dce2e6; }
body.rugged-inner-page .article-hero h1 { color:#10212c; font-size:40px; line-height:1.18; letter-spacing:-1.2px; }
body.rugged-inner-page .article-cover img { border-radius:16px; border-color:#dce2e6; }
body.rugged-inner-page .article-sidebar { top:104px; }
body.rugged-inner-page .article-toc { padding:20px; }
body.rugged-inner-page .article-prose { color:#435b6b; }
body.rugged-inner-page .article-prose :is(h2,h3,strong) { color:#10212c; }
body.rugged-inner-page .article-prose a { color:#315b76; }
body.rugged-inner-page .article-prose :is(table,blockquote) { background:#fff; border-color:#dce2e6; border-radius:10px; }
body.rugged-inner-page :is(.article-prose h2,.article-prose h3,.legal-toc) { scroll-margin-top:108px; }
body.rugged-inner-page main[data-document] .article-prose { max-width:860px; margin:28px auto 0; padding:32px; border:1px solid #dce2e6; border-radius:18px; background:#fff; }
body.rugged-inner-page .legal-toc { max-width:860px; margin:24px auto; padding:24px 28px; }
body.rugged-inner-page .solution-hero { border-color:#dce2e6; }
body.rugged-inner-page .solution-hero h1 { color:#10212c; font-size:44px; line-height:1.15; font-weight:650; letter-spacing:-1.5px; }
body.rugged-inner-page :is(.solution-card,.solution-callout,.comparison-card,.comparison-table-wrap) { background:#fff; border-color:#dce2e6; border-radius:16px; box-shadow:none; }

/* Saved projects and operational views share surfaces without altering 3D. */
body.rugged-inner-page .saved-stage { background:#fff; border-color:#dce2e6; border-radius:16px; }
body.rugged-inner-page .saved-reference { color:#687780; }
body.rugged-inner-page :is(.admin-panel,.shipping-panel,.commerce-admin .order-card,.planning-section) { border:1px solid #dce2e6; border-radius:16px; background:#fff; box-shadow:none; }
body.rugged-inner-page :is(.admin-nav,.admin-tabs,.planning-tabs) { border-color:#dce2e6; background:#fff; border-radius:10px; }

/* Cart, checkout and consent are shared overlays on every page. */
body.rugged-storefront .cart-dialog { border:1px solid #dce2e6; border-radius:18px; color:#10212c; background:#f5f5f5; box-shadow:0 20px 80px #07151f40; }
body.rugged-storefront .cart-dialog::backdrop { background:#07151f9e; }
body.rugged-storefront .cart-dialog .cart-head { background:#fff; border-color:#dce2e6; }
body.rugged-storefront .cart-dialog .cart-head h2 { color:#10212c; }
body.rugged-storefront .cart-dialog :is(.cart-close,.cart-item-controls > button:not(.cart-remove)) { border-color:#cbd5db; border-radius:8px; color:#153044; background:#fff; box-shadow:none; }
body.rugged-storefront .cart-dialog :is(.cart-list,.cart-total,#checkout-form) { border:1px solid #dce2e6; border-radius:14px; background:#fff; box-shadow:none; }
body.rugged-storefront .cart-dialog .cart-item-photo { border:0; border-radius:8px; background:#fff; }
body.rugged-storefront .cart-dialog .cart-total strong { color:#10212c; }
body.rugged-storefront .cart-dialog :is(.cart-total span,.cart-total small,.checkout-heading p) { color:#687780; }
body.rugged-storefront .cart-dialog .checkout-heading a { color:#153044; }
body.rugged-storefront .cart-dialog :is(.cart-empty,.checkout-success) { color:#10212c; background:#fff; border-radius:14px; }
body.rugged-storefront :is(.privacy-banner,.privacy-dialog) { color:#10212c; border-color:#cbd5db; border-radius:16px; background:#fff; }
body.rugged-storefront .privacy-actions button { color:#153044; border-color:#cbd5db; border-radius:8px; background:#fff; }

@media (max-width:760px) {
  body.rugged-storefront .site-header:not(:has(.header-orders,.header-cart)) { grid-template-columns:40px minmax(0,1fr) 96px !important; }
  body.rugged-inner-page main { padding:22px 0 44px; }
  body.rugged-inner-page :is(.page-heading h1,.knowledge-intro h1,.finder-heading h1,.saved-inlay h1,.solution-hero h1) { font-size:32px; letter-spacing:-1px; }
  body.rugged-inner-page :is(.finder-heading > p,.knowledge-intro-lead,.knowledge-intro-note,.article-deck) { font-size:14px; }
  body.rugged-inner-page .finder-panel { padding:20px 16px; border-radius:16px; }
  body.rugged-inner-page :is(.finder-filters,.finder-layout) { padding:20px 16px; border-radius:16px; }
  body.rugged-inner-page :is(.finder-panel-heading h2,.finder-results h2) { font-size:23px; }
  body.rugged-inner-page .finder-panel-heading { flex-wrap:wrap; gap:8px; }
  body.rugged-inner-page .finder-panel-heading h2 { flex-basis:100%; }
  body.rugged-inner-page .finder-filters .collection-nav { gap:8px; }
  body.rugged-inner-page .finder-filters .collection-nav a { padding:10px 8px; font-size:12px; }
  body.rugged-inner-page :is(input:not([type=checkbox],[type=radio],[type=range],[type=file],[type=color]),select,textarea),
  body.rugged-storefront .customer-surface :is(input:not([type=checkbox],[type=radio]),select,textarea) { font-size:16px; }
  body.rugged-inner-page .account-cover-top { min-height:110px; padding:22px 20px; }
  body.rugged-inner-page .account-cover-top > img { width:32px; height:40px; }
  body.rugged-inner-page .account-panel-heading { padding:22px 20px; }
  body.rugged-inner-page .account-panel-heading h2 { font-size:22px; }
  body.rugged-inner-page .knowledge-intro { padding-bottom:24px; gap:18px; }
  body.rugged-inner-page .knowledge-grid { gap:16px; }
  body.rugged-inner-page .knowledge-card { border-radius:16px; }
  body.rugged-inner-page .knowledge-card-copy { padding:20px; }
  body.rugged-inner-page .article-hero h1 { font-size:32px; letter-spacing:-1px; }
  body.rugged-inner-page .article-sidebar { position:static; }
  body.rugged-inner-page main[data-document] .article-prose { padding:22px 18px; border-radius:16px; }
  body.rugged-inner-page .legal-toc { padding:20px; }
  body.rugged-inner-page .article-prose :is(h2,h3) { overflow-wrap:anywhere; scroll-margin-top:86px; }
  body.rugged-storefront .cart-dialog { border-radius:16px; }
}
@media (forced-colors:active) {
  body.rugged-storefront :is(.button,.customer-surface .button,.cart-close,.privacy-actions button) { color:ButtonText; border-color:ButtonText; background:ButtonFace; }
  body.rugged-storefront :is(.account-cover-top,.account-avatar,.finder-panel,.finder-filters,.knowledge-card,.article-toc,.legal-toc,.cart-dialog) { color:CanvasText; border-color:CanvasText; background:Canvas; box-shadow:none; }
  body.rugged-storefront :is(.buyer-option:has(input:checked),.account-nav a[aria-current]) { outline:2px solid Highlight; }
}

/* Supply documents share the current account palette and form geometry. */
body.rugged-inner-page .account-contracts { border-color:#dce2e6;border-radius:18px; }
body.rugged-inner-page .account-contract-preferences { background:#edf2f5;border-color:#dce2e6; }
body.rugged-inner-page .account-contract-editor { border-color:#dce2e6;border-radius:12px; }
body.rugged-inner-page .account-contracts .order-form > fieldset { border-radius:10px; }
body.rugged-inner-page .account-contracts .order-form > fieldset > legend { float:none;width:auto;padding:0 6px;margin:0; }
body.rugged-inner-page .account-contracts .account-text-action { color:#153044; }
