/*
 * Collective Waste Solutions customer portal theme
 * Presentation only: legacy markup, IDs, scripts, validation, authentication,
 * and service behavior remain unchanged.
 */

@import url("https://fonts.googleapis.com/css?family=Barlow+Semi+Condensed:300,400,500,600,700,800,900&display=swap");

:root {
  --cws-navy: #0e1c2c;
  --cws-navy-deep: #070e16;
  --cws-teal: #005f7f;
  --cws-cyan: #25cad2;
  --cws-cyan-soft: #e9f9fa;
  --cws-orange: #ed7a23;
  --cws-orange-dark: #c14d03;
  --cws-ink: #0e1c2c;
  --cws-muted: #5f6d77;
  --cws-line: #d7e1e5;
  --cws-surface: #ffffff;
  --cws-surface-soft: #f3f7f8;
  --cws-success: #157539;
  --cws-danger: #b42318;
  --cws-shadow: 0 16px 42px rgba(14, 28, 44, 0.12);
}

html {
  min-height: 100%;
  background: var(--cws-navy);
}

html body {
  min-width: 1000px;
  min-height: 100%;
  background: var(--cws-navy);
  color: var(--cws-ink);
  font-family:
    "Barlow Semi Condensed", "Arial Narrow", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html body a {
  color: var(--cws-teal);
  font-weight: 600;
  text-decoration: none;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

html body a:hover {
  color: var(--cws-orange-dark);
  text-decoration: none;
}

html body a:focus-visible,
html body button:focus-visible,
html body input:focus-visible,
html body select:focus-visible,
html body textarea:focus-visible {
  outline: 3px solid rgba(37, 202, 210, 0.4);
  outline-offset: 2px;
}

html body p {
  margin: 7px 5px;
}

html body h1,
html body h2,
html body h3 {
  color: var(--cws-navy);
  font-family:
    "Barlow Semi Condensed", "Arial Narrow", "Segoe UI", Arial, sans-serif;
  line-height: 1.12;
}

html body h1 {
  margin: 0 5px 24px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

html body h1::after {
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--cws-cyan), var(--cws-orange));
  content: "";
}

html body h2 {
  font-size: 24px;
  font-weight: 700;
}

/* Header and account navigation */

body #header {
  min-width: 1000px;
  border-bottom: 4px solid var(--cws-cyan);
  background-color: var(--cws-surface);
  background-image: linear-gradient(
    to bottom,
    var(--cws-navy) 0,
    var(--cws-navy) 32px,
    var(--cws-surface) 32px,
    var(--cws-surface) 100%
  );
  background-repeat: no-repeat;
  box-shadow: 0 5px 18px rgba(14, 28, 44, 0.16);
}

body #header_area {
  position: relative;
  width: 979px;
  height: 106px;
}

body .banner_logo {
  float: left;
  width: 210px;
  height: 43px;
  margin: 44px 0 0;
  padding: 0;
  background-color: transparent;
  background-image: url("../_images/cws-logo.png");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
  color: transparent;
}

body #login_status {
  box-sizing: border-box;
  width: 748px;
  height: 32px;
  padding: 6px 2px 0 0;
  color: #ffffff;
  font-family:
    "Barlow Semi Condensed", "Arial Narrow", "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

body #login_status a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

body #login_status a:hover {
  color: var(--cws-cyan);
}

body .main_nav {
  height: 70px;
  padding-top: 11px;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

body .main_nav ul {
  margin: 0;
}

body .main_nav li {
  margin-left: 2px;
}

body .main_nav li > img,
body .main_nav a img {
  display: none;
}

body .main_nav a {
  display: block;
  padding: 13px 7px 11px;
  border-bottom: 3px solid transparent;
  border-radius: 5px 5px 0 0;
  color: var(--cws-navy);
  font-weight: 700;
  white-space: nowrap;
}

body .main_nav a:hover {
  border-bottom-color: var(--cws-orange);
  background: #f0f8f9;
  color: var(--cws-teal);
}

body .main_nav li.active a {
  border-bottom-color: var(--cws-cyan);
  color: var(--cws-teal);
}

body .main_nav li.active a::after {
  display: none;
  content: none;
}

/* Main content shell */

body #main_area {
  min-width: 1000px;
  min-height: 470px;
  background-color: #eaf0f2;
  background-image:
    radial-gradient(circle at 10% 0, rgba(37, 202, 210, 0.12), transparent 28%),
    radial-gradient(
      circle at 92% 18%,
      rgba(237, 122, 35, 0.09),
      transparent 22%
    ),
    linear-gradient(180deg, #eef3f5 0, #e6edef 100%);
  background-repeat: no-repeat;
}

body #work_area {
  width: 949px;
  min-height: 430px;
  padding: 34px 15px 58px;
  border: 0;
  background: var(--cws-surface);
  box-shadow: var(--cws-shadow);
}

body #nav_arrow {
  width: 979px;
  height: 5px;
  border: 0;
  background: linear-gradient(90deg, var(--cws-cyan), var(--cws-teal));
}

body #nav_arrow img {
  display: none;
}

body p.intro {
  margin-bottom: 22px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--cws-line);
  color: var(--cws-muted);
  font-size: 17px;
}

/* Shared panels and section headers */

body #getting_started,
body #customer_information,
body #bill_information,
body .full_width,
body .half_width,
body .auto_width,
body #payment_details,
body #payment_results,
body #account_aging,
body .contactsGrid {
  border-color: var(--cws-line);
  border-radius: 8px;
  background-color: var(--cws-surface);
  background-image: none;
  box-shadow: 0 8px 24px rgba(14, 28, 44, 0.08);
}

body #getting_started {
  border-left: 5px solid var(--cws-cyan);
  background: var(--cws-cyan-soft);
}

body .title_bar,
body .title_bar_blk,
body .title_bar_orange,
body .mGrid_titlebar,
body .mGrid_titlebar_service,
body #status_bar {
  box-sizing: border-box;
  min-height: 35px;
  height: auto;
  padding: 8px 12px;
  border: 0;
  border-radius: 7px 7px 0 0;
  background-image: none;
  font-size: 16px;
  line-height: 19px;
}

body .title_bar,
body .mGrid_titlebar,
body .mGrid_titlebar_service,
body #status_bar {
  background-color: var(--cws-teal);
  color: #ffffff;
}

body .title_bar_blk {
  background-color: var(--cws-navy);
  color: #ffffff;
}

body .title_bar_orange {
  background-color: var(--cws-orange);
  color: #ffffff;
}

body .mGrid_titlebar p,
body .mGrid_titlebar_service p {
  margin: 0;
  padding: 0;
}

body .mGrid_titlebar_service a,
body #status_bar .data,
body #status_bar .label {
  color: #ffffff;
}

body .highlighted_info {
  height: 35px;
  padding-right: 10px;
  border-radius: 0 7px 0 0;
  background-color: var(--cws-orange);
  background-image: none;
  color: #ffffff;
}

/* Forms */

body input.textfield,
body input.textfield_error,
body textarea,
body select,
body .tableForm .textfield,
body .contactsGrid input[type="text"] {
  box-sizing: border-box;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #b9c8ce;
  border-radius: 5px;
  background: #ffffff;
  color: var(--cws-ink);
  font-family:
    "Barlow Semi Condensed", "Arial Narrow", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  box-shadow: inset 0 1px 2px rgba(14, 28, 44, 0.05);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

body input.textfield:hover,
body textarea:hover,
body select:hover,
body .tableForm .textfield:hover {
  border-color: #8299a2;
}

body input.textfield:focus,
body input.textfield_error:focus,
body textarea:focus,
body select:focus,
body .tableForm .textfield:focus {
  border-color: var(--cws-teal);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(37, 202, 210, 0.22);
}

body input.textfield_error {
  border-color: var(--cws-danger);
  background: #fff8f7;
}

body label,
body .tableForm label,
body .tableForm .label {
  color: var(--cws-navy);
  font-weight: 700;
}

body .small {
  color: var(--cws-muted);
  font-size: 12px;
  font-weight: 400;
}

body .frm_error_lbl {
  color: var(--cws-danger);
  font-weight: 600;
}

body .default_button,
body .gridButton {
  box-sizing: border-box;
  min-height: 38px;
  height: auto;
  padding: 8px 18px;
  border: 0;
  border-radius: 5px;
  background: var(--cws-teal);
  color: #ffffff;
  font-family:
    "Barlow Semi Condensed", "Arial Narrow", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  cursor: pointer;
  box-shadow: 0 5px 12px rgba(0, 95, 127, 0.2);
  transition:
    transform 140ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

body .default_button:hover,
body .gridButton:hover {
  background: var(--cws-navy);
  box-shadow: 0 7px 16px rgba(14, 28, 44, 0.24);
  transform: translateY(-1px);
}

body .default_button:active,
body .gridButton:active {
  transform: translateY(0);
}

/* Login and registration entry page */

body #login_form {
  height: 316px;
  overflow: hidden;
  border: 1px solid var(--cws-line);
  background-color: #ffffff;
  background-image:
    linear-gradient(
      90deg,
      #ffffff 0,
      #ffffff 48%,
      rgba(255, 255, 255, 0.94) 51%,
      rgba(14, 28, 44, 0.14) 68%,
      rgba(14, 28, 44, 0.28) 100%
    ),
    url("../_images/cws-portal-roll-off.jpg");
  background-position:
    left top,
    right center;
  background-repeat: no-repeat;
  background-size:
    100% 100%,
    56% auto;
  box-shadow: 0 14px 32px rgba(14, 28, 44, 0.13);
}

body #login_form .title_bar_blk {
  margin-bottom: 28px;
  border-radius: 7px 7px 0 0;
  box-shadow: 0 3px 10px rgba(14, 28, 44, 0.15);
}

