/* Calendar Atlas | USA 2027 | v1.4.0 Wave 12: Civic Reference design.
 * One consolidated stylesheet. Locally rendered type, no external fonts, images, or dependencies.
 * The calendar is the product: the interface deliberately avoids editorial hero cards.
 */
:root{
 --ca-navy:#1b3049;--ca-deep:#11263e;--ca-blue:#285884;--ca-red:#ab374b;
 --ca-red-tint:#fff3f3;--ca-paper:#fff;--ca-bg:#f6f8fa;--ca-ink:#1e3145;
 --ca-muted:#556679;--ca-border:#dbe3e9;--ca-soft:#edf2f7;--ca-soft2:#f9fafc;
 --ca-radius:9px;--ca-line:1px solid var(--ca-border);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.ca-body{margin:0;background:var(--ca-bg);color:var(--ca-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums}
body.ca-body button,body.ca-body input,body.ca-body textarea{font:inherit}
body.ca-body button{cursor:pointer}
body.ca-body img,body.ca-body svg{max-width:100%}
.ca-app{background:var(--ca-bg);color:var(--ca-ink);min-height:100vh;overflow-x:clip}
.ca-app a{color:inherit;text-decoration:none}
.ca-app a:hover{color:var(--ca-blue)}
.ca-app :focus-visible{outline:3px solid #6f9fd5;outline-offset:3px}
.ca-app h1,.ca-app h2,.ca-app h3,.ca-app p{overflow-wrap:break-word}
.ca-app h1,.ca-app h2,.ca-app h3{color:var(--ca-deep)}
.ca-shell{max-width:1380px;margin:0 auto;padding:0 32px}
.ca-skip{position:absolute;top:-100px;left:16px;z-index:1000;padding:12px 18px;background:#fff;box-shadow:0 3px 20px #142a4130;color:var(--ca-deep)}
.ca-skip:focus{top:12px}
/* restrained identity, not a full-bleed marketing banner */
.ca-masthead-accent{height:3px;background:var(--ca-navy);margin:0 calc(50% - 50vw)}
.ca-topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:82px;padding:12px 0;border-bottom:var(--ca-line)}
.ca-logo{display:inline-flex;align-items:center;gap:11px;min-width:0;color:var(--ca-deep)!important;font-size:19px;font-weight:780;letter-spacing:-.045em;line-height:1.13;white-space:nowrap}
.ca-logo:hover{color:var(--ca-blue)!important}
.ca-logo-symbol{display:grid;place-items:center;width:41px;height:43px;flex-shrink:0;border-radius:7px;background:var(--ca-deep);color:#fff;position:relative}
.ca-logo-symbol:after{content:'';position:absolute;inset:auto 9px 8px;height:2px;background:#cf6d77}
.ca-logo-symbol span{font-size:19px;font-weight:730;letter-spacing:-.07em;transform:translateY(-3px)}
.ca-logo small{display:block;font-size:10px;font-weight:650;color:var(--ca-muted);letter-spacing:.11em;margin-top:4px}
.ca-topbar nav{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.ca-topbar nav a{display:inline-flex;align-items:center;min-height:40px;padding:8px 13px;border-radius:6px;color:#4d6074;font-size:13px;font-weight:650}
.ca-topbar nav a:hover,.ca-topbar nav a:focus-visible{background:#edf2f7;color:var(--ca-deep)}
.ca-owner-header,.ca-owner-footer{padding:15px 0;color:var(--ca-muted)}
.ca-eyebrow,.ca-section-kicker,.ca-editorial-label{display:block;margin:0 0 9px;color:#5b7186;font-size:11px;line-height:1.5;font-weight:740;text-transform:uppercase;letter-spacing:.10em}
/* Homepage: calendars are the first useful section */
.ca-home-intro{padding:31px 0 13px;display:flex;flex-direction:column;gap:0}
.ca-home-intro .ca-eyebrow{margin:0 0 7px}
.ca-home-intro h1,.ca-heading h1,.ca-hero h1{margin:0;font-size:clamp(34px,3.6vw,53px);font-weight:760;line-height:1.12;letter-spacing:-.055em;color:var(--ca-deep)}
.ca-home-intro h1 em,.ca-heading h1 em,.ca-hero h1 em{font-style:normal;color:#536d89;font-weight:510}
.ca-home-intro p:not(.ca-eyebrow){margin:10px 0 0;font-size:15px;color:var(--ca-muted);max-width:850px;line-height:1.65}
/* Year page gets the same factual, useful treatment rather than a magazine hero */
.ca-hero{margin:28px 0 12px;padding:7px 0 14px;display:block;background:transparent;border:0;box-shadow:none;color:var(--ca-ink);min-height:0}
.ca-hero:before,.ca-hero:after,.ca-hero-stamp,.ca-hero-points{display:none!important}
.ca-hero-main{max-width:none}
.ca-hero .ca-eyebrow{color:#58718a}
.ca-hero .ca-eyebrow span{color:var(--ca-red)}
.ca-hero p:not(.ca-eyebrow){font-size:15px;color:var(--ca-muted);max-width:850px;margin:12px 0 0}
/* Overview index */
.ca-year-section{padding:12px 0 43px}
.ca-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 20px}
.ca-section-heading .ca-eyebrow{margin:0 0 5px}
.ca-section-heading h2,.ca-focus-heading h2,.ca-knowledge-top h2{font-size:25px;line-height:1.23;letter-spacing:-.038em;font-weight:740;margin:0;color:var(--ca-deep)}
.ca-section-heading>p,.ca-focus-heading>p{color:var(--ca-muted);margin:0;max-width:480px;font-size:13px;line-height:1.65}
.ca-year-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ca-month-card{display:block;min-width:0;border:var(--ca-line);background:var(--ca-paper);border-radius:10px;padding:19px 20px 20px;box-shadow:0 2px 7px #1d385008;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.ca-month-card:hover{color:inherit!important;border-color:#a7bdcf;box-shadow:0 9px 26px #183c5917;transform:translateY(-1px)}
.ca-month-card:focus-visible{outline-offset:1px}
.ca-month-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 17px;padding:0 0 15px;border-bottom:var(--ca-line)}
.ca-month-heading strong{font-size:22px;line-height:1.15;font-weight:730;letter-spacing:-.045em;color:var(--ca-deep)}
.ca-month-heading span{display:inline-flex;align-items:center;gap:8px;color:#596f82;font-size:12px;font-weight:650}
.ca-month-heading svg{stroke:var(--ca-blue)}
/* day-grid utility shared between small year view and full month */
.ca-calendar{width:100%;min-width:0;background:var(--ca-paper)}
.ca-days-head,.ca-day-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.ca-days-head{border-bottom:1px solid #c7d4df;padding-bottom:6px;margin-bottom:4px}
.ca-days-head span{font-size:11px;color:#63768b;letter-spacing:.04em;font-weight:700;text-align:center;line-height:2.1}
.ca-day-grid{isolation:isolate}
.ca-day{position:relative;min-width:0;min-height:0;overflow:hidden;color:var(--ca-ink)}
.ca-day time{display:block;font-variant-numeric:tabular-nums;font-weight:700;line-height:1.15}
.ca-day.ca-empty{background:transparent!important;box-shadow:none!important;border:0!important;pointer-events:none}
.ca-day.ca-weekend:not(.ca-holiday){background:#f7f9fb}
.ca-day.ca-holiday{background:#fff2f3}
.ca-day.ca-holiday time{color:var(--ca-red)}
.ca-day.ca-has-event:not(.ca-holiday) time{color:#2c597f}
.ca-mini .ca-days-head{margin-bottom:3px}
.ca-mini .ca-day{min-height:57px;padding:5px 4px 4px;border-right:1px solid #e8edf2;border-bottom:1px solid #e8edf2}
.ca-mini .ca-day:nth-child(7n){border-right:0}
.ca-mini .ca-day time{font-size:13px;text-align:left;padding-left:2px;color:var(--ca-deep)}
.ca-mini .ca-day.ca-holiday time{color:var(--ca-red)}
.ca-mini .ca-mini-event{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;max-height:28px;overflow:hidden;margin-top:5px;padding:0 0 0 3px;border-left:2px solid #7293ad;font-size:10px;font-weight:600;letter-spacing:-.02em;line-height:1.25;overflow-wrap:anywhere;color:#315d7f;text-align:left}
.ca-mini .ca-mini-event.ca-fed{color:#9d3045;border-color:#ba4a59;font-weight:730}
.ca-mini .ca-mini-more{display:inline-block;margin:1px 0 0 3px;font-size:10px;font-weight:720;color:#63778b;line-height:1.1}
/* Date + holiday group small legend. Treated as real reference, not badges */
.ca-calendar-key{display:flex;flex-wrap:wrap;align-items:center;gap:14px 20px;color:var(--ca-muted);font-size:12px;line-height:1.45}
.ca-calendar-key span{display:inline-flex;align-items:center;gap:7px}
.ca-key-mark{display:inline-block;width:10px;height:10px;border-radius:2px;background:#dfebf4;border:1px solid #9db4c8}
.ca-key-mark.ca-key-federal{background:#fbdfe2;border-color:#c77c88}
/* Month page heading and navigation */
.ca-breadcrumb{display:flex;align-items:center;gap:10px;margin:24px 0 19px;color:#647688;font-size:12px;font-weight:600}
.ca-breadcrumb a{color:var(--ca-blue)}
.ca-breadcrumb a:hover{text-decoration:underline;text-underline-offset:3px}
.ca-month-head{display:flex;justify-content:space-between;align-items:end;gap:24px;padding:0 0 23px;border-bottom:var(--ca-line)}
.ca-month-head .ca-eyebrow{margin:0 0 7px}
.ca-month-head h1{margin:0}
.ca-month-head>div:first-child{max-width:920px}
.ca-month-head>div:first-child>p:not(.ca-eyebrow){color:var(--ca-muted);font-size:14px;line-height:1.6;margin:10px 0 0;max-width:850px}
.ca-month-pagination{display:flex;align-items:center;gap:7px;flex-shrink:0}
.ca-month-pagination a{display:inline-grid;place-items:center;border:var(--ca-line);border-radius:6px;min-width:39px;min-height:39px;padding:6px 12px;background:#fff;color:#344e67;font-size:13px;font-weight:660;white-space:nowrap}
.ca-month-pagination a:hover{background:var(--ca-soft)}
.ca-stat-strip{display:flex;align-items:center;gap:8px 24px;flex-wrap:wrap;padding:15px 0;margin-bottom:7px;color:#566c80;font-size:12px;border-bottom:var(--ca-line)}
.ca-stat-strip span{display:inline-flex;align-items:baseline;gap:6px}
.ca-stat-strip strong{font-size:13px;color:#1b3651;font-weight:740}
/* Controls feel like utilities, not a banner */
.ca-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:13px 20px;margin:15px 0 12px;padding:11px 14px;border:var(--ca-line);border-radius:8px;background:#fff}
.ca-control-group{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.ca-control-label{color:#596e82;font-size:11px;font-weight:730;margin-right:7px}
.ca-design,.ca-toggle-week,.ca-week-current{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:6px;padding:7px 11px;min-height:35px;font-size:12px;font-weight:650;white-space:nowrap}
.ca-design{background:#fff;color:#485f75}
.ca-design.is-active{background:var(--ca-deep);border-color:var(--ca-deep);color:#fff}
.ca-design:not(.is-active):hover{background:#eef2f6;border-color:#dae2e9}
.ca-week-current{color:var(--ca-deep);background:#f0f4f8}
.ca-toggle-week{border-color:#d5e0e9;background:#fff;color:#395875}
.ca-toggle-week:hover{background:#f1f5f9}
.ca-toolbar-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.ca-print,.ca-export{display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:39px;padding:9px 14px;border-radius:6px;font-size:12px;font-weight:720;line-height:1.2;white-space:nowrap}
.ca-print{background:var(--ca-deep);color:#fff;border:1px solid var(--ca-deep)}
.ca-print:hover{background:#2d4d70}
.ca-export{background:#fff;color:var(--ca-blue)!important;border:1px solid #b8cad9}
.ca-export:hover{background:#f0f5f9}
.ca-note-hint{margin:12px 0 14px;color:#5c7185;font-size:12px;line-height:1.55}
/* Primary month calendar and immediately adjacent date register */
.ca-month-layout{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(275px,.87fr);align-items:start;gap:19px;margin-top:0}
.ca-month-main{min-width:0;padding:22px 22px 16px;border:var(--ca-line);border-radius:9px;background:#fff;box-shadow:0 3px 12px #12314b08}
.ca-sheet-top{display:flex;justify-content:space-between;align-items:end;gap:12px;padding-bottom:16px;border-bottom:2px solid var(--ca-deep);margin-bottom:7px}
.ca-sheet-caption{font-size:10px;letter-spacing:.10em;font-weight:730;color:#64778b}
.ca-sheet-top h2{margin:2px 0 0;line-height:1.15;color:var(--ca-deep);font-weight:780;letter-spacing:-.048em;font-size:28px}
.ca-sheet-top h2 span{color:#69829a;font-weight:480}
.ca-sheet-country{font-size:10px;font-weight:720;letter-spacing:.09em;color:#53697e;padding-bottom:5px;white-space:nowrap}
.ca-large .ca-days-head{margin-bottom:0;padding:0;border-bottom:1px solid #c4d1dc}
.ca-large .ca-days-head span{height:37px;display:grid;place-items:center;font-size:11px;line-height:1}
.ca-large .ca-day{height:auto;min-height:76px;max-height:115px;padding:9px 6px 7px;border-right:1px solid #e1e9ef;border-bottom:1px solid #e1e9ef;cursor:pointer;transition:box-shadow .12s ease,background .12s ease}
.ca-large .ca-day:nth-child(7n){border-right:0}
.ca-large .ca-day time{font-size:16px;color:#24405b}
.ca-large .ca-day.ca-holiday time{color:var(--ca-red)}
.ca-large .ca-day[role=button]:hover{box-shadow:inset 0 0 0 2px #87a8c3;z-index:1}
.ca-large .ca-day.ca-selected{background:#e7f1f8!important;box-shadow:inset 0 0 0 2px #2b6a9b;z-index:2}
.ca-large .ca-day-event{display:block;min-width:0;margin-top:5px;padding:2px 3px 2px 5px;border-left:2px solid #6e99b5;text-align:left;color:#315a7a;font-size:10px;font-weight:670;line-height:1.21;overflow:hidden;overflow-wrap:anywhere}
.ca-large .ca-day-event.ca-fed{color:#9f3748;border-color:#bb586a;font-weight:740}
.ca-large .ca-event-full{display:none}
.ca-large .ca-event-short{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.ca-large .ca-day-more{display:block;color:#60778c;font-size:10px;font-weight:720;margin-top:3px;line-height:1.1}
.ca-large .ca-user-note{display:none;font-size:9px;color:#506a80;line-height:1.25;max-height:28px;overflow:hidden;margin-top:4px;word-break:break-word}
.ca-large .ca-user-note:not(:empty){display:block;border-top:1px dotted #bbcfdb;padding-top:3px}
.ca-print-footer{display:none}
/* The note controls are exposed only after selecting a calendar day */
.ca-date-details{margin:14px 0 2px;padding:13px 15px;border:1px solid #d9e5ee;background:#f6f9fc;border-radius:7px;color:#34516b;font-size:13px}
.ca-date-details [hidden]{display:none!important}
.ca-date-placeholder{font-size:12px;color:#60758a;line-height:1.55}
.ca-date-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}
.ca-detail-eyebrow{color:#5b7890;display:block;text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:800}
.ca-date-title{font-size:17px;font-weight:770;margin:3px 0 8px;color:var(--ca-deep)}
.ca-date-close{border:1px solid #c7d8e6;border-radius:5px;padding:6px 10px;background:#fff;color:var(--ca-blue);font-size:12px}
.ca-date-events ul{margin:0 0 12px;padding-left:19px;font-weight:600}
.ca-date-events li{margin:3px 0}
.ca-date-events p{margin:0 0 11px}
.ca-date-note-label{display:block;font-size:12px;font-weight:700;margin:9px 0 5px;color:#374f67}
.ca-date-note-input{display:block;width:100%;border:1px solid #b8cad9;background:#fff;border-radius:5px;padding:10px 11px;color:#21364c;resize:vertical;min-height:66px;font-size:13px}
.ca-date-actions{display:flex;gap:8px;align-items:center;margin:10px 0 0}
.ca-date-save,.ca-date-clear{font-size:12px;font-weight:710;border-radius:5px;min-height:37px;padding:8px 13px;border:1px solid var(--ca-deep)}
.ca-date-save{background:var(--ca-deep);color:#fff}
.ca-date-clear{border-color:#c3d2df;background:#fff;color:#405e77}
.ca-date-status{color:#2d644e;font-size:12px;margin:9px 0 0}
/* Side register: compact numbered dates, no giant editorial boxes */
.ca-month-aside{min-width:0;padding:20px 19px 17px;background:#fff;border:var(--ca-line);border-radius:9px}
.ca-month-aside .ca-eyebrow{margin-bottom:6px}
.ca-month-aside h2{font-size:21px;letter-spacing:-.038em;font-weight:740;margin:0 0 9px;color:var(--ca-deep)}
.ca-aside-lede{font-size:13px;line-height:1.65;color:var(--ca-muted);margin:0 0 12px}
.ca-events{display:grid;gap:0}
.ca-event-row{display:grid;grid-template-columns:46px minmax(0,1fr) 10px;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #edf0f4;min-width:0}
.ca-event-row:hover .ca-event-info>strong{color:var(--ca-blue);text-decoration:underline;text-underline-offset:3px}
.ca-event-row time{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:48px;background:#f2f5f8;border-radius:5px;color:var(--ca-deep)}
.ca-event-row time span{font-size:10px;font-weight:800;letter-spacing:.08em;line-height:1.1}
.ca-event-row time strong{font-size:20px;line-height:1.1;font-weight:740;margin-top:1px}
.ca-event-info{min-width:0;display:block}
.ca-event-info>strong{display:block;font-size:12px;line-height:1.38;color:var(--ca-deep);font-weight:720}
.ca-event-info small{display:block;color:#566c80;font-size:11px;line-height:1.4;margin-top:4px}
.ca-event-arrow{font-size:14px;color:#8194a6}
.ca-aside-note{margin-top:18px;padding:14px 15px;background:#f4f7fa;border-left:2px solid #7a9ab4;border-radius:3px}
.ca-aside-note strong{font-size:12px;color:var(--ca-deep)}
.ca-aside-note p{margin:7px 0 0;color:var(--ca-muted);font-size:12px;line-height:1.55}
/* Information below calendar (already written and source-supported) */
.ca-guide,.ca-editorial,.ca-focus,.ca-year-events,.ca-knowledge,.ca-under-calendar{margin:45px 0 0}
.ca-guide-top,.ca-editorial-header,.ca-focus-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:20px;padding-bottom:15px;border-bottom:var(--ca-line)}
.ca-guide-top h2,.ca-editorial-header h2,.ca-editorial-faq h2,.ca-under-calendar h2{font-size:25px;color:var(--ca-deep);font-weight:740;letter-spacing:-.04em;line-height:1.28;margin:5px 0 0}
.ca-guide-top>p,.ca-editorial-header>p,.ca-focus-heading>p{color:var(--ca-muted);font-size:13px;line-height:1.6;max-width:400px;margin:0}
.ca-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.ca-guide-entry{border:var(--ca-line);background:#fff;border-radius:7px;padding:18px 19px;scroll-margin-top:20px}
.ca-guide-entry:target{border-color:#7ea2bf;box-shadow:inset 3px 0 #3676a4}
.ca-guide-meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center;color:#566e81;font-size:11px;font-weight:680}
.ca-type{display:inline-block;border-radius:3px;background:#edf3f8;padding:3px 7px;color:#4d7392;font-size:10px;font-weight:730;line-height:1.25}
.ca-type.ca-type-fed{background:#fff0f1;color:#a23949}
.ca-guide-entry h3{font-size:17px;letter-spacing:-.025em;line-height:1.35;font-weight:730;margin:12px 0 8px}
.ca-guide-entry p{color:var(--ca-muted);font-size:14px;line-height:1.72;margin:0}
.ca-editorial-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.ca-editorial-card,.ca-editorial-faq-grid article{padding:19px 20px;border:var(--ca-line);border-radius:7px;background:#fff}
.ca-editorial-card h3,.ca-editorial-faq-grid h3{font-size:17px;font-weight:740;letter-spacing:-.025em;line-height:1.32;margin:7px 0 9px}
.ca-editorial-card p,.ca-editorial-faq-grid p{font-size:13px;line-height:1.72;color:var(--ca-muted);margin:0}
.ca-editorial-card a{display:inline-block;color:var(--ca-blue);font-weight:700;font-size:12px;margin-top:10px;text-decoration:underline;text-decoration-color:#b5c7d7;text-underline-offset:3px}
.ca-editorial-faq{margin-top:28px}
.ca-editorial-faq>h2{margin:0 0 15px}
.ca-editorial-faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.ca-under-calendar{padding:25px 0 5px;border-top:var(--ca-line)}
.ca-under-calendar h2{font-size:19px;margin:0 0 17px}
.ca-month-links{display:flex;flex-wrap:wrap;gap:8px}
.ca-month-links a{display:inline-flex;align-items:center;padding:9px 13px;min-height:38px;font-size:12px;font-weight:670;background:#fff;color:#3b5974;border:1px solid #d6e1ea;border-radius:5px}
.ca-month-links a:hover,.ca-month-links a[aria-current=page]{background:var(--ca-deep);color:#fff}
/* Calendar index supporting information; visually subordinate to the calendar itself */
.ca-focus-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ca-focus-card{display:flex;flex-direction:column;padding:18px;min-height:190px;border:var(--ca-line);background:#fff;border-radius:7px}
.ca-focus-card:hover{border-color:#a9bfce}
.ca-focus-card>span{color:#586f84;font-weight:760;font-size:10px;letter-spacing:.10em}
.ca-focus-card h3{font-size:17px;font-weight:740;line-height:1.35;letter-spacing:-.024em;margin:10px 0 7px}
.ca-focus-card p{font-size:12px;color:var(--ca-muted);line-height:1.6;margin:0 0 14px}
.ca-focus-card strong{display:block;margin-top:auto;color:var(--ca-blue);font-size:12px;font-weight:760}
.ca-year-events .ca-events{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 23px;padding:9px 22px;background:#fff;border:var(--ca-line);border-radius:8px}
.ca-home-feature{margin:30px 0 0;padding:23px 25px;background:#ebf1f7;border:1px solid #d5e1eb;border-radius:8px;display:flex;gap:30px;align-items:center;justify-content:space-between}
.ca-home-feature h2{font-size:22px;line-height:1.35;letter-spacing:-.035em;margin:0;color:var(--ca-deep)}
.ca-home-feature .ca-eyebrow{margin:0 0 7px}
.ca-home-feature p{font-size:13px;color:var(--ca-muted);line-height:1.6;max-width:770px;margin:7px 0 0}
.ca-home-feature>a{display:inline-grid;place-items:center;padding:12px 16px;border-radius:5px;color:#fff;background:var(--ca-deep);font-size:12px;font-weight:740;white-space:nowrap}
.ca-home-feature>a:hover{background:#2b506e;color:#fff}
.ca-knowledge-top{margin:0 0 20px}
.ca-knowledge-top p:last-child{color:var(--ca-muted);margin:9px 0 0;font-size:13px}
.ca-knowledge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ca-knowledge-grid article{padding:19px 20px;background:#fff;border:var(--ca-line);border-radius:7px}
.ca-knowledge-grid h3{font-size:16px;letter-spacing:-.025em;margin:0 0 9px;font-weight:730}
.ca-knowledge-grid p{font-size:13px;color:var(--ca-muted);line-height:1.7;margin:0}
.ca-quick-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:19px}
.ca-quick-links a{display:inline-flex;align-items:center;min-height:38px;border:var(--ca-line);background:#fff;border-radius:5px;font-size:12px;color:var(--ca-blue);font-weight:650;padding:9px 13px}
.ca-sources{margin:45px 0 0;padding:20px 0 26px;border-top:var(--ca-line);font-size:12px;color:var(--ca-muted);line-height:1.7}
.ca-sources strong{color:#354f68;font-size:13px}
.ca-sources p{margin:7px 0}
.ca-sources a{color:var(--ca-blue);text-decoration:underline;text-decoration-color:#b1c4d5;text-underline-offset:3px}
.ca-footer{display:flex;justify-content:space-between;align-items:start;gap:25px;padding:25px 0 40px;border-top:var(--ca-line);color:var(--ca-muted)}
.ca-footer>div>a{font-size:15px;color:var(--ca-deep);font-weight:770}
.ca-footer p{font-size:12px;margin:7px 0 0}
.ca-footer-links{display:flex;gap:15px 24px;flex-wrap:wrap}
.ca-footer-links a{font-size:12px;font-weight:670;color:#526c86}
/* A restrained alternate view for on-screen contrast; print is always high contrast. */
.ca-app[data-design=ink]{--ca-bg:#edf2f6;--ca-navy:#102b47;--ca-deep:#102942;--ca-blue:#1a507e;--ca-soft:#e7eef5}
.ca-app[data-design=ink] .ca-month-card,.ca-app[data-design=ink] .ca-month-main{box-shadow:0 0 0 1px #adbdce}
.ca-app[data-design=planner] .ca-large .ca-day{min-height:97px;max-height:none}
.ca-app[data-design=planner] .ca-large .ca-day-event{font-size:10px}
.ca-app[data-design=planner] .ca-month-main{background:#fffefb}
/* Responsive: preserve the real seven-day calendar, not a squeezed two-column widget */
@media(max-width:1150px){
 .ca-shell{padding:0 24px}
 .ca-month-layout{grid-template-columns:minmax(0,1.65fr) minmax(260px,.92fr);gap:14px}
 .ca-month-main{padding:17px 16px 13px}
 .ca-large .ca-day{min-height:74px;padding:8px 5px 6px}
 .ca-large .ca-day-event{font-size:9.5px}
 .ca-toolbar-actions{margin-left:0}
 .ca-year-events .ca-events{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:980px){
 .ca-topbar{gap:10px;min-height:75px}
 .ca-topbar nav{gap:0}
 .ca-topbar nav a{font-size:12px;padding:8px 9px}
 .ca-month-layout{grid-template-columns:1fr}
 .ca-month-aside{padding:19px 20px}
 .ca-month-aside .ca-events{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
 .ca-large .ca-day{min-height:84px}
 .ca-large .ca-day-event{font-size:10px}
 .ca-focus-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ca-knowledge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 .ca-shell{padding:0 17px}
 .ca-topbar{flex-wrap:wrap;gap:4px 12px;padding:13px 0 9px}
 .ca-logo{font-size:18px}
 .ca-logo-symbol{width:38px;height:39px}
 .ca-topbar nav{width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none;margin-left:-9px}
 .ca-topbar nav a{flex:0 0 auto;white-space:nowrap;min-height:36px;padding:6px 9px}
 .ca-home-intro{padding:24px 0 8px}
 .ca-home-intro h1,.ca-heading h1,.ca-hero h1{font-size:38px}
 .ca-year-grid{grid-template-columns:1fr;gap:15px}
 .ca-month-card{padding:16px 17px}
 .ca-mini .ca-day{min-height:68px;padding:6px 5px}
 .ca-mini .ca-mini-event{font-size:10px}
 .ca-month-head{align-items:start;flex-direction:column;gap:15px}
 .ca-month-pagination{align-self:start}
 .ca-guide-top,.ca-editorial-header,.ca-focus-heading{align-items:start;flex-direction:column;gap:8px}
 .ca-guide-grid,.ca-editorial-cards,.ca-editorial-faq-grid{grid-template-columns:1fr}
 .ca-knowledge-grid,.ca-month-aside .ca-events{grid-template-columns:1fr}
 .ca-year-events .ca-events{grid-template-columns:1fr}
 .ca-section-heading{align-items:start;flex-direction:column;gap:8px}
 .ca-section-heading>p{font-size:12px}
 .ca-home-feature{flex-direction:column;align-items:start;gap:18px}
 .ca-footer{flex-direction:column;gap:19px}
}
@media(max-width:620px){
 .ca-year-grid{grid-template-columns:1fr}
 .ca-toolbar{margin:12px 0;align-items:stretch;gap:9px;padding:12px}
 .ca-control-group{gap:5px}
 .ca-control-label{width:100%;margin:0 0 2px;font-size:11px}
 .ca-design,.ca-toggle-week,.ca-week-current{min-height:40px}
 .ca-toolbar-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:3px}
 .ca-print,.ca-export{white-space:normal;min-height:43px;font-size:12px;text-align:center}
 .ca-month-main{padding:14px 12px}
 .ca-sheet-top h2{font-size:25px}
 .ca-sheet-country{font-size:9px}
 .ca-large .ca-day{min-height:74px;max-height:none;padding:8px 4px 6px}
 .ca-large .ca-day time{font-size:15px}
 .ca-large .ca-day-event{padding-left:3px;font-size:9px;line-height:1.18;margin-top:5px}
 .ca-large .ca-event-full{display:none}
 .ca-large .ca-event-short{display:-webkit-box}
 .ca-large .ca-day-more{font-size:9px}
 .ca-event-row{grid-template-columns:43px minmax(0,1fr) 10px;gap:10px}
 .ca-guide-entry,.ca-editorial-card,.ca-editorial-faq-grid article{padding:16px}
 .ca-focus-grid{grid-template-columns:1fr}
 .ca-focus-card{min-height:auto}
 .ca-knowledge-grid{grid-template-columns:1fr}
 .ca-year-events .ca-events{padding:7px 14px}
 .ca-note-hint{font-size:12px}
 .ca-home-intro p:not(.ca-eyebrow){font-size:13px}
}
@media(max-width:390px){
 .ca-shell{padding:0 12px}
 .ca-home-intro h1,.ca-heading h1,.ca-hero h1{font-size:34px}
 .ca-month-card{padding:13px 12px}
 .ca-month-heading{padding-bottom:11px;margin-bottom:10px}
 .ca-month-heading strong{font-size:21px}
 .ca-mini .ca-day{min-height:62px;padding:5px 2px 4px}
 .ca-mini .ca-day time{font-size:13px}
 .ca-mini .ca-mini-event{font-size:9px;padding-left:2px;margin-top:4px;max-height:29px}
 .ca-mini .ca-mini-event.ca-long-word{font-size:8.5px}
 .ca-month-main{padding:12px 9px}
 .ca-large .ca-day{min-height:72px;padding:7px 2px 5px}
 .ca-large .ca-day-event{font-size:8.6px;padding-left:2px;margin-top:4px}
 .ca-large .ca-event-short.ca-long-word{font-size:8px}
 .ca-large .ca-days-head span{font-size:10px}
 .ca-sheet-country{display:none}
 .ca-large .ca-day time{font-size:15px}
}
/* v1.2.0 layout restriction superseded by v1.3.0 compact grid rules. */
@media screen and (min-width:981px){
 .ca-app[data-design=paper] .ca-large .ca-day{min-height:73px;max-height:116px}
 .ca-app[data-design=ink] .ca-large .ca-day{min-height:73px;max-height:116px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ca-month-card,.ca-large .ca-day{transition:none!important}}
/* Printing is independent of the display grid and uses full occasion names. */
@media print{
 @page{size:letter portrait;margin:11mm}
 body.ca-body,.ca-app{background:#fff!important;color:#111!important;font-size:11pt}
 .ca-shell{max-width:none;padding:0!important}
 .ca-topbar,.ca-masthead-accent,.ca-owner-header,.ca-owner-footer,.ca-toolbar,.ca-note-hint,.ca-month-aside,.ca-sources,.ca-footer,.ca-guide,.ca-editorial,.ca-focus,.ca-home-feature,.ca-knowledge,.ca-year-events,.ca-under-calendar,.ca-month-links,.ca-breadcrumb,.ca-month-pagination,.ca-stat-strip,.ca-hero,.ca-year-section .ca-section-heading,.ca-skip{display:none!important}
 .ca-month-head{border:0;padding:0 0 11px;margin:0;display:block}
 .ca-month-head .ca-eyebrow,.ca-month-head>div:first-child>p:not(.ca-eyebrow){display:none}
 .ca-month-head h1{color:#000;font-size:25pt}
 .ca-month-layout{display:block;margin:0}
 .ca-month-main{border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;width:100%!important}
 .ca-sheet-top{border-bottom:2px solid #111;margin-bottom:8px}
 .ca-sheet-top h2{color:#111}
 .ca-sheet-country,.ca-sheet-caption{color:#333}
 .ca-calendar,.ca-calendar *{print-color-adjust:exact;-webkit-print-color-adjust:exact}
 .ca-large .ca-days-head{border-color:#333}
 .ca-large .ca-days-head span{font-size:10pt;color:#222}
 .ca-large .ca-day{height:91px!important;min-height:91px!important;max-height:none!important;border-color:#c5c5c5!important;padding:6px!important;break-inside:avoid}
 .ca-large .ca-day time{font-size:13pt!important;color:#000!important}
 .ca-large .ca-day.ca-holiday{background:#f4f4f4!important}
 .ca-large .ca-day.ca-weekend:not(.ca-holiday){background:#fafafa!important}
 .ca-large .ca-day-event{font-size:8pt!important;line-height:1.15!important;margin-top:4px!important;padding:1px 0!important;border:0!important;color:#111!important;max-height:none!important}
 .ca-large .ca-event-full{display:inline!important}
 .ca-large .ca-event-short{display:none!important}
 .ca-large .ca-day-more{color:#111;font-size:8pt}
 .ca-large .ca-user-note:not(:empty){color:#111!important;font-size:7pt!important;max-height:18px!important}
 .ca-date-details{display:none!important}
 .ca-print-footer{display:block;font-size:8pt;margin-top:11px;color:#444!important}
 .ca-year-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .ca-year-section{display:block!important;margin:0;padding:0}
 .ca-year-section .ca-month-card{break-inside:avoid;border:1px solid #bbb;box-shadow:none;padding:8px}
 .ca-mini .ca-day{min-height:35px}
 .ca-mini .ca-mini-event{font-size:6pt;line-height:1.1;color:#111;border:0;padding:0}
 .ca-month-card:hover{transform:none}
}
/* Calendar key and final mobile refinements. The calendar precedes its controls in DOM and visual order. */
.ca-overview-key{margin:-7px 0 18px}
.ca-sheet-key{padding:12px 0 0;gap:14px 17px}
.ca-month-main>.ca-toolbar{margin:14px 0 0}
.ca-month-main>.ca-note-hint{margin:8px 0 0}
@media(max-width:620px){
 .ca-page-month>.ca-breadcrumb{margin:16px 0 11px}
 .ca-page-month>.ca-month-head{border:0;padding:0 0 8px;gap:8px}
 .ca-page-month>.ca-month-head .ca-eyebrow{display:none}
 .ca-page-month>.ca-month-head>div:first-child>p:not(.ca-eyebrow){font-size:13px;line-height:1.45;margin:7px 0 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
 .ca-page-month>.ca-month-head h1{font-size:32px}
 .ca-page-month>.ca-stat-strip{padding:9px 0;margin:0 0 11px;gap:8px 13px;font-size:11px}
 .ca-page-month .ca-month-pagination a{min-height:35px;min-width:36px}
 .ca-page-month .ca-month-main{margin:0}
 .ca-page-month .ca-sheet-top{display:none}
 .ca-page-month .ca-large .ca-days-head{border-top:2px solid var(--ca-deep)}
 .ca-page-month .ca-month-aside{margin-top:17px}
 .ca-page-month .ca-toolbar{margin-top:17px}
 .ca-sheet-key{gap:10px 13px;font-size:11px}
 .ca-large .ca-event-short.ca-long-word{overflow-wrap:normal;word-break:normal;white-space:nowrap;text-overflow:ellipsis;display:block}
}
@media print{.ca-page-month .ca-sheet-top{display:flex!important}}
@media(max-width:390px){
 .ca-home-intro{padding:17px 0 0}
 .ca-home-intro h1{font-size:31px}
 .ca-home-intro p:not(.ca-eyebrow){font-size:12px;line-height:1.45;margin-top:6px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
 .ca-year-section{padding-top:8px}
 .ca-year-section .ca-section-heading{margin-bottom:9px}
 .ca-year-section .ca-section-heading .ca-eyebrow{margin-bottom:4px}
 .ca-year-section .ca-section-heading h2{font-size:20px}
 .ca-year-section .ca-section-heading>p{display:none}
 .ca-overview-key{margin:0 0 10px;font-size:11px;gap:8px 13px}
 .ca-topbar{padding:10px 0 6px}
 .ca-logo small{margin-top:2px}
}
@media(max-width:390px){
 .ca-mini .ca-mini-event.ca-long-word{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;max-height:20px}
}

/* Wave 12 — current-month focus. Calendar cards remain the first site utility. */
.ca-featured-month{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px;align-items:center;padding:19px;margin:11px 0 26px;background:#eef3f8;border:1px solid #d6e2ed;border-radius:10px;min-width:0}
.ca-featured-calendar{min-width:0}
.ca-featured-month .ca-month-card{padding:16px;border-color:#cfdce6;box-shadow:0 3px 14px rgba(23,50,75,.035)}
.ca-featured-copy{min-width:0;padding:8px 15px 8px 4px}
.ca-featured-copy h2{font-size:clamp(24px,2.4vw,34px);line-height:1.2;letter-spacing:-.045em;margin:0 0 12px;color:var(--ca-deep)}
.ca-featured-intro{color:#3e5972;font-size:15px;line-height:1.65;margin:0 0 16px}
.ca-featured-count{display:inline-block;color:#285479;font-size:13px;font-weight:730;line-height:1.4;margin:0 0 20px;padding:7px 11px;background:#fff;border:1px solid #d2e0ec;border-radius:5px}
.ca-featured-links{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.ca-featured-links a{display:inline-flex;align-items:center;justify-content:center;min-height:41px;padding:10px 15px;border:1px solid #c4d3e1;border-radius:6px;font-size:13px;font-weight:700;color:#244c72;background:#fff;text-align:center}
.ca-featured-links a.ca-feature-primary{background:#172d46;color:#fff;border-color:#172d46}
.ca-featured-links a.ca-feature-primary:hover{color:#fff;background:#2c5075}
.ca-featured-hint{font-size:12px;color:#5b7186;line-height:1.5;margin:15px 0 0}
.ca-pdf{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:9px 14px;border:1px solid #bdcfdf;color:#284e72!important;background:#eff5fa;border-radius:6px;font-size:12px;font-weight:730;line-height:1.2;text-align:center}
.ca-pdf:hover{background:#e0ecf5;color:#153957!important}
@media(max-width:800px){.ca-featured-month{grid-template-columns:1fr;gap:12px;padding:13px}.ca-featured-copy{order:0;padding:3px 4px 0}.ca-featured-copy h2{font-size:26px;margin-bottom:6px}.ca-featured-intro{font-size:13px;margin-bottom:9px}.ca-featured-count{margin-bottom:12px}.ca-featured-hint{margin:10px 0 0}}
@media(max-width:390px){.ca-featured-month{margin:8px 0 20px;padding:10px}.ca-featured-month .ca-month-card{padding:10px}.ca-featured-copy h2{font-size:23px}.ca-featured-links a{min-height:41px;font-size:12px;padding:9px 11px}.ca-featured-hint{font-size:11px}}
@media print{.ca-featured-month{display:none!important}}
