/* AppWT fixes on top of the ICA package (key morris-ica-seasonal-1203, fix round 2, 2026-12-04, findings from
   verify-r1). Loaded after refresh.css and seasonal.css, and only while the server flag is on. refresh.css and
   seasonal.css stay byte-identical to the ZIP; every correction to their effect lives in this file.
   No image, text, URL, grid or spacing change. */

/* 1. CONTRAST. The season paper under main dropped slate-500 and gray-500 body text below 4.5:1. Each paper
   here keeps its season tint but is at least as light as the #f8fafc main sits on with the flag off
   (luminance >= 0.9536), so no dark text on the page loses contrast. Winter, patriotic and no-season use #f8fafd. */
body[data-ica-refresh="v1"]{--ica-fix-paper:#f8fafd}
body[data-ica-refresh="v1"][data-ica-season=christmas]{--ica-fix-paper:#fbfaf5}
body[data-ica-refresh="v1"]:is([data-ica-season=spring],[data-ica-season=mother],[data-ica-season=easter]){--ica-fix-paper:#fcfaf9}
body[data-ica-refresh="v1"]:is([data-ica-season=summer],[data-ica-season=graduation],[data-ica-season=father]){--ica-fix-paper:#f7fbfb}
body[data-ica-refresh="v1"]:is([data-ica-season=autumn],[data-ica-season=halloween],[data-ica-season=kwanzaa]){--ica-fix-paper:#fcfaf6}
body[data-ica-refresh="v1"][data-ica-season=valentine]{--ica-fix-paper:#fff9fb}
body[data-ica-refresh="v1"]:is([data-ica-season=newyear],[data-ica-season=diwali],[data-ica-season=mardi]){--ica-fix-paper:#fcfaf5}
body[data-ica-refresh="v1"]:is([data-ica-season=green],[data-ica-season=ramadan]){--ica-fix-paper:#f8fbf7}
body[data-ica-refresh="v1"] [data-ica-ui="page"]{background-color:var(--ica-fix-paper)}
/* The season footer is lighter than today's #0f172a, which pushed text that already failed further down. Under the
   season footer only: the tagline, copyright and "Developed by" lines go to #cbd5e1 (7.7:1 or better on every
   season dark), and the reviews heading, whose inline #1e3a5f sits on the dark footer, goes to white. */
body[data-ica-refresh="v1"][data-ica-season] [data-ica-ui="footer"] :is(.footer-brand p,.developed-by-appwt-llc-footer-bottom p){color:#cbd5e1}
body[data-ica-refresh="v1"][data-ica-season] [data-ica-ui="footer"] .footer-reviews>h3{color:#fff!important}

/* 2. BOX SIZES. Every mapped node keeps the border geometry it had with the flag off (measured on all 8 pages at
   390 and 1440) and takes the package colors. A line the node never had is drawn with a box-shadow or an
   outline, which never changes layout (HANDOFF: use inset box-shadow instead). */
/* header: 1px bottom border before; keeps 1px in the package color */
body[data-ica-refresh="v1"] [data-ica-ui="header"]{border-bottom-width:1px}
/* logo frame: no border before; the package 1px line becomes a ring just outside the unchanged logo box */
body[data-ica-refresh="v1"] [data-ica-ui="logo-frame"]{border:0 none;box-shadow:0 0 0 1px var(--ica-silver),0 3px 12px #0f274412}
body[data-ica-refresh="v1"][data-ica-season] [data-ica-ui="logo-frame"]{box-shadow:0 0 0 1px var(--season-line),0 0 0 4px var(--season-paper),0 3px 12px #10283d19}
/* home hero and footer: no border before; the accent line is an inset shadow on the same edge */
body[data-ica-refresh="v1"] [data-ica-ui="hero"]{border-bottom:0 none;box-shadow:inset 0 -3px 0 var(--ica-silver)}
body[data-ica-refresh="v1"][data-ica-season] [data-ica-ui="hero"]{box-shadow:inset 0 -3px 0 var(--season-accent)}
body[data-ica-refresh="v1"][data-ica-season] [data-ica-ui="footer"]{border-top:0 none;box-shadow:inset 0 2px 0 var(--season-accent)}
/* cards and panels. Home category and featured cards had 1px all round, the same as the package, so they are
   untouched here. Pricing cards had 2px. Use-case cards had a 4px left accent and the product assurances box a
   3px left accent. Product cards and the catalog filter panel had none. The frame line is a 1px outer ring,
   because product photos run to the card edge and an inset line would sit under them. */
body[data-ica-refresh="v1"] .pricing-card[data-ica-ui="card"]{border-width:2px}
body[data-ica-refresh="v1"] .use-case-card[data-ica-ui="card"]{border-width:0 0 0 4px}
body[data-ica-refresh="v1"] .ica-assurances[data-ica-ui="panel"]{border-width:0 0 0 3px}
body[data-ica-refresh="v1"] :is(.product-card,.filter-sidebar):is([data-ica-ui="card"],[data-ica-ui="panel"]){border:0 none}
body[data-ica-refresh="v1"] :is(.product-card,.filter-sidebar,.use-case-card,.ica-assurances):is([data-ica-ui="card"],[data-ica-ui="panel"]){box-shadow:0 0 0 1px var(--ica-line),0 4px 16px #0f27440d}
body[data-ica-refresh="v1"][data-ica-season] :is(.product-card,.filter-sidebar,.use-case-card,.ica-assurances):is([data-ica-ui="card"],[data-ica-ui="panel"]){box-shadow:0 0 0 1px var(--season-line),0 4px 16px #10283d0b}
/* primary buttons: no border before. The 1px line is an outline drawn inside the edge, so the button keeps its
   size and its own hover shadow. Keyboard focus still shows the package focus ring. */
body[data-ica-refresh="v1"] [data-ica-ui="primary"]{border:0 none}
body[data-ica-refresh="v1"] [data-ica-ui="primary"]:not(:focus-visible){outline:1px solid var(--ica-navy);outline-offset:-1px}
body[data-ica-refresh="v1"][data-ica-season] [data-ica-ui="primary"]:not(:focus-visible){outline-color:var(--season-accent)}
/* secondary buttons had 2px; contact form fields had 2px (the catalog sort and product option fields had 1px, the
   same as the package) */
body[data-ica-refresh="v1"] [data-ica-ui="secondary"]{border-width:2px}
/* button text: every mapped button was weight 600 (measured on all 8 pages). The package 650 made the variable
   Inter text 1 to 2px wider, so the buttons grew; they keep 600. */
body[data-ica-refresh="v1"] :is([data-ica-ui="primary"],[data-ica-ui="secondary"]){font-weight:600}
body[data-ica-refresh="v1"] .developed-by-appwt-llc-form-group :is(input,textarea)[data-ica-ui="field"]{border-width:2px}

/* 3. SEASON ART. The package SVGs use preserveAspectRatio="none" at a 1440x420 viewBox, and 100% 100% stretched
   them over the taller live hero. The art now keeps that 1440:420 ratio across the full width, at the top of the
   hero, as in the package screenshots. At 700px and below seasonal.css drops the art, as designed. */
body[data-ica-refresh="v1"][data-ica-season] [data-ica-ui="hero"]{background-size:100vw 29.1667vw,cover;background-position:center top,center}
@media(max-width:700px){body[data-ica-refresh="v1"][data-ica-season] [data-ica-ui="hero"]{background-size:cover;background-position:center}}
