@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Barlow+Condensed:wght@500;600;700;800;900&display=swap";
:root {
  --bg-0:#d4cfc5;
  --bg-1:#fafaf8;
  --bg-2:#ffffff;
  --bg-3:#eeece6;
  --bg-4:#e4dfd2;
  --border:#2a2520;
  --border-strong:#111009;
  --border-light:#6b6050;
  --text:#111009;
  --text-dim:#3a3028;
  --text-muted:#6b5f50;
  --accent:#0a5f70;
  --accent-dim:#074454;
  --accent-glow:rgba(10,95,112,.12);
  --green:#1a6b2e;
  --green-dim:rgba(26,107,46,.12);
  --yellow:#8a5200;
  --yellow-dim:rgba(138,82,0,.12);
  --red:#8b1a1a;
  --red-dim:rgba(139,26,26,.10);
  --orange:#8b3a0a;
  --orange-dim:rgba(139,58,10,.10);
  --purple:#4a1f8a;
  --purple-dim:rgba(74,31,138,.10);
  --radius:8px;
  --radius-lg:12px;
  --radius-xl:16px;
  --font:"DM Sans",-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  --font-num:"Barlow Condensed",var(--font);
  --font-mono:"SF Mono","Cascadia Code","Consolas",monospace;
  --shadow-card:0 2px 8px rgba(0,0,0,.18),0 1px 3px rgba(0,0,0,.12);
  --shadow-hero:0 6px 24px rgba(0,0,0,.20),0 2px 6px rgba(0,0,0,.14);
  --logo-url:none;
  --cage-url:none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}