body #login_form .textfield,
body #login_form .textfield_error {
  width: 300px;
  margin-right: 400px;
}

body #login_form .checkbox {
  width: 300px;
  margin-left: 200px;
}

body #login_form .default_button {
  margin-left: 200px;
  background: var(--cws-orange);
  box-shadow: 0 5px 12px rgba(193, 77, 3, 0.22);
}

body #login_form .default_button:hover {
  background: var(--cws-orange-dark);
}

body h2.drop_down_header {
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid var(--cws-line);
  border-radius: 7px;
  background: #ffffff;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 5px 14px rgba(14, 28, 44, 0.06);
}

body h2.drop_down_header a {
  display: block;
  color: var(--cws-navy);
}

body h2.drop_down_header a:hover {
  color: var(--cws-teal);
}

body h2.drop_down_header img {
  opacity: 0.8;
}

body #forgot_password,
body #new_registration {
  background: var(--cws-surface-soft);
}

/* Data grids and financial summaries */

body .mGrid {
  border: 1px solid var(--cws-line);
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
}

body .col_headers {
  min-height: 36px;
  background-color: var(--cws-navy);
  background-image: none;
  color: #ffffff;
}

body .col_headers th {
  padding-top: 9px;
  padding-bottom: 9px;
  font-weight: 700;
}

body .mGrid td {
  padding: 9px 7px;
  border-bottom-color: var(--cws-line);
}

body .alt_row {
  background-color: #f3f7f8;
}

body .mGrid tr:hover td {
  background-color: #eefafb;
}

body #account_aging table {
  background-color: var(--cws-navy);
}

body #account_aging .header {
  background-color: var(--cws-navy);
  background-image: none;
}

body #OA_balance {
  border-radius: 5px;
  background-color: var(--cws-teal);
}

body #payment_confirm {
  border-color: var(--cws-orange);
  border-radius: 8px;
  background: #fff8f1;
  box-shadow: 0 8px 24px rgba(193, 77, 3, 0.1);
}

body #payment_confirm .label,
body #payment_confirm .data {
  color: var(--cws-teal);
}

body .payment_option {
  border-color: #a8dfe2;
}

/* Footer */

body #footer {
  box-sizing: content-box;
  width: 949px;
  min-height: 58px;
  height: auto;
  margin: 0 auto;
  padding: 22px 15px 14px;
  border-top: 5px solid var(--cws-cyan);
  background: var(--cws-navy);
  color: #ffffff;
  font-family:
    "Barlow Semi Condensed", "Arial Narrow", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.01em;
}

body #footer a {
  color: var(--cws-cyan);
}

body #footer a:hover {
  color: var(--cws-orange);
}

/* Motion and print safeguards */

@media (prefers-reduced-motion: reduce) {
  html body *,
  html body *::before,
  html body *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
  }
}

@media print {
  body #header,
  body #main_area,
  body #work_area,
  body #footer {
    background: #ffffff;
    box-shadow: none;
  }

  body #footer {
    border-top: 1px solid #777777;
    color: #000000;
  }
}

/*
 * CWS portal visual refresh v2
 * These rules deliberately use stronger selectors because this theme is
 * imported ahead of the original 2011 stylesheet.
 */

html body {
  min-width: 320px;
  background: var(--cws-navy);
  font-size: 16px;
}

html body #header {
  min-width: 0;
  border-bottom: 4px solid var(--cws-cyan);
  background-color: #ffffff;
  background-image: linear-gradient(
    to bottom,
    var(--cws-navy) 0,
    var(--cws-navy) 34px,
    #ffffff 34px,
    #ffffff 100%
  );
  box-shadow: 0 10px 30px rgba(7, 14, 22, 0.14);
}

html body #header_area {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  grid-template-rows: 34px 94px;
  width: min(1380px, calc(100% - 64px));
  height: 128px;
  margin: 0 auto;
}

html body #header_area > a {
  display: flex;
  grid-column: 1;
  grid-row: 1 / 3;
  align-items: center;
  align-self: stretch;
  width: max-content;
}

html body .banner_logo {
  float: none;
  width: 265px;
  height: 62px;
  margin: 20px 0 0;
  padding: 0;
  object-fit: contain;
  object-position: left center;
  content: url("../_images/cws-logo.png");
}

html body #login_status {
  display: flex;
  float: none;
  grid-column: 2;
  grid-row: 1;
  align-items: center;
  justify-content: flex-end;
  box-sizing: border-box;
  width: auto;
  height: 34px;
  padding: 0;
  gap: 7px;
  color: #ffffff;
  font-family:
    "Barlow Semi Condensed", "Arial Narrow", "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  line-height: 1;
  text-align: right;
}

html body #login_status a {
  color: #ffffff !important;
  text-decoration: none;
}

html body #login_status a:hover {
  color: var(--cws-cyan) !important;
}

html body .main_nav {
  display: flex;
  float: none;
  grid-column: 2;
  grid-row: 2;
  align-items: center;
  justify-content: flex-end;
  box-sizing: border-box;
  height: 94px;
  padding: 0;
  text-align: left;
}

html body .main_nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  gap: 4px;
}

html body .main_nav li {
  float: none;
  list-style: none;
}

html body .main_nav li > img,
html body .main_nav a img {
  display: none !important;
}

html body .main_nav a {
  display: block;
  padding: 15px 10px 13px;
  border: 0;
  border-bottom: 4px solid transparent;
  border-radius: 8px 8px 0 0;
  color: var(--cws-navy);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

html body .main_nav a:hover,
html body .main_nav li.active a {
  border-bottom-color: var(--cws-orange);
  background: var(--cws-cyan-soft);
  color: var(--cws-teal);
}

html body .main_nav li.active a::after {
  display: none;
  content: none;
}

html body #main_area {
  min-width: 0;
  min-height: calc(100vh - 228px);
  padding: 0 0 54px;
  background-color: #eaf1f3;
  background-image:
    radial-gradient(circle at 8% 0, rgba(37, 202, 210, 0.16), transparent 30%),
    radial-gradient(
      circle at 94% 15%,
      rgba(237, 122, 35, 0.1),
      transparent 25%
    ),
    linear-gradient(180deg, #f2f6f7 0, #e5edef 100%);
}

html body #work_area {
  box-sizing: border-box;
  width: min(1320px, calc(100% - 64px));
  min-height: calc(100vh - 228px);
  margin: 0 auto;
  padding: 48px 48px 64px;
  border: 0;
  border-radius: 0 0 22px 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 55px rgba(14, 28, 44, 0.12);
}

html body #nav_arrow {
  width: min(1320px, calc(100% - 64px));
  height: 4px;
  border: 0;
  background: linear-gradient(90deg, var(--cws-cyan), var(--cws-teal));
}

html body #nav_arrow img {
  display: none;
}

html body h1 {
  margin: 0 4px 32px;
  color: var(--cws-navy);
  font-size: clamp(36px, 3vw, 46px);
  font-weight: 900;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

html body h1::after {
  width: 72px;
  height: 5px;
  margin-top: 14px;
  background: linear-gradient(
    90deg,
    var(--cws-cyan) 0 68%,
    var(--cws-orange) 68%
  );
}

html body h2 {
  color: var(--cws-navy);
  font-weight: 800;
}

html body p.description {
  margin-bottom: 24px;
  color: var(--cws-muted);
  font-size: 17px;
}

/* Modern cards and dashboard content */

html body #getting_started {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 36px;
  padding: 0 0 22px;
  overflow: hidden;
  border: 1px solid #c9e8ea;
  border-left: 6px solid var(--cws-cyan);
  border-radius: 16px;
  background: linear-gradient(135deg, #effbfb, #f8fcfc);
  box-shadow: 0 12px 30px rgba(14, 28, 44, 0.07);
}

html body #getting_started .title_bar {
  min-height: 0;
  padding: 15px 20px;
  border-radius: 0;
  background: var(--cws-teal);
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

html body #getting_started > p {
  margin: 18px 20px 12px;
  padding: 0;
}

html body #getting_started ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 20px 16px;
  gap: 9px;
}

html body #getting_started ul li {
  margin: 0;
  list-style: none;
}

html body #getting_started li a {
  display: block;
  min-height: 22px;
  padding: 10px 12px;
  border: 1px solid #d7e7e9;
  border-radius: 9px;
  background: #ffffff;
  color: var(--cws-navy);
  box-shadow: 0 3px 8px rgba(14, 28, 44, 0.04);
}

