/* Schedule Tracker: maximalist, bold type, tactile micro-interactions.
   Everything is scoped to .st-app so it can't leak into the theme. */

.st-app, .st-login {
	--ink: #111;
	--paper: #fff6e0;
	--hot: #ff5c8a;
	--sun: #ffd23f;
	--sky: #3ec1d3;
	--lime: #7cff6b;
	--display: "Arial Black", Impact, "Helvetica Neue", system-ui, sans-serif;
	--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	max-width: 1280px;
	margin: 24px 0;
	padding: 20px;
	color: var(--ink);
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-weight: 600;
	background:
		radial-gradient(circle at 1px 1px, rgba(0, 0, 0, .18) 1.2px, transparent 1.6px) 0 0 / 18px 18px,
		var(--paper);
	border: 4px solid var(--ink);
	border-radius: 20px;
	box-shadow: 10px 10px 0 var(--ink);
}
.st-app *, .st-login * { box-sizing: border-box; }

/* The app itself is just a wrapper; the two columns are separate boxes.
   Width is set by st.js so it fills the screen whatever the theme's column is. */
.st-app {
	max-width: none; margin: 12px 0 24px; padding: 0;
	background: none; border: 0; border-radius: 0; box-shadow: none;
}

/* On pages with the tracker (class added by the plugin): keep the theme's own background,
   hide the page title so the boxes start at the top, and never show a sideways scrollbar. */
body.st-page { overflow-x: hidden; }
body.st-page .entry-title, body.st-page .wp-block-post-title, body.st-page .page-title,
body.st-page h1.entry-title, body.st-page .entry-header { display: none; }
body.st-page .entry-content, body.st-page .wp-block-post-content { margin-top: 0; padding-top: 0; }
.st-app [hidden] { display: none !important; }

/* ---------- two-column layout: tasks left, forecast right ---------- */

.st-login { max-width: 520px; }
.st-layout {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px; align-items: stretch;
}
.st-left {
	min-width: 0; padding: 20px;
	background:
		radial-gradient(circle at 1px 1px, rgba(0, 0, 0, .18) 1.2px, transparent 1.6px) 0 0 / 18px 18px,
		var(--paper);
	border: 4px solid var(--ink); border-radius: 20px; box-shadow: 10px 10px 0 var(--ink);
}
.st-forecast {
	min-width: 0; padding: 20px; background: #fff;
	border: 4px solid var(--ink); border-radius: 20px; box-shadow: 10px 10px 0 var(--ink);
}

/* ---------- header ---------- */

.st-bar-top {
	position: sticky; top: 8px; z-index: 5;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 12px 16px; margin-bottom: 16px;
	background: var(--sky);
	border: 4px solid var(--ink); border-radius: 14px;
	box-shadow: 6px 6px 0 var(--ink);
	background-image: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255, 255, 255, .22) 14px 28px);
}
.st-title { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.st-title strong {
	font-family: var(--display); font-weight: 900; text-transform: uppercase;
	font-size: clamp(1.8rem, 6vw, 3rem); line-height: .9; letter-spacing: -.03em;
	text-shadow: 3px 3px 0 #fff;
}
.st-reset {
	display: inline-block; padding: 3px 10px;
	font-family: var(--mono); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em;
	background: var(--sun); border: 3px solid var(--ink); border-radius: 6px;
	transform: rotate(-2deg);
	font-variant-numeric: tabular-nums;
}

/* ---------- buttons ---------- */

.st-btn {
	font: inherit; font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .02em;
	font-size: .8rem; line-height: 1;
	padding: 10px 14px; cursor: pointer;
	color: #fff; background: var(--ink);
	border: 3px solid var(--ink); border-radius: 8px;
	box-shadow: 3px 3px 0 rgba(0, 0, 0, .35);
	text-decoration: none; display: inline-block;
	transition: transform .15s cubic-bezier(.3, 1.6, .5, 1), box-shadow .15s, background .2s, border-radius .25s, color .2s;
}
.st-btn:hover { transform: translate(-2px, -2px) rotate(-1.5deg); box-shadow: 5px 5px 0 rgba(0, 0, 0, .45); }
.st-btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 rgba(0, 0, 0, 0); }
.st-btn:focus-visible, .st-row-head:focus-visible, .st-input:focus-visible, .st-tab:focus-visible, .st-check:focus-visible {
	outline: 4px solid var(--ink); outline-offset: 3px;
}

