/* PLANORG Öffnungskalender – fully self-hosted; all selectors are namespaced. */
.pok-view {
  --pok-border: #e2e6eb;
  --pok-text: #202b3a;
  --pok-muted: #586778;
  --pok-closed: #a82827;
  --pok-open: #157346;
  --pok-free: #135bb0;
  --pok-training: #b25b12;
  --pok-unknown: #65717d;
  color: var(--pok-text);
  background: #ffffff;
  border: 1px solid var(--pok-border);
  border-radius: 13px;
  box-shadow: 0 2px 14px rgba(22, 37, 51, 0.04);
  padding: clamp(14px, 2vw, 25px);
  margin: 0 0 22px;
  font-family: inherit;
  line-height: 1.45;
  box-sizing: border-box;
}
.pok-view *, .pok-view *::before, .pok-view *::after { box-sizing: border-box; }
.pok-view .pok-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.pok-view .pok-heading { font-size: clamp(19px, 2vw, 25px); font-weight: 700; line-height: 1.25; margin: 0; padding: 0; color: var(--pok-text); border: 0; }
.pok-view .pok-nav { display: flex; align-items: center; gap: 8px; }
.pok-view .pok-nav__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #cbd3db;
  border-radius: 8px;
  background: #fff;
  color: var(--pok-text);
  font-size: 29px;
  line-height: 1;
  text-decoration: none;
  font-weight: 400;
  transition: background 120ms ease, border-color 120ms ease;
}
.pok-view .pok-nav__button:hover, .pok-view .pok-nav__button:focus-visible { background: #f1f4f7; border-color: #8492a2; color: #131e2b; }
.pok-view.pok-view--loading { opacity: .65; }
.pok-view .pok-month-scroll { width: 100%; max-width: 100%; overflow-x: auto; }
.pok-view .pok-month-table {
  table-layout: fixed;
  border-spacing: 5px;
  border-collapse: separate;
  width: 100%;
  min-width: 740px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  line-height: 1.35;
}
.pok-view .pok-month-table th, .pok-view .pok-month-table td {
  width: 14.285%;
  padding: 0;
  margin: 0;
  border: none;
  text-align: left;
  vertical-align: top;
  background: transparent;
  box-shadow: none;
  line-height: 1.35;
}
.pok-view .pok-month-table th { color: var(--pok-muted); text-align: center; padding: 5px; font-size: 13px; font-weight: 650; }
.pok-view .pok-month-table td.pok-day { border-radius: 9px; background: var(--pok-surface, #f2f4f6); }
.pok-view .pok-day--closed { --pok-color: var(--pok-closed); --pok-surface: #fff2f0; }
.pok-view .pok-day--open { --pok-color: var(--pok-open); --pok-surface: #eaf7ef; }
.pok-view .pok-day--free { --pok-color: var(--pok-free); --pok-surface: #eaf3ff; }
.pok-view .pok-day--training { --pok-color: var(--pok-training); --pok-surface: #fff3e8; }
.pok-view .pok-day--unknown { --pok-color: var(--pok-unknown); --pok-surface: #f2f4f6; }
.pok-view .pok-month-table td.pok-day--empty { background: transparent; }
.pok-view .pok-day__inner {
  border-top: 4px solid var(--pok-color);
  padding: 10px 8px 12px;
  min-height: 112px;
  height: 100%;
  border-radius: 9px;
  overflow-wrap: anywhere;
}
.pok-view .pok-day--today .pok-day__inner { outline: 2px solid #27333e; outline-offset: -2px; }
.pok-view .pok-day__number { display: inline-block; font-size: 18px; font-weight: 750; color: var(--pok-text); margin-bottom: 10px; }
.pok-view .pok-today { display: inline-block; padding: 2px 4px; margin-left: 3px; vertical-align: 2px; font-size: 10px; font-weight: 700; color: #fff; background: #283544; border-radius: 3px; }
.pok-view .pok-day__status { display: block; color: var(--pok-color); font-weight: 750; font-size: 12.5px; line-height: 1.3; }
.pok-view .pok-day__extra, .pok-view .pok-day__hours { display: block; color: #344155; font-size: 11.5px; margin-top: 5px; line-height: 1.3; }
.pok-view .pok-day__hours { font-weight: 650; }
.pok-view .pok-day__details { margin-top: 8px; color: #354557; font-size: 11.5px; }
.pok-view .pok-day__details summary { cursor: pointer; color: #25394f; text-decoration: underline; }
.pok-view .pok-day__details div { margin-top: 6px; }
.pok-view .pok-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 17px; margin-top: 19px; font-size: 13px; }
.pok-view .pok-legend__item { display: inline-flex; align-items: flex-start; gap: 7px; color: #344155; }
.pok-view .pok-legend__dot { display: inline-block; flex: 0 0 auto; width: 11px; height: 11px; margin-top: 4px; border-radius: 3px; background: var(--pok-unknown); }
.pok-view .pok-legend__dot--closed { background: var(--pok-closed); }
.pok-view .pok-legend__dot--open { background: var(--pok-open); }
.pok-view .pok-legend__dot--free { background: var(--pok-free); }
.pok-view .pok-legend__dot--training { background: var(--pok-training); }
.pok-view .pok-disclaimer { font-size: 12px; line-height: 1.6; color: var(--pok-muted); margin: 14px 0 0; }
.pok-view .pok-weekend-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 16px; }
.pok-view .pok-weekend-card {
  margin: 0;
  background: var(--pok-surface);
  border-top: 6px solid var(--pok-color);
  padding: clamp(17px, 2.5vw, 25px);
  border-radius: 10px;
  overflow-wrap: anywhere;
}
.pok-view .pok-weekend-card__date { font-size: clamp(16px, 1.9vw, 20px); font-weight: 700; color: #273444; margin: 0 0 15px; padding: 0; }
.pok-view .pok-weekend-card__status { color: var(--pok-color); font-size: clamp(17px, 1.7vw, 22px); font-weight: 750; margin: 0 0 5px; }
.pok-view .pok-weekend-card__extra { color: #354557; font-size: 15px; margin: 0 0 6px; }
.pok-view .pok-weekend-card__hours { color: #25384b; font-size: 16px; font-weight: 650; margin: 7px 0 0; }
.pok-view .pok-weekend-card__note { color: #354557; font-size: 14px; margin: 12px 0 0; white-space: pre-line; }
@media (max-width: 600px) {
  .pok-view { padding: 13px; border-radius: 9px; }
  .pok-view .pok-weekend-grid { grid-template-columns: 1fr; }
  .pok-view .pok-header { gap: 6px; }
  .pok-view .pok-month-table { min-width: 700px; }
  .pok-view .pok-legend { font-size: 12px; }
}