html body #getting_started li a::before {
  margin-right: 8px;
  color: var(--cws-orange);
  content: "›";
  font-size: 19px;
  line-height: 0;
}

html body #getting_started li a:hover {
  border-color: var(--cws-cyan);
  color: var(--cws-teal);
  box-shadow: 0 7px 16px rgba(14, 28, 44, 0.09);
  transform: translateY(-1px);
}

html body #customer_information,
html body #bill_information,
html body .full_width,
html body .half_width,
html body .auto_width,
html body #payment_details,
html body #payment_results,
html body #account_aging,
html body .contactsGrid {
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid var(--cws-line);
  border-radius: 14px;
  background-color: #ffffff;
  background-image: none;
  box-shadow: 0 12px 28px rgba(14, 28, 44, 0.08);
}

html body #customer_information {
  float: left;
  width: calc(70% - 12px);
  min-height: 270px;
  margin-bottom: 32px;
}

html body #bill_information {
  float: right;
  width: calc(30% - 12px);
  min-height: 270px;
  margin-bottom: 32px;
}

html body .title_bar,
html body .title_bar_blk,
html body .title_bar_orange,
html body .mGrid_titlebar,
html body .mGrid_titlebar_service,
html body #status_bar {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  height: auto;
  padding: 12px 16px;
  border: 0;
  border-radius: 13px 13px 0 0;
  background-image: none;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 20px;
  text-transform: uppercase;
}

html body .title_bar_blk {
  background: var(--cws-navy);
  color: #ffffff;
}

html body .title_bar,
html body .mGrid_titlebar,
html body .mGrid_titlebar_service,
html body #status_bar {
  background: var(--cws-teal);
  color: #ffffff;
}

html body #status_bar {
  display: flex;
  align-items: center;
  margin: 0;
  border-radius: 0;
  background: #e8f8f9;
  color: var(--cws-navy);
  text-transform: none;
}

html body #status_bar p {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  gap: 6px 10px;
}

html body #status_bar .label {
  padding: 0;
  color: var(--cws-navy);
}

html body #status_bar .data {
  margin-right: 8px;
  padding: 0;
  color: var(--cws-teal);
}

html body .customer_address {
  margin: 0;
  padding: 26px 22px;
}

html body #payment_info {
  width: calc(100% - 24px);
  margin: 12px auto;
}

html body #payment_info td {
  padding: 9px 7px;
  color: var(--cws-muted);
  font-size: 16px;
}

html body #current_balance {
  padding: 22px 18px;
  border-top: 1px solid var(--cws-line);
  background: linear-gradient(135deg, #fffaf5, #fff4e8);
  color: var(--cws-navy);
  text-align: right;
}

html body #current_balance .large_amount {
  color: var(--cws-teal);
  font-size: 34px;
  font-weight: 900;
}

html body #CreditLimit {
  clear: both;
  box-sizing: border-box;
  width: 100%;
  margin: 8px 0 0;
  padding: 20px 22px;
  border: 1px solid var(--cws-line);
  border-radius: 13px;
  background: var(--cws-surface-soft);
}

html body #CreditLimit p {
  margin: 5px 0;
}

html body #CreditLimit input[type="number"] {
  box-sizing: border-box;
  min-height: 42px;
  margin: 0 8px;
  padding: 8px 10px;
  border: 1px solid #b9c8ce;
  border-radius: 8px;
  background: #ffffff !important;
  font: inherit;
}

html body #email_invoice {
  width: 100%;
}

html body #announcementLabel {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff0e4;
  color: var(--cws-orange-dark) !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.025em;
  text-decoration: none !important;
  text-transform: uppercase;
}

/* Replace dated help images with a consistent CSS badge. The original links
   still open the full help pages; no extra tooltip behavior is introduced. */

html body a.cws-help-link img,
html body #login_status a.cws-help-link img {
  display: none !important;
}

html body a.cws-help-link {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: 6px;
  vertical-align: middle;
  isolation: isolate;
}

html body a.cws-help-link::after,
html body #login_status a.cws-help-link::after {
  display: inline-grid;
  place-items: center;
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cws-cyan-soft);
  color: var(--cws-teal);
  content: "?";
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  vertical-align: middle;
}

html body a.cws-help-link:hover::after,
html body a.cws-help-link:focus-visible::after {
  background: var(--cws-orange);
  color: #ffffff;
}

/* Login hero and access panels */

html body #login_form {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-height: 510px;
  height: auto;
  margin: 0 0 30px;
  padding: 112px 58% 48px 48px;
  overflow: hidden;
  border: 1px solid var(--cws-line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(14, 28, 44, 0.14);
}

html body #login_form::before {
  position: absolute;
  z-index: 0;
  top: 66px;
  right: 0;
  bottom: 0;
  left: 50%;
  background-image:
    linear-gradient(
      90deg,
      #ffffff 0,
      rgba(255, 255, 255, 0.16) 18%,
      rgba(7, 14, 22, 0.18) 100%
    ),
    url("../_images/cws-portal-roll-off.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
}

html body #login_form .title_bar_blk {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 66px;
  margin: 0;
  padding: 0 28px;
  border-radius: 17px 17px 0 0;
  background: var(--cws-navy);
  box-shadow: none;
}

html body #login_form .title_bar_blk b {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

html body #login_form .title_bar_blk b + b {
  margin-left: auto !important;
}

html body #login_form .title_bar_blk a {
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none !important;
}

html body #login_form .title_bar_blk a:hover {
  color: var(--cws-cyan) !important;
}

html body #login_form > label,
html body #login_form > .textfield,
html body #login_form > .textfield_error,
html body #login_form > .checkbox,
html body #login_form > .default_button,
html body #login_form > .frm_error_lbl {
  position: relative;
  z-index: 1;
}

html body #login_form label {
  float: none;
  width: auto;
  margin: 0 0 7px;
  color: var(--cws-navy);
  font-size: 16px;
  font-weight: 800;
  text-align: left;
}

html body #login_form .small {
  display: inline;
  width: auto;
  margin-left: 8px;
  color: var(--cws-muted);
  font-size: 12px;
  text-align: left;
}

html body #login_form .textfield,
html body #login_form .textfield_error {
  float: none;
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  margin: 0 0 22px;
  padding: 12px 14px;
  border: 1px solid #adbec5;
  border-radius: 10px;
  background: #ffffff;
  font-size: 17px;
}

html body #login_form .textfield:focus,
html body #login_form .textfield_error:focus {
  border-color: var(--cws-teal);
  box-shadow: 0 0 0 4px rgba(37, 202, 210, 0.2);
}

html body #login_form .checkbox {
  float: none;
  width: auto;
  margin: 0 0 25px;
  color: var(--cws-muted);
}

html body input[type="checkbox"],
html body input[type="radio"] {
  width: 17px;
  height: 17px;
  accent-color: var(--cws-teal);
  vertical-align: -3px;
}

html body #login_form .default_button {
  min-width: 190px;
  min-height: 49px;
  margin: 0;
  border-radius: 10px;
  background: var(--cws-orange);
  font-size: 16px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  box-shadow: 0 9px 20px rgba(193, 77, 3, 0.24);
}

html body #login_form .default_button:hover {
  background: var(--cws-orange-dark);
}

html body .split_forms_left,
html body .split_forms_right {
  box-sizing: border-box;
  width: calc(50% - 12px);
  margin-top: 0;
}

html body h2.drop_down_header {
  min-height: 58px;
  margin: 0 0 12px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--cws-line);
  border-radius: 12px;
  background: #ffffff;
  font-size: 17px;
  box-shadow: 0 8px 20px rgba(14, 28, 44, 0.07);
}

html body h2.drop_down_header a {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 58px;
  padding: 12px 18px;
  color: var(--cws-navy);
}

html body h2.drop_down_header a::before {
  width: 9px;
  height: 9px;
  margin-right: 13px;
  border-right: 3px solid var(--cws-cyan);
  border-bottom: 3px solid var(--cws-cyan);
  content: "";
  transform: rotate(-45deg);
}

html body h2.drop_down_header img {
  display: none !important;
}

html body .half_width {
  width: 100%;
  margin: 0 0 24px;
  padding: 28px;
  border-color: var(--cws-line);
  background: #ffffff;
}

html body .half_width label {
  box-sizing: border-box;
  width: 38%;
  padding: 11px 8px 0 0;
  color: var(--cws-navy);
  font-size: 15px;
}

html body .half_width .textfield,
html body .half_width .textfield_error,
html body .half_width select {
  box-sizing: border-box;
  width: 58% !important;
  min-height: 43px;
  margin: 0 0 15px 2%;
  padding: 9px 11px;
  border-radius: 8px;
  font: inherit;
}

html body .half_width .default_button {
  min-width: 150px;
  margin-left: 40%;
}

html body #forgot_password,
html body #new_registration {
  background: #ffffff;
}

/* Shared fields, buttons and grids */