.st-tz {
	margin-left: auto; flex: none;
	font: inherit; font-weight: 800; font-size: .8rem; padding: 6px 8px; cursor: pointer;
	color: var(--ink); background: #fff;
	border: 3px solid var(--ink); border-radius: 8px;
}
.st-plus {
	width: 56px; height: 56px; padding: 0; flex: none;
	font-size: 2rem; border-radius: 50%; background: var(--hot); color: var(--ink);
	display: grid; place-items: center;
}
.st-plus:hover { transform: rotate(90deg) scale(1.1); }
.st-plus-on { transform: rotate(45deg); background: var(--sun); border-radius: 12px; }
.st-plus-on:hover { transform: rotate(45deg) scale(1.1); }

.st-primary { background: var(--hot); color: var(--ink); }

/* Start/Pause morph: squishes into a pill and settles into its new colour. */
.st-toggle { min-width: 84px; background: var(--ink); color: var(--lime); }
.st-running { background: #e11d2e; border-color: var(--ink); color: #fff; }
.st-morph { animation: st-morph .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes st-morph {
	0%   { transform: scale(.7, 1.2); border-radius: 999px; }
	55%  { transform: scale(1.18, .88); border-radius: 999px; }
	100% { transform: scale(1); border-radius: 8px; }
}

.st-del {
	padding: 8px 12px; font-size: 1.1rem; background: #fff; color: var(--ink);
}
.st-del:hover { background: #e11d2e; color: #fff; transform: rotate(12deg) scale(1.1); }

/* ---------- tabs ---------- */

.st-tabs { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.st-tab {
	font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .02em;
	font-size: 1rem; padding: 10px 20px; cursor: pointer;
	color: var(--ink); background: #fff;
	border: 3px solid var(--ink); border-radius: 999px;
	box-shadow: 4px 4px 0 var(--ink);
	transition: transform .15s cubic-bezier(.3, 1.6, .5, 1), box-shadow .15s, background .2s;
}
.st-tab:hover { transform: translate(-2px, -2px) rotate(-2deg); box-shadow: 6px 6px 0 var(--ink); }
.st-tab:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.st-tab-on { background: var(--hot); }

/* ---------- form ---------- */

.st-add {
	display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; padding: 14px;
	background: var(--sun); border: 4px solid var(--ink); border-radius: 14px; box-shadow: 6px 6px 0 var(--ink);
	animation: st-drop .3s cubic-bezier(.3, 1.6, .5, 1);
}
.st-add .st-input { flex: 1 1 200px; }
.st-input {
	font: inherit; font-weight: 700; padding: 10px 12px; min-width: 0;
	color: var(--ink); background: #fff;
	border: 3px solid var(--ink); border-radius: 8px;
}
.st-input::placeholder { color: rgba(0, 0, 0, .5); }
.st-small { width: 130px; }
@keyframes st-drop { from { opacity: 0; transform: translateY(-14px) scale(.97); } to { opacity: 1; transform: none; } }

.st-error {
	margin-bottom: 14px; padding: 10px 14px; border: 3px solid var(--ink); border-radius: 10px;
	background: #e11d2e; color: #fff; font-weight: 800;
}

/* ---------- rows ---------- */

.st-list { list-style: none; margin: 0; padding: 0; }

.st-row {
	position: relative;
	margin-bottom: 14px; overflow: hidden;
	background: var(--c, var(--hot));
	border: 4px solid var(--ink); border-radius: 14px;
	box-shadow: 6px 6px 0 var(--ink);
	transition: box-shadow .15s, translate .15s cubic-bezier(.3, 1.6, .5, 1);
}
.st-row:hover { translate: -2px -2px; box-shadow: 9px 9px 0 var(--ink); }
.st-row.st-open { box-shadow: 9px 9px 0 var(--ink); }
.st-row.st-active { background-image: repeating-linear-gradient(-45deg, transparent 0 12px, rgba(255, 255, 255, .28) 12px 24px); }
@keyframes st-march { to { background-position: 28px 0; } }

.st-enter { animation: st-pop .5s cubic-bezier(.3, 1.6, .5, 1) backwards; }
@keyframes st-pop { from { opacity: 0; transform: translateY(24px) rotate(-2deg) scale(.95); } to { opacity: 1; transform: none; } }

.st-row-head {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
	padding: 14px 16px; cursor: pointer;
}
.st-name {
	flex: 1 1 160px; min-width: 120px; overflow-wrap: break-word; word-break: normal;
	font-family: var(--display); font-weight: 900; text-transform: uppercase;
	font-size: clamp(1.05rem, 3.4vw, 1.5rem); line-height: 1.05; letter-spacing: -.01em;
}
.st-live {
	display: inline-block; margin-left: 10px; padding: 2px 8px; vertical-align: middle;
	font-family: var(--mono); font-size: .65rem; letter-spacing: .08em;
	color: #fff; background: #e11d2e; border: 2px solid var(--ink); border-radius: 999px;
	animation: st-blink 1s steps(2, start) infinite;
}
.st-live::before { content: "\25CF "; }
@keyframes st-blink { to { visibility: hidden; } }

.st-time {
	font-family: var(--mono); font-weight: 900; font-size: clamp(1.1rem, 3.6vw, 1.6rem);
	font-variant-numeric: tabular-nums; min-width: 6.5ch; text-align: center;
	padding: 6px 10px; color: #fff; background: var(--ink);
	border-radius: 8px; border: 3px solid var(--ink);
}
.st-active .st-time { color: var(--lime); text-shadow: 0 0 12px var(--lime); animation: st-pulse 1.2s ease-in-out infinite; }
@keyframes st-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* 7-day preview that slides out on hover */
.st-spark {
	display: flex; align-items: flex-end; gap: 3px; height: 30px; padding: 3px 5px;
	background: #fff; border: 3px solid var(--ink); border-radius: 8px;
	opacity: 0; transform: translateX(14px) scale(.8); max-width: 0; overflow: hidden; padding-left: 0; padding-right: 0; border-width: 0;
	transition: opacity .2s, transform .25s cubic-bezier(.3, 1.6, .5, 1), max-width .25s, padding .25s;
}
.st-spark i { display: block; width: 6px; background: var(--ink); border-radius: 2px 2px 0 0; }
.st-row-head:hover .st-spark, .st-row-head:focus-visible .st-spark {
	opacity: 1; transform: none; max-width: 80px; padding: 3px 5px; border-width: 3px;
}

/* ---------- expanded detail ---------- */

.st-detail {
	padding: 6px 16px 18px; background: #fff; border-top: 4px solid var(--ink);
	animation: st-drop .3s cubic-bezier(.3, 1.6, .5, 1);
}
.st-block { margin-top: 14px; }
.st-label {
	display: inline-block; margin-bottom: 8px; padding: 2px 8px;
	font-family: var(--mono); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em;
	background: var(--sun); border: 2px solid var(--ink); border-radius: 6px;
}
.st-chart { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.st-bar-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.st-bar {
	width: 100%; min-height: 4px; background: var(--c, var(--hot));
	border: 3px solid var(--ink); border-bottom: 0; border-radius: 6px 6px 0 0;
	transform-origin: bottom; animation: st-grow .5s cubic-bezier(.3, 1.4, .5, 1) backwards;
	transition: filter .15s, transform .15s;
}
.st-bar-col:hover .st-bar { transform: scaleY(1.06); filter: brightness(1.1); }
.st-bar-label { margin-top: 6px; font-family: var(--mono); font-weight: 800; font-size: .72rem; text-transform: uppercase; }
@keyframes st-grow { from { transform: scaleY(0); } }

.st-progress { height: 22px; border: 3px solid var(--ink); border-radius: 999px; background: #fff; overflow: hidden; }
.st-progress-fill {
	height: 100%; border-right: 3px solid var(--ink);
	background: repeating-linear-gradient(-45deg, var(--lime) 0 10px, #4ee03d 10px 20px);
	background-size: 28px 28px; animation: st-march 1s linear infinite;
	transition: width .6s cubic-bezier(.3, 1.2, .5, 1);
}
.st-adjust { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- to-do ---------- */

.st-todo-label { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; }
.st-todo { background: #fff; border-left-width: 18px; border-left-color: var(--c, var(--hot)); }
.st-todo:hover { rotate: -.4deg; }
.st-check {
	appearance: none; -webkit-appearance: none; flex: none; margin: 0;
	width: 30px; height: 30px; cursor: pointer; position: relative;
	background: #fff; border: 4px solid var(--ink); border-radius: 8px;
	transition: transform .15s cubic-bezier(.3, 1.6, .5, 1), background .15s;
}
.st-check:hover { transform: rotate(-8deg) scale(1.15); background: var(--sun); }
.st-check:checked { background: var(--lime); transform: scale(.9); }
.st-check:checked::after {
	content: ""; position: absolute; left: 7px; top: 1px; width: 8px; height: 16px;
	border: solid var(--ink); border-width: 0 4px 4px 0; transform: rotate(45deg);
}
.st-todo .st-name { text-transform: none; font-family: inherit; font-weight: 800; font-size: 1.15rem; letter-spacing: 0; }

.st-empty {
	margin: 0 0 14px; padding: 28px 16px; text-align: center; list-style: none;
	font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.1rem;
	background: #fff; border: 4px dashed var(--ink); border-radius: 14px;
}

/* ---------- to-do due dates + overdue ---------- */

.st-due-field { display: flex; flex-direction: column; gap: 4px; flex: 1 1 180px; font-size: .8rem; font-family: var(--mono); text-transform: uppercase; font-weight: 800; }
.st-due-field .st-input { width: 100%; }

.st-due {
	flex: none; padding: 3px 8px; white-space: nowrap;
	font-family: var(--mono); font-weight: 800; font-size: .72rem; letter-spacing: .04em;
	background: var(--sun); border: 2px solid var(--ink); border-radius: 6px;
}
.st-due-over { background: #e11d2e; color: #fff; animation: st-shake 1.6s ease-in-out infinite; }
.st-overdue {
	background: repeating-linear-gradient(-45deg, #ffe0e0 0 12px, #fff 12px 24px);
	border-color: #e11d2e; box-shadow: 6px 6px 0 #e11d2e;
}
.st-overdue:hover { box-shadow: 9px 9px 0 #e11d2e; }
@keyframes st-shake { 0%, 88%, 100% { transform: none; } 91% { transform: rotate(-4deg); } 94% { transform: rotate(4deg); } 97% { transform: rotate(-2deg); } }

/* ---------- forecast panel ---------- */

.st-fc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.st-fc-title {
	flex: 1 1 140px; min-width: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase;
	font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -.02em; line-height: 1;
	text-shadow: 3px 3px 0 var(--sun);
}
.st-gear { width: 40px; height: 40px; padding: 0; font-size: 1.2rem; display: grid; place-items: center; background: var(--sun); color: var(--ink); }
.st-gear[aria-expanded="true"] { background: var(--hot); transform: rotate(60deg); }
.st-fc-refresh { background: var(--lime); color: var(--ink); }

.st-set {
	display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; padding: 12px;
	background: var(--sun); border: 3px solid var(--ink); border-radius: 12px;
	animation: st-drop .3s cubic-bezier(.3, 1.6, .5, 1);
}
.st-set-field { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; align-items: center; font-family: var(--mono); font-weight: 800; font-size: .75rem; text-transform: uppercase; }
.st-set-field span { grid-column: 1 / -1; }
.st-set-field .st-input { width: 100%; font-size: .85rem; }
.st-set-note { margin: 0; font-size: .75rem; font-weight: 700; }

.st-fc-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.st-fc-month { flex: 1 1 120px; min-width: 0; text-align: center; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.05rem; }
.st-fc-step { padding: 8px 12px; background: var(--ink); }
.st-fc-today { background: var(--hot); color: var(--ink); }

.st-fc-weekdays, .st-fc-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.st-fc-weekdays span {
	text-align: center; font-family: var(--mono); font-weight: 800; font-size: .7rem; text-transform: uppercase; padding-bottom: 4px;
}

.st-day-count {
	position: absolute; top: 3px; right: 3px; min-width: 18px; padding: 1px 5px;
	font-family: var(--mono); font-weight: 900; font-size: .65rem; line-height: 1.3; text-align: center;
	color: #fff; background: var(--ink); border-radius: 999px;
}
.st-day-count-over { background: #e11d2e; }
.st-day-label {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	width: 100%; margin: 2px 0; text-align: left;
	font-size: .62rem; font-weight: 800; line-height: 1.15; overflow-wrap: anywhere;
}
.st-day {
	position: relative; min-height: 58px; padding: 4px;
	display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
	font: inherit; cursor: pointer; color: var(--ink); background: #fff;
	border: 3px solid var(--ink); border-radius: 8px;
	transition: transform .15s cubic-bezier(.3, 1.6, .5, 1), background .15s, box-shadow .15s;
}
.st-day:hover { transform: translate(-2px, -2px) rotate(-1.5deg); box-shadow: 3px 3px 0 var(--ink); background: var(--sun); }
.st-day:active { transform: translate(1px, 1px); box-shadow: none; }
.st-day:focus-visible { outline: 4px solid var(--ink); outline-offset: 2px; }
.st-day-num { font-family: var(--display); font-weight: 900; font-size: .95rem; line-height: 1; }
.st-day-other { opacity: .45; }
.st-day-today { background: var(--sky); box-shadow: 3px 3px 0 var(--ink); }
.st-day-sel { background: var(--hot); box-shadow: 3px 3px 0 var(--ink); opacity: 1; }

.st-dots { display: flex; flex-wrap: wrap; gap: 3px; align-items: center; width: 100%; }
.st-dots b { font-family: var(--mono); font-size: .6rem; line-height: 1; }
.st-dot { display: block; width: 8px; height: 8px; border: 2px solid var(--ink); border-radius: 50%; }
.st-dot-lecture { background: var(--sky); }
.st-dot-deadline { background: var(--hot); border-radius: 2px; }
.st-dot-todo { background: var(--sun); transform: rotate(45deg); border-radius: 2px; }
.st-dot-overdue { background: #e11d2e; }

.st-fc-detail { margin-top: 14px; padding-top: 12px; border-top: 4px solid var(--ink); }
.st-fc-dayhead { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-family: var(--display); text-transform: uppercase; }
.st-fc-dayhead span { font-family: var(--mono); font-size: .75rem; }
.st-fc-none { margin: 0; padding: 14px; text-align: center; border: 3px dashed var(--ink); border-radius: 10px; font-weight: 800; }
.st-fc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 340px; overflow-y: auto; }
.st-fc-item {
	display: grid; grid-template-columns: 5.6rem 1fr auto; gap: 10px; align-items: center;
	padding: 8px 10px; border: 3px solid var(--ink); border-radius: 10px; background: #fff;
	border-left-width: 12px;
	animation: st-drop .25s cubic-bezier(.3, 1.6, .5, 1) backwards;
}
.st-k-lecture { border-left-color: var(--sky); }
.st-k-deadline { border-left-color: var(--hot); }
.st-k-todo { border-left-color: var(--sun); }
.st-k-overdue { border-left-color: #e11d2e; background: #ffe9e9; }
.st-fc-time { font-family: var(--mono); font-weight: 900; font-size: .9rem; font-variant-numeric: tabular-nums; }
.st-fc-body { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.st-fc-body em { font-style: normal; font-size: .8rem; opacity: .7; }
.st-fc-badge {
	padding: 2px 8px; font-family: var(--mono); font-weight: 800; font-size: .65rem; letter-spacing: .05em;
	background: var(--ink); color: #fff; border-radius: 999px; white-space: nowrap;
}
.st-k-overdue .st-fc-badge { background: #e11d2e; }
.st-fc-status { margin-top: 12px; font-family: var(--mono); font-weight: 700; font-size: .72rem; opacity: .8; min-height: 1em; }

/* ---------- logged-out ---------- */

.st-login { text-align: center; }
.st-login p { margin: 0 0 14px; font-family: var(--display); text-transform: uppercase; font-size: 1.2rem; }
.st-login .st-btn { background: var(--hot); color: var(--ink); }

/* ---------- cursor follower ---------- */

.st-cursor {
	position: fixed; top: 0; left: 0; z-index: 99999;
	width: 40px; height: 40px; pointer-events: none;
	opacity: 0; transition: opacity .2s;
}
.st-cursor::before {
	content: ""; display: block; width: 100%; height: 100%;
	border: 3px solid #111; border-radius: 50%;
	background: rgba(255, 210, 63, .0);
	transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), background .2s;
}
.st-cursor-on { opacity: 1; }
.st-cursor-hot::before { transform: scale(1.7); background: rgba(255, 210, 63, .55); }
.st-cursor-down::before { transform: scale(.7); background: rgba(255, 92, 138, .7); }

/* ---------- small screens + reduced motion ---------- */

@media (max-width: 960px) {
	.st-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
	.st-fc-item { grid-template-columns: 1fr auto; }
	.st-fc-time { grid-column: 1 / -1; }
	.st-day { min-height: 52px; padding: 2px; }
	.st-day-label { display: none; }
	.st-login { padding: 12px; border-width: 3px; box-shadow: 6px 6px 0 var(--ink); }
	.st-left, .st-forecast { padding: 12px; border-width: 3px; box-shadow: 6px 6px 0 var(--ink); }
	.st-row-head { flex-wrap: wrap; }
	.st-name { flex: 1 1 100%; }
	.st-spark { display: none; }
	.st-time { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
	.st-app *, .st-app *::before, .st-app *::after, .st-cursor, .st-cursor::before {
		animation: none !important; transition: none !important;
	}
}

/* ---------- PIN gate (shared, read-only view) ---------- */

.st-gate {
	max-width: 440px; margin: 40px auto; padding: 24px; text-align: center;
	background: #fff; border: 4px solid var(--ink); border-radius: 16px; box-shadow: 8px 8px 0 var(--ink);
}
.st-gate-title { margin: 0 0 8px; font-family: var(--display); text-transform: uppercase; font-size: 1.6rem; }
.st-gate p { margin: 0 0 14px; }
.st-gate-row { display: flex; gap: 10px; justify-content: center; }
.st-pin { text-align: center; letter-spacing: .3em; font-size: 1.3rem; width: 9em; }
.st-gate-error { margin: 14px 0 0; }

/* ---------- timetable tab ---------- */

.st-tt { display: grid; gap: 10px; }
.st-tt[hidden] { display: none; }
.st-tt-nav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.st-tt-label { flex: 1; font-family: var(--display); text-transform: uppercase; font-size: .95rem; }
.st-tt-day { background: #fff; border: 3px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--ink); overflow: hidden; }
.st-tt-dayhead { display: flex; justify-content: space-between; padding: 6px 12px; background: var(--sky); border-bottom: 3px solid var(--ink); font-weight: 800; }
.st-tt-today { background: var(--sun); }
.st-tt-day .st-fc-list { margin: 0; padding: 8px; }
