@import url("https://webapps.pcrsoft.com/Clue/ApplicationFiles/Poly/Style/css/website07292026.css?v=20261113");
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');   /* the school's portal font before the rebase */

/* ====================================================================
   CAYMAN INTERNATIONAL SCHOOL (app 213) - tenant skin
   Deploys to: Z:\pcrfiles\Cayman\Style\css\website08312026.css
   (the Core master 71135 links that name; edit in place, no new dated file).
   Source of truth: C:\Projects\Shared\CMS\Cayman\CIS_Portal_Skin.css

   2026-11-05 (Maria: "a more advanced rebranded, elevated, sophisticated
   look"; then "use the current logo but invert colors when necessary to
   allow for the dark header": masthead option C; then, after the reversed
   lockup pixelated on 2x screens, "switch back to the design with white
   background": masthead option B, the school's own full-color logo on white;
   then the school asked for the dark blue back with the original logo, not a
   modified one, and the font they had before the rebase: masthead option D,
   Raleway throughout). Rebased from the 2021 legacy base onto the Poly Distilled base
   website07292026.css per cms-tenant-distilled-rebase.md. Tokens map to
   cis.ky: navy #011E62, lime #97C63A, sage #F7FBEF. Font: Raleway throughout
   (school request; it replaced Montserrat and the base's Cormorant titles).
   Replaces the 2026-08/09 skin, which styled by ID (Logins, LoginsRow,
   QuickLinksColumn, myBCHSColumn ids); every rule here uses stable classes.

   :not(#__never__) is a specificity device only (it selects nothing).
   ==================================================================== */


/* ---------- 1. Tokens ----------
   Contrast (tools\contrast.mjs): white on navy 15.4:1; lime on navy 7.67:1;
   lime on white 2.01:1 FAIL, so lime is for marks on navy only and
   --school-gold-dark (#4B7D1A, 4.94:1 on white, 4.71:1 on sage) carries
   every accent mark or text on a light ground. Navy on lime 7.67:1. */
:root {
    --school-navy:      #011E62;     /* CIS navy (cis.ky, seal disc) */
    --school-navy-2:    #0a2c7a;
    --school-navy-deep: #00143f;
    --school-gold:      #97C63A;     /* CIS lime: rules and marks on navy only */
    --school-gold-dark: #4B7D1A;     /* deep lime for marks and text on white */
    --school-gold-soft: #F7FBEF;     /* CIS sage (cis.ky section ground) */
    --sans:  'Raleway', Arial, Helvetica, sans-serif;   /* 2026-11-05 school request: the font they had before the rebase */
    --serif: 'Raleway', Arial, Helvetica, sans-serif;   /* titles too (the old skin set --title-font to Raleway) */

    --school-navy-filter:      brightness(0) saturate(100%) invert(5%) sepia(96%) saturate(6112%) hue-rotate(224deg) brightness(94%) contrast(99%);
    --school-gold-dark-filter: brightness(0) saturate(100%) invert(40%) sepia(37%) saturate(949%) hue-rotate(48deg) brightness(93%) contrast(85%);

    --color1: #011E62;
    --color3: #011E62;
    --common-font: var(--sans);
    --accent-font: var(--sans);
    --title-font:  var(--serif);

    --cis-seal: url("../images/cis-seal.svg");   /* the school's own seal, cis.ky/Images/img/global/logo.svg (footer) */
}

.mobilemenu .nav {
    --navy:       #011E62;
    --navy-2:     #0a2c7a;
    --navy-deep:  #00143f;
    --navy-inset: #001a55;
    --gold:       #97C63A;
}


/* ---------- 2. Logo ----------
   Header: the school's seal with its name set as text, on the navy masthead (14.2).
   cis_logo.png stays only as the plain .logoLink fallback below.
   Footer: the old file pointed at bertschilogofooter.png (another school's
   name, 404). The seal works on navy as it is (cis.ky shows it on navy), so
   the base's white-knockout filter is switched off for it. */
.logoLink {
    background-image: url(../images/cis_logo.png);
}
.logoLinkFooter:not(#__never__) {
    background-image: var(--cis-seal) !important;   /* !important: base sizes and paints it with !important */
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    filter: none !important;                        /* the knockout would turn the navy disc white */
}

/* ---------- 3. Literals the tokens cannot reach ---------- */
/* Application Form fee captions (base: color #0a2540 literal) */
body:has(.FeeCaption) .textContent h3 { color: var(--school-navy); }
/* Logout: the base outlines it in Distilled gold (rgba literal) */
a.Logout { border-color: rgba(151,198,58,0.45) !important; }   /* !important: base border is !important */


/* ---------- 6. Section headers in content (.control-header) ----------
   Base: a 2px gold rule across the full column. CIS lime is a bright
   yellow (2.01:1 on white), so the full-width rule shouted. A hairline with
   a short deep-lime mark at its start, as under the panel titles. */
.ContentLayout .control-header {
    border-bottom: 1px solid var(--line) !important;   /* !important: base rule is !important */
    background: linear-gradient(var(--school-gold-dark), var(--school-gold-dark)) left bottom / 44px 2px no-repeat;
}


/* ---------- 7. Application Form invitations list ----------
   Desktop and tablet (list wider than 600px): the action cell keeps its
   buttons on one line and takes the width it needs. The base lets the
   labels wrap, so the table gave the cell 251px for 361px of buttons and
   "I/We do NOT wish to enroll" was cut off by the list's scroll box.
   At 600px and below the base's stacked rows take over unchanged. */
@container (min-width: 601px) {
    :not(.SubmitSummary) > span.error + .GridViewWrap td:last-child:has(input[type="submit"]) {
        width: 1%;
        white-space: nowrap;
    }
    :not(.SubmitSummary) > span.error + .GridViewWrap td:last-child input[type="submit"]:not(#__never__) {
        white-space: nowrap !important;            /* !important: base wrap rule is !important */
    }
}


/* ---------- 8. Calendar (month view) ----------
   Out-of-month dates: base #c2c6cc measured 1.36:1 on their cell (sweep
   2026-11-05). Muted ink on a pale cell is 5.1:1 and still reads as "not
   this month". Today wash uses CIS lime (base: Distilled gold literal). */
.RadScheduler_Silk .rsContentTable td.rsOtherMonth:not(#__never__) {
    background: #f5f6f8 !important;              /* !important: base cell color is !important */
}
.RadScheduler_Silk .rsContentTable td.rsOtherMonth .rsDateHeader:not(#__never__) {
    color: var(--muted) !important;               /* !important: base #c2c6cc is !important */
}
/* The out-of-month date sits on its own #e5e5e5 box (4.35:1); let the pale cell show (5.1:1).
   Ported from the template, section 8 (Newport needed it after its post-deploy sweep). */
