/* Hallmark · genre: editorial · macrostructure: compact course entry / long document
 * design-system: design.md · designed-as-app · enrichment: existing coastal-road image
 * pre-emit critique: P5 H5 E4 S5 R5 V4 · locked school identity */
html,body{overflow-x:clip}
.cle-free-entry{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--space-md) var(--space-xl);padding-block:var(--space-lg);margin-block:var(--space-xl);border-top:var(--rule-width) solid var(--color-rule)}
.cle-free-entry__title{font-family:var(--font-display);font-size:var(--text-xl);line-height:1.3;color:var(--color-ink);margin:0 0 var(--space-xs)}
.cle-free-entry__fee,.cle-start-fee{font-size:var(--text-sm);line-height:1.6;color:var(--color-ink-2);max-width:58ch;margin:var(--space-sm) 0 0}
.cle-free-primary{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:var(--space-md) var(--space-xl);font-family:var(--font-body);font-size:var(--text-lg);font-weight:650;white-space:nowrap;max-width:100%;border-radius:var(--radius-input)}
.cle-free-entry .cle-free-primary{min-height:48px;font-size:var(--text-md);padding:var(--space-sm) var(--space-lg)}
/* Legacy document links use an important dark color. Only the enabled public
 * entry button needs its contrasting foreground restored in every state. */
