@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/nunito-latin-variable.woff2') format('woff2');
}

/* School palette: sky blue, sunshine, leaf green and coral. */
:root {
    --purple: #1488d4;
    --deep: #203958;
    --text: #61768b;
    --line: #deedf5;
    --soft: #edf7ff;
    --mint: #e3f7ee;
    --blue: #e8f6ff;
    --pink: #fff0f6;
    --peach: #fff2df;
}
body {
    position: relative;
    padding: 24px 28px 40px;
    background: #d8effa;
    isolation: isolate;
    color: var(--deep);
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: url('../images/school-background.webp') center / cover no-repeat;
    pointer-events: none;
}
.app-shell {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    padding: 0 25px;
    background: #fff;
    border: 1px solid #ffffffc9;
    border-radius: 25px;
    box-shadow: 0 12px 0 #6d9aab1c, 0 22px 65px #315c8024;
}
.school-ribbon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #ffdf72;
    color: #8d6525;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.2px;
    height: 29px;
    margin: 0 -25px;
    border-bottom: 1px solid #f5cc54;
}
.school-ribbon svg { width: 15px; height: 15px; }
.header { height: 84px; gap: 20px; background: #fff; }
.brand { color: #203958; font-size: 24px; gap: 5px; }
.brand img { width: 46px; height: 60px; }
.brand-dot { color: #f7ae2e; }
.nav { gap: 3px; }
.nav a { padding: 11px 10px; font-size: 12px; gap: 7px; color: #4e657d; border-radius: 25px; }
.nav a.active,.nav a:hover { color: #147fbc; background: #eaf7ff; }
.nav a.active { box-shadow: inset 0 0 0 1px #d2ebfb; }
.nav svg { width: 21px; height: 21px; }
.header-actions { gap: 9px; }
.header-actions .button { font-size: 12px; padding: 11px 15px; border-radius: 24px; }
.primary,.button.primary {
    background: #078fdf;
    border-color: #0089d7;
    box-shadow: 0 4px 0 #0075b8, 0 7px 12px #0087d51a;
    --icon-fill: #82cef3;
    --icon-stroke: #fff;
    --icon-accent: #ffdc69;
}
.primary:hover { background: #0083ce; filter: none; }
.outline,.button.outline { color: #1684be; border-color: #c9e7f7; background: #f8fcff; }
.soft,.button.soft { color: #177db3; background: #eaf6ff; }
.text-link { color: #1185c5; }
.create-top.button { background: #d92f77; border-color: #d92f77; box-shadow: 0 4px 0 #b72160; }
.header-search { color: #1e8bcc; }
.hero.school-hero {
    height: 312px;
    margin: 0 -13px;
    border-radius: 19px;
    border: 1px solid #d8effa;
    background: radial-gradient(ellipse at 20% 100%, #fff4c5, transparent 47%),
                radial-gradient(ellipse at 75% 12%, #fff6cf, transparent 42%),
                linear-gradient(110deg, #d7f2ff, #eefaff 55%, #d6f2ff);
    overflow: hidden;
}
.hero-character { position: absolute; width: 32%; bottom: -5px; left: 0; height: 100%; }
.hero-character img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 5px 5px #558aa916); }
.school-hero .hero-copy { margin-left: 29%; width: 52%; padding: 20px 10px 20px 22px; position: relative; z-index: 2; }
.school-hero .eyebrow { color: #3384ab; font-size: 9px; letter-spacing: 1.25px; font-weight: 900; margin-bottom: 10px; }
.school-hero h1 { font-size: 34px; color: #213f60; line-height: 1.12; letter-spacing: -1px; margin: 0 0 13px; }
.school-hero h1 em { color: #ec438b; white-space: normal; }
.school-hero p { color: #536f86; font-size: 14px; line-height: 1.55; margin: 0 0 18px; }
.hero-cta.button {
    min-height: 45px;
    padding: 10px 19px;
    color: #fff;
    background: #d92f77;
    border: 2px solid #fff;
    border-radius: 30px;
    box-shadow: 0 4px 0 #e1357d, 0 0 0 3px #ffe693;
    gap: 10px;
    font-size: 14px;
    --icon-fill: #ffacd0;
    --icon-stroke: #fff;
    --icon-accent: #ffdf73;
}
.hero-cta:hover { background: #c7286b; transform: translateY(-2px); }
.school-hero .hero-note { font-size: 10px; font-weight: 700; color: #6b8b9c; margin-top: 14px; }
.hero-steps { position: absolute; width: 175px; right: 20px; top: 38px; display: grid; gap: 15px; }
.hero-step { display: flex; gap: 9px; align-items: center; background: #ffffffdb; border: 2px solid #fff; border-radius: 13px; padding: 10px 10px 10px 12px; position: relative; box-shadow: 0 4px 0 #a6d8ef4d; transform: rotate(3deg); }
.hero-step:nth-child(2) { transform: rotate(-3deg); }
.hero-step>svg { width: 33px; height: 33px; }
.step-number { position: absolute; left: -9px; top: -8px; width: 23px; height: 23px; display: grid; place-items: center; border: 2px solid #fff; background: #f45c9b; color: #fff; border-radius: 50%; font-size: 11px; font-weight: 900; }
.hero-step:nth-child(2) .step-number { background: #209de2; }
.hero-step:nth-child(3) .step-number { background: #e7a135; }
.hero-step strong { display: block; font-size: 13px; color: #345b7e; font-weight: 900; }
.hero-step small { display: block; color: #7e96a7; font-size: 9px; margin-top: 2px; }
.workspace { display: block; margin-top: 16px; }
.catalog-area { min-width: 0; }
.catalog-discovery { padding: 0 1px; }
.search-box { border-color: #c6e4f5; border-radius: 30px; height: 52px; padding-left: 19px; box-shadow: 0 4px 12px #23729a07; }
.search-box:focus-within { border-color: #5bb5e9; box-shadow: 0 0 0 3px #e0f4ff; }
.search-box>svg { width: 22px; height: 22px; }
.search-box input { font-size: 13px; }
.search-box input::placeholder { color: #8498ac; }
.search-submit { background: #079bdd; border-radius: 50%; width: 40px; height: 40px; }
.categories { padding: 12px 0 11px; margin: 0; scrollbar-width: none; gap: 8px; }
.categories::-webkit-scrollbar { display: none; }
.category { color: #54718a; background: #fff; border-color: #e1edf4; box-shadow: none; border-radius: 22px; min-height: 37px; padding: 8px 12px; font-size: 10px; }
.category svg { width: 19px; height: 19px; }
.category:hover { border-color: #8cc7e7; background: #f2fbff; }
.category.selected { color: #fff; border-color: #097bb7; background: #097bb7; box-shadow: 0 3px 0 #06649a; --icon-fill: #9edbf6; --icon-stroke: #fff; --icon-accent: #ffdf7c; }
.section-heading.catalog-heading { padding: 18px 3px 19px; margin: 0; align-items: center; }
.section-eyebrow { display: block; font-size: 8px; color: #7d9bac; letter-spacing: 1.3px; font-weight: 900; margin-bottom: 6px; }
.catalog-heading h2 { color: #234762; font-size: 25px; letter-spacing: -.6px; margin-bottom: 5px; }
.catalog-heading p { color: #62798c; font-size: 12px; }
.count-badge { background: #e5f5ff; color: #1683bd; border-radius: 7px; display: inline-block; }
.resource-section { --section-color: #078acb; --section-dark: #116ca5; --section-light: #eaf7ff; --section-tint: #d4edfc; --section-border: #c8e6fa; border-radius: 20px; background: var(--section-light); border: 1px solid var(--section-border); padding: 0 13px 13px; margin-bottom: 23px; box-shadow: 0 5px 0 var(--section-border); overflow: hidden; }
.section-green { --section-color: #119d70; --section-dark: #087b57; --section-light: #eaf9f0; --section-tint: #cdefdf; --section-border: #c4e9d6; }
.section-orange { --section-color: #e58930; --section-dark: #af631a; --section-light: #fff5e9; --section-tint: #ffe5be; --section-border: #f9dfba; }
.resource-heading { position: relative; min-height: 80px; display: flex; gap: 13px; align-items: center; padding: 16px 5px; }
.resource-heading-icon { width: 43px; height: 43px; display: grid; place-items: center; background: #ffffffc7; border: 1px solid #fff; border-radius: 13px; transform: rotate(-7deg); box-shadow: 0 3px 0 var(--section-border); flex-shrink: 0; }
.resource-heading-icon svg { width: 29px; height: 29px; transform: rotate(7deg); }
.resource-heading h2 { color: #294d69; font-size: 21px; font-weight: 900; line-height: 1.2; letter-spacing: -.5px; margin: 0 0 4px; }
.resource-heading h2>span { color: var(--section-color); }
.resource-heading p { color: #567386; font-size: 11px; margin: 0; line-height: 1.5; }
.section-plane { margin-left: auto; width: 90px; height: 43px; color: var(--section-color); opacity: .6; }
.generator-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.generator-card { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: auto 1fr; border-radius: 17px; padding: 6px; border: 1px solid #ffffff; background: #fff; box-shadow: 0 4px 0 var(--section-border); min-width: 0; transition: transform .2s,box-shadow .2s; }
.generator-card:hover { transform: translateY(-4px); border-color: var(--section-color); box-shadow: 0 8px 0 var(--section-border),0 9px 18px #34739210; }
.card-image { height: auto; aspect-ratio: 1; border-radius: 12px; grid-area: 1/1; }
.card-icon { position: relative; top: auto; left: 7px; width: 37px; height: 37px; border: 3px solid #fff; border-radius: 11px; grid-area: 1/1; align-self: end; transform: translateY(15px) rotate(-4deg); box-shadow: 0 3px 7px #28749912; }
.card-icon svg { width: 23px; height: 23px; transform: rotate(4deg); }
.card-content { grid-area: 2/1; display: flex; flex-direction: column; padding: 22px 9px 7px; }
.card-category { color: var(--section-dark); font-size: 8px; font-weight: 900; letter-spacing: .3px; margin-bottom: 5px; }
.card-content h3 { font-size: 14px; line-height: 1.3; margin: 0 0 8px; color: #284862; letter-spacing: -.2px; }
.card-content p { font-size: 11.5px; line-height: 1.5; margin: 0 0 14px; color: #62798c; min-height: 52px; }
.card-button { margin-top: auto; height: 33px; color: var(--section-dark); background: var(--section-light); border: 1px solid var(--section-border); border-radius: 20px; font-size: 11px; font-weight: 900; gap: 9px; }
.card-button:hover { background: var(--section-color); color: #fff; }
.card-button svg { width: 15px; height: 15px; }
.tag { font-size: 7px; color: #8d6a2d; background: #fff9e9ec; border: 1px solid #fff; border-radius: 7px; padding: 4px 6px; top: 7px; left: 7px; }
.tag.white { background: #fff9f4e8; color: #a7693a; }
.resource-footer { background: var(--section-tint); border: 1px solid #fff9; border-radius: 12px; margin-top: 15px; min-height: 54px; display: flex; align-items: center; gap: 11px; padding: 9px 13px; }
.resource-footer>svg { width: 30px; height: 30px; transform: rotate(-9deg); flex-shrink: 0; }
.resource-footer>span { color: var(--section-dark); font-size: 11px; font-weight: 900; }
.resource-footer>a { margin-left: auto; background: #fff; padding: 9px 13px; color: var(--section-dark); font-size: 10px; font-weight: 900; border-radius: 22px; display: inline-flex; align-items: center; gap: 7px; text-align: center; }
.resource-footer>a svg { width: 15px; height: 15px; }
.is-filtered .resource-footer { display: none; }
.empty-state { background: #f2faff; border-color: #c9eafa; }
.empty-state>span svg { width: 42px; height: 42px; }
.sidebar { margin: 35px 0 20px; padding: 18px; background: #f3faff; border: 1px solid #dfeff7; border-radius: 20px; display: grid; grid-template-columns: 1fr 1.25fr .95fr; gap: 18px; align-items: stretch; }
.teacher-space { align-self: center; }
.welcome { padding: 7px 3px 15px; background: transparent; border: 0; border-radius: 0; gap: 10px; }
.plant { background: #fff7d5; width: 54px; height: 54px; }
.plant svg { width: 45px; height: 45px; }
.welcome h3 { color: #2b5b74; font-size: 19px; }
.welcome p { font-size: 11px; color: #7695a8; }
.stats { gap: 7px; margin-top: 0; }
.stat { padding: 9px 2px; border-radius: 13px; }
.stat.mint { background: #edf9f2; border-color: #deeee4; }
.stat.blue { background: #e9f5ff; border-color: #dbebf7; }
.stat.pink { background: #fff0f5; border-color: #f4e1e9; }
.stat>span { width: 31px; height: 31px; }
.stat>span svg { width: 21px; height: 21px; }
.stat strong { color: #2a536f; font-size: 20px; }
.stat small { color: #6d8b9e; font-size: 9px; }
.recent { margin: 0; padding: 15px; background: #fff; border: 1px solid #e0edf6; border-radius: 15px; }
.aside-heading h3 { font-size: 12px; color: #315c78; }
.aside-heading a { font-size: 10px; color: #1192cc; }
.recent-empty { padding: 16px 4px 3px; }
.empty-icon { padding: 11px; border-radius: 15px; background: #fff7d9; }
.empty-icon svg { width: 30px; height: 30px; }
.recent-empty h4 { font-size: 12px; margin: 12px 0 7px; color: #3a617a; }
.recent-empty p { font-size: 10px; line-height: 1.6; margin-bottom: 13px; color: #839cad; }
.recent-empty .button { min-height: 32px; padding: 8px 12px; font-size: 10px; border-radius: 18px; }
.inspiration { margin: 0; border-radius: 15px; border: 1px solid #fae7bc; background: #fff6dc; padding: 18px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.idea-bulb { font-size: 0; display: block; transform: rotate(-9deg); filter: drop-shadow(0 3px 2px #b18d3820); }
.idea-bulb svg { width: 48px; height: 54px; }
.inspiration h3 { color: #7b6241; font-size: 17px; transform: none; margin: 11px 0 9px; line-height: 1.2; }
.inspiration p { color: #a38b68; font-size: 10px; line-height: 1.6; }
.inspiration>a { font-size: 9px; font-weight: 900; color: #95723e; margin-top: 13px; }
.footer { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; margin: 30px -25px 0; padding: 27px 30px 30px; background: #fbfdff; border-top: 1px solid #dfedf5; color: #7b93a5; align-items: center; }
.footer-brand strong { color: #2c5874; font-size: 15px; font-weight: 900; }
.footer-brand strong>span { font-size: 7px; color: #fff; background: #0b96d5; border-radius: 5px; padding: 3px 4px; vertical-align: middle; margin-left: 5px; letter-spacing: .3px; }
.footer-brand p { font-size: 10px; margin: 8px 0 0; }
.footer nav { display: flex; flex-direction: column; gap: 7px; font-size: 10px; color: #5b819b; }
.footer>span { text-align: right; font-size: 10px; line-height: 1.8; }
.inner-page { padding-inline: 6px; }
.tool-heading h1,.library-heading h1 { color: #2b506b; }
.tool-symbol { border: 1px solid #fff; box-shadow: 0 3px 0 #dcecf4; }
.mode-badge { background: #ecf8f1; color: #5e8b73; }
.settings-panel,.result-panel,.library-card { border-color: #deedf5; }
.settings-panel input,.settings-panel select,.settings-panel textarea,.auth-form input { background: #fcfeff; border-color: #dbeaf3; outline-color: #92c9eb; }
.info-note { background: #eef9ff; color: #60849b; border-color: #d7edf8; }
.plan-icon { display: inline-flex; }
.plan-icon svg { width: 48px; height: 48px; }
.library-image { height: auto; aspect-ratio: 1; }
.brand { width: 230px; }
.brand .brand-logo { display: block; width: 100%; height: auto; object-fit: contain; }
.footer-logo { display: inline-block; width: 205px; max-width: 100%; }
.footer-logo img { display: block; width: 100%; height: auto; }

@media (min-width:1600px) {
    body { padding-top: 30px; }
    .hero.school-hero { height: 325px; }
}
@media (max-width:1200px) {
    body { padding: 18px; }
    .app-shell { padding-inline: 21px; }
    .school-ribbon { margin-inline: -21px; }
    .brand { font-size: 21px; }
    .brand { width: 210px; }
    .brand img { width: 40px; }
    .header { gap: 13px; }
    .header-actions .button { font-size: 11px; padding: 10px 12px; }
    .nav a { font-size: 11px; padding: 10px 8px; }
    .nav svg { width: 19px; height: 19px; }
    .header-search { display: none; }
    .school-hero h1 { font-size: 31px; }
    .school-hero .hero-copy { width: 51%; padding-left: 15px; }
    .hero-steps { right: 17px; width: 155px; }
    .hero-step { padding: 10px 7px 10px 10px; }
    .hero-step>svg { width: 28px; height: 28px; }
    .hero-step strong { font-size: 12px; }
    .card-content { padding-inline: 7px; }
    .card-content h3 { font-size: 13px; }
    .card-content p { font-size: 11px; }
    .sidebar { gap: 13px; padding: 15px; }
    .footer { margin-inline: -21px; }
}
@media (max-width:1000px) {
    .nav a svg { display: none; }
    .hero.school-hero { height: 300px; }
    .school-hero .hero-copy { margin-left: 29%; width: 51%; }
    .school-hero h1 { font-size: 27px; }
    .school-hero p { font-size: 12px; }
    .school-hero .eyebrow { font-size: 7px; letter-spacing: .8px; }
    .hero-cta.button { font-size: 12px; padding-inline: 14px; }
    .hero-steps { width: 135px; right: 15px; top: 35px; }
    .hero-step { gap: 6px; padding: 10px 7px; }
    .hero-step>svg { width: 25px; height: 25px; }
    .hero-step strong { font-size: 11px; }
    .hero-step small { font-size: 8px; }
    .generator-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
    .resource-section { padding-inline: 10px; }
    .card-content h3 { font-size: 12px; }
    .card-content p { font-size: 10px; min-height: 61px; }
    .card-category { font-size: 7px; }
    .card-button { font-size: 10px; }
    .resource-heading h2 { font-size: 19px; }
    .resource-footer>span { font-size: 10px; }
    .resource-footer>a { font-size: 9px; }
    .sidebar { grid-template-columns: 1fr 1.2fr; }
    .inspiration { display: none; }
}
@media (max-width:850px) {
    body { padding: 12px; }
    .app-shell { padding-inline: 18px; border-radius: 21px; }
    .school-ribbon { margin-inline: -18px; font-size: 8px; }
    .header { height: 77px; }
    .brand { font-size: 23px; }
    .brand img { width: 43px; }
    .header-actions .button { font-size: 12px; }
    .nav { position: absolute; top: 73px; background: #fff; border: 1px solid #d6edf9; border-radius: 16px; box-shadow: 0 12px 25px #276b9122; }
    .nav a { font-size: 12px; padding: 11px; }
    .nav a svg { display: block; width: 21px; height: 21px; }
    .hero.school-hero { height: 300px; margin-inline: -8px; }
    .school-hero .hero-copy { margin-left: 34%; width: 66%; padding-right: 15px; padding-left: 5px; }
    .hero-character { width: 36%; }
    .school-hero h1 { font-size: 30px; }
    .hero-steps { display: none; }
    .school-hero .eyebrow { font-size: 8px; }
    .school-hero p { font-size: 13px; }
    .school-hero .hero-note { margin-top: 15px; font-size: 9px; }
    .generator-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
    .resource-section { padding: 0 12px 12px; }
    .card-content { padding: 23px 12px 10px; }
    .card-content h3 { font-size: 15px; }
    .card-content p { font-size: 12px; min-height: 42px; }
    .card-category { font-size: 8px; }
    .card-button { font-size: 12px; height: 35px; }
    .tag { font-size: 8px; }
    .resource-heading { min-height: 82px; }
    .resource-heading h2 { font-size: 21px; }
    .resource-heading p { font-size: 11px; }
    .resource-footer { margin-top: 17px; }
    .resource-footer>span { max-width: 220px; }
    .section-plane { width: 75px; }
    .sidebar { margin-top: 28px; }
    .welcome { grid-column: auto; grid-row: auto; }
    .stats { grid-column: auto; grid-row: auto; }
    .recent { margin-top: 0; }
    .footer { margin-inline: -18px; gap: 15px; padding-inline: 22px; }
}
@media (max-width:650px) {
    body { padding: 8px 6px 22px; }
    .app-shell { padding: 0 11px; border-radius: 18px; border-color: #fff; min-height: calc(100vh - 30px); }
    .school-ribbon { height: 25px; margin-inline: -11px; font-size: 6.5px; letter-spacing: .8px; }
    .school-ribbon svg { width: 13px; height: 13px; }
    .header { height: 70px; gap: 7px; }
    .brand { font-size: 20px; letter-spacing: -.7px; }
    .brand { width: 175px; }
    .brand img { width: 34px; height: 49px; }
    .header-actions { gap: 5px; }
    .header-actions .account { font-size: 10px; min-height: 34px; padding: 8px 11px; }
    .menu-button { padding: 6px; color: #208cc6; }
    .nav { top: 66px; left: 0; right: 0; }
    .nav a { font-size: 11px; gap: 6px; }
    .hero.school-hero { height: 365px; margin-inline: -5px; border-radius: 15px; align-items: flex-start; }
    .school-hero .hero-copy { margin: 0; padding: 23px 17px; width: 100%; }
    .school-hero .eyebrow { font-size: 6.5px; letter-spacing: .8px; margin-bottom: 10px; }
    .school-hero h1 { font-size: 28px; line-height: 1.12; letter-spacing: -.8px; max-width: 330px; margin-bottom: 12px; }
    .school-hero p { font-size: 11px; line-height: 1.6; max-width: 220px; margin-bottom: 22px; }
    .school-hero p br { display: none; }
    .hero-cta.button { font-size: 11px; padding: 8px 11px; min-height: 42px; gap: 6px; }
    .hero-cta svg { width: 16px; height: 16px; }
    .school-hero .hero-note { max-width: 140px; font-size: 8px; line-height: 1.5; margin-top: 14px; }
    .hero-character { width: 192px; height: 192px; left: auto; right: -23px; bottom: 4px; z-index: 1; }
    .workspace { margin-top: 12px; }
    .search-box { height: 48px; padding: 5px 6px 5px 13px; gap: 9px; }
    .search-box>svg { width: 18px; height: 18px; }
    .search-box input { font-size: 10px; }
    .search-submit { width: 35px; height: 35px; }
    .categories { margin: 0 -11px; padding: 12px 11px; gap: 7px; }
    .category { min-height: 35px; font-size: 9px; padding: 7px 10px; }
    .category svg { width: 18px; height: 18px; }
    .section-heading.catalog-heading { padding: 13px 2px 18px; gap: 8px; align-items: flex-start; }
    .section-eyebrow { font-size: 6px; letter-spacing: 1px; }
    .catalog-heading h2 { font-size: 20px; letter-spacing: -.6px; }
    .catalog-heading p { font-size: 10px; max-width: 240px; line-height: 1.5; }
    .catalog-heading>.text-link { font-size: 9px; margin-top: 15px; }
    .catalog-heading>.text-link svg { width: 13px; }
    .resource-section { border-radius: 16px; padding: 0 8px 9px; margin-bottom: 21px; }
    .resource-heading { min-height: 87px; gap: 8px; padding: 14px 1px; }
    .resource-heading-icon { width: 32px; height: 36px; border-radius: 10px; }
    .resource-heading-icon svg { width: 24px; height: 24px; }
    .resource-heading>div { flex: 1; min-width: 0; }
    .resource-heading h2 { font-size: 17px; letter-spacing: -.4px; line-height: 1.15; margin-bottom: 5px; max-width: 270px; }
    .resource-heading p { font-size: 9px; line-height: 1.5; max-width: 270px; }
    .section-plane { display: none; }
    .generator-grid { gap: 10px; }
    .generator-card { padding: 4px; border-radius: 13px; }
    .card-image { border-radius: 10px; }
    .card-icon { width: 31px; height: 31px; left: 4px; border-radius: 10px; transform: translateY(13px) rotate(-4deg); }
    .card-icon svg { width: 19px; height: 19px; }
    .card-content { padding: 20px 6px 7px; }
    .card-category { font-size: 6px; letter-spacing: 0; margin-bottom: 5px; }
    .card-content h3 { font-size: 12px; min-height: 32px; line-height: 1.3; margin-bottom: 7px; }
    .card-content p { font-size: 10px; min-height: 60px; line-height: 1.5; margin-bottom: 11px; }
    .card-button { font-size: 10px; height: 32px; gap: 5px; }
    .card-button svg { width: 13px; height: 13px; }
    .tag { font-size: 5.5px; padding: 3px 4px; top: 5px; left: 5px; border-radius: 5px; }
    .resource-footer { padding: 10px; gap: 8px; border-radius: 10px; margin-top: 12px; flex-wrap: wrap; }
    .resource-footer>svg { width: 25px; height: 25px; }
    .resource-footer>span { font-size: 10px; max-width: calc(100% - 40px); flex: 1; line-height: 1.4; }
    .resource-footer>a { font-size: 9px; min-height: 33px; padding: 8px 12px; margin-left: 33px; }
    .sidebar { padding: 13px; display: grid; grid-template-columns: 1fr; gap: 17px; border-radius: 17px; margin: 27px 0 17px; }
    .welcome { padding-bottom: 14px; }
    .welcome h3 { font-size: 20px; }
    .welcome p { font-size: 12px; }
    .stats { gap: 10px; }
    .stat { padding: 12px 3px; }
    .stat small { font-size: 10px; }
    .recent { padding: 16px; }
    .aside-heading h3 { font-size: 13px; }
    .recent-empty { padding: 22px 4px 7px; }
    .recent-empty h4 { font-size: 14px; }
    .recent-empty p { font-size: 12px; }
    .recent-empty .button { font-size: 11px; min-height: 36px; }
    .inspiration { display: none; }
    .footer { margin: 25px -11px 0; padding: 23px 19px; grid-template-columns: 1.2fr 1fr; gap: 18px; }
    .footer-brand strong { font-size: 13px; line-height: 1.3; display: block; }
    .footer-logo { width: 145px; }
    .footer-brand strong>span { display: inline-block; margin: 5px 0 0; font-size: 6px; }
    .footer-brand p { font-size: 9px; line-height: 1.6; }
    .footer nav { font-size: 9px; }
    .footer>span { grid-column: 1/-1; text-align: left; font-size: 8px; padding-top: 12px; border-top: 1px solid #e8f1f6; }
    .footer>span br { display: none; }
    .footer>span br::after { content: ' '; }
}
@media (max-width:365px) {
    .brand { font-size: 18px; }
    .brand { width: 158px; }
    .brand img { width: 30px; }
    .school-hero h1 { font-size: 25px; }
    .school-hero .eyebrow { font-size: 5.5px; }
    .school-hero p { max-width: 200px; font-size: 10px; }
    .hero-character { width: 162px; height: 162px; bottom: 7px; right: -22px; }
    .hero-cta.button { font-size: 10px; }
    .hero-cta svg { width: 14px; height: 14px; }
    .catalog-heading h2 { font-size: 18px; }
    .resource-heading h2 { font-size: 16px; }
    .resource-heading p { font-size: 8px; }
    .generator-grid { gap: 8px; }
    .card-content { padding-inline: 4px; }
    .card-content h3 { font-size: 11px; }
    .card-content p { font-size: 9.5px; min-height: 73px; }
    .card-category { font-size: 5.5px; }
    .card-button { font-size: 9px; }
    .tag { font-size: 5px; }
}
@media (prefers-reduced-motion:reduce) {
    *,*::before,*::after { transition: none!important; animation: none!important; }
}
@media print {
    body { background: #fff; padding: 0; }
    body::before { display: none; }
    .app-shell { box-shadow: none; border: 0; padding: 0; }
    .school-ribbon { display: none; }
}