html body input.textfield,
html body input.textfield_error,
html body textarea,
html body select,
html body .tableForm .textfield,
html body .contactsGrid input[type="text"] {
  min-height: 43px;
  border-radius: 8px;
  font-family:
    "Barlow Semi Condensed", "Arial Narrow", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
}

html body .default_button,
html body .gridButton {
  min-height: 42px;
  padding: 10px 20px;
  border: 0;
  border-radius: 9px;
  background: var(--cws-teal);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  box-shadow: 0 7px 16px rgba(0, 95, 127, 0.2);
}

html body .default_button:hover,
html body .gridButton:hover {
  background: var(--cws-navy);
}

html body .mGrid {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--cws-line);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  background: #ffffff;
  /* Nested service grids sit inside a white, bold location-title row. */
  color: var(--cws-ink);
  font-weight: 400;
  text-transform: none;
  box-shadow: 0 10px 24px rgba(14, 28, 44, 0.07);
}

html body .col_headers {
  min-height: 44px;
  background: var(--cws-navy);
  color: #ffffff;
  text-transform: uppercase;
}

html body .col_headers th {
  padding: 12px 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

html body .mGrid td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--cws-line);
}

html body .mGrid tr:last-child td {
  border-bottom: 0;
}

html body .mGrid tr:hover td {
  background: #eefafb;
}

html body #footer {
  box-sizing: border-box;
  width: min(1320px, calc(100% - 64px));
  min-height: 82px;
  height: auto;
  margin: 0 auto;
  padding: 25px 10px 20px;
  border-top: 5px solid var(--cws-cyan);
  background: var(--cws-navy);
  color: #ffffff;
}

@media (max-width: 1180px) {
  html body #header_area {
    grid-template-columns: 1fr;
    grid-template-rows: 34px 78px auto;
    width: calc(100% - 32px);
    height: auto;
    padding-bottom: 12px;
  }

  html body #header_area > a {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
  }

  html body .banner_logo {
    width: 245px;
    height: 54px;
    margin: 8px 0 0;
  }

  html body #login_status {
    grid-column: 1;
    grid-row: 1;
  }

  html body .main_nav {
    grid-column: 1;
    grid-row: 3;
    justify-content: center;
    height: auto;
    min-height: 52px;
  }

  html body .main_nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  html body #work_area,
  html body #nav_arrow,
  html body #footer {
    width: calc(100% - 32px);
  }

  html body #main_area,
  html body #work_area {
    min-height: calc(100vh - 274px);
  }
}

@media (max-width: 900px) {
  html body #work_area {
    padding: 34px 28px 48px;
  }

  html body #getting_started ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html body #customer_information,
  html body #bill_information {
    float: none;
    width: 100%;
    min-height: 0;
  }

  html body #login_form {
    padding-right: 52%;
  }

  html body #login_form::before {
    left: 48%;
  }

  html body .split_forms_left,
  html body .split_forms_right {
    float: none;
    width: 100%;
  }
}

@media (max-width: 700px) {
  html body #header_area {
    width: calc(100% - 20px);
  }

  html body #login_status {
    justify-content: center;
  }

  html body .main_nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  html body .main_nav ul {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  html body .main_nav a {
    padding-right: 9px;
    padding-left: 9px;
    font-size: 13px;
  }

  html body #work_area,
  html body #nav_arrow,
  html body #footer {
    width: calc(100% - 20px);
  }

  html body #work_area {
    padding: 28px 20px 42px;
  }

  html body h1 {
    font-size: 34px;
  }

  html body #getting_started ul {
    grid-template-columns: 1fr;
  }

  html body #login_form {
    min-height: 0;
    padding: 102px 24px 34px;
  }

  html body #login_form::before {
    display: none;
  }

  html body #login_form .title_bar_blk {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 76px;
    padding: 11px 20px;
    gap: 5px;
  }

  html body #login_form .title_bar_blk b {
    font-size: 15px;
  }

  html body #login_form .title_bar_blk b + b {
    margin-left: 0 !important;
  }

  html body #login_form .default_button {
    width: 100%;
  }

  html body .half_width {
    padding: 22px 18px;
  }

  html body .half_width label,
  html body .half_width .textfield,
  html body .half_width .textfield_error,
  html body .half_width select {
    float: none;
    width: 100% !important;
    margin-right: 0;
    margin-left: 0;
    text-align: left;
  }

  html body .half_width .default_button {
    width: 100%;
    margin-left: 0;
  }
}

/* Brand alignment from the current CWS Services and Industries experience. */

:root {
  --cws-navy: #102333;
  --cws-navy-deep: #071725;
  --cws-cyan: #36c1cc;
  --cws-cyan-soft: #edf9fa;
  --cws-orange: #f28c13;
  --cws-orange-dark: #c85f08;
  --cws-line: #dce3e6;
}

html body #work_area {
  border-radius: 0;
  border-bottom: 4px solid var(--cws-cyan);
}

html body #getting_started {
  padding-bottom: 28px;
  border: 0;
  border-bottom: 4px solid var(--cws-orange);
  border-radius: 2px;
  background:
    radial-gradient(
      circle at 100% 100%,
      rgba(54, 193, 204, 0.14),
      transparent 30%
    ),
    var(--cws-navy);
  color: #ffffff;
  font-family:
    "Barlow Semi Condensed", "Arial Narrow", "Segoe UI", Arial, sans-serif;
  box-shadow: 0 14px 32px rgba(7, 23, 37, 0.16);
}

html body #getting_started * {
  font-family: inherit;
}

html body #getting_started .title_bar {
  position: relative;
  padding: 25px 28px 10px;
  background: transparent;
  color: var(--cws-cyan);
  font-size: 14px;
}

html body #getting_started .title_bar::after {
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 9px;
  background: var(--cws-orange);
  content: "";
}

html body #getting_started > p {
  margin-right: 28px;
  margin-left: 28px;
  color: #ffffff;
  font-size: 17px;
}

html body #getting_started > p a {
  color: var(--cws-cyan);
}

html body #getting_started ul {
  margin-right: 28px;
  margin-left: 28px;
}

html body #getting_started li a {
  padding: 13px 14px;
  border: 0;
  border-left: 4px solid var(--cws-orange);
  border-radius: 0;
  background: #f4f6f7;
  box-shadow: none;
}

html body #getting_started li a:hover {
  border-left-color: var(--cws-cyan);
  background: #ffffff;
  box-shadow: none;
  transform: translateX(2px);
}

html body #customer_information,
html body #bill_information,
html body .full_width,
html body .half_width,
html body .auto_width,
html body #payment_details,
html body #payment_results,
html body #account_aging,
html body .contactsGrid {
  border-radius: 2px;
  border-top: 4px solid var(--cws-cyan);
  box-shadow: 0 8px 20px rgba(7, 23, 37, 0.08);
}

html body .title_bar,
html body .title_bar_blk,
html body .title_bar_orange,
html body .mGrid_titlebar,
html body .mGrid_titlebar_service,
html body #status_bar {
  border-radius: 0;
}

html body #current_balance {
  border-bottom: 4px solid var(--cws-orange);
  background: #f6f8f9;
}

html body #CreditLimit {
  border-radius: 2px;
  border-left: 4px solid var(--cws-orange);
  background: #f6f8f9;
}

html body #announcementLabel {
  border-radius: 0;
  border-left: 4px solid var(--cws-orange);
  background: #fff5e9;
}

html body #login_form {
  border-radius: 2px;
  border-top: 4px solid var(--cws-cyan);
  border-bottom: 4px solid var(--cws-orange);
  box-shadow: 0 18px 42px rgba(7, 23, 37, 0.16);
}

html body #login_form::before {
  top: 66px;
  background-image:
    linear-gradient(
      90deg,
      #ffffff 0,
      rgba(255, 255, 255, 0.08) 18%,
      rgba(7, 23, 37, 0.18) 100%
    ),
    url("../_images/cws-portal-roll-off.jpg");
  background-position: center center;
}

html body #login_form .title_bar_blk {
  border-radius: 0;
}

html body #login_form .textfield,
html body #login_form .textfield_error,
html body input.textfield,
html body input.textfield_error,
html body textarea,
html body select,
html body #CreditLimit input[type="number"] {
  border-radius: 2px;
}

html body #login_form .default_button,
html body .default_button,
html body .gridButton {
  border-radius: 0;
}

html body h2.drop_down_header,
html body .half_width,
html body .mGrid {
  border-radius: 2px;
}

html body h2.drop_down_header {
  border-top: 4px solid var(--cws-cyan);
  box-shadow: 0 8px 20px rgba(7, 23, 37, 0.06);
}

html body .mGrid {
  border-top: 4px solid var(--cws-cyan);
}

html body .default_button:hover,
html body .gridButton:hover {
  background: var(--cws-orange);
}

/* Minimal, professional treatment for service and payment workflows. */

html body #work_area {
  padding-top: 40px;
  box-shadow: 0 8px 28px rgba(7, 23, 37, 0.08);
}

html body h1 {
  margin-bottom: 26px;
  font-size: clamp(32px, 2.2vw, 38px);
  letter-spacing: -0.015em;
}