.RadScheduler_Silk .rsContentTable td.rsOtherMonth .rsDateBox:not(#__never__) {
    background: transparent !important;          /* !important: skin box color is !important */
}
.RadScheduler_Silk .rsContentTable td.rsTodayCell:not(#__never__) {
    background: rgba(151, 198, 58, 0.14) !important;
}


/* ---------- 9. Centered nav and section nav ----------
   Each item carries a one-sided left padding (section nav: 16px !important
   in the 2021 base, ".Submenuwrapper li"; nav: 15px), so the centered row
   of links sat 7.5 to 8px right of the bar's center line (sweep 2026-11-05,
   live and candidate alike). The same space split evenly: identical gaps,
   true center. Horizontal bars only; the phone drawer is untouched. */
@media (min-width: 769px) {
    .MenuColumn .menuDefaultNavWrapper > ul > li:not(#__never__) {
        padding-left: 7.5px !important;           /* !important: base padding-left is !important */
        padding-right: 7.5px !important;
    }
    .SubmenuColumn .menuDefaultNavWrapper > ul > li:not(#__never__) {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}


/* ---------- 10. Form step bar (Application Form menu in MenuColumn) ----------
   The base marks the current step with an empty ring in Distilled beige
   (#c9a86a literal), so it read as a stray radio button, and it rings every
   step after the current one even when that step is complete. The page marks
   a complete step by putting the check drawing inside .checkmark, so:
     complete      lime disc, navy check (7.67:1)
     current       lime ring, lime step number
     still to do   quiet ring, step number
   Step numbers come from a CSS counter over the menu's own items. */
.MenuRow .menuDefaultNavWrapper > ul:has(> li > .checkmark) { counter-reset: cisstep; }
.MenuRow .menuDefaultNavWrapper > ul > li.MenuDefaultCss:has(> .checkmark) { counter-increment: cisstep; }
.MenuRow .menuDefaultNavWrapper > ul > li.MenuDefaultCss > .checkmark:not(#__never__):not(#__never2__) {
    box-sizing: border-box;
    width: 22px !important;                       /* !important: base rings are 18px, legacy box 22x58 */
    min-width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    border: 1px solid rgba(255,255,255,0.38) !important;
    border-radius: 50% !important;
    background: transparent !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0 !important;                      /* hides the &nbsp; text node */
    line-height: 0 !important;
    float: none !important;
    transform: none !important;
}
.MenuRow .menuDefaultNavWrapper > ul > li.MenuDefaultCss > .checkmark:not(#__never__):not(#__never2__) > * {
    display: none !important;                     /* legacy stem/kick drawing */
}
.MenuRow .menuDefaultNavWrapper > ul > li.MenuDefaultCss > .checkmark:not(#__never__):not(#__never2__)::before {
    content: counter(cisstep) !important;
    font: 600 11px/1 var(--sans) !important;
    letter-spacing: 0 !important;
    color: rgba(255,255,255,0.78) !important;
}
/* complete (and not the current step) */
.MenuRow .menuDefaultNavWrapper > ul > li.MenuDefaultCss:not(:has(> a.MenuDefaultSelectedNodeCss)) > .checkmark:has(> div):not(#__never__):not(#__never2__) {
    background: var(--school-gold) !important;
    border-color: var(--school-gold) !important;
}
.MenuRow .menuDefaultNavWrapper > ul > li.MenuDefaultCss:not(:has(> a.MenuDefaultSelectedNodeCss)) > .checkmark:has(> div):not(#__never__):not(#__never2__)::before {
    content: "\2713" !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--school-navy) !important;
}
/* current */
.MenuRow .menuDefaultNavWrapper > ul > li.MenuDefaultCss:has(> a.MenuDefaultSelectedNodeCss) > .checkmark:not(#__never__):not(#__never2__) {
    border: 1.5px solid var(--school-gold) !important;
}
.MenuRow .menuDefaultNavWrapper > ul > li.MenuDefaultCss:has(> a.MenuDefaultSelectedNodeCss) > .checkmark:not(#__never__):not(#__never2__)::before {
    color: var(--school-gold) !important;
}


/* ---------- 11. Checkboxes and radios take CIS navy ----------
   (the payment-option agreement box was the browser's default blue) */
.ContentLayout input[type="checkbox"],
.ContentLayout input[type="radio"] { accent-color: var(--school-navy); }
.formDiv .inputDiv.InputCheckBox input[type="checkbox"]:not(#__never__) {
    accent-color: var(--school-navy) !important;  /* !important: shared Clue sheet main10282026.css pins #1746a2 !important */
}


/* ---------- 12. News heading: the base centers its title, so the short gold
   mark from section 6 sits under the title instead of at the left edge. */
.ContentLayout .newsWrapper > .control-header {
    background-position: center bottom;
}

/* 12.2 Contrast fixes the sweep finds on every tenant (template section 12, as on Newport) */
/* Payment pages: the "All information is encrypted" note is an inline #a5a5a5 (2.46:1) */
.ContentLayout span[style*="#a5a5a5"] {
    color: var(--muted) !important;               /* !important: beats the inline style */
}
/* Overdue amounts and inline errors: pure red #ff0000 is 4:1 on white; deep red is 6.6:1 */
.ContentLayout .PastDuePayment .overdue,
.ContentLayout span.error {
    color: #b42318 !important;                    /* !important: legacy red rules are !important */
}



/* ---------- 13. Cayman-specific ---------- */

/* 13.1 One set of portal links, one Log out.
   Quick links widget 379457 (Parents / Staff) is Reusable and placed three
   times: the logins row, the header quick-links column and the phone strip.
   Log out renders three times too (body-level control, logins row, phone
   strip). Keep the logins-row copies, which show at every width; the guard
   (:has(... a)) means a role-trimmed logins row never hides the others.
   Replaces the old ID rules (Logins, QuickLinksColumn, myBCHSColumn). */
body:has(.LoginsLayout .menuDefaultNavWrapper a) .HeaderRow > .QuickLinksColumn .menuDefaultNavWrapper,
body:has(.LoginsLayout .menuDefaultNavWrapper a) .mobilemenu .menuDefaultNavWrapper {
    display: none !important;                     /* !important: base shows nav wrappers with !important */
}
body:has(.LoginsLayout a.Logout) a.Logout:not(.LoginsLayout a.Logout) {
    display: none !important;                     /* !important: base a.Logout display is !important */
}
/* The logins row: portal links and Log out on one line, vertically centered.
   The base positions a.Logout absolutely (it expects a stand-alone link) and the
   store master paints the inner row navy over the strip. */
.LoginsLayout .t-row:not(#__never__) { background: transparent !important; }   /* !important: legacy row color */
.LoginsLayout .t-col > div:has(> .menuDefaultNavWrapper) {
    display: flex !important;                     /* !important: base block !important */
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    min-height: 36px;
}
.LoginsLayout a.Logout:not(#__never__) {
    position: static !important;                  /* !important: base absolute !important */
    float: none !important;
    top: auto !important;
    right: auto !important;
    margin-left: 10px !important;
}
.LoginsLayout ul li > a:not(#__never__) { padding: 0 12px !important; line-height: 36px !important; }

/* Phones and tablets: the hamburger strip (div.mobilemenu) sits on the left end
   of the logins row instead of adding a second navy band (kept from the old skin). */
@media (max-width: 1024px) {
    /* The 2021 base hides the desktop Log out up to 1280px and the Distilled base shows it again only
       above 1024px, expecting the phone strip copy, which 13.1 hides. Show the logins-row copy here. */
    .LoginsLayout a.Logout:not(:empty):not(#__never__) { display: inline-block !important; }   /* !important: base display none is !important; signed-out pages render it empty */
    div.mobilemenu:not(#__never__) {
        position: absolute;
        top: 0;
        left: 0;
        width: auto;
        padding: 0;
        background: transparent !important;       /* !important: base navy band */
        z-index: 10001;
    }
    div.mobilemenu .t-container,
    div.mobilemenu .t-row,
    div.mobilemenu .t-col {
        background: transparent !important;
        padding-top: 0;
        padding-bottom: 0;
    }
}
@media (max-width: 768px) {
    .LoginsLayout .t-col > div:has(> .menuDefaultNavWrapper) { padding-left: 52px; }  /* room for the hamburger */
    .LoginsLayout ul li > a:not(#__never__) { padding: 0 9px !important; }
    body:has(.LoginsLayout .menuDefaultNavWrapper a) .HeaderRow > .QuickLinksColumn:not(#__never__) {
        display: none !important;                 /* its links are hidden above; the empty column kept 60px */
    }
}

/* 13.2 Page content (authored in the CMS editor, so classes are not available)
   - Button links carry inline navy fill and white text; the base link color
     (!important) turned the text navy, so every button read as a blank bar.
   - Text blocks carry inline Arial; the portal face is Raleway.
   - Layout tables (three contact columns) ran off the right edge on phones. */
.ContentLayout a[style*="background-color: #001e62"]:not(#__never__) {
    color: #ffffff !important;                    /* !important: base link color is !important */
    font: 600 12.5px/1 var(--sans) !important;    /* !important: beats the inline font */
    letter-spacing: 1.2px;
    border-radius: 999px !important;
    padding: 13px 24px !important;
    transition: background-color .2s ease, color .2s ease;
}
.ContentLayout a[style*="background-color: #001e62"]:hover:not(#__never__),
.ContentLayout a[style*="background-color: #001e62"]:focus-visible:not(#__never__) {
    background-color: var(--school-gold) !important;   /* navy on lime 7.67:1 */
    color: var(--school-navy) !important;
}
.ContentLayout [style*="font-family: Arial"]:not(#__never__) {
    font-family: var(--sans) !important;          /* !important: beats the inline font */
}
@media (max-width: 600px) {
    .ContentLayout table:not(.DataWebControlStyle):has(> tbody > tr > td > h2, > tbody > tr > td > h3) > tbody > tr > td:not(#__never__) {
        display: block !important;
        width: auto !important;                   /* !important: inline widths */
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* - Images in panels carry inline fixed widths (Staff Home "Weekly Current": width 540px in a
     544px panel with 16px padding), so the panel scrolled sideways at 1280px and below. */
.ContentLayout .RadDock .rdContent img:not(#__never__) {
    max-width: 100% !important;                   /* !important: beats the inline width */
    height: auto !important;
}

/* 13.3 School Store (Online Store master 71149) */
.productInventoryWrapper hr:not(#__never__),
.productSelectorWrapper hr:not(#__never__) {
    height: 1px !important;                       /* base paints it as a 2px lime bar (2.01:1, shouted) */
    border: 0 !important;
    background-color: var(--line) !important;
    color: var(--line) !important;
}
a.PISearchItem:not(#__never__) {
    border: 1px solid var(--line) !important;     /* !important: legacy 1.5px #d3d3d3 */
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(1, 30, 98, 0.04);
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
a.PISearchItem:hover:not(#__never__) {
    border-color: #cfd8c0 !important;
    box-shadow: 0 14px 30px -18px rgba(1, 30, 98, 0.45);
    transform: translateY(-2px);
}
a.PISearchItem h2.ProductCategoryDescription:not(#__never__) {
    font: 600 15px/1.3 var(--sans) !important;    /* base: 15px serif read as a caption */
    letter-spacing: 0.2px;
    color: var(--school-navy) !important;
}
a.PISearchItem h2.ProductCategoryDescription::after { display: none !important; }   /* stray rule at the card's left edge */
a.PISearchItem .DescriptionPrice:not(#__never__),
a.PISearchItem .DescriptionPrice *:not(#__never__) {
    color: var(--school-gold-dark) !important;    /* legacy cyan #00a9e0 was 2.6:1; deep lime 4.94:1 */
    font: 600 14px/1.4 var(--sans) !important;
}

/* Selected performance, ticket type and thumbnail: the shared Clue sheet (main10282026.css)
   rings them in orange; CIS deep lime instead (non-text mark, 4.94:1 on white). */
.PIProductAttributeSelect,
.PIProductPreviewItemSelect { box-shadow: 0 0 0 2px var(--school-gold-dark); }

/* 13.4 Footer: the master has no footer logo slot; the seal sits above the name. */
.FooterLogoRow:not(:has(.logoLinkFooter)) .FooterLogoColumnCenter::before {
    content: "";
    display: block;
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    background: var(--cis-seal) center / contain no-repeat;
}

/* 13.5 Migrated 2026-09-14 out of per-page ContentCode style-block widgets
   (control_properties 3136554, 3286805, 3287083, 3297392). */
.formDiv.donationsTotalAmount { width: 100%; }
.productInventoryWrapper { max-width: 900px; }    /* pre-order calendars, pages 69017, 71996, 71998 */
body:has(.cay-preorder-payment-page) h3 {
    font-size: medium !important;                 /* !important: base pins h3 20px !important at <=768px */
}


/* ---------- 14. Masthead (option E): navy header, the school's seal and its name ----------
   2026-11-06 (Maria: "the logo seems to have a white background. can you
   remove it?"). Option D put cis_logo.png on a white plate because the file
   has an opaque white ground and a navy wordmark, which vanishes on navy
   once the ground is gone. Option E drops the plate and the PNG: the school's
   own vector seal (cis-seal.svg, from cis.ky) with the name set as live white
   Raleway and the lime tagline beside it. No logo file is recolored or
   redrawn, and it is sharp at any pixel density.
   History (2026-11-05 UTC): option C (reversed lockup on navy) 17:30 to
   18:30, option B (white masthead) 18:30 to 20:03, option D (original logo
   on a white plate) 20:03 until this one. */

/* 14.1 Utility strip: the deepest navy, quiet type. */
.LoginsLayout:not(#__never__) {
    background: var(--school-navy-deep) !important;   /* !important: base strip color is !important */
    border-bottom: 0 !important;
}
.LoginsLayout ul li > a:not(#__never__) {
    color: rgba(255, 255, 255, 0.74) !important;  /* 10.4:1 on navy-deep */
    font: 600 11px/36px var(--sans) !important;   /* 36px line: centered in the strip */
    letter-spacing: 1.8px !important;
}
.LoginsLayout ul li > a:hover:not(#__never__),
.LoginsLayout ul li > a.MenuDefaultSelectedNodeCss:not(#__never__) { color: var(--school-gold) !important; }
.LoginsLayout a.Logout:not(#__never__) {
    color: var(--school-gold) !important;
    border: 1px solid rgba(151, 198, 58, 0.5) !important;
    border-radius: 999px !important;
    padding: 4px 14px !important;
    font: 600 10.5px/1.4 var(--sans) !important;
    letter-spacing: 1.6px !important;
    background: transparent !important;
}
.LoginsLayout a.Logout:hover:not(#__never__) {
    color: var(--school-navy) !important;
    background: var(--school-gold) !important;
    border-color: var(--school-gold) !important;
}

/* 14.2 Masthead ground and lockup */
.headerwrapper:not(#__never__) {
    background: radial-gradient(120% 140% at 50% 0%, var(--school-navy-2) 0%, var(--school-navy) 55%, var(--school-navy-deep) 100%) !important;   /* !important: base masthead color is !important */
}
.HeaderRow:not(#__never__) {
    background: transparent !important;           /* !important: base white is !important */
    box-shadow: none !important;
    border-bottom: 0 !important;
}
.HeaderRow .LogoColomn .logoLink:not(#__never__) {
    position: relative;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    width: fit-content !important;                /* !important: base pins the size (360px at <= 900px) */
    max-width: 100% !important;
    height: 76px !important;
    min-height: 76px !important;
    margin: 0 auto !important;
    padding: 0 0 0 90px !important;               /* 76px seal + 14px gap */
    background-color: transparent !important;
    background-image: var(--cis-seal) !important;
    background-size: 76px 76px !important;
    background-position: left center !important;
    background-repeat: no-repeat !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}
/* The name and tagline are generated text; the CMS link (below) carries the click. */
.HeaderRow .LogoColomn .logoLink::before {
    content: "Cayman International School";
    color: #ffffff;                               /* 15.4:1 on navy */
    font: 700 24px/1.15 var(--sans);
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.HeaderRow .LogoColomn .logoLink::after {
    content: "CONNECT  |  INSPIRE  |  SERVE";
    margin-top: 8px;
    color: var(--school-gold);                    /* 7.67:1 on navy */
    font: 600 11px/1 var(--sans);
    letter-spacing: 3px;
    white-space: pre;
}
/* The CMS link covers the whole lockup. */
.HeaderRow .LogoColomn .logoLink > ul {
    position: absolute !important;
    inset: 0;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1;
}
.HeaderRow .LogoColomn .logoLink > ul li,
.HeaderRow .LogoColomn .logoLink > ul a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    font-size: 0 !important;
    color: transparent !important;
    background: transparent !important;
}
.HeaderRow .LogoColomn .logoLink:hover { opacity: 0.94; }

/* 14.3 Welcome line and the store's cart button on navy */
.HeaderRow .SeachColumn p:not(#__never__),
.HeaderRow .SeachColumn p *:not(#__never__) {
    color: rgba(255, 255, 255, 0.8) !important;   /* 12:1 on navy */
    font: 500 13px/1.5 var(--sans) !important;
    letter-spacing: 0.3px;
    text-align: right;
}
.HeaderRow .SeachColumn a[href*="Cart"]:not(#__never__),
.HeaderRow .SeachColumn input[type="submit"]:not(#__never__),
.HeaderRow .SeachColumn .ButtonFloat:not(#__never__) {
    background: transparent !important;           /* !important: legacy green fill is !important */
    border: 1px solid rgba(151, 198, 58, 0.55) !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    font: 600 12px/1 var(--sans) !important;
    letter-spacing: 1px;
    padding: 10px 18px !important;
    box-shadow: none !important;
}
.HeaderRow .SeachColumn a[href*="Cart"]:hover:not(#__never__),
.HeaderRow .SeachColumn input[type="submit"]:hover:not(#__never__) {
    background: var(--school-gold) !important;
    color: var(--school-navy) !important;
}

/* The store's cart is a Telerik button (button.RadButton in .shoppingCartWrapper), which the
   rules above miss. The Poly base (24.1) paints it navy for a white header; on the navy
   masthead only its label showed, and on phones it stretched to the full column. */
.HeaderRow .shoppingCartWrapper .RadButton.rbButton:not(#__never__) {
    background: transparent !important;           /* !important: base 24.1 navy fill is !important */
    border: 1px solid rgba(151, 198, 58, 0.55) !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    width: auto !important;
    padding: 10px 18px !important;
}
.HeaderRow .shoppingCartWrapper .RadButton.rbButton:hover:not(#__never__),
.HeaderRow .shoppingCartWrapper .RadButton.rbButton:focus-visible:not(#__never__) {
    background: var(--school-gold) !important;    /* the base's hover sets the label navy: 7.67:1 */
    border-color: var(--school-gold) !important;
}

/* 14.4 Desktop and tablet row: lockup on the center line */
@media (min-width: 769px) {
    .HeaderRow:not(#__never__) {
        display: grid !important;                  /* !important: base sets flex !important */
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center !important;
        min-height: 112px;
    }
    .HeaderRow > .QuickLinksColumn { grid-column: 1; grid-row: 1; width: auto !important; }
    .HeaderRow > .LogoColomn      { grid-column: 2; grid-row: 1; width: auto !important; justify-content: center; }
    .HeaderRow > .SeachColumn     { grid-column: 3; grid-row: 1; width: auto !important; justify-self: end; }
}

/* Signed out, the right column holds the site search (193px field + Go). Between 769 and about
   950px the grid gives each side column (width - 370px) / 2, so the search ran 56px off the page
   at 820 (post-deploy check 2026-11-05). Let the column and the field shrink to the track. */
@media (min-width: 769px) and (max-width: 1024px) {
    .HeaderRow > .SeachColumn:not(#__never__),
    .HeaderRow .SeachColumn .searchnew:not(#__never__) {
        min-width: 0 !important;                   /* !important: base flex items keep their content width */
        max-width: 100% !important;
    }
    .HeaderRow .SeachColumn .search-box:not(#__never__) {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;                    /* !important: base fixes the field width */
    }
}

/* Tablets and phones (<= 1024px): the nav bar is hidden, so a lime rule closes the masthead. */
@media (max-width: 1024px) {
    .headerwrapper:not(#__never__) { border-bottom: 3px solid var(--school-gold) !important; }
}

/* 14.5 Phone (<= 768px) */
@media (max-width: 768px) {
    .HeaderRow:not(#__never__) { padding: 14px 0 10px !important; }
    .HeaderRow .LogoColomn .logoLink:not(#__never__) {
        height: 56px !important;
        min-height: 56px !important;
        padding: 0 0 0 66px !important;           /* 56px seal + 10px gap */
        background-size: 56px 56px !important;
    }
    .HeaderRow .LogoColomn .logoLink::before { font-size: 17px; }   /* fits 360px with the seal */
    .HeaderRow .LogoColomn .logoLink::after { margin-top: 6px; font-size: 9px; letter-spacing: 2.2px; }
    .HeaderRow .SeachColumn:not(#__never__) { justify-content: center !important; margin-top: 6px !important; }
    .HeaderRow .SeachColumn p:not(#__never__),
    .HeaderRow .SeachColumn p *:not(#__never__) { text-align: center !important; }
    .HeaderRow .shoppingCartWrapper:not(#__never__) { text-align: center !important; }   /* cart pill under the centered lockup */
}

/* 14.6 Desktop nav and section bar (>= 1025px) */
@media (min-width: 1025px) {
    .menuwrapper > div:not(#__never__) {
        background: var(--school-navy) !important;    /* !important: base gradient is !important */
        border-top: 1px solid rgba(151, 198, 58, 0.34) !important;   /* lime hairline between masthead and nav */
    }
    .MenuColumn .menuDefaultNavWrapper > ul > li > a:not(#__never__) {
        padding: 18px 24px !important;
    }
    .MenuColumn .menuDefaultNavWrapper > ul > li > a.MenuDefaultSelectedNodeCss:not(#__never__) {
        background: transparent !important;
    }
    .SubmenuColumn:not(#__never__),
    .SubmenuColumn .menuDefaultNavWrapper:not(#__never__),
    .SubmenuColumn .menuDefaultNavWrapper > ul:not(#__never__) {
        background: var(--school-gold-soft) !important;
    }
    .SubmenuColumn:not(#__never__) {
        border-bottom: 1px solid #e3ead6 !important;
        box-shadow: 0 8px 20px -14px rgba(1, 30, 98, 0.35) !important;
    }
    .SubmenuColumn::before { display: none !important; }
    .SubmenuColumn .menuDefaultNavWrapper:not(#__never__) { border-bottom: 0 !important; box-shadow: none !important; }
    .SubmenuColumn .menuDefaultNavWrapper > ul:not(#__never__) { border-bottom: 0 !important; }
    .SubmenuColumn .menuDefaultNavWrapper > ul.navigationSubmenu:not(:has(li)) { display: none !important; }
    .SubmenuColumn .menuDefaultNavWrapper > ul.noprint:not(#__never__) {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        column-gap: 4px;
    }
    .SubmenuColumn .menuDefaultNavWrapper > ul > li:not(#__never__) { padding-left: 0 !important; padding-right: 0 !important; }
    .SubmenuColumn .menuDefaultNavWrapper > ul > li > a:not(#__never__) {
        padding: 15px 14px !important;
        font-size: 13.5px !important;
        color: #3d4656 !important;                /* 9.05:1 on sage */
    }
    .SubmenuColumn .menuDefaultNavWrapper > ul > li > a:hover:not(#__never__),
    .SubmenuColumn .menuDefaultNavWrapper > ul > li > a.MenuDefaultSelectedNodeCss:not(#__never__) { color: var(--school-navy) !important; }
    .SubmenuColumn .menuDefaultNavWrapper > ul > li > a::after { background: var(--school-gold-dark) !important; }
}


/* ---------- 15. School Store product detail (page 83314) ----------
   2026-11-05: Maria asked how to improve the page ("should we put the content into a
   narrow container, like AF Contracts?"); approved the two-column product layout ("yes").
   Before: description, gallery and buy box stacked down a 1280px column; 150-character
   lines, a 300px image with a thumbnail strip for its only picture, the product name twice,
   square option chips, Add to Cart 1080px down the page (below the fold at 1366x768).
   After (>= 1025px): image left (sticky), buy box right (name, price, options, quantity,
   Add to Cart), story under the buy box, 1080px wide and centered. Below 1025px: one
   680px column, image, buy box, story. The three widgets share one wrapper div, so a grid
   on it reorders them; no zone move. Add to Cart is transactional: lime, navy label 7.67:1. */
.t-col > div:has(> .PIProductSelector):not(#__never__) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "img" "buy" "desc";
    gap: 28px;
    max-width: 680px;
    margin: 0 auto;
}
@media (min-width: 1025px) {
    .t-col > div:has(> .PIProductSelector):not(#__never__) {
        max-width: 1080px;
        grid-template-columns: minmax(0, 11fr) minmax(0, 10fr);
        grid-template-areas: "img buy" "img desc";
        column-gap: 64px;
        align-items: start;
    }
    .t-col > div:has(> .PIProductSelector) > .PIProductPreview { position: sticky; top: 24px; }
}
.t-col > div:has(> .PIProductSelector) > .PIProductPreview:not(#__never__)     { grid-area: img;  width: auto !important; float: none !important; }
.t-col > div:has(> .PIProductSelector) > .PIProductSelector:not(#__never__)    { grid-area: buy;  width: auto !important; }
.t-col > div:has(> .PIProductSelector) > .PIProductDescription:not(#__never__) {
    grid-area: desc;
    width: auto !important;
    font-size: 15px;
    line-height: 1.7;
    color: #3d4656;                               /* 9.9:1 on white */
}
/* The description repeats the product name as a bold first paragraph; the buy box already shows it. */
.PIProductDescription > p:first-child:has(> strong:only-child) { display: none; }

/* Image: no thumbnail strip for a single picture; the picture fills its column, 4:3 frame.
   The gallery stacks its pictures absolutely (cross-fade), so the frame carries the height. */
.PIProductPreview:has(.PIProductPreviewItemSelect:only-child) .PIProductPreviewTable { display: none !important; }
.PIProductPreview .PIProductPreviewImageItem:not(#__never__):not(#__never2__) {
    width: 100% !important;
    height: auto !important;
    float: none !important;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 40px -24px rgba(1, 30, 98, 0.55);
}
.PIProductPreview .PIProductPreviewImageItem img:not(#__never__):not(#__never2__) {
    position: absolute !important;                /* !important: gallery script styles */
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
}

/* Buy box */
.PIProductCategoryDescription h2:not(#__never__) { font: 600 40px/1.1 var(--serif) !important; color: var(--school-navy) !important; margin: 0 0 6px !important; }
.PIProductSelector > hr { display: none !important; }   /* the title already carries its short lime rule */
.PIProductPrice:not(#__never__) { margin: 4px 0 22px !important; font: 600 26px/1.2 var(--sans) !important; color: var(--school-navy) !important; }
.PIProductPrice span:first-child {                    /* "Price:" kept for screen readers only */
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.PIProductAttributes:not(#__never__) { margin: 0 0 20px !important; }
.PIProductAttributes > br { display: none; }
.PIProductAttributes > span:not(#__never__),
.PIProductQuantity > span:not(#__never__) {
    display: block;
    margin-bottom: 10px;
    font: 600 11px/1.4 var(--sans) !important;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--muted) !important;               /* 5.6:1 */
}
.PIProductAttributeSelectDiv:not(#__never__):not(#__never2__) { display: flex !important; flex-wrap: wrap; gap: 8px; height: auto !important; margin-top: 0 !important; }
.PIProductAttributeSelectDiv > div:not(#__never__):not(#__never2__) {
    flex: 0 0 auto;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;                         /* the selected wrapper drew a square green box */
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}
.PIProductAttributeSelectDiv a.PIProductAttributeSelectItem:not(#__never__) {
    display: inline-flex;
    align-items: center;
    min-height: 42px;                             /* touch target */
    padding: 0 18px !important;
    border: 1px solid #cfd6df !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: var(--ink, #14202e) !important;
    font: 500 14px/1 var(--sans) !important;
    text-decoration: none !important;
    transition: border-color .15s, background-color .15s, color .15s;
}
.PIProductAttributeSelectDiv a.PIProductAttributeSelectItem:hover:not(#__never__) { border-color: var(--school-navy) !important; }
.PIProductAttributeSelectDiv .PIProductAttributeSelect a.PIProductAttributeSelectItem:not(#__never__) {
    background: var(--school-navy) !important;    /* selected: white on navy 15.4:1 */
    border-color: var(--school-navy) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}
.PIProductQuantity:not(#__never__) { display: flex !important; align-items: center; gap: 12px; margin: 4px 0 22px !important; }
.PIProductQuantity > span:not(#__never__) { margin-bottom: 0; }
.PIProductSelector > input[type="submit"]:not(#__never__):not(#__never2__) {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 420px !important;
    height: 52px !important;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--school-gold) !important;   /* !important: base navy button */
    color: var(--school-navy) !important;
    font: 700 13px/52px var(--sans) !important;
    letter-spacing: 1.8px !important;
    text-transform: uppercase;
    box-shadow: 0 10px 24px -14px rgba(75, 125, 26, 0.9) !important;
    cursor: pointer;
}
.PIProductSelector > input[type="submit"]:hover:not(#__never__):not(#__never2__) { background: #a8d455 !important; }
@media (max-width: 600px) {
    .PIProductAttributeSelectDiv a.PIProductAttributeSelectItem:not(#__never__) { padding: 0 14px !important; font-size: 13.5px !important; min-height: 40px; }
    .PIProductCategoryDescription h2:not(#__never__) { font-size: 34px !important; }
}


/* ---------- 16. Raleway where the base names its fonts literally ----------
   School request 2026-11-05: the font they had before the rebase (Raleway). Section 1
   points --sans and --serif at Raleway; these base rules name 'Cormorant Garamond' or
   'Inter' directly (base website07292026.css, 2026-11-05), so they get Raleway here.
   :not(#__never__) twice outranks the base's attribute-qualified selectors without IDs.
   Not covered (needs an ID-based selector): the first column of the staff Marks grid. */
.GridViewWrap .RadPicker .rcInputCell input.riTextBox:not(#__never__):not(#__never2__),
table[class*="GridView" i] .RadPicker .rcInputCell input.riTextBox:not(#__never__):not(#__never2__),
.GradebookGrades td.GradebookReported:not(#__never__):not(#__never2__),
.GradebookFooter td:not(#__never__):not(#__never2__),
body:has(.FeeCaption) .textContent h3:not(#__never__):not(#__never2__),
body:has(.FeeCaption) .textContent h4:not(#__never__):not(#__never2__),
.FeeCaption:not(#__never__):not(#__never2__),
.FeeCaption small:not(#__never__):not(#__never2__),
.FeeAmt:not(#__never__):not(#__never2__),
.FeeAmt small:not(#__never__):not(#__never2__),
.inputDiv.InputCheckBox:has(.FeeAmt) .FeeAmt:not(#__never__):not(#__never2__)::before {
    font-family: var(--sans) !important;          /* !important: the base declarations are !important */
}

/* ---------- 17. No green rule under headings ----------
   2026-11-06 (Maria: "remove the green underline from the headings").
   The base draws a 56x2 lime bar under every page title (.PageTitleLabelRow::after)
   and the shared sheets put a 2px rule under section h2s (h2::after border; the base
   only recolors it, 4.x). Only the line goes: the h2::after keeps its box, so other
   pseudo-element content is untouched. */
.PageTitleLabelRow::after { display: none !important; }   /* !important: matches the base's specificity in later rules */
html body h2::after {
    border-top-width: 0 !important;                /* !important: base repaints these borders with !important */
    border-bottom-width: 0 !important;
}


/* ---------- 18. Pre-Order pages: the three steps (2026-11-14, Zoho 33965) ----------
   Pre-Order 69017 and Pre-Order [Snacks] 71998 open with three text blocks, each
   led by a 134 x 61 picture of the word STEP and an apple (step1.png to
   step3.png, shown at 75 x 35, no alt text), then 14px instructions and, for
   step 3, a 28px light h2. The picker, the calendar and the cart button sit
   between them at the left edge, the calendar capped at 900px (13.5).
   The design: a numbered guide. Each block becomes a step heading (a navy
   disc with the number, the instruction as a 20px title) and everything that
   belongs to the step is indented under it, joined by a hairline. No green
   rule under the titles (17). Base section 42 styles the picker, the calendar
   and the button themselves.
   Scope: the panel whose text blocks carry the step pictures. The pictures
   stay in the page (alt=""), only hidden; undo by deleting this section.
   Shorthand in the comments: S = that panel, H = one step block. */

.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) {
    counter-reset: cis-prestep;
    padding: 8px 0 0;
}
/* H: the step heading */
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .textContent img[src*="/Lunch/Images/step" i]) {
    counter-increment: cis-prestep;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 40px;
    margin: 0 0 16px;
    padding: 0 0 0 60px;
}
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .textContent img[src*="/Lunch/Images/step" i])::before {
    content: counter(cis-prestep);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--school-navy);
    box-shadow: 0 0 0 5px #fff;                   /* a white collar where the hairline meets the disc */
    color: #fff;
    font: 600 16px/1 var(--sans);
}
/* flex drops the blocks' stray spaces and line breaks, so every title starts on the same edge */
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .textContent img[src*="/Lunch/Images/step" i]) .textContent,
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .textContent img[src*="/Lunch/Images/step" i]) .textContent > span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .textContent img[src*="/Lunch/Images/step" i]) img[src*="/Lunch/Images/step" i],
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .textContent img[src*="/Lunch/Images/step" i]) br {
    display: none;
}
/* The blocks carry non-breaking spaces between the picture and the words; at
   size 0 they take no room. Only a wrapper that holds a span of words gets
   size 0, so words written straight into a block still show. */
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .textContent img[src*="/Lunch/Images/step" i]) .textContent:has(> span),
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .textContent img[src*="/Lunch/Images/step" i]) .textContent > span:has(> span) {
    font-size: 0;
    line-height: 0;
}
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .textContent img[src*="/Lunch/Images/step" i]) .textContent span:not(:has(> span)):not(#__never__),
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .textContent img[src*="/Lunch/Images/step" i]) .textContent h2:not(#__never__) {
    margin: 0;
    padding: 0;
    color: var(--school-navy);
    font: 600 20px/1.3 var(--sans) !important;      /* !important: the legacy sheets pin h2 and span sizes, and the span carries an inline 14px */
    letter-spacing: -0.1px;
    text-align: left;
}

/* What each step holds: indented under its title (S's left 60px is the guide's column). */
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > .studentSelector,
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > span.error:not(:empty),
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .productInventoryWrapper),
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > .ButtonNoFloat {
    position: relative;
    margin-left: 60px !important;                 /* !important: 42.1 / 42.4 set the margin shorthand */
}
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > .studentSelector {
    margin-bottom: 40px;
}
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > span.error:not(:empty) {
    margin-bottom: 40px !important;                 /* !important: 42.5 sets margin with ID weight */
}
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .productInventoryWrapper) {
    margin-bottom: 40px;
}
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > .ButtonNoFloat {
    margin-top: 0;
}
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) .productInventoryWrapper {
    max-width: none;                              /* 13.5 capped it at 900px; under the guide it takes the column */
}

/* The hairline: each piece draws its own length of the line in the guide's
   column, across its bottom margin as well, so the line runs unbroken from
   disc 1 to disc 3 whatever the picker, notice or calendar measure. */
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .textContent img[src*="/Lunch/Images/step" i])::after,
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > .studentSelector::after,
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > span.error:not(:empty)::after,
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .productInventoryWrapper)::after {
    content: "";
    position: absolute;
    left: -41px;                                  /* centre of the 40px disc: 60 - 20 - 1 */
    top: 0;
    bottom: -40px;
    width: 2px;
    background: var(--line);
}
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > span.error:not(:empty)::after {
    left: -44px;                                  /* measured from inside its 3px left border */
}
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .textContent img[src*="/Lunch/Images/step" i])::after {
    left: 19px;
    top: 20px;
    bottom: -16px;
}
/* The last step: the line arrives at its disc and stops. */
.t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .textContent img[src*="/Lunch/Images/step" i]):not(:has(~ div > .textContent img[src*="/Lunch/Images/step" i]))::after {
    top: -40px;
    bottom: auto;
    height: 60px;
}

/* Phones: the disc sits beside its title; the content takes the full width. */
@media (max-width: 640px) {
    .t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .textContent img[src*="/Lunch/Images/step" i]) {
        min-height: 32px;
        margin-bottom: 12px;
        padding-left: 44px;
    }
    .t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .textContent img[src*="/Lunch/Images/step" i])::before {
        width: 32px;
        height: 32px;
        font-size: 14px;
        box-shadow: none;
    }
    .t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .textContent img[src*="/Lunch/Images/step" i]) .textContent span:not(:has(> span)):not(#__never__),
    .t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .textContent img[src*="/Lunch/Images/step" i]) .textContent h2:not(#__never__) {
        font-size: 17px !important;                 /* as above */
    }
    .t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > .studentSelector,
    .t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > span.error:not(:empty),
    .t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .productInventoryWrapper),
    .t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > .ButtonNoFloat {
        margin-left: 0 !important;                  /* as above (60px) */
    }
    .t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > .studentSelector,
    .t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > span.error:not(:empty),
    .t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .productInventoryWrapper) {
        margin-bottom: 32px !important;             /* as above */
    }
    .t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .textContent img[src*="/Lunch/Images/step" i])::after,
    .t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > .studentSelector::after,
    .t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > span.error:not(:empty)::after,
    .t-col > div:has(> div > .textContent img[src*="/Lunch/Images/step" i]) > div:has(> .productInventoryWrapper)::after {
        content: none;
    }
}

/* Scholarship Interest Form (page 63729), US/UK grade-level table. Its TextDisplay (324764) still
   carries RadEditor's own <style> block for .telerik-reTable-2, which sets Tahoma and Calibri.
   These selectors are one element more specific, so the table follows this skin's type; its
   colours and borders still come from that block. Added 2026-11-19 when the page moved from the
   legacy Dynamic Internal master to Core (ticket 34130). */
table.telerik-reTable-2,
table.telerik-reTable-2 tr.telerik-reTableHeaderRow-2 {
    font-family: inherit;
}

/* Same table: the shared main sheet's "table td:nth-child(2) { color: #333 }" turned the middle
   header cell ("UK equivalent") dark grey on the blue header. Header cells take the row's white. */
table.telerik-reTable-2 tr.telerik-reTableHeaderRow-2 td {
    color: inherit;
}


/* ---------- 13b. Extended Day kiosk (page 38082): no Logout ----------
   Moved 2026-11-19 with the page. The page is a check-in kiosk; its ContentCode 210453 only carries an inline
   ".Logout { display: none; }", which loses to the Core logins row. Scoped to the page by its form action; the
   :not(#__never__) only lifts specificity over the Core logins rules. */
form[action*="/38082"] a.Logout:not(#__never__) {
    display: none !important;
}

/* ---------- 13c. Registration Login (page 38089): the "click here" link to Create an Account looks like a link ----------
   The school's text sets it inside an h3, which the skin colours navy with no underline, so it read as plain text. */
form[action*="/38089"] .textContent a[href]:not(#__never__) {   /* !important + ID :not: the platform base styles heading text with !important */
    color: var(--school-gold-dark) !important;
    text-decoration: underline !important;
    text-underline-offset: 4px;
}

/* ---------- 19. Inquiry forms on the shared card layout (pages 38072, 48259, 72056, 58353, 63729) ----------
   2026-11-19 (Maria: "move cayman"). The five forms use the Poly base's card layout (base section 23.9) through its
   marker classes: headings inq-s1/-s2/-s3 (461913-461927), consent start inq-consent-start (210527, 383540, 302592,
   324748), intro inq-intro (209789, 383535, 302583, 324743). This section keeps only what is Cayman's own: the
   welcome note with the CIS badge, the school's inline-styled rich text, and the rows the base does not shape.
   It replaces the former section 19 (cis-inq-* classes, v1-v3, ticket 34130); backup .bak-20261119-preMOVEBASE.
   !important only where an inline style or a base !important must be beaten. */

/* Welcome note: the page's own intro text with the CIS badge (base 23.9 draws the note without a badge) */
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .inq-intro {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--school-gold-soft);
    border-color: var(--line);
    margin-bottom: 20px;
}
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .inq-intro::before {
    content: "CIS";
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--school-navy);
    color: var(--school-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font: 600 15px var(--sans);
    letter-spacing: 1px;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line);
}
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .inq-intro .textContent p {
    margin: 0;
    font-size: 15px !important;             /* !important: base 23.9 sets the note's text at 13.5px !important */
    line-height: 1.6;
}
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .inq-intro .textContent span {
    font-size: inherit !important;          /* !important: inline style="font-size:16px" */
}
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .inq-intro br { display: none; }

/* "Where did you hear about us?" opens card 3 alone; on 38072 and 72056 the notes box follows it, so it is not the
   card's last field and the base would leave it on half a row: full row, half-width control */
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .inq-s3 ~ .formDiv:not(.inq-s3 ~ .formDiv ~ .formDiv) {
    flex-basis: 100% !important;            /* !important: base 23.9's per-card column rules are more specific */
    border-right: 1px solid var(--line) !important;
    padding-right: 28px !important;
}
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .inq-s3 ~ .formDiv:not(.inq-s3 ~ .formDiv ~ .formDiv) .inputDiv {
    max-width: calc(50% - 10px);
}

/* A file upload sits in a half-width .width50 wrapper (63729 Passport Photo Page): it spans the card, caption above */
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .width50 {
    float: none !important;                 /* !important: inline float and width */
    width: auto !important;
    margin: 0 !important;
}
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .width50 :is(.formDivSpecial, .RadAsyncUpload) {
    float: none !important;                 /* !important: inline float:left and the base 48/50 split */
    width: auto !important;
    margin: 0 !important;
}
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .width50 .formLabel:not(:has(*)) { display: none !important; }
/* its caption is the platform micro-label, above the button (the base's label rules reach .formDiv rows only) */
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .width50 .formLabel {
    display: flex;
    align-items: center;                    /* the red required star sits on the label line */
    gap: 4px;
    float: none !important;                 /* !important: base right-aligned label column */
    width: auto !important;
    min-height: 0 !important;
    text-align: left !important;
    margin: 0 0 8px;
    padding: 0;
}
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .width50 .formLabel .errorStar {
    line-height: 1 !important;              /* !important: base sets a taller line box on the star */
}
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .width50 .formLabel .InputLabel,
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .width50 .formLabel .InputLabel * {
    display: block !important;              /* !important: at desktop widths the base fixes the label at 361px, right-aligned */
    width: auto !important;
    text-align: left !important;
    font-family: var(--sans) !important;    /* !important: inline font-weight:bold and <strong> from the CMS */
    font-size: 10.5px !important;
    letter-spacing: 1.9px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    color: var(--school-navy) !important;
}

/* The school's own text blocks in cards 1 and 2 (63729: grade-table note, "Passport Photo Page", the essay prompt):
   card sub-headings, not page headings. Inline text-align (the centred grade-table note) is kept. */
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .inq-s1 ~ div:not([class]):not(.inq-s3 ~ *) .textContent :is(h1, h2, h3, h4) {
    font-family: var(--sans) !important;    /* !important: base heading rules are !important */
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--school-navy) !important;
    margin: 10px 0 6px !important;
}

/* Card 3: the "Additional information" text reads as the notes box's label */
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .inq-s3 ~ div:not([class]):not(.inq-consent-start ~ *) {
    padding-bottom: 8px;
}
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .inq-s3 ~ div:not([class]):not(.inq-consent-start ~ *) h3 {
    font-family: var(--sans) !important;    /* !important: base heading rules are !important */
    font-size: 10.5px !important;
    letter-spacing: 1.9px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    color: var(--school-navy) !important;
    text-align: left !important;
    margin: 0 !important;
}
/* The notes and essay boxes (class formdiv, so the base's .formDiv label rules do not reach them) */
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .InputTextBoxMultiLineDiv .formLabel:not(:has(> .errorStar[style*="visible"])) { display: none; }   /* shown again while a required box's error star is visible */
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .InputTextBoxMultiLineDiv .formLabel {
    float: none !important;                 /* !important: base right-aligned label column; the star (63729 essay, no label text) sits left */
    width: auto !important;
    min-height: 0 !important;
    text-align: left !important;
    margin: 0 0 6px;
}
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .InputTextBoxMultiLineDiv .formLabel .errorStar {
    float: none !important;                 /* !important: the base floats the star right */
    line-height: 1 !important;
}
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .InputTextBoxMultiLineDiv .InputTextBoxMultiLine {
    height: 120px;
    min-height: 120px;
}

/* Consent: the school's headings start with a line break and its paragraphs are spaced by <br> */
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > :is(.inq-consent-start, .inq-consent-start ~ div) .textContent :is(h2, h3) br { display: none; }
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > :is(.inq-consent-start, .inq-consent-start ~ div) .textContent p { margin: 0 0 10px; }

/* "I Agree": checkbox first, label right beside it (the school's label carries margin-left:120px; text-align:right) */
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .formDiv .inputDiv.InputCheckBox {
    display: flex !important;
    align-items: center !important;         /* !important: base checkbox rows use flex-start with a 28.8px label line */
    column-gap: 12px;
    font-size: 0;                           /* the &nbsp; after the checkbox becomes a zero-width flex item */
}
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .formDiv .inputDiv.InputCheckBox input[type="checkbox"] {
    order: -1 !important;                   /* !important: base orders checkbox 1, the &nbsp; item (0) jumped ahead */
    width: 18px;
    height: 18px;
    margin: 0;
}
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .formDiv .InputCheckBox .InputLabel p {
    margin: 0 !important;                   /* !important: inline margin-left:120px; text-align:right */
    text-align: left !important;
}
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .formDiv .InputCheckBox .InputLabel,
form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .formDiv .InputCheckBox .InputLabel * {
    font-size: 14px !important;             /* !important: inline font-size:13px */
    font-weight: 700 !important;
    color: var(--school-navy) !important;
}

@media (max-width: 1000px) {
    form:is([action*="/38072"], [action*="/48259"], [action*="/72056"], [action*="/58353"], [action*="/63729"]) .t-col > div:has(> .inq-s1) > .inq-s3 ~ .formDiv:not(.inq-s3 ~ .formDiv ~ .formDiv) .inputDiv {
        max-width: none;
    }
}
