/* Connected business workspace. */
a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
#nav a:hover,
.brand:hover,
.ws-lead-card:hover,
.ws-attention-row:hover,
.ws-project-row:hover {
  text-decoration: none;
}
:root {
  --ink: #24334c;
  --muted: #8793a8;
  --line: #e5eaf3;
  --paper: #f5f7fb;
  --teal: #4265e8;
  --dark: #132039;
  --pale: #eef2ff;
  --shadow: 0 5px 25px #1b315706;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
}
body {
  font-size: 13px;
}
h1 {
  font-size: 30px;
  letter-spacing: -1px;
}
h2 {
  letter-spacing: -0.4px;
}
.heading {
  margin-bottom: 28px;
}
.heading .sub {
  font-size: 12px;
  margin-top: 8px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: #8595b1;
}
.sidebar {
  width: 242px;
  background: linear-gradient(155deg, #172640, #101a2c);
  padding: 28px 17px 18px;
  overflow-y: auto;
  border-right: 1px solid #20334d;
}
.brand {
  padding: 0 6px 27px;
  gap: 11px;
}
.brand .mark {
  width: 42px;
  height: 42px;
  font-size: 22px;
  border-radius: 12px;
  background: #5377f4;
  color: #fff;
}
.brand .mark span {
  color: #cbd8ff;
}
.brand > span:last-child {
  font-size: 11px;
  letter-spacing: 0.07em;
}
.brand small {
  font-size: 7px;
  letter-spacing: 0.1em;
  color: #8c9dbb;
  margin-top: 6px;
}
.nav-label {
  margin: 12px 15px;
  color: #607497;
  font-size: 9px;
}
#nav {
  display: grid;
  gap: 3px;
}
#nav a {
  margin: 0;
  padding: 10px 14px;
  gap: 12px;
  border-radius: 7px;
  color: #97a8c4;
  font-size: 11px;
  font-weight: 500;
}
#nav a:hover {
  color: #fff;
  background: #233853;
}
#nav a.active {
  color: #fff;
  background: #4567dd;
  box-shadow: 0 4px 12px #03102a30;
}
.nav-icon {
  width: 20px;
  opacity: 0.8;
  font-size: 16px;
}
#nav a:nth-child(10),
#nav a:nth-child(13) {
  margin-top: 16px;
}
.sidebar-foot {
  margin-top: 25px;
  padding: 18px 12px 0;
  font-size: 10px;
  color: #9bb0ca;
}
.sidebar-foot p {
  font-size: 9px;
  color: #7388a8;
  line-height: 1.8;
}
.workspace {
  margin-left: 242px;
}
.topbar {
  height: 77px;
  padding: 0 34px;
  border-color: #e7ecf5;
}
.crumb {
  font-size: 10px;
  color: #9ba7ba;
}
.crumb b {
  color: #516280;
}
.top-right {
  gap: 20px;
}
#today {
  font-size: 10px;
  color: #96a3b8;
}
#avatar {
  background: #eef2ff;
  color: #5a73bf;
  width: 33px;
  height: 33px;
  font-size: 10px;
}
main {
  padding: 31px 34px 100px;
  max-width: 1740px;
  margin: auto;
}
.button {
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 10px;
  font-weight: 600;
  background: #4467e9;
  border-color: #4467e9;
}
.button:hover {
  background: #3457da;
}
.button.secondary {
  background: #fff;
  border-color: #dfe6f2;
  color: #657795;
}
.card {
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.card-head {
  padding: 21px 24px;
  border-color: #edf1f7;
  min-height: 70px;
}
.card-head h2 {
  font-size: 14px;
  font-weight: 650;
}
.card-head .sub {
  margin: 5px 0 0;
  font-size: 9px;
}
.card-body {
  padding: 22px 24px;
}
.pill {
  font-size: 9px;
  border-radius: 5px;
  padding: 5px 9px;
}
.pill.green {
  background: #e7f7ef;
  color: #20966e;
}
.pill.blue {
  background: #edf2ff;
  color: #5678d8;
}
.pill.amber {
  background: #fff5e4;
  color: #bd8d34;
}
.text-link {
  font-size: 10px;
  font-weight: 600;
  color: #6a86da;
  white-space: nowrap;
}
.ws-search-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e8edf6;
  background: #fafbfe;
  border-radius: 6px;
  padding: 6px 10px;
  color: #a0adc3;
  font-size: 20px;
  cursor: pointer;
}
.ws-search-trigger span {
  font-size: 10px;
}
.ws-search-trigger kbd {
  font:
    9px "Segoe UI",
    sans-serif;
  border: 1px solid #e4eaf5;
  background: #fff;
  padding: 2px 5px;
  border-radius: 3px;
  margin-left: 20px;
}
.ws-command {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 95% 0, #3456b655, transparent 65%),
    linear-gradient(110deg, #1e3557, #18263f);
  color: #fff;
  border: 1px solid #293f61;
  border-radius: 12px;
  padding: 29px 32px;
  margin-bottom: 24px;
  position: relative;
  box-shadow: 0 8px 24px #263d6512;
}
.ws-command:after {
  content: "";
  position: absolute;
  right: 20%;
  top: -140px;
  width: 360px;
  height: 360px;
  border: 1px solid #9db9ff0c;
  border-radius: 50%;
  pointer-events: none;
}
.ws-live {
  font-size: 8px;
  letter-spacing: 0.16em;
  color: #a6bbde;
  display: flex;
  align-items: center;
  gap: 9px;
}
.ws-live i {
  width: 5px;
  height: 5px;
  background: #75dfbc;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #77dcb816;
}
.ws-command h2 {
  font-size: 25px;
  font-weight: 600;
  margin: 15px 0 8px;
  letter-spacing: -0.7px;
}
.ws-command p {
  color: #93a8cb;
  font-size: 11px;
  margin: 0;
}
.ws-command a {
  color: #bcd0fb;
  font-size: 10px;
  font-weight: 600;
}
.ws-command-actions {
  display: flex;
  gap: 25px;
  margin-top: 22px;
}
.ws-command-actions span {
  margin-left: 14px;
  color: #829ed4;
}
.ws-command-score {
  border-left: 1px solid #7391ba30;
  padding-left: 36px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1;
}
.ws-command-score strong {
  font-size: 43px;
  letter-spacing: -2px;
  line-height: 1.2;
  font-weight: 600;
}
.ws-command-score > span {
  font-size: 10px;
  color: #a6b8d6;
}
.ws-command-score > a {
  font-size: 9px;
  color: #7e99c5;
  margin-top: 16px;
}
.ws-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 24px;
}
.ws-metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 21px 23px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow);
}
.ws-metric > span {
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #94a1b9;
  font-weight: 600;
}
.ws-metric > strong {
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.6px;
  line-height: 1.2;
  white-space: nowrap;
}
.ws-metric > small {
  font-size: 9px;
  color: #a1adc0;
  line-height: 1.5;
}
.ws-metric.primary > strong {
  color: #4b6dd9;
}
.ws-metric.orange > strong {
  color: #d79547;
}
.ws-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}
.ws-dashboard-grid > .card {
  margin: 0;
}
.ws-chart {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  height: 218px;
  padding: 22px 25px 18px;
  margin: 0 20px;
  background: repeating-linear-gradient(
    to top,
    transparent,
    transparent 40px,
    #f0f3f9 41px,
    transparent 42px
  );
}
.ws-chart-col {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
}
.ws-chart-value {
  height: 13px;
  font-size: 8px;
  color: #899ab9;
  white-space: nowrap;
}
.ws-bar-track {
  flex: 1;
  width: 60%;
  max-width: 40px;
  display: flex;
  align-items: flex-end;
  background: #f3f5fb;
  border-radius: 4px 4px 0 0;
  min-height: 0;
}
.ws-bar {
  width: 100%;
  height: 0;
  min-height: 2px;
  background: #bccbff;
  border-radius: 4px 4px 0 0;
}
.ws-bar.current {
  background: #5a7bed;
}
.ws-chart-col > small {
  font-size: 9px;
  color: #94a3bc;
}
.ws-attention {
  padding: 3px 23px;
}
.ws-attention-row {
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid #edf1f8;
  padding: 18px 0;
  color: #435574;
}
.ws-attention-row:last-child {
  border: 0;
}
.ws-count {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff3e6;
  color: #d39852;
  font-weight: 600;
}
.ws-count.blue {
  background: #eef3ff;
  color: #708ddd;
}
.ws-count.purple {
  background: #f5f0ff;
  color: #a18acf;
}
.ws-attention-row > span:nth-child(2) {
  flex: 1;
}
.ws-attention-row b {
  font-size: 10px;
  font-weight: 600;
}
.ws-attention-row small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  color: #a1adc0;
}
.ws-attention-row > span:last-child {
  color: #acb9ce;
}
.ws-project-list {
  padding: 0 23px;
}
.ws-project-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 0;
  border-bottom: 1px solid #edf1f8;
  color: #415371;
}
.ws-project-row:last-child {
  border: 0;
}
.ws-project-row > div {
  flex: 1;
  min-width: 0;
}
.ws-project-row b {
  font-size: 11px;
}
.ws-project-row small {
  display: block;
  font-size: 9px;
  color: #a0adc4;
  margin-top: 5px;
}
.ws-project-row > small {
  font-size: 8px;
}
.ws-project-symbol {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #edf2fc;
  color: #829aca;
  border-radius: 8px;
  font-size: 20px;
}
.ws-visit {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 19px 24px;
  border-bottom: 1px solid #edf1f8;
}
.ws-visit > div {
  flex: 1;
}
.ws-visit b {
  font-size: 11px;
}
.ws-visit small {
  display: block;
  font-size: 9px;
  color: #a0aec5;
  margin-top: 5px;
}
.ws-visit-time {
  max-width: 75px;
  font-size: 10px;
  color: #748dbe;
}
.ws-activity {
  padding: 5px 25px;
}
.ws-activity > div {
  display: flex;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid #edf1f7;
  align-items: flex-start;
}
.ws-activity > div:last-child {
  border: 0;
}
.ws-activity-dot {
  width: 7px;
  height: 7px;
  background: #a1b5ea;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #f0f4fd;
  margin-top: 6px;
  flex-shrink: 0;
}
.ws-activity p {
  margin: 0;
  flex: 1;
  min-width: 0;
}
.ws-activity p b {
  font-size: 10px;
  text-transform: capitalize;
}
.ws-activity p span {
  display: block;
  font-size: 10px;
  line-height: 1.8;
  color: #96a5be;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.ws-activity > div > small {
  font-size: 9px;
  text-align: right;
  color: #a8b4c9;
  line-height: 1.8;
}
.ws-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 20px 0;
}
.ws-toolbar > span,
.ws-muted-line {
  font-size: 10px;
  color: #99a7bf;
}
.ws-muted-line {
  padding: 10px 0;
}
.ws-pipeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(205px, 1fr));
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 24px;
  max-width: 100%;
  scrollbar-width: thin;
}
.ws-lane {
  background: #edf1f8;
  border: 1px solid #e5ebf5;
  border-radius: 9px;
  padding: 12px;
  min-height: 340px;
}
.ws-lane > header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 1px 15px;
  font-size: 10px;
  color: #7789a6;
}
.ws-lane > header > b {
  flex: 1;
  font-weight: 600;
}
.ws-lane > header > span:last-child {
  border: 1px solid #dae3f2;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 9px;
}
.ws-stage-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a5b4cb;
}
.stage-qualified,
.stage-site_visit_done {
  background: #af94dc;
}
.stage-site_visit_booked,
.stage-quoted {
  background: #809fea;
}
.stage-won {
  background: #71c7a4;
}
.ws-lead-card {
  display: block;
  background: #fff;
  border: 1px solid #e4ebf7;
  border-radius: 7px;
  padding: 14px;
  margin-bottom: 11px;
  color: #445675;
  box-shadow: 0 3px 8px #17306104;
  transition: transform 0.15s;
}
.ws-lead-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px #17306112;
}
.ws-lead-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ws-lead-top > small {
  font-size: 8px;
  color: #a2b1c8;
}
.ws-avatar {
  width: 31px;
  height: 31px;
  background: #eef2fc;
  color: #849ac5;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}
.ws-lead-card h3 {
  font-size: 12px;
  margin: 14px 0 7px;
}
.ws-lead-card p {
  font-size: 10px;
  color: #9baac2;
  line-height: 1.7;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ws-location {
  font-size: 9px;
  color: #8da2c4;
}
.ws-lead-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border-top: 1px solid #eef2f9;
  padding-top: 12px;
  margin-top: 15px;
}
.ws-lead-card footer > span {
  font-size: 8px;
  color: #a0b0c9;
}
.ws-lane-empty {
  padding: 33px 5px;
  text-align: center;
  font-size: 10px;
  color: #b0bdd3;
}
.ws-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  gap: 22px;
  align-items: start;
}
.ws-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}
.ws-facts small {
  display: block;
  font-size: 9px;
  color: #a1b1ca;
  margin-bottom: 5px;
}
.ws-facts b {
  font-size: 11px;
}
.ws-linked {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #edf2f9;
  margin-bottom: 10px;
}
.ws-client-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ws-client {
  padding: 24px;
  margin: 0;
}
.ws-client-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ws-client-head .ws-avatar {
  height: 43px;
  width: 43px;
  font-size: 14px;
  border-radius: 12px;
}
.ws-client h2 {
  font-size: 15px;
  margin: 23px 0 8px;
}
.ws-client p {
  font-size: 11px;
  color: #9aaac5;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.ws-client-stats {
  display: flex;
  gap: 26px;
  padding: 19px 0;
  border-top: 1px solid #edf2fa;
  color: #9aacc8;
  font-size: 10px;
}
.ws-client-stats b {
  display: block;
  color: #62799d;
  font-size: 20px;
  margin-bottom: 5px;
}
.ws-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid #e3eaf5;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 25px;
}
.ws-day {
  padding: 15px 12px 18px;
  border-right: 1px solid #edf2f8;
  min-height: 220px;
}
.ws-day:last-child {
  border: 0;
}
.ws-day > header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin-bottom: 19px;
  color: #94a7c4;
  font-size: 10px;
}
.ws-day > header b {
  font-size: 19px;
  font-weight: 500;
  color: #798faf;
}
.ws-day.is-today {
  background: #f5f7ff;
}
.ws-day.is-today > header b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #6687ec;
  border-radius: 9px;
  font-size: 15px;
  color: white;
}
.ws-day-empty {
  display: block;
  text-align: center;
  font-size: 9px;
  color: #bdc9db;
  padding: 20px 0;
}
.ws-calendar-event {
  background: #edf3ff;
  border-left: 2px solid #8aa8ee;
  padding: 9px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
.ws-calendar-event small,
.ws-calendar-event span {
  display: block;
  font-size: 8px;
  line-height: 1.7;
  color: #9aaed0;
}
.ws-calendar-event b {
  display: block;
  font-size: 9px;
  margin: 5px 0;
}
.ws-booking {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid #edf2fa;
}
.ws-booking > div:first-of-type {
  flex: 1;
}
.ws-booking p {
  font-size: 10px;
  color: #97aac9;
  margin: 5px 0;
}
.ws-booking small {
  font-size: 9px;
  color: #91a6c8;
}
.ws-task {
  display: flex;
  align-items: center;
  gap: 19px;
  padding: 22px 24px;
  border-bottom: 1px solid #edf2fa;
}
.ws-task > div {
  flex: 1;
}
.ws-task > div > b {
  font-size: 12px;
}
.ws-task > div > small,
.ws-task > div > a {
  display: block;
  font-size: 10px;
  color: #9aacc9;
  margin-top: 6px;
}
.ws-task > div > a {
  font-size: 9px;
  color: #7e9ad7;
}
.ws-task-status {
  font-size: 21px;
  color: #a0b5d6;
}
.ws-task.done > div > b {
  text-decoration: line-through;
  color: #a8b7cc;
}
.ws-task.done .ws-task-status {
  color: #80c7ad;
}
.ws-register-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid #edf2fa;
}
.ws-register-row > div:nth-child(2) {
  flex: 1;
  min-width: 100px;
}
.ws-register-row b {
  font-size: 12px;
}
.ws-register-row small {
  display: block;
  font-size: 9px;
  color: #a3b4cf;
  margin-top: 5px;
}
.ws-register-row strong {
  font-size: 13px;
}
.ws-doc-symbol {
  width: 31px;
  height: 35px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid #dee8f7;
  background: #f2f6fe;
  border-radius: 5px;
  font-size: 13px;
  color: #8ba7d5;
  font-weight: 600;
}
.ws-register-row .row-link {
  font-size: 10px;
}
.ws-money {
  text-align: right;
}
.ws-ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
  margin-bottom: 25px;
}
.ws-job-card {
  padding: 22px;
  margin: 0;
}
.ws-job-card > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ws-job-card > header small {
  font-size: 9px;
  color: #a8bad2;
}
.ws-job-card h2 {
  font-size: 16px;
  margin: 22px 0 7px;
}
.ws-job-card h2 a {
  color: #627c9f;
}
.ws-job-card > p {
  font-size: 10px;
  color: #a0b3cf;
}
.ws-owner {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 22px 0;
}
.ws-owner > span {
  font-size: 11px;
}
.ws-owner small {
  display: block;
  font-size: 9px;
  color: #adbed7;
  margin-top: 4px;
}
.ws-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #a1b5d2;
  margin-bottom: 8px;
}
.ws-progress-label b {
  font-weight: 500;
  color: #8da7ce;
}
progress {
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 8px;
  background: #eff4fa;
  accent-color: #8aa8eb;
}
progress::-webkit-progress-bar {
  background: #eff4fa;
  border-radius: 8px;
}
progress::-webkit-progress-value {
  background: #8aa8eb;
  border-radius: 8px;
}
.ws-job-card footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 17px;
  margin-top: 20px;
  border-top: 1px solid #edf3fa;
}
.ws-job-card footer span {
  font-size: 9px;
  color: #abbed8;
}
.ws-blocker {
  padding: 10px;
  background: #fff7eb;
  border-radius: 5px;
  color: #c5a16c !important;
  line-height: 1.6;
}
.ws-phase {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #edf3fa;
}
.ws-phase-toggle {
  width: 27px;
  height: 27px;
  border: 1px solid #dfe8f7;
  background: #fff;
  border-radius: 8px;
  color: #a6bcd8;
  font-size: 17px;
  cursor: pointer;
}
.ws-phase.complete .ws-phase-toggle {
  background: #e8f7f0;
  color: #55ac8b;
  border-color: #d7eee4;
}
.ws-phase b {
  font-size: 11px;
}
.ws-phase small {
  display: block;
  font-size: 9px;
  color: #a0b6d3;
  margin-top: 5px;
}
.ws-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  padding: 20px;
}
.ws-photo-grid.compact {
  grid-template-columns: 1fr 1fr;
}
.ws-photo {
  border: 1px solid #e5edf8;
  border-radius: 8px;
  overflow: hidden;
}
.ws-photo > a {
  display: block;
  background: #e7eef7;
}
.ws-photo img {
  width: 100%;
  height: 135px;
  object-fit: cover;
  display: block;
}
.ws-photo > div {
  padding: 13px;
}
.ws-photo strong {
  display: block;
  font-size: 10px;
}
.ws-photo small {
  display: block;
  font-size: 8px;
  color: #a5bad5;
  margin: 6px 0 11px;
}
.ws-photo p {
  font-size: 9px;
  color: #94adcf;
  line-height: 1.7;
}
.ws-photo .button {
  display: block;
  font-size: 9px;
  margin-top: 12px;
  padding: 7px 10px;
}
.ws-report {
  padding: 21px 24px;
  border-bottom: 1px solid #e9f0f9;
}
.ws-report > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
}
.ws-report pre {
  font:
    11px/1.9 "Segoe UI",
    sans-serif;
  white-space: pre-wrap;
  background: #f7f9fd;
  padding: 18px;
  border-radius: 7px;
  color: #8ba4c8;
  overflow-wrap: anywhere;
}
.ws-connection {
  padding: 24px;
  margin: 0;
}
.ws-connection h2 {
  font-size: 16px;
  margin-top: 23px;
}
.ws-connection p {
  font-size: 11px;
  line-height: 1.8;
  color: #95aecf;
  margin: 17px 0;
}
.ws-search-input {
  width: 100%;
  font-size: 17px;
  padding: 15px;
  border: 1px solid #dce8f7;
  border-radius: 8px;
}
.ws-search-results {
  margin: 17px 0;
}
.ws-search-results > a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px;
  padding: 17px 12px;
  border-bottom: 1px solid #edf3fa;
}
.ws-search-results b {
  font-size: 12px;
  color: #6b87ad;
}
.ws-search-results small {
  font-size: 10px;
  grid-column: 1;
  color: #a0b7d7;
}
.ws-search-results > a > span {
  grid-column: 2;
  grid-row: 1/3;
  color: #aac0df;
}
.ws-search-results > p {
  font-size: 12px;
}
.stats {
  gap: 16px;
}
.stat {
  padding: 22px;
  border-radius: 9px;
}
.stat-label {
  font-size: 10px;
  color: #8c9db9;
}
.stat-value {
  font-size: 26px;
  letter-spacing: -0.7px;
  color: #344c72;
}
.stat small {
  font-size: 9px;
  color: #a1b1cb;
}
.tabs {
  margin-bottom: 24px;
  border-color: #e2eaf6;
}
.tab {
  font-size: 11px;
  padding: 15px 0;
  color: #94a8c8;
}
.tab.active {
  color: #627fda;
  border-color: #7292e7;
}
.section-label {
  font-size: 8px;
  letter-spacing: 0.13em;
  color: #9eb1cd;
}
.cost-copy strong {
  font-size: 12px;
  font-weight: 600;
}
.cost-copy p {
  font-size: 10px;
  color: #93a9cb;
}
.cost-value {
  font-size: 13px;
}
.cost-value small {
  font-size: 8px;
  color: #a3b9d7;
}
.cost-icon {
  border-radius: 9px;
  background: #eff4fd;
  color: #8ba7d5;
}
.source-ref {
  font-size: 8px;
  color: #acbdd5;
}
.save-bar {
  padding: 15px 20px;
  background: #1d3554;
  border: 1px solid #2a466b;
  border-radius: 8px;
}
.save-bar b {
  font-size: 11px;
}
.save-bar small {
  font-size: 9px;
  color: #8eacd2;
}
.save-bar .button {
  background: #6689eb;
  border-color: #6689eb;
  color: #fff;
}
.save-bar .button.secondary {
  background: #314d73;
  border-color: #3d5d87;
  color: #bfd4f1;
}
.review-note {
  font-size: 11px;
  border-radius: 8px;
  line-height: 1.8;
}
.empty {
  font-size: 11px;
  padding: 34px 24px;
  line-height: 1.8;
  color: #a5b5cc;
}
.empty strong {
  font-size: 12px;
  color: #8095b4;
  margin-bottom: 5px;
}
.auth-page {
  background:
    radial-gradient(ellipse at 30% 0, #e5edff, transparent 55%), #f5f7fb;
}
.auth-card {
  border-radius: 16px;
  box-shadow: 0 20px 70px #213a6614;
  border-color: #e2eaf7;
}
.auth-card .mark {
  background: #577aeb;
  color: #fff;
}
.auth-card h1 {
  font-size: 30px;
}
.auth-card .eyebrow {
  margin-top: 25px;
}
.auth-help {
  font-size: 10px !important;
  color: #a5b6d0 !important;
}
input,
textarea,
select {
  font-size: 12px;
  border-radius: 6px;
  border-color: #dfe8f5;
  color: #637eaa;
}
label {
  font-size: 11px;
  color: #8ba2c5;
}
dialog {
  border-radius: 12px;
  border: 1px solid #e3edf9;
  box-shadow: 0 30px 120px #243b6440;
}
.dialog-heading h2 {
  font-size: 20px;
}
.row-link > span {
  font-size: 11px;
  color: #b1c3dd;
  margin-left: 4px;
}
.print-page .invoice-meta {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin: 30px 0;
}
.print-page .invoice-total {
  border-top: 2px solid #405e86;
  padding-top: 20px;
  margin-top: 35px;
  font-size: 22px;
}
.print-page pre {
  white-space: pre-wrap;
  font:
    14px/1.8 "Segoe UI",
    sans-serif;
}
.ws-metric > small,
.ws-toolbar > span,
.ws-muted-line,
.ws-chart-value,
.ws-chart-col > small,
.ws-attention-row small,
.ws-project-row small,
.ws-visit small,
.ws-activity p span,
.ws-activity > div > small,
.ws-lead-card p,
.ws-location,
.ws-lead-top > small,
.ws-lead-card footer > span,
.ws-client p,
.ws-client-stats,
.ws-booking p,
.ws-booking small,
.ws-task > div > small,
.ws-register-row small,
.ws-job-card > p,
.ws-owner small,
.ws-phase small,
.ws-photo small,
.ws-photo p,
.ws-report pre,
.ws-connection p {
  color: #697a95;
}
.ws-facts small,
.ws-progress-label,
.ws-job-card footer span,
.stat-label,
.stat small,
.cost-copy p,
.cost-value small,
.source-ref,
.section-label,
label,
.empty {
  color: #6f809a;
}
input,
textarea,
select {
  color: #344969;
}
@media (max-width: 1200px) {
  .ws-client-grid,
  .ws-ops-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ws-metric {
    padding: 18px 16px;
  }
  .ws-metric > strong {
    font-size: 22px;
  }
  .ws-register-row {
    flex-wrap: wrap;
  }
  .ws-register-row > .actions {
    width: 100%;
    justify-content: flex-end;
  }
  .ws-week {
    overflow-x: auto;
    grid-template-columns: repeat(7, minmax(130px, 1fr));
  }
  .ws-search-trigger kbd {
    display: none;
  }
  .ws-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1000px) {
  .ws-dashboard-grid,
  .ws-detail-grid {
    grid-template-columns: 1fr;
  }
  .ws-command-score {
    min-width: 140px;
    padding-left: 24px;
  }
  .ws-search-trigger span {
    display: none;
  }
  .ws-search-trigger {
    background: transparent;
    border: 0;
  }
  .top-right {
    gap: 12px;
  }
  .ws-metric > strong {
    font-size: 20px;
  }
  main {
    padding: 28px 24px 100px;
  }
  .ws-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 850px) {
  .workspace {
    margin-left: 0;
  }
  .sidebar {
    width: 242px;
    z-index: 50;
  }
  main {
    padding: 25px 18px 110px;
  }
  .topbar {
    height: 66px;
    padding: 0 18px;
  }
  .ws-command {
    padding: 23px;
  }
  .ws-command h2 {
    font-size: 23px;
  }
  .ws-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .ws-metric > strong {
    font-size: 26px;
  }
  .ws-client-grid,
  .ws-ops-grid {
    gap: 14px;
  }
  .ws-week {
    grid-template-columns: repeat(7, minmax(140px, 1fr));
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 25px;
  }
  .heading {
    gap: 17px;
  }
  .heading .actions {
    flex-wrap: wrap;
  }
  .ws-command {
    display: block;
    padding: 23px;
  }
  .ws-command h2 {
    font-size: 22px;
  }
  .ws-command p {
    font-size: 10px;
    line-height: 1.8;
  }
  .ws-command-score {
    margin-top: 22px;
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid #89a3c430;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: center;
  }
  .ws-command-score strong {
    font-size: 30px;
    grid-row: 1/3;
  }
  .ws-command-score > a {
    margin-top: 4px;
    font-size: 9px;
  }
  .ws-command-score > span {
    font-size: 10px;
  }
  .ws-command-actions {
    gap: 20px;
  }
  .ws-command-actions > a {
    font-size: 9px;
  }
  .ws-metric {
    padding: 17px;
  }
  .ws-metric > span {
    font-size: 8px;
  }
  .ws-metric > strong {
    font-size: 23px;
  }
  .ws-metric > small {
    font-size: 8px;
  }
  .ws-client-grid,
  .ws-ops-grid {
    grid-template-columns: 1fr;
  }
  .ws-photo-grid,
  .ws-photo-grid.compact {
    grid-template-columns: 1fr 1fr;
    padding: 12px;
    gap: 10px;
  }
  .ws-photo img {
    height: 100px;
  }
  .ws-project-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .ws-project-row > div {
    min-width: 150px;
  }
  .ws-project-row > small {
    display: none;
  }
  .ws-activity {
    padding: 4px 18px;
  }
  .ws-activity > div {
    gap: 12px;
  }
  .ws-activity > div > small {
    max-width: 95px;
    font-size: 8px;
  }
  .ws-toolbar {
    flex-wrap: wrap;
  }
  .ws-register-row {
    padding: 18px;
    gap: 12px;
  }
  .ws-register-row > strong {
    font-size: 12px;
  }
  .ws-booking {
    padding: 18px;
    flex-wrap: wrap;
  }
  .ws-booking > .actions {
    width: 100%;
    justify-content: flex-end;
  }
  .ws-task {
    padding: 18px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .ws-task > div {
    min-width: 180px;
  }
  .ws-chart {
    padding: 20px 10px;
    height: 200px;
    gap: 10px;
  }
  .ws-chart-value {
    font-size: 7px;
  }
  .ws-report {
    padding: 18px;
  }
  .ws-report > div {
    flex-wrap: wrap;
  }
  .ws-week {
    max-width: 100%;
  }
  .ws-search-trigger {
    padding: 0;
  }
  .top-right {
    gap: 13px;
  }
  .crumb {
    font-size: 9px !important;
  }
  .crumb > span {
    margin: 0 7px;
  }
  .card-head {
    padding: 18px;
  }
  .card-head h2 {
    font-size: 13px;
  }
  .card-body {
    padding: 18px;
  }
  .stat-value {
    font-size: 23px;
  }
  .stat {
    padding: 18px;
  }
  .save-bar {
    padding: 12px;
  }
  .ws-register-row .actions {
    justify-content: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
