.tools55-filter{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:center;margin:1.2rem 0 1.6rem}.tools55-filter [aria-pressed=true]{background:var(--text-main);color:var(--on-primary)}
#tools-grid.tools55-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1rem;align-items:stretch}.tool55{grid-column:span 2;display:flex;flex-direction:column;gap:.7rem;padding:1.4rem;border:1px solid var(--line-strong);border-radius:25px;background:var(--glass);min-width:0;text-align:start}.tool55.featured55{grid-column:span 3;background:linear-gradient(135deg,var(--glass),var(--field));border-top:3px solid var(--text-main)}.tool55-top{display:flex;justify-content:space-between;align-items:center;font-size:.8rem;color:var(--text-muted)}.tool55-num{font-size:1.5rem;font-weight:900;direction:ltr;opacity:.65}.tool55 h3{margin:0;text-align:start;font-size:1.65rem}.tool55>p{margin:0;line-height:1.9}.tool55-use{padding:.8rem;border-radius:15px;background:var(--field)}.tool55-use p{margin:.25rem 0 0}.tool55 details{font-size:.9rem;margin-bottom:.5rem}.tool55 summary{cursor:pointer;font-weight:bold}.tool55>a{margin-top:auto;text-align:center;text-decoration:none}.tool55 .tool-tag{align-self:flex-start}
.welcome55-backdrop{position:fixed;inset:0;background:#090b16b8;backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:center;padding:1rem;z-index:100050}.journey55-card{box-sizing:border-box;background:var(--bg,#20222b);color:var(--text-main);border:1px solid var(--line-strong);border-radius:28px;padding:clamp(1rem,3vw,2rem);max-width:580px;width:100%;box-shadow:0 25px 90px #0006;max-height:85dvh;overflow:auto;text-align:center}.journey55-card h2{font-size:clamp(1.3rem,3vw,1.8rem);margin:.7rem 0}.journey55-card p{line-height:1.9}.journey55-kicker{font-size:.78rem;color:var(--text-muted)}.journey55-actions{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center}.journey55-actions .btn{min-height:44px}.journey55-progress{font-size:.8rem;direction:ltr;margin:.6rem;color:var(--text-muted)}.tour55{position:fixed;inset-inline-end:1rem;bottom:1rem;z-index:100050;width:min(440px,calc(100vw - 2rem))}.tour55 .journey55-card{padding:1rem 1.3rem;border-top:3px solid var(--text-main)}body.onboarding-tour55{padding-bottom:350px}.profile-welcome55{border:1px solid var(--line-strong);border-radius:20px;background:var(--glass);padding:1.2rem;text-align:center;margin:0 0 1rem}.profile-welcome55 h3{margin:0}.v52-grade-row input[readonly]{background:var(--field);font-weight:700}.v52-grade-row input[data-field=score]{border:2px solid var(--line-strong)}
@media(max-width:800px){#tools-grid.tools55-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tool55,.tool55.featured55{grid-column:span 1}}@media(max-width:520px){#tools-grid.tools55-grid{grid-template-columns:minmax(0,1fr)}.tool55,.tool55.featured55{grid-column:1;padding:1.1rem}.tools55-filter{display:grid;grid-template-columns:1fr 1fr}.tools55-filter .btn{padding:.65rem .4rem;font-size:.85rem}.tour55{inset-inline: .6rem;bottom:.6rem;width:auto}.tour55 .journey55-card{max-height:45dvh}.journey55-actions .btn{font-size:.86rem;padding:.6rem .9rem}}

#tools55-filter [aria-pressed=true]{background:var(--accent)!important;color:var(--on-accent,var(--on-primary))!important}#tools-grid.tools55-grid{grid-auto-rows:1fr}.v52-grade-row.linked55{grid-template-columns:minmax(120px,1.4fr) minmax(80px,.8fr) 65px minmax(100px,1fr);align-items:center;padding:.8rem;border:1px solid var(--line);border-radius:16px;margin:.7rem 0}.grade55-subject{line-height:1.7}.grade55-max{color:var(--text-muted);font-size:.85rem}.v52-grade-row.linked55 input[data-field=score]{width:100%;min-height:48px;text-align:center;font-size:1.15rem}@media(max-width:600px){.v52-grade-row.linked55{grid-template-columns:minmax(0,1fr) 75px 52px;gap:.5rem}.v52-grade-row.linked55 label{grid-column:1/-1;justify-content:center}.grade55-subject{font-size:.9rem}}
