/* Shared employee workspace, with a separate scoped header on underwriting. */
.ws .ws-brand-label { line-height: 1.25; }
.ws-brand-label small, .ws-brand-label strong { display: block; }
.ws .ws-brand-label small, .ws .ws-brand-label strong { font-size: 12px; font-weight: 400; color: var(--muted); }
.ws .ws-record-types { position: static; top: auto; z-index: auto; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px; margin: 0 0 24px; padding: 0; background: transparent; box-shadow: none; }
.ws .ws-record-types a { margin: 0; padding: 9px 15px; border: 1px solid var(--line); border-radius: 6px; background: white; font-size: 14px; font-weight: 600; }
.ws .ws-record-types a[aria-current] { color: white; background: var(--green); border-color: var(--green); }
.ws-record-search { display: flex; gap: 10px; margin-bottom: 22px; }
.ws-record-search input { min-width: 0; flex: 1; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; }
.ws-record-list { margin-bottom: 20px; }
.ws .ws-record-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.ws-record-row strong, .ws-record-row small { display: block; }
.ws-record-row small { color: var(--muted); margin-top: 3px; }
.ws-record-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.ws-record-section h2 { border-bottom: 2px solid var(--line); padding-bottom: 16px; }
.ws-record-section dl { margin: 0; }
.ws-record-field { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ws-record-field dt { font-weight: 600; }
.ws-record-field dt small { display: block; font-size: 10px; font-weight: 400; color: var(--muted); }
.ws-record-field dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.ws-record-notes { display: block; padding: 16px; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; margin: 12px 0; }
.ws-record-notes dd { margin-top: 8px; }
@media(max-width: 760px) {
  .ws-record-sections { grid-template-columns: 1fr; }
  .ws-record-field { gap: 12px; }
  .ws-record-search { flex-wrap: wrap; }
  .ws .ws-record-types { gap: 6px; }
  .ws .ws-record-types a { padding: 8px 10px; font-size: 12px; }
}
body.ws {
  --paper: #f6f5f1;
  --ink: #183b30;
  --muted: #68776f;
  --line: #dfe4dc;
  --green: #007c48;
  --soft: #edf3ec;
  --white: #fff;
  background: var(--paper) !important;
  color: var(--ink);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100vh;
  display: block;
  text-align: left;
}
.ws * {
  box-sizing: border-box;
}
.ws [hidden] {
  display: none !important;
}
.ws a {
  color: var(--green);
  text-decoration: none;
}
.ws a:hover {
  text-decoration: underline;
}
.ws button,
.ws input,
.ws select,
.ws textarea {
  font: inherit;
}
.ws button,
.ws summary {
  cursor: pointer;
}
.ws button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.ws :focus-visible {
  outline: 3px solid #78ae94;
  outline-offset: 3px;
}
.ws h1,
.ws h2,
.ws h3,
.ws h4 {
  color: var(--ink);
  text-transform: none;
  text-shadow: none;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-align: left;
}
.ws h1 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  margin: 0 0 9px;
}
.ws h2 {
  font-size: 19px;
  margin: 0;
  font-weight: 650;
}
.ws h3 {
  font-size: 15px;
  margin: 0 0 12px;
  font-weight: 650;
}
.ws p {
  margin: 0 0 12px;
}
.ws small {
  font-size: 12px;
}
.ws hr {
  border: 0;
  border-top: 1px solid var(--line);
}
.ws svg {
  flex-shrink: 0;
}
.ws-icon {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ws .ws-muted,
.ws .ws-help,
.ws .ws-subtitle {
  color: var(--muted);
}
.ws .ws-help {
  font-size: 12px;
  line-height: 1.5;
  margin: 5px 0 0;
}
.ws .ws-subtitle {
  font-size: 15px;
  margin: 6px 0 0;
}
.ws .ws-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.ws-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.ws-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.ws-nav-inner {
  max-width: 1360px;
  padding: 0 42px;
  margin: auto;
  height: 73px;
  display: flex;
  align-items: center;
  gap: 42px;
}
.ws .ws-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex-shrink: 0;
  text-decoration: none;
}
.ws-brand b {
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -2px;
  color: var(--green);
}
.ws-brand span {
  border-left: 1px solid var(--line);
  padding-left: 12px;
  font-size: 12px;
  letter-spacing: 0.03em;
}
.ws .ws-desktop-nav {
  position: static;
  width: auto;
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 25px;
  padding: 0;
  margin: 0;
  background: none;
  box-shadow: none;
}
.ws .ws-desktop-nav a {
  font-size: 12px;
  font-weight: 600;
  margin: 0;
  padding: 26px 0 23px;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  text-decoration: none;
}
.ws .ws-desktop-nav a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--green);
}
.ws-nav-account {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.ws .ws-admin-link {
  color: var(--muted);
  font-size: 12px;
}
.ws-account {
  position: relative;
}
.ws-account > summary {
  display: flex;
  align-items: center;
  gap: 7px;
  list-style: none;
}
.ws summary::-webkit-details-marker {
  display: none;
}
.ws-avatar {
  width: 32px;
  height: 32px;
  background: var(--soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.ws-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 8px 28px #183b3014;
  padding: 7px;
  z-index: 110;
}
.ws .ws-menu > a,
.ws .ws-menu > strong,
.ws .ws-menu > button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 12px;
  color: var(--ink);
  font-size: 13px;
  border-radius: 4px;
  border: 0;
  background: transparent;
  line-height: 1.4;
}
.ws-menu > strong {
  border-bottom: 1px solid var(--line);
}
.ws .ws-menu > a:hover,
.ws .ws-menu > button:hover {
  background: var(--soft);
  text-decoration: none;
}
.ws-menu small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 11px;
  margin-top: 3px;
}
.ws .ws-mobile-nav {
  display: none;
}
.ws-skip {
  position: fixed;
  left: 15px;
  top: -60px;
  z-index: 300;
  padding: 12px;
  background: #fff;
}
.ws-skip:focus {
  top: 8px;
}
.ws-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 42px 50px;
}
.ws-page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 29px;
}
.ws-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}
.ws-panel {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 9px;
  padding: 24px;
  box-shadow: 0 3px 14px #183b3009;
}
.ws-button,
.ws button.ws-button,
.ws a.ws-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: none;
  transform: none;
}
.ws .ws-primary {
  color: white;
  background: var(--green);
}
.ws .ws-primary:hover {
  background: #06633e;
}
.ws .ws-button-outline {
  background: #fff;
  color: var(--ink);
  border-color: #cdd7cc;
}
.ws .ws-button-outline:hover {
  background: var(--soft);
}
.ws .ws-icon-button {
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 6px;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 4px;
  box-shadow: none;
}
.ws .ws-icon-button:hover {
  background: var(--soft);
}
.ws-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}
.ws-text-link .ws-icon {
  width: 15px;
  height: 15px;
}
.ws form {
  margin: 0;
  box-shadow: none;
  background: none;
  padding: 0;
  max-width: none;
  border: 0;
  border-radius: 0;
}
.ws
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not(
    [type="submit"]
  ),
