

html.ds3 main .fg-chart{--fg-ink:#1f1f1f;--fg-secondary:#6b6b6b;--fg-line:#e8e8e8;--fg-line-strong:#dcdcdc;--fg-well:#f6f6f4;margin:24px 0 0;padding:0;max-width:760px}
html.ds3 main .fg-chart-title{margin:0 0 4px;font-size:16px !important;font-weight:600!important}
html.ds3 main .fg-chart-answer{margin:0 0 14px;font-size:16px;font-weight:400;color:var(--fg-ink);font-variant-numeric:tabular-nums}
html.ds3 main .fg-chart-answer b{font-weight:700}
html.ds3 main .fg-chart-plot{font-size:14px;font-weight:500;font-variant-numeric:tabular-nums}
html.ds3 main .fg-chart-key{display:flex;flex-wrap:wrap;gap:6px 16px;margin:12px 0 0;padding:0;list-style:none;font-size:12px;font-weight:600;color:var(--fg-secondary)}
html.ds3 main .fg-chart-key li{display:flex;align-items:center;gap:6px}
html.ds3 main .fg-sw{display:inline-block;width:12px;height:12px;border-radius:4px;background:var(--fg-ink)}
html.ds3 main .fg-sw.dot{border-radius:999px;background:#a0a0a0}
html.ds3 main .fg-sw.me{border-radius:999px;background:var(--fg-ink);box-shadow:0 0 0 2px #fff,0 0 0 3px var(--fg-ink)}
html.ds3 main .fg-sw.tick{width:2px;border-radius:0}
html.ds3 main .fg-sw.clash{background:#fff;border:2px solid var(--fg-ink)}
html.ds3 main .fg-chart-note{margin:10px 0 0;font-size:14px;font-weight:500;color:var(--fg-secondary);max-width:62ch}
html.ds3 main .fg-chart :is(.s1){background:#1f1f1f}
html.ds3 main .fg-chart :is(.s2){background:#4a4a4a}
html.ds3 main .fg-chart :is(.s3){background:#6b6b6b}
html.ds3 main .fg-chart :is(.s4){background:#a0a0a0}
html.ds3 main .fg-chart :is(.s5){background:#c8c8c8}
html.ds3 main .fg-chart :is(.s6){background:#dcdcdc}
html.ds3 main .fg-chart :is(.s0){background:#e8e8e8}

html.ds3 main .fg-chart-numbers{margin-top:12px;border-top:1px solid var(--fg-line);border-bottom:1px solid var(--fg-line)}
html.ds3 main .fg-chart-numbers>summary{list-style:none;display:grid;grid-template-columns:minmax(0,1fr) auto 18px;gap:12px;align-items:center;min-height:48px;cursor:pointer;font-size:16px;font-weight:600}
html.ds3 main .fg-chart-numbers>summary::-webkit-details-marker{display:none}
html.ds3 main .fg-chart-numbers>summary::after{content:'⌄';font-size:20px;font-weight:400;justify-self:end}
html.ds3 main .fg-chart-numbers[open]>summary::after{transform:rotate(180deg)}
html.ds3 main .fg-chart-numbers>summary span{font-size:14px;font-weight:500;color:var(--fg-secondary);text-align:right}
html.ds3 main .fg-chart-table{overflow-x:auto;padding:0 0 12px}
html.ds3 main .fg-chart-table table{border-collapse:collapse;width:100%;font-size:14px;font-variant-numeric:tabular-nums}
html.ds3 main .fg-chart-table :is(th,td){padding:6px 8px 6px 0;border-bottom:1px solid var(--fg-line);text-align:left;font-weight:500;white-space:nowrap}
html.ds3 main .fg-chart-table thead th{font-size:12px;font-weight:600;color:var(--fg-secondary)}
html.ds3 main .fg-chart-table tbody th{font-weight:600;white-space:normal}

html.ds3 main .fg-chart-empty{padding:16px;border-radius:12px;background:var(--fg-well)}
html.ds3 main .fg-chart-empty p{margin:0;font-size:14px;color:var(--fg-secondary);max-width:62ch}
html.ds3 main .fg-chart-link{display:inline-flex;align-items:center;min-height:44px;margin-top:4px;color:var(--fg-ink);font-weight:600;text-decoration:underline;text-underline-offset:3px}

html.ds3 main .fg-seats{list-style:none;margin:0;padding:0;display:grid;gap:0}
html.ds3 main .fg-seats li{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(80px,1fr) 76px;gap:12px;align-items:center;min-height:56px;border-bottom:1px solid var(--fg-line)}
html.ds3 main .fg-seats-name{display:grid;min-width:0}
html.ds3 main .fg-seats-name b{font-size:16px;font-weight:600}
html.ds3 main .fg-seats-name span{font-size:14px;color:var(--fg-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.ds3 main .fg-track{height:10px;border-radius:999px;background:#e8e8e8;overflow:hidden}
html.ds3 main .fg-track i{display:block;height:100%;border-radius:999px;background:var(--fg-ink)}
html.ds3 main .fg-seats strong{text-align:right;font-size:16px;font-weight:600}
html.ds3 main .fg-seats strong span{font-size:14px;font-weight:500;color:var(--fg-secondary)}
html.ds3 main .fg-seats .is-full strong{color:var(--fg-secondary)}

html.ds3 main .fg-week{--h:56px;display:grid;gap:4px}
html.ds3 main .fg-week-days,html.ds3 main .fg-week-body{display:grid;grid-template-columns:48px repeat(5,minmax(0,1fr));gap:4px}
html.ds3 main .fg-week-days span{font-size:12px;font-weight:600;color:var(--fg-secondary);text-align:center}
html.ds3 main .fg-week-body{height:calc(var(--rows) * var(--h));position:relative}
html.ds3 main .fg-week-hours{position:relative}
html.ds3 main .fg-week-hours span{position:absolute;right:4px;transform:translateY(-50%);font-size:12px;font-weight:600;color:var(--fg-secondary);white-space:nowrap}
html.ds3 main .fg-week-col{position:relative;border-radius:8px;background:var(--fg-well)}
html.ds3 main .fg-week-block{position:absolute;box-sizing:border-box;padding:4px 6px;border:2px solid #fff;border-radius:8px;background:var(--fg-ink);color:#fff;overflow:hidden;display:grid;align-content:start}
html.ds3 main .fg-week-block b{font-size:12px;font-weight:600;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ds3 main .fg-week-block span{font-size:12px;font-weight:600;opacity:.8;white-space:nowrap}
html.ds3 main .fg-week-block.is-clash{background:#fff;color:var(--fg-ink);border-color:var(--fg-ink)}
html.ds3 main .fg-week-exams{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
html.ds3 main .fg-week-exams li{display:flex;gap:8px;align-items:center;min-height:40px;padding:0 12px;border:1px solid var(--fg-line-strong);border-radius:999px;font-size:14px}
html.ds3 main .fg-week-exams li::before{content:'';width:8px;height:8px;border-radius:999px;background:var(--fg-ink)}
html.ds3 main .fg-week-exams b{font-weight:600}
html.ds3 main .fg-week-exams span{color:var(--fg-secondary)}
html.ds3 main .fg-week-exams .is-clash{border-color:var(--fg-ink);border-width:2px}

html.ds3 main .fg-grades{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
html.ds3 main .fg-grade{display:grid;align-content:start;gap:2px}
html.ds3 main .fg-grade>b{font-size:16px;font-weight:600}
html.ds3 main .fg-grade>span{font-size:14px;color:var(--fg-secondary)}
html.ds3 main .fg-grade.is-small{padding:12px;border-radius:12px;background:var(--fg-well)}
html.ds3 main .fg-grade.is-small p{margin:6px 0 0;font-size:14px;color:var(--fg-secondary)}
html.ds3 main .fg-cols{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px;height:132px;margin-top:10px;align-items:end;border-bottom:1px solid var(--fg-line-strong);padding-bottom:20px;position:relative}
html.ds3 main .fg-cols>div{position:relative;height:100%;display:flex;align-items:flex-end}
html.ds3 main .fg-cols i{display:block;width:100%;min-height:1px;border-radius:4px 4px 0 0;background:var(--fg-ink)}
html.ds3 main .fg-cols em{position:absolute;left:0;right:0;font-style:normal;font-size:12px;font-weight:600;text-align:center}
html.ds3 main .fg-col-label{position:absolute;left:0;right:0;bottom:-20px;text-align:center;font-size:12px;font-weight:600;color:var(--fg-secondary)}

html.ds3 main .fg-likert{list-style:none;margin:0;padding:0;display:grid;gap:14px}
html.ds3 main .fg-likert li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:center}
html.ds3 main .fg-likert-q{grid-column:1/-1;font-size:14px;font-weight:500}
html.ds3 main .fg-likert-bar{display:flex;height:16px;box-sizing:border-box;position:relative}
html.ds3 main .fg-likert-bar i{display:block;height:100%;border-right:2px solid #fff}
html.ds3 main .fg-likert-bar i:last-child{border-right:0}
html.ds3 main .fg-likert-bar::after{content:'';position:absolute;left:var(--mid);top:-3px;bottom:-3px;width:1px;background:var(--fg-ink)}
html.ds3 main .fg-likert strong{font-size:14px;font-weight:600;white-space:nowrap}

html.ds3 main .fg-strip{padding:28px 0 0}
html.ds3 main .fg-strip-track{position:relative;height:2px;margin:0 8px;background:var(--fg-line-strong)}
html.ds3 main .fg-strip-track i{position:absolute;top:-5px;width:12px;height:12px;margin-left:-6px;border-radius:999px;background:#a0a0a0;border:2px solid #fff;box-sizing:border-box;transform:translateY(calc(var(--up) * -9px))}
html.ds3 main .fg-strip-me{position:absolute;top:-8px;width:18px;height:18px;margin-left:-9px;border-radius:999px;background:var(--fg-ink);border:3px solid #fff;box-sizing:border-box;box-shadow:0 0 0 1px var(--fg-ink);z-index:2}
html.ds3 main .fg-strip-mid{position:absolute;top:-12px;width:2px;height:26px;margin-left:-1px;background:var(--fg-ink)}
html.ds3 main .fg-strip-axis{position:relative;display:flex;justify-content:space-between;margin-top:16px;font-size:12px;font-weight:600;color:var(--fg-secondary)}
html.ds3 main .fg-strip-axis span[style]{position:absolute;transform:translateX(-50%);top:0;color:var(--fg-ink);white-space:nowrap}

html.ds3 main .fg-stack{list-style:none;margin:0;padding:0;display:grid;gap:16px}
html.ds3 main .fg-stack-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:6px}
html.ds3 main .fg-stack-head b{font-size:16px;font-weight:600}
html.ds3 main .fg-stack-head strong{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}
html.ds3 main .fg-stack-bar{display:flex;gap:2px;height:24px;min-width:24px}
html.ds3 main .fg-stack-bar i{display:block;height:100%;min-width:2px}
html.ds3 main .fg-stack-bar i:first-child{border-radius:4px 0 0 4px}
html.ds3 main .fg-stack-bar i:last-child{border-radius:0 4px 4px 0}
html.ds3 main .fg-stack-bar i:only-child{border-radius:4px}
html.ds3 main .fg-stack-share .is-total .fg-stack-bar{height:32px}

html.ds3 main .fg-events{list-style:none;margin:0;padding:0}
html.ds3 main .fg-events li{display:grid;grid-template-columns:132px minmax(0,1fr);gap:12px;align-items:baseline;padding:10px 0;border-bottom:1px solid var(--fg-line)}
html.ds3 main .fg-events li[hidden]{display:none}
html.ds3 main .fg-events a{font-size:16px;font-weight:600;color:var(--fg-ink)}
html.ds3 main .fg-events div span{display:block;font-size:14px;color:var(--fg-secondary)}
html.ds3 main .fg-hours{list-style:none;margin:0;padding:0;display:flex;gap:4px;overflow-x:auto;padding-bottom:4px}
html.ds3 main .fg-hours li{flex:0 0 44px;display:grid;grid-template-rows:auto 64px auto;justify-items:center;gap:6px}
html.ds3 main .fg-hours li[hidden]{display:none}
html.ds3 main .fg-hours-plot{position:relative;width:100%;border-bottom:1px solid var(--fg-line)}
html.ds3 main .fg-hours-plot i{position:absolute;left:50%;width:10px;height:10px;margin:0 0 -5px -5px;border-radius:999px;background:var(--fg-ink)}
html.ds3 main .fg-hours b{font-size:14px;font-weight:600}
@media (max-width:760px){
  html.ds3 main .fg-seats li{grid-template-columns:minmax(0,1fr) 72px;grid-template-areas:"name value" "track track";row-gap:6px;padding:10px 0}
  html.ds3 main .fg-seats-name{grid-area:name} html.ds3 main .fg-seats .fg-track{grid-area:track} html.ds3 main .fg-seats strong{grid-area:value}
  html.ds3 main .fg-week{--h:44px}
  html.ds3 main .fg-week-days,html.ds3 main .fg-week-body{grid-template-columns:36px repeat(5,minmax(0,1fr));gap:3px}
  html.ds3 main .fg-week-block{padding:3px 4px}
  html.ds3 main .fg-week-block span{display:none}
  html.ds3 main .fg-events li{grid-template-columns:1fr;gap:2px}
  html.ds3 main .fg-grades{grid-template-columns:1fr 1fr;gap:12px}
}
.fg-chart-tip{position:fixed;z-index:60;max-width:260px;padding:6px 10px;border-radius:8px;background:#1f1f1f;color:#fff;font:500 14px/1.35 Figtree,system-ui,sans-serif;pointer-events:none;box-shadow:0 4px 14px rgba(0,0,0,.2)}
@media (prefers-reduced-motion:no-preference){html.ds3 main .fg-chart-numbers>summary::after{transition:transform .15s}}

html.ds3 main :is(.fg-dets,.v2-row-in) .fg-chart-title{display:none}
html.ds3 main :is(.fg-dets,.v2-row-in) .fg-chart{margin-top:4px}
html.ds3 main .fg-strip-mid{z-index:3}
html.ds3 main .fg-strip-track i{transform:translateY(calc(min(var(--up),4) * -7px))}

html.ds3 main .fg-chart-label{margin:0 0 4px;font-size:12px;font-weight:600;color:var(--fg-secondary)}
