.study-label { font-size: 12px; color: var(--muted); margin: 0 0 22px !important; }
.chart-study { background: var(--surface); padding: 26px 30px 19px; border-radius: 8px; }
.chart-controls { display: flex; gap: 24px; align-items: end; }
.chart-controls label { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.chart-controls label:first-child { flex: 1; }
.chart-controls input, .chart-controls select { width: 100%; font: inherit; font-size: 14px; color: var(--ink); background: white; border: 1px solid #ccc; padding: 8px 10px; border-radius: 4px; }
.chart-controls input:focus-visible, .chart-controls select:focus-visible, .media-tools select:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
#practice-chart { width: 100%; height: auto; display: block; margin: 18px 0 8px; }
.chart-data summary { color: var(--ink); font-size: 13px; }
.chart-data table { border-collapse: collapse; width: 100%; font-size: 13px; margin-top: 10px; text-align: left; }
.chart-data caption { text-align: left; font-size: 12px; color: var(--muted); margin: 8px 0; }
.chart-data th, .chart-data td { padding: 7px; border-bottom: 1px solid #ddd; font-weight: 400; }
.study-invitation { font-size: 12px; color: var(--muted); margin: 13px 0 0 !important; }
.source-details { margin-top: 30px; }
.source-details summary { font-size: 13px; }
.source-details p { color: var(--muted); font-size: 13px; }
.video-labels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 12px; color: var(--muted); margin-bottom: 9px; }
.story-video { width: 100%; height: auto; display: block; background: #151719; border-radius: 5px; }
.media-tools { display: flex; gap: 14px; align-items: center; margin-top: 11px; flex-wrap: wrap; font-size: 12px; }
.media-tools button, .frame-buttons button { border: 1px solid #ccc; background: white; padding: 6px 12px; border-radius: 4px; font: inherit; font-size: 12px; cursor: pointer; color: var(--ink); }
.media-tools select { font: inherit; border: 1px solid #ccc; padding: 5px; background: white; border-radius: 4px; }
.frame-buttons { display: flex; gap: 10px; margin-bottom: 14px; }
.frame-buttons button[aria-pressed="true"] { background: #202020; color: white; border-color: #202020; }
.freeze-frame { max-width: 640px; }
.freeze-frame img { border: 0; }
.media-status { font-size: 12px; color: var(--muted); }
@media(max-width:600px) { .chart-study { padding: 19px 15px; } .chart-controls { gap: 12px; } .chart-controls input { min-width: 0; } }
.figma-artifact { position: relative; max-width: 628px; margin: 0 auto; }
.figma-artifact img { display: block; width: 100%; height: auto; border: 0; }
.figma-highlight { position: absolute; border: 2px solid #f0d787; border-radius: 6px; pointer-events: none; box-shadow: 0 0 0 2px #1e1f20; }
.figma-guide { margin: 20px 0 12px; flex-wrap: wrap; }
.pattern-description { min-height: 4.9em; font-size: 14px; }
