/* FixSched / FixJournal, 06.11.2026: scoped presentation, no accounting changes. */
.schedule-page .page-header,.journal-page .page-header{margin:12px 0 16px}
.schedule-week-nav,.journal-session-nav{display:flex;align-items:center;gap:6px;margin-bottom:12px}
.schedule-week-nav{justify-content:space-between;max-width:600px}
.schedule-week-nav strong{font-size:15px;text-align:center}
.week-arrow,.session-arrow{width:44px;min-width:44px;height:48px;flex:none;padding:0;font-size:22px;border-radius:14px}
.week-arrow{height:44px}
.schedule-today-link{display:inline-flex;align-items:center;min-height:44px;margin:-6px 0 6px}
.schedule-day-strip,.schedule-mobile-list{display:none}
.schedule-page .schedule-day-heading{min-height:44px}
.schedule-page .schedule-tile small,.schedule-page .schedule-tile p{font-size:13px}
.schedule-page .schedule-tile h2{font-size:14px}
.schedule-cancellations>summary{display:flex;align-items:center;min-height:48px;cursor:pointer;font-size:14px;font-weight:650}
.schedule-cancellations{margin-top:16px;padding:0 16px}
.schedule-cancellations .button-link{flex:none}
.journal-session-nav{max-width:760px}
.session-picker-button{min-width:0;flex:1;min-height:48px;justify-content:space-between;padding:10px 14px;font-size:15px;border-radius:14px;background:var(--panel);text-align:left}
.session-picker-button>span:first-child{min-width:0;overflow-wrap:anywhere}
.session-arrow:disabled{opacity:.35;cursor:default}
.journal-summary{padding:14px;margin-bottom:14px}
.journal-summary .split{gap:8px;font-size:15px;flex-wrap:wrap}
.journal-capacity{white-space:nowrap;font-size:14px}
.journal-summary .journal-state{font-size:14px;font-weight:650;margin:6px 0 8px}
.journal-state.accounted,.journal-reply.yes{color:#9FD6A6}
.journal-state.review,.journal-reminder .warning{color:#F0A73A}
.journal-state.cancelled,.journal-debt,.journal-reply.no{color:#EE8A80}
.journal-reply-counts{font-size:13px;color:#C9D1CB;margin:4px 0}
.journal-reply-counts>span{white-space:nowrap}
.journal-reminder{margin-top:6px;border-top:1px solid #1E2621}
.journal-reminder summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:8px 0 0;font-size:13px;color:#C9D1CB;cursor:pointer;list-style:none}
.journal-reminder summary::-webkit-details-marker{display:none}
.journal-reminder summary>span:last-child{font-size:22px;flex:none}
.journal-reminder[open] summary>span:last-child{transform:rotate(90deg)}
.journal-reminder .reminder-count{white-space:nowrap}
.journal-reminder h3{font-size:14px;margin:12px 0 4px}
.journal-reminder p{font-size:13px}
.journal-player-list{margin-bottom:16px}
.journal-player-row{width:100%;min-height:72px;display:flex;align-items:center;gap:10px;padding:10px 0;border:0;border-bottom:1px solid #1E2621;border-radius:0;background:transparent;text-align:left;font-weight:400}
.journal-player-row:hover{background:#121915;filter:none}
.journal-player-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.journal-player-name{font-size:15px;font-weight:700;overflow-wrap:anywhere}
.journal-reply{font-size:13px;font-weight:600;color:#8E9A91;white-space:nowrap}
.journal-player-meta,.journal-replacement{font-size:13px;color:#8E9A91;overflow-wrap:anywhere}
.journal-replacement{color:#8CC0F0}
.journal-status{height:28px;display:inline-flex;align-items:center;justify-content:center;flex:none;padding:0 12px;border:0;border-radius:14px;font-size:13px;font-weight:700;white-space:nowrap;line-height:1;background:#1E2621;color:#A9B4AC}
.journal-status.accounted{background:#1C2E20;color:#9FD6A6}
.journal-status.transfer{background:#172331;color:#8CC0F0}
.journal-status.review,.journal-status.spent{background:#2E2312;color:#F0A73A}
.journal-status.cancelled{background:#2A1515;color:#EE8A80}
.journal-player-dialog .stack{gap:12px}
.journal-player-dialog form>button,.journal-player-dialog>a.button-link{width:100%;min-height:52px}
.journal-player-dialog .primary{min-height:56px}
.journal-player-dialog select{max-width:100%}
.journal-player-dialog .close,.journal-session-picker .close{width:44px;min-width:44px;min-height:44px}
.journal-player-dialog .button-link{margin-top:12px}
.session-picker-section h3{font-size:14px;margin:18px 0 6px;color:#8E9A91}
.session-picker-item{display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:56px;padding:8px 10px;border-bottom:1px solid #253027;border-radius:8px;color:var(--text);font-size:14px}
.session-picker-item small{font-size:13px}
.session-picker-item.cancelled,.session-picker-item.cancelled small{color:#EE8A80}
.session-picker-item[aria-current]{background:#1E2621;box-shadow:inset 3px 0 #9FD6A6}
.journal-session-picker .picker-more{margin-top:10px;min-height:48px;width:100%;font-size:14px}
@media(max-width:760px){
  .schedule-page .page-header,.journal-page .page-header{margin:8px 0 10px}
  .journal-page h1{font-size:22px}
  .schedule-page h1{font-size:24px}
  .schedule-week-nav{max-width:none;margin-bottom:10px}
  .schedule-desktop-week{display:none}
  .schedule-day-strip{display:grid;grid-template-columns:repeat(7,minmax(44px,1fr));gap:4px;overflow-x:auto;margin:0 0 16px;padding:3px 0}
  .schedule-day-chip{min-width:44px;height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;background:#121915;border:1px solid #2A342E;border-radius:12px;color:#EDEFE6;font-size:12px}
  .schedule-day-chip strong{font-size:14px}
  .schedule-day-chip.past{color:#8E9A91}
  .schedule-day-chip.empty{padding:0;background:transparent;border-color:transparent;color:#59675E}
  .schedule-day-chip.today{background:#EDEFE6;border-color:#EDEFE6;color:#0B100D;font-weight:700}
  .schedule-day-chip.cancelled{border:1px dashed #A05A54;color:#EE8A80}
  .schedule-day-chip.cancelled strong{text-decoration:line-through}
  .schedule-day-chip.today.cancelled{background:#2A1515}
  .schedule-mobile-list{display:block}
  .schedule-mobile-day{scroll-margin-top:16px}
  .schedule-list-heading{font-size:13px;font-weight:700;color:#C9D1CB;margin:0 2px 6px}
  .schedule-list-heading.today{color:#EDEFE6}
  .schedule-mobile-card{padding:14px;margin-bottom:14px}
  .schedule-mobile-card.optional{border-style:dashed;border-color:#3A463F}
  .schedule-mobile-card.cancelled{border:1px dashed #A05A54;background:#211A19}
  .schedule-mobile-card .split{font-size:14px}
  .schedule-time{font-size:20px}
  .schedule-mobile-card p{font-size:14px;margin:2px 0 8px}
  .schedule-mobile-card .optional-label{color:#8CC0F0}
  .schedule-mobile-card .capacity-bar{height:6px;margin-bottom:8px;background:#1E2621}
  .schedule-mobile-card .capacity-bar span{background:#7FCB8A}
  .schedule-mobile-card .schedule-cutoff{font-size:13px;margin-bottom:12px}
  .schedule-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .schedule-card-actions .button-link{min-height:44px;padding:8px 6px;font-size:14px}
  .schedule-mobile-card .cancelled-reason{color:#EE8A80;font-size:13px}
  .schedule-page .past-sessions{margin:0 0 14px;padding:0 14px;border-style:dashed}
  .schedule-page .past-sessions>summary{display:flex;flex-direction:column;justify-content:center;min-height:48px;padding:8px 0;font-size:14px;font-weight:650;list-style:none}
  .schedule-page .past-sessions>summary::-webkit-details-marker{display:none}
  .schedule-page .past-sessions>summary small{font-size:13px;font-weight:400}
  .schedule-page .past-sessions[open] .schedule-mobile-day{margin-top:12px}
  .journal-session-nav{margin-bottom:10px}
  .session-picker-button{padding:10px;font-size:14px}
  .journal-summary{padding:14px}
  .journal-player-dialog,.journal-session-picker{padding:16px 16px max(24px,env(safe-area-inset-bottom))}
  .journal-player-dialog .dialog-top h2,.journal-session-picker .dialog-top h2{font-size:19px}
}

/* A forecast is never styled as a completed debit. */
.journal-status.forecast { color: #A9B4AC; background: #1E2621; }
.journal-status.forecast-badge { flex-direction: column; height: auto; min-height: 42px; max-width: 145px; padding: 7px 10px; white-space: normal; line-height: 1.25; text-align: center; }
.journal-status .forecast-time { display: block; font-size: 12px; font-weight: 400; margin-top: 3px; }

/* Case 09.11: a wrapped response never begins with a separator dot. */
.journal-player-name { display:flex; flex-wrap:wrap; align-items:baseline; column-gap:6px; }
.journal-name-text { overflow-wrap:anywhere; }
.journal-reply { white-space:nowrap; }
.journal-cancelled-label { color:#EE8A80; font-size:14px; overflow-wrap:anywhere; }
.cancelled-journal>.split { flex-wrap:wrap; align-items:flex-start; }
.journal-add-player { width:100%; min-height:48px; border-style:dashed; background:transparent; margin:16px 0; }
.journal-add-options { margin-top:12px; }
.journal-add-options .journal-add-option { margin:0 0 8px; }
.journal-add-option>button { width:100%; min-height:56px; flex-direction:column; align-items:flex-start; text-align:left; }
.journal-add-option small { font-size:13px; }
.journal-add-option[hidden], [data-journal-search-empty][hidden] { display:none; }

.journal-status .forecast-condition { display: block; margin-top: 3px; font-size: 12px; }
