/* Αρχική γύρω από τη σημερινή μέρα.
   (Μέχρι την 0.35.0: μέρος του home29.css.) */
/* 0.29.0 · Αρχική γύρω από τη σημερινή μέρα, «Τακτοποίηση ημερολογίου», παράθυρο νέου φακέλου.
   Βασικά χρώματα όπως πριν. Νέα: απαλό πράσινο για «Επόμενο» / «Καταχωρίστηκε», κεχριμπαρί για «θέλει απόφαση».
   Το χρώμα πάντα μαζί με λέξη. Φορτώνει μετά το mobile.css. */
:root {
  --ok-bg: #e3f1e7;
  --ok-ink: #1e6b3a;
  --ok-line: #b9dcc4;
  --next-bg: #eef4f8;
}
#therapy-flow .sr-only,
.cal-dialog .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
#therapy-flow .home29 {
  gap: 16px;
  max-width: 1200px;
}
#therapy-flow .home29 .day-summary {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
}
#therapy-flow .home29 .top-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
#therapy-flow .home29 .discreet-toggle {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 14px;
}
#therapy-flow .home29 .discreet-toggle input {
  grid-row: auto;
}
#therapy-flow .lock-now {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
#therapy-flow .cal-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--blue-soft);
  background: var(--blue-tint);
  color: var(--blue-dark);
  font-size: 16px;
  min-height: 48px;
}
#therapy-flow .cal-banner:hover {
  background: #d6e3ec;
}
#therapy-flow .cal-banner-text {
  flex: 1;
}
#therapy-flow .cal-banner-go {
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}
#therapy-flow .grid29 {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
#therapy-flow .home-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
#therapy-flow .home29 .box {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 16px;
}
#therapy-flow .today-head {
  display: flex;
  align-items: center;
  gap: 8px 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
#therapy-flow .today-head h2 {
  margin: 0 !important;
  flex: 0 0 auto;
}
#therapy-flow .cal-line {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
#therapy-flow .cal-line .text-link {
  font-size: 13px;
  min-height: 28px;
  padding: 0 2px;
}
#therapy-flow .cal-flag,
#therapy-flow .hchip,
.cal-dialog .cal-flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  padding: 2px 9px;
  border: 1px solid;
  white-space: nowrap;
  line-height: 1.5;
}
#therapy-flow .cal-flag.ok,
#therapy-flow .hchip.next,
#therapy-flow .hchip.done,
.cal-dialog .cal-flag.ok {
  color: var(--ok-ink);
  background: var(--ok-bg);
  border-color: var(--ok-line);
}
#therapy-flow .cal-flag.warn,
#therapy-flow .hchip.warn,
.cal-dialog .cal-flag.warn {
  color: var(--warning-ink);
  background: var(--warning-tint);
  border-color: var(--warning-line);
}
#therapy-flow .hchip.online {
  color: var(--blue-dark);
  background: var(--blue-tint);
  border-color: var(--blue-soft);
}
#therapy-flow .hwarn {
  margin: 4px 0 8px;
  font-size: 14px;
  color: var(--ink);
}
#therapy-flow .home29 .day-list {
  gap: 0;
}
#therapy-flow .home29 .day-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 4px;
  border: 0;
  border-top: 1px solid var(--line-2);
  border-radius: 0;
  background: transparent;
}
#therapy-flow .home29 .day-list > .day-row:first-child {
  border-top: 0;
}
#therapy-flow .home29 .day-row.is-next {
  background: var(--next-bg);
  border-radius: 12px;
  padding: 14px 12px;
  margin: 2px -8px;
  box-shadow: inset 4px 0 0 var(--blue);
  border-top-color: transparent;
}
#therapy-flow .home29 .day-row.is-next + .day-row {
  border-top-color: transparent;
}
#therapy-flow .home29 .day-row.is-done {
  color: var(--muted);
}
#therapy-flow .home29 .day-time {
  display: flex;
  flex-direction: column;
  gap: 1px;
  color: var(--ink);
}
#therapy-flow .home29 .t-start {
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
#therapy-flow .home29 .is-next .t-start {
  font-size: 20px;
  font-weight: 700;
}
#therapy-flow .home29 .is-done .t-start {
  font-weight: 400;
  color: var(--muted);
}
#therapy-flow .home29 .t-end,
#therapy-flow .home29 .t-day {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
#therapy-flow .home29 .t-day {
  font-size: 13px;
  color: var(--ink);
}
#therapy-flow .home29 .day-who {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
#therapy-flow .home29 .who-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
#therapy-flow .home29 .who-line b {
  font-size: 17px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
#therapy-flow .home29 .is-next .who-line b {
  font-size: 18px;
}
#therapy-flow .home29 .who-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}
#therapy-flow .home29 .day-actions {
  grid-column: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}
#therapy-flow .hbtn {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
#therapy-flow .hbtn:hover {
  background: var(--blue-dark);
}
#therapy-flow .hbtn.ghost {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  font-weight: 500;
}
#therapy-flow .hbtn.ghost:hover {
  background: var(--blue-tint);
}
#therapy-flow .home29 .row-more > summary {
  min-width: 40px;
  min-height: 40px;
}
#therapy-flow .past-box {
  margin-top: 12px;
  border-top: 1px solid var(--line-2);
  padding-top: 10px;
}
#therapy-flow .past-box > summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
}
#therapy-flow .past-row .day-actions {
  flex-wrap: wrap;
}
#therapy-flow .past-row .hbtn {
  min-height: 36px;
  font-size: 14px;
  padding: 0 12px;
}
#therapy-flow .home29 .home-open,
#therapy-flow .home29 .home-today {
  padding: 18px 20px;
}
#therapy-flow .home29 .home-open h2 {
  margin: 0 0 4px;
}
#therapy-flow .home29 .open-cat > summary {
  font-weight: 400;
  font-size: 15px;
}
#therapy-flow .day-check {
  padding: 14px 18px;
  background: var(--surface) !important;
}
#therapy-flow .day-check > summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
}
#therapy-flow .check-items {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
#therapy-flow .check-items li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-size: 15px;
}
#therapy-flow .recent29 h2 {
  font-size: 15px !important;
  color: var(--muted);
  margin: 0 0 8px !important;
}
#therapy-flow .recent29 ul {
  grid-template-columns: 1fr !important;
  gap: 6px !important;
}
#therapy-flow .recent29 button {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 9px 12px !important;
  border: 1px solid var(--line-2);
  background: var(--white);
}
#therapy-flow .nav29 {
  border: 0 !important;
  padding: 0 !important;
  gap: 8px !important;
}
#therapy-flow .nav29 button {
  background: var(--surface) !important;
  border-radius: 10px;
  padding: 8px 14px !important;
  color: var(--ink) !important;
  font-size: 14px;
}
#therapy-flow .bk29 {
  display: flex;
  align-items: center;
  gap: 8px 12px;
  flex-wrap: wrap;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
}
#therapy-flow .bk29.has-warn {
  padding: 10px 14px;
  border: 1px solid var(--warning-line);
  background: var(--warning-tint);
  border-radius: 12px;
  color: var(--ink);
}
#therapy-flow .bk29 .bk-warn {
  flex-basis: 100%;
  margin: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
#therapy-flow .home-foot {
  margin: 0;
}
