/* DailyBrainArc · V0.769 Ten Frame Atelier / scoped visual layer only */
:root{--tf-deep:#183b35;--tf-ink:#173b36;--tf-light:#f9f7ee;--tf-aqua:#137e70;--tf-border:#d7e4d9;--tf-muted:#687b71}
body:has(.tf769){background:#f7f7f0;color:#193d36}
.tf769{max-width:1280px;padding:23px 24px 80px;--tf-focus:#1e7c70;font-family:Inter,"Avenir Next",ui-sans-serif,system-ui,-apple-system,sans-serif}
.tf769 button,.tf769 select,.tf769 input{font-family:inherit}
.tf769 button:focus-visible,.tf769 select:focus-visible,.tf769 input:focus-visible,.tf769 .tf-cell:focus-visible{outline:3px solid #eb8e5e;outline-offset:3px}
.tf769 .tf-hero{margin:5px 0 12px;position:relative;display:flex;justify-content:space-between;align-items:end;gap:26px}
.tf769 .tf-hero-copy{max-width:780px}
.tf769 .tf-kicker{color:#32816a;font-size:11px;font-weight:900;letter-spacing:.19em;text-transform:uppercase}
.tf769 .tf-hero h1{font-family:Georgia,"Iowan Old Style",serif;font-size:clamp(2.35rem,5.2vw,4.2rem);font-weight:700;color:#173b35;letter-spacing:-.065em;margin:1px 0 2px;line-height:1.06}
.tf769 .tf-hero h1 em{font-style:italic;color:#b46949}
.tf769 .tf-hero p{font-size:clamp(.86rem,1.45vw,1.04rem);max-width:670px;line-height:1.38;color:#6c8072;margin:0}
.tf769 .tf-hero-stamp{flex:none;padding:11px 16px;border:1px solid #ccdbd0;border-radius:999px;font-weight:850;letter-spacing:.06em;color:#456756;font-size:10px;background:#ffffffab}
.tf769 .tf-tabs{display:flex;width:max-content;max-width:100%;gap:6px;margin:16px 0 15px;padding:5px;border:1px solid #dbe5da;border-radius:16px;background:#e9efe8;box-shadow:0 3px 12px #23472c07;flex-wrap:nowrap}
.tf769 .tf-tabs button{border:none;background:transparent;padding:10px 19px;border-radius:11px;color:#526d5f;white-space:nowrap;font-size:13px;font-weight:850;min-height:40px;transition:background .17s,color .17s,box-shadow .17s}
.tf769 .tf-tabs button.active{color:white;background:#204c41;box-shadow:0 4px 12px #204c4125}
.tf769 .tf-tabs button:not(.active):hover{background:#ffffffa8}
.tf769 .tf-layout{gap:19px;grid-template-columns:minmax(0,1.53fr) minmax(288px,.9fr);align-items:stretch}
.tf769 .tf-card{padding:25px;border:1px solid #dce7d9;background:#fffefa;box-shadow:0 15px 37px #204b3210;border-radius:23px}
.tf769 .tf-stage-card{background:linear-gradient(154deg,#fffefb 45%,#f2f7ed 145%);border-color:#d5e1d0}
.tf769 .tf-cardtop{align-items:center;gap:12px;margin-bottom:14px}
.tf769 .tf-eyebrow{color:#3d8c72;font-size:10px;letter-spacing:.17em;font-weight:950;text-transform:uppercase}
.tf769 h2{font-family:Georgia,"Iowan Old Style",serif;font-size:clamp(1.38rem,2.4vw,1.82rem);font-weight:700;letter-spacing:-.045em;color:#234a3c;line-height:1.13;margin:5px 0 0}
.tf769 .tf-pill{padding:9px 14px;background:#dcefe3;color:#1e6656;border:1px solid #c5e5d6;font-weight:900;font-variant-numeric:tabular-nums;box-shadow:0 2px 6px #133d2920}
.tf769 .tf-board-wrap{min-height:236px;padding:23px 12px;background:linear-gradient(145deg,#e9f1e8 0%,#eaf4ef 100%);border:1px solid #dce7d8;border-radius:20px;box-shadow:inset 0 2px 8px #3c594c09;position:relative;overflow:hidden}
.tf769 .tf-board-wrap:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 45% -5%,#ffffffa0,transparent 68%);pointer-events:none}
.tf769 .tf-board{--cell:76px;gap:6px;position:relative;z-index:1}
.tf769 .tf-cell{border:2px solid #8aa99a;background:#fffdf9;border-radius:12px;box-shadow:0 2px 0 #7896843b;transition:transform .12s,border .12s,background .12s}
.tf769 .tf-cell:not(:disabled):hover{border-color:#2d8670;transform:translateY(-1px);background:#f9fef9}
.tf769 .tf-cell:active{transform:translateY(1px)}
.tf769 .tf-cell[aria-pressed=true]{background:#f0f9ef;border-color:#669988}
.tf769 .tf-counter{width:70%;height:70%;background:radial-gradient(circle at 30% 26%,#72d8bd 0%,#188f77 55%,#0d6657 100%);border:2px solid #ffffff70;box-shadow:0 3px 5px #17493c30,inset -3px -4px 0 #044c4435}
.tf769 .tf-counter.blue{background:radial-gradient(circle at 30% 26%,#91a9f1 0%,#526db8 55%,#2c428f 100%)}
.tf769 .tf-counter.taken{background:#d6e5ed}
.tf769 .tf-total{padding:10px 2px 7px;min-height:59px;align-items:baseline;flex-wrap:nowrap}
.tf769 .tf-total strong{font-family:Georgia,serif;font-size:43px;color:#245c4a;line-height:1.1}
.tf769 .tf-total span{font-size:13px;color:#667e6d}
.tf769 .tf-total .tf-math{font-size:12px;color:#657b6d;margin-left:auto;text-align:right}
.tf769 .tf-actions{gap:8px}
.tf769 .tf-primary,.tf769 .tf-secondary{border-radius:11px;min-height:42px;padding:10px 15px;font-size:13px;font-weight:850;line-height:1.2}
.tf769 .tf-primary{background:#205f4e;border:1px solid #205f4e;color:#fff}
.tf769 .tf-primary:hover{background:#174938}
.tf769 .tf-secondary{border:1px solid #cbdcd0;color:#315b48;background:#fdfefa}
.tf769 .tf-secondary:hover{background:#eaf4ea;border-color:#91b4a0}
.tf769 #tfFill,.tf769 #tfRandom{background:#e7f1e6;border-color:#c4dcc9;color:#245f4b}
.tf769 .tf-stage-card>.tf-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:3px 0 16px}
.tf769 .tf-stage-card>.tf-actions button{padding:10px 4px;min-height:45px}
.tf769 .tf-switch{margin:0;padding:13px 0 7px;border-top:1px solid #e4e9e1;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.tf769 label{color:#50685a;font-size:11px;font-weight:850;letter-spacing:.015em}
.tf769 select,.tf769 input[type=number]{margin-top:6px;border-radius:11px;border:1px solid #c8d8ca;background:#fff;min-height:43px;color:#1d4435;font-weight:700}
.tf769 .tf-tip{margin:4px 0 0;font-size:12px;color:#779080;line-height:1.35}
.tf769 .tf-side{background:#f4f6ed}
.tf769 .tf-side h2{margin-bottom:11px}
.tf769 .tf-stat{padding:16px 0;border-color:#dae3d7;align-items:baseline}
.tf769 .tf-stat span{font-size:12px;color:#788b79}
.tf769 .tf-stat strong{font-family:Georgia,serif;color:#265b4a;font-size:17px}
.tf769 .tf-demo{margin-top:18px;padding:17px;background:#fffefa;border:1px solid #e2e8db;border-radius:16px}
.tf769 .tf-demo h3{font-family:Georgia,serif;color:#2a5545;font-size:19px}
.tf769 .tf-demo .tf-secondary{margin:0 4px 7px 0}
.tf769 .tf-subtle{line-height:1.55;color:#829181;font-size:12px}
.tf769 .tf-panel{max-width:100%;padding:27px}
.tf769 .tf-question{background:#edf4e9;border:1px solid #d6e7d5}
.tf769 .tf-feedback,.tf769 .tf-result{border-radius:13px}
.tf769 .tf-sheet-preview{background:#eff4ea}
.tf769 .tf-info{margin-top:39px}
.tf769 .tf-info-grid article{border-color:#dce5d8;background:#fffdf9}
.tf769 .tf-info-grid h3{font-family:Georgia,serif;color:#2b594a}
.tf769 .tf-footer{border-top-color:#dee6d9}
@media(max-width:900px){.tf769 .tf-layout{grid-template-columns:1fr}.tf769 .tf-side{margin-top:0}.tf769 .tf-hero-stamp{display:none}}
@media(max-width:540px){
 .tf769{padding:12px 12px 50px}
 .tf769 .tf-hero{margin:1px 0 10px}
 .tf769 .tf-hero h1{font-size:35px;line-height:1.05;margin:2px 0 4px}
 .tf769 .tf-hero p{font-size:12px;line-height:1.28}
 .tf769 .tf-kicker{font-size:9px;letter-spacing:.14em}
 .tf769 .tf-tabs{width:100%;gap:4px;padding:4px;margin:10px 0 12px}
 .tf769 .tf-tabs button{flex:1 1 0;min-width:0;padding:8px 3px;min-height:40px;font-size:11px;letter-spacing:-.02em}
 .tf769 .tf-card{padding:15px 13px;border-radius:17px}
 .tf769 .tf-cardtop{margin-bottom:9px;align-items:center}
 .tf769 .tf-cardtop h2{font-size:20px;line-height:1.1}
 .tf769 .tf-pill{font-size:12px;padding:7px 9px}
 .tf769 .tf-board-wrap{padding:14px 6px;min-height:162px;border-radius:14px}
 .tf769 .tf-board{--cell:min(15.2vw,56px);gap:3px}
 .tf769 .tf-cell{border-width:1.5px;border-radius:8px}
 .tf769 .tf-total{padding:7px 2px;min-height:44px}
 .tf769 .tf-total strong{font-size:33px}
 .tf769 .tf-total span{font-size:11px}
 .tf769 .tf-total .tf-math{font-size:10px}
 .tf769 .tf-stage-card>.tf-actions{gap:5px;margin:2px 0 13px}
 .tf769 .tf-stage-card>.tf-actions button{padding:7px 2px;font-size:11px;min-height:40px}
 .tf769 .tf-switch{gap:8px;padding:11px 0 5px}
 .tf769 .tf-switch label{font-size:10px}
 .tf769 .tf-switch select{font-size:12px;min-height:40px;padding:8px 6px}
 .tf769 .tf-tip{font-size:11px}
 .tf769 .tf-side{padding:18px}
 .tf769 .tf-panel{padding:18px 13px}
 .tf769 .tf-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tf769 .tf-quizboard{--cell:min(14vw,48px)}
 .tf769 .tf-info{margin-top:23px}
}
@media(max-width:340px){.tf769{padding-inline:9px}.tf769 .tf-board{--cell:46px}.tf769 .tf-stage-card>.tf-actions button{font-size:10px}.tf769 .tf-hero h1{font-size:31px}}
@media(prefers-reduced-motion:reduce){.tf769 *, .tf769 *:before,.tf769 *:after{transition:none!important;animation:none!important}}
