/* Typeflow: quiet staff workspace, playful pupil world; every selector is scoped. */
.tf{--tf-ink:#23423d;--tf-green:#24725c;--tf-mint:#e9f4ec;--tf-purple:#74649a;--tf-line:#dae6df;--tf-cream:#fbfaf4;color:var(--tf-ink);max-width:1360px;margin:auto}.tf h1,.tf h2,.tf h3{color:var(--tf-ink);letter-spacing:-.025em}.tf h1{display:flex;align-items:center;gap:12px;font-size:32px;margin:5px 0 8px}.tf h2{font-size:23px}.tf h3{font-size:18px}.tf p{line-height:1.65}.tf-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.tf-heading p{color:#677b75;margin:0}.tf-brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:15px;background:#24725c;color:white;font-size:25px;box-shadow:0 5px 0 #174f4118}.tf-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;color:#54716a}.tf-status{min-height:1px}.tf-status:not(:empty){border-radius:12px;padding:12px 16px;background:#edf3e7;margin:10px 0 20px}.tf .tf-error{color:#a62e3e!important}.tf-status.tf-error{background:#fff0ee;border:1px solid #e9b5b2}.tf-tabs{display:flex;gap:8px;border-bottom:1px solid var(--tf-line);padding-bottom:16px;margin-bottom:24px;overflow-x:auto}.tf-tabs .btn{white-space:nowrap}.tf .panel{border:1px solid var(--tf-line);border-radius:18px;padding:23px;background:white;margin-bottom:18px;box-shadow:0 4px 15px #24453e04}.tf .panel h2:first-child,.tf .panel h3:first-child{margin-top:0}.tf-callout{display:flex;align-items:center;justify-content:space-between;gap:25px;border-radius:18px;padding:24px;background:var(--tf-mint);border:1px solid #c5dece;margin-bottom:22px}.tf-callout p{margin:6px 0 0;max-width:780px}.tf-callout .btn{flex-shrink:0}.tf-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}.tf-metric{padding:19px 22px;background:white;border:1px solid var(--tf-line);border-radius:17px;display:flex;flex-direction:column;gap:8px}.tf-metric strong{font-size:26px;font-variant-numeric:tabular-nums;line-height:1.25}.tf-metric span{font-size:12px;color:#62776e}.tf-toolbar{display:flex;gap:16px;align-items:end;margin:20px 0}.tf-toolbar label{min-width:200px}.tf table small{display:block;color:#6b7d75;margin-top:5px}.tf .table-wrap{border-radius:16px;margin:20px 0}.tf-table td{vertical-align:middle}.tf-week-progress{display:flex;flex-direction:column;gap:7px;min-width:145px}.tf-week-progress progress{appearance:none;display:block;width:100%;height:9px;border:0;border-radius:12px;overflow:hidden;background:#e8eee8}.tf-week-progress progress::-webkit-progress-bar{background:#e8eee8;border-radius:12px}.tf-week-progress progress::-webkit-progress-value{background:#4b9470;border-radius:12px}.tf-week-progress progress::-moz-progress-bar{background:#4b9470;border-radius:12px}.tf-week-progress span{font-size:12px;color:#567466;font-variant-numeric:tabular-nums}.tf-muted{color:#657b70;font-size:13px}.tf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:18px;margin:20px 0}.tf-grid .panel{margin:0}.tf-settings{max-width:860px;margin-top:22px}.tf-settings label{margin-bottom:12px}.tf-checks{display:flex;flex-wrap:wrap;gap:12px 24px;margin:16px 0}.tf-checks label{display:flex;align-items:center;gap:8px}.tf-checks input,.tf-quiet-toggle input{width:auto}.tf-detail-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:24px}.tf-key-chip{display:inline-flex;gap:8px;align-items:center;padding:8px 12px;border-radius:9px;background:#f5eee5;margin:3px}.tf-key-chip small{color:#816a57}.tf-chart{display:flex;height:225px;gap:15px;padding:20px 0 24px}.tf-chart-axis{display:flex;flex-direction:column;justify-content:space-between;font-size:11px;color:#6c7d74;width:34px}.tf-bars{flex:1;display:flex;gap:clamp(3px,1vw,20px);border-bottom:1px solid #bccfc3;background:repeating-linear-gradient(to top,transparent 0,transparent calc(50% - 1px),#e4ece7 calc(50% - 1px),#e4ece7 50%);align-items:flex-end;min-width:0;padding:0 12px}.tf-chart-col{flex:1;height:100%;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;position:relative;min-width:0;max-width:65px}.tf-bar{width:100%;background:#6da389;min-height:3px;border-radius:7px 7px 0 0;position:relative}.tf-bar-home{background:#9484b4}.tf-bar span{position:absolute;top:-19px;left:50%;transform:translateX(-50%);font-size:10px;white-space:nowrap}.tf-chart-col>small{position:absolute;bottom:-20px;font-size:10px}.tf-lessons{display:grid;gap:10px}.tf-lessons .panel{padding:16px 20px;margin:0}.tf-lessons summary{cursor:pointer;display:flex;gap:14px;align-items:center;flex-wrap:wrap}.tf-lesson-number{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;background:#e9f1e7;color:#386447;width:35px;height:35px;font-weight:800;flex-shrink:0}.tf-fact{border-left:3px solid #dfbe7c;padding:8px 15px;background:#fbf7e8;border-radius:0 10px 10px 0;font-size:14px}.tf-context{display:flex;align-items:end;gap:18px;flex-wrap:wrap;background:white;border:1px solid var(--tf-line);padding:14px 20px;border-radius:16px;margin-bottom:20px}.tf-context label{font-size:12px;min-width:150px}.tf-context select{margin-top:5px}.tf-context .tf-quiet-toggle{display:flex;align-items:center;gap:8px;min-width:auto;margin-left:auto;padding-bottom:10px}.tf-hero{position:relative;overflow:hidden;min-height:350px;border-radius:26px;background:linear-gradient(120deg,#e4f2e1 10%,#c7e8e3 50%,#e6d8f3 100%);box-shadow:0 8px 28px #204a3e10;margin:18px 0 24px;isolation:isolate}.tf-hero-content{position:relative;z-index:2;width:54%;padding:38px 0 38px 36px;background:linear-gradient(90deg,#e8f2e6 78%,#e8f2e600);min-height:350px}.tf-hero-content h2{font-size:clamp(27px,3.1vw,42px);line-height:1.1;max-width:340px;margin:17px 0 18px}.tf-hero-content>p{max-width:360px;padding-right:20px}.tf-hero .btn{margin-top:8px}.tf-hero-art{position:absolute;inset:0 0 0 34%;z-index:0;background:radial-gradient(ellipse at 75% 35%,#ffeea7 0 12%,transparent 13%),linear-gradient(145deg,#86b998,#92cbc8 45%,#a794ce);background-image:url('/assets/typeflow/adventure.png'),radial-gradient(ellipse at 75% 35%,#ffeea7 0 12%,transparent 13%),linear-gradient(145deg,#86b998,#92cbc8 45%,#a794ce);background-size:cover;background-position:center}.tf-student-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px}.tf-week h2{font-size:37px;margin:14px 0 18px}.tf-week h2 small{font-size:17px;color:#708176;font-weight:500}.tf-week .tf-week-progress progress{height:12px}.tf-play-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:20px 0 35px}.tf-play-card{position:relative;isolation:isolate;overflow:hidden;border-radius:23px;border:1px solid #d5e3d6;background:#f2f6e9;padding:0 24px 25px}.tf-play-card p{font-size:14px;min-height:45px}.tf-play-card h3{font-size:21px;margin:12px 0}.tf-card-art{height:150px;display:flex;align-items:center;justify-content:center;position:relative;margin:0 -24px 22px;overflow:hidden;background:radial-gradient(circle at 75% 25%,#ffedba 0 15%,transparent 15.5%),linear-gradient(#b4d9ca,#deebc4)}.tf-card-art:before,.tf-card-art:after{content:'';position:absolute;bottom:-43px;width:220px;height:100px;border-radius:50%;background:#90b99b;left:-25px;transform:rotate(-15deg);z-index:0}.tf-card-art:after{left:auto;right:-80px;background:#789b82;bottom:-46px;transform:rotate(25deg)}.tf-card-art svg{width:145px;height:140px;position:relative;z-index:1;filter:drop-shadow(0 7px 0 #52655215)}.tf-space{background:#f4edf9;border-color:#ded1eb}.tf-space .tf-card-art{background:radial-gradient(circle at 80% 28%,#e5c77e 0 13%,transparent 14%),radial-gradient(circle at 20% 20%,#fff 0 1.5px,transparent 2px),linear-gradient(130deg,#51496e,#8c79b4)}.tf-space .tf-card-art:before{background:#bca8cc}.tf-space .tf-card-art:after{background:#8d77ac}.tf-meadow{background:#fff4df;border-color:#e8d8b4}.tf-meadow .tf-card-art{background:radial-gradient(circle at 70% 20%,#ffe9a0 0 12%,transparent 13%),linear-gradient(#aad9e3,#eef4d0)}.tf-clip-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.tf-clip-icon{display:inline-flex;align-items:center;justify-content:center;border-radius:14px;width:58px;height:58px;background:#f3eee2;font-size:30px}.tf-clip{max-width:800px;margin:24px auto!important;text-align:center}.tf-clip .row{justify-content:center;margin-top:24px}.tf-clip-stage{height:230px;border-radius:22px;margin:20px 0;background:radial-gradient(ellipse at 50% 100%,#aecbb6 0 23%,transparent 24%),linear-gradient(130deg,#e3efdc,#e4e1f3);position:relative;overflow:hidden;display:grid;place-items:center}.tf-clip-big{font-size:110px;z-index:1}.tf-clip-orbit{position:absolute;bottom:30px;font:700 30px ui-monospace,monospace;color:#596d61;letter-spacing:10px;opacity:.55}.tf-playing .tf-clip-big{animation:tf-float 2.7s ease-in-out infinite}.tf-playing .tf-clip-orbit{animation:tf-drift 5s ease-in-out infinite}.tf-run-top{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:17px;align-items:center}.tf-clock{font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}.tf-exercise{max-width:1000px;margin:16px auto!important;padding:28px!important}.tf-exercise h2{margin:6px 0}.tf-block-feedback{background:#eef5eb;border-radius:10px;padding:12px;margin:16px 0;font-size:14px}.tf-target{font:500 clamp(22px,3vw,33px)/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;letter-spacing:2px;padding:25px 20px;border:1px solid #dde4dc;border-radius:16px;background:#fbfcf8;margin:22px 0;color:#66786c;min-height:130px}.tf-target span{border-radius:4px;padding:2px 1px}.tf-target .tf-char-done{color:#246846;background:#d9eddc}.tf-target .tf-char-next{background:#f6df9e;color:#483d29;box-shadow:0 3px 0 #ac7f2c}.tf-capture-label{font-size:14px;max-width:460px;margin:0 auto;text-align:center}.tf-capture-label input{text-align:center;background:#fff!important;font-size:20px!important;border:2px solid #89b49a!important;letter-spacing:1px}.tf-key-feedback{min-height:32px;text-align:center;margin:15px 0;font-weight:650;color:#287455}.tf-key-feedback.tf-error{background:#fff0ed;border-radius:10px;padding:7px 12px}.tf-hint{text-align:center;font-weight:700;min-height:25px;font-size:14px}.tf-keyboard{margin:22px auto;max-width:760px;overflow-x:auto;padding:4px}.tf-key-row{display:flex;gap:5px;justify-content:center;margin-bottom:6px}.tf-key{display:inline-flex;justify-content:center;align-items:center;min-width:30px;flex:0 1 50px;height:43px;border:1px solid #cbd6cc;border-bottom:3px solid #bdcabe;border-radius:8px;background:#f2f6f0;font-size:15px;font-weight:700;position:relative}.tf-key:nth-child(3n){background:#f3eef8;border-color:#d8cde7}.tf-key:nth-child(3n+1){background:#edf2fa;border-color:#ccd8e6}.tf-key-next{background:#f6d580!important;border-color:#b98c33!important;box-shadow:0 0 0 3px #ffe9b0;color:#463719!important}.tf-space-key{min-width:230px!important;max-width:350px;font-size:12px;background:#f1eee6!important}.tf-run-actions{display:flex;justify-content:center;gap:12px;margin-top:22px;flex-wrap:wrap}.tf-exercise>.tf-muted{text-align:center}.tf-mistake{animation:tf-shake .2s ease-in-out}.tf-game{height:245px;border-radius:24px;overflow:hidden;isolation:isolate;position:relative;background:linear-gradient(#514471,#8d83b5 65%,#bdaccc);margin:15px auto;max-width:1000px}.tf-game-stars{font-size:26px;letter-spacing:32px;color:#fff4bf;position:absolute;inset:13px 20px auto}.tf-game-hills{position:absolute;bottom:30px;left:-10%;width:70%;height:110px;background:#b0a0c0;border-radius:50% 70% 0 0;transform:rotate(-7deg);box-shadow:420px 30px 0 20px #9c89b4}.tf-game-track{position:absolute;bottom:42px;width:100%;height:25px;background:#e8c7b5;border-top:4px dashed #fff3c7;transform:rotate(-2deg)}.tf-game-player{position:absolute;bottom:55px;left:5%;width:125px;transition:left .35s ease-out;filter:drop-shadow(0 8px 2px #4436472a)}.tf-game-player svg{display:block;width:100%}.tf-game-finish{position:absolute;right:4%;bottom:65px;font-size:65px}.tf-game-caption{position:absolute;bottom:0;left:0;right:0;margin:0!important;font-size:12px;text-align:center;padding:8px 16px;background:#fff9eae8;color:#4b4255;z-index:2}.tf-game-runner{background:linear-gradient(#a7d9d9,#d7e7bc)}.tf-game-runner .tf-game-hills{background:#a0bb8e;box-shadow:420px 30px 0 20px #779d81}.tf-game-runner .tf-game-track{background:#e2bd8c;border-color:#f8e2b0}.tf-game-runner .tf-game-stars{color:#f9f4cf}.tf-game-runner .tf-game-player{width:100px;bottom:55px}.tf-hop{animation:tf-hop .4s ease-out}.tf-finished{padding:40px!important;text-align:center;margin-top:30px!important}.tf-finished .row{justify-content:center}.tf-finished .tf-metrics{grid-template-columns:repeat(3,1fr);max-width:750px;margin:30px auto}.tf-finish-mark{display:block;font-size:68px}.tf-quiet .tf-game-player,.tf-quiet *{animation:none!important;transition:none!important}.tf-quiet .tf-game-stars,.tf-quiet .tf-clip-orbit{display:none}.tf-quiet .tf-hero-art{opacity:.45}.tf-quiet .tf-hero-content{background:linear-gradient(90deg,#e8f2e6 75%,transparent)}.tf [hidden]{display:none!important}.tf button:focus-visible,.tf a:focus-visible,.tf input:focus-visible,.tf select:focus-visible,.tf summary:focus-visible{outline:3px solid #a270c2;outline-offset:3px}.tf button:disabled{cursor:not-allowed;opacity:.55}.tf-student .tf-exercise{scroll-margin-top:25px}
@keyframes tf-shake{0%,100%{transform:translateX(0)}30%{transform:translateX(-3px)}70%{transform:translateX(3px)}}@keyframes tf-hop{0%,100%{transform:translateY(0)}50%{transform:translateY(-22px) rotate(-4deg)}}@keyframes tf-float{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-12px) rotate(3deg)}}@keyframes tf-drift{0%,100%{transform:translateX(-25px)}50%{transform:translateX(25px)}}
@media(prefers-reduced-motion:reduce){.tf *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:1050px){.tf-metrics{grid-template-columns:repeat(2,1fr)}.tf-hero-content{width:59%}.tf-hero-art{left:28%;background-position:60% center}.tf-play-grid,.tf-clip-grid{gap:12px}.tf-play-card{padding:0 16px 22px}.tf-card-art{margin-left:-16px;margin-right:-16px}.tf-callout{align-items:flex-start;flex-direction:column}.tf-play-card .btn{font-size:12px;padding:10px}}
@media(max-width:700px){.tf-heading{align-items:flex-start}.tf-heading h1{font-size:27px}.tf-heading>button,.tf-heading>a{font-size:12px}.tf-eyebrow{font-size:9px;letter-spacing:1.1px}.tf-heading p{font-size:13px}.tf-toolbar{flex-wrap:wrap}.tf-toolbar label{min-width:0;flex:1}.tf-tabs{gap:6px}.tf-tabs .btn{padding:10px 12px;font-size:12px}.tf-metrics{gap:10px}.tf-metric{padding:15px}.tf-metric strong{font-size:22px}.tf-context{gap:12px;padding:14px}.tf-context label{min-width:0;flex:1}.tf-context .tf-quiet-toggle{flex-basis:100%;margin:0;padding:0}.tf-hero{min-height:440px}.tf-hero-content{width:100%;min-height:0;padding:26px 24px 23px;background:linear-gradient(#e8f2e6 80%,#e8f2e6e6);z-index:2}.tf-hero-content h2{font-size:33px;max-width:none;margin:12px 0}.tf-hero-content>p{padding:0;max-width:none}.tf-hero-art{position:relative;inset:auto;width:100%;height:210px;background-position:center 55%;margin-top:-10px}.tf-student-columns{grid-template-columns:1fr;gap:0}.tf-play-grid,.tf-clip-grid{grid-template-columns:1fr}.tf-play-card{padding:0 22px 23px}.tf-card-art{height:160px;margin:0 -22px 18px}.tf-play-card p{min-height:0}.tf-play-card .btn{font-size:14px}.tf .panel{padding:19px}.tf-exercise{padding:17px!important}.tf-target{font-size:23px;padding:18px 12px;letter-spacing:1px}.tf-key{min-width:18px;height:34px;font-size:11px;border-radius:5px}.tf-key-row{gap:3px}.tf-space-key{min-width:180px!important}.tf-run-top{gap:10px}.tf-game{height:220px}.tf-game-player{width:92px}.tf-game-runner .tf-game-player{width:76px}.tf-game-finish{font-size:48px}.tf-game-caption{font-size:11px;padding:7px}.tf-finished .tf-metrics{grid-template-columns:1fr}.tf-detail-head{align-items:flex-start;flex-direction:column}.tf-clip-stage{height:190px}.tf-bars{gap:5px;padding:0 3px}.tf-bar span{font-size:8px}}
.tf-key[data-finger="1"],.tf-key[data-finger="10"]{background:#f8e2e1;border-color:#dfbbb8}.tf-key[data-finger="2"],.tf-key[data-finger="9"]{background:#fff0cf;border-color:#ddcea5}.tf-key[data-finger="3"],.tf-key[data-finger="8"]{background:#e8f0d9;border-color:#c3d1ad}.tf-key[data-finger="4"]{background:#dfeef6;border-color:#b7cddc}.tf-key[data-finger="7"]{background:#ede3f8;border-color:#cfc0dd}.tf-key small{position:absolute;font-size:8px;top:2px;left:5px;color:#647268}.tf-modifier-hint{text-align:center;font-size:12px;color:#61756a;margin:8px 0 0!important}
.tf-game-companion{position:absolute;bottom:96px;left:8%;width:76px;opacity:.78;filter:hue-rotate(95deg);transition:left .5s linear;z-index:-1}.tf-quiet .tf-game-companion{display:none}
.tf-game-companion{z-index:1}.tf-game-player{z-index:2}
/* Keep the game and its typing controls together on a laptop screen. */
.tf-game-mode .tf-heading{margin-bottom:12px}.tf-game-mode .tf-heading h1{font-size:24px;margin:0}.tf-game-mode .tf-heading p,.tf-game-mode .tf-heading .tf-eyebrow{display:none}.tf-game-mode .tf-brand-mark{width:32px;height:32px;font-size:20px;border-radius:10px}.tf-game-mode #tf-playground{max-width:1000px;margin:auto;scroll-margin-top:12px}.tf-game-mode .tf-run-top{margin-bottom:7px;gap:10px}.tf-game-mode .tf-game{height:160px;margin:8px auto}.tf-game-mode .tf-game-player{width:100px;bottom:45px}.tf-game-mode .tf-game-runner .tf-game-player{width:79px}.tf-game-mode .tf-game-companion{width:64px;bottom:81px}.tf-game-mode .tf-game-finish{font-size:47px;bottom:50px}.tf-game-mode .tf-game-caption{font-size:11px;padding:6px 12px;line-height:1.35}.tf-game-mode .tf-game-hills{height:80px}.tf-game-mode .tf-game-stars{font-size:19px;top:5px}.tf-game-mode .tf-exercise{margin:8px auto!important;padding:13px 18px!important}.tf-exercise-game h2{font-size:18px;line-height:1.2;margin:0}.tf-exercise-game>.row .tf-eyebrow,.tf-exercise-game>.tf-run-instruction,.tf-exercise-game>.tf-muted{display:none}.tf-exercise-game>.row .btn{padding:7px 10px;font-size:12px}.tf-exercise-game .tf-target{font-size:23px;line-height:1.5;min-height:0;max-height:84px;overflow-y:auto;padding:9px 12px;margin:9px 0;scrollbar-width:thin}.tf-exercise-game .tf-capture-label{font-size:12px;max-width:460px}.tf-exercise-game .tf-capture-label input{font-size:18px!important;min-height:40px;padding:7px 12px;margin:4px 0 0}.tf-exercise-game .tf-key-feedback{font-size:13px;min-height:22px;margin:5px 0}.tf-exercise-game .tf-key-feedback.tf-error{padding:3px 9px}.tf-exercise-game .tf-hint{font-size:13px;min-height:20px;margin:4px 0}.tf-game-help{font-size:12px;border-top:1px solid var(--tf-line);padding-top:7px;margin-top:6px}.tf-game-help summary{cursor:pointer;color:var(--tf-green);font-weight:650;text-align:center}.tf-game-help .tf-keyboard{margin:13px auto}.tf-exercise-game .tf-run-actions{margin-top:9px;gap:9px}.tf-exercise-game .tf-run-actions .btn{font-size:12px;padding:8px 12px;min-height:35px}
@media(max-width:700px){.tf-game-mode .tf-game{height:145px}.tf-game-mode .tf-exercise{padding:11px 13px!important}.tf-exercise-game .tf-target{font-size:20px;max-height:74px;letter-spacing:1px}.tf-game-mode .tf-game-caption{font-size:10px}.tf-game-mode .tf-game-player{width:84px}.tf-game-mode .tf-game-runner .tf-game-player{width:70px}.tf-game-mode .tf-game-companion{width:55px}.tf-game-mode .tf-run-top{font-size:11px}.tf-game-mode .tf-clock{font-size:12px}}
/* App icon sizing must not shrink the original game illustrations. */
.tf .tf-game-player svg,.tf .tf-game-companion svg,.tf .tf-card-art svg{width:100%;height:auto;max-width:none;display:block}

/* Compact staff controls; the pupil practice area keeps its legibility. */
.tf-staff .tf-heading{margin-bottom:12px}.tf-staff h1{font-size:27px}.tf-staff h2{font-size:19px}.tf-staff .tf-tabs{padding-bottom:10px;margin-bottom:14px}.tf-staff .panel{padding:15px;border-radius:12px;margin-bottom:14px}.tf-staff .panel p{margin:8px 0;line-height:1.45}.tf-staff .tf-metrics{gap:10px;margin:14px 0}.tf-staff .tf-metric{padding:12px 15px;border-radius:11px;gap:4px}.tf-staff .tf-metric strong{font-size:22px}.tf-staff .tf-toolbar{margin:14px 0}.tf-staff .tf-grid{gap:12px;margin:14px 0}.tf-staff .tf-settings{margin-top:14px;max-width:960px}.tf-staff .tf-settings .form-grid{gap:10px 14px;align-items:start}.tf-staff .tf-settings label{margin-bottom:0}.tf-staff .tf-settings input:not([type=checkbox]),.tf-staff .tf-settings select{padding:8px 10px;min-height:36px}.tf-staff .tf-settings .row{margin-top:14px}.tf-staff .tf-class-controls h2{margin-bottom:10px}

.tf-staff .tf-setting-group{border:0;border-top:1px solid var(--tf-line);border-radius:0;padding:10px 0 0;margin:16px 0 0;min-width:0}.tf-staff .tf-setting-group legend{font-size:13px;font-weight:750;padding:0 10px 0 0;color:#54716a}.tf-staff .tf-settings-top{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:center}.tf-staff .tf-setting-group .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tf-staff .tf-setting-group label{font-size:13px;display:flex;flex-direction:column;gap:5px}.tf-staff .tf-setting-group .tf-bool label{flex-direction:row}.tf-staff .tf-settings .form-grid input,.tf-staff .tf-settings .form-grid select{margin:0}.tf-staff .tf-setting-group .tf-bool{align-self:center}.tf-staff .tf-setting-group small{font-size:11px}@media(max-width:640px){.tf-staff .tf-setting-group .form-grid,.tf-staff .tf-settings-top{grid-template-columns:1fr}}
