/* Smart Timetable Manager: public timetable */
.stm-front { width: 100vw; max-width: 100vw; margin: 1.5em 0 1.5em calc(50% - 50vw); padding: 0 24px; box-sizing: border-box; }
.stm-front > * { max-width: 1400px; margin-left: auto; margin-right: auto; }
.stm-front { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
.stm-front-pick { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 600; margin-bottom: 12px; font-size: 15px; }
.stm-front-pick select { padding: 6px 10px; border-radius: 6px; border: 1px solid #cbd5e1; min-width: 220px; font-size: 14px; background: #fff; }
.stm-front h3 { margin: 0 0 6px; font-size: 20px; }
.stm-front h4 { margin: 14px 0 4px; }
.stm-front .stm-table-wrap { overflow-x: auto; }
.stm-front .stm-grid { border-collapse: separate; border-spacing: 4px; width: 100%; min-width: 820px; margin: 0; border: 0; }
.stm-front .stm-grid th { background: #1e293b; color: #fff; font-size: 12px; padding: 8px 4px; border-radius: 6px; text-align: center; border: 0; }
.stm-front .stm-grid th small { display: block; font-weight: 400; opacity: .8; font-size: 11px; }
.stm-front .stm-grid tbody th { background: #334155; text-align: left; padding-left: 10px; }
.stm-front .stm-grid td { padding: 6px 4px; border-radius: 6px; text-align: center; font-size: 12px; border: 0; height: 50px; }
.stm-front .stm-cell { background: hsl(var(--h) 80% 94%); border: 1px solid hsl(var(--h) 60% 80%); }
.stm-front .stm-cell strong { display: block; color: hsl(var(--h) 60% 25%); font-size: 12.5px; }
.stm-front .stm-cell span { color: #475569; font-size: 11px; }
.stm-front .stm-free { background: #f8fafc; color: #cbd5e1; border: 1px dashed #e2e8f0; }
.stm-front .stm-closed { background: repeating-linear-gradient(45deg, #f1f5f9, #f1f5f9 6px, #e2e8f0 6px, #e2e8f0 12px); color: #475569; font-weight: 600; font-size: 11px; }
.stm-front .stm-brk { background: #fef3c7; color: #92400e; width: 26px; padding: 4px 2px; }
.stm-front th.stm-brk span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10px; white-space: nowrap; }
.stm-front .stm-tag { display: inline-block; font-style: normal; font-size: 9px; font-weight: 700; text-transform: uppercase; background: #fff; color: #0f766e; border: 1px solid #99f6e4; border-radius: 4px; padding: 0 4px; }
.stm-empty { color: #64748b; font-style: italic; }
.stm-front .stm-off { background: repeating-linear-gradient(135deg, #f8fafc, #f8fafc 5px, #eef2f7 5px, #eef2f7 10px); color: #94a3b8; font-size: 11px; font-style: italic; }

/* Break out of narrow theme content columns (block themes set max-width and auto margins with !important). */
.stm-front, .is-layout-constrained > .stm-front, .entry-content > .stm-front { width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