body {
  background:
    radial-gradient(
      1200px 600px at 80% -10%,
      rgba(14, 107, 126, .025),
      transparent 60%),
    radial-gradient(
      800px 400px at -10% 20%,
      rgba(108, 76, 176, .02),
      transparent 60%),
    var(--bg-0);
  background-attachment: fixed;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: var(--cage-url);
  background-repeat: repeat;
  background-size: 520px auto;
  opacity: .018;
}
.app,
.lock,
.content,
main,
.topbar,
.ccp-footer {
  position: relative;
  z-index: 1;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.lock {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.lock.gone {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
  transition: .3s;
}
.lock-logo {
  width: min(80vw, 440px);
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 24px rgba(14, 107, 126, .18));
}
.lock-sub {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.lf {
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lf input {
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  font-family: var(--font);
  text-align: center;
  outline: none;
  transition: border-color .15s;
}
.lf input:focus {
  border-color: var(--accent);
}
.lm {
  font-size: 12px;
  color: var(--red);
  min-height: 18px;
  text-align: center;
}
.lbtn {
  padding: 12px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  letter-spacing: .3px;
}
.lbtn:hover {
  background: var(--accent-dim);
}
.lrem-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  padding: 2px 0;
}
.lrem-row input {
  width: 14px;
  height: 14px;
  accent-color: var(--accent);
  cursor: pointer;
  margin: 0;
}
.lrem-row:hover {
  color: var(--text-dim);
}
.topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  height: 56px;
  background: rgba(254, 252, 246, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.tlogo {
  height: 32px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.tname {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: .4px;
  text-transform: uppercase;
}
.tr {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.uchip {
  font-size: 12px;
  color: var(--text-dim);
  padding: 4px 12px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-weight: 500;
}
.rchip {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.r-admin {
  background: rgba(14, 107, 126, .12);
  color: var(--accent);
}
.r-sales_manager {
  background: var(--yellow-dim);
  color: var(--yellow);
}
.r-sales_rep {
  background: var(--green-dim);
  color: var(--green);
}
.r-office_manager {
  background: var(--purple-dim);
  color: var(--purple);
}
.r-accountant {
  background: var(--orange-dim);
  color: var(--orange);
}
.tbtn {
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--text-dim);
  font-family: var(--font);
  letter-spacing: .3px;
}
.tbtn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}
.sec {
  margin: 24px 0 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.sec-title {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding-left: 10px;
  line-height: 1.05;
}
.sec-meta {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: .3px;
  font-weight: 500;
}
.hero {
  background:
    linear-gradient(
      135deg,
      var(--bg-2) 0%,
      #fdfaf0 100%);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-hero);
}
.hero::before {
  content: "";
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: 120px;
  background-image: var(--cage-url);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right center;
  opacity: .05;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  background:
    radial-gradient(
      circle,
      var(--accent-glow) 0%,
      transparent 70%);
  pointer-events: none;
}
.hero-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.hero-greet {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: .2px;
}
.hero-greet b {
  color: var(--text);
  font-weight: 700;
}
.hero-date {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-top: 3px;
}
.hero-main {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-divider {
  background: var(--border);
  width: 1px;
  height: 60px;
  justify-self: center;
}
.hero-stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 600;
}
.hero-stat-value {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -.5px;
}
.hero-stat-sub {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-delta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 700;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 99px;
}
.hero-delta.up {
  background: var(--green-dim);
  color: var(--green);
}
.hero-delta.down {
  background: var(--red-dim);
  color: var(--red);
}
.hero-delta.flat {
  background: var(--bg-3);
  color: var(--text-muted);
}
.hero-cta {
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, .04);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  position: relative;
  z-index: 1;
  transition: all .15s;
}
.hero-cta:hover {
  border-color: var(--accent);
  background: rgba(14, 107, 126, .06);
}
.hero-cta-icon {
  font-size: 20px;
  flex-shrink: 0;
}
.hero-cta-body {
  flex: 1;
  min-width: 0;
}
.hero-cta-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 1px;
}
.hero-cta-sub {
  font-size: 11px;
  color: var(--text-muted);
}
.hero-cta-arrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}
@media (max-width:760px) {
  .hero {
    padding: 20px;
  }
  .hero-main {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hero-divider {
    display: none;
  }
  .hero-stat-value {
    font-size: 38px;
  }
}
.today {
  margin-bottom: 18px;
}
.today-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--text);
}
.today-head .small {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .4px;
  text-transform: none;
  font-family: var(--font);
}
.today-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.today-rail::-webkit-scrollbar {
  height: 4px;
}
.today-rail::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 99px;
}
.appt-card {
  flex: 0 0 240px;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  text-decoration: none;
  color: var(--text);
  transition: all .15s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.appt-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.appt-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
}
.appt-card.past::before {
  background: var(--text-muted);
}
.appt-card.now::before {
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}
.appt-time {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: .5px;
  margin-bottom: 2px;
}
.appt-card.past .appt-time {
  color: var(--text-muted);
}
.appt-card.now .appt-time {
  color: var(--green);
}
.appt-name {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.appt-where {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.apps-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.apps-rail::-webkit-scrollbar {
  height: 4px;
}
.apps-rail::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 99px;
}
.app-tile {
  flex: 0 0 130px;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all .15s;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}
.app-tile:hover {
  border-color: var(--accent);
  background: var(--bg-3);
  transform: translateY(-1px);
  text-decoration: none;
}
.app-icon {
  font-size: 20px;
  line-height: 1;
}
.app-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2px;
}
.app-desc {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.3;
}
.metric-row {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}
.mr-8 {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}
.mr-4 {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.mr-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width:600px) {
  .mr-3 {
    grid-template-columns: 1fr;
  }
}
.metric {
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color .15s;
  box-shadow: var(--shadow-card);
}
.metric:hover {
  border-color: var(--border-light);
}
.mc-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 600;
}
.mc-value {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -.3px;
  margin-top: 2px;
}
.mc-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 6px;
}
.trio {
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
}
.trio-cell {
  text-align: center;
  position: relative;
  padding: 0 10px;
}
.trio-cell + .trio-cell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8%;
  height: 84%;
  width: 1px;
  background: var(--border);
}
.trio-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 8px;
  font-weight: 600;
}
.trio-value {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -.5px;
}
.trio-sub {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 6px;
  font-weight: 500;
}
.trio-delta {
  font-size: 11px;
  font-weight: 700;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 99px;
  letter-spacing: .2px;
}
.trio-delta.up {
  background: var(--green-dim);
  color: var(--green);
}
.trio-delta.down {
  background: var(--red-dim);
  color: var(--red);
}
.trio-delta.flat {
  background: var(--bg-3);
  color: var(--text-muted);
}
.trio-prev {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 8px;
}
@media (max-width:640px) {
  .trio {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }
  .trio-cell {
    padding: 0;
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    align-items: center;
  }
  .trio-cell + .trio-cell::before {
    left: 0;
    right: 0;
    top: -9px;
    width: auto;
    height: 1px;
  }
  .trio-label {
    margin-bottom: 0;
    align-self: end;
  }
  .trio-value {
    grid-row: span 3;
    font-size: 48px;
  }
  .trio-delta {
    margin-top: 4px;
  }
  .trio-prev {
    margin-top: 2px;
  }
}
.funnel {
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 18px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
}
.funnel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  gap: 10px;
  flex-wrap: wrap;
}
.funnel-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.funnel-hint {
  font-size: 10px;
  color: var(--text-muted);
}
.funnel-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}
.funnel-step {
  text-align: center;
  padding: 14px 10px;
  background: var(--bg-3);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  position: relative;
  min-width: 0;
}
.funnel-step.ok {
  border-color: rgba(63, 122, 53, .4);
}
.funnel-step.warn {
  border-color: rgba(167, 106, 20, .45);
  background: rgba(167, 106, 20, .06);
}
.funnel-step.crit {
  border-color: rgba(168, 56, 56, .45);
  background: rgba(168, 56, 56, .06);
}
.fs-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
  font-weight: 600;
}
.fs-value {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
}
.fs-sub {
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: .2px;
}
.funnel-arrow {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1;
}
.funnel-warn {
  font-size: 11px;
  color: var(--yellow);
  margin-top: 12px;
  padding: 8px 12px;
  background: var(--yellow-dim);
  border: 1px solid rgba(167, 106, 20, .3);
  border-radius: var(--radius);
  display: none;
  line-height: 1.5;
}
.funnel-warn.show {
  display: block;
}
@media (max-width:760px) {
  .funnel-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .funnel-arrow {
    display: none;
  }
}
.alert-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.alert-item {
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  transition: all .15s;
  box-shadow: var(--shadow-card);
}
.alert-item:hover {
  border-color: var(--border-light);
  background: var(--bg-3);
  text-decoration: none;
}
.alert-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
}
.alert-content {
  flex: 1;
  min-width: 0;
}
.alert-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}
.alert-sub {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.alert-action {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 99px;
  border: 1px solid;
  font-family: var(--font);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .3px;
}
.aa-red {
  color: var(--red);
  border-color: rgba(168, 56, 56, .35);
  background: var(--red-dim);
}
.aa-yellow {
  color: var(--yellow);
  border-color: rgba(167, 106, 20, .35);
  background: var(--yellow-dim);
}
.aa-orange {
  color: var(--orange);
  border-color: rgba(184, 90, 28, .35);
  background: var(--orange-dim);
}
.aa-accent {
  color: var(--accent);
  border-color: rgba(14, 107, 126, .35);
  background: rgba(14, 107, 126, .08);
}
.aa-green {
  color: var(--green);
  border-color: rgba(63, 122, 53, .35);
  background: var(--green-dim);
}
.jobs-table {
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
}
.jt-head {
  display: grid;
  grid-template-columns: 1fr 150px 110px 80px;
  padding: 10px 16px;
  background: var(--bg-3);
  border-bottom: 2px solid var(--border);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.jt-row {
  display: grid;
  grid-template-columns: 1fr 150px 110px 80px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  transition: background .12s;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
}
.jt-row:last-child {
  border-bottom: none;
}
.jt-row:hover {
  background: var(--bg-3);
  text-decoration: none;
}
.jt-addr {
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jt-cust {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stage-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  margin-right: 6px;
  vertical-align: middle;
}
.jt-price {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 14px;
  color: var(--green);
  letter-spacing: .3px;
}
.jt-age {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}
@media (max-width:700px) {
  .jt-head,
  .jt-row {
    grid-template-columns: 1fr 80px;
  }
  .jt-head > :nth-child(2),
  .jt-head > :nth-child(3),
  .jt-row > :nth-child(2),
  .jt-row > :nth-child(3) {
    display: none;
  }
}
table.ccp-table {
  width: 100%;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: var(--shadow-card);
}
table.ccp-table thead th {
  background: var(--bg-3);
  border-bottom: 2px solid var(--border);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 10px 16px;
  text-align: left;
}
table.ccp-table tbody td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text);
}
table.ccp-table tbody tr:last-child td {
  border-bottom: none;
}
table.ccp-table tbody tr:hover {
  background: var(--bg-3);
}
.widget {
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
}
.w-head {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}
.w-link {
  font-size: 11px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .3px;
}
.w-link:hover {
  text-decoration: underline;
}
.w-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.w-row:last-child {
  border-bottom: none;
}
.w-rank {
  font-family: var(--font-num);
  min-width: 26px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text-muted);
  text-align: center;
}
.w-rank.r1 {
  color: #ffd166;
}
.w-rank.r2 {
  color: #a89e85;
}
.w-rank.r3 {
  color: #c98d5a;
}
.w-name {
  flex: 1;
  font-weight: 600;
}
.w-val {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 16px;
  color: var(--green);
  text-align: right;
  min-width: 80px;
  letter-spacing: .3px;
}
.w-sub {
  color: var(--text-muted);
  font-size: 11px;
  text-align: right;
  min-width: 60px;
  font-weight: 500;
}
.w-pill {
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 9px;
  font-weight: 700;
  background: var(--bg-4);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .4px;
}
.w-pill.urg-critical {
  background: var(--red-dim);
  color: var(--red);
}
.w-pill.urg-high {
  background: var(--orange-dim);
  color: var(--orange);
}
.w-pill.urg-medium {
  background: var(--yellow-dim);
  color: var(--yellow);
}
.w-pill.urg-low {
  background: var(--green-dim);
  color: var(--green);
}
.w-pill.urg-immediate {
  background: var(--red);
  color: #fff;
}
.health-strip {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.health-pill {
  font-size: 11px;
  padding: 7px 11px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: var(--shadow-card);
}
.health-pill .hp-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  flex-shrink: 0;
}
.hp-dot.info {
  background: var(--accent);
}
.hp-dot.warning {
  background: var(--yellow);
}
.hp-dot.error {
  background: var(--red);
}
.sl-banner {
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  box-shadow: var(--shadow-card);
}
.sl-head {
  font-size: 12px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.sl-head b {
  color: var(--red);
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 16px;
  margin-right: 2px;
}
.sl-dismiss {
  margin-left: auto;
  padding: 4px 11px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius);
  font-size: 10px;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 600;
}
.sl-dismiss:hover {
  color: var(--text);
  border-color: var(--border-light);
}
.sl-rows {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sl-row {
  display: grid;
  grid-template-columns: 1fr 140px 50px 100px;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid var(--border);
  align-items: center;
  font-size: 12px;
}
.sl-name {
  font-weight: 600;
  color: var(--text);
}
.sl-rep {
  color: var(--text-dim);
}
.sl-days {
  color: var(--red);
  font-weight: 700;
  text-align: center;
  font-family: var(--font-num);
  font-size: 14px;
}
.sl-btn {
  padding: 5px 10px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-dim);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.sl-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}
