/* Patient workspace: local data, generous controls, calm visual hierarchy. */
.toolkit-page {
  background: #f4f6f4;
  font-size: 16px;
}
.toolkit-page .topline {
  display: none;
}
.toolkit-page .site-header {
  position: relative;
}
.toolkit-page .site-footer {
  padding-top: 32px;
}
.toolkit-page .footer-grid {
  display: none;
}
.tk-shell {
  --tk-ink: #203c3b;
  --tk-muted: #5d706b;
  --tk-green: #215e55;
  --tk-line: #dce5df;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  max-width: 1600px;
  margin: auto;
  color: var(--tk-ink);
  min-height: 80vh;
}
.tk-shell * {
  min-width: 0;
}
.tk-shell svg,
.tk-dialog svg,
.tk-toast svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  vertical-align: middle;
}
.tk-shell h1,
.tk-shell h2,
.tk-shell h3,
.tk-dialog h2,
.tk-dialog h3 {
  font-family: "Source Sans", system-ui, sans-serif;
  letter-spacing: -0.025em;
  font-weight: 600;
  line-height: 1.16;
}
.tk-shell h1 {
  font-size: clamp(30px, 3.1vw, 43px);
  margin-bottom: 10px;
}
.tk-shell h2 {
  font-size: 24px;
  margin-bottom: 12px;
}
.tk-shell h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.tk-shell p {
  margin-bottom: 16px;
  line-height: 1.55;
}
.tk-shell a {
  color: #205f56;
}
.tk-sidebar {
  border-right: 1px solid var(--tk-line);
  padding: 30px 18px;
  background: #fcfdfb;
}
.tk-product {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  margin: 0 4px 30px;
}
.tk-product small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--tk-muted);
  margin-top: 2px;
}
.tk-product-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 42px;
  border-radius: 14px;
  background: #e1ede7;
}
.tk-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: sticky;
  top: 22px;
}
.tk-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 11px;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.3;
  color: #53655f;
}
.tk-nav a:hover {
  background: #edf3ee;
}
.tk-nav a[aria-current="page"] {
  background: #deece3;
  color: #204f45;
  font-weight: 600;
}
.tk-sidebar-foot {
  border-top: 1px solid var(--tk-line);
  margin: 35px 9px 0;
  padding-top: 24px;
  font-size: 12px;
  color: var(--tk-muted);
}
.tk-sidebar-foot > svg {
  display: block;
  margin-bottom: 10px;
}
.tk-sidebar-foot strong {
  display: block;
  font-size: 14px;
  color: var(--tk-ink);
}
.tk-sidebar-foot p {
  margin: 7px 0 10px;
}
.tk-workspace {
  padding: 24px clamp(20px, 3vw, 48px) 42px;
}
.tk-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--tk-muted);
}
.tk-top-actions {
  display: flex;
  gap: 6px;
}
.tk-top-actions .tk-btn {
  font-size: 12px;
  padding: 8px 9px;
  min-height: 38px;
}
.tk-page-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
  gap: 20px;
}
.tk-page-title p:last-child {
  color: var(--tk-muted);
  max-width: 680px;
  font-size: 16px;
  margin-bottom: 0;
}
.tk-kicker {
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: 0.13em;
  color: #587568;
  margin-bottom: 9px !important;
  text-transform: uppercase;
}
.tk-btn,
.tk-icon-btn,
.tk-text-btn,
.tk-segment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d7e3dc;
  border-radius: 10px;
  background: #fff;
  color: #244d44;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  padding: 11px 16px;
  text-decoration: none;
  min-height: 44px;
  cursor: pointer;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
