﻿/* CircleTime classroom styles: placeholder design, no database. */
:root {
    --navy: #173b63;
    --blue: #1c4776;
    --muted: #516e89;
    --bg: #f8f9f7;
    --stroke: #e0e8e9;
    --green: #2c9a74;
    --orange: #ef6741;
    --shadow: 0 12px 30px rgba(31,61,79,.055);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--bg);
    color: #214566;
    font: 15px/1.65 Arial,Helvetica,sans-serif;
}
a {
    color: #126fce;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
button {
    font-family: inherit;
    cursor: pointer;
}
.wrap {
    max-width: 1230px;
    margin: auto;
    padding: 0 0;
}
.preview {
    height: 36px;
    background: #1b3e61;
    text-align: center;
    color: #dce8f7;
    font-size: 12px;
    line-height: 36px;
}
.site-header {
    background: #fff;
    border-bottom: 1px solid #e8edec;
}
.mast {
    height: 88px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand {
    display: flex;
    align-items: center;
    gap: 13px;
}
.brand .apple {
    font-size: 42px;
    line-height: 1;
}
.brand-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.8px;
    color: #183e70;
    line-height: 1.1;
}
.brand-sub {
    font-weight: 700;
    color: #ee6b44;
    margin-top: 4px;
    font-size: 14px;
}
.admin {
    background: #25a577;
    color: #fff;
    border: 0;
    border-bottom: 3px solid #148e65;
    border-radius: 12px;
    padding: 11px 18px;
    font-size: 12px;
    font-weight: bold;
}
.nav {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.nav a {
    font-size: 12px;
    font-weight: 700;
    color: #294d6b;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 8px;
    border-radius: 8px;
    white-space: nowrap;
}
.nav a:hover {
    background: #f2f7fa;
    text-decoration: none;
}
.nav .symbol {
    font-size: 17px;
}
.nav a:nth-child(2) .symbol {
    color: #1983e9;
}
.nav a:nth-child(3) .symbol {
    color: #e8a114;
}
.nav a:nth-child(4) .symbol {
    color: #ef398c;
}
.nav a:nth-child(5) .symbol {
    color: #9861d9;
}
.nav a:nth-child(6) .symbol {
    color: #eb783a;
}
.nav a:nth-child(7) .symbol {
    color: #3aafb1;
}
.main {
    padding-top: 0;
}
.hero {
    height: 366px;
    border-radius: 27px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(108deg,#fff3c8 0%,#fff9df 42%,#edf4ed 79%,#e2f5f2 100%);
    display: flex;
    align-items: center;
}
.hero-copy {
    position: relative;
    z-index: 2;
    padding: 0 50px;
    width: 64%;
}
.eyebrow {
    color: #cc7243;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 800;
}
.hero h1 {
    font-size: 60px;
    line-height: 1.04;
    letter-spacing: -2.5px;
    margin: 9px 0 17px;
    color: #21477f;
    font-weight: 800;
}
.hero h1 .hello {
    color: #ee6f45;
}
.hero h1 .chip {
    color: #299e7c;
}
.hero p {
    color: #4b6e85;
    font-size: 16px;
    line-height: 1.55;
    margin: 0 0 22px;
    max-width: 555px;
}
.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.action {
    border: 1px solid #e6ded2;
    border-radius: 12px;
    background: #fff;
    color: #315575;
    font-weight: bold;
    font-size: 13px;
    padding: 12px 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 49px;
}
.action.primary {
    background: #2677c9;
    color: white;
    border-color: #2677c9;
    box-shadow: 0 3px 0 #1c5e9f;
}
.action:hover {
    text-decoration: none;
    filter: brightness(.97);
}
.hero-art {
    position: absolute;
    right: 0;
    top: 0;
    width: 41%;
    height: 100%;
}
.alert {
    min-height: 72px;
    background: #fff0f2;
    border: 1px solid #ffd8dc;
    border-radius: 17px;
    margin: 22px 0 24px;
    display: flex;
    align-items: center;
    padding: 14px 20px;
    gap: 14px;
    color: #294a66;
    font-size: 13px;
}
.alert .emoji {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: white;
    display: grid;
    place-items: center;
    font-size: 24px;
    flex-shrink: 0;
}
.alert strong {
    color: #9c4054;
}
.columns {
    display: grid;
    grid-template-columns: minmax(0,1.66fr) minmax(310px,1fr);
    gap: 22px;
    align-items: start;
}
.card {
    background: white;
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    border-radius: 23px;
    padding: 26px;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.section-title {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    color: #1c4676;
}
.section-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: #eaf6f1;
    font-size: 24px;
    flex-shrink: 0;
}
.school-icon {
    background: #fff3e9;
}
.calendar-icon {
    background: #eaf2fc;
}
.section-side {
    font-size: 10px;
    color: #8194a8;
    font-weight: 800;
    letter-spacing: 1.4px;
}
.updated {
    font-size: 11px;
    color: #93a2b5;
    margin: 5px 0 15px;
}
.news h3 {
    font-size: 16px;
    color: #25527d;
    margin: 0 0 14px;
}
.news p {
    font-size: 14px;
    color: #4c6b88;
    line-height: 1.8;
    margin: 0 0 18px;
}
.news-panel {
    padding: 16px 17px;
    border-radius: 16px;
    border: 1px solid #dceaf7;
    margin-top: 14px;
}
.news-panel.blue {
    background: #f0f7ff;
}
.news-panel.green {
    background: #f3faf5;
    border-color: #dceee4;
}
.news-panel.pink {
    background: #fff6f7;
    border-color: #f4dce0;
}
.news-panel h4 {
    margin: 0 0 14px;
    font-size: 15px;
    color: #20517e;
}
.news-panel p {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.7;
}
.video {
    height: 211px;
    border-radius: 12px;
    background: linear-gradient(120deg,#1c3e75,#357da8);
    overflow: hidden;
    position: relative;
    display: grid;
    place-items: center;
}
.video svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.watch {
    position: relative;
    z-index: 1;
    border: none;
    border-radius: 28px;
    background: white;
    padding: 11px 20px;
    color: #20517d;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 9px #143a5c55;
}
.tag {
    display: inline-block;
    border-radius: 30px;
    background: #dff2e6;
    color: #388565;
    padding: 2px 9px;
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 6px;
}
.tag.pink {
    background: #fee3e7;
    color: #c84c6b;
}
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 23px;
}
.school-banner {
    background: #eef7f0;
    border-radius: 14px;
    display: flex;
    gap: 13px;
    align-items: center;
    margin-top: 18px;
    padding: 15px;
}
.school-banner .school-apple {
    width: 52px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 30px;
}
.school-banner b {
    display: block;
    font-size: 16px;
    color: #216a5a;
}
.school-banner small {
    color: #718981;
    font-size: 12px;
}
.contact {
    display: flex;
    gap: 13px;
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.55;
}
.contact .contact-symbol {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eef5fa;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.contact b {
    display: block;
    color: #2a526e;
}
.contact a {
    display: block;
}
.calendar-head {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.tiny-label {
    font-size: 10px;
    color: #8b9eb0;
    letter-spacing: 1.4px;
    font-weight: bold;
}
.cal-controls {
    display: flex;
    gap: 7px;
    align-items: center;
}
.cal-controls button {
    border: 0;
    background: #f0f6fa;
    color: #3573a6;
    border-radius: 11px;
    height: 35px;
    min-width: 35px;
    font-weight: bold;
}
.cal-controls select {
    border-radius: 11px;
    height: 35px;
    background: white;
    border: 1px solid #d6e3ec;
    color: #275079;
    padding: 0 12px;
    font-weight: bold;
    font-size: 12px;
}
.calendar-table {
    margin-top: 13px;
    border: 1px solid #e3ecec;
    border-radius: 13px;
    overflow: hidden;
}
.days,.dates {
    display: grid;
    grid-template-columns: repeat(7,1fr);
}
.days>div {
    background: #e7f7ef;
    text-align: center;
    font-weight: bold;
    color: #256c68;
    padding: 9px 0;
    font-size: 10px;
}
.date {
    height: 59px;
    border-right: 1px solid #eaf0f0;
    border-top: 1px solid #eaf0f0;
    background: #fff;
    position: relative;
    text-align: right;
    padding: 5px 6px;
    font-size: 11px;
    color: #315773;
    font-weight: bold;
}
.date:nth-child(7n) {
    border-right: none;
}
.date.empty {
    background: #f6f8fa;
}
.date .event {
    display: block;
    background: #fff1ae;
    font-size: 9px;
    line-height: 1.2;
    text-align: left;
    color: #786121;
    border-radius: 5px;
    padding: 3px;
    margin: 7px -2px 0;
    font-weight: normal;
}
.calendar-foot {
    font-size: 12px;
    color: #718aa0;
    margin-top: 12px;
}
.bottom {
    font-size: 12px;
    color: #90a2af;
    text-align: center;
    padding: 25px 0 40px;
}
@media (max-width:1290px) {
    .wrap {
        margin-left: 24px;
        margin-right: 24px;
    }
}
@media (max-width:800px) {
    .preview {
        font-size: 10px;
    }
    .wrap {
        margin-left: 16px;
        margin-right: 16px;
    }
    .mast {
        height: 76px;
    }
    .brand-title {
        font-size: 20px;
    }
    .brand .apple {
        font-size: 36px;
    }
    .nav {
        height: auto;
        overflow: auto;
        justify-content: flex-start;
        padding: 6px 0;
    }
    .nav a {
        flex-shrink: 0;
    }
    .hero {
        min-height: 365px;
        height: auto;
    }
    .hero-copy {
        width: 100%;
        padding: 35px 24px 150px;
    }
    .hero h1 {
        font-size: clamp(39px,9vw,60px);
    }
    .hero p {
        font-size: 14px;
    }
    .hero-art {
        width: 56%;
        height: 200px;
        top: auto;
        bottom: 0;
        opacity: .73;
    }
    .columns {
        grid-template-columns: 1fr;
    }
    .card {
        padding: 19px;
    }
    .section-title {
        font-size: 20px;
    }
    .section-side {
        font-size: 9px;
    }
    .admin {
        padding: 9px;
    }
    .alert {
        align-items: flex-start;
    }
    .video {
        height: 190px;
    }
}
@media (max-width:430px) {
    .hero-copy {
        padding-bottom: 125px;
    }
    .hero h1 {
        font-size: 41px;
    }
    .hero-art {
        width: 70%;
        height: 160px;
    }
    .action {
        font-size: 12px;
        padding: 9px 11px;
    }
    .section-header {
        align-items: start;
    }
    .section-side {
        display: none;
    }
}
/* Small-screen navigation: wrap the actual menu instead of showing a scrollbar. */
@media (max-width:800px) {
    .nav {
        height: auto;
        overflow: visible;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 3px 0;
        padding: 5px 0 9px;
    }
    .nav a {
        flex: 0 0 25%;
        width: 25%;
        min-width: 0;
        min-height: 42px;
        box-sizing: border-box;
        flex-shrink: 1;
        justify-content: flex-start;
        padding: 9px 8px;
        font-size: 12px;
        gap: 7px;
    }
    .nav a .symbol {
        flex-shrink: 0;
    }
    .preview {
        height: auto;
        min-height: 32px;
        line-height: 1.35;
        padding: 8px 12px;
    }
    .brand {
        min-width: 0;
    }
    .brand-title {
        overflow-wrap: anywhere;
    }
    .hero-art svg {
        max-width: 100%;
        max-height: 100%;
    }
}
@media (max-width:590px) {
    .nav a {
        flex-basis: 50%;
        width: 50%;
    }
    .brand-title {
        font-size: 18px;
    }
    .brand-sub {
        font-size: 12px;
    }
    .brand .apple {
        font-size: 32px;
    }
    .admin {
        padding: 8px 10px;
        font-size: 11px;
        white-space: nowrap;
    }
}
@media (max-width:380px) {
    .mast {
        gap: 8px;
    }
    .brand {
        gap: 8px;
    }
    .brand-title {
        font-size: 16px;
    }
    .hero h1 {
        font-size: clamp(34px,10vw,41px);
    }
}
/* Artwork assets, extracted from the prototype to simplify future editing. */
.hero-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
}
form {
    margin: 0;
}

/* Signed-in prototype home: discreet sign-out control. */
.mast-actions { display:flex; align-items:center; gap:12px; }
.signout { display:inline-block; font-size:12px; font-weight:bold; color:#4b6884; padding:8px 4px; white-space:nowrap; }
.signout:hover { color:#146bb8; }
@media (max-width:590px) { .mast-actions { gap:7px; } .signout { font-size:11px; } }

/* Left-sidebar navigation, inspired by the third classroom design concept. */
.ct-workspace { display:grid; grid-template-columns:202px minmax(0,1fr);gap:18px;align-items:start;max-width:1480px;margin:20px auto 0;padding:0 22px; }
.ct-maincol {min-width:0;}
.ct-workspace .main {margin:0;max-width:none;padding:0;}
.site-header .wrap {max-width:1436px;padding-left:22px;padding-right:22px;}
.ct-side {position:sticky;top:14px;align-self:start;border:1px solid #e6eeec;min-height:590px;background:linear-gradient(155deg,#f8fff9,#f8fcfa 55%,#eaf9ef);border-radius:20px;overflow:hidden;padding:13px 10px;box-shadow:0 8px 24px rgba(30,70,55,.035);}
.ct-menu {display:flex;flex-direction:column;gap:4px;position:relative;z-index:1;}
.ct-menu a {display:flex;align-items:center;gap:12px;padding:12px 12px;border-radius:11px;font-weight:700;font-size:13px;color:#274d71;line-height:1.3;text-decoration:none;transition:background .15s ease;}
.ct-menu a:hover {background:#e7f2f0;text-decoration:none;}
.ct-menu a.is-active {background:#dff4eb;color:#176c57;}
.ct-menu-icon {width:23px;min-width:23px;font-size:21px;line-height:1;text-align:center;}
.ct-menu-icon.blue {color:#187fe3;} .ct-menu-icon.gold {color:#e69c0d;}
.ct-menu-icon.pink {color:#e4489a;} .ct-menu-icon.purple {color:#a369dc;}
.ct-menu-icon.coral {color:#ef8548;} .ct-menu-icon.teal {color:#19a8ae;}
.ct-menu-decoration {position:absolute;bottom:-25px;left:-40px;right:-40px;opacity:.47;pointer-events:none;}
.ct-menu-decoration img {display:block;width:100%;height:auto;}
.ct-workspace .hero-copy {padding-left:36px;padding-right:22px;width:67%;}
.ct-workspace .hero h1 {font-size:clamp(37px,4.15vw,58px);}
.ct-workspace .hero-art {width:41%;}
.ct-workspace .card {padding:22px;}
@media(max-width:1080px){
 .ct-workspace {grid-template-columns:1fr;gap:15px;margin-top:13px;padding:0 16px;}
 .ct-side {position:static;min-height:0;border-radius:14px;padding:7px;}
 .ct-menu {flex-direction:row;flex-wrap:wrap;justify-content:center;gap:4px;}
 .ct-menu a {padding:9px 11px;}
 .ct-menu-decoration {display:none;}
 .ct-workspace .hero-copy {width:68%;}
 .ct-workspace .columns {grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:15px;}
}
@media(max-width:800px){
 .ct-workspace .columns {grid-template-columns:1fr;}
 .ct-workspace .hero-copy {width:100%;padding:33px 22px 145px;}
 .ct-workspace .hero-art {width:57%;}
}
@media(max-width:540px){
 .ct-menu {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
 .ct-menu a {font-size:12px;padding:10px 7px;gap:5px;}
 .ct-menu-icon {font-size:18px;width:20px;min-width:20px;}
 .ct-workspace {padding:0 12px;}
 .ct-workspace .hero-copy {padding-bottom:130px;}
 .ct-workspace .hero h1 {font-size:clamp(31px,9vw,44px);}
 .site-header .wrap {padding-left:12px;padding-right:12px;}
}

/* Menu concept 4: bright individual rounded buttons in a compact two-row navigation. */
.ct-workspace{display:flex!important;flex-direction:column!important;gap:14px!important;max-width:1460px!important;margin:15px auto 0!important;}
.ct-maincol{width:100%;}
.ct-menu-banner{width:100%;}
.ct-side{position:static!important;min-height:0!important;padding:12px!important;overflow:visible!important;border:1px solid #e6ecf0!important;border-radius:19px!important;background:#fff!important;box-shadow:0 4px 20px #1b41600b!important;}
.ct-menu-decoration{display:none!important;}
.ct-menu{display:flex!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;flex-wrap:wrap!important;gap:9px!important;}
.ct-menu a{display:inline-flex!important;flex:0 1 auto!important;justify-content:center!important;align-items:center!important;width:auto!important;min-width:112px!important;border-radius:16px!important;border:1px solid #deebf1!important;padding:12px 16px!important;background:#f0f7ff!important;box-shadow:0 3px 0 #d9e9f7!important;color:#305476!important;font-size:13px!important;white-space:nowrap!important;}
.ct-menu a:nth-child(2){background:#eaf4ff!important;}
.ct-menu a:nth-child(3){background:#fff5de!important;box-shadow:0 3px 0 #f4e7c8!important;}
.ct-menu a:nth-child(4){background:#ffedf5!important;box-shadow:0 3px 0 #f9dce9!important;}
.ct-menu a:nth-child(5){background:#f4eaff!important;box-shadow:0 3px 0 #e7d9f5!important;}
.ct-menu a:nth-child(6){background:#fff1e7!important;box-shadow:0 3px 0 #fae0ce!important;}
.ct-menu a:nth-child(7){background:#e8f8f1!important;box-shadow:0 3px 0 #d4eee1!important;}
.ct-menu a.is-active{outline:2px solid #67a4d4!important;outline-offset:1px;color:#194c7a!important;font-weight:800!important;}
.ct-menu a:hover{transform:translateY(-2px);filter:saturate(1.15);}
.ct-menu .ct-menu-icon{font-size:21px!important;width:24px!important;min-width:24px!important;}
.ct-workspace .hero-copy{width:64%;}
.ct-workspace .hero-art{width:41%;}
@media(max-width:760px){.ct-menu{gap:7px!important;}.ct-menu a{min-width:0!important;padding:10px!important;font-size:12px!important;}.ct-workspace .hero-copy{width:100%;}.ct-workspace .hero-art{width:57%;}}
@media(max-width:510px){.ct-menu a{width:calc(50% - 5px)!important;}.ct-menu a:last-child{width:100%!important;}}

/* Menu concept 4: bright individual rounded buttons in a compact two-row navigation. */
.ct-workspace{display:flex!important;flex-direction:column!important;gap:14px!important;max-width:1460px!important;margin:15px auto 0!important;}
.ct-maincol{width:100%;}
.ct-menu-banner{width:100%;}
.ct-side{position:static!important;min-height:0!important;padding:12px!important;overflow:visible!important;border:1px solid #e6ecf0!important;border-radius:19px!important;background:#fff!important;box-shadow:0 4px 20px #1b41600b!important;}
.ct-menu-decoration{display:none!important;}
.ct-menu{display:flex!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;flex-wrap:wrap!important;gap:9px!important;}
.ct-menu a{display:inline-flex!important;flex:0 1 auto!important;justify-content:center!important;align-items:center!important;width:auto!important;min-width:112px!important;border-radius:16px!important;border:1px solid #deebf1!important;padding:12px 16px!important;background:#f0f7ff!important;box-shadow:0 3px 0 #d9e9f7!important;color:#305476!important;font-size:13px!important;white-space:nowrap!important;}
.ct-menu a:nth-child(2){background:#eaf4ff!important;}
.ct-menu a:nth-child(3){background:#fff5de!important;box-shadow:0 3px 0 #f4e7c8!important;}
.ct-menu a:nth-child(4){background:#ffedf5!important;box-shadow:0 3px 0 #f9dce9!important;}
.ct-menu a:nth-child(5){background:#f4eaff!important;box-shadow:0 3px 0 #e7d9f5!important;}
.ct-menu a:nth-child(6){background:#fff1e7!important;box-shadow:0 3px 0 #fae0ce!important;}
.ct-menu a:nth-child(7){background:#e8f8f1!important;box-shadow:0 3px 0 #d4eee1!important;}
.ct-menu a.is-active{outline:2px solid #67a4d4!important;outline-offset:1px;color:#194c7a!important;font-weight:800!important;}
.ct-menu a:hover{transform:translateY(-2px);filter:saturate(1.15);}
.ct-menu .ct-menu-icon{font-size:21px!important;width:24px!important;min-width:24px!important;}
.ct-workspace .hero-copy{width:64%;}
.ct-workspace .hero-art{width:41%;}
@media(max-width:760px){.ct-menu{gap:7px!important;}.ct-menu a{min-width:0!important;padding:10px!important;font-size:12px!important;}.ct-workspace .hero-copy{width:100%;}.ct-workspace .hero-art{width:57%;}}
@media(max-width:510px){.ct-menu a{width:calc(50% - 5px)!important;}.ct-menu a:last-child{width:100%!important;}}

/* Teacher / Parent demonstration mode */
.ct-mode-label{font-size:12px;font-weight:800;color:#286350;background:#e9f8ef;border:1px solid #c5ead4;border-radius:999px;padding:8px 12px;white-space:nowrap}
.ct-mode-toggle{font-size:12px;text-decoration:none;border-radius:999px;padding:9px 13px;border:1px solid #bdd5ea;background:#f2f9ff;color:#195b93;font-weight:800;white-space:nowrap}
.ct-mode-toggle:hover{background:#e3f2ff}
.mast-actions{flex-wrap:wrap}
.ct-parent-note{border:1px solid #c5dfef;background:#edf7ff;color:#295478;border-radius:12px;padding:11px 15px;margin:10px 0;font-size:13px}
[hidden]{display:none!important}

.ct-menu-banner{padding-top:12px!important;}

/* Home header: Sign Out is the only header action. */
.site-header .mast-actions .signout {
    display:inline-flex; align-items:center; justify-content:center;
    min-height:42px; padding:10px 18px; border:1px solid #173b63;
    border-radius:12px; background:#173b63; color:#fff;
    box-shadow:0 3px 0 #0e2844; font-size:13px; font-weight:800;
    text-decoration:none; line-height:1.2; white-space:nowrap;
}
.site-header .mast-actions .signout:hover {
    background:#245582; color:#fff; text-decoration:none;
}
.site-header .mast-actions .signout:focus-visible {outline:3px solid #f8b648;outline-offset:3px;}
/* Move School Admin and the teacher-only view switch alongside classroom navigation. */
.ct-menu .ct-menu-utility {
    display:inline-flex!important; flex:0 1 auto!important;
    justify-content:center!important; align-items:center!important; gap:9px!important;
    width:auto!important; min-width:112px!important;
    padding:12px 16px!important; border:1px solid #dce7ef!important;
    border-radius:16px!important; background:#eaf7f4!important;
    box-shadow:0 3px 0 #d3e8e1!important;
    color:#305476!important; font:700 13px/1.3 Arial,Helvetica,sans-serif!important;
    text-decoration:none!important; white-space:nowrap!important; cursor:pointer;
}
.ct-menu .ct-menu-admin {background:#ecf6ef!important;}
.ct-menu a.ct-mode-toggle {background:#edf2ff!important;box-shadow:0 3px 0 #dbe4f8!important;}
.ct-menu .ct-menu-utility:hover {filter:saturate(1.15);transform:translateY(-2px);}
.ct-menu .ct-menu-utility:focus-visible {outline:3px solid #1c77c5;outline-offset:3px;}
.ct-menu-status {display:flex;justify-content:center;align-items:center;margin:12px 0 1px;}
@media(max-width:760px) {
    .ct-menu .ct-menu-utility {padding:10px!important;font-size:12px!important;min-width:0!important;}
}
@media(max-width:510px) {
    .ct-menu .ct-menu-utility {width:calc(50% - 5px)!important;}
    .ct-menu a.ct-mode-toggle:last-child {width:calc(50% - 5px)!important;}
}

/* CIRCLETIME_CLASS_NEWS_GRID_V2 */
/* Posting columns respond to usable card width, not the whole page width.
   Parent News, Home custom sections, and More custom sections provide
   the respective container for the card layout. */
.ct-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr));
  align-items: stretch;
  gap: 14px;
  margin: 14px 0 18px;
}
.ct-post-grid > .news-panel,
.ct-post-grid > .ct-more-post {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.ct-post-grid .ct-post-flow,
.ct-post-grid .ct-post-body { min-width:0; overflow-wrap:break-word; }
/* Modern browsers: precisely two columns when the section itself fits. */
@supports (container-type: inline-size) {
  .ct-workspace .news,
  .ct-workspace .ct-user-section,
  .ct-workspace .ct-teacher-section { container-type: inline-size; }
  .ct-post-grid { grid-template-columns: minmax(0, 1fr); }
  @container (min-width: 540px) {
    .ct-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
}
/* Prevent the calendar sidebar from squeezing the news list into one
   column on laptop-sized screens; move school/calendar cards below news. */
@media (min-width:801px) and (max-width:1050px) {
  .ct-workspace .columns { grid-template-columns: minmax(0,1fr); }
  .ct-workspace .columns > .sidebar {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
    align-items:start;
  }
  .ct-workspace .columns > .sidebar > .card { margin:0; min-width:0; }
}
@media(max-width:540px) { .ct-post-grid { grid-template-columns:minmax(0,1fr); } }
@media print {
  .ct-post-grid { display:block; }
  .ct-post-grid > .news-panel,
  .ct-post-grid > .ct-more-post { margin:12px 0; break-inside:avoid; }
}
