/* Kidney Navigator /app: Today as a compact dashboard (2026-11-17). Styles only; rollback: delete this file and its <link>. */
.kn-dash {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}
.kn-dash > .card,
.kn-dash > .kn-dd,
.kn-dash > .kn-dc-row {
  margin: 0;
}
.kn-dash .card.kn-dc {
  margin: 0;
}
.kn-dc-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px 20px;
  margin-top: 8px;
}
.kn-dc-hero {
  border-width: 2px;
}
.kn-dc-herow {
  margin-top: 6px;
}
.kn-dc-hero-n {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 2px 0;
}
.kn-dc-hero-n .sub {
  font-size: 1.1rem;
  font-weight: 600;
}
html.large .kn-dc-hero-n {
  font-size: 3rem;
}
html.xlarge .kn-dc-hero-n {
  font-size: 3.4rem;
}
.kn-dc-hero .kn-dc-spark {
  width: 100%;
  max-width: 320px;
  height: auto;
}
.kn-dc-hero .kn-dc-cols {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.kn-dc-col .big {
  margin-top: 2px;
}
.kn-dc-spark {
  display: block;
  margin: 6px 0 4px;
  max-width: 100%;
  overflow: visible;
}
.kn-dc-spark polyline {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.4;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.kn-dc-spark circle {
  fill: var(--blue);
}
html.contrast .kn-dc-spark polyline {
  stroke: #000;
  stroke-width: 3;
}
html.contrast .kn-dc-spark circle {
  fill: #000;
}
.kn-dc-labs-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.kn-dc-labs-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
html.contrast .kn-dc-labs-list li {
  border-top-color: #000;
}
.kn-dc-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.kn-dc-row > .card {
  margin: 0;
}
.kn-dc .chips {
  margin-top: 12px;
}
/* closed groups */
details.kn-dd {
  border-radius: 22px;
  background: var(--card);
  box-shadow:
    0 1px 2px rgba(22, 24, 28, 0.04),
    0 8px 24px -12px rgba(22, 24, 28, 0.12);
}
html.contrast details.kn-dd {
  border: 2px solid #000;
  box-shadow: none;
  background: #fff;
}
details.kn-dd > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 44px;
  padding: 14px 22px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
}
details.kn-dd > summary::-webkit-details-marker {
  display: none;
}
details.kn-dd > summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  font-weight: 700;
}
details.kn-dd {
  position: relative;
}
details.kn-dd[open] > summary::after {
  content: '\2013';
}
details.kn-dd > summary .kn-dd-h {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  padding-right: 28px;
}
html.contrast details.kn-dd > summary .kn-dd-h {
  color: #000;
}
.kn-dd-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 12px 16px;
}
details.kn-dd-log > .kn-dd-body {
  padding: 0 14px 14px;
}
.kn-dd-body > .card {
  box-shadow: none;
  border: 1px solid var(--line);
}
html.contrast .kn-dd-body > .card {
  border: 2px solid #000;
}
details.kn-dd-log > .kn-dd-body > .card {
  border: 0;
  padding: 6px 8px;
}
/* slim backup / Home Screen line */
.kn-slim {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 12px 0 0;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft, #f5f2ee);
  font-size: 1rem;
}
html.contrast .kn-slim {
  background: #fff;
  border: 2px solid #000;
}
.kn-slim-t {
  font-weight: 600;
}
.kn-slim-b {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.kn-slim-b .btn {
  margin: 0;
}
.kn-slim-why {
  flex: 0 1 auto;
}
.kn-slim-why[open] {
  flex-basis: 100%;
}
.kn-slim-why summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 600;
}
.kn-slim-why p {
  margin: 0 0 6px;
}
/* transplant guide detail view */
.kn-dash-detail {
  display: none;
  margin-top: 16px;
}
#main[data-kn-view='tx'] > :not(#kn-dash-detail) {
  display: none !important;
}
#main[data-kn-view='tx'] > #kn-dash-detail {
  display: block;
}
.kn-dash-detail > .btn {
  margin-bottom: 12px;
}
.kn-dash-detail-body > .card {
  margin: 0;
}
#main [hidden] {
  display: none !important;
}
