/* Dently clinical workspace — deep navy, structured color, real workflow visuals. */
:root {
  --navy: #0b2038;
  --navy-raised: #163b5a;
  --ink: var(--navy);
}
.sidebar {
  padding-top: 25px;
  overflow-y: auto;
  scrollbar-width: thin;
  background: linear-gradient(180deg, #fff, #f7fbfc);
}
.sidebar .logo {
  margin-bottom: 24px;
}
.workspace {
  margin-bottom: 22px;
}
.side-nav {
  gap: 4px;
}
.side-nav button {
  padding: 11px 13px;
  font-size: 15px;
  min-height: 41px;
}
.side-nav button svg {
  width: 18px;
  height: 18px;
}
.side-nav button.active {
  color: var(--navy);
  background: linear-gradient(100deg, #e8f7f5, #d0f0eb);
  border-color: #bfe8e2;
  font-weight: 600;
}
.side-nav button.active svg {
  stroke: #08796d;
}
.side-bottom {
  padding-top: 23px;
}
.help-card {
  font-size: 14px;
}
.help-card p {
  font-size: 12px;
}
.back-link {
  font-size: 14px;
}
.main {
  background:
    radial-gradient(ellipse at 0 0, #e8f7f570, transparent 65%), #f5f8fa;
}
.topbar {
  background: #ffffffeb;
  backdrop-filter: blur(12px);
}
.dash-content {
  padding-top: 26px;
}
.page-heading {
  margin-bottom: 24px;
}
.page-heading h1 {
  font-size: 25px;
}
.clinic-hero {
  min-height: 240px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  border-radius: 20px;
  background: linear-gradient(115deg, #0b2038, #123650);
  color: white;
  overflow: hidden;
  position: relative;
  margin-bottom: 23px;
  border: 1px solid #1c4058;
  isolation: isolate;
}
.clinic-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 0 50%, #0e9f8e35, transparent 60%);
}
.clinic-hero-content {
  padding: 30px 34px;
  position: relative;
  z-index: 2;
}
.clinic-hero .eyebrow {
  font: 12px Manrope;
  letter-spacing: 1.8px;
  color: #506675;
  display: flex;
  align-items: center;
  gap: 10px;
}
.clinic-hero h2 {
  font-size: 29px;
  line-height: 1.5;
  letter-spacing: -0.7px;
  color: white;
  margin: 16px 0 10px;
}
.clinic-hero h2 > span {
  color: #506675;
}
.clinic-hero p {
  font-size: 14px;
  color: #506675;
  margin-bottom: 20px;
}
.clinic-hero-content > div {
  display: flex;
  align-items: center;
  gap: 18px;
}
.clinic-hero .btn {
  font-size: 14px;
  padding: 11px 16px;
  gap: 10px;
}
.clinic-hero .btn svg {
  height: 15px;
  width: 15px;
}
.hero-ghost-button {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  color: #c3e6e4;
  font-size: 14px;
  padding: 7px 0;
  border-bottom: 1px solid #2b6470;
}
.hero-ghost-button svg {
  width: 14px;
  height: 14px;
}
.clinic-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  isolation: isolate;
  margin-left: 20px;
}
.clinical-tooth {
  height: 112px;
  width: 112px;
  border-radius: 33px;
  border: 1px solid #74c5bc80;
  background: linear-gradient(135deg, #e8f7f5, #61c4b6);
  box-shadow:
    0 20px 50px #0002,
    inset 0 1px 0 #fff8;
  transform: rotate(-13deg);
  display: grid;
  place-items: center;
}
.clinical-tooth svg {
  height: 65px;
  width: 65px;
  stroke: #137b74;
  stroke-width: 1;
  fill: #ffffff9c;
  filter: drop-shadow(0 5px 8px #15645520);
}
.clinical-orbit {
  position: absolute;
  width: 230px;
  height: 170px;
  border: 1px solid #469fa650;
  border-radius: 50%;
  transform: rotate(-27deg);
  z-index: -1;
}
.orbit-b {
  transform: rotate(40deg);
  width: 200px;
  height: 220px;
  border-style: dashed;
}
.orbit-chip {
  position: absolute;
  padding: 9px 12px;
  background: #173e51e8;
  border: 1px solid #4f93944a;
  backdrop-filter: blur(8px);
  border-radius: 9px;
  color: #c6eeeb;
  font-size: 12px;
  display: flex;
  gap: 7px;
  align-items: center;
  box-shadow: 0 10px 20px #0001;
}
.orbit-chip svg {
  height: 14px;
  width: 14px;
  stroke: #56d5c6;
}
.chip-one {
  right: 0;
  top: 45px;
  transform: rotate(5deg);
}
.chip-two {
  left: 0;
  bottom: 43px;
  transform: rotate(-5deg);
}
.hero-visual-grid {
  position: absolute;
  inset: 18px 0;
  background-image: radial-gradient(#539b9d50 1px, transparent 1px);
  background-size: 17px 17px;
  mask-image: radial-gradient(ellipse, #000, transparent 68%);
  z-index: -2;
}
.dashboard-stats {
  gap: 15px;
}
.insight-stat {
  position: relative;
  display: block;
  border-radius: 13px;
  background: #fff;
  border: 1px solid #e0eaed;
  box-shadow: 0 3px 10px #0b203803;
  padding: 18px 20px;
  overflow: hidden;
}
.insight-stat .stat-top {
  color: #506675;
  font-size: 14px;
}
.insight-stat .stat-value {
  font-size: 28px !important;
  line-height: 1.5;
  color: #0b2038;
  margin: 12px 0 13px;
  min-height: 41px;
  font-weight: 600;
}
.insight-stat .stat-value small {
  font-size: 12px !important;
}
.insight-stat .stat-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  padding-top: 12px;
  border-top: 1px solid #edf3f4;
  color: #506675;
}
.insight-stat .stat-foot > span {
  color: #087568;
  font-size: 15px;
}
.insight-stat.stat-3 {
  background: linear-gradient(130deg, #e8f7f5, #fff);
  border-color: #c7e8e2;
}
.stat-decoration {
  position: absolute;
  left: 18px;
  bottom: 45px;
  opacity: 0.06;
  transform: rotate(-15deg);
  pointer-events: none;
}
.stat-decoration svg {
  width: 57px;
  height: 57px;
  stroke: #0e9f8e;
  stroke-width: 1;
}
.insight-stat:hover {
  border-color: #a2d8d0;
}
.workflow-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 24px;
}
.workflow-shortcuts > button,
.workflow-shortcuts > a {
  display: flex;
  gap: 11px;
  align-items: center;
  text-align: right;
  padding: 16px 14px;
  border: 1px solid #deeaed;
  background: #fff;
  border-radius: 11px;
  transition: 0.2s;
}
.workflow-shortcuts > button > span,
.workflow-shortcuts > a > span {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 1px solid #d9eeeb;
  background: #eff9f7;
  border-radius: 11px;
  flex-shrink: 0;
}
.workflow-shortcuts > button > span svg,
.workflow-shortcuts > a > span svg {
  color: #087568;
  width: 18px;
  height: 18px;
}
.workflow-shortcuts b {
  font-size: 14px;
  display: block;
  font-weight: 500;
}
.workflow-shortcuts small {
  font-size: 12px;
  color: #506675;
  display: block;
  margin-top: 5px;
}
.workflow-shortcuts > button > svg,
.workflow-shortcuts > a > svg {
  height: 13px;
  width: 13px;
  color: #506675;
  margin-right: auto;
  flex-shrink: 0;
}
.workflow-shortcuts > button:hover,
.workflow-shortcuts > a:hover {
  border-color: #a4d8d0;
  background: #fbfefd;
  transform: translateY(-2px);
}
.operations-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(240px, 0.85fr);
  gap: 20px;
  margin-bottom: 22px;
  align-items: stretch;
}
.operations-side {
  display: grid;
  gap: 17px;
}
.calendar-open-link {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #08796d;
}
.calendar-open-link svg {
  width: 13px;
  height: 13px;
}
.agenda-home {
  padding: 23px;
}
.home-visit {
  display: flex;
  align-items: center;
  gap: 13px;
  background: none;
  width: 100%;
  text-align: right;
  padding: 16px 0;
  border-bottom: 1px solid #eaf0f2;
  transition: background 0.2s;
}
.home-visit:last-child {
  border: 0;
}
.home-visit:hover {
  background: #f6fbfa;
}
.home-visit-time {
  min-width: 50px;
  border-left: 1px solid #dfebed;
  padding-left: 14px;
}
.home-visit-time b {
  display: block;
  font: 600 15px Manrope;
  color: #0b2038;
}
.home-visit-time small {
  display: block;
  font-size: 12px;
  color: #506675;
  margin-top: 5px;
}
.home-visit .avatar {
  width: 33px;
  height: 33px;
  border: 0;
  margin: 0;
  background: #e2f4f0;
  font-size: 14px;
}
.home-visit-person {
  flex: 1;
  min-width: 0;
}
.home-visit-person strong {
  font-size: 14px;
  font-weight: 500;
  display: block;
}
.home-visit-person small {
  font-size: 12px;
  display: block;
  color: #506675;
  margin-top: 5px;
  line-height: 1.7;
}
.home-visit-arrow {
  font-size: 17px;
  color: #506675;
}
.workflow-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  border-radius: 50px;
  padding: 5px 8px;
  line-height: 1.5;
}
.workflow-status i {
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: currentColor;
}
.workflow-status.confirmed {
  background: #edf5fb;
  border-color: #d7e8f4;
  color: #506675;
}
.workflow-status.waiting {
  background: #f3f5f8;
  border-color: #e2e8ee;
  color: #506675;
}
.workflow-status.arrived {
  background: #e6f8f1;
  border-color: #c3eadc;
  color: #087568;
}
.workflow-status.completed {
  background: #e7f0f8;
  border-color: #cddfeb;
  color: #345d7d;
}
.workflow-status.rescheduled {
  background: #f1eef9;
  border-color: #e1daef;
  color: #7a68a0;
}
.workflow-status.absent,
.workflow-status.cancelled {
  background: #f5f6f7;
  border-color: #e6e9ec;
  color: #506675;
}
.day-completion {
  padding: 20px;
}
.day-completion .panel-title {
  margin-bottom: 12px;
}
.day-completion .panel-title > svg {
  width: 16px;
  height: 16px;
  stroke: #9bb7c0;
}
.completion-ring {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  background: conic-gradient(#0e9f8e var(--completion), #e8f2f3 0);
  padding: 9px;
  display: grid;
  place-items: center;
  margin: 12px auto 17px;
  transform: rotate(-90deg);
}
.completion-ring > div {
  background: #fff;
  transform: rotate(90deg);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px white;
}
.completion-ring b {
  font: 600 29px Manrope;
  color: #0b2038;
  letter-spacing: -1px;
}
.completion-ring b small {
  font-size: 15px;
  margin-right: 2px;
  color: #506675;
}
.completion-ring span {
  font-size: 12px;
  color: #506675;
  margin-top: 5px;
}
.completion-counts {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 12px;
  color: #506675;
  padding-bottom: 16px;
  border-bottom: 1px solid #e6eef0;
}
.completion-counts b {
  color: #193c53;
  margin-left: 4px;
}
.day-completion > a {
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  color: #08796d;
}
.day-completion > a > svg {
  width: 13px;
  height: 13px;
}
.plan-reminder-card {
  padding: 20px;
  background: linear-gradient(120deg, #0d2b43, #16485b);
  border-radius: 13px;
  border: 1px solid #245063;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.plan-reminder-card:after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1px solid #47929e30;
  border-radius: 50%;
  left: -75px;
  top: -40px;
  box-shadow: 0 0 0 20px #47929e08;
}
.plan-reminder-card .iconbox {
  width: 31px;
  height: 31px;
  background: #1c5362;
  border: 1px solid #3b7480;
  color: #087568;
  border-radius: 9px;
  margin-bottom: 12px;
}
.plan-reminder-card .iconbox svg {
  width: 16px;
  height: 16px;
}
.plan-reminder-card > b {
  display: block;
  font-size: 15px;
  font-weight: 500;
}
.plan-reminder-card p {
  font-size: 12px;
  color: #506675;
  margin: 9px 0 12px;
  line-height: 1.9;
}
.plan-reminder-card > a {
  font-size: 14px;
  color: #087568;
  display: flex;
  gap: 8px;
  align-items: center;
}
.plan-reminder-card > a > svg {
  width: 13px;
  height: 13px;
}
.chart-amount-label {
  display: block;
  font-size: 12px;
  color: #506675;
  margin: 0 0 7px;
}
.revenue-visual .chart {
  height: 175px;
}
.revenue-visual .chart-top {
  margin-top: 25px;
}
.revenue-visual .chart-top b {
  font-size: 27px;
}
.recent-collections .panel-title > a {
  font-size: 12px;
  color: #506675;
}
.collection-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid #e8eff1;
}
.collection-item:last-child {
  border: 0;
}
.collection-icon {
  height: 31px;
  width: 31px;
  background: #edf8f4;
  color: #087568;
  border-radius: 9px;
  display: grid;
  place-items: center;
}
.collection-icon svg {
  height: 15px;
  width: 15px;
}
.collection-item > div {
  min-width: 0;
}
.collection-item small {
  display: block;
  font-size: 12px;
  color: #506675;
  margin-top: 5px;
}
.collection-item > b {
  font-size: 15px;
  font-weight: 500;
  color: #08796d;
  margin-right: auto;
  white-space: nowrap;
}
.collection-item > b small {
  display: inline;
  font-size: 12px;
  color: #506675;
}
.section-visual-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid #dcebee;
  background: linear-gradient(110deg, #fff, #edf8f6);
  border-radius: 15px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.large-section-icon {
  width: 65px;
  height: 65px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid #d2eae5;
  background: linear-gradient(130deg, white, #d0f0eb);
  border-radius: 20px;
  transform: rotate(-7deg);
  box-shadow: 0 8px 20px #0e9f8e0a;
}
.large-section-icon svg {
  width: 31px;
  height: 31px;
  stroke: #159b8d;
  stroke-width: 1.2;
}
.section-visual-header .eyebrow {
  font: 12px Manrope;
  letter-spacing: 1.6px;
  color: #506675;
}
.section-visual-header h2 {
  font-size: 24px;
  letter-spacing: -0.7px;
  margin: 9px 0 5px;
}
.section-visual-header p {
  font-size: 14px;
  color: #506675;
  margin: 0;
}
.section-visual-header > .btn {
  margin-right: auto;
  font-size: 14px;
  padding: 11px 16px;
  gap: 7px;
  white-space: nowrap;
}
.section-visual-header > .btn svg {
  width: 15px;
  height: 15px;
}
.metric-caption {
  display: block;
  font-size: 12px;
  color: #506675;
  margin-top: 7px;
}
.account-metric {
  position: relative;
  overflow: hidden;
}
.account-metric:after {
  content: "";
  position: absolute;
  left: -15px;
  bottom: -30px;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  border: 1px solid #d4ece750;
  box-shadow: 0 0 0 13px #e8f7f540;
  pointer-events: none;
}
.account-metric > div {
  z-index: 1;
  position: relative;
}
.patient-card {
  position: relative;
  overflow: hidden;
}
.patient-card:before {
  content: "";
  height: 4px;
  background: linear-gradient(90deg, #0b2038, #0e9f8e, #bfeee5);
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  opacity: 0.85;
}
.patient-card-top {
  padding-top: 5px;
}
.patient-card .patient-open {
  border-radius: 8px;
}
.profile-header {
  border-radius: 16px;
  border-top: 3px solid #0e9f8e;
}
.profile-active-plans {
  margin-bottom: 22px;
}
.profile-plan-prompt {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 20px;
  background: #eaf6f3;
  border: 1px dashed #9ed8cd;
  border-radius: 12px;
  margin-bottom: 22px;
}
.profile-plan-prompt > svg {
  width: 30px;
  height: 30px;
  stroke: #229c8b;
  flex-shrink: 0;
}
.profile-plan-prompt strong {
  font-size: 15px;
  font-weight: 500;
}
.profile-plan-prompt p {
  font-size: 14px;
  margin: 5px 0 0;
  color: #506675;
}
.profile-plan-prompt .btn {
  margin-right: auto;
  font-size: 14px;
  white-space: nowrap;
  padding: 10px 13px;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}
.treatment-plan-card {
  padding: 23px;
  background: white;
  border: 1px solid #d9e8eb;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px #0b203803;
  transition: 0.25s;
}
.treatment-plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px #0b20380b;
  border-color: #a3d6cd;
}
.treatment-plan-card:before {
  content: "";
  position: absolute;
  top: -35px;
  left: -35px;
  height: 125px;
  width: 125px;
  border: 1px solid #e0eeef;
  border-radius: 50%;
  box-shadow: 0 0 0 15px #f5fafb;
  pointer-events: none;
}
.plan-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 20px;
}
.plan-symbol {
  height: 43px;
  width: 43px;
  border-radius: 13px;
  background: linear-gradient(130deg, #eff9f7, #d9f1e9);
  border: 1px solid #cee8e3;
  display: grid;
  place-items: center;
}
.plan-symbol > svg {
  height: 23px;
  width: 23px;
  stroke: #168f80;
  stroke-width: 1.4;
}
.plan-patient {
  font-size: 14px;
  color: #506675;
  display: flex;
  align-items: center;
  gap: 6px;
  width: max-content;
}
.plan-patient > svg {
  width: 12px;
  height: 12px;
}
.treatment-plan-card h3 {
  font-size: 21px;
  letter-spacing: -0.5px;
  margin: 8px 0 6px;
}
.treatment-plan-card > p {
  font-size: 12px;
  color: #506675;
  margin-bottom: 20px;
}
.plan-budget {
  padding: 15px 17px;
  background: #f4f9fa;
  border: 1px solid #e4eff0;
  border-radius: 10px;
  margin-bottom: 18px;
}
.plan-budget > span:first-child {
  font-size: 12px;
  color: #506675;
  display: block;
}
.plan-budget > strong {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -1px;
  display: block;
  margin: 5px 0;
  color: #102f46;
}
.plan-budget > strong small {
  font-size: 15px;
  margin-right: 3px;
  color: #506675;
}
.fixed-price-label {
  font-size: 12px;
  color: #506675;
}
.plan-payment-split {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}
.plan-payment-split > div {
  flex: 1;
}
.plan-payment-split span {
  font-size: 12px;
  color: #506675;
  display: block;
  margin-bottom: 5px;
}
.plan-payment-split b {
  font-size: 17px;
  font-weight: 500;
  color: #08796d;
}
.plan-payment-split > div:last-child b {
  color: #153b52;
}
.plan-payment-split b small {
  font-size: 12px;
}
.plan-sessions-progress {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #506675;
}
.plan-sessions-progress > div {
  width: 100%;
  height: 5px;
  background: #edf3f4;
  border-radius: 6px;
  margin: 3px 0 20px;
  overflow: hidden;
}
.plan-sessions-progress i {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, #0e9f8e, #16c4b0);
}
.plan-card-actions {
  display: flex;
  border-top: 1px solid #e4eef0;
  padding-top: 14px;
  gap: 8px;
}
.plan-card-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #dce9ea;
  border-radius: 7px;
  background: white;
  padding: 9px;
  font-size: 12px;
  flex: 1;
  white-space: nowrap;
}
.plan-card-actions button:hover {
  background: #e8f7f5;
  border-color: #b7dfd6;
}
.plan-card-actions button > svg {
  height: 13px;
  width: 13px;
  stroke: #0e9f8e;
}
.plan-card-actions button:last-child {
  flex: 0;
  padding: 9px;
}
.included-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #08796d;
}
.included-label > svg,
.cell-secondary > svg {
  width: 12px;
  height: 12px;
  vertical-align: middle;
}
.plan-example {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  background: linear-gradient(110deg, #fff, #edf8f5);
  padding: 40px;
  border-radius: 17px;
  border: 1px solid #dbecea;
}
.plan-example-copy .eyebrow {
  font-size: 14px;
  color: #506675;
}
.plan-example-copy h2 {
  font-size: 27px;
  line-height: 1.6;
  margin: 20px 0 13px;
}
.plan-example-copy h2 span {
  color: #087568;
}
.plan-example-copy p {
  font-size: 15px;
  color: #506675;
  max-width: 450px;
}
.plan-example-copy .btn {
  font-size: 14px;
  padding: 12px 18px;
  gap: 8px;
  margin-top: 12px;
}
.plan-example-copy .btn svg {
  width: 15px;
  height: 15px;
}
.example-ledger {
  background: white;
  border: 1px solid #dcebea;
  border-radius: 13px;
  padding: 22px;
  align-self: center;
  box-shadow: 0 15px 30px #123b4b08;
  transform: rotate(-3deg);
}
.example-ledger > div {
  display: flex;
  justify-content: space-between;
  padding: 17px 0;
  border-bottom: 1px solid #e6efef;
  gap: 20px;
}
.example-ledger > div:last-child {
  border: 0;
  color: #08796d;
}
.example-ledger span {
  font-size: 14px;
  color: #506675;
}
.example-ledger b {
  font: 600 18px Manrope;
  direction: ltr;
}
/* Calendar */
.route-calendar .page-heading,
.route-plans .page-heading,
.route-treatments .page-heading,
.route-invoices .page-heading {
  display: none;
}
.calendar-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 23px;
}
.calendar-intro .eyebrow {
  font: 12px Manrope;
  letter-spacing: 1.5px;
  color: #506675;
}
.calendar-intro h2 {
  font-size: 26px;
  margin: 8px 0 7px;
  letter-spacing: -0.6px;
}
.calendar-intro p {
  font-size: 14px;
  color: #506675;
  margin: 0;
}
.calendar-quick-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #506675;
}
.calendar-quick-summary > span {
  display: flex;
  gap: 5px;
  align-items: center;
}
.summary-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0e9f8e;
}
.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 235px;
  gap: 19px;
  align-items: start;
}
.calendar-board {
  border: 1px solid #dce8ed;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 4px 20px #0b203803;
}
.calendar-toolbar {
  padding: 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #e8eff1;
  flex-wrap: wrap;
}
.calendar-navigation {
  display: flex;
  align-items: center;
  gap: 10px;
}
.calendar-navigation > button {
  width: 25px;
  height: 27px;
  border: 1px solid #e1ebed;
  border-radius: 5px;
  background: white;
  color: #506675;
  display: grid;
  place-items: center;
}
.calendar-navigation > button > svg {
  width: 13px;
  height: 13px;
}
.calendar-navigation > button:first-child {
  transform: rotate(180deg);
}
.calendar-navigation h3 {
  font-size: 14px;
  margin: 0 3px;
  white-space: nowrap;
}
.calendar-navigation .calendar-today {
  font-size: 12px;
  width: auto;
  padding: 4px 10px;
  margin-right: 5px;
}
.calendar-view-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: #f0f5f6;
  border: 1px solid #e3ecee;
  border-radius: 7px;
}
.calendar-view-switch > button {
  padding: 6px 12px;
  background: none;
  border-radius: 5px;
  font-size: 12px;
  color: #506675;
}
.calendar-view-switch > button.active {
  background: white;
  box-shadow: 0 2px 5px #0b203810;
  color: #0b2038;
}
.calendar-filterbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 18px;
  border-bottom: 1px solid #e4edf0;
  background: #fcfefe;
}
.calendar-filterbar > select {
  padding: 7px 10px;
  width: 130px;
  background: #fff;
  font-size: 12px;
  border-color: #e1ebed;
}
.calendar-date-label {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 12px;
}
.calendar-date-label > svg {
  width: 14px;
  height: 14px;
  stroke: #7fa2ad;
}
.calendar-date-label > input {
  margin: 0;
  font-size: 12px;
  padding: 6px 8px;
  width: 125px;
  background: #fff;
  border-color: #e1ebed;
}
.calendar-patient-search {
  font-size: 12px;
  padding: 7px 9px;
  background: #fff;
  width: 145px;
}
.calendar-key {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #506675;
  margin-right: auto;
}
.calendar-key > i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #57bbae;
  margin-right: 7px;
}
.calendar-key > i:nth-child(2) {
  background: #68bc9b;
}
.calendar-key > i:nth-child(3) {
  background: #6089a4;
}
.calendar-agenda {
  border: 1px solid #dce8ed;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  padding: 19px;
}
.agenda-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  color: #254b62;
}
.agenda-title b {
  font-size: 12px;
  color: #506675;
  font-weight: 400;
}
.agenda-add {
  font-size: 14px;
  width: 100%;
  gap: 6px;
  padding: 10px;
  margin: 18px 0 7px;
  border-radius: 7px;
}
.agenda-add svg {
  height: 14px;
  width: 14px;
}
.agenda-events {
  max-height: 660px;
  overflow: auto;
}
.agenda-item {
  padding: 17px 0;
  border-bottom: 1px solid #e7eff0;
}
.agenda-item:last-child {
  border: 0;
}
.agenda-item-head {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  align-items: center;
  margin-bottom: 9px;
}
.agenda-item-head > span:first-child {
  font: 500 14px Manrope;
  color: #506675;
}
.agenda-item-head .status {
  font-size: 12px;
  padding: 3px 6px;
}
.agenda-item > button {
  display: block;
  background: none;
  padding: 0;
  text-align: right;
  width: 100%;
}
.agenda-item > button > strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #183b51;
}
.agenda-item > button > small {
  display: block;
  font-size: 12px;
  color: #506675;
  margin-top: 6px;
}
.agenda-doctor {
  font-size: 12px;
  color: #506675;
  display: block;
  margin-top: 7px;
}
.agenda-plan {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 12px;
  color: #087568;
  margin-top: 8px;
}
.agenda-plan > svg {
  height: 11px;
  width: 11px;
}
.agenda-tip {
  padding: 13px;
  background: #eff8f6;
  border: 1px solid #d4eae4;
  border-radius: 8px;
  margin-top: 17px;
  display: flex;
  align-items: start;
  gap: 7px;
}
.agenda-tip > svg {
  width: 15px;
  height: 15px;
  stroke: #409e8c;
  flex-shrink: 0;
}
.agenda-tip p {
  font-size: 12px;
  color: #506675;
  line-height: 1.9;
  margin: 0;
}
.calendar-agenda .record-empty {
  padding: 25px 0;
}
.calendar-agenda .record-empty h3 {
  font-size: 15px;
}
.calendar-agenda .record-empty p {
  font-size: 12px;
}
.month-grid {
  overflow: auto;
}
.month-daynames,
.month-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(85px, 1fr));
  min-width: 650px;
}
.month-daynames {
  background: #f9fbfc;
  border-bottom: 1px solid #e4edf0;
}
.month-daynames > span {
  padding: 13px 6px;
  text-align: center;
  font-size: 12px;
  color: #506675;
  border-left: 1px solid #ecf2f4;
}
.month-cell {
  min-height: 135px;
  border-left: 1px solid #e4edf0;
  border-bottom: 1px solid #e4edf0;
  padding: 8px 5px;
  background: white;
}
.month-cell.outside-month {
  background: #f9fbfc;
  opacity: 0.65;
}
.month-cell.is-today {
  background: #f1fbf8;
}
.month-cell-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  align-items: center;
}
.month-cell-top > button:first-child {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  background: none;
  font: 500 14px Manrope;
  color: #506675;
  border-radius: 50%;
}
.is-today .month-cell-top > button:first-child {
  background: #0e9f8e;
  color: #0b2038;
}
.add-cell {
  width: 22px;
  height: 22px;
  background: none;
  color: #506675;
  font-size: 17px;
  border-radius: 5px;
  opacity: 0;
}
.month-cell:hover .add-cell,
.add-cell:focus-visible {
  opacity: 1;
}
.add-cell:hover {
  background: #dff4ee;
  color: #087568;
}
.month-event {
  display: block;
  width: 100%;
  font-size: 12px;
  padding: 6px;
  margin-bottom: 4px;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-right: 2px solid #4bbbad;
  border-radius: 4px;
  background: #edf9f6;
  color: #087568;
}
.month-event span {
  font: 500 12px Manrope;
  margin-left: 3px;
}
.month-event.linked-plan {
  border-color: #5089b2;
  background: #edf3f9;
  color: #506675;
}
.more-events {
  font-size: 12px;
  padding: 5px;
  background: none;
  color: #506675;
}
.week-scroll {
  overflow: auto;
  max-height: 720px;
  scrollbar-width: thin;
}
.week-board {
  min-width: 820px;
}
.week-heading,
.week-body {
  display: grid;
  grid-template-columns: 46px repeat(7, minmax(105px, 1fr));
}
.week-heading {
  position: sticky;
  top: 0;
  z-index: 7;
  background: white;
  border-bottom: 1px solid #e4edf0;
}
.timezone-label {
  font: 12px Manrope;
  display: grid;
  place-items: center;
  color: #506675;
  border-left: 1px solid #e4edf0;
}
.week-day-title {
  padding: 14px 0 11px;
  text-align: center;
  border-left: 1px solid #e4edf0;
}
.week-day-title > span {
  font-size: 12px;
  color: #506675;
  display: block;
}
.week-day-title > button {
  font: 500 17px Manrope;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  display: grid;
  place-items: center;
  background: none;
  color: #4b7186;
  margin: 5px auto;
}
.week-day-title small {
  font-size: 12px;
  color: #506675;
  display: block;
}
.today-heading {
  background: #f4fbf9;
}
.today-heading > button {
  background: #0e9f8e;
  color: #0b2038;
}
.week-body {
  position: relative;
}
.week-day-column {
  position: relative;
  border-left: 1px solid #e4edf0;
  background: white;
}
.week-day-column.today-column {
  background: #fcfffe;
}
.time-gutter {
  position: relative;
  background: #fbfdfe;
  border-left: 1px solid #e4edf0;
}
.time-gutter > span {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  font: 12px Manrope;
  color: #506675;
  transform: translateY(-4px);
  background: #fbfdfe;
  padding: 4px 0;
}
.time-gutter > span:first-child {
  transform: translateY(0);
}
.time-slot {
  position: absolute;
  right: 0;
  left: 0;
  width: 100%;
  background: none;
  border-top: 1px solid #e7eff2;
  padding: 0;
  text-align: center;
}
.time-slot:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px dotted #edf3f5;
  pointer-events: none;
}
.time-slot > span {
  opacity: 0;
  font-size: 12px;
  color: #087568;
}
.time-slot:hover {
  background: #f0faf7;
}
.time-slot:hover > span,
.time-slot:focus-visible > span {
  opacity: 1;
}
.positioned-event {
  position: absolute;
  left: 4px;
  right: 4px;
  z-index: 3;
}
.calendar-event {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(120deg, #daf4ec, #e8f8f3);
  border: 1px solid #bce7dc;
  border-right: 3px solid #33ad97;
  padding: 6px 7px;
  text-align: right;
  transition:
    filter 0.15s,
    box-shadow 0.15s;
}
.calendar-event:hover {
  filter: brightness(0.98);
  box-shadow: 0 3px 10px #0b203812;
}
.event-time {
  font: 500 12px Manrope;
  color: #087568;
  white-space: nowrap;
}
.calendar-event > strong {
  font-size: 12px;
  font-weight: 500;
  color: #316c65;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.calendar-event > small {
  font-size: 12px;
  color: #087568;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-foot {
  font-size: 12px;
  line-height: 1.6;
  color: #087568;
  margin-top: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.plan-event-dot {
  height: 4px;
  width: 4px;
  display: inline-block;
  border-radius: 50%;
  background: #39ae98;
  vertical-align: middle;
  margin-left: 2px;
}
.calendar-event.is-complete {
  background: linear-gradient(120deg, #e3edf5, #eef4f9);
  border-color: #c5d9e8;
  border-right-color: #528caf;
}
.is-complete .event-time,
.is-complete > strong,
.is-complete > small,
.is-complete .event-foot {
  color: #506675;
}
.calendar-event.is-moved {
  background: #f0edfa;
  border-color: #dfd7f0;
  border-right-color: #9a83bd;
}
.is-moved .event-time,
.is-moved > strong,
.is-moved > small,
.is-moved .event-foot {
  color: #506675;
}
.calendar-event.is-arrived {
  border-right-color: #159c71;
  background: #def5e9;
}
.is-short .calendar-event {
  gap: 2px;
  padding: 3px 6px;
}
.is-short .calendar-event > small,
.is-short .event-foot {
  display: none;
}
.is-short .calendar-event strong {
  font-size: 12px;
}
.is-tiny .calendar-event {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  padding: 0 4px;
}
.is-tiny .calendar-event strong {
  font-size: 12px;
}
.is-tiny .event-time {
  font-size: 12px;
}
.week-board.single-day {
  min-width: 400px;
}
.single-day .week-heading,
.single-day .week-body {
  grid-template-columns: 46px minmax(330px, 1fr);
}
.single-day .calendar-event {
  max-width: none;
}
.single-day .calendar-event > strong {
  font-size: 14px;
}
.single-day .event-time {
  font-size: 12px;
}
/* Visit dialogs and financial completion */
#record-dialog.workflow-dialog {
  max-width: 650px;
}
#booking {
  max-width: 550px;
  max-height: 92vh;
  overflow: auto;
}
.booking-subtitle {
  font-size: 14px;
  color: #506675;
  margin-top: -13px;
  margin-bottom: 22px;
}
.booking-plan-note {
  display: flex;
  align-items: start;
  gap: 9px;
  background: #edf8f4;
  border: 1px solid #d2e9e2;
  border-radius: 8px;
  padding: 12px 14px;
  color: #087568;
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 18px;
}
.booking-plan-note > svg {
  height: 17px;
  width: 17px;
  stroke: #329f87;
  flex-shrink: 0;
  margin-top: 2px;
}
.appointment-person {
  display: flex;
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid #e3eef0;
  padding-bottom: 21px;
  margin-bottom: 21px;
}
.appointment-person h3 {
  font-size: 22px;
  margin: 0 0 4px;
}
.appointment-person p {
  font-size: 14px;
  color: #506675;
  margin: 0 0 8px;
}
.appointment-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
}
.appointment-detail-grid > div {
  display: flex;
  gap: 10px;
  align-items: center;
}
.appointment-detail-grid > div > svg {
  width: 18px;
  height: 18px;
  stroke: #9dbac4;
}
.appointment-detail-grid > div > span {
  display: block;
  font-size: 12px;
  color: #506675;
}
.appointment-detail-grid b,
.appointment-detail-grid a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #395c72;
  margin-top: 5px;
}
.appointment-detail-grid a {
  color: #087568;
}
.appointment-contract {
  background: #e8f7f1;
  border: 1px solid #cce8de;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 19px;
}
.appointment-contract > span {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 14px;
  color: #087568;
}
.appointment-contract > span svg {
  width: 17px;
  height: 17px;
  stroke: #2d9c82;
}
.appointment-contract > strong {
  display: block;
  font-size: 19px;
  font-weight: 500;
  color: #1c665a;
  margin-top: 9px;
}
.appointment-contract strong small {
  font-size: 14px;
}
.appointment-contract p {
  font-size: 14px;
  color: #087568;
  margin: 7px 0 0;
}
.appointment-contract.neutral {
  background: #eff5f9;
  border-color: #dce8f0;
}
.appointment-contract.neutral > span {
  color: #506675;
}
.appointment-contract.neutral > span svg {
  stroke: #8cabbc;
}
.appointment-contract.neutral p {
  color: #506675;
}
.visit-account-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 21px;
}
.visit-account-mini > div {
  border: 1px solid #e2edf0;
  border-radius: 9px;
  padding: 13px 10px;
  background: #fbfdfe;
}
.visit-account-mini > div:last-child {
  background: #f0f8f6;
  border-color: #d0e8e1;
}
.visit-account-mini span {
  display: block;
  font-size: 12px;
  color: #506675;
  margin-bottom: 6px;
}
.visit-account-mini b {
  font-size: 17px;
  font-weight: 500;
  color: #3d6579;
}
.visit-account-mini b small {
  font-size: 12px;
}
.visit-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 21px;
}
.visit-action-grid .btn {
  font-size: 14px;
  gap: 8px;
  padding: 12px 10px;
}
.visit-action-grid .btn svg {
  height: 16px;
  width: 16px;
}
.text-action {
  font-size: 14px;
  padding: 8px;
  background: none;
  color: #506675;
}
.text-action:hover {
  color: #426a7f;
}
.visit-completion-result {
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 15px 18px;
  border: 1px solid #cfe8df;
  background: #edf8f2;
  border-radius: 9px;
}
.visit-completion-result > svg {
  height: 18px;
  width: 18px;
  stroke: #3eaa84;
  margin-top: 2px;
}
.visit-completion-result b {
  font-size: 15px;
  font-weight: 500;
  color: #087568;
}
.visit-completion-result p {
  font-size: 14px;
  color: #087568;
  margin: 7px 0 0;
}
.visit-completion-result p small {
  font-size: 12px;
}
.appointment-history {
  margin-top: 25px;
  border-top: 1px solid #e3edf0;
  padding-top: 20px;
}
.appointment-history h3 {
  font-size: 15px;
  margin-bottom: 13px;
}
.appointment-history p {
  font-size: 14px;
  color: #506675;
  border-right: 2px solid #cce5e0;
  padding-right: 12px;
  margin-bottom: 13px;
}
.appointment-history small {
  display: block;
  font-size: 12px;
  color: #506675;
  margin-top: 4px;
}
.completion-patient {
  font-size: 16px;
  margin-bottom: 20px;
  color: #2a5368;
}
.completion-patient span {
  font-size: 14px;
  color: #506675;
  margin-right: 8px;
}
.finish-financial {
  padding: 18px;
  background: #f5f9fb;
  border: 1px solid #dfecef;
  border-radius: 11px;
  margin: 20px 0 12px;
}
.finish-financial > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #dfecef;
  margin-bottom: 18px;
}
.finish-financial > div:first-child span {
  font-size: 14px;
  color: #506675;
}
.finish-financial > div:first-child b {
  font-size: 16px;
  font-weight: 500;
}
.finish-financial > div:first-child b small {
  font-size: 14px;
}
.finish-financial > label {
  margin: 0 0 17px;
}
.finish-balance {
  display: flex;
  justify-content: space-between;
  padding: 16px;
  background: #e1f4ec;
  border: 1px solid #c5e5d8;
  border-radius: 8px;
  gap: 15px;
  align-items: center;
}
.finish-balance span {
  font-size: 14px;
  color: #087568;
}
.finish-balance b {
  font-size: 20px;
  font-weight: 500;
  color: #1d7b63;
}
.finish-balance small {
  font-size: 14px;
}
.finish-financial > p {
  font-size: 12px;
  color: #506675;
  margin: 13px 0 0;
  line-height: 1.8;
}
.appointment-manage {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.appointment-manage svg {
  width: 12px;
  height: 12px;
}
.flow-submit {
  margin-top: 22px !important;
}
@media (min-width: 1500px) {
  .plans-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .calendar-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .clinic-hero h2 {
    font-size: 33px;
  }
  .clinic-hero {
    min-height: 260px;
  }
}
@media (max-width: 1200px) {
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .clinic-hero-content {
    padding: 28px;
  }
  .clinic-hero h2 {
    font-size: 25px;
  }
  .clinical-tooth {
    width: 92px;
    height: 92px;
    border-radius: 27px;
  }
  .clinical-tooth svg {
    width: 53px;
    height: 53px;
  }
  .clinical-orbit {
    width: 180px;
    height: 135px;
  }
  .orbit-b {
    width: 155px;
    height: 175px;
  }
  .orbit-chip {
    font-size: 12px;
    padding: 7px;
  }
  .chip-one {
    right: -4px;
    top: 55px;
  }
  .chip-two {
    left: -8px;
    bottom: 50px;
  }
  .workflow-shortcuts {
    gap: 9px;
  }
  .workflow-shortcuts > button,
  .workflow-shortcuts > a {
    padding: 13px 10px;
    gap: 8px;
  }
  .workflow-shortcuts > button > span,
  .workflow-shortcuts > a > span {
    width: 31px;
    height: 31px;
    border-radius: 9px;
  }
  .workflow-shortcuts b {
    font-size: 14px;
  }
  .workflow-shortcuts small {
    font-size: 12px;
  }
  .operations-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(215px, 0.8fr);
  }
  .calendar-layout {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 14px;
  }
  .calendar-agenda {
    padding: 16px;
  }
  .calendar-quick-summary {
    gap: 10px;
    font-size: 12px;
    max-width: 230px;
  }
  .calendar-toolbar {
    padding: 14px;
    gap: 12px;
  }
  .calendar-navigation h3 {
    font-size: 15px;
  }
  .calendar-view-switch > button {
    padding: 6px 10px;
  }
  .calendar-filterbar {
    padding: 10px 13px;
    gap: 8px;
  }
  .calendar-key {
    display: none;
  }
  .home-visit {
    gap: 10px;
  }
  .home-visit .avatar {
    display: none;
  }
  .home-visit-person small {
    font-size: 12px;
  }
  .home-visit .status {
    font-size: 12px;
    padding: 4px 6px;
  }
  .home-visit-time {
    min-width: 45px;
    padding-left: 10px;
  }
  .home-visit-time b {
    font-size: 14px;
  }
  .home-visit-arrow {
    display: none;
  }
  .agenda-home {
    padding: 20px;
  }
  .recent-collections .patient-name-link {
    font-size: 14px;
  }
  .collection-item > b {
    font-size: 14px;
  }
  .collection-item {
    gap: 8px;
  }
  .collection-icon {
    width: 27px;
    height: 27px;
  }
  .insight-stat {
    padding: 16px;
  }
  .insight-stat .stat-value {
    font-size: 24px !important;
  }
  .plan-example {
    gap: 25px;
    padding: 30px;
  }
  .plan-example-copy h2 {
    font-size: 23px;
  }
}
@media (max-width: 960px) {
  .calendar-layout {
    grid-template-columns: 1fr;
  }
  .calendar-agenda {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0 20px;
    align-items: start;
  }
  .agenda-title {
    grid-column: 1;
  }
  .agenda-add {
    grid-column: 1;
  }
  .agenda-events {
    grid-column: 2;
    grid-row: 1/5;
    max-height: 300px;
  }
  .agenda-tip {
    grid-column: 1;
  }
  .agenda-item:first-child {
    padding-top: 0;
  }
  .operations-grid {
    grid-template-columns: 1fr;
  }
  .operations-side {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
  .completion-ring {
    width: 100px;
    height: 100px;
    margin: 9px auto 12px;
  }
  .completion-counts {
    font-size: 12px;
    gap: 15px;
  }
  .day-completion {
    padding: 18px;
  }
  .plan-reminder-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 23px;
  }
  .plan-reminder-card > b {
    font-size: 14px;
  }
  .plan-reminder-card p {
    font-size: 14px;
  }
  .plan-reminder-card .iconbox {
    width: 35px;
    height: 35px;
  }
  .calendar-intro {
    align-items: start;
  }
  .calendar-quick-summary {
    max-width: 210px;
    font-size: 12px;
  }
  .week-scroll {
    max-height: 620px;
  }
  .section-visual-header {
    gap: 16px;
  }
  .large-section-icon {
    width: 55px;
    height: 55px;
  }
  .section-visual-header h2 {
    font-size: 22px;
  }
  .section-visual-header p {
    font-size: 12px;
  }
  .metric-caption {
    font-size: 12px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    width: 235px;
    padding-top: 24px;
  }
  .clinic-hero {
    display: block;
    border-radius: 15px;
    min-height: 0;
  }
  .clinic-hero-content {
    padding: 25px;
    max-width: 100%;
  }
  .clinic-hero h2 {
    font-size: 25px;
    line-height: 1.6;
    margin: 17px 0 10px;
  }
  .clinic-hero p {
    font-size: 14px;
    max-width: 280px;
  }
  .clinic-hero-content > div {
    gap: 13px;
    flex-wrap: wrap;
  }
  .clinic-hero .btn {
    font-size: 14px;
    padding: 10px 13px;
    gap: 7px;
  }
  .clinic-hero .btn svg {
    width: 14px;
    height: 14px;
  }
  .hero-ghost-button {
    font-size: 12px;
    gap: 5px;
  }
  .clinic-hero .eyebrow {
    font-size: 12px;
    letter-spacing: 1.1px;
  }
  .clinic-hero-visual {
    height: 160px;
    margin: -5px 28px 15px;
    display: flex;
    justify-content: center;
  }
  .clinical-tooth {
    height: 90px;
    width: 90px;
    position: absolute;
    top: 25px;
  }
  .clinical-tooth svg {
    height: 52px;
    width: 52px;
  }
  .clinical-orbit {
    width: 200px;
    height: 130px;
    top: 9px;
  }
  .orbit-b {
    width: 150px;
    height: 150px;
    top: 0;
  }
  .chip-one {
    top: 19px;
    right: 20px;
    font-size: 12px;
  }
  .chip-two {
    bottom: 18px;
    left: 20px;
    font-size: 12px;
  }
  .hero-visual-grid {
    inset: 0 0 10px;
  }
  .dashboard-stats {
    gap: 10px;
  }
  .insight-stat {
    padding: 15px 14px;
    border-radius: 11px;
  }
  .insight-stat .stat-top {
    font-size: 12px;
  }
  .insight-stat .stat-value {
    font-size: 24px !important;
    min-height: 36px;
    margin: 10px 0;
  }
  .insight-stat .stat-value small {
    font-size: 12px !important;
  }
  .insight-stat .stat-foot {
    font-size: 12px;
    padding-top: 9px;
  }
  .insight-stat .stat-foot > span {
    font-size: 15px;
  }
  .stat-decoration {
    bottom: 40px;
    left: 10px;
  }
  .stat-decoration svg {
    width: 42px;
    height: 42px;
  }
  .workflow-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
  }
  .workflow-shortcuts > button,
  .workflow-shortcuts > a {
    padding: 12px 11px;
    gap: 9px;
  }
  .workflow-shortcuts b {
    font-size: 14px;
  }
  .workflow-shortcuts small {
    font-size: 12px;
    margin-top: 4px;
  }
  .workflow-shortcuts > button > span,
  .workflow-shortcuts > a > span {
    height: 30px;
    width: 30px;
  }
  .workflow-shortcuts > button > svg,
  .workflow-shortcuts > a > svg {
    height: 11px;
    width: 11px;
  }
  .operations-grid {
    gap: 15px;
    margin-bottom: 18px;
  }
  .agenda-home {
    padding: 18px;
  }
  .home-visit {
    gap: 11px;
    padding: 16px 0;
  }
  .home-visit-time {
    min-width: 47px;
  }
  .home-visit-time b {
    font-size: 15px;
  }
  .home-visit-person strong {
    font-size: 14px;
  }
  .home-visit-person small {
    font-size: 12px;
    line-height: 1.8;
    max-width: 180px;
  }
  .home-visit .status {
    font-size: 12px;
    padding: 4px 6px;
    gap: 3px;
  }
  .home-visit .status i {
    height: 3px;
    width: 3px;
  }
  .calendar-open-link {
    font-size: 12px;
    gap: 5px;
  }
  .agenda-home .panel-title h2 {
    font-size: 15px;
  }
  .agenda-home .panel-title p {
    font-size: 12px;
  }
  .operations-side {
    gap: 12px;
    grid-template-columns: 1fr 1fr;
  }
  .day-completion {
    padding: 16px 13px;
  }
  .day-completion .panel-title h2 {
    font-size: 14px;
  }
  .day-completion .panel-title > svg {
    width: 13px;
    height: 13px;
  }
  .completion-ring {
    width: 98px;
    height: 98px;
    padding: 7px;
  }
  .completion-ring b {
    font-size: 25px;
  }
  .completion-ring b small {
    font-size: 14px;
  }
  .completion-ring span {
    font-size: 12px;
  }
  .completion-counts {
    gap: 8px;
    font-size: 12px;
    flex-wrap: wrap;
    padding-bottom: 12px;
  }
  .day-completion > a {
    font-size: 12px;
    gap: 5px;
    margin-top: 13px;
  }
  .plan-reminder-card {
    padding: 18px 15px;
  }
  .plan-reminder-card > b {
    font-size: 15px;
    line-height: 1.7;
  }
  .plan-reminder-card p {
    font-size: 12px;
    line-height: 1.9;
    margin-top: 7px;
  }
  .plan-reminder-card > a {
    font-size: 12px;
    gap: 5px;
  }
  .plan-reminder-card .iconbox {
    height: 30px;
    width: 30px;
    margin-bottom: 10px;
  }
  .recent-collections .collection-item {
    padding: 14px 0;
  }
  .recent-collections .patient-name-link {
    font-size: 14px;
  }
  .collection-item > b {
    font-size: 15px;
  }
  .section-visual-header {
    padding: 21px 18px;
    gap: 15px;
    flex-wrap: wrap;
    border-radius: 12px;
    margin-bottom: 20px;
  }
  .large-section-icon {
    height: 49px;
    width: 49px;
    border-radius: 15px;
  }
  .large-section-icon svg {
    height: 26px;
    width: 26px;
  }
  .section-visual-header .eyebrow {
    font-size: 12px;
    letter-spacing: 1px;
  }
  .section-visual-header h2 {
    font-size: 21px;
    margin: 7px 0 5px;
  }
  .section-visual-header p {
    font-size: 12px;
    max-width: 240px;
    line-height: 1.8;
  }
  .section-visual-header > .btn {
    font-size: 14px;
    padding: 10px 14px;
    margin: 0;
    width: 100%;
    justify-content: center;
  }
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .treatment-plan-card {
    padding: 23px;
  }
  .plan-budget > strong {
    font-size: 30px;
  }
  .plan-patient {
    font-size: 14px;
  }
  .treatment-plan-card h3 {
    font-size: 23px;
  }
  .treatment-plan-card > p {
    font-size: 14px;
  }
  .plan-payment-split b {
    font-size: 19px;
  }
  .plan-sessions-progress {
    font-size: 12px;
  }
  .plan-card-actions button {
    font-size: 14px;
    padding: 10px;
  }
  .plan-card-actions button:last-child {
    padding: 10px;
  }
  .profile-plan-prompt {
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px;
  }
  .profile-plan-prompt > div {
    flex: 1;
    min-width: 190px;
  }
  .profile-plan-prompt strong {
    font-size: 14px;
  }
  .profile-plan-prompt p {
    font-size: 12px;
  }
  .profile-plan-prompt .btn {
    font-size: 14px;
    width: 100%;
    margin: 0;
  }
  .metric-caption {
    font-size: 12px;
    line-height: 1.8;
    margin-top: 5px;
  }
  .account-metric:after {
    height: 65px;
    width: 65px;
    bottom: -20px;
    left: -20px;
  }
  .plan-example {
    grid-template-columns: 1fr;
    padding: 27px 22px;
    gap: 28px;
  }
  .plan-example-copy h2 {
    font-size: 24px;
    margin-top: 18px;
  }
  .plan-example-copy p {
    font-size: 14px;
  }
  .example-ledger {
    margin: 0 7px 7px;
    padding: 19px;
  }
  .example-ledger > div {
    padding: 15px 0;
  }
  .example-ledger span {
    font-size: 14px;
  }
  .example-ledger b {
    font-size: 18px;
  }
  .calendar-intro {
    display: block;
    margin-bottom: 20px;
  }
  .calendar-intro .eyebrow {
    font-size: 12px;
  }
  .calendar-intro h2 {
    font-size: 25px;
  }
  .calendar-intro p {
    font-size: 14px;
    max-width: 310px;
  }
  .calendar-quick-summary {
    max-width: none;
    margin-top: 15px;
    font-size: 12px;
    gap: 12px;
  }
  .calendar-layout {
    gap: 15px;
  }
  .calendar-toolbar {
    padding: 14px 12px;
    gap: 14px;
  }
  .calendar-navigation {
    gap: 8px;
  }
  .calendar-navigation h3 {
    font-size: 15px;
  }
  .calendar-view-switch {
    margin-right: auto;
  }
  .calendar-view-switch > button {
    padding: 6px 11px;
    font-size: 12px;
  }
  .calendar-filterbar {
    padding: 12px;
    gap: 9px;
  }
  .calendar-filterbar > select {
    width: calc(50% - 5px);
    font-size: 12px;
  }
  .calendar-date-label {
    width: calc(50% - 5px);
  }
  .calendar-date-label > input {
    width: 100%;
    font-size: 12px;
  }
  .calendar-date-label > svg {
    display: none;
  }
  .calendar-patient-search {
    width: 100%;
    font-size: 14px;
  }
  .calendar-board {
    border-radius: 11px;
  }
  .calendar-agenda {
    display: block;
    padding: 20px;
  }
  .agenda-title {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
  }
  .agenda-title b {
    font-size: 12px;
  }
  .agenda-events {
    max-height: 400px;
  }
  .agenda-item {
    padding: 17px 0;
  }
  .agenda-item:first-child {
    padding-top: 14px;
  }
  .agenda-item > button > strong {
    font-size: 15px;
  }
  .agenda-item > button > small {
    font-size: 14px;
  }
  .agenda-doctor {
    font-size: 12px;
  }
  .agenda-plan {
    font-size: 12px;
  }
  .agenda-tip p {
    font-size: 12px;
  }
  .week-scroll {
    max-height: 570px;
  }
  .week-board {
    min-width: 820px;
  }
  .week-day-title > button {
    height: 28px;
    width: 28px;
    font-size: 16px;
  }
  .week-day-title > span {
    font-size: 12px;
  }
  .week-board.single-day {
    min-width: 310px;
  }
  .single-day .week-heading,
  .single-day .week-body {
    grid-template-columns: 42px minmax(250px, 1fr);
  }
  .month-cell {
    min-height: 120px;
  }
  .add-cell {
    opacity: 1;
  }
  .month-event {
    font-size: 12px;
  }
  .calendar-key {
    display: none;
  }
  .appointment-detail-grid {
    gap: 15px;
  }
  .appointment-detail-grid b,
  .appointment-detail-grid a {
    font-size: 14px;
  }
  .appointment-person h3 {
    font-size: 21px;
  }
  .appointment-person p {
    font-size: 14px;
  }
  .appointment-contract {
    padding: 15px;
  }
  .appointment-contract > span {
    font-size: 14px;
  }
  .appointment-contract > strong {
    font-size: 18px;
  }
  .appointment-contract p {
    font-size: 12px;
  }
  .visit-account-mini {
    gap: 7px;
  }
  .visit-account-mini > div {
    padding: 12px 9px;
  }
  .visit-account-mini span {
    font-size: 12px;
    line-height: 1.8;
    min-height: 25px;
  }
  .visit-account-mini b {
    font-size: 16px;
  }
  .visit-account-mini b small {
    font-size: 12px;
  }
  .visit-action-grid {
    gap: 8px;
  }
  .visit-action-grid .btn {
    font-size: 14px;
    padding: 11px 8px;
    gap: 5px;
  }
  .visit-action-grid .btn svg {
    height: 13px;
    width: 13px;
  }
  .finish-financial {
    padding: 16px;
  }
  .finish-financial > div:first-child span {
    font-size: 12px;
  }
  .finish-financial > div:first-child b {
    font-size: 15px;
  }
  .finish-balance {
    padding: 14px;
    gap: 12px;
  }
  .finish-balance span {
    font-size: 12px;
    max-width: 155px;
  }
  .finish-balance b {
    font-size: 18px;
    white-space: nowrap;
  }
  .finish-financial > p {
    font-size: 12px;
  }
  .booking-plan-note {
    font-size: 12px;
    padding: 11px 12px;
  }
  .appointment-history p {
    font-size: 12px;
  }
  .appointment-history small {
    font-size: 12px;
  }
  .route-calendar .dash-content,
  .route-plans .dash-content {
    padding-top: 24px;
  }
}
@media (max-width: 390px) {
  .operations-side {
    grid-template-columns: 1fr;
  }
  .day-completion {
    display: block;
  }
  .plan-reminder-card {
    padding: 22px;
  }
  .clinic-hero-content {
    padding: 23px 21px;
  }
  .clinic-hero h2 {
    font-size: 23px;
  }
  .clinic-hero-visual {
    margin-left: 15px;
    margin-right: 15px;
  }
  .chip-one {
    right: 5px;
  }
  .chip-two {
    left: 5px;
  }
  .insight-stat .stat-value {
    font-size: 21px !important;
  }
  .calendar-view-switch {
    margin-right: 0;
  }
  .calendar-toolbar {
    justify-content: space-between;
  }
  .profile-tabs {
    gap: 14px;
  }
  .visit-action-grid {
    grid-template-columns: 1fr;
  }
  .visit-action-grid .text-action {
    padding: 8px;
  }
  .section-visual-header > div {
    max-width: 220px;
  }
  .section-visual-header h2 {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .treatment-plan-card:hover,
  .workflow-shortcuts > button:hover,
  .workflow-shortcuts > a:hover {
    transform: none;
  }
}

.route-appointments .page-heading,
.route-reports .page-heading {
  display: none;
}
.section-header-actions {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-right: auto;
}
.section-header-actions .btn {
  font-size: 14px;
  padding: 10px 13px;
  gap: 7px;
}
.section-header-actions .btn > svg {
  width: 14px;
  height: 14px;
}
.plan-card-actions button:disabled {
  opacity: 0.4;
  cursor: default;
  background: #f5f8fa;
}
.route-plans > .sidebar ~ .main .records-toolbar {
  padding: 25px;
  border: 1px solid #d9ecea;
  background: linear-gradient(105deg, #fff, #e8f7f5);
  border-radius: 14px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.route-plans .records-toolbar h2 {
  font-size: 23px;
}
.route-plans .records-toolbar p {
  font-size: 14px;
}
.route-plans .records-toolbar:after {
  content: "";
  height: 130px;
  width: 130px;
  border: 1px solid #b9e2dc55;
  border-radius: 50%;
  position: absolute;
  left: 140px;
  top: -85px;
  box-shadow: 0 0 0 17px #d0f0eb30;
  pointer-events: none;
}
.route-plans .records-toolbar .btn {
  position: relative;
  z-index: 1;
}
.profile-tabs {
  scrollbar-width: thin;
}
.profile-tabs button {
  padding-left: 1px;
  padding-right: 1px;
  font-size: 14px;
}
.included-label {
  white-space: nowrap;
}
@media (max-width: 760px) {
  .section-header-actions {
    margin: 0;
    width: 100%;
    gap: 9px;
  }
  .section-header-actions .btn {
    flex: 1;
    font-size: 14px;
    padding: 10px;
    gap: 6px;
  }
  .route-plans > .sidebar ~ .main .records-toolbar {
    padding: 20px 18px;
    gap: 13px;
  }
  .route-plans .records-toolbar h2 {
    font-size: 19px;
  }
  .route-plans .records-toolbar p {
    font-size: 12px;
    max-width: 230px;
  }
  .route-plans .records-toolbar .btn {
    font-size: 12px;
    padding: 10px;
    gap: 5px;
  }
  .route-plans .records-toolbar h2 .number-pill {
    font-size: 12px;
  }
  .profile-tabs button {
    font-size: 12px;
  }
  .profile-tabs {
    gap: 16px;
  }
}

.next-session-block {
  border: 1px solid #d5e9e4;
  background: #f3faf7;
  border-radius: 9px;
  padding: 15px 17px;
  margin: 20px 0 0;
}
.next-session-block summary {
  font-size: 14px;
  color: #087568;
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.next-session-block summary > svg {
  width: 15px;
  height: 15px;
}
.next-session-block summary:after {
  content: "+";
  margin-right: auto;
  font: 17px Manrope;
  color: #087568;
}
.next-session-block[open] summary:after {
  content: "−";
}
.next-session-block .form-row {
  margin: 16px 0 0;
}
.next-session-block > p {
  font-size: 12px;
  color: #506675;
  margin: 12px 0 0;
}
.followup-presets {
  display: flex;
  gap: 7px;
  margin-top: 17px;
}
.followup-presets > button {
  border: 1px solid #cce4db;
  background: white;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 12px;
  color: #087568;
}
.followup-presets > button:hover {
  background: #dff2e9;
}
@media (max-width: 760px) {
  .next-session-block {
    padding: 14px;
  }
  .next-session-block summary {
    font-size: 14px;
  }
  .followup-presets > button {
    font-size: 12px;
  }
  .next-session-block > p {
    font-size: 12px;
  }
}

.time-slot:after {
  display: none;
}
.time-slot.half-hour {
  border-top-style: dotted;
  border-top-color: #edf3f5;
}