.tk-btn:hover,
.tk-icon-btn:hover {
  background: #edf4ee;
  box-shadow: 0 3px 8px #203c3b0a;
}
.tk-primary {
  background: #245e51;
  color: #fff !important;
  border-color: #245e51;
}
.tk-primary:hover {
  background: #194b40;
}
.tk-white {
  background: #fffaf1;
  color: #244d44 !important;
  border-color: #fffaf1;
}
.tk-quiet {
  border-color: transparent;
  background: transparent;
}
.tk-small {
  font-size: 12px;
  padding: 8px 12px;
  min-height: 36px;
}
.tk-icon-btn {
  padding: 8px;
  width: 38px;
  min-height: 38px;
  flex-shrink: 0;
}
.tk-text-btn {
  border: 0;
  padding: 5px 0;
  min-height: 36px;
  background: transparent;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tk-danger {
  color: #8c3c3b;
  border-color: #e5ceca;
}
.tk-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.tk-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.tk-card {
  padding: 26px;
  border: 1px solid var(--tk-line);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 3px 10px #244d4403;
}
.tk-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.tk-card-heading h2,
.tk-card-heading p:last-child {
  margin-bottom: 0;
}
.tk-card-heading > svg {
  color: #6c8f78;
}
.tk-dashboard-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  background: #285f51;
  color: #fff;
  padding: 32px 36px;
  border-radius: 21px;
  overflow: hidden;
}
.tk-dashboard-hero > div:first-child {
  max-width: 530px;
}
.tk-dashboard-hero h2 {
  font-size: 32px;
  line-height: 1.13;
  margin: 14px 0;
}
.tk-dashboard-hero p {
  color: #e1ece5;
  max-width: 450px;
  font-size: 16px;
}
.tk-soft-label {
  font-size: 11px;
  letter-spacing: 0.05em;
  background: #ffffff16;
  border: 1px solid #ffffff30;
  border-radius: 25px;
  padding: 5px 11px;
}
.tk-hero-art {
  width: 180px;
  flex-shrink: 0;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  height: 180px;
}
.tk-hero-art > span {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d8e8be;
  color: #285f51;
  transform: rotate(-8deg);
  position: relative;
}
.tk-hero-art > span svg {
  width: 38px;
  height: 38px;
}
.tk-hero-art small {
  font-family: "Source Serif", Georgia, serif;
  font-size: 22px;
  line-height: 1.1;
  transform: rotate(-7deg);
  margin-top: 15px;
  z-index: 1;
  text-align: center;
}
.tk-orbit {
  position: absolute;
  width: 190px;
  height: 140px;
  border: 1px solid #bdd3ba55;
  border-radius: 50%;
  transform: rotate(-30deg);
}
.tk-orbit:after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #d8e8be;
  border-radius: 50%;
  right: 12px;
  top: 13px;
}
.tk-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0;
}
.tk-stat {
  background: #fff;
  border: 1px solid var(--tk-line);
  border-radius: 15px;
  padding: 18px 22px;
}
.tk-stat > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--tk-muted);
}
.tk-stat > span svg {
  width: 17px;
}
.tk-stat > strong {
  display: block;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  margin: 9px 0 5px;
}
.tk-stat > small {
  font-size: 11px;
  color: var(--tk-muted);
}
.tk-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
}
.tk-select-label {
  font-size: 12px;
  color: var(--tk-muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.tk-select-label select {
  padding: 8px;
  background: #f4f7f3;
  border: 1px solid var(--tk-line);
  border-radius: 8px;
  max-width: 150px;
  color: var(--tk-ink);
  font-size: 13px;
}
.tk-chart {
  width: 100% !important;
  height: auto !important;
  display: block;
  overflow: visible;
}
.tk-chart-grid {
  stroke: #e8eeea;
  stroke-width: 1;
}
.tk-chart-label {
  fill: #63786e;
  font-size: 11px;
  font-family: "Source Sans", sans-serif;
}
.tk-chart-line {
  stroke: #37785e;
  stroke-width: 2.5;
  fill: none;
  stroke-linejoin: round;
}
.tk-chart-dot {
  fill: #fff;
  stroke: #37785e;
  stroke-width: 2;
}
.tk-caption {
  font-size: 12px !important;
  color: var(--tk-muted);
  line-height: 1.5 !important;
  margin-top: 10px;
}
.tk-event {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 12px 0;
  text-decoration: none;
  border-bottom: 1px solid #edf1ed;
}
.tk-event:last-child {
  border: 0;
}
.tk-date-square {
  background: #eff3eb;
  width: 43px;
  padding: 5px 0;
  border-radius: 9px;
  text-align: center;
  flex-shrink: 0;
  text-transform: uppercase;
  font-size: 10px;
  line-height: 1.2;
}
.tk-date-square b {
  font-size: 22px;
  display: block;
}
.tk-event > span:nth-child(2) {
  flex: 1;
}
.tk-event strong,
.tk-event small,
.tk-event em {
  display: block;
}
.tk-event strong {
  font-size: 14px;
}
.tk-event small {
  font-size: 12px;
  color: var(--tk-muted);
}
.tk-event em {
  font-size: 11px;
  color: #88642d;
}
.tk-event > svg {
  width: 16px;
}
.tk-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tk-tool-tile {
  position: relative;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--tk-line);
  border-radius: 16px;
  padding: 22px 18px 42px;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.tk-tool-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px #244d440d;
}
.tk-tile-icon {
  width: 39px;
  height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e9f0e8;
  border-radius: 12px;
  color: #3a7058;
  margin-bottom: 17px;
}
.tk-tool-tile:nth-child(2) .tk-tile-icon {
  background: #f3eddc;
  color: #8a713e;
}
.tk-tool-tile:nth-child(3) .tk-tile-icon {
  background: #e8ecf6;
  color: #607296;
}
.tk-tool-tile:nth-child(4) .tk-tile-icon {
  background: #f5e9e3;
  color: #986d56;
}
.tk-tool-tile h3 {
  font-size: 18px;
  color: var(--tk-ink);
}
.tk-tool-tile p {
  color: var(--tk-muted);
  font-size: 13px;
  margin: 0;
}
.tk-tile-arrow {
  position: absolute;
  bottom: 15px;
  right: 18px;
}
.tk-kind-note {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 14px;
  background: #edeadd;
  margin-top: 25px;
  color: #5b5745;
}
.tk-kind-note > svg {
  margin-top: 2px;
}
.tk-kind-note strong {
  font-size: 15px;
}
.tk-kind-note p {
  font-size: 13px;
  margin: 5px 0 0;
}
.tk-bottom-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  color: #687c71;
  text-align: center;
  margin-top: 35px;
}
.tk-bottom-note svg {
  width: 16px;
}
.tk-space {
  margin-top: 26px !important;
}
.tk-muted {
  color: var(--tk-muted);
}
.tk-footnote {
  font-size: 12px !important;
  color: #64766c;
  line-height: 1.5 !important;
  margin-top: 20px;
}
.tk-empty {
  padding: 26px 15px;
  text-align: center;
}
.tk-empty-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: #edf3e9;
  color: #6e8b6f;
  border-radius: 50%;
  margin-bottom: 14px;
}
.tk-empty h3 {
  font-size: 19px;
}
.tk-empty p {
  font-size: 14px;
  max-width: 380px;
  color: var(--tk-muted);
  margin: 0 auto 17px;
}
.tk-tip {
  display: flex;
  gap: 12px;
  background: #e8efe8;
  border: 1px solid #dbe6dc;
  border-radius: 12px;
  padding: 15px 18px;
  margin-bottom: 24px;
}
.tk-tip p {
  font-size: 13px;
  margin: 0;
  max-width: none;
}
.tk-tip svg {
  margin-top: 3px;
  width: 19px;
}
.tk-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 22px;
}
.tk-controls-row > div {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.tk-controls-row p {
  margin: 0;
  font-size: 14px;
}
.tk-segment {
  padding: 4px;
  background: #e7ede7;
  border-radius: 11px;
  display: inline-flex;
}
.tk-segment-btn {
  background: transparent;
  border: 0;
  min-height: 36px;
  font-size: 13px;
  padding: 8px 14px;
}
.tk-segment-btn.is-active {
  background: #fff;
  box-shadow: 0 2px 4px #244d4410;
}
.tk-day-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 20px;
}
.tk-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--tk-line);
  border-radius: 11px;
  padding: 10px 5px;
  color: #688072;
  background: #fafcf9;
  gap: 4px;
  cursor: pointer;
}
.tk-day.has-entry {
  background: #e8f0e4;
  color: #315d43;
}
.tk-day small {
  font-size: 11px;
}
.tk-day b {
  font-size: 19px;
}
.tk-day span {
  font-size: 16px;
  height: 22px;
}
.tk-day svg {
  width: 15px;
}
.tk-table-wrap {
  overflow: auto;
}
.tk-table {
  font-size: 13px;
  border-collapse: collapse;
  width: 100%;
}
.tk-table th {
  text-align: left;
  color: #65796c;
  font-weight: 400;
  font-size: 12px;
  background: #f6f8f3;
  padding: 12px 10px;
}
.tk-table td {
  padding: 13px 10px;
  border-bottom: 1px solid #e8eee6;
  vertical-align: top;
}
.tk-table td:first-child {
  white-space: nowrap;
}
.tk-table td:nth-child(5) {
  max-width: 300px;
  min-width: 170px;
}
.tk-med-grid,
.tk-assessment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.tk-med-card h2 {
  font-size: 23px;
}
.tk-med-card .tk-tile-icon {
  margin: 0;
}
.tk-supply-number {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 24px 0;
}
.tk-supply-number strong {
  font-size: 55px;
  line-height: 1;
  font-weight: 400;
}
.tk-supply-number span {
  font-size: 13px;
  line-height: 1.4;
  color: #67806e;
}
.tk-med-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--tk-line);
  border-bottom: 1px solid var(--tk-line);
  margin-bottom: 18px;
}
.tk-med-dates span,
.tk-med-dates strong {
  display: block;
}
.tk-med-dates span {
  font-size: 11px;
  margin-bottom: 4px;
  color: #65796b;
}
.tk-med-dates strong {
  font-size: 19px;
}
.tk-badge {
  display: inline-block;
  border-radius: 30px;
  padding: 4px 10px;
  background: #eef3e9;
  color: #4c6e4a;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}
.tk-amber {
  background: #fbf0db;
  color: #795d28;
}
.tk-week-nav strong {
  font-size: 16px;
  margin: 0 8px;
}
.tk-week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(140px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 16px;
}
.tk-week-day {
  background: #fff;
  border: 1px solid var(--tk-line);
  border-radius: 14px;
  padding: 13px 10px;
  min-height: 340px;
}
.tk-week-day.is-today {
  border-color: #6d9578;
  background: #f7faf4;
}
.tk-week-day header {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.tk-week-day header > span {
  text-transform: uppercase;
  font-size: 11px;
}
.tk-week-day header > strong {
  font-size: 24px;
}
.tk-week-day header .tk-icon-btn {
  margin-left: auto;
  background: transparent;
  border: 0;
  width: 25px;
  padding: 0;
}
.tk-week-day header svg {
  width: 16px;
}
.tk-budget-bar {
  margin: 12px 0 18px;
}
.tk-budget-bar meter {
  width: 100%;
  height: 7px;
  display: block;
  accent-color: #60815f;
}
.tk-budget-bar span {
  font-size: 11px;
}
.tk-over {
  color: #93533d;
}
.tk-day-tasks {
  min-height: 190px;
}
.tk-task {
  background: #f1f4ec;
  border: 1px solid #e3e9dc;
  border-radius: 9px;
  padding: 10px 8px;
  margin-bottom: 10px;
}
.tk-task label {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13px;
  line-height: 1.3;
}
.tk-task label input {
  margin: 2px 0 0;
  accent-color: #37634a;
}
.tk-task > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}
.tk-task small {
  font-size: 10px;
  color: #66795f;
}
.tk-task .tk-text-btn {
  font-size: 11px;
}
.tk-task.is-done {
  opacity: 0.6;
}
.tk-task.is-done label span {
  text-decoration: line-through;
}
.tk-open-space {
  font-size: 12px;
  color: #82907d;
  text-align: center;
  padding: 30px 6px;
}
.tk-trip-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 20px;
}
.tk-trip-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tk-trip-choice {
  text-align: left;
  border: 1px solid var(--tk-line);
  border-radius: 13px;
  background: #fff;
  padding: 16px;
  color: #294d43;
}
.tk-trip-choice.is-active {
  background: #e4eee3;
  border-color: #86a181;
}
.tk-trip-choice > * {
  display: block;
}
.tk-trip-choice .tk-tile-icon {
  display: flex;
  margin-bottom: 9px;
}
.tk-trip-choice strong {
  font-size: 16px;
}
.tk-trip-choice small {
  font-size: 12px;
  margin-top: 6px;
}
.tk-check-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}
.tk-check-progress progress {
  flex: 1;
  height: 7px;
  accent-color: #5a8055;
}
.tk-check-progress span {
  font-size: 12px;
  white-space: nowrap;
}
.tk-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 14px;
  cursor: pointer;
  line-height: 1.5;
}
.tk-check-item input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: #35644d;
  flex-shrink: 0;
}
.tk-checklist .tk-check-item {
  border-bottom: 1px solid #e9eee7;
}
.tk-paper-note {
  background: #f7f6ed;
  padding: 18px;
  border-radius: 10px;
  margin: 22px 0;
}
.tk-paper-note p {
  font-size: 14px;
  margin: 0;
}
.tk-cost-layout,
.tk-visit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.tk-cost-result {
  position: sticky;
  top: 24px;
  background: #e8efe2;
  border-color: #d4e0ca;
}
.tk-cost-result h2 {
  font-size: 24px;
}
.tk-total {
  font-size: clamp(30px, 4vw, 49px);
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 27px 0;
}
.tk-total span {
  display: block;
  font-size: 13px;
  letter-spacing: 0;
  margin-top: 8px;
  color: #5e7655;
}
.tk-breakdown {
  font-size: 13px;
}
.tk-breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #ccd9c4;
}
.tk-breakdown dd {
  margin: 0;
  font-weight: 600;
  white-space: nowrap;
}
.tk-cost-result .tk-link {
  display: flex;
  margin-top: 20px;
  font-size: 12px;
}
.tk-shell form h3 {
  font-size: 17px;
  margin: 25px 0 13px;
}
.tk-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 17px;
  font-size: 13px;
  font-weight: 600;
  color: #35554b;
}
.tk-field input,
.tk-field select,
.tk-field textarea,
.tk-inline-add input {
  width: 100%;
  min-width: 0;
  border: 1px solid #cedbd1;
  background: #fcfdfa;
  border-radius: 8px;
  padding: 11px 12px;
  color: #263e36;
  font-size: 15px;
  line-height: 1.4;
  min-height: 44px;
  font-weight: 400;
}
.tk-field textarea {
  resize: vertical;
}
.tk-field small {
  font-size: 11px;
  line-height: 1.4;
  font-weight: 400;
  color: #6b7c6a;
}
.tk-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.tk-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}
.tk-dialog {
  --tk-muted: #5d706b;
  --tk-line: #dce5df;
  width: min(620px, calc(100% - 24px));
  max-height: 90vh;
  overflow: auto;
  border: 1px solid #d8e4da;
  border-radius: 20px;
  padding: 28px;
  background: #fffefa;
  color: #28463c;
  box-shadow: 0 30px 100px #173b3440;
  font-size: 15px;
}
.tk-dialog::backdrop {
  background: #133d3566;
  backdrop-filter: blur(4px);
}
.tk-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 15px;
  margin-bottom: 18px;
}
.tk-dialog-head h2 {
  font-size: 27px;
  margin: 2px 0;
}
.tk-dialog-head .tk-icon-btn {
  border: 0;
  background: #eef2e9;
}
.tk-dialog p {
  font-size: 14px;
  line-height: 1.5;
}
.tk-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 23px;
}
.tk-live-result {
  display: flex;
  gap: 18px;
  align-items: center;
  background: #edf3e5;
  padding: 17px;
  border-radius: 10px;
  margin: 10px 0 20px;
  font-size: 13px;
}
.tk-live-result strong {
  font-size: 22px;
}
.tk-rating {
  padding: 0;
  border: 0;
  margin: 20px 0;
}
.tk-rating legend {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}
.tk-rating legend small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  margin-top: 3px;
  color: #6b7c6a;
}
.tk-rating > div {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 5px;
}
.tk-rating label {
  position: relative;
  cursor: pointer;
  display: block;
}
.tk-rating input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}
.tk-rating span {
  display: grid;
  place-items: center;
  min-height: 39px;
  border: 1px solid #d1dfd3;
  border-radius: 7px;
  font-size: 13px;
}
.tk-rating input:checked + span {
  background: #32664c;
  color: #fff;
  border-color: #32664c;
}
.tk-rating input:focus-visible + span {
  outline: 3px solid #76506d;
  outline-offset: 2px;
}
.tk-question-bank {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 15px 0;
}
.tk-question-chip {
  border: 1px solid #dbe4d6;
  border-radius: 9px;
  background: #f5f7f0;
  color: #48623f;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  padding: 10px 12px;
}
.tk-question-chip.is-selected {
  background: #e6eedf;
  opacity: 0.6;
  cursor: default;
}
.tk-inline-add {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: 16px;
}
.tk-inline-add input {
  font-size: 13px;
}
.tk-priority-list {
  padding-left: 20px;
  margin: 18px 0;
}
.tk-priority-list li {
  padding: 8px 0;
  font-size: 14px;
}
.tk-priority-list li > div {
  display: inline-flex;
  gap: 5px;
  margin-left: 8px;
  vertical-align: middle;
}
.tk-priority-list .tk-icon-btn {
  min-height: 28px;
  width: 28px;
  font-size: 15px;
  padding: 3px;
}
.tk-brief-preview {
  background: #fbfaf2;
}
.tk-brief-preview pre {
  font-family: inherit;
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 520px;
  overflow: auto;
  padding: 18px;
  background: #fff;
  border: 1px solid #e9e7d9;
  border-radius: 8px;
  line-height: 1.6;
  color: #59634e;
}
.tk-trial-topics {
  display: grid;
  gap: 9px;
}
.tk-topic-select {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--tk-line);
  border-radius: 12px;
  cursor: pointer;
}
.tk-topic-select input {
  accent-color: #416d50;
}
.tk-topic-select strong,
.tk-topic-select small {
  display: block;
}
.tk-topic-select strong {
  font-size: 14px;
}
.tk-topic-select small {
  font-size: 12px;
  color: #6c7d67;
  margin-top: 3px;
}
.tk-topic-select svg {
  margin-left: auto;
  opacity: 0;
}
.tk-topic-select:has(input:checked) {
  background: #edf3e7;
  border-color: #9bb78d;
}
.tk-topic-select:has(input:checked) svg {
  opacity: 1;
}
.tk-assessment-card {
  display: flex;
  flex-direction: column;
  align-items: start;
}
.tk-assessment-card .tk-card-heading {
  width: 100%;
  font-size: 12px;
}
.tk-instrument-name {
  font-size: 40px;
  line-height: 1.1;
  color: #42715a;
  font-weight: 600;
  margin: 10px 0 20px;
  letter-spacing: -0.04em;
}
.tk-assessment-card h2 {
  font-size: 21px;
}
.tk-assessment-card > p {
  font-size: 14px;
  color: #637562;
  flex: 1;
  margin-bottom: 22px;
}
.tk-source-link {
  font-size: 11px;
  margin-top: 14px;
}
.tk-score-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 4px;
  border: 0;
  border-top: 1px solid var(--tk-line);
  background: transparent;
  text-align: left;
  color: #294b3d;
}
.tk-score-row > span:first-child {
  flex: 1;
}
.tk-score-row strong,
.tk-score-row small {
  display: block;
}
.tk-score-row strong {
  font-size: 16px;
}
.tk-score-row small {
  font-size: 12px;
  color: #697b66;
}
.tk-score-number {
  font-size: 30px;
  font-weight: 600;
}
.tk-score-number small {
  display: inline-block;
  font-weight: 400;
  margin-left: 3px;
}
.tk-official-resource {
  display: flex;
  gap: 20px;
  align-items: start;
  background: #f2f5ec;
}
.tk-official-resource p {
  font-size: 14px;
  margin-bottom: 10px;
}
.tk-official-resource a {
  font-size: 13px;
}
.tk-assessment-flow,
.tk-result-card {
  max-width: 780px;
  margin: 0 auto;
  padding: 34px;
}
.tk-assessment-flow h2 {
  font-size: 28px;
  margin: 28px 0 20px;
  line-height: 1.3;
}
.tk-assessment-progress {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 26px 0 20px;
}
.tk-assessment-progress progress {
  width: 50%;
  accent-color: #4b7954;
  height: 8px;
}
.tk-assessment-progress span {
  font-size: 12px;
  color: #64795e;
}
.tk-assessment-flow > .tk-muted {
  font-size: 14px;
}
.tk-question-help {
  font-size: 14px;
  color: #62765b;
}
.tk-answer-options {
  border: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  margin: 25px 0;
}
.tk-answer-options label {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #d5e1cf;
  border-radius: 11px;
  padding: 17px;
  cursor: pointer;
  font-size: 15px;
  position: relative;
}
.tk-answer-options input {
  accent-color: #416d50;
}
.tk-answer-options b {
  margin-left: auto;
  opacity: 0;
  display: flex;
}
.tk-answer-options:has(input:focus-visible) {
  outline: none;
}
.tk-answer-options label:has(input:checked) {
  background: #eaf2e4;
  border-color: #7da06b;
}
.tk-answer-options input:checked ~ b {
  opacity: 1;
}
.tk-result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
}
.tk-result-top h2 {
  font-size: 31px;
}
.tk-result-top p:last-child {
  font-size: 14px;
  color: #59724f;
  margin: 0;
}
.tk-result-number {
  flex-shrink: 0;
  background: #e8f0e1;
  border-radius: 18px;
  width: 140px;
  padding: 22px 15px;
  text-align: center;
}
.tk-result-number strong {
  display: block;
  font-size: 66px;
  font-weight: 400;
  line-height: 1;
}
.tk-result-number span {
  display: block;
  font-size: 12px;
  margin-top: 10px;
}
.tk-result-meaning {
  background: #f6f6ee;
  border-radius: 13px;
  padding: 24px;
}
.tk-result-meaning h3 {
  font-size: 19px;
}
.tk-result-meaning p {
  font-size: 15px;
  line-height: 1.7;
  margin: 10px 0 0;
}
.tk-comparison {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 5px;
}
.tk-comparison strong {
  font-size: 25px;
  white-space: nowrap;
}
.tk-comparison span {
  font-size: 13px;
  color: #6c7c62;
}
.tk-score-details {
  margin: 25px 0;
}
.tk-score-details summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.tk-score-details li {
  font-size: 13px;
  padding: 6px 0;
}
.tk-score-details li span {
  display: block;
  color: #64775b;
  margin-top: 5px;
}
.tk-settings-block {
  border-top: 1px solid #e2e9dc;
  margin-top: 22px;
  padding-top: 22px;
}
.tk-settings-block h3 {
  font-size: 19px;
}
.tk-toast {
  position: fixed;
  z-index: 200;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #244d3d;
  color: #fff;
  box-shadow: 0 8px 25px #244d4430;
  border-radius: 12px;
  max-width: calc(100% - 30px);
  width: max-content;
  padding: 13px 20px;
  font-size: 14px;
  line-height: 1.4;
}
#tk-demo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #f8ecd3;
  border: 1px solid #e8d5a8;
  border-radius: 12px;
  padding: 13px 18px;
  margin: 0 0 23px;
  font-size: 13px;
  color: #72572d;
}
#tk-print {
  display: none;
}
@media (min-width: 1450px) {
  .tk-workspace {
    padding-right: 55px;
    padding-left: 55px;
  }
}
@media (max-width: 1150px) {
  .tk-shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .tk-sidebar {
    padding: 25px 11px;
  }
  .tk-nav a {
    font-size: 13px;
    gap: 9px;
  }
  .tk-workspace {
    padding: 22px;
  }
  .tk-tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tk-two-col {
    grid-template-columns: 1fr 1fr;
  }
  .tk-topbar {
    align-items: start;
  }
  .tk-top-actions {
    flex-direction: column;
    align-items: end;
  }
  .tk-card {
    padding: 21px;
  }
  .tk-cost-layout,
  .tk-visit-layout {
    grid-template-columns: 1fr;
  }
  .tk-cost-result {
    position: static;
  }
  .tk-hero-art {
    width: 125px;
  }
  .tk-orbit {
    width: 140px;
  }
  .tk-dashboard-hero {
    padding: 28px;
  }
  .tk-trip-layout {
    grid-template-columns: 175px 1fr;
  }
}
@media (max-width: 850px) {
  .tk-shell {
    display: block;
  }
  .tk-sidebar {
    padding: 14px 20px 0;
    border: 0;
    border-bottom: 1px solid var(--tk-line);
  }
  .tk-product {
    font-size: 17px;
    margin: 0 0 10px;
  }
  .tk-product-icon {
    height: 32px;
    width: 32px;
    border-radius: 9px;
  }
  .tk-product small,
  .tk-sidebar-foot {
    display: none;
  }
  .tk-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 4px;
    padding-bottom: 12px;
    scrollbar-width: thin;
  }
  .tk-nav a {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 10px 12px;
    font-size: 12px;
  }
  .tk-nav a svg {
    width: 16px;
    height: 16px;
  }
  .tk-workspace {
    padding: 20px;
  }
  .tk-topbar {
    margin-bottom: 25px;
    align-items: center;
  }
  .tk-top-actions {
    flex-direction: row;
  }
  .tk-topbar > span {
    font-size: 12px;
  }
  .tk-top-actions .tk-btn {
    font-size: 11px;
    padding: 7px;
  }
  .tk-top-actions .tk-btn svg {
    width: 15px;
  }
  .tk-page-title {
    margin-bottom: 22px;
  }
  .tk-page-title p:last-child {
    font-size: 15px;
  }
  .tk-stats {
    gap: 10px;
  }
  .tk-stat {
    padding: 16px;
  }
  .tk-stat > small {
    font-size: 11px;
  }
  .tk-dashboard-hero h2 {
    font-size: 30px;
  }
  .tk-hero-art {
    width: 140px;
  }
  .tk-assessment-grid {
    gap: 15px;
  }
}
@media (max-width: 600px) {
  .tk-workspace {
    padding: 18px 16px 32px;
  }
  .tk-sidebar {
    padding-left: 16px;
    padding-right: 16px;
  }
  .tk-topbar {
    flex-direction: column;
    align-items: start;
    gap: 9px;
    margin-bottom: 22px;
  }
  .tk-top-actions {
    width: 100%;
    justify-content: space-between;
  }
  .tk-top-actions .tk-btn {
    min-height: 40px;
    padding: 7px 0;
    font-size: 12px;
  }
  .tk-page-title h1 {
    font-size: 32px;
    line-height: 1.1;
  }
  .tk-page-title .tk-kicker {
    font-size: 10px !important;
  }
  .tk-dashboard-hero {
    padding: 25px;
    gap: 0;
  }
  .tk-dashboard-hero h2 {
    font-size: 27px;
  }
  .tk-dashboard-hero p {
    font-size: 14px;
  }
  .tk-dashboard-hero .tk-hero-art {
    display: none;
  }
  .tk-stats {
    gap: 7px;
    margin: 16px 0;
  }
  .tk-stat {
    padding: 13px 10px;
    border-radius: 12px;
  }
  .tk-stat > span {
    font-size: 10px;
    line-height: 1.2;
    min-height: 24px;
    gap: 4px;
  }
  .tk-stat > span svg {
    display: none;
  }
  .tk-stat > strong {
    font-size: 24px;
  }
  .tk-stat > small {
    font-size: 10px;
    line-height: 1.3;
    display: block;
  }
  .tk-two-col,
  .tk-med-grid,
  .tk-assessment-grid {
    grid-template-columns: 1fr;
  }
  .tk-card {
    padding: 20px;
    border-radius: 15px;
  }
  .tk-card-heading {
    gap: 12px;
  }
  .tk-card-heading h2 {
    font-size: 21px;
  }
  .tk-select-label {
    flex-direction: column;
    align-items: end;
    gap: 2px;
    font-size: 10px;
  }
  .tk-select-label select {
    font-size: 11px;
    max-width: 120px;
    padding: 7px;
  }
  .tk-tool-grid {
    gap: 10px;
  }
  .tk-tool-tile {
    padding: 18px 14px 39px;
    border-radius: 13px;
  }
  .tk-tool-tile h3 {
    font-size: 17px;
  }
  .tk-tool-tile p {
    font-size: 12px;
  }
  .tk-kind-note {
    padding: 18px;
    gap: 10px;
  }
  .tk-kind-note > svg {
    width: 18px;
  }
  .tk-kind-note strong {
    font-size: 14px;
  }
  .tk-kind-note p {
    font-size: 12px;
  }
  .tk-controls-row {
    align-items: start;
    flex-direction: column;
    margin-bottom: 18px;
  }
  .tk-controls-row > div {
    width: 100%;
  }
  .tk-controls-row .tk-btn {
    font-size: 12px;
    padding: 10px 12px;
  }
  .tk-day-strip {
    gap: 5px;
  }
  .tk-day {
    border-radius: 8px;
    padding: 8px 2px;
  }
  .tk-day small {
    font-size: 10px;
  }
  .tk-day b {
    font-size: 17px;
  }
  .tk-tip {
    padding: 14px;
    gap: 9px;
  }
  .tk-tip p {
    font-size: 12px;
  }
  .tk-trip-layout {
    grid-template-columns: 1fr;
  }
  .tk-trip-list {
    flex-direction: row;
    overflow: auto;
    padding-bottom: 5px;
  }
  .tk-trip-choice {
    min-width: 160px;
    max-width: 220px;
    flex-shrink: 0;
  }
  .tk-trip-choice .tk-tile-icon {
    display: none;
  }
  .tk-trip-choice strong {
    font-size: 14px;
  }
  .tk-check-item {
    font-size: 13px;
  }
  .tk-field-grid {
    gap: 0 12px;
  }
  .tk-field {
    font-size: 12px;
  }
  .tk-field input,
  .tk-field select,
  .tk-field textarea {
    font-size: 16px;
    padding: 10px;
  }
  .tk-cost-result h2 {
    font-size: 25px;
  }
  .tk-total {
    font-size: 40px;
  }
  .tk-assessment-flow,
  .tk-result-card {
    padding: 22px 18px;
  }
  .tk-assessment-flow h2 {
    font-size: 24px;
  }
  .tk-answer-options label {
    padding: 15px 12px;
    font-size: 14px;
  }
  .tk-assessment-progress {
    gap: 12px;
  }
  .tk-assessment-progress span {
    font-size: 11px;
    white-space: nowrap;
  }
  .tk-result-top {
    gap: 15px;
  }
  .tk-result-top h2 {
    font-size: 24px;
  }
  .tk-result-number {
    width: 100px;
    padding: 18px 10px;
  }
  .tk-result-number strong {
    font-size: 49px;
  }
  .tk-result-meaning {
    padding: 18px;
  }
  .tk-result-meaning p {
    font-size: 14px;
  }
  .tk-dialog {
    padding: 23px 18px;
    max-height: 92vh;
  }
  .tk-dialog-head h2 {
    font-size: 24px;
  }
  .tk-rating > div {
    grid-template-columns: repeat(6, 1fr);
    gap: 7px;
  }
  .tk-rating span {
    min-height: 42px;
  }
  .tk-dialog-actions {
    gap: 10px;
  }
  .tk-dialog-actions .tk-btn {
    font-size: 12px;
    padding: 11px 12px;
  }
  .tk-live-result {
    align-items: start;
    flex-direction: column;
    gap: 7px;
  }
  .tk-bottom-note {
    font-size: 10px;
    align-items: start;
  }
  .tk-controls-row .tk-week-nav {
    justify-content: space-between;
  }
  .tk-week-grid {
    grid-template-columns: repeat(7, 180px);
  }
  .tk-official-resource {
    gap: 12px;
  }
  .tk-official-resource .tk-tile-icon {
    flex-shrink: 0;
  }
  .tk-toast {
    font-size: 13px;
    bottom: 16px;
  }
  #tk-demo-banner {
    flex-direction: column;
    align-items: start;
    font-size: 12px;
    padding: 14px;
  }
  .tk-actions .tk-btn {
    font-size: 12px;
  }
  .tk-dialog .tk-field-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tk-result-top .tk-kicker {
    font-size: 10px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tk-shell * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  body.tk-printing > *,
  body.tk-printing .tk-shell,
  body.tk-printing noscript {
    display: none !important;
  }
  body.tk-printing #main {
    display: block !important;
  }
  body.tk-printing #tk-print {
    display: block !important;
    color: #172d24;
    padding: 15px;
    font: 12px/1.5 sans-serif;
  }
  #tk-print h1 {
    font: 28px/1.2 sans-serif;
  }
  #tk-print pre {
    font: 12px/1.6 sans-serif;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  #tk-print .tk-print-footer {
    border-top: 1px solid #bbb;
    padding-top: 15px;
    margin-top: 25px;
    font-size: 10px;
  }
}
@media (min-width: 851px) {
  .tk-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    align-self: start;
  }
  .tk-nav {
    position: static;
  }
}
@media (max-width: 850px) {
  .tk-sidebar {
    position: static;
    height: auto;
    overflow: visible;
  }
  .tk-nav {
    overflow-x: auto;
  }
}