body .gov-page .cle-free-entry a.cle-free-primary:not([aria-disabled=true]){color:var(--color-accent-ink)!important;text-decoration:none}
.cle-free-primary:focus-visible{outline:3px solid var(--color-focus);outline-offset:4px;transition:none}
.cle-free-primary:active{transform:translateY(1px)}
.cle-free-primary[aria-disabled=true]{background:var(--color-rule);color:var(--color-ink-2);pointer-events:none;cursor:wait}
.cle-availability-retry{display:block;min-height:44px;max-width:100%;margin-block:var(--space-xs);padding:var(--space-xs) var(--space-sm);border:1px solid var(--color-rule);border-radius:var(--radius-input);background:var(--color-paper);color:var(--color-ink-2);font:600 var(--text-sm)/1.5 var(--font-body);cursor:pointer}
.cle-availability-retry[hidden]{display:none}
.cle-availability-retry:focus-visible{outline:3px solid var(--color-focus);outline-offset:3px}
.cle-availability-retry[aria-disabled=true]{cursor:default}
.cle-start-hero h1{max-width:15ch;overflow-wrap:anywhere;font-style:normal}
.cle-start-hero .program-actions{margin-block:var(--space-lg) var(--space-sm)}
.cle-start-hero .program-intro{margin-bottom:var(--space-md)}
.cle-start-context{font-size:var(--text-sm);max-width:60ch;color:var(--color-muted)}
.cle-start-returning{font-size:var(--text-sm);margin:var(--space-md) 0 var(--space-lg);color:var(--color-ink-2)}
.cle-start-returning a,.cle-start-signin{display:inline-flex;align-items:center;min-height:44px;font-size:var(--text-sm);font-weight:600;white-space:nowrap}
.cle-start-summary{display:flex;flex-wrap:wrap;gap:var(--space-xs) var(--space-lg);list-style:none;margin:var(--space-lg) 0 0;padding:0;color:var(--color-ink-2);font-size:var(--text-sm)}
.cle-start-summary li{padding-block:var(--space-xs);border-bottom:var(--rule-width) solid var(--color-rule)}
.cle-simple-header .program-masthead{padding-block:var(--space-lg);gap:var(--space-sm) var(--space-xl)}
.cle-simple-header .program-nav{padding:0;gap:var(--space-lg)}
.cle-simple-header .program-nav a{min-height:44px}
.cle-simple-hero{padding-block:var(--space-3xl)}
.cle-simple-hero .cle-hero__eyebrow{font-size:var(--text-sm);letter-spacing:0;text-transform:none;margin-bottom:var(--space-md)}
.cle-simple-hero h1{font-size:clamp(2.75rem,5.4vw,4.5rem);max-width:13ch;margin-bottom:var(--space-md)}
.cle-simple-hero .program-intro{font-size:var(--text-lg);color:var(--color-ink-2);margin-block:0 var(--space-lg)}
.cle-simple-hero .program-road img{aspect-ratio:1.35;max-height:360px;object-position:65% center}
.cle-start-availability{font-size:var(--text-sm);line-height:1.5;color:var(--color-muted);margin-top:var(--space-sm)}
.cle-start-availability[hidden]{display:none}
.cle-home-resources{border-top:var(--rule-width) solid var(--color-rule);margin-bottom:var(--space-3xl)}
.cle-home-detail{border-bottom:var(--rule-width) solid var(--color-rule)}
.cle-home-detail>summary{display:flex;align-items:center;justify-content:space-between;gap:var(--space-md);list-style:none;cursor:pointer;min-height:64px;padding-block:var(--space-md);font-size:var(--text-md);font-weight:600;color:var(--color-ink)}
.cle-home-detail>summary::-webkit-details-marker{display:none}
.cle-home-detail>summary::after{content:'+';font-size:var(--text-xl);font-weight:400;color:var(--color-accent)}
.cle-home-detail[open]>summary::after{content:'−'}
.cle-home-detail>summary:focus-visible{outline:3px solid var(--color-focus);outline-offset:4px}
.cle-home-detail__body{padding-block:var(--space-sm) var(--space-xl);font-size:var(--text-md)}
.cle-home-detail__body p{max-width:70ch;line-height:1.65}
.cle-home-detail__body h2{font:500 var(--text-xl)/1.3 var(--font-display);margin-block:var(--space-xl) var(--space-sm)}
.cle-simple-steps{padding-left:var(--space-lg);line-height:1.7;margin:0 0 var(--space-md)}
.cle-simple-steps li{padding-block:var(--space-xs)}
.cle-simple-link-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-xs) var(--space-lg)}
.cle-simple-link-grid a{display:flex;align-items:center;min-height:44px;font-size:var(--text-sm);white-space:nowrap}
.cle-simple-footer{background:var(--color-paper-2);color:var(--color-ink-2);border-top:var(--rule-width) solid var(--color-rule);padding-block:var(--space-xl)}
.cle-simple-footer h2{font:500 var(--text-xl)/1.3 var(--font-display);color:var(--color-ink);margin:0}
.cle-simple-footer a{color:var(--color-ink-2);font-size:var(--text-sm);min-height:44px}
.cle-simple-footer a:hover{color:var(--color-accent)}
.cle-simple-footer :focus-visible{outline-color:var(--color-focus)!important}
.cle-simple-footer__top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--space-sm) var(--space-xl)}
.cle-simple-footer__links,.cle-simple-footer .program-footer-nav{display:flex;align-items:center;flex-wrap:wrap;gap:0 var(--space-lg);margin-block:var(--space-md);padding:0;border:0}
.cle-simple-footer__links a{display:inline-flex;align-items:center;white-space:nowrap}
.cle-simple-footer .school-identity{font-size:var(--text-sm);line-height:1.6;max-width:80ch;margin-top:var(--space-md)}
.cle-simple-footer .school-identity p{font-size:var(--text-sm);max-width:80ch;margin:var(--space-xs) 0}
.cle-simple-footer .school-identity a{min-height:0;display:inline;white-space:normal}
.cle-simple-footer__note,.cle-simple-footer .cle-fee-note,.cle-simple-footer .program-footer-small{font-size:var(--text-sm)!important;line-height:1.6;margin:var(--space-sm) 0 0}
@media(max-width:768px){.cle-free-entry{gap:var(--space-md)}.cle-free-entry .cle-free-primary{width:auto}.cle-start-hero .cle-free-primary{min-height:56px}.cle-start-hero .program-road{display:none}.cle-start-hero .program-hero-grid{grid-template-columns:minmax(0,1fr)}.cle-start-hero h1{font-size:clamp(2.35rem,8vw,3.5rem)}.cle-simple-hero{padding-block:var(--space-2xl)}.cle-simple-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:414px){.cle-simple-header .program-masthead{padding-block:var(--space-md);gap:var(--space-xs)}.cle-simple-header .program-nav{gap:0 var(--space-sm)}.cle-simple-header .program-nav a{min-height:40px}.cle-simple-link-grid{grid-template-columns:minmax(0,1fr)}.cle-simple-home .program-actions{gap:var(--space-md)}.cle-simple-home .cle-free-primary{padding-inline:var(--space-lg)}.cle-home-resources{margin-bottom:var(--space-2xl)}}
/* Only the four reviewed buyer guides have a direct hero entry. Their contact
 * link should not inherit footer spacing; preserve the existing navigation rows. */
