/* CircleTime shared action-button stylesheet (v1.1.864).
   Ordinary application controls: retain original per-component styles, with no global raised/pill override.
   Calendar events, photo tiles, album covers, navigation and icon controls are NOT action buttons.
   Demo splash / role selection buttons: all common visual styling and dimensions below.
   For future global button work, use explicit action classes, never a bare button selector across the site.
   The original filename is retained for compatibility with deployed pages. */

/* v1.1.863: common navy content-panel and table theme. Calendar cells/events,
   photo tiles, albums, viewer controls, navigation and inline links are not action buttons. */
:root{--ct-ui-navy:#173b63;--ct-ui-panel-bg:#fff;--ct-ui-orange-top:#ee8a2a;--ct-ui-orange-bottom:#d95f08;--ct-ui-orange-border:#c95506;--ct-ui-orange-base:#9a4304;--ct-ui-panel-radius:13px;--ct-ui-action-radius:20px;--ct-ui-demo-action-radius:20px;--ct-ui-panel-shadow:0 4px 10px rgba(23,59,99,.12)}
:is(.ct-ui-panel,.adm-card,.ct-dir-panel,.ct-info-card,.ct-att-card,.fb-card,.er-card,.ctinv-card,.ct-migrate-card,.ct-doc-section-card,.ct-da-card,.ct-email-card,.ct-sec-card,.ct-stripe-admin-panel,.ct-doc-admin-box,.ct-msg-panel,.ct-workspace .card,.ct-calendar-card,.ct-calendar-list,.ct-cal-editor,.ct-gallery-card,.ct-user-section,.ct-layout-editor){border:2px solid var(--ct-ui-navy)!important;border-radius:var(--ct-ui-panel-radius)!important;box-shadow:var(--ct-ui-panel-shadow)!important}
:is(.adm-card,.ct-info-card,.ct-att-card,.fb-card,.er-card,.ctinv-card,.ct-doc-section-card,.ct-da-card,.ct-sec-card,.ct-migrate-card,.ct-email-card) > h2,
.ct-dir-panel > .ct-dir-panel-head,.ct-workspace .card > .section-header,.ct-ui-panel-title{background:var(--ct-ui-navy)!important;color:#fff!important;border-radius:8px;padding:10px 12px;box-sizing:border-box}
.ct-dir-panel > .ct-dir-panel-head :is(h2,span),.ct-workspace .card > .section-header :is(.section-title,.section-side){color:#fff!important}
:is(.ct-ui-table,.adm-list,.ct-att-table,.fb-table,.ctinv-list,.ct-document-table,.audit-table,.statement-table,.ct-school-banner-table,.tw-roster,.mapping,.migration-map-table,.count-table,.ct-login-directory){outline:1px solid var(--ct-ui-navy);outline-offset:-1px;border-radius:8px;box-shadow:0 2px 6px rgba(23,59,99,.08)}
:is(.ct-ui-table,.adm-list,.ct-att-table,.fb-table,.ctinv-list,.ct-document-table,.audit-table,.statement-table,.ct-school-banner-table,.tw-roster,.mapping,.migration-map-table,.count-table,.ct-login-directory) > thead > tr > th,:is(.ct-ui-table,.adm-list,.ct-att-table,.fb-table,.ctinv-list,.ct-document-table,.audit-table,.statement-table,.ct-school-banner-table,.tw-roster,.mapping,.migration-map-table,.count-table,.ct-login-directory) > tbody > tr:first-child > th,:is(.ct-ui-table,.adm-list,.ct-att-table,.fb-table,.ctinv-list,.ct-document-table,.audit-table,.statement-table,.ct-school-banner-table,.tw-roster,.mapping,.migration-map-table,.count-table,.ct-login-directory) > tr:first-child > th{background:var(--ct-ui-navy)!important;color:#fff!important}
/* Directory grids are data tables even though their markup uses divs. */
.ct-directory-header{background:var(--ct-ui-navy)!important;color:#fff!important;border-color:var(--ct-ui-navy)!important}
:is(.ct-student-directory,.ct-staff-directory,.ct-school-directory){border-color:var(--ct-ui-navy)!important}
/* Primary action buttons only. Keep existing sizing, disabled states, and semantic secondary/danger styles. */
:is(.ct-ui-panel,.adm-card,.ct-dir-panel,.ct-info-card,.ct-att-card,.fb-card,.er-card,.ctinv-card,.ct-migrate-card,.ct-doc-section-card,.ct-da-card,.ct-email-card,.ct-sec-card,.ct-stripe-admin-panel,.ct-doc-admin-box,.ct-msg-panel,.ct-workspace .card,.ct-calendar-card,.ct-calendar-list,.ct-cal-editor,.ct-gallery-card,.ct-user-section,.ct-layout-editor,.ct-ui-table,.adm-list,.ct-att-table,.fb-table,.ctinv-list,.ct-document-table,.audit-table,.statement-table,.ct-school-banner-table,.tw-roster,.mapping,.migration-map-table,.count-table,.ct-login-directory,.ct-student-directory,.ct-staff-directory,.ct-school-directory) :is(button,input[type="submit"],input[type="button"],a):is(.ct-ui-action,.adm-btn,.ct-dir-btn,.fb-btn,.er-btn,.ctinv-btn,.tw-btn,.ct-att-btn,.ct-da-button,.ct-da-quick-submit,.ct-email-button,.ct-migrate-btn,.imp-btn,.ef-btn,.sc-btn,.care-btn,.bf-btn,.ct-msg-action,.ct-primary-action,.news-btn,.ct-new,.btn,.action,.primary,.ctbutton,.ct-document-open,.su-primary):not(:disabled):not([disabled]):not([aria-disabled="true"]):not(.disabled):not(.aspNetDisabled):not(.danger):not(.ct-dir-danger):not(.ct-migrate-danger):not(.ct-btn-danger):not(.alt):not(.secondary):not(.ct-dir-muted):not(.tw-btn-light):not(.ct-da-cancel):not(.ct-att-clear):not(.ct-signature-close):not(.ct-theme-picker-button):not(.gallery-button):not(.lightbox-delete){background-color:var(--ct-ui-orange-bottom)!important;background-image:linear-gradient(var(--ct-ui-orange-top),var(--ct-ui-orange-bottom))!important;border:1px solid var(--ct-ui-orange-border)!important;border-radius:var(--ct-ui-action-radius)!important;color:#fff!important;box-shadow:inset 0 1px 1px #fff5,0 2px 0 var(--ct-ui-orange-base),0 4px 6px #0002!important;transition:filter .12s ease,box-shadow .12s ease,transform .12s ease}
@media(hover:hover){:is(.ct-ui-panel,.adm-card,.ct-dir-panel,.ct-info-card,.ct-att-card,.fb-card,.er-card,.ctinv-card,.ct-migrate-card,.ct-doc-section-card,.ct-da-card,.ct-email-card,.ct-sec-card,.ct-stripe-admin-panel,.ct-doc-admin-box,.ct-msg-panel,.ct-workspace .card,.ct-calendar-card,.ct-calendar-list,.ct-cal-editor,.ct-gallery-card,.ct-user-section,.ct-layout-editor,.ct-ui-table,.adm-list,.ct-att-table,.fb-table,.ctinv-list,.ct-document-table,.audit-table,.statement-table,.ct-school-banner-table,.tw-roster,.mapping,.migration-map-table,.count-table,.ct-login-directory,.ct-student-directory,.ct-staff-directory,.ct-school-directory) :is(button,input[type="submit"],input[type="button"],a):is(.ct-ui-action,.adm-btn,.ct-dir-btn,.fb-btn,.er-btn,.ctinv-btn,.tw-btn,.ct-att-btn,.ct-da-button,.ct-da-quick-submit,.ct-email-button,.ct-migrate-btn,.imp-btn,.ef-btn,.sc-btn,.care-btn,.bf-btn,.ct-msg-action,.ct-primary-action,.news-btn,.ct-new,.btn,.action,.primary,.ctbutton,.ct-document-open,.su-primary):not(:disabled):not([disabled]):not([aria-disabled="true"]):not(.disabled):not(.aspNetDisabled):not(.danger):not(.ct-dir-danger):not(.ct-migrate-danger):not(.ct-btn-danger):not(.alt):not(.secondary):not(.ct-dir-muted):not(.tw-btn-light):not(.ct-da-cancel):not(.ct-att-clear):not(.ct-signature-close):not(.ct-theme-picker-button):not(.gallery-button):not(.lightbox-delete):hover{filter:brightness(1.08)}}
:is(.ct-ui-panel,.adm-card,.ct-dir-panel,.ct-info-card,.ct-att-card,.fb-card,.er-card,.ctinv-card,.ct-migrate-card,.ct-doc-section-card,.ct-da-card,.ct-email-card,.ct-sec-card,.ct-stripe-admin-panel,.ct-doc-admin-box,.ct-msg-panel,.ct-workspace .card,.ct-calendar-card,.ct-calendar-list,.ct-cal-editor,.ct-gallery-card,.ct-user-section,.ct-layout-editor,.ct-ui-table,.adm-list,.ct-att-table,.fb-table,.ctinv-list,.ct-document-table,.audit-table,.statement-table,.ct-school-banner-table,.tw-roster,.mapping,.migration-map-table,.count-table,.ct-login-directory,.ct-student-directory,.ct-staff-directory,.ct-school-directory) :is(button,input[type="submit"],input[type="button"],a):is(.ct-ui-action,.adm-btn,.ct-dir-btn,.fb-btn,.er-btn,.ctinv-btn,.tw-btn,.ct-att-btn,.ct-da-button,.ct-da-quick-submit,.ct-email-button,.ct-migrate-btn,.imp-btn,.ef-btn,.sc-btn,.care-btn,.bf-btn,.ct-msg-action,.ct-primary-action,.news-btn,.ct-new,.btn,.action,.primary,.ctbutton,.ct-document-open,.su-primary):not(:disabled):not([disabled]):not([aria-disabled="true"]):not(.disabled):not(.aspNetDisabled):not(.danger):not(.ct-dir-danger):not(.ct-migrate-danger):not(.ct-btn-danger):not(.alt):not(.secondary):not(.ct-dir-muted):not(.tw-btn-light):not(.ct-da-cancel):not(.ct-att-clear):not(.ct-signature-close):not(.ct-theme-picker-button):not(.gallery-button):not(.lightbox-delete):active{transform:translateY(2px);box-shadow:inset 0 1px 3px #0003!important}
:is(.ct-ui-panel,.adm-card,.ct-dir-panel,.ct-info-card,.ct-att-card,.fb-card,.er-card,.ctinv-card,.ct-migrate-card,.ct-doc-section-card,.ct-da-card,.ct-email-card,.ct-sec-card,.ct-stripe-admin-panel,.ct-doc-admin-box,.ct-msg-panel,.ct-workspace .card,.ct-calendar-card,.ct-calendar-list,.ct-cal-editor,.ct-gallery-card,.ct-user-section,.ct-layout-editor,.ct-ui-table,.adm-list,.ct-att-table,.fb-table,.ctinv-list,.ct-document-table,.audit-table,.statement-table,.ct-school-banner-table,.tw-roster,.mapping,.migration-map-table,.count-table,.ct-login-directory,.ct-student-directory,.ct-staff-directory,.ct-school-directory) :is(button,input[type="submit"],input[type="button"],a):is(.ct-ui-action,.adm-btn,.ct-dir-btn,.fb-btn,.er-btn,.ctinv-btn,.tw-btn,.ct-att-btn,.ct-da-button,.ct-da-quick-submit,.ct-email-button,.ct-migrate-btn,.imp-btn,.ef-btn,.sc-btn,.care-btn,.bf-btn,.ct-msg-action,.ct-primary-action,.news-btn,.ct-new,.btn,.action,.primary,.ctbutton,.ct-document-open,.su-primary):not(:disabled):not([disabled]):not([aria-disabled="true"]):not(.disabled):not(.aspNetDisabled):not(.danger):not(.ct-dir-danger):not(.ct-migrate-danger):not(.ct-btn-danger):not(.alt):not(.secondary):not(.ct-dir-muted):not(.tw-btn-light):not(.ct-da-cancel):not(.ct-att-clear):not(.ct-signature-close):not(.ct-theme-picker-button):not(.gallery-button):not(.lightbox-delete):focus-visible{outline:3px solid var(--ct-ui-navy);outline-offset:3px}
@media(prefers-reduced-motion:reduce){:is(.ct-ui-panel,.adm-card,.ct-dir-panel,.ct-info-card,.ct-att-card,.fb-card,.er-card,.ctinv-card,.ct-migrate-card,.ct-doc-section-card,.ct-da-card,.ct-email-card,.ct-sec-card,.ct-stripe-admin-panel,.ct-doc-admin-box,.ct-msg-panel,.ct-workspace .card,.ct-calendar-card,.ct-calendar-list,.ct-cal-editor,.ct-gallery-card,.ct-user-section,.ct-layout-editor,.ct-ui-table,.adm-list,.ct-att-table,.fb-table,.ctinv-list,.ct-document-table,.audit-table,.statement-table,.ct-school-banner-table,.tw-roster,.mapping,.migration-map-table,.count-table,.ct-login-directory,.ct-student-directory,.ct-staff-directory,.ct-school-directory) :is(button,input[type="submit"],input[type="button"],a):is(.ct-ui-action,.adm-btn,.ct-dir-btn,.fb-btn,.er-btn,.ctinv-btn,.tw-btn,.ct-att-btn,.ct-da-button,.ct-da-quick-submit,.ct-email-button,.ct-migrate-btn,.imp-btn,.ef-btn,.sc-btn,.care-btn,.bf-btn,.ct-msg-action,.ct-primary-action,.news-btn,.ct-new,.btn,.action,.primary,.ctbutton,.ct-document-open,.su-primary):not(:disabled):not([disabled]):not([aria-disabled="true"]):not(.disabled):not(.aspNetDisabled):not(.danger):not(.ct-dir-danger):not(.ct-migrate-danger):not(.ct-btn-danger):not(.alt):not(.secondary):not(.ct-dir-muted):not(.tw-btn-light):not(.ct-da-cancel):not(.ct-att-clear):not(.ct-signature-close):not(.ct-theme-picker-button):not(.gallery-button):not(.lightbox-delete){transition:none;transform:none}}
/* Compact banner specific layout; shared panel/action colors above. */
.ct-ui-panel.ct-demo-banner{box-sizing:border-box;width:82%;max-width:540px;margin:8px auto;background:var(--ct-ui-panel-bg)!important;color:var(--ct-ui-navy);font:14px/1.35 Arial,sans-serif;text-align:center;overflow:hidden}
.ct-ui-panel.ct-demo-banner > .ct-ui-panel-title{background:var(--ct-ui-navy)!important;color:#fff!important;border-radius:0;font-size:20px;font-weight:700;line-height:1.2;padding:8px 10px}
.ct-ui-panel.ct-demo-banner > .ct-demo-banner-body{background:var(--ct-home-inset-bg)!important;padding:9px 12px}
.ct-demo-options-button{display:inline-block;max-width:100%;box-sizing:border-box;font-weight:bold;padding:6px 12px;text-decoration:none}
.ct-demo-banner-identity{margin-top:7px;font-weight:bold}.ct-demo-banner-note{margin-top:3px}
@media(max-width:480px){.ct-demo-banner{width:88%}.ct-demo-banner > .ct-ui-panel-title{font-size:18px}}
@media print{:is(.ct-ui-table,.adm-list,.ct-att-table,.fb-table,.ctinv-list,.ct-document-table,.audit-table,.statement-table,.ct-school-banner-table,.tw-roster,.mapping,.migration-map-table,.count-table,.ct-login-directory){box-shadow:none}}

/* Guided role cards: shared theme, with their existing compact mobile layout. */
.ct-demo-roles .role-panel{margin:24px auto;padding:0 16px 16px;background:var(--ct-ui-panel-bg);border:2px solid var(--ct-ui-navy);border-radius:var(--ct-ui-panel-radius);box-shadow:var(--ct-ui-panel-shadow);overflow:hidden}.ct-demo-roles .role-panel h2{margin:0 -16px 14px;padding:11px 14px;background:var(--ct-ui-navy);color:#fff;font-weight:800}.ct-demo-roles .role-panel p{margin-bottom:12px}.ct-demo-roles .role-panel form{margin-top:4px}.ct-demo-roles .other-roles{margin:24px auto}@media(max-width:480px){.ct-demo-roles .role-panel{margin:22px auto;padding:0 12px 15px}.ct-demo-roles .role-panel h2{margin:0 -12px 13px;padding:10px 12px}.ct-demo-roles .role-panel p{margin-bottom:11px}}

/* Home content cards: match the Daily Activities report.  Keep the existing
   responsive grid, fold controls, photo tiles and calendar-event controls. */
:root {
 --ct-home-panel-border:#c5d7e6;
 --ct-home-inset-border:#d9e5ef;
 --ct-home-inset-bg:#f6fafe;
 --ct-home-panel-radius:12px;
 --ct-home-inset-radius:10px;
 --ct-home-panel-padding:12px;
}
#home :is(#ctFeaturedAlbum,#news,#ctHomeNewsRemainder,#pnlSchoolNews,#ctSchoolContacts,#calendar,.ct-user-section) {
 box-sizing:border-box;
 background:var(--ct-ui-panel-bg)!important;
 border:1px solid var(--ct-home-panel-border)!important;
 border-radius:var(--ct-home-panel-radius)!important;
 padding:var(--ct-home-panel-padding)!important;
 box-shadow:none!important;
}
#home :is(#ctFeaturedAlbum,#news,#ctHomeNewsRemainder,#pnlSchoolNews,#ctSchoolContacts,#calendar,.ct-user-section) > :is(.section-header,.section-title,.ct-featured-heading) {
 background:var(--ct-ui-navy)!important;
 color:white!important;
 border-radius:11px 11px 0 0!important;
 margin:calc(-1 * var(--ct-home-panel-padding)) calc(-1 * var(--ct-home-panel-padding)) 12px!important;
 padding:13px 16px!important;
 font-size:19px!important;
 font-weight:700!important;
 box-sizing:border-box;
 flex-wrap:wrap;
}
#home :is(#ctFeaturedAlbum,#news,#ctHomeNewsRemainder,#pnlSchoolNews,#ctSchoolContacts,#calendar,.ct-user-section) > :is(.section-header,.section-title,.ct-featured-heading) :is(.section-title,.section-side,.ct-featured-subtitle) {
 color:white!important;
}
#home :is(#ctFeaturedAlbum,#news,#pnlSchoolNews) > :is(.section-header,.ct-featured-heading) .section-title {font-size:19px!important;font-weight:700!important;}
#home :is(#ctFeaturedAlbum,#news,#ctHomeNewsRemainder,#pnlSchoolNews,#ctSchoolContacts,#calendar,.ct-user-section) > :is(.section-header,.section-title,.ct-featured-heading) .ct-home-toggle {
 background:rgba(255,255,255,.14)!important;color:white!important;border-color:rgba(255,255,255,.55)!important;
}
#home :is(#ctFeaturedAlbum,#news,#ctHomeNewsRemainder,#pnlSchoolNews,#ctSchoolContacts,#calendar,.ct-user-section).ct-home-collapsed {padding-bottom:0!important;}
#home :is(#ctFeaturedAlbum,#news,#ctHomeNewsRemainder,#pnlSchoolNews,#ctSchoolContacts,#calendar,.ct-user-section).ct-home-collapsed > :is(.section-header,.section-title,.ct-featured-heading) {margin-bottom:0!important;border-radius:11px!important;}
#home :is(#ctFeaturedAlbum,#news,#ctHomeNewsRemainder,#pnlSchoolNews,#ctSchoolContacts,#calendar,.ct-user-section) :is(.ct-featured-photos,.ct-school-info-summary,.ct-home-list-month,.calendar-table,.ct-post-grid .news-panel,.ct-post-grid .ct-more-post) {
 background:var(--ct-home-inset-bg)!important;
 border:1px solid var(--ct-home-inset-border)!important;
 border-radius:var(--ct-home-inset-radius)!important;
 box-shadow:none!important;
 box-sizing:border-box;
}
#home #ctSchoolContacts .ct-school-info-summary,#home #ctFeaturedAlbum .ct-featured-photos,#home #calendar .ct-home-list-month {padding:12px!important;}
#home #ctSchoolContacts .ct-school-name {background:var(--ct-home-inset-bg)!important;border:1px solid var(--ct-home-inset-border)!important;}
#home #ctSchoolContacts .ct-school-name strong {color:var(--ct-ui-navy)!important;}
#home #ctFeaturedAlbum .ct-featured-photos:empty {display:none;}
#home #calendar .ct-home-list-month + .ct-home-list-month {border-top:1px solid var(--ct-home-inset-border)!important;padding-top:12px!important;}

/* Shared Home-style panels: photo albums and the compact demo banner. */
.ct-ui-panel.ct-demo-banner {
 border:1px solid var(--ct-home-panel-border)!important;
 border-radius:var(--ct-home-panel-radius)!important;
 box-shadow:none!important;
 padding:0!important;
}
.ct-ui-panel.ct-demo-banner > .ct-ui-panel-title {
 background:var(--ct-ui-navy)!important;color:#fff!important;
 margin:0!important;border-radius:11px 11px 0 0!important;
}
.ct-ui-panel.ct-demo-banner > .ct-demo-banner-body {
 margin:10px!important;border:1px solid var(--ct-home-inset-border)!important;
 border-radius:var(--ct-home-inset-radius)!important;
 background:var(--ct-home-inset-bg)!important;color:var(--ct-ui-navy)!important;
 overflow-wrap:anywhere;
}
.ct-workspace .gallery-page > .ct-gallery-card {
 background:var(--ct-ui-panel-bg)!important;
 border:1px solid var(--ct-home-panel-border)!important;
 border-radius:var(--ct-home-panel-radius)!important;
 padding:var(--ct-home-panel-padding)!important;box-shadow:none!important;
}
.ct-workspace .gallery-page > .ct-gallery-card > :is(.gallery-topline,h2) {
 background:var(--ct-ui-navy)!important;color:#fff!important;
 margin:calc(-1 * var(--ct-home-panel-padding)) calc(-1 * var(--ct-home-panel-padding)) 12px!important;
 border-radius:11px 11px 0 0!important;padding:13px 16px!important;
 font-size:19px!important;font-weight:700!important;flex-wrap:wrap;
}
.ct-workspace .gallery-page > .ct-gallery-card > .gallery-topline :is(h2,p) {
 color:#fff!important;
}
.ct-workspace .gallery-page > .ct-gallery-card > .gallery-topline h2 {font-size:19px!important;font-weight:700!important;}
.ct-workspace .gallery-page > .ct-gallery-card > :is(#albumGrid,#photoGrid,#albumDescription,#albumEditPanel,#emptyGallery),
.ct-workspace .gallery-page > #ctSchoolFeaturedSetting > div {
 background:var(--ct-home-inset-bg)!important;
 border:1px solid var(--ct-home-inset-border)!important;
 border-radius:var(--ct-home-inset-radius)!important;
 padding:12px!important;box-shadow:none!important;min-width:0;
}
/* Keep album covers, individual images, slideshow and lightbox controls untouched. */
@media(max-width:480px){
 .ct-workspace .gallery-page > .ct-gallery-card > :is(#albumGrid,#photoGrid){padding:8px!important;}
}

.ct-school-photo-panels > .card {background:var(--ct-ui-panel-bg)!important;border:1px solid var(--ct-home-panel-border)!important;border-radius:var(--ct-home-panel-radius)!important;box-shadow:none!important;padding:var(--ct-home-panel-padding)!important;}
.ct-school-photo-panels > .card > h2 {background:var(--ct-ui-navy)!important;color:white!important;border-radius:11px 11px 0 0!important;margin:calc(-1 * var(--ct-home-panel-padding)) calc(-1 * var(--ct-home-panel-padding)) 12px!important;padding:13px 16px!important;font-size:19px!important;}
.ct-school-photo-panels > .card > .help {background:var(--ct-home-inset-bg)!important;border:1px solid var(--ct-home-inset-border)!important;border-radius:var(--ct-home-inset-radius)!important;padding:12px!important;}

/* v1.1.871: bright yellow demo note; independent of Home card header colors. */
:root{--ct-demo-banner-fill:#ffeb3b}
.ct-ui-panel.ct-demo-banner,
.ct-ui-panel.ct-demo-banner > .ct-ui-panel-title,
.ct-ui-panel.ct-demo-banner > .ct-demo-banner-body {
 background:var(--ct-demo-banner-fill,#ffeb3b)!important;
 color:#173b63!important;
}

/* v1.1.872: single yellow note, equal clearance above and below. */
:root{--ct-demo-banner-border:#426a98;--ct-demo-banner-gap:16px}
.ct-ui-panel.ct-demo-banner{
 margin:var(--ct-demo-banner-gap) auto!important;
 padding:10px 12px 11px!important;
 border:1px solid var(--ct-demo-banner-border)!important;
}
.ct-ui-panel.ct-demo-banner > .ct-ui-panel-title{
 padding:0!important;margin:0 0 6px!important;border:0!important;
 border-radius:0!important;box-shadow:none!important;line-height:1.2;
}
.ct-ui-panel.ct-demo-banner > .ct-demo-options-button{margin:0!important}
.ct-ui-panel.ct-demo-banner > .ct-demo-banner-identity{overflow-wrap:anywhere}
.ct-ui-panel.ct-demo-banner + .ct-menu-banner{margin-top:0!important}

/* v1.1.873: independent, single-outline demo note; do not inherit generic panels. */
.ct-demo-banner[data-ct-banner-build="873"]{box-sizing:border-box;max-width:420px;width:78%;margin:7px auto 12px!important;padding:7px!important;border:1px solid #426a98!important;border-radius:9px;outline:none!important;box-shadow:none!important;background:var(--ct-demo-banner-fill,#ffeb3b)!important;text-align:center;overflow-wrap:anywhere}
.ct-demo-banner[data-ct-banner-build="873"] > :is(.ct-demo-banner-heading,.ct-demo-banner-note){background:transparent!important;border:0!important;outline:none!important;box-shadow:none!important;padding:0!important}
.ct-demo-banner[data-ct-banner-build="873"] > .ct-demo-banner-heading{font-size:16px;line-height:1.2;margin:0 0 4px!important;font-weight:700}
.ct-demo-banner[data-ct-banner-build="873"] > .ct-demo-banner-note{margin:4px 0 0!important;font-size:12px}
.ct-demo-banner[data-ct-banner-build="873"] > .ct-demo-options-button{margin:0!important;padding:5px 10px;line-height:1.2;font-size:13px}
.ct-demo-banner[data-ct-banner-build="873"] + .ct-menu-banner{margin-top:0!important}
a:is(.ct-demo-orange-action,.ct-ui-orange-link){display:inline-block;background:linear-gradient(var(--ct-ui-orange-top),var(--ct-ui-orange-bottom))!important;border:1px solid var(--ct-ui-orange-border)!important;border-radius:var(--ct-ui-action-radius)!important;color:#fff!important;box-shadow:inset 0 1px 1px #fff5,0 2px 0 var(--ct-ui-orange-base),0 4px 6px #0002!important;text-decoration:none;font-weight:bold;max-width:100%;box-sizing:border-box;transition:filter .12s ease,transform .12s ease}
@media(hover:hover){a:is(.ct-demo-orange-action,.ct-ui-orange-link):hover{filter:brightness(1.08)}}
a:is(.ct-demo-orange-action,.ct-ui-orange-link):active{transform:translateY(2px);box-shadow:inset 0 1px 3px #0003!important}
a:is(.ct-demo-orange-action,.ct-ui-orange-link):focus-visible{outline:3px solid var(--ct-ui-navy);outline-offset:3px}
@media(prefers-reduced-motion:reduce){a:is(.ct-demo-orange-action,.ct-ui-orange-link){transition:none}a:is(.ct-demo-orange-action,.ct-ui-orange-link):active{transform:none}}

/* Teacher Home: separate fixed explanation from editable parent welcome. */
#home #ctTeacherHomeOrder {border:1px solid var(--ct-home-panel-border)!important;border-radius:var(--ct-home-panel-radius)!important;background:var(--ct-ui-panel-bg)!important;box-shadow:none!important;}
#home #ctTeacherHomeOrder > details > summary {background:var(--ct-ui-navy)!important;color:#fff!important;font-size:19px!important;font-weight:700!important;padding:13px 16px!important;}
#home #ctTeacherHomeOrder .ct-home-order-chevron {display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex:none;border:1px solid rgba(255,255,255,.55);border-radius:9px;background:rgba(255,255,255,.14);color:#fff;font-size:19px;}
#home #ctTeacherHomeOrder .ct-teacher-order-body {margin:12px;background:var(--ct-home-inset-bg);border:1px solid var(--ct-home-inset-border);border-radius:var(--ct-home-inset-radius);}
#home #ctParentWelcomePanel {width:100%;max-width:100%;box-sizing:border-box;}

/* v1.1.875: Teacher Home settings panels share Home Panel Order styling. */
#home .ct-home-settings-fold {display:block!important;box-sizing:border-box;width:100%;margin:0!important;border:1px solid var(--ct-home-panel-border)!important;border-radius:var(--ct-home-panel-radius)!important;background:var(--ct-ui-panel-bg)!important;overflow:hidden;box-shadow:none!important;}
#home .ct-home-settings-fold > details > summary {display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;cursor:pointer;background:var(--ct-ui-navy)!important;color:#fff!important;font-size:19px!important;font-weight:700!important;padding:13px 16px!important;}
#home .ct-home-settings-fold > details > summary::-webkit-details-marker {display:none;}
#home .ct-home-settings-fold > details > summary:focus-visible {outline:3px solid #8dc3f6;outline-offset:-4px;}
#home .ct-home-settings-fold .ct-home-order-chevron {display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex:none;border:1px solid rgba(255,255,255,.55);border-radius:9px;background:rgba(255,255,255,.14);color:#fff;font-size:19px;}
#home .ct-home-settings-fold > details[open] > summary .ct-home-order-chevron::before {content:"\25BE";}
#home .ct-home-settings-fold-body {margin:12px;padding:12px;background:var(--ct-home-inset-bg);border:1px solid var(--ct-home-inset-border);border-radius:var(--ct-home-inset-radius);min-width:0;}
#home #ctParentWelcomePanel .ct-parent-welcome-preview {margin:0 0 12px!important;box-sizing:border-box;width:100%;max-width:100%;}
#home #ctParentWelcomePanel .ct-welcome-picker,#home #ctParentWelcomePanel .ct-welcome-text-picker {width:100%;margin:0 0 10px!important;}
#home #ctParentWelcomePanel .ct-welcome-text-picker {margin-bottom:0!important;}

/* v1.1.876: match the Teacher Home settings stack to the lower Home feed. */
#home {--ct-home-section-gap:17px;}
.ct-workspace #home > #ctTeacherTopSections.ct-teacher-top-sections {
 gap:var(--ct-home-section-gap)!important;
 margin-bottom:var(--ct-home-section-gap)!important;
}
.ct-workspace #home > #ctTeacherTopSections > :is(.hero,.ct-home-settings-fold,.ct-home-settings-top,.ct-classroom-notices-panel) {margin:0!important;}
.ct-workspace #home > #ctTeacherTopSections > .ct-home-settings-top > :is(.ct-teacher-order-settings,.ct-admin-home-settings) {margin:0!important;}
.ct-workspace #home > #ctTeacherTopSections > .ct-classroom-notices-panel:not(:has(.ct-home-banner)):not(:has(#classroomNotices > *)) {display:none!important;}
.ct-workspace #home > #ctHomeOrderedSections.ct-home-ordered {gap:var(--ct-home-section-gap)!important;margin-top:0!important;}
.ct-workspace #home:has(#ctAdminHomeSettings) {--ct-home-section-gap:12px;}

/* v877: compact demo identity in the shared header, not a standalone panel. */
.ct-school-identity.ct-sh-demo .ct-sh-layout{align-items:flex-start;}
.ct-school-identity.ct-sh-demo .ct-sh-demo-role{font-size:14px;font-weight:700;color:#173b63;line-height:1.35;overflow-wrap:anywhere;margin-top:3px;}
.ct-school-identity.ct-sh-demo .ct-sh-actions{flex-wrap:wrap;justify-content:flex-end;max-width:48%;white-space:normal;}
.ct-school-identity.ct-sh-demo a.ct-sh-demo-return{font-size:13px;line-height:1.2;text-align:center;padding:7px 10px;white-space:normal;}
@media(max-width:600px){
 .ct-school-identity.ct-sh-demo .ct-sh-demo-role{font-size:12px;}
 .ct-school-identity.ct-sh-demo .ct-sh-school,.ct-school-identity.ct-sh-demo .ct-sh-classroom{white-space:normal!important;overflow:visible;}
 .ct-school-identity.ct-sh-demo .ct-sh-actions{max-width:42%;}
 .ct-school-identity.ct-sh-demo a.ct-sh-demo-return{font-size:11px;padding:6px 8px;}
}

/* v878: demo identity directly beneath the return action. */
.ct-school-identity.ct-sh-demo .ct-sh-demo-controls{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;max-width:100%;}
.ct-school-identity.ct-sh-demo .ct-sh-demo-role{text-align:center;margin-top:0;font-size:13px;line-height:1.3;}
.ct-school-identity.ct-sh-demo .ct-sh-demo-role span{display:block;}
@media(max-width:600px){.ct-school-identity.ct-sh-demo .ct-sh-demo-role{font-size:11px;}.ct-school-identity.ct-sh-demo .ct-sh-demo-controls{gap:5px;}}

/* v879: all visible Teacher Home settings share one gap; no extra order-panel margins. */
.ct-workspace #home > #ctTeacherTopSections > #ctTeacherHomeOrder {margin:0!important;width:100%;max-width:100%;box-sizing:border-box;}
.ct-workspace #home > #ctTeacherTopSections > #ctClassroomNoticeControls {margin:0!important;}
.ct-workspace #home > #ctTeacherTopSections > #ctParentWelcomePanel {margin:0!important;}

/* v1.1.886: consistent 18px action labels; not ordinary navigation or content links. */
body :is(button,input[type="button"],input[type="submit"],input[type="reset"],a.action,a.btn,a.button,a[role="button"],a.ct-demo-options-button,a.ct-sh-demo-return,a.splash-primary,a.splash-login,a.new-demo,a.utility,a.ct-demo-orange-action,a.adm-btn,a.ct-ui-action,a.ct-dir-btn,a.fb-btn,a.er-btn,a.ctinv-btn,a.tw-btn,a.ct-att-btn,a.ct-da-button,a.ct-email-button,a.ct-migrate-btn,a.imp-btn,a.ef-btn,a.sc-btn,a.care-btn,a.bf-btn,a.ct-msg-action,a.ct-primary-action,a.news-btn,a.ct-new,a.ctbutton,a.ct-document-open,a.su-primary,a.ct-sh-admin-home) {font-size:clamp(1rem, calc(0.875rem + 0.5vw), 1.125rem)!important;}

/* v1.1.888: content-sized action buttons, including grid/column forms. */
body :is(button,input[type="button"],input[type="submit"],input[type="reset"],a[role="button"],a.action,a.btn,a.button,a.adm-btn,a.ct-ui-action,a.ct-dir-btn,a.fb-btn,a.er-btn,a.ctinv-btn,a.tw-btn,a.ct-att-btn,a.ct-da-button,a.ct-email-button,a.ct-migrate-btn,a.imp-btn,a.ef-btn,a.sc-btn,a.care-btn,a.bf-btn,a.ct-msg-action,a.ct-primary-action,a.news-btn,a.ct-new,a.ctbutton,a.ct-document-open,a.su-primary,a.splash-primary,a.splash-login,a.new-demo,a.utility,a.ct-demo-options-button,a.ct-sh-admin-home):not(.ct-post-move-arrow):not(.ct-home-toggle) {max-width:96%!important;box-sizing:border-box;}
body :is(input[type="submit"],input[type="button"],input[type="reset"],a.action,a.btn,a.button,a.adm-btn,a.ct-ui-action,button.action,button.btn,button.adm-btn,a.splash-primary,a.splash-login):not(.ct-post-move-arrow):not(.ct-home-toggle):not(.role-panel button) {width:fit-content!important;justify-self:start;align-self:start;}
#home #ctSchoolContacts .ct-school-info-fields > input[type="submit"] {width:fit-content!important;max-width:96%!important;justify-self:start;align-self:start;min-width:0!important;}

/* v891: keep the notice list inside the Teacher Classroom Notice fold. */
#home #ctClassroomNoticeControls #ctClassroomNoticesPanel:not(:has(.ct-home-banner)):not(:has(#classroomNotices > *)){display:none!important;}
#home #ctClassroomNoticeControls #ctClassroomNoticesPanel > .ct-home-banner {margin:0 0 12px!important;}


/* v893: keep the demo return label on one line at the shared 18px size.
   Reserve its intrinsic width; on narrow devices allow the header groups
   to wrap rather than letting the button text wrap or overflow. */
.ct-school-identity.ct-sh-demo .ct-sh-actions{max-width:100%;min-width:0;flex:0 0 auto;}
.ct-school-identity.ct-sh-demo .ct-sh-demo-controls{flex:0 0 auto;max-width:100%;}
.ct-school-identity.ct-sh-demo a.ct-sh-demo-return{white-space:nowrap!important;width:max-content!important;max-width:none!important;flex:none;}
@media(max-width:600px){
 .ct-school-identity.ct-sh-demo .ct-sh-layout{flex-wrap:wrap;}
 .ct-school-identity.ct-sh-demo .ct-sh-names{flex:1 1 90px;}
 .ct-school-identity.ct-sh-demo .ct-sh-actions{max-width:100%;}
}

/* v895: keep demo controls at intrinsic width and wrap the header groups. */
.ct-school-identity.ct-sh-demo .ct-sh-layout{flex-wrap:wrap!important;}
.ct-school-identity.ct-sh-demo .ct-sh-actions{flex:0 1 auto!important;max-width:100%!important;flex-wrap:wrap!important;}
.ct-school-identity.ct-sh-demo .ct-sh-demo-controls{min-width:max-content!important;max-width:none!important;flex:0 0 auto!important;}
.ct-school-identity.ct-sh-demo a.ct-sh-demo-return{display:inline-block!important;min-width:max-content!important;white-space:nowrap!important;width:max-content!important;max-width:none!important;}

/* v896: readable action labels, with room inside the border. */
body :is(a.action,a.btn,a.button,a[role="button"],a.ct-demo-options-button,a.splash-primary,a.splash-login,a.new-demo,a.utility,a.ct-demo-orange-action,a.adm-btn,a.ct-ui-action,a.ct-dir-btn,a.fb-btn,a.er-btn,a.ctinv-btn,a.tw-btn,a.ct-att-btn,a.ct-da-button,a.ct-email-button,a.ct-migrate-btn,a.imp-btn,a.ef-btn,a.sc-btn,a.care-btn,a.bf-btn,a.ct-msg-action,a.ct-primary-action,a.news-btn,a.ct-new,a.ctbutton,a.ct-document-open,a.su-primary,button.action,button.btn,button.adm-btn,.role-panel button):not(.ct-post-move-arrow):not(.ct-home-toggle) {
 box-sizing:border-box!important; height:auto!important; min-height:2.3em; padding:0.5em 1.1em!important; line-height:1.2!important; white-space:normal; overflow-wrap:normal; word-break:normal; hyphens:none; text-align:center;
}
body :is(input[type="button"],input[type="submit"],input[type="reset"]) {box-sizing:border-box!important;height:auto!important;min-height:2.3em;padding:0.5em 1.1em!important;line-height:1.2!important;}
body :is(.ct-post-move-arrow,.ct-home-toggle,.ct-home-order-chevron) {font-size:1.125rem!important;}
.ct-school-identity.ct-sh-demo a.ct-sh-demo-return {white-space:nowrap!important;overflow-wrap:normal!important;line-height:1.2!important;padding:0.5em 1.1em!important;}

#ctFeaturedAlbum:has(#ctFeaturedAlbumSelect) #ctFeaturedViewAll{display:none!important;}

/* v1.1.927: shared public action controls. Action links opt in; navigation,
   disclosure summaries, calendar cells, and password visibility are not actions. */
:is(body.ct-demo-splash,body.ct-demo-roles,body.login-page) :is(a.splash-login,a.splash-primary,button.ct-ui-action,a.ct-ui-action,input.login-submit){
 display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box!important;
 border:1px solid var(--ct-ui-orange-border)!important;border-radius:var(--ct-ui-action-radius)!important;
 background:linear-gradient(var(--ct-ui-orange-top),var(--ct-ui-orange-bottom))!important;color:#fff!important;
 box-shadow:inset 0 1px 1px #fff5,0 2px 0 var(--ct-ui-orange-base),0 4px 6px #0002!important;
 font-weight:700!important;line-height:1.2!important;text-align:center;text-decoration:none!important;
 padding:.5em .9em!important;min-height:2.3em;max-width:100%!important;height:auto!important;cursor:pointer;
 transition:filter .12s ease,transform .12s ease,box-shadow .12s ease;
}
:is(body.ct-demo-splash,body.ct-demo-roles,body.login-page) :is(a.splash-login,a.splash-primary,button.ct-ui-action,a.ct-ui-action,input.login-submit):focus-visible{outline:3px solid var(--ct-ui-navy);outline-offset:3px}
@media(hover:hover){:is(body.ct-demo-splash,body.ct-demo-roles,body.login-page) :is(a.splash-login,a.splash-primary,button.ct-ui-action,a.ct-ui-action,input.login-submit):not(:disabled):hover{filter:brightness(1.08)}}
:is(body.ct-demo-splash,body.ct-demo-roles,body.login-page) :is(a.splash-login,a.splash-primary,button.ct-ui-action,a.ct-ui-action,input.login-submit):not(:disabled):active{transform:translateY(2px);box-shadow:inset 0 1px 3px #0003!important}
:is(body.ct-demo-roles,body.login-page) :is(button.ct-ui-action,input.login-submit):disabled{background:#dae3eb!important;color:#5d7183!important;border-color:#bacbd8!important;box-shadow:none!important;cursor:not-allowed;transform:none!important;filter:none!important}
body.ct-demo-roles :is(button,a).ct-action-secondary:not(:disabled){background:linear-gradient(#fff,#e8eff6)!important;color:var(--ct-ui-navy)!important;border-color:#8ca7ba!important;box-shadow:0 2px 0 #8ca7ba,0 4px 6px #0001!important}
body.ct-demo-roles .demo-actions .utility{margin:0;font-size:14px!important}
body.ct-demo-roles .role-panel button.ct-ui-action{margin:0;width:auto!important;max-width:100%!important;min-height:44px}
body.ct-demo-roles main > .role-panel button.ct-ui-action{width:230px!important;max-width:100%!important;min-height:46px}
body.ct-demo-roles a.new-demo{margin:10px 0}
body.ct-demo-splash .splash-top nav{flex:0 0 auto!important;min-width:max-content!important}
body.ct-demo-splash .splash-top .splash-logo-brand{min-width:0;flex:1 1 auto}
body.ct-demo-splash .splash-top .splash-logo-brand img{max-width:100%;height:auto}
body.ct-demo-splash :is(a.splash-login,a.ct-login-action){flex:0 0 auto!important;width:max-content!important;min-width:max-content!important;max-width:none!important;white-space:nowrap!important;overflow-wrap:normal!important}
body.ct-demo-splash .splash-actions a.splash-demo-cta{width:auto!important;min-width:0!important;min-height:54px;font-size:19px!important;gap:0;padding:15px 24px!important;flex-shrink:0;white-space:normal!important}
body.ct-demo-splash .splash-demo-cta :is(.ct-demo-label-part,.ct-demo-label-dash){white-space:nowrap;flex:none}
body.ct-demo-splash .splash-demo-cta.ct-demo-label-stacked{flex-direction:column}
body.ct-demo-splash .splash-demo-cta.ct-demo-label-stacked .ct-demo-label-dash{display:none}
body.login-page .login-card input.login-submit{white-space:nowrap!important;overflow-wrap:normal!important;width:max-content!important;min-width:8em!important;padding:.5em 1.1em!important}
@media(max-width:540px){body.ct-demo-splash .splash-top-inner{gap:8px}body.ct-demo-splash .splash-top nav a.splash-login{font-size:14px!important}}
@media(max-width:480px){body.ct-demo-splash .splash-actions a.splash-demo-cta{flex-direction:column;padding-inline:12px!important}body.ct-demo-splash .splash-demo-cta .ct-demo-label-dash{display:none}body.ct-demo-splash .splash-demo-cta .ct-demo-label-part{white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:none}}
@media(prefers-reduced-motion:reduce){:is(body.ct-demo-splash,body.ct-demo-roles,body.login-page) :is(a.splash-login,a.splash-primary,button.ct-ui-action,a.ct-ui-action,input.login-submit){transition:none!important;transform:none!important}}

/* v1.1.930: shared secondary action for the email composer. */
.ct-email-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:8px}
.ct-email-actions .ct-email-button{margin:0;display:inline-flex;align-items:center;justify-content:center;font:700 15px/1.2 Arial,Helvetica,sans-serif}
.ct-email-actions a.ct-action-secondary{background:linear-gradient(#fff,#e8eff6)!important;color:var(--ct-ui-navy)!important;border:1px solid #8ca7ba!important;border-radius:var(--ct-ui-action-radius)!important;box-shadow:0 2px 0 #8ca7ba,0 4px 6px #0001!important;text-decoration:none!important}
.ct-email-actions a.ct-action-secondary:focus-visible{outline:3px solid var(--ct-ui-navy);outline-offset:3px}
@media(hover:hover){.ct-email-actions a.ct-action-secondary:hover{filter:brightness(.97)}}

/* v1.1.937: reusable Parent Home panel appearance for Class List and Calendar.
   Use the same theme variables as Home; opt in with ct-home-style-panel. */
@media screen {
 :is(.ct-workspace,#newsletterApp) .ct-home-style-panel.ct-home-style-panel {
  box-sizing:border-box; background:var(--ct-ui-panel-bg)!important;
  border:1px solid var(--ct-home-panel-border)!important;
  border-radius:var(--ct-home-panel-radius)!important;
  padding:var(--ct-home-panel-padding)!important;box-shadow:none!important;min-width:0;
 }
 :is(.ct-workspace,#newsletterApp) .ct-home-style-panel.ct-home-style-panel > :is(.ct-dir-panel-head,.ct-home-style-heading) {
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  background:var(--ct-ui-navy)!important;color:#fff!important;
  border-radius:11px 11px 0 0!important;
  margin:calc(-1 * var(--ct-home-panel-padding)) calc(-1 * var(--ct-home-panel-padding)) 12px!important;
  padding:13px 16px!important;font-size:19px!important;font-weight:700!important;line-height:1.2;box-sizing:border-box;
 }
 :is(.ct-workspace,#newsletterApp) .ct-home-style-panel > .ct-dir-panel-head > h2 {display:flex;align-items:center;gap:11px;min-width:0;margin:0!important;font-size:19px!important;font-weight:700!important;color:white!important;}
 :is(.ct-workspace,#newsletterApp) .ct-home-style-panel > .ct-dir-panel-head > span {color:white!important;overflow-wrap:anywhere;}
 :is(.ct-workspace,#newsletterApp) .ct-home-style-panel .ct-panel-heading-icon {display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:13px;background:#eaf6f1;color:#173b63!important;font-size:24px!important;line-height:1;}
 :is(.ct-workspace,#newsletterApp) .ct-home-style-panel .ct-panel-heading-icon.calendar-icon {background:#eaf2fc;}
 .ct-calendar-main .ct-home-style-panel #ctUpcoming .ct-home-list-month {background:var(--ct-home-inset-bg)!important;border:1px solid var(--ct-home-inset-border)!important;border-radius:var(--ct-home-inset-radius)!important;padding:12px!important;box-shadow:none!important;}
 @media(max-width:520px){
  .ct-calendar-main .ct-home-style-panel.ct-calendar-card {padding:7px!important;}
  .ct-calendar-main .ct-home-style-panel.ct-calendar-card > .ct-home-style-heading {margin:-7px -7px 12px!important;}
 }
}
@media print {.ct-list-main .ct-panel-heading-icon{display:none!important;}}

/* v1.1.941: opt-in introductory Home-style panel and shared primary action link. */
@media screen {
 .ct-workspace .ct-home-style-intro {margin:16px 0 20px!important;}
 .ct-workspace .ct-home-style-intro > p:last-child {margin-bottom:0;}
 .ct-workspace .ct-info-main .ct-doc-db-sections > .ct-home-style-panel.ct-home-style-panel {padding:var(--ct-home-panel-padding)!important;border:1px solid var(--ct-home-panel-border)!important;border-radius:var(--ct-home-panel-radius)!important;box-shadow:none!important;}
}
body a.ct-ui-orange-link {display:inline-flex;align-items:center;justify-content:center;min-height:2.3em;padding:.45em .7em!important;line-height:1.2!important;font-size:clamp(1rem,calc(.875rem + .5vw),1.125rem)!important;text-align:center;}

/* v1.1.942: newsletter list uses shared Home panels and compact actions. */
#newsletterApp .ct-news-back-documents{width:max-content!important;max-width:100%!important;white-space:nowrap!important;overflow-wrap:normal!important;flex:0 0 auto;}
#newsletterApp .news-listitem > .ct-ui-action{align-self:flex-start;width:fit-content!important;}
#newsletterApp #newsReaderStatus[hidden]{display:none!important;}

/* v1.1.944: action labels may wrap at spaces, never within words. */
body :is(button,input[type="button"],input[type="submit"],input[type="reset"],a.action,a.btn,a.button,a[role="button"],a.ct-demo-options-button,a.ct-sh-demo-return,a.splash-primary,a.splash-login,a.new-demo,a.utility,a.ct-demo-orange-action,a.adm-btn,a.ct-ui-action,a.ct-dir-btn,a.fb-btn,a.er-btn,a.ctinv-btn,a.tw-btn,a.ct-att-btn,a.ct-da-button,a.ct-email-button,a.ct-migrate-btn,a.imp-btn,a.ef-btn,a.sc-btn,a.care-btn,a.bf-btn,a.ct-msg-action,a.ct-primary-action,a.news-btn,a.ct-new,a.ctbutton,a.ct-document-open,a.su-primary,a.ct-sh-admin-home,a.ct-row-action,a.ct-ui-orange-link) {
 overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;
}
/* Explicit text-bearing action links need room for the longest complete word. */
body :is(a.ct-document-open,a.news-btn,a.ct-ui-action,a.ct-row-action,a.ct-ui-orange-link) {min-width:min-content;}
#newsletterApp .ct-news-top-actions {justify-content:flex-end;}
#newsletterApp .ct-news-top-actions > .news-buttons {justify-content:flex-end;margin-left:auto;max-width:100%;}
#newsletterApp .ct-news-back-documents {order:10;}
/* Newsletter tables need an intrinsic action column rather than equal fixed
   columns. The Type column is redundant under the Newsletters heading on phones. */
.ct-info-main .ct-doc-db-sections .ct-newsletter-doc-section .ct-document-table {table-layout:auto;min-width:0;width:100%;}
.ct-info-main .ct-doc-db-sections .ct-newsletter-doc-section .ct-document-table :is(th,td):first-child {min-width:0;width:auto;}
.ct-info-main .ct-doc-db-sections .ct-newsletter-doc-section .ct-document-table :is(th,td):last-child {width:1%;overflow-wrap:normal;word-break:normal;}
.ct-info-main .ct-doc-db-sections .ct-newsletter-doc-section a.ct-document-open {min-width:min-content;max-width:none!important;overflow-wrap:normal!important;word-break:normal!important;white-space:normal!important;hyphens:none!important;}
.ct-info-main .ct-doc-db-sections .ct-newsletter-doc-section .ct-document-table-scroll {padding-bottom:4px;}
@media(max-width:650px){
 .ct-info-main .ct-doc-db-sections .ct-newsletter-doc-section .ct-document-table :is(th,td):nth-child(2) {display:none;}
 .ct-info-main .ct-doc-db-sections .ct-newsletter-doc-section .ct-document-table :is(th,td) {padding:8px 6px;}
 .ct-info-main .ct-doc-db-sections .ct-newsletter-doc-section .ct-document-table :is(th,td):nth-child(3) {overflow-wrap:normal;word-break:normal;}
}

/* v945: shared resource panel heading contents. */
@media screen { .ct-home-style-heading .ct-custom-section-heading,.ct-home-style-heading .ct-teacher-resources-note {color:#fff!important;margin:0!important;} .ct-home-style-heading .ct-custom-section-heading {display:flex!important;align-items:center;gap:10px;font-size:19px!important;} .ct-home-style-heading .ct-custom-section-image {order:-1;width:42px!important;height:42px!important;} }

/* v1.1.946: parent tuition summaries, shared across Resources and account details. */
.ct-tuition-summary{border:1px solid #cbdde9;border-radius:10px;padding:14px;margin:12px 0;background:#fff;min-width:0}
.ct-tuition-summary h3{margin:0 0 5px;color:var(--ct-ui-navy);font-size:18px}.ct-tuition-summary h4{font-size:16px;margin:0 0 6px;color:var(--ct-ui-navy)}
.ct-tuition-date,.ct-tuition-notice{font-size:13px;color:#526e83;margin:6px 0 10px}
.ct-tuition-totals{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 12px;max-width:560px;margin:10px 0 14px;color:#173b63}
.ct-tuition-totals dt,.ct-tuition-totals dd{padding:8px 0;margin:0;border-bottom:1px solid #dbe6ee}.ct-tuition-totals dd{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.ct-tuition-balance{font-weight:700;font-size:1.1em}
.ct-tuition-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ct-tuition-actions button:disabled{background:#e5e9ed!important;border:1px solid #a9b4bf!important;color:#58636d!important;border-radius:var(--ct-ui-action-radius);padding:.45em .7em;box-shadow:none!important;cursor:not-allowed}
.ct-tuition-ledger-scroll{overflow-x:auto;max-width:100%}
@media print{.ct-tuition-actions{display:none!important}.ct-tuition-summary{border:0;padding:0}.ct-tuition-ledger-scroll{overflow:visible}}

/* v1.1.951: a consistent blank white footer on collapsed blue-header panels.
   Preserve existing expanded/collapsed behavior and print layout. */
@media screen {
 :root {--ct-collapsed-panel-footer:12px;--ct-resource-panel-gap:17px;}
 .ct-workspace .ct-parent-resource-folds .ct-resource-folded.ct-home-style-panel.ct-home-style-panel {
  padding-bottom:var(--ct-collapsed-panel-footer)!important;
  background:white!important;
 }
 .ct-workspace .ct-parent-resource-folds .ct-resource-folded.ct-home-style-panel.ct-home-style-panel > .ct-home-style-heading {
  margin-bottom:0!important;border-radius:11px 11px 0 0!important;
 }
 #home :is(#ctFeaturedAlbum,#news,#ctHomeNewsRemainder,#pnlSchoolNews,#ctSchoolContacts,#calendar,.ct-user-section).ct-home-collapsed {
  padding-bottom:var(--ct-collapsed-panel-footer)!important;background:white!important;
 }
 #home :is(#ctFeaturedAlbum,#news,#ctHomeNewsRemainder,#pnlSchoolNews,#ctSchoolContacts,#calendar,.ct-user-section).ct-home-collapsed > :is(.section-header,.section-title,.ct-featured-heading,.ct-home-fold-heading) {
  margin-bottom:0!important;border-radius:11px 11px 0 0!important;
 }
 .ct-workspace #home #calendar.ct-home-foldable.ct-home-collapsed {padding-bottom:var(--ct-collapsed-panel-footer)!important;}
 #home :is(.ct-home-settings-fold,#ctTeacherHomeOrder) > details:not([open]) {padding-bottom:var(--ct-collapsed-panel-footer)!important;background:white!important;}
 #home :is(.ct-home-settings-fold,#ctTeacherHomeOrder) > details:not([open]) > summary {border-radius:11px 11px 0 0!important;}
 /* School administration's major blue headers, not its pale nested categories. */
 body.ct-school-admin section.adm-card.ct-collapsible.ct-folded:not(#ctRoleAjaxPanel) {background:white!important;padding-bottom:var(--ct-collapsed-panel-footer)!important;}
 body.ct-school-admin section.adm-card.ct-collapsible.ct-folded:not(#ctRoleAjaxPanel) > h2 {margin-bottom:0!important;border-radius:11px 11px 0 0!important;overflow:hidden;}
 /* Parent Resources: a single gap, with no extra margins on nested wrappers. */
 .ct-workspace .ct-parent-resource-folds {display:flex;flex-direction:column;gap:var(--ct-resource-panel-gap)!important;}
 .ct-workspace .ct-parent-resource-folds > #more-page-introduction {margin-bottom:0!important;}
 .ct-workspace .ct-parent-resource-folds :is(.ct-home-style-panel,.ct-parenting-resources,.ct-more-custom-sections,.ct-info-grid) {margin:0!important;max-width:100%;width:100%;box-sizing:border-box;}
 .ct-workspace .ct-parent-resource-folds :is(.ct-more-custom-sections,.ct-info-grid,.ct-parenting-async-wrap) {gap:var(--ct-resource-panel-gap)!important;}
 .ct-workspace .ct-parent-resource-folds .ct-parenting-async-wrap > div {display:grid;gap:var(--ct-resource-panel-gap);}
 .ct-workspace .ct-parent-resource-folds :is(.ct-more-custom-sections,.ct-parenting-async-wrap):not(:has(.ct-home-style-panel,[role="status"])) {display:none!important;}
}

/* v1.1.952 shared blue panel folding, screen only. */
@media screen {
 #home .ct-home-daily.ct-home-collapsed {padding-bottom:var(--ct-collapsed-panel-footer,12px)!important;background:white!important;}
 #home .ct-home-daily.ct-home-collapsed > .ct-home-daily-heading {margin-bottom:0!important;border-radius:11px 11px 0 0!important;}
 .ct-shared-foldable.ct-resource-folded {padding-bottom:var(--ct-collapsed-panel-footer,12px)!important;background:white!important;}
 .ct-shared-foldable.ct-resource-folded > :not(.ct-shared-fold-heading){display:none!important;}
 .ct-shared-foldable.ct-resource-folded > .ct-shared-fold-heading{margin-bottom:0!important;border-radius:11px 11px 0 0!important;}
 .ct-shared-fold-heading {display:flex!important;align-items:center;gap:10px;flex-wrap:wrap;}
 body .ct-shared-fold-heading > button.ct-resource-fold-toggle {margin-left:auto!important;flex:0 0 38px!important;width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;display:inline-grid!important;place-items:center!important;border:1px solid #ffffff80!important;border-radius:8px!important;background:transparent!important;color:white!important;box-shadow:none!important;font-size:22px!important;line-height:1!important;cursor:pointer;}
 .ct-shared-fold-heading > button:focus-visible{outline:2px solid white!important;outline-offset:2px;}
}
@media print{.ct-resource-fold-toggle{display:none!important;}}
.ct-resource-conversation{border:1px solid #d4e3eb;border-radius:9px;background:#fff;padding:12px;margin:10px 0;min-width:0;}
.ct-resource-conversation-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap;}
.ct-resource-conversation small{display:block;color:#526e83;font-size:12px;}
.ct-resource-message{border-top:1px solid #e0e9ef;padding:10px 0;overflow-wrap:anywhere;white-space:pre-wrap;}

/* v1.1.953: folded panels must override legacy directory/gallery display rules. */
@media screen {
 .ct-workspace .ct-shared-foldable.ct-resource-folded > #classListTable[data-compact-parent="true"],
 .ct-workspace .ct-shared-foldable.ct-resource-folded > .ct-outside-section-actions,
 .ct-workspace .ct-shared-foldable.ct-resource-folded > .gallery-hero-actions {display:none!important;}
 .ct-workspace .ct-home-style-panel.ct-shared-foldable.ct-resource-folded {padding-bottom:var(--ct-collapsed-panel-footer,12px)!important;}
 .ct-workspace .ct-home-style-panel.ct-shared-foldable.ct-resource-folded > .ct-shared-fold-heading {margin-bottom:0!important;}
 .ct-workspace .ct-gallery-card.ct-home-style-panel.ct-home-style-panel {padding:var(--ct-home-panel-padding)!important;}
 .ct-workspace .ct-gallery-card.ct-home-style-panel.ct-home-style-panel > .gallery-topline.ct-home-style-heading {margin:calc(-1 * var(--ct-home-panel-padding)) calc(-1 * var(--ct-home-panel-padding)) 12px!important;}
 .ct-workspace .ct-gallery-card.ct-home-style-panel.ct-resource-folded > .gallery-topline.ct-home-style-heading {margin-bottom:0!important;}
 .ct-workspace .gallery-topline.ct-home-style-heading h2,.ct-workspace .gallery-topline.ct-home-style-heading p {color:white!important;}
}

/* v1.1.954: keep the parent articles toggle on the heading row. */
@media screen {
 .ct-workspace #parenting-guides.ct-home-style-panel > h2.ct-home-style-heading {display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;}
 .ct-workspace #parenting-guides .ct-parent-articles-title {min-width:0;overflow-wrap:normal;word-break:normal;}
 .ct-workspace #parenting-guides > h2 > .ct-resource-fold-toggle {grid-column:3;grid-row:1;align-self:start;margin-left:0!important;}
}

/* v1.1.955: Documents introduction uses the shared fold control. */
@media screen {
 .ct-workspace .ct-intro-foldable > .ct-shared-fold-heading {display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;}
 .ct-workspace .ct-intro-foldable > .ct-shared-fold-heading > .ct-resource-fold-toggle {grid-column:3;grid-row:1;align-self:start;margin-left:0!important;}
 .ct-workspace .ct-intro-foldable.ct-resource-folded > .ct-shared-fold-heading {margin-bottom:0!important;}
}

/* v1.1.961: classroom-created sections share the collapsible header layout. */
@media screen {
 #home .ct-user-section > .ct-custom-section-heading,
 .ct-workspace .ct-classroom-created-panel > .ct-section-heading-row {display:flex!important;flex-wrap:nowrap!important;align-items:flex-start!important;gap:10px;}
 #home .ct-user-section > .ct-custom-section-heading > span,
 .ct-workspace .ct-classroom-created-panel > .ct-section-heading-row > .ct-section-heading-copy {flex:1 1 0;min-width:0;overflow-wrap:anywhere;}
 #home .ct-user-section > .ct-custom-section-heading > .ct-home-toggle,
 .ct-workspace .ct-classroom-created-panel > .ct-section-heading-row > .ct-resource-fold-toggle {flex-shrink:0!important;margin-left:auto!important;align-self:flex-start;}
 .ct-workspace .ct-classroom-created-panel.ct-resource-folded > :not(.ct-shared-fold-heading) {display:none!important;}
 .ct-workspace .ct-classroom-created-panel.ct-resource-folded {padding-bottom:var(--ct-collapsed-panel-footer,12px)!important;background:white!important;}
}

/* Compact table action variant; inherits the shared raised orange treatment. */
body .ct-ui-table a.ct-ui-action.ct-ui-action-compact:not(.ct-post-move-arrow):not(.ct-home-toggle){display:inline-flex;align-items:center;justify-content:center;font-size:14px!important;min-height:30px!important;padding:4px 10px!important;white-space:nowrap!important;max-width:100%!important;vertical-align:middle;text-decoration:none;}