.ws select,
.ws textarea {
  width: 100%;
  min-width: 0;
  max-width: none;
  border: 1px solid #ccd5cc;
  border-radius: 5px;
  min-height: 41px;
  padding: 9px 12px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  box-shadow: none;
  transform: none;
}
.ws label {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.ws .ws-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
  margin: 0;
  min-width: 0;
}
.ws .ws-search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  border: 1px solid #ccd5cc;
  border-radius: 5px;
  background: #fff;
  padding: 0 12px;
  color: #8d9b90;
}
.ws .ws-search-field input {
  border: 0 !important;
  padding-left: 0 !important;
  outline-offset: 0;
}
.ws .ws-resource-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 310px;
  border-bottom: 1px solid #cbd4c9;
  padding-bottom: 4px;
  color: var(--muted);
}
.ws .ws-resource-search input {
  border: 0 !important;
  background: transparent !important;
  font-size: 12px !important;
  padding: 5px !important;
}
.ws-create {
  position: relative;
}
.ws-create summary {
  list-style: none;
}
.ws-create summary .ws-icon {
  width: 13px;
}
.ws .ws-type-filters {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  gap: 7px;
}
.ws-type-filters label {
  position: relative;
}
.ws-type-filters input {
  position: absolute;
  opacity: 0;
}
.ws-type-filters span {
  display: block;
  padding: 4px 13px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  color: var(--muted);
}
.ws-type-filters input:checked + span {
  background: var(--soft);
  border-color: #cddbcc;
  color: var(--ink);
}
.ws-type-filters input:focus-visible + span {
  outline: 2px solid var(--green);
}
.ws-home-work {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(300px, 1fr);
  gap: 26px;
}
.ws-daily-work {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.ws-lookup-card {
  padding: 25px 27px;
}
.ws-lookup-form {
  display: grid !important;
  grid-template-columns: 1fr auto;
  gap: 14px !important;
}
.ws-lookup-form .ws-type-filters {
  grid-column: 1/-1;
}
.ws-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.ws-state-card {
  background: #ebf0e7;
  border: 1px solid #dce4d6;
  border-radius: 8px;
  padding: 21px 26px;
}
.ws-with-icon {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ws-with-icon > .ws-icon {
  width: 26px;
  height: 26px;
}
.ws-state-form {
  display: grid !important;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px !important;
  align-items: end;
  position: relative;
}
.ws-state-form .ws-state-error {
  grid-column: 1/-1;
  margin: 0;
}
.ws-state-error:empty {
  display: none;
}
.ws-source {
  font-size: 10px;
  color: var(--muted) !important;
  display: block;
  margin-top: 10px;
}
.ws-availability {
  padding: 22px;
}
.ws-availability h2 {
  font-size: 17px;
}
.ws-availability-section {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.ws-availability-section h3 {
  font-size: 12px;
  margin: 0 0 10px;
}
.ws-between {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.ws-between strong {
  font-size: 13px;
}
.ws-toggle-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 0 8px;
  font-weight: 500 !important;
}
.ws-toggle-line input[type="checkbox"] {
  appearance: none;
  width: 33px;
  height: 19px;
  min-width: 33px;
  border-radius: 12px;
  background: #c3cdc3;
  position: relative;
  cursor: pointer;
  margin: 0;
}
.ws-toggle-line input:before {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.12s;
}
.ws-toggle-line input:checked {
  background: var(--green);
}
.ws-toggle-line input:checked:before {
  transform: translateX(14px);
}
.ws-queue-settings {
  margin-top: 15px;
  font-size: 11px;
  color: var(--muted);
}
.ws-queue-settings > div {
  margin-top: 12px;
}
.ws-queue-settings summary {
  padding: 4px 0;
}
.ws-queue-settings .ws-toggle-line {
  font-size: 11px;
}
.ws-phone-link {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  font-size: 12px;
  color: var(--ink) !important;
}
.ws-phone-link .ws-icon:last-child {
  margin-left: auto;
}
.ws-status:empty {
  display: none;
}
.ws-status {
  margin-bottom: 12px !important;
}
.ws-home-reference {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(300px, 1fr);
  gap: 26px;
  margin: 35px 0 30px;
}
.ws-home-reference h2,
.ws-tools-strip h2 {
  font-size: 16px;
}
.ws-resource-list {
  border-top: 1px solid var(--line);
}
.ws .ws-resource {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 17px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  min-height: 64px;
  text-decoration: none;
}
.ws .ws-resource:hover {
  background: #edf1e9;
}
.ws-resource > .ws-icon:first-child {
  color: #64836d;
}
.ws-resource > span:first-of-type {
  flex: 1;
}
.ws-resource strong {
  font-size: 13px;
  font-weight: 600;
}
.ws-resource small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}
.ws-resource > .ws-icon:last-child {
  width: 15px;
  color: #849385;
}
.ws-tag {
  font-size: 10px;
  color: var(--muted);
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid var(--line);
  white-space: nowrap;
}
.ws-company-panel {
  padding: 0 0 0 25px;
  border-left: 1px solid var(--line);
}
.ws-company-panel h2 {
  margin-bottom: 18px;
}
.ws-resource-compact {
  padding: 11px 2px !important;
  min-height: 44px !important;
}
.ws-tools-strip {
  padding-top: 25px;
  border-top: 1px solid #cdd6cc;
}
.ws-tools-groups {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 26px;
}
.ws-tools-groups p:not(.ws-eyebrow) {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 6px;
}
.ws-inline-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}
.ws-inline-links a {
  font-size: 12px;
  color: var(--ink);
}
.ws .ws-footer {
  max-width: 1196px;
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  background: none;
}
.ws-footer a {
  color: var(--muted);
}
.ws-knowledge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 50px;
  margin-top: 35px;
}
.ws-resource-finder {
  max-width: 630px;
}
.ws-system-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0 30px;
}
.ws-system-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 13px 18px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}
.ws-filter-bar {
  display: flex !important;
  align-items: end;
  gap: 12px !important;
  margin-bottom: 22px !important;
  flex-wrap: wrap;
}
.ws-filter-bar .ws-search-field {
  flex: 1;
  min-width: 150px;
}
.ws-vendor-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.ws-vendor-row h3 {
  margin: 0 0 3px;
  font-size: 14px;
}
.ws-vendor-row p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
  overflow-wrap: anywhere;
}
.ws-empty {
  padding: 30px;
  text-align: center !important;
  border: 1px dashed #cdd7cc;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  margin: 20px 0 !important;
}
.ws-error,
.ws .error {
  background: #fff2ed;
  color: #944627;
  border: 1px solid #eccfc1;
  border-radius: 5px;
  padding: 12px;
  text-shadow: none;
  font-size: 13px;
}
.ws-dialog {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0;
  width: min(530px, calc(100% - 32px));
  max-height: 90dvh;
  color: var(--ink);
  box-shadow: 0 20px 80px #132d2522;
}
.ws-dialog::backdrop {
  background: #10281f70;
}
.ws .ws-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
}
.ws-dialog-head .ws-eyebrow {
  margin-bottom: 5px;
}
.ws-dialog-body {
  padding: 24px;
}
.ws-dialog-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  flex-wrap: wrap;
}
.ws-copy-field {
  display: flex;
  gap: 7px;
  min-width: 0;
  margin-bottom: 18px;
}
.ws-copy-field input {
  flex: 1;
  width: 0 !important;
}
.ws-copy-field .ws-button {
  padding: 7px 10px;
}
.ws-toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  border-radius: 6px;
  padding: 11px 20px;
  font-size: 13px;
  z-index: 300;
  max-width: calc(100vw - 40px);
}
.ws-toast:empty {
  display: none;
}
.ws-reference-links {
  margin-top: 35px;
}
.ws-state-full {
  max-width: 800px;
  margin-bottom: 25px;
}
.ws-jurisdiction-record {
  margin-bottom: 14px;
}
.ws-jurisdiction-record .ws-system-links {
  margin-bottom: 0;
}
.ws-county-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.ws-county-section {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  min-width: 0;
}
.ws-county-section h3 {
  margin: 0 0 18px;
  font-size: 15px;
}
.ws-county-details {
  display: grid;
  gap: 16px;
  margin: 0 0 18px;
}
.ws-county-detail dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
}
.ws-county-detail dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.6;
}
.ws-county-references {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 700px) {
  .ws-county-grid,
  .ws-county-references {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ws-county-references {
    gap: 18px;
  }
  .ws-jurisdiction-record .ws-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
/* Legacy screens share the shell while preserving their existing workflows. */
.ws-legacy .container {
  max-width: none;
  padding: 0;
  margin: 0;
  background: none;
  box-shadow: none;
  border: 0;
}
.ws-legacy .modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: #10281f70;
  overflow: auto;
  padding: 20px 0;
}
.ws-legacy .modal-content {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 20px 80px #132d2522;
  width: min(640px, calc(100% - 32px));
  max-width: 760px;
  max-height: calc(100dvh - 40px);
  overflow: auto;
  margin: 0 auto;
  padding: 25px;
  animation: none;
  transform: none;
}
.ws-legacy .modal-content h3 {
  font-size: 20px;
  color: var(--ink);
  text-align: left;
  margin: 0 30px 20px 0;
}
.ws-legacy .modal-content p,
.ws-legacy .modal-content label {
  color: var(--ink);
  text-shadow: none;
  font-size: 13px;
}
.ws-legacy .modal-content button,
.ws-legacy button.create-contact-btn,
.ws-legacy input[type="submit"] {
  border: 1px solid var(--green);
  border-radius: 5px;
  background: var(--green);
  color: white;
  padding: 10px 16px;
  font-size: 13px;
  box-shadow: none;
  transform: none;
}
.ws-legacy .modal-content button:hover {
  background: #06633e;
  transform: none;
}
.ws-legacy .close {
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
  float: right;
}
.ws-legacy .modal-content form {
  display: block;
}
.ws-legacy .modal-content input,
.ws-legacy .modal-content select {
  margin: 5px 0 12px;
}
.ws-legacy .modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.ws-legacy .lookup-box {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.ws-legacy table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  background: white;
  font-size: 12px;
  color: var(--ink);
}
.ws-legacy th {
  background: #edf2eb;
  color: var(--muted);
  padding: 12px;
  text-align: left;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  border-bottom: 1px solid var(--line);
}
.ws-legacy td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  word-break: normal;
}
.ws-legacy tr:hover {
  background: #f6f8f3;
  transform: none;
}
.ws-legacy .modal-content li {
  color: var(--ink);
}
.ws-legacy .loading-modal {
  z-index: 200;
  background: #10281f70;
}
.ws-legacy .loading-content {
  background: #fff;
  border-radius: 8px;
  color: var(--ink);
}
.ws-legacy .loading-content p {
  color: var(--ink);
}
.ws-lookup-results {
  margin-top: 24px;
}
.ws-result {
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
}
.ws-result .ws-tag {
  align-self: start;
  justify-self: start;
  margin-top: 3px;
}
.ws-result h3 {
  font-size: 16px;
  margin-bottom: 5px;
}
.ws-result p {
  font-size: 12px;
  margin: 0 0 6px;
  color: var(--muted);
}
.ws-result-links {
  display: flex;
  gap: 10px 20px;
  flex-wrap: wrap;
  font-size: 12px;
}
.ws-result .ws-record-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.ws-result-filters {
  margin-top: 18px !important;
}
.ws-result-count {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 10px;
}
.ws-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 25px;
}
.ws-stat {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  padding: 20px;
}
.ws-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin: 8px 0;
}
.ws-stat span,
.ws-stat small {
  color: var(--muted);
  font-size: 12px;
}
.ws-operations {
  margin-bottom: 26px;
}
.ws-operations-status {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.ws-live-badge {
  font-size: 11px;
  border: 1px solid #bfd6c5;
  background: var(--soft);
  color: #376c46;
  padding: 5px 9px;
  border-radius: 4px;
}
.ws .ws-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.ws .ws-table-wrap table {
  margin: 0;
}
.ws-team-name {
  font-weight: 650;
}
.ws-team-detail {
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
.ws-team-detail .ws-field {
  margin: 12px 0;
}
.ws-team-detail input[type="checkbox"] {
  width: auto;
}
.ws-distribution-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(270px, 1fr);
  gap: 24px;
  margin-top: 26px;
}
.ws-forecast-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ws-forecast-list span {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px 9px;
  font-size: 11px;
}
.ws-audit-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ws-audit-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.ws-audit-list small {
  display: block;
  color: var(--muted);
}
@media (max-width: 1100px) {
  .ws-nav-inner {
    padding: 0 24px;
    gap: 25px;
  }
  .ws-desktop-nav {
    gap: 17px !important;
  }
  .ws-brand span {
    display: none;
  }
  .ws-main {
    padding: 28px 25px 45px;
  }
  .ws-home-work,
  .ws-home-reference {
    gap: 20px;
    grid-template-columns: minmax(0, 1.6fr) minmax(290px, 1fr);
  }
  .ws-state-form {
    grid-template-columns: 1fr 1fr;
  }
  .ws-state-form > .ws-button {
    grid-column: 1/-1;
    justify-self: end;
  }
  .ws .ws-footer {
    margin: 0 25px;
  }
}
@media (max-width: 760px) {
  .ws-nav-inner {
    height: 60px;
    padding: 0 20px;
  }
  .ws-brand span {
    display: block;
  }
  .ws .ws-desktop-nav,
  .ws-admin-link {
    display: none !important;
  }
  .ws-main {
    padding: 25px 20px 36px;
  }
  .ws-page-head {
    display: block;
    margin-bottom: 23px;
  }
  .ws-page-head > div + .ws-button {
    margin-top: 15px;
  }
  .ws .ws-resource-search {
    width: 100%;
    margin-top: 18px;
  }
  .ws-home-work,
  .ws-home-reference,
  .ws-tools-groups,
  .ws-knowledge-grid,
  .ws-distribution-layout {
    grid-template-columns: 1fr;
  }
  .ws-home-work .ws-availability {
    order: -1;
  }
  .ws-home-work {
    gap: 20px;
  }
  .ws-availability {
    padding: 20px;
  }
  .ws-availability .ws-section-head {
    margin-bottom: 8px;
  }
  .ws-availability-section {
    padding: 12px 0;
  }
  .ws-queue-settings {
    margin-top: 9px;
  }
  .ws-lookup-card {
    padding: 21px;
  }
  .ws-state-card {
    padding: 20px;
  }
  .ws-home-reference {
    margin: 28px 0;
    gap: 30px;
  }
  .ws-company-panel {
    padding: 0;
    border: 0;
  }
  .ws-tools-groups {
    gap: 23px;
  }
  .ws-tools-strip {
    padding-top: 23px;
  }
  .ws-inline-links {
    gap: 25px;
  }
  .ws .ws-mobile-nav {
    display: flex;
    flex-direction: row;
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    margin: 0;
    padding: 8px 16px max(8px, env(safe-area-inset-bottom));
    height: 65px;
    background: #fff;
    border-top: 1px solid var(--line);
    z-index: 120;
    box-shadow: none;
    justify-content: space-around;
    align-items: center;
  }
  .ws .ws-mobile-nav > a,
  .ws .ws-mobile-nav > button {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.3;
    border: 0;
    background: none;
    color: var(--muted);
    margin: 0;
    padding: 3px 18px;
    min-height: 42px;
    box-shadow: none;
    text-decoration: none;
  }
  .ws .ws-mobile-nav [aria-current="page"] {
    color: var(--green);
  }
  .ws {
    padding-bottom: 65px !important;
  }
  .ws-account > .ws-menu {
    position: fixed;
    top: 62px;
    right: 16px;
    max-height: calc(100dvh - 145px);
    overflow: auto;
    width: min(310px, calc(100vw - 32px));
  }
  .ws-card-footer {
    align-items: start;
  }
  .ws-card-footer small {
    font-size: 10px;
  }
  .ws-card-footer a {
    font-size: 11px;
  }
  .ws-resource .ws-tag {
    display: none;
  }
  .ws-footer {
    padding-bottom: 24px !important;
    gap: 10px;
  }
  .ws-toast {
    bottom: 80px;
    width: max-content;
  }
  .ws-panel {
    padding: 20px;
  }
  .ws-vendor-row {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .ws-vendor-row > div {
    grid-column: 1/-1;
  }
  .ws-vendor-row > .ws-text-link {
    justify-self: start;
  }
  .ws-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .ws-stat {
    padding: 16px;
  }
  .ws-stat strong {
    font-size: 25px;
  }
  .ws-copy-field .ws-button {
    font-size: 11px;
  }
  .ws-copy-field {
    gap: 5px;
  }
  .ws-dialog-body {
    padding: 20px;
  }
  .ws-legacy .modal-content {
    padding: 20px;
  }
  .ws-legacy .lookup-box {
    flex-wrap: wrap;
  }
  .ws-result {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .ws-result .ws-tag {
    font-size: 9px;
  }
  .ws .ws-mobile-cards table,
  .ws .ws-mobile-cards tbody,
  .ws .ws-mobile-cards tr,
  .ws .ws-mobile-cards td {
    display: block;
    width: 100%;
  }
  .ws .ws-mobile-cards thead {
    display: none;
  }
  .ws .ws-mobile-cards tr {
    padding: 12px 17px;
    border-bottom: 1px solid var(--line);
  }
  .ws .ws-mobile-cards td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    border: 0;
    font-size: 12px;
    text-align: right;
  }
  .ws .ws-mobile-cards td:before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 11px;
    flex-shrink: 0;
    text-align: left;
  }
  .ws .ws-mobile-cards td[colspan] {
    display: block;
    text-align: left;
  }
  .ws .ws-mobile-cards td[colspan]:before {
    display: none;
  }
  .ws-mobile-cards td > div {
    min-width: 0;
  }
  .ws .ws-mobile-cards .ws-team-detail {
    text-align: left;
  }
  .ws .ws-mobile-cards .ws-team-detail input {
    max-width: 190px;
  }
  .ws-knowledge-grid {
    gap: 30px;
  }
  .ws-filter-bar .ws-field {
    flex: 1 1 130px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ws * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.ws .ws-button.ws-button-outline {
  border-color: #cdd7cc;
}

.ws .ws-autocomplete-field { position: relative; }
.ws-lookup-suggestions {
  position: absolute; z-index: 60; top: calc(100% + 7px); left: -1px; right: -1px;
  min-width: min(360px, calc(100vw - 64px)); background: #fff;
  border: 1px solid #bacaba; border-radius: 8px;
  box-shadow: 0 12px 28px #173c2421; color: var(--ink); overflow: hidden;
}
.ws-lookup-suggestions [role="listbox"] { max-height: min(420px, 48vh); overflow-y: auto; }
.ws-suggestion { padding: 13px 15px; cursor: pointer; border-bottom: 1px solid var(--line); }
.ws-suggestion:hover, .ws-suggestion[aria-selected="true"] { background: #edf5e9; }
.ws-suggestion[aria-selected="true"] { box-shadow: inset 3px 0 var(--green); }
.ws-suggestion-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ws-suggestion-heading strong { font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.ws-suggestion-heading .ws-tag { flex: none; text-transform: capitalize; }
.ws-suggestion-detail { display: block; font-size: 12px; color: var(--muted); margin: 4px 0; overflow-wrap: anywhere; }
.ws .ws-match-label { display: block; font-size: 11px; color: #38663c; margin: 4px 0; }
.ws .ws-match-similar { color: #90621e; }
.ws .ws-suggestion-status { font-size: 11px; color: var(--muted); padding: 10px 15px; margin: 0; }
.ws button.ws-suggestion-all { width: 100%; border: 0; border-radius: 0; margin: 0; padding: 12px 15px; text-align: left; background: #f4f6ef; color: var(--green); font-size: 12px; }
.ws-lookup-hint { margin-top: 15px; margin-bottom: 0; }
.ws-lookup-paging { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; margin: 20px 0; }
@media (max-width: 600px) {
  .ws-lookup-suggestions { min-width: 0; width: calc(100vw - 86px); max-width: calc(100vw - 64px); }
  .ws-suggestion-heading { flex-wrap: wrap; gap: 5px; }
}

/* MIC Central company cards and shared editor. */
.ws .ws-brand-mobile { display: none; }
.ws .ws-brand span { display: block; }
.ws-deal-tabs, .ws-record-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ws-deal-tabs { margin: 16px 0; }
.ws-deal-tabs .ws-hubspot-link { margin-left: auto; }
.ws-home-reference { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ws-home-reference > .ws-panel { border-top: 3px solid #bfd1c1; }
.ws-home-reference .ws-section-head { min-height: 40px; }
/* Compact home cards without shrinking form controls or changing other pages. */
.ws-home .ws-main { padding: 24px 32px 36px; }
.ws-home .ws-page-head { margin-bottom: 20px; }
.ws-home .ws-home-work { gap: 18px; align-items: start; }
.ws-home .ws-daily-work { gap: 16px; }
.ws-home .ws-panel, .ws-home .ws-state-card { padding: 18px 20px; }
.ws-home .ws-section-head { margin-bottom: 12px; }
.ws-home .ws-lookup-form { gap: 10px !important; }
.ws-home .ws-card-footer { margin-top: 14px; padding-top: 10px; }
.ws-home .ws-availability-section { padding: 12px 0; }
.ws-home .ws-queue-settings { margin-top: 10px; }
.ws-home .ws-home-reference { gap: 18px; margin: 20px 0 0; align-items: start; }
.ws-home .ws-home-reference .ws-section-head { min-height: 28px; }
.ws-home .ws-resource { min-height: 58px; padding: 11px 2px; }
.ws .ws-icon-button { flex-shrink: 0; }
.ws-policy-catalog { max-width: 850px; margin-top: 24px; }
.ws-system-row { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.ws-system-row .ws-resource { border-bottom: 0; }
.ws-system-row .ws-resource small { overflow-wrap: anywhere; }
.ws-system-actions { display: flex; gap: 16px; flex-wrap: wrap; padding-left: 34px; }
.ws-system-status:empty { display: none; }
.ws-system-compact { position: relative; }
.ws-system-compact > span, .ws-system-link { min-width: 0; flex: 1; }
.ws .ws-system-link { color: inherit; text-decoration: none; }
/* Extend the native website link across the row, leaving Login Info independent. */
.ws-system-link::after { content: ""; position: absolute; inset: 0; }
.ws .ws-system-link:focus-visible { outline: none; }
.ws-system-link:focus-visible::after { outline: 3px solid #78ae94; outline-offset: 3px; }
.ws .ws-system-compact .ws-detail-button { position: relative; z-index: 1; flex-shrink: 0; font-size: 11px; white-space: nowrap; }
.ws-tools-layout { display: grid; grid-template-columns: minmax(250px, 1fr) minmax(0, 2fr); gap: 24px; align-items: start; }
.ws-vendor-row { grid-template-columns: minmax(0, 1fr) auto; }
.ws-vendor-row h3 { margin: 0 0 5px; font-size: 14px; }
.ws-vendor-row a { overflow-wrap: anywhere; }
.ws-vendor-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ws-state-alerts { grid-column: 1 / -1; }
.ws-state-alerts:empty { display: none; }
.ws-county-alert { padding: 14px 16px; border: 1px solid #c7d6c9; border-left-width: 4px; border-radius: 6px; background: #fff; }
.ws-county-alert + .ws-county-alert { margin-top: 10px; }
.ws-county-alert p { margin: 5px 0 0; white-space: pre-wrap; }
.ws-alert-stop { background: #fff0ee; border-color: #cb6b5e; color: #823229; }
.ws-alert-caution { background: #fff8df; border-color: #c69d37; color: #65511d; }
.ws-alert-proceed { background: #f0faf2; border-color: #77a780; }
.ws-state-full { max-width: none; }
.ws-jurisdiction-record { margin: 30px 0; }
.ws-county-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: min-content auto; gap: 22px; align-items: start; }
.ws-county-section { border: 1px solid var(--line); border-top: 3px solid #a6c4af; padding: 24px; }
.ws-county-section:first-child { grid-row: span 2; }
.ws-county-section h3 { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ws-county-details { margin: 0; gap: 20px; }
.ws-notes-card { background: #f7f6e9; border: 1px solid #dedcc1; border-left: 4px solid #b5b27c; padding: 16px; border-radius: 6px; }
.ws-notes-card dt { color: var(--ink); font-weight: 700; }
.ws .ws-detail-button { border: 0; background: none; padding: 0; min-height: 30px; font-size: 13px; text-align: left; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.ws-company-dialog { width: min(860px, calc(100% - 32px)); }
.ws-company-dialog .ws-dialog-head { position: sticky; top: 0; background: white; z-index: 2; }
.ws-editor-section { margin: 24px 0; border: 1px solid var(--line); border-radius: 7px; padding: 20px; }
.ws-editor-section h3 { margin: 0 0 18px; font-size: 16px; }
.ws-editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ws-editor-grid .ws-field { min-width: 0; margin: 0; }
.ws .ws-editor-grid label, .ws .ws-editor-grid legend { display: block; font-size: 12px; font-weight: 600; margin-bottom: 7px; }
.ws-editor-grid .ws-editor-notes, .ws-editor-grid fieldset { grid-column: 1 / -1; }
.ws .ws-editor-grid fieldset { border: 0; padding: 0; }
.ws .ws-editor-grid textarea { width: 100%; resize: vertical; min-height: 110px; background: #fffdf3; }
.ws .ws-editor-grid input[readonly], .ws .ws-editor-grid textarea[readonly] { background: #f6f7f4; }
.ws-editor-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; }
.ws .ws-editor-choices .ws-editor-choice { display: flex; align-items: start; gap: 8px; font-weight: 400; }
.ws .ws-editor-choice input { width: 16px; height: 16px; min-height: 16px; margin: 2px 0 0; flex: 0 0 16px; accent-color: var(--green); }
.ws-editor-grid .ws-copy-field { flex-wrap: wrap; margin: 0; }
.ws-editor-grid .ws-copy-field input { flex-basis: 100%; width: 100% !important; }
.ws-editor-actions { position: sticky; bottom: -24px; padding: 16px 0; background: white; border-top: 1px solid var(--line); }
@media (max-width: 1050px) {
  .ws-home-reference { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws-tools-layout { grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr); }
  .ws-vendor-actions { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .ws .ws-brand-static { display: none; }
  .ws .ws-brand-mobile { display: flex; }
  .ws-home-reference, .ws-tools-layout, .ws-county-grid, .ws-editor-grid, .ws-editor-choices { grid-template-columns: 1fr; }
  .ws-home-reference { gap: 20px; }
  .ws-home .ws-main { padding: 18px 16px 88px; }
  .ws-home .ws-page-head { margin-bottom: 16px; }
  .ws-home .ws-panel, .ws-home .ws-state-card { padding: 16px; }
  .ws-home .ws-home-work, .ws-home .ws-home-reference { gap: 16px; }
  .ws-home .ws-resource-search { margin-top: 12px; }
  .ws-home .ws-availability .ws-toggle-line { min-height: 30px; }
  .ws-county-grid { gap: 18px; }
  .ws-county-section:first-child { grid-row: auto; }
  .ws-company-dialog .ws-dialog-head { padding: 18px; }
  .ws-company-dialog .ws-dialog-body { padding: 16px; }
  .ws-company-dialog h2 { font-size: 19px; }
  .ws-editor-section { padding: 16px; }
  .ws-editor-actions { bottom: -16px; gap: 10px; }
}