@media (max-width:700px) {
  .sl-row {
    grid-template-columns: 1fr 50px 90px;
  }
  .sl-row .sl-rep {
    display: none;
  }
}
.empty-state {
  text-align: center;
  padding: 32px 16px;
  color: var(--text-muted);
}
.empty-icon {
  font-size: 32px;
  opacity: .3;
  margin-bottom: 8px;
  line-height: 1;
}
.empty-state p {
  font-size: 12px;
}
.skel {
  background:
    linear-gradient(
      90deg,
      var(--bg-2) 0%,
      var(--bg-3) 50%,
      var(--bg-2) 100%);
  background-size: 200% 100%;
  animation: ccp-sh 1.4s infinite;
}
@keyframes ccp-sh {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.role-section {
  display: none;
}
.role-section.show {
  display: block;
}
.ccp-input,
.ccp-select,
.ccp-textarea {
  padding: 10px 12px;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: border-color .15s;
}
.ccp-input:focus,
.ccp-select:focus,
.ccp-textarea:focus {
  border-color: var(--accent);
}
.ccp-btn {
  padding: 9px 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--bg-3);
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: .2px;
  transition: all .15s;
}
.ccp-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.ccp-btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.ccp-btn.primary:hover {
  background: var(--accent-dim);
  color: #fff;
}
.ccp-btn.danger {
  color: var(--red);
  border-color: rgba(168, 56, 56, .4);
}
.ccp-btn.danger:hover {
  background: var(--red-dim);
}
.ccp-footer {
  margin-top: 48px;
  padding: 28px 4px 12px;
  border-top: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.ccp-footer-logo {
  height: 48px;
  width: auto;
  opacity: .5;
  flex-shrink: 0;
}
.ccp-footer-meta {
  flex: 1;
  min-width: 200px;
}
.ccp-footer-name {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--text);
}
.ccp-footer-tag {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
  letter-spacing: .2px;
}
.ccp-footer-licenses {
  font-size: 10px;
  color: var(--text-muted);
  text-align: right;
  letter-spacing: .4px;
  line-height: 1.6;
}
.ccp-footer-licenses b {
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: .6px;
  font-family: var(--font-num);
  font-size: 11px;
}
@media (max-width:640px) {
  .ccp-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .ccp-footer-licenses {
    text-align: left;
  }
}
html[data-ccp-theme=dark] body::before {
  display: none;
}
html[data-ccp-theme=dark] body {
  background: var(--bg-0);
}
:root {
  --bg-0:#f2f1ed;
  --bg-1:#ffffff;
  --bg-2:#ffffff;
  --bg-3:#f6f5f1;
  --bg-4:#ece9e2;
  --border:#dcd8cf;
  --border-strong:#bfb8aa;
  --border-light:#e8e5de;
  --text:#15181d;
  --text-dim:#3b4048;
  --text-muted:#6a6f77;
  --accent-glow:rgba(10,95,112,.10);
  --radius:10px;
  --radius-lg:14px;
  --radius-xl:18px;
  --shadow-card:0 1px 2px rgba(16,24,40,.05),0 1px 3px rgba(16,24,40,.07);
  --shadow-hero:0 6px 20px rgba(16,24,40,.07),0 1px 3px rgba(16,24,40,.06);
}
body {
  background: var(--bg-0);
}
body::before {
  opacity: .012;
}
.topbar {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--border);
  height: 60px;
  padding: 0 24px;
  box-shadow: 0 1px 0 rgba(16, 24, 40, .03);
}
.tlogo {
  height: 40px;
}
.tname {
  font-weight: 600;
  color: var(--text-dim);
}
.uchip {
  background: var(--bg-3);
  border-color: var(--border);
}
.tbtn {
  background: #fff;
  border-color: var(--border);
  border-radius: 8px;
}
.hero {
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-hero);
}
.hero-cta {
  background: var(--bg-3);
  border: 1px solid var(--border);
}
.appt-card,
.app-tile {
  border: 1px solid var(--border);
}
.app-tile:hover,
.appt-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(16, 24, 40, .08);
}
.sec-title {
  font-size: 17px;
}
*:has(> .app-links),
.nav-bar {
  flex-wrap: wrap !important;
  height: auto !important;
  min-height: 0 !important;
  padding-top: 8px !important;
  padding-bottom: 6px !important;
  row-gap: 6px !important;
}
.nav-bar {
  background: rgba(255, 255, 255, .94) !important;
  border-bottom: 1px solid var(--border) !important;
  display: flex !important;
  align-items: center !important;
  column-gap: 10px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}
.nav-bar img.nav-logo {
  height: 36px;
  width: auto;
  display: block;
}
.app-links,
.nav-links {
  display: flex;
  order: 99 !important;
  flex: 1 0 100% !important;
  margin: 0 !important;
  gap: 4px !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  padding: 1px 0 !important;
  font-size: 12px !important;
}
.app-links::-webkit-scrollbar,
.nav-links::-webkit-scrollbar {
  display: none;
}
.app-links .al,
.nav-links .nav-link {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  height: 26px !important;
  padding: 0 7px !important;
  border-radius: 8px !important;
  background: #fff !important;
  border: 1px solid var(--border) !important;
  color: var(--text-dim) !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  opacity: 1 !important;
}
.app-links .al:hover,
.nav-links .nav-link:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}
.app-links .al.cur,
.app-links .al[style*=opacity],
.nav-links .nav-link.dim,
.nav-links .nav-link[style*=opacity] {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
  pointer-events: none !important;
}
