[hidden] { display: none !important; }
.teacher-shelves, #forefoot-study { max-width: 1440px; margin: auto; padding-inline: clamp(16px, 3.5vw, 48px); }
.teacher-shelves { display: flex; gap: 1.5rem; padding-top: 16px; font-size: 13px; }
.teacher-shelves a { text-decoration: none; color: #627671; padding: 4px 0 7px; border-bottom: 2px solid transparent; }
.teacher-shelves a[aria-current="page"] { color: #1c645c; font-weight: 700; border-color: currentColor; }
#forefoot-study { padding-block: 22px 32px; --ink: #213d3b; --muted: #536963; --edge: #d4ded5; --left: #247d76; --right: #ac543a; }
.ff-heading, .ff-titlebar, .ff-trace > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ff-heading { margin-bottom: 18px; }.ff-heading h1 { margin: 0; font-size: clamp(24px, 2.3vw, 34px); }.ff-heading .eyebrow, .ff-titlebar .eyebrow { margin: 0 0 5px; }
.ff-source { color: #22695e; font-size: 13px; text-underline-offset: 4px; }
.ff-workspace { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(248px, 1fr); gap: 18px; align-items: start; }
.ff-observer, .ff-card { background: #fffdf8; border: 1px solid var(--edge); border-radius: 16px; min-width: 0; }
.ff-titlebar { padding: 15px 20px 12px; }.ff-titlebar h2 { margin: 0; font-size: clamp(17px, 1.55vw, 22px); }
.ff-legend { display: flex; gap: 6px; align-items: center; white-space: nowrap; font-size: 12px; }.ff-legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--left); }.ff-legend i:nth-of-type(2) { background: var(--right); margin-left: 5px; }
.ff-stage { position: relative; margin: 0 10px; background: linear-gradient(#e8eee6, #f0f3ea 65%, #e3eae0); border-radius: 11px; overflow: hidden; }
#ff-stage { display: block; width: 100%; height: clamp(280px, 46vh, 495px); touch-action: none; cursor: grab; }#ff-stage:active { cursor: grabbing; }
.ff-views { position: absolute; left: 12px; top: 10px; display: flex; background: #f9faf5e8; border-radius: 9px; padding: 3px; }
.ff-views button, .ff-variants button, .ff-transport button, #ff-speed, #ff-phases button { font-size: 12px; border-radius: 7px; padding: 7px 10px; }
.ff-focus { position: absolute; bottom: 8px; left: 12px; display: flex; gap: 2px; }.ff-focus button { padding: 5px 9px; font-size: 11px; background: #fff9; border-radius: 6px; }.ff-focus button[aria-pressed="true"] { color: #175c52; background: #fff; font-weight: bold; }
.ff-stage-key { position: absolute; bottom: 9px; right: 13px; color: var(--muted); font-size: 10px; pointer-events: none; }.ff-status { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); text-align: center; }
.ff-controls { padding: 13px 18px 10px; display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }.ff-variants { display: flex; gap: 2px; background: #eaf0e9; border-radius: 9px; padding: 3px; }
.ff-variants button[aria-pressed="true"], .ff-views button[aria-pressed="true"], .ff-transport button[aria-pressed="true"] { color: #15594f; background: #fff; font-weight: 700; box-shadow: 0 1px 4px #263c341a; }
.ff-variants button:disabled { cursor: default; }.ff-overlay { margin-left: auto; color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 3px; }
#forefoot-study input { accent-color: var(--left); }#ff-time { display: block; width: 100%; margin: 5px 0 0; cursor: pointer; }
.ff-transport { display: flex; gap: 6px; align-items: center; width: 100%; flex-wrap: wrap; }.ff-transport button, #ff-speed { background: #edf2e9; color: var(--ink); border: 0; }.ff-transport button.ff-play { background: #216d62; color: white; min-width: 63px; font-weight: 650; }.ff-transport #ff-prev, .ff-transport #ff-next { font-size: 21px; line-height: 17px; min-width: 30px; }
#ff-clock { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; margin-inline: 3px auto; }#ff-phases { display: flex; flex-wrap: wrap; gap: 5px; }#ff-phases:empty { display: none; }#ff-phases button { padding: 4px 7px; background: #edf1eb; font-size: 11px; }#ff-phases button[aria-current="step"] { color: #15594f; font-weight: bold; }
.ff-trace { border-top: 1px solid var(--edge); padding: 10px 18px; }.ff-trace > div { font-size: 12px; color: var(--muted); }#ff-knee { font-variant-numeric: tabular-nums; }#ff-chart { display: block; width: 100%; height: 54px; }
.ff-aside { display: grid; gap: 10px; }.ff-card { padding: 15px 16px; }.ff-card h2, .ff-card summary { font-size: 14px; font-weight: 700; margin: 0; }.ff-card summary { cursor: pointer; }
#ff-clips { margin-top: 7px; display: grid; gap: 3px; }.ff-clip { text-align: left; display: block; padding: 8px 10px; border-radius: 8px; width: 100%; }.ff-clip strong { display: block; font-size: 13px; }.ff-clip small { font-size: 11px; color: var(--muted); }.ff-clip[aria-pressed="true"] { background: #e5efe7; color: #165b50; }
.ff-card p { margin: 8px 0 0; line-height: 1.6; font-size: 12px; }.ff-card .ff-muted { color: var(--muted); font-size: 11px; }.ff-detail a { color: #20695e; text-underline-offset: 2px; }
.ff-table { width: 100%; margin-top: 9px; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }.ff-table caption { text-align: left; font-size: 11px; color: var(--muted); margin-bottom: 4px; }.ff-table th, .ff-table td { text-align: right; padding: 4px; border-bottom: 1px solid var(--edge); }.ff-table th:first-child { text-align: left; }
@media(max-width: 800px) { .ff-workspace { grid-template-columns: 1fr; gap: 12px; }.ff-aside { grid-template-columns: repeat(2,minmax(0,1fr)); }#ff-stage { height: clamp(275px, 41vh, 390px); } }
@media(max-width: 520px) { #forefoot-study { padding-top: 15px; }.ff-heading { margin-bottom: 10px; }.ff-titlebar { padding: 12px; }.ff-controls { padding: 10px; gap: 6px; }.ff-variants button { padding: 6px 8px; }.ff-transport { gap: 4px; }.ff-aside { grid-template-columns: 1fr; }.ff-trace { padding-inline: 12px; }.ff-stage { margin-inline: 5px; }.ff-stage-key { display: none; }.ff-card { padding: 13px; } }