html body h1::after {
  width: 56px;
  height: 3px;
  margin-top: 11px;
}

html body #getting_started {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border: 1px solid var(--cws-line);
  border-top: 4px solid var(--cws-cyan);
  border-bottom: 1px solid var(--cws-line);
  background: #f7f9fa;
  color: var(--cws-navy);
  box-shadow: 0 4px 14px rgba(7, 23, 37, 0.05);
}

html body #getting_started .title_bar {
  padding: 18px 20px 7px;
  color: var(--cws-teal);
}

html body #getting_started .title_bar::after {
  width: 32px;
  height: 2px;
  margin-top: 7px;
}

html body #getting_started > p {
  margin: 11px 20px 10px;
  color: var(--cws-muted);
  font-size: 15px;
}

html body #getting_started > p a {
  color: var(--cws-teal);
}

html body #getting_started ul {
  margin: 0 20px 11px;
  gap: 7px;
}

html body #getting_started li a {
  padding: 10px 11px;
  border: 1px solid var(--cws-line);
  border-left: 3px solid var(--cws-orange);
  background: #ffffff;
  font-weight: 700;
}

html body #getting_started li a:hover {
  border-color: var(--cws-cyan);
  border-left-color: var(--cws-orange);
  background: var(--cws-cyan-soft);
  transform: none;
}

html body #customer_information,
html body #bill_information,
html body .full_width,
html body .half_width,
html body .auto_width,
html body #payment_details,
html body #payment_results,
html body #account_aging,
html body .contactsGrid,
html body .mGrid {
  box-shadow: 0 3px 12px rgba(7, 23, 37, 0.06);
}

html body .title_bar,
html body .title_bar_blk,
html body .title_bar_orange,
html body .mGrid_titlebar,
html body .mGrid_titlebar_service,
html body #status_bar {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 15px;
}

html body #current_balance {
  background: #f7f9fa;
}

html body #CreditLimit {
  padding-top: 16px;
  padding-bottom: 16px;
  background: #f7f9fa;
}

html body #login_form {
  min-height: 490px;
  box-shadow: 0 8px 26px rgba(7, 23, 37, 0.1);
}

html body #login_form .default_button,
html body .default_button,
html body .gridButton {
  box-shadow: none;
}

html body h2.drop_down_header {
  box-shadow: 0 3px 10px rgba(7, 23, 37, 0.05);
}

/* Keep every workflow in normal document flow, preserve native browser
   scrolling, and contain legacy floated panels as their data grows. */

html {
  overflow-x: auto;
  overflow-y: scroll;
  scrollbar-color: var(--cws-teal) #e5edef;
  scrollbar-gutter: stable;
}

html::-webkit-scrollbar {
  width: 14px;
}

html::-webkit-scrollbar-track {
  background: #e5edef;
}

html::-webkit-scrollbar-thumb {
  border: 3px solid #e5edef;
  border-radius: 999px;
  background: var(--cws-teal);
}

html::-webkit-scrollbar-thumb:hover {
  background: var(--cws-orange);
}

html body {
  height: auto !important;
  min-height: 100%;
  overflow: visible !important;
}

html body > form,
html body #work_area > form {
  display: flow-root;
  box-sizing: border-box;
  width: 100%;
  min-height: 0;
}

html body #main_area,
html body #work_area {
  height: auto !important;
  overflow: visible !important;
}

html body #work_area::after {
  display: block;
  clear: both;
  content: "";
}

html body #forgot_password,
html body #new_registration {
  scroll-margin-top: 28px;
}

/* Client-only current-section cue. This namespaced class is additive and does
   not modify the legacy server-rendered active class or navigation behavior. */

html body #top_nav li.cws-current-nav > a,
html body #top_nav li.cws-current-nav > a:hover,
html body #top_nav a[data-cws-current-nav="true"] {
  border-bottom-color: var(--cws-orange);
  background: var(--cws-cyan-soft);
  color: var(--cws-teal);
}

/* Readable nested results and consistent location sections. */
html body .mGrid .row td,
html body .mGrid .alt_row td {
  color: var(--cws-ink);
  font-weight: 400;
  text-transform: none;
  line-height: 1.5;
}

html body.cws-services-page #gvSiteList,
html body.cws-workorders-page #gvSiteList {
  border-collapse: separate !important;
  border-spacing: 0;
}

html body.cws-services-page #gvSiteList > tbody > tr > td {
  padding: 0 0 22px;
  background: #ffffff;
  border: 0;
}

html body.cws-services-page div[id$="_SiteHeader"],
html body.cws-workorders-page #gvSiteList > tbody > tr.mGrid_titlebar > td {
  padding: 12px 16px;
  border: 1px solid var(--cws-line);
  border-left: 4px solid var(--cws-teal);
  background: #edf5f7;
  color: var(--cws-navy);
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  line-height: 1.5;
}

html body.cws-services-page div[id$="_SiteHeader"] span {
  padding: 0 !important;
}

html body.cws-services-page .mGrid {
  margin: 0;
  border-top: 0;
  box-shadow: none;
}

html body.cws-services-page .mGrid td {
  padding: 13px 10px;
  vertical-align: top;
}

html body.cws-services-page .mGrid .row {
  background: #ffffff;
}

html body.cws-services-page .mGrid .alt_row {
  background: #f3f7f8;
}

html body.cws-workorders-page #gvSiteList > tbody > tr.mGrid_titlebar {
  background: transparent;
}

html body.cws-workorders-page #gvSiteList > tbody > tr.mGrid_titlebar p {
  margin: 0;
  color: var(--cws-navy);
}

html body.cws-workorders-page div[id^="site-"] {
  margin: 0 0 18px;
  border: 1px solid var(--cws-line);
  border-top: 0;
  background: #ffffff;
  color: var(--cws-ink);
}

html body .cws-empty-state {
  box-sizing: border-box;
  margin: 0;
  padding: 24px 20px;
  border: 1px solid var(--cws-line);
  background: #f8fafb;
  color: var(--cws-muted);
  font-weight: 400;
  line-height: 1.6;
  text-transform: none;
}

html body.cws-workorders-page .cws-empty-state {
  border: 0;
}

html body .cws-history-notice {
  clear: both;
  margin: 16px 0;
  padding: 12px 16px;
  border-left: 3px solid var(--cws-orange);
  background: #fff7ec;
  color: #64421d;
  font-size: 15px;
  line-height: 1.5;
}

/* Billing summary: quiet labels, clear amounts, and a separate payment status. */
html body.cws-invoices-page #account_aging {
  box-sizing: border-box;
  float: none;
  width: 100%;
  margin: 28px 0 18px;
  overflow: hidden;
}

html body.cws-invoices-page #account_aging .title_bar_blk {
  padding: 16px 20px;
  background: #ffffff;
  color: var(--cws-navy);
}

html body.cws-invoices-page #account_aging table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

html body.cws-invoices-page #account_aging .header {
  background: #edf4f6;
  color: var(--cws-muted);
}

html body.cws-invoices-page #account_aging td {
  padding: 14px 10px;
  border: 0;
  border-right: 1px solid var(--cws-line);
  color: var(--cws-navy);
  text-align: center;
}

html body.cws-invoices-page #account_aging .aging_amounts td {
  padding: 20px 10px;
  font-size: 23px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

html body.cws-invoices-page #account_aging td:last-child {
  border-right: 0;
  background: #e8f5f7;
  color: var(--cws-teal);
}

html body.cws-invoices-page #OA_balance {
  float: none;
  width: fit-content;
  height: auto;
  margin: 0 0 24px auto;
  padding: 12px 16px;
  border: 1px solid var(--cws-line);
  border-radius: 2px;
  background: #f6f9fa;
  color: var(--cws-navy);
}

html body.cws-invoices-page #OA_balance > span {
  display: inline;
  float: none;
  width: auto;
  height: auto;
  margin-left: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cws-teal);
  font-size: 20px;
  font-weight: 700;
}

html body.cws-invoices-page .mGrid_titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--cws-navy);
  text-transform: none;
}

html body.cws-invoices-page .highlighted_info {
  float: none;
  width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
}

html body.cws-invoices-page .highlighted_info > img {
  display: none;
}

html body.cws-invoices-page .highlighted_info p {
  margin: 0;
  padding: 0;
}

html body.cws-statements-page #txtDate {
  box-sizing: border-box;
  min-height: 44px;
  max-width: 100%;
  margin: 0 12px 12px 6px;
  padding: 10px 12px;
  border: 1px solid #b9c8ce;
  border-radius: 2px;
  color: var(--cws-ink);
  font: inherit;
}