@media(max-width:26rem){
 body:has(.program-hero > [data-free-start-entry]) .program-header .program-masthead{padding-block:var(--space-md)}
 body:has(.program-hero > [data-free-start-entry]) .program-header .program-masthead > .program-footer-nav{margin:0;padding:0;border:0}
}
@media(prefers-reduced-motion:reduce){.cle-free-primary{transition:none;transform:none}}
.cle-simple-footer__more{font-size:var(--text-sm);margin-block:var(--space-sm)}
.cle-simple-footer__more>summary{cursor:pointer;min-height:44px;display:list-item;line-height:44px;color:var(--color-ink-2)}
.cle-simple-footer__more nav{display:flex;flex-wrap:wrap;gap:0 var(--space-lg);margin-bottom:var(--space-md)}
.cle-simple-footer__more a{display:inline-flex;align-items:center;white-space:nowrap}
.cle-simple-footer address{font-size:var(--text-sm);font-style:normal;line-height:1.6;margin-block:var(--space-xs)}

/* Reserve the small feedback area instead of moving Start/Sign in when the
 * read-only status request resolves. Hidden controls retain their semantics;
 * the nonhidden grid owns the space and grows naturally for enlarged text. */
.cle-start-controls{display:grid;grid-template-rows:auto auto minmax(1.5em,auto) minmax(44px,auto);row-gap:var(--space-xs);font-size:var(--text-sm);margin-block:var(--space-lg) 0}
.cle-start-controls>.program-actions{grid-row:1;display:grid;grid-template-columns:minmax(0,17rem) max-content;align-items:center;gap:var(--space-md);width:100%;max-width:24rem;margin:0}
.cle-start-controls .cle-free-primary{width:100%;min-width:0;min-height:calc(2.7em + var(--space-sm)*2 + 2px);padding:var(--space-sm) var(--space-md);white-space:normal;overflow-wrap:anywhere;text-align:center}
.cle-start-controls>.cle-start-fee{grid-row:2;margin:0}
.cle-start-controls>.cle-start-availability{grid-row:3;margin:0;align-self:start}
.cle-start-controls>.cle-availability-retry{grid-row:4;justify-self:start;margin:0;align-self:start}
.cle-simple-hero:has(.cle-start-controls){padding-block-end:var(--space-sm)}

/* Text enlargement needs the full line for the primary action; a fixed
 * max-content Sign in column must not squeeze it into fragments. */
.cle-simple-hero .program-hero-grid>div{container-type:inline-size}
@container(max-width:15em){.cle-start-controls .cle-free-primary{min-height:calc(4.05em + var(--space-sm)*2 + 2px)}.cle-start-controls{grid-template-rows:auto auto minmax(3em,auto) minmax(calc(4.5em + var(--space-xs)*2 + 2px),auto)}.cle-start-controls>.program-actions{grid-template-columns:minmax(0,1fr)}.cle-start-controls .cle-start-signin{justify-self:start}}
