/* FreeStudyAdda desktop refinement, Oct 2026.
   Scoped additions: home, dashboard, shared note polish. */
:root{--fsa-ink:#183254;--fsa-navy:#102b54;--fsa-accent:#225bc6;--fsa-border:#dee7f3;--fsa-soft:#f5f8fe}
body.fsa-home{background:#f8faff;color:var(--fsa-ink);overflow-x:clip}
.fsa-home .container{width:100%;max-width:1420px;padding-inline:clamp(20px,3.8vw,64px)}
.fsa-home .site-header{background:rgba(255,255,255,.98);box-shadow:0 5px 25px #1b3d710b}
.fsa-home .header-inner{min-height:86px;gap:clamp(14px,2vw,32px)}
.fsa-home .brand img{width:135px;height:74px}
.fsa-home .nav{margin-left:auto}
.fsa-home .nav a{white-space:nowrap;font-size:13px;font-weight:730;padding:11px 14px}
.fsa-home .nav a:hover{background:#ecf3ff}
.fsa-home .hero{padding:56px 0 76px;background:
 radial-gradient(circle at 95% 11%,rgba(240,170,72,.13),transparent 28%),
 radial-gradient(circle at 10% 4%,rgba(53,118,229,.09),transparent 34%),
 linear-gradient(140deg,#f9fbff,#f1f6ff 70%,#f8fbff)}
.fsa-home .hero:after{border-color:#d6e4fa70;right:-260px;top:150px}
.fsa-home .topline{margin-bottom:17px}
.fsa-home .eyebrow{color:#8a5e1a;letter-spacing:.12em}
.fsa-home .hero-lead{grid-template-columns:minmax(0,1fr) minmax(280px,380px);gap:clamp(30px,6vw,110px);min-height:250px}
.fsa-home .hero-lead h1{max-width:830px;font-size:clamp(45px,4.6vw,69px);line-height:1.085;letter-spacing:-.052em;margin:8px 0 17px}
.fsa-home .hero-lead p{max-width:650px;font-size:16px;line-height:1.82;color:#5d708d}
.fsa-home .perks{margin-top:19px;gap:9px 22px}
.fsa-home .perks span{font-size:12px;color:#496487}
.fsa-home .hero-links{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:23px}
.fsa-home .hero-links a{border-radius:11px;font-size:13px;font-weight:800;padding:11px 16px;display:inline-flex;gap:9px;align-items:center}
.fsa-home .hero-links .hero-link-primary{background:#214fa5;color:#fff;box-shadow:0 8px 23px #214fa528}
.fsa-home .hero-links .hero-link-primary:hover{background:#123d8c}
.fsa-home .hero-links .hero-link-secondary{border:1px solid #c8d9ed;background:#fff;color:#284e84}
.fsa-home .illustration{height:235px}
.fsa-home .illustration:before{width:320px;height:200px}
.fsa-home .graphic{width:214px;height:191px}
.fsa-home .graphic .book{font-size:64px;margin:7px 0}
.fsa-home .float-left{left:-2px}.fsa-home .float-right{right:-3px;bottom:9px}
.fsa-home .journey{margin:31px 0 16px;gap:14px;font-size:12px}
.fsa-home .journey i{width:58px}
.fsa-home .path-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(315px,370px);gap:23px;align-items:start}
.fsa-home .path-panel{min-width:0;background:rgba(255,255,255,.96);border:1px solid #dbe6f5;border-radius:24px;box-shadow:0 17px 52px #16396a12;padding:26px 28px 30px}
.fsa-home .path-heading{display:flex;align-items:baseline;justify-content:space-between;gap:15px}
.fsa-home .path-heading .step-title{margin:0 0 15px;letter-spacing:.065em}
.fsa-home .path-helper{font-size:11px;color:#7790ab;font-weight:650}
.fsa-home .level-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.fsa-home .level{min-height:125px;padding:17px 18px;display:grid;grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto auto;gap:5px 11px;align-content:center;border-radius:16px;box-shadow:none}
.fsa-home .level .iconbox{grid-row:1/3;align-self:start;margin:0;width:49px;height:49px;font-size:24px}
.fsa-home .level strong{font-size:15px;line-height:1.35;align-self:end}
.fsa-home .level small{margin:0;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.fsa-home .level .tick{top:10px;right:10px;width:20px;height:20px;font-size:12px}
.fsa-home .level[aria-pressed=true]{padding:16px 17px}
.fsa-home .select-title{padding-top:21px;margin:23px 0 15px;border-top:1px solid #e5ecf7}
.fsa-home .fields{gap:13px}
.fsa-home .field{min-width:0;display:block}
.fsa-home .field[hidden]{display:none}
.fsa-home .field select{min-width:0;min-height:51px;font-size:13px;background:#fbfdff;box-shadow:0 2px 5px #142e5006}
.fsa-home .path-summary{min-width:0}
.fsa-home .selection{margin:0;padding:28px;border-radius:24px;position:sticky;top:108px;box-shadow:0 17px 52px #16396a12}
.fsa-home .summary-kicker{display:inline-flex;align-items:center;gap:7px;color:#2b67b9;background:#eff5ff;border:1px solid #e2eefa;border-radius:8px;padding:6px 10px;margin-bottom:20px;font-size:11px;font-weight:800;letter-spacing:.04em}
.fsa-home .selection-head{align-items:flex-start}
.fsa-home .selected-path{font-size:18px;line-height:1.38;overflow-wrap:anywhere}
.fsa-home .selection-label{line-height:1.5}
.fsa-home .selection-description{font-size:13px;line-height:1.8;margin:20px 0}
.fsa-home .resources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.fsa-home .resources span{text-align:center;font-size:11px;padding:9px 6px;background:#f8fbff}
.fsa-home .selection-footer{flex-direction:column;align-items:stretch;gap:13px}
.fsa-home .selection-footer .availability{line-height:1.6}
.fsa-home .primary{padding:13px 12px;font-size:13px;width:100%;box-shadow:0 7px 19px #2256b524}
.fsa-home .notes-section{padding:75px 0 84px;background:#fff;border-top:1px solid #e6edf7}
.fsa-home .section-head{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:26px}
.fsa-home .section-kicker{font-weight:850;color:#b67a26;font-size:11px;letter-spacing:.105em}
.fsa-home .section-head h2{color:#102c59;font-size:clamp(28px,2.7vw,38px);line-height:1.22;letter-spacing:-.035em;margin:9px 0 10px}
.fsa-home .section-head p{max-width:700px;font-size:14px;color:#667a93;line-height:1.7;margin:0}
.fsa-home .section-more{flex-shrink:0;display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:800;color:#2256b7;border:1px solid #cbdaf0;background:#f9fbff;padding:12px 17px;border-radius:11px}
.fsa-home .section-more:hover{background:#ecf3ff}
.fsa-home .note-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.fsa-home .note-tile{min-width:0;display:flex;flex-direction:column;align-items:flex-start;padding:24px 22px;min-height:235px;border:1px solid #dfe8f6;background:linear-gradient(145deg,#fff,#f9fbff);box-shadow:0 6px 20px #1a376b06;border-radius:19px;transition:transform .18s,box-shadow .18s,border-color .18s}
.fsa-home .note-tile:hover{transform:translateY(-4px);box-shadow:0 18px 39px #1c48851a;border-color:#afc8ee}
.fsa-home .note-icon{display:grid;place-items:center;width:49px;height:49px;background:#eaf1ff;color:#1b4d9c;border-radius:14px;font-size:24px;margin-bottom:17px}
.fsa-home .note-title{font-weight:800;font-size:16px;line-height:1.42;color:#15345b}
.fsa-home .note-desc{color:#708099;font-size:12px;line-height:1.7;margin-top:8px;flex:1}
.fsa-home .note-cta{color:#2256b5;font-size:12px;font-weight:850;margin-top:17px}
.fsa-home .more-studies{margin-top:24px;display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:20px 23px;border:1px solid #e5ebf5;border-radius:15px;background:#f7f9fe}
.fsa-home .more-studies strong{font-size:13px;color:#405b80;margin-right:10px}
.fsa-home .more-studies a{background:#fff;border:1px solid #dce5f3;color:#1b4a8e;border-radius:9px;padding:8px 12px;font-size:12px;font-weight:750}
.fsa-home .more-studies a:hover{border-color:#a9c6f0}
.fsa-home .site-footer{padding:29px 0}
@media(min-width:1680px){.fsa-home .container{max-width:1460px}.fsa-home .path-workspace{grid-template-columns:minmax(0,1fr) 390px}.fsa-home .path-panel{padding:31px 34px}.fsa-home .level{min-height:133px}}
@media(max-width:1240px){.fsa-home .path-workspace{grid-template-columns:minmax(0,1fr) 315px;gap:18px}.fsa-home .path-panel{padding:21px}.fsa-home .level{padding:14px 12px;grid-template-columns:42px minmax(0,1fr);gap:5px 8px;min-height:125px}.fsa-home .level[aria-pressed=true]{padding:13px 11px}.fsa-home .level .iconbox{width:40px;height:40px;font-size:21px}.fsa-home .level strong{font-size:14px}.fsa-home .hero-lead{grid-template-columns:minmax(0,1fr) 310px;gap:30px}.fsa-home .note-grid{gap:12px}.fsa-home .note-tile{padding:19px;min-height:230px}}
@media(max-width:1050px){.fsa-home .header-inner{gap:8px}.fsa-home .nav a{padding:8px;font-size:12px}.fsa-home .path-workspace{grid-template-columns:1fr}.fsa-home .path-summary{width:100%}.fsa-home .selection{position:static;padding:22px}.fsa-home .resources{display:flex}.fsa-home .resources span{flex:1}.fsa-home .selection-footer{flex-direction:row;align-items:center}.fsa-home .primary{width:auto;min-width:260px}.fsa-home .level-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.fsa-home .level{display:flex;flex-direction:column;gap:6px;min-height:148px}.fsa-home .level .iconbox{margin-bottom:3px}.fsa-home .level small{font-size:11px}.fsa-home .note-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fsa-home .note-tile{min-height:194px}}
@media(max-width:760px){.fsa-home .container{padding-inline:18px}.fsa-home .header-inner{min-height:72px;position:relative}.fsa-home .brand img{width:106px;height:60px}.fsa-home .nav{margin-left:0;top:100%}.fsa-home .hero{padding:38px 0 53px}.fsa-home .hero-lead{grid-template-columns:1fr;gap:6px}.fsa-home .hero-lead h1{font-size:clamp(34px,9vw,48px)}.fsa-home .hero-lead p{font-size:14px;line-height:1.8}.fsa-home .illustration{height:158px;transform:scale(.76)}.fsa-home .hero-links{margin-top:18px}.fsa-home .journey{gap:5px;font-size:10px;flex-wrap:wrap;margin-top:24px}.fsa-home .journey i{width:14px}.fsa-home .path-panel{padding:19px 16px;border-radius:19px}.fsa-home .path-helper{display:none}.fsa-home .level-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.fsa-home .level{min-height:145px;padding:14px 13px}.fsa-home .level[aria-pressed=true]{padding:13px 12px}.fsa-home .fields{grid-template-columns:1fr 1fr}.fsa-home .selection-footer{flex-direction:column;align-items:stretch}.fsa-home .primary{min-width:0;width:100%}.fsa-home .selection{padding:19px}.fsa-home .notes-section{padding:52px 0 60px}.fsa-home .section-head{align-items:start;flex-direction:column;gap:14px}.fsa-home .note-tile{min-height:215px}}
@media(max-width:520px){.fsa-home .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;row-gap:3px}.fsa-home .header-inner>.fsa-languages-compact{grid-column:1/-1;justify-self:end}.fsa-home .menu-button{justify-self:end}.fsa-home .hero-lead h1{font-size:clamp(33px,10vw,44px)}.fsa-home .fields{grid-template-columns:1fr}.fsa-home .note-grid{grid-template-columns:1fr}.fsa-home .note-tile{min-height:0}.fsa-home .resources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.fsa-home .journey span{white-space:normal}.fsa-home .journey i{width:9px}.fsa-home .hero-links a{justify-content:center}.fsa-home .level{min-height:140px}.fsa-home .level strong{font-size:13px}.fsa-home .more-studies{padding:16px}.fsa-home .more-studies strong{width:100%}}
@media(prefers-reduced-motion:reduce){.fsa-home .note-tile,.fsa-home .level{transition:none}}
/* Study dashboard keeps a comfortably constrained, readable desktop canvas. */
body.fsa-dashboard{overflow-x:clip}
.fsa-dashboard .wrap{max-width:1330px;padding-inline:clamp(18px,3vw,54px)}
.fsa-dashboard .hero .wrap,.fsa-dashboard .top.wrap{max-width:1330px}
.fsa-dashboard .panel{box-shadow:0 12px 31px #15396a0b;border-color:#dfe8f5}
.fsa-dashboard .hero{padding:48px 20px}
.fsa-dashboard .level-grid,.fsa-dashboard .resource-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:15px}
.fsa-dashboard .level{min-height:135px;border-radius:16px;transition:transform .18s,box-shadow .18s}
.fsa-dashboard .level:hover{transform:translateY(-2px);box-shadow:0 13px 29px #1a44731a}
.fsa-dashboard .field{min-width:min(100%,200px)}
@media(max-width:760px){.fsa-dashboard .hero{padding:40px 18px}.fsa-dashboard .wrap{padding-inline:18px}.fsa-dashboard .panel{padding:20px}}
/* GK notes scale on desktop but preserve their horizontally scrollable tables on narrow screens. */
@media(min-width:1300px){body.fsa-gk .wrap{max-width:1260px}body.fsa-gk .hero{padding:54px 0 48px}}
body.fsa-gk .panel{box-shadow:0 10px 28px #15315c0a}
body.fsa-gk .data{font-variant-numeric:tabular-nums}
@media(max-width:760px){body.fsa-gk .panel{overflow-wrap:anywhere}}