@media (max-width: 700px) {
  html body.cws-invoices-page #account_aging .aging_amounts td {
    padding: 16px 5px;
    font-size: 16px;
  }
  html body.cws-invoices-page #account_aging td {
    padding: 10px 4px;
    font-size: 13px;
  }
  html body.cws-invoices-page .mGrid_titlebar {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* Small customer-facing refinements. The original controls and handlers stay in place. */
html body input.default_button,
html body button.default_button {
  box-sizing: border-box;
  width: auto !important;
  min-width: 140px;
  max-width: 100%;
  height: auto !important;
  min-height: 44px;
  padding: 11px 22px;
  line-height: 1.4;
  white-space: nowrap;
  border-radius: 6px;
  box-shadow: none;
}

html body.cws-profile-page #work_area {
  box-sizing: border-box;
  width: min(1520px, calc(100% - 48px));
  padding: 36px 28px 48px;
}

html body.cws-profile-page #form1 { min-width: 0; }
html body.cws-profile-page .cws-profile-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 24px 0;
}

html body.cws-profile-page .full_width {
  box-sizing: border-box;
  float: none;
  width: 100%;
  min-width: 0;
  margin: 0 0 24px;
  padding: 0 0 24px;
  overflow: hidden;
  border: 1px solid var(--cws-line);
  border-top: 3px solid var(--cws-cyan);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(14, 28, 44, .04);
}
html body.cws-profile-page .cws-profile-settings > .full_width { margin: 0; }
html body.cws-profile-page .full_width > .title_bar_blk {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 48px;
  margin: 0;
  padding: 13px 22px;
  background: var(--cws-navy);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}
html body.cws-profile-page .full_width > .intro {
  margin: 0 22px 18px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--cws-line);
  color: var(--cws-muted);
  font-size: 15px;
  line-height: 1.5;
}
html body.cws-profile-page .full_width .frm_error_lbl {
  float: none;
  width: auto;
  margin: 6px 22px;
  color: var(--cws-danger);
}
html body.cws-profile-page .cws-profile-settings > .full_width > label {
  display: block;
  float: none;
  clear: both;
  width: auto;
  margin: 16px 22px 6px;
  padding: 0;
  color: var(--cws-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}
html body.cws-profile-page .cws-profile-settings .small {
  display: inline;
  float: none;
  width: auto;
  margin-left: 6px;
  font-size: 12px;
  color: var(--cws-muted);
}
html body.cws-profile-page .cws-profile-settings .textfield,
html body.cws-profile-page .cws-profile-settings .textfield_error,
html body.cws-profile-page .cws-profile-settings select {
  box-sizing: border-box;
  display: block;
  float: none;
  width: calc(100% - 44px) !important;
  height: 44px;
  min-height: 44px;
  margin: 0 22px 14px;
  padding: 9px 12px;
  border: 1px solid #b9c8ce;
  border-radius: 6px;
  background-color: #fff;
  color: var(--cws-ink);
  font: inherit;
}
html body.cws-profile-page input[type="text"]:disabled,
html body.cws-profile-page input[type="password"]:disabled { background-color: #f1f5f6; color: #596873; }
html body.cws-profile-page .cws-profile-settings .default_button,
html body.cws-profile-page #updateCreditCard > .default_button {
  float: none;
  display: inline-block;
  margin: 8px 22px 0;
  min-width: 148px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

/* The existing Auto Pay form stays recognizable, with aligned labels and fields. */
html body.cws-profile-page #updateCreditCard .payment_option {
  box-sizing: border-box;
  width: calc(100% - 44px);
  max-width: 960px;
  margin: 20px 22px !important;
  padding: 20px;
  border: 1px solid var(--cws-line);
  border-radius: 6px;
  background: #fff;
}
html body.cws-profile-page #updateCreditCard #option_one {
  padding: 16px 20px;
  background: var(--cws-surface-soft);
}
html body.cws-profile-page #Credit_Card_On_File {
  box-sizing: border-box;
  width: auto;
  margin: 10px 0 0;
  padding: 0;
  line-height: 1.8;
}
html body.cws-profile-page #New_Credit_Card table {
  width: 100%;
  border-collapse: collapse;
}
html body.cws-profile-page #new_card td,
html body.cws-profile-page #ccInformation td {
  padding: 8px 0;
  vertical-align: middle;
}
html body.cws-profile-page #new_card td:first-child,
html body.cws-profile-page #ccInformation td:first-child {
  width: 150px;
  padding-right: 18px;
}
html body.cws-profile-page #New_Credit_Card .lblPayNow {
  display: block;
  float: none;
  width: auto;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}
html body.cws-profile-page #New_Credit_Card input[type="text"],
html body.cws-profile-page #New_Credit_Card select {
  box-sizing: border-box;
  float: none;
  max-width: 100%;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid #b9c8ce;
  border-radius: 6px;
  color: var(--cws-ink);
  background: #fff;
  font: inherit;
  line-height: 1.4;
}
html body.cws-profile-page #New_Credit_Card #new_card input[type="text"] { width: 100%; }
html body.cws-profile-page #New_Credit_Card #new_card .cws-cardholder-names {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  min-width: 0;
}
html body.cws-profile-page #New_Credit_Card #new_card #txtFirstName,
html body.cws-profile-page #New_Credit_Card #new_card #txtLastName {
  display: block;
  width: 100% !important;
  height: 44px;
  min-width: 0;
  margin: 0 !important;
}
html body.cws-profile-page .cws-cardholder-names input::placeholder { color: #697a84; opacity: 1; }
html body.cws-profile-page #New_Credit_Card #new_card #ddlStateProv { width: calc(65% - 6px); margin-right: 12px; }
html body.cws-profile-page #New_Credit_Card #new_card #txtCountry { width: calc(35% - 6px) !important; display: inline-block; }
html body.cws-profile-page #ccInformation #divGlobalPayCVV2 { width: 210px; padding-left: 18px; white-space: nowrap; }
html body.cws-profile-page #New_Credit_Card #txtCardNumb { width: 100%; }
html body.cws-profile-page #New_Credit_Card #txtCvv2NewCard { width: 64px; margin: 0 6px; vertical-align: middle; }
html body.cws-profile-page #ccInformation select { margin-right: 8px !important; }

/* Wide editable grids scroll inside their card rather than squeezing phone fields. */
html body.cws-profile-page .cws-profile-grid-scroll {
  margin: 0 22px;
  padding: 0 0 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-color: #aabfc7 #edf3f5;
  scrollbar-width: thin;
}
html body.cws-profile-page .cws-profile-grid-scroll .mGrid {
  width: 100%;
  margin: 0;
  border: 1px solid var(--cws-line);
  border-radius: 4px;
  table-layout: auto;
  box-shadow: none;
}
html body.cws-profile-page #gvContactInformation { min-width: 1380px; }
html body.cws-profile-page #gvContactNotification { min-width: 1100px; }
html body.cws-profile-page .mGrid th {
  padding: 13px 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
}
html body.cws-profile-page .mGrid td {
  padding: 12px;
  color: var(--cws-ink);
  font-size: 15px;
  font-weight: 400;
  vertical-align: middle;
}
html body.cws-profile-page #gvContactInformation th:nth-child(-n+3),
html body.cws-profile-page #gvContactInformation td:nth-child(-n+3) { min-width: 86px; }
html body.cws-profile-page #gvContactInformation th:nth-child(4),
html body.cws-profile-page #gvContactInformation td:nth-child(4) { min-width: 90px; }
html body.cws-profile-page #gvContactInformation th:nth-child(5),
html body.cws-profile-page #gvContactInformation td:nth-child(5),
html body.cws-profile-page #gvContactInformation th:nth-child(7),
html body.cws-profile-page #gvContactInformation td:nth-child(7),
html body.cws-profile-page #gvContactInformation th:nth-child(8),
html body.cws-profile-page #gvContactInformation td:nth-child(8) { min-width: 112px; white-space: nowrap; }
html body.cws-profile-page #gvContactInformation th:nth-child(6),
html body.cws-profile-page #gvContactInformation td:nth-child(6) { min-width: 52px; }
html body.cws-profile-page #gvContactInformation th:nth-child(9),
html body.cws-profile-page #gvContactInformation td:nth-child(9) { min-width: 230px; overflow-wrap: anywhere; }
html body.cws-profile-page .contactsGrid input[type="text"] {
  box-sizing: border-box;
  display: block;
  float: none;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 42px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #b9c8ce;
  border-radius: 5px;
  background-color: #fff;
  color: var(--cws-ink);
  font: inherit;
}
html body.cws-profile-page .contactsGrid input[type="submit"],
html body.cws-profile-page .contactsGrid .gridButton {
  box-sizing: border-box;
  float: none;
  width: auto !important;
  min-width: 64px;
  max-width: none;
  height: auto !important;
  min-height: 40px;
  margin: 3px 0;
  padding: 9px 14px;
  border: 0;
  border-radius: 5px;
  background: var(--cws-teal);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: none;
}
html body.cws-profile-page #gvContactInformation td:nth-last-child(-n+2) { white-space: nowrap; }
html body.cws-profile-page #gvContactInformation tr:last-child > td { background: #f5f8f9; }
html body.cws-profile-page #gvContactNotification th,
html body.cws-profile-page #gvContactNotification td { min-width: 76px; text-align: center; }
html body.cws-profile-page #gvContactNotification th:nth-child(-n+2),
html body.cws-profile-page #gvContactNotification td:nth-child(-n+2) { text-align: left; }
html body.cws-profile-page #gvContactNotification input[type="checkbox"] {
  float: none;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  vertical-align: middle;
  accent-color: var(--cws-teal);
}

/* Native GridView Page commands, with a centered, compact numbered pager. */
html body table tr.cws-pager-row > td {
  padding: 22px 8px 12px;
  border-top: 1px solid var(--cws-line);
  background: #fff;
  text-align: center;
  color: var(--cws-ink);
  font-weight: 400;
  text-transform: none;
}
html body .cws-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin: 0 auto;
}
html body .cws-pagination a,
html body .cws-pagination span {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 42px;
  height: 42px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #c6d4da;
  border-radius: 6px;
  background: #fff;
  color: var(--cws-teal);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}
html body .cws-pagination .cws-page-step { min-width: 102px; }
html body .cws-pagination .cws-page-step:first-child::before { content: "\2039"; margin-right: 7px; font-size: 20px; }
html body .cws-pagination .cws-page-step:last-child::after { content: "\203a"; margin-left: 7px; font-size: 20px; }
html body .cws-pagination a:hover { border-color: var(--cws-teal); background: #edf8fa; color: var(--cws-navy); }
html body .cws-pagination .cws-page-number[aria-current="page"],
html body .cws-pagination span.cws-page-number {
  border-color: var(--cws-teal);
  background: var(--cws-teal);
  color: #fff;
  cursor: default;
}
html body .cws-pagination span.cws-page-step,
html body .cws-pagination .cws-page-step[disabled] { border-color: #e0e7eb; background: #f5f8f9; color: #74828c; cursor: default; pointer-events: none; }
html body .cws-page-status { margin-top: 10px; color: var(--cws-muted); font-size: 13px; font-weight: 400; line-height: 1.4; }
html body .cws-pagination a:focus-visible,
html body.cws-profile-page .cws-profile-grid-scroll:focus-visible { outline: 3px solid var(--cws-cyan); outline-offset: 3px; }

@media (max-width: 1050px) {
  html body.cws-profile-page .cws-profile-settings { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  html body.cws-profile-page { min-width: 0; }
  html body.cws-profile-page #work_area { width: calc(100% - 20px); padding: 26px 14px 36px; }
  html body.cws-profile-page .full_width > .title_bar_blk { padding: 13px 16px; }
  html body.cws-profile-page .full_width > .intro { margin-right: 16px; margin-left: 16px; }
  html body.cws-profile-page #updateCreditCard .payment_option { width: calc(100% - 28px); margin: 16px 14px !important; padding: 14px; }
  html body.cws-profile-page #new_card,
  html body.cws-profile-page #new_card > tbody,
  html body.cws-profile-page #new_card > tbody > tr,
  html body.cws-profile-page #new_card > tbody > tr > td,
  html body.cws-profile-page #ccInformation,
  html body.cws-profile-page #ccInformation > tbody,
  html body.cws-profile-page #ccInformation > tbody > tr,
  html body.cws-profile-page #ccInformation > tbody > tr > td { display: block; box-sizing: border-box; width: 100%; }
  html body.cws-profile-page #new_card td:first-child,
  html body.cws-profile-page #ccInformation td:first-child { padding: 10px 0 4px; }
  html body.cws-profile-page #ccInformation #divGlobalPayCVV2 { width: 100%; padding: 8px 0; }
  html body.cws-profile-page #New_Credit_Card #new_card #txtCountry,
  html body.cws-profile-page #New_Credit_Card #new_card #ddlStateProv { display: block; width: 100% !important; margin: 0 0 10px; }
  html body.cws-profile-page .cws-profile-grid-scroll { margin: 0 14px; }
  html body .cws-pagination { gap: 6px; }
  html body .cws-pagination .cws-page-step { min-width: 80px; }
  html body .cws-pagination a,
  html body .cws-pagination span { min-width: 36px; height: 40px; padding: 8px; }
}


/* Shared payment-name layout; only the existing adjacent name controls are wrapped. */
html body .cws-cardholder-names {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  min-width: 0;
}
html body .cws-cardholder-names input[type="text"] {
  box-sizing: border-box;
  display: block;
  float: none;
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
  height: 44px;
  min-height: 44px;
  margin: 0 !important;
  padding: 9px 12px;
  border: 1px solid #b9c8ce;
  border-radius: 6px;
  background: #fff;
  color: var(--cws-ink);
  font: inherit;
  line-height: 1.4;
}
html body .cws-cardholder-names input::placeholder { color: #697a84; opacity: 1; }

/* Header dimensions are measured locally so wrapped navigation never overlaps a table. */
:root { --cws-header-height: 176px; --cws-location-height: 50px; }
html { scroll-padding-top: calc(var(--cws-header-height) + 16px); }
html body #header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #fff;
}
html body .mGrid:not(.contactsGrid) { overflow: visible; }
html body .mGrid:not(.contactsGrid) th {
  position: sticky;
  top: var(--cws-header-height);
  z-index: 30;
  background: var(--cws-navy);
  color: #fff;
  box-shadow: 0 1px 0 var(--cws-line);
}
html body.cws-services-page div[id$="_SiteHeader"] {
  position: sticky;
  top: var(--cws-header-height);
  z-index: 40;
}
html body.cws-services-page #gvSiteList .mGrid th {
  top: calc(var(--cws-header-height) + var(--cws-location-height));
  z-index: 35;
}
@media print {
  html { scroll-padding-top: 0; }
  html body #header,
  html body .mGrid:not(.contactsGrid) th,
  html body.cws-services-page div[id$="_SiteHeader"] {
    position: static !important;
    top: auto !important;
    box-shadow: none;
  }
}


/* Focused refinements for the final checkout, reset and information pages. */
html body.cws-checkout-page #work_area { background: #fff !important; }
html body.cws-checkout-page .cws-checkout-heading {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; margin-bottom: 28px;
}
html body.cws-checkout-page .cws-checkout-heading h1 { margin-top: 0; }
html body.cws-checkout-page .cws-checkout-heading p { margin: 0; color: #596d79; }
html body.cws-checkout-page .cws-checkout-account {
  max-width: 280px; padding: 12px 16px; border-left: 3px solid var(--cws-teal);
  background: #f2f7f9; border-radius: 0 6px 6px 0;
}
html body.cws-checkout-page .cws-checkout-account .topRight {
  position: static; float: none; display: block; line-height: 1.5; text-decoration: none;
}
html body.cws-checkout-page .cws-checkout-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 340px);
  align-items: start; gap: 28px;
}
html body.cws-checkout-page .cws-checkout-content,
html body.cws-checkout-page .cws-checkout-summary { min-width: 0; }
html body.cws-checkout-page .cws-checkout-content > .description { margin: 0 0 20px; }
html body.cws-checkout-page .cws-checkout-section-title,
html body.cws-checkout-page #serviceLocation,
html body.cws-checkout-page #payment {
  box-sizing: border-box; margin: 0 !important; padding: 14px 22px !important;
  border: 1px solid var(--cws-navy); border-top: 3px solid var(--cws-cyan);
  border-radius: 6px 6px 0 0; background: var(--cws-navy) !important;
}
html body.cws-checkout-page .cws-checkout-content h2 {
  margin: 0; padding: 0; color: #fff; font-size: 19px; line-height: 1.4;
}
html body.cws-checkout-page .cws-checkout-panel {
  box-sizing: border-box; margin: 0 0 24px; padding: 22px;
  border: 1px solid var(--cws-line); border-top: 0; border-radius: 0 0 6px 6px;
  background: #fff; box-shadow: 0 3px 12px rgba(16,36,50,.04);
}
html body.cws-checkout-page .cws-checkout-content .tableForm {
  display: block; width: 100%; margin: 0; border: 0; border-spacing: 0;
}
html body.cws-checkout-page .cws-checkout-content .tableForm > tbody { display: block; }
html body.cws-checkout-page .cws-checkout-content .tableForm tr {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; margin-bottom: 18px;
}
html body.cws-checkout-page .cws-checkout-content .tableForm tr:last-child { margin-bottom: 0; }
html body.cws-checkout-page .cws-checkout-content .tableForm td {
  box-sizing: border-box; display: block; width: auto !important; min-width: 0;
  padding: 0; border: 0; text-align: left; vertical-align: top;
}
html body.cws-checkout-page .cws-checkout-content .tableForm tr.cws-checkout-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 18px;
}
html body.cws-checkout-page .cws-checkout-pair > td:nth-child(1) { grid-area: 1 / 1; }
html body.cws-checkout-page .cws-checkout-pair > td:nth-child(2) { grid-area: 2 / 1; }
html body.cws-checkout-page .cws-checkout-pair > td:nth-child(3) { grid-area: 1 / 2; }
html body.cws-checkout-page .cws-checkout-pair > td:nth-child(4) { grid-area: 2 / 2; }
html body.cws-checkout-page .cws-checkout-content label,
html body.cws-checkout-page .cws-checkout-content .label {
  float: none; display: inline; width: auto; margin: 0; padding: 0;
  color: var(--cws-ink); font-weight: 600; line-height: 1.5; text-align: left; white-space: normal;
}
html body.cws-checkout-page .cws-checkout-content input[type="text"],
html body.cws-checkout-page .cws-checkout-content input[type="email"],
html body.cws-checkout-page .cws-checkout-content select,
html body.cws-checkout-page textarea {
  box-sizing: border-box; float: none; width: 100% !important; max-width: 100%; min-width: 0;
  min-height: 44px; margin: 0; padding: 9px 12px; border: 1px solid #b9c8ce;
  border-radius: 6px; background: #fff; color: var(--cws-ink); font: inherit;
}
html body.cws-checkout-page .cws-checkout-content input::placeholder { color: #697a84; opacity: 1; }
html body.cws-checkout-page .cws-checkout-content input:focus,
html body.cws-checkout-page .cws-checkout-content select:focus,
html body.cws-checkout-page textarea:focus {
  outline: 2px solid rgba(0,107,133,.2); outline-offset: 1px; border-color: var(--cws-teal);
}
html body.cws-checkout-page #mailingAddress { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--cws-line); }
html body.cws-checkout-page .checkboxlist { display: inline; float: none; }
html body.cws-checkout-page .checkboxlist label { font-weight: 400; }
html body.cws-checkout-page .checkboxlist input { margin-right: 7px; vertical-align: middle; }
html body.cws-checkout-page .cws-checkout-panel > table:not(.tableForm),
html body.cws-checkout-page .cws-checkout-panel > table:not(.tableForm) > tbody,
html body.cws-checkout-page .cws-checkout-panel > table:not(.tableForm) tr,
html body.cws-checkout-page .cws-checkout-panel > table:not(.tableForm) td {
  display: block; width: 100% !important; padding: 0; white-space: normal !important;
}
html body.cws-checkout-page textarea { min-height: 88px; margin-top: 7px; resize: vertical; }
html body.cws-checkout-page #mapContainer { margin-top: 16px; }
html body.cws-checkout-page #map { margin-top: 12px; border: 1px solid var(--cws-line); border-radius: 6px; }
html body.cws-checkout-page #cashOnDemand > div:first-child { margin-bottom: 18px; }
html body.cws-checkout-page #rowExpiration select { display: inline-block; width: auto !important; min-width: 85px; margin-right: 8px; }
html body.cws-checkout-page #txtCVV2 { display: inline-block; width: 90px !important; margin-right: 8px; }
html body.cws-checkout-page .cvv2_helplnk { display: inline-block; float: none; vertical-align: middle; }
html body.cws-checkout-page .cws-checkout-names {
  display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
html body.cws-checkout-page .cws-checkout-names > div { width: auto !important; min-width: 0; padding: 0 !important; }
html body.cws-checkout-page #btnCheckout { display: block; width: 100% !important; margin: 24px 0 0 !important; }
html body.cws-checkout-page .cws-checkout-summary-card {
  margin: 0 0 20px; overflow: hidden; border: 1px solid var(--cws-line); border-radius: 6px; background: #fff;
}
html body.cws-checkout-page .cws-checkout-summary-card h2 {
  margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--cws-line); background: #edf5f7;
  color: var(--cws-navy); font-size: 19px; line-height: 1.4;
}
html body.cws-checkout-page .cws-checkout-summary-body { padding: 16px 18px; }
html body.cws-checkout-page .cws-checkout-summary table { width: 100%; border-collapse: collapse; }
html body.cws-checkout-page .cws-checkout-summary td { padding: 6px 0; vertical-align: top; line-height: 1.5; }
html body.cws-checkout-page .cws-checkout-summary td:first-child { padding-right: 12px; }
html body.cws-checkout-page .cws-checkout-summary td b { font-weight: 500; }
html body.cws-checkout-page .cws-checkout-summary label {
  float: none; display: inline; width: auto; margin: 0; padding: 0; color: #596d79;
  font-weight: 400; text-align: left; line-height: 1.5;
}
html body.cws-checkout-page #gvPaymentSummary { width: 100% !important; min-width: 0 !important; margin: 0 !important; }
html body.cws-checkout-page #gvPaymentSummary tr:last-child td {
  padding-top: 14px; border-top: 2px solid var(--cws-line); color: var(--cws-navy); font-size: 18px; font-weight: 700;
}

html body.cws-reset-page #selectCompany_form { float: none; width: 100%; max-width: 700px; margin: 0; }
html body.cws-reset-page #selectCompany_form > .intro { margin: 0; padding: 18px 24px; }
html body.cws-reset-page #selectCompany_form > .frm_error_lbl { margin: 0 24px; }
html body.cws-reset-page .cws-reset-fields { display: grid; gap: 20px; padding: 18px 24px 26px; }
html body.cws-reset-page .cws-reset-field label,
html body.cws-reset-page .cws-reset-label {
  display: block; float: none; width: auto; margin: 0 0 7px; padding: 0;
  font-weight: 600; color: var(--cws-ink); text-align: left;
}
html body.cws-reset-page .cws-reset-field .textfield {
  box-sizing: border-box; float: none; width: 100% !important; max-width: 100%;
  min-height: 44px; margin: 0; padding: 10px 12px; border: 1px solid #b9c8ce; border-radius: 6px;
}
html body.cws-reset-page .cws-reset-field input:disabled { background: #f2f6f8; color: #596d79; }
html body.cws-reset-page .cws-reset-question { margin: 0; padding: 12px 14px; border-left: 3px solid var(--cws-teal); background: #f2f7f9; }
html body.cws-reset-page .cws-reset-actions .default_button { float: none; width: auto !important; margin: 0 !important; padding: 12px 22px; }

html body.cws-payment-error-page .cws-payment-notice {
  box-sizing: border-box; max-width: 820px; margin: 24px 0; padding: 24px 28px;
  border: 1px solid #e6d4ca; border-left: 4px solid #e58a36; border-radius: 6px;
  background: #fffaf6; color: var(--cws-ink);
}
html body.cws-payment-error-page .cws-payment-message { margin: 0; font-size: 16px; line-height: 1.75; }
html body.cws-payment-error-page .cws-payment-error-details { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid #e6d4ca; overflow-wrap: anywhere; }
html body.cws-payment-error-page .cws-payment-error-details[hidden] { display: none !important; }

html body.cws-legal-page { min-width: 0; background: #edf3f5; }
html body.cws-legal-page .cws-legal-layout { box-sizing: border-box; max-width: 960px; margin: 32px auto; padding: 0 24px; }
html body.cws-legal-page .cws-legal-logo { display: block; width: 250px; max-width: 70%; height: auto; margin: 0 0 24px; }
html body.cws-legal-page .cws-legal-card {
  padding: 30px 34px; border: 1px solid var(--cws-line); border-top: 3px solid var(--cws-cyan);
  border-radius: 6px; background: #fff; box-shadow: 0 4px 18px rgba(16,36,50,.05);
}
html body.cws-legal-page .cws-legal-card h1 { margin-top: 0; }
html body.cws-legal-page #txtLegal { line-height: 1.75; overflow-wrap: anywhere; }
html body.cws-legal-page #txtLegal > :last-child { margin-bottom: 0; }
html body.cws-legal-page .cws-legal-empty { padding: 16px 18px; border: 1px solid var(--cws-line); border-radius: 6px; background: #f2f7f9; line-height: 1.7; }
html body.cws-legal-page .cws-legal-empty[hidden] { display: none !important; }

@media (max-width: 1000px) {
  html body.cws-checkout-page .cws-checkout-layout { grid-template-columns: minmax(0, 1fr); }
  html body.cws-checkout-page .cws-checkout-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  html body.cws-checkout-page .cws-checkout-summary-card { margin: 0; }
  html body.cws-checkout-page .cws-checkout-summary-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  html body.cws-checkout-page .cws-checkout-heading { display: block; }
  html body.cws-checkout-page .cws-checkout-account { max-width: none; margin-top: 20px; }
  html body.cws-checkout-page .cws-checkout-panel { padding: 18px 16px; }
  html body.cws-checkout-page .cws-checkout-section-title,
  html body.cws-checkout-page #serviceLocation,
  html body.cws-checkout-page #payment { padding: 12px 16px !important; }
  html body.cws-checkout-page .cws-checkout-summary { grid-template-columns: minmax(0, 1fr); }
  html body.cws-checkout-page .cws-checkout-content .tableForm tr.cws-checkout-pair { gap: 7px 12px; }
  html body.cws-reset-page .cws-reset-fields { padding: 16px 18px 22px; }
  html body.cws-payment-error-page .cws-payment-notice { padding: 20px; }
  html body.cws-legal-page .cws-legal-layout { margin: 20px auto; padding: 0 14px; }
  html body.cws-legal-page .cws-legal-card { padding: 24px 20px; }
}
@media print {
  html body.cws-checkout-page .cws-checkout-layout { display: block; }
  html body.cws-legal-page .cws-legal-card { border: 0; padding: 0; box-shadow: none; }
}
