/* 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,.ca-skip:focus-visible{outline:3px solid #285884;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:fixed;top:-100px;left:16px;z-index:1000;padding:12px 18px;background:#fff;box-shadow:0 3px 20px #142a4130;color:var(--ca-deep);text-decoration:underline}
.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:#53697e;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:#53697e}
.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 #527b9b;z-index:1}
.ca-large .ca-day[role=button]:focus-visible{outline:3px solid #285884;outline-offset:-3px;z-index:3}
.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-event.ca-print-extra{display:none}
.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:#506a80;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:auto!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-event.ca-print-extra{display:block!important}
 .ca-large .ca-day-more{display:none!important}
 .ca-large .ca-user-note:not(:empty){color:#111!important;font-size:7pt!important;max-height:none!important;overflow:visible!important;overflow-wrap:anywhere}
 .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}}

/* v1.5 Spanish U.S. pilot: reuse the restrained civic calendar design. */
.ca-es-us .ca-es-preview{cursor:default;box-shadow:none;transition:none}
.ca-es-us .ca-es-preview:hover{transform:none;border-color:var(--ca-border);box-shadow:none;color:inherit}
.ca-es-us .ca-es-preview-note{margin:12px 0 0;color:var(--ca-muted);font-size:11px;line-height:1.5}
.ca-es-week{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:25px 0 0;padding:14px 0;border-top:var(--ca-line);font-size:13px;color:var(--ca-muted)}
.ca-es-week a{color:var(--ca-blue);text-decoration:underline;text-underline-offset:3px;font-weight:700}
.ca-es-us .ca-topbar nav a[aria-current=page]{color:var(--ca-deep);background:#edf2f7}
.ca-es-us .ca-month-main .ca-toolbar{margin-top:10px}
.ca-es-us .ca-year-events .ca-events{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){.ca-es-us .ca-year-events .ca-events{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.ca-es-us .ca-year-events .ca-events{grid-template-columns:1fr}.ca-es-us .ca-month-card{padding:14px}.ca-es-us .ca-mini .ca-day{min-height:59px}}
@media print{.ca-es-us .ca-es-week,.ca-es-us .ca-es-preview-note{display:none!important}}

/* Print full multi-event labels without screen selection or focus decoration. */
@media print{.ca-large .ca-day.ca-selected,.ca-large .ca-day[role=button]:focus-visible{outline:none!important;box-shadow:none!important;z-index:auto!important}.ca-large .ca-day.ca-selected:not(.ca-holiday){background:#fff!important}.ca-large .ca-day.ca-selected.ca-holiday{background:#f4f4f4!important}}

/* Single printable month heading; give the final legend/source line room to stay together. */
@media print{
 .ca-page-month>.ca-month-head{display:none!important}
 .ca-page-month .ca-sheet-top{padding-bottom:9px;break-after:avoid}
 .ca-page-month .ca-sheet-top h2{font-size:25pt}
 .ca-page-month .ca-sheet-top h2 span{color:#111}
 .ca-page-month .ca-sheet-key{break-after:avoid;padding-top:8px}
 .ca-page-month .ca-print-footer{break-before:avoid;break-inside:avoid;margin-top:6px}
 .ca-page-month .ca-month-main{background:#fff!important}
}
@media print{
 .ca-page-month .ca-large .ca-day{padding:4px 6px!important}
 .ca-page-month .ca-large .ca-days-head span{height:30px}
 .ca-page-month .ca-sheet-top{padding-bottom:6px;margin-bottom:5px}
 .ca-page-month .ca-sheet-key{padding-top:5px}
 .ca-page-month .ca-print-footer{margin-top:4px}
}

/* In print the source and legend accompany the heading, not an orphaned final sheet. */
.ca-print-key{display:none}
@media print{
 .ca-page-month .ca-month-main>.ca-print-footer{margin:0 0 5px;break-after:avoid}
 .ca-page-month .ca-month-main>.ca-sheet-key{display:none!important}
 .ca-page-month .ca-print-key{display:block;break-after:avoid;margin-bottom:6px}
 .ca-page-month .ca-print-key .ca-sheet-key{padding-top:0}
}

/* Evergreen civil-date utilities: scoped to preserve all 2027 guide layouts. */
.ca-utility-page{max-width:960px;margin-inline:auto}
.ca-utility-sheet{margin-top:18px}
.ca-utility-today,.ca-utility-zone{font-size:14px;line-height:1.6;color:#40566e}
.ca-utility-grid .ca-day{min-height:66px;padding:7px 5px;overflow-wrap:anywhere}
.ca-utility-grid .ca-utility-current{background:#e5eff8!important;box-shadow:inset 0 0 0 2px #285884;border-radius:4px}
.ca-utility-event{display:block;font-size:11px;line-height:1.3;color:#304c68;margin:4px 0 0}
.ca-utility-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}
.ca-utility-facts>div{border:1px solid #d7e1ea;background:#f7f9fc;padding:13px;border-radius:6px;color:#40566e;font-size:13px;overflow-wrap:anywhere}
.ca-utility-facts strong{display:block;font-size:18px;color:#1b3049;line-height:1.35;margin-bottom:5px}
.ca-utility-date{font-size:clamp(18px,3vw,30px);color:#1b3049;font-weight:700}
.ca-utility-related{margin:24px 0 32px}
.ca-utility-related h2{font-size:20px}
@media(max-width:480px){.ca-utility-grid .ca-day{min-height:50px;padding:5px 2px}.ca-utility-event{font-size:10px}.ca-utility-facts>div{padding:9px}.ca-utility-facts strong{font-size:16px}.ca-utility-sheet{padding:12px}.ca-utility-grid .ca-days-head span{font-size:10px}}
@media print{.ca-utility-related{display:none!important}.ca-utility-page .ca-month-head{display:block!important}.ca-utility-page .ca-month-head h1{font-size:20pt}.ca-utility-sheet{margin-top:0}.ca-utility-grid .ca-day{min-height:46px;break-inside:avoid}.ca-utility-facts>div{break-inside:avoid}.ca-utility-facts{gap:5px;margin:10px 0}.ca-utility-event{font-size:8pt}.ca-utility-zone{font-size:9pt}}

/* Date calculator: accessible, compact, scoped to the two calculator routes. */
.ca-date-calculator .ca-calc-form{margin:18px 0;padding:16px;border:1px solid #d7e1ea;border-radius:6px;background:#fff;color:#1b3049}
.ca-calc-form h3{margin:0 0 10px}
.ca-calc-form fieldset{min-width:0;border:0;padding:0;margin:0}
.ca-calc-legend{font-size:13px;color:#40566e;margin-bottom:10px}
.ca-calc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ca-calc-fields label{font-size:14px;font-weight:650;display:block;min-width:0}
.ca-calc-fields input{box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;margin-top:6px;border:1px solid #8499ad;border-radius:5px;padding:8px;font:inherit;color:#1b3049;background:#fff;min-height:42px}
.ca-calc-fields input[aria-invalid=true]{border-color:#9c2626}
.ca-calc-submit{margin-top:12px;padding:9px 14px;min-height:42px;font:inherit;font-weight:650;border:1px solid #244c72;background:#244c72;color:#fff;border-radius:5px;cursor:pointer}
.ca-calc-submit:disabled{background:#e4ebf1;color:#40566e;border-color:#b0c0cf;cursor:default}
.ca-calc-result{margin-top:14px;padding:12px;border:1px solid #d7e1ea;border-radius:5px;background:#f7f9fc;color:#1b3049;overflow-wrap:anywhere}
.ca-calc-result p{margin:0 0 7px;font-weight:650}
.ca-calc-result dl{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}
.ca-calc-result dl[hidden]{display:none!important}
.ca-calc-result dt{font-size:13px;color:#40566e}.ca-calc-result dd{font-weight:700;font-size:19px;margin:3px 0 0}
.ca-calc-invalid{border-color:#9c2626;color:#862323}
@media(max-width:560px){.ca-calc-fields{grid-template-columns:1fr}.ca-date-calculator .ca-calc-form{padding:10px}}
@media print{.ca-date-calculator .ca-calc-form{padding:9px;margin:10px 0;break-inside:avoid}.ca-calc-form fieldset{display:none!important}.ca-calc-result{margin-top:4px;padding:7px}.ca-calc-result dd{font-size:13pt}.ca-calc-result dt{font-size:9pt}}

.ca-work-option{display:flex;align-items:center;gap:9px;margin-top:14px;font-size:14px;font-weight:650;min-height:32px}
.ca-work-option input{width:20px;height:20px;flex:none;accent-color:#244c72}
#ca-work-coverage{font-size:13px;color:#40566e;margin:5px 0 0}

/* Wave 31: full names and content-sized cells. Never truncate verified occasions. */
.ca-app .ca-calendar .ca-day{max-height:none;overflow:visible;min-width:0}
.ca-app .ca-large .ca-day-event,.ca-app .ca-mini .ca-mini-event,.ca-app .ca-utility-event{
 display:block;max-height:none;overflow:visible;white-space:normal;overflow-wrap:anywhere;word-break:normal;
 -webkit-line-clamp:unset;line-clamp:unset;letter-spacing:0;line-height:1.3;
}
@media screen{
 .ca-app .ca-large .ca-day{max-height:none!important;min-height:86px}
 .ca-app .ca-large .ca-day-event{font-size:12px;font-weight:600;padding:2px 3px 2px 5px}
 .ca-app .ca-mini .ca-mini-event{font-size:11px;font-weight:600}
 .ca-app .ca-large .ca-user-note:not(:empty){max-height:none;overflow:visible;overflow-wrap:anywhere}
 /* Compact but readable month: give the calendar the space before its date register. */
 @media(max-width:1200px){.ca-month-layout{grid-template-columns:minmax(0,1fr)}}
 @media(max-width:620px){
  .ca-app .ca-large .ca-day-event,.ca-app .ca-mini .ca-mini-event,.ca-app .ca-utility-event{font-size:10px;line-height:1.3;padding-left:2px;padding-right:0}
  .ca-app .ca-large .ca-day{min-height:72px}
  .ca-app .ca-mini .ca-day{padding-left:3px;padding-right:3px}
 }
}
/* Calendar-only named paper size; other utilities retain their existing print layout. */
@page ca-calendar-sheet{size:letter landscape;margin:10mm}
@media print{
 .ca-page-month,.ca-page-year,.ca-page-home{page:ca-calendar-sheet}
 .ca-page-home>.ca-home-intro,.ca-page-year>.ca-home-intro,.ca-page-home>.ca-home-focus,.ca-page-home>.ca-focus{display:none!important}
 .ca-page-month .ca-sheet-top{display:flex!important;align-items:end;padding:0 0 7px;margin:0 0 6px;border-color:#16334f}
 .ca-page-month .ca-sheet-top h2{font-size:27pt;color:#16334f;line-height:1.05}
 .ca-page-month .ca-sheet-caption,.ca-page-month .ca-sheet-country{display:block;font-size:8pt;color:#405a70}
 .ca-page-month .ca-print-footer{font-size:8pt;margin:0 0 4px!important;color:#405a70!important}
 .ca-page-month .ca-print-key{margin:0 0 5px}
 .ca-page-month .ca-sheet-key{font-size:8pt}
 .ca-page-month .ca-calendar,.ca-year-section .ca-calendar{border:1px solid #a9b9c8;box-sizing:border-box}
 .ca-page-month .ca-large .ca-days-head,.ca-year-section .ca-days-head{background:#edf2f6;border-color:#a9b9c8;margin:0;padding:0}
 .ca-page-month .ca-large .ca-days-head span,.ca-year-section .ca-days-head span{height:24px;display:grid;place-items:center;color:#183651;font-size:9pt;line-height:1.1}
 .ca-page-month .ca-large .ca-day,.ca-year-section .ca-mini .ca-day{min-height:93px!important;max-height:none!important;height:auto!important;padding:5px 6px!important;border-right:1px solid #c2ced9!important;border-bottom:1px solid #c2ced9!important;overflow:visible!important;break-inside:avoid;background:#fff!important}
 .ca-page-month .ca-large .ca-day.ca-empty,.ca-year-section .ca-mini .ca-day.ca-empty{background:#f4f6f8!important;pointer-events:none}
 .ca-page-month .ca-large .ca-day:nth-child(7n),.ca-year-section .ca-mini .ca-day:nth-child(7n){border-right:0!important}
 .ca-page-month .ca-large .ca-day.ca-weekend:not(.ca-holiday),.ca-year-section .ca-mini .ca-day.ca-weekend:not(.ca-holiday){background:#f6f8fa!important}
 .ca-page-month .ca-large .ca-day.ca-holiday,.ca-year-section .ca-mini .ca-day.ca-holiday{background:#fff0f1!important}
 .ca-page-month .ca-large .ca-day time,.ca-year-section .ca-mini .ca-day time{font-size:13pt!important;color:#183651!important;padding:0}
 .ca-page-month .ca-large .ca-day.ca-holiday time,.ca-year-section .ca-mini .ca-day.ca-holiday time{color:#9b2940!important}
 .ca-page-month .ca-large .ca-day-event,.ca-year-section .ca-mini .ca-mini-event{font-size:9pt!important;line-height:1.2!important;font-weight:600;color:#254864!important;padding:1px 0 1px 4px!important;border-left:2px solid #7393ac!important;margin:4px 0 0!important;overflow:visible!important}
 .ca-page-month .ca-large .ca-day-event.ca-fed,.ca-year-section .ca-mini .ca-mini-event.ca-fed{color:#9b2940!important;border-color:#b44b5d!important;font-weight:700}
 .ca-page-month .ca-large .ca-user-note:not(:empty){font-size:8pt!important;line-height:1.2;white-space:pre-wrap}
 .ca-year-section .ca-overview-key{display:none!important}
 .ca-year-section .ca-year-grid{display:block!important}
 .ca-year-section .ca-month-card{display:block!important;border:0;box-shadow:none;padding:0;margin:0;break-inside:avoid;break-after:page}
 .ca-year-section .ca-month-card:last-child{break-after:auto}
 .ca-year-section .ca-month-heading{border-bottom:2px solid #16334f;margin:0 0 8px;padding:0 0 7px}
 .ca-year-section .ca-month-heading strong{font-size:27pt;color:#16334f}
 .ca-year-section .ca-month-heading span{font-size:16pt;color:#405a70}
 .ca-year-section .ca-month-heading svg,.ca-year-section .ca-month-heading span span{display:none!important}
 .ca-year-section .ca-month-heading::after{content:'USA Calendar · Federal holidays in red';font-size:8pt;color:#405a70}
 .ca-es-us .ca-year-section .ca-month-heading::after{content:'Calendario de EE. UU. · Feriados federales en rojo'}
}
@media print{
 .ca-page-month .ca-large.ca-weeks-4 .ca-day,.ca-year-section .ca-mini.ca-weeks-4 .ca-day{min-height:132px!important}
 .ca-page-month .ca-large.ca-weeks-5 .ca-day,.ca-year-section .ca-mini.ca-weeks-5 .ca-day{min-height:106px!important}
 .ca-page-month .ca-large.ca-weeks-6 .ca-day,.ca-year-section .ca-mini.ca-weeks-6 .ca-day{min-height:88px!important}
}
@media screen{.ca-toolbar-actions{flex-wrap:wrap}.ca-toolbar-actions .ca-pdf{white-space:normal;text-align:center}}
/* Dense six-week Spanish months need extra vertical room for longer translated names. */
@media print{
 .ca-es-us .ca-page-month .ca-large.ca-weeks-6 .ca-day{min-height:76px!important}
}
/* Wave 32: independent print studio. The source calendar stays visible on screen. */
.ca-ps-output{display:none}
.ca-print-studio{border:1px solid #cbd7e2;border-radius:12px;padding:16px;margin:16px 0;background:#f8fafc;color:#17334e}
.ca-print-studio h3{margin:0 0 4px;font-size:17px;line-height:1.3}
.ca-print-studio p{font-size:12px;line-height:1.5;margin:5px 0 11px;color:#405a70}
.ca-ps-fields{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px}
.ca-ps-field{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:650;min-width:0}
.ca-ps-field select{width:100%;min-width:0;min-height:40px;padding:7px;border:1px solid #a9b9c8;border-radius:6px;background:#fff;color:#17334e;font:inherit}
.ca-ps-print{font:inherit;font-weight:650;background:#173b5c;color:white;border:0;border-radius:7px;padding:10px 18px;cursor:pointer}
.ca-ps-print:focus-visible,.ca-ps-field select:focus-visible{outline:3px solid #367ba8;outline-offset:2px}
@media(max-width:540px){.ca-ps-fields{grid-template-columns:1fr 1fr}.ca-ps-field:first-child{grid-column:1/-1}.ca-ps-print{width:100%}}
@page ps-letter-landscape{size:letter landscape;margin:10mm}
@page ps-letter-portrait{size:letter portrait;margin:10mm}
@page ps-a4-landscape{size:A4 landscape;margin:10mm}
@page ps-a4-portrait{size:A4 portrait;margin:10mm}
@page ps-legal-landscape{size:legal landscape;margin:10mm}
@page ps-legal-portrait{size:legal portrait;margin:10mm}
@media print{
 .ca-print-studio{display:none!important}
 .ca-ps-ready>.ca-shell{display:none!important}
 .ca-ps-ready>.ca-ps-output{display:block!important;color:#18344e;background:#fff;font:10pt/1.2 Arial,sans-serif;--ps-height:195mm;--ps-rule:#aabac9;--ps-accent:#a22b42;--ps-fill:#edf3f7;--ps-holiday:#fff0f1;--ps-weekend:#f7f9fb;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 .ca-ps-output *{box-sizing:border-box}
 .ps-letter-landscape{page:ps-letter-landscape}.ps-letter-portrait{page:ps-letter-portrait;--ps-height:259mm!important}
 .ps-a4-landscape{page:ps-a4-landscape;--ps-height:189mm!important}.ps-a4-portrait{page:ps-a4-portrait;--ps-height:276mm!important}
 .ps-legal-landscape{page:ps-legal-landscape}.ps-legal-portrait{page:ps-legal-portrait;--ps-height:335mm!important}
 .ca-ps-sheet{break-after:page;margin:0;padding:0}.ca-ps-sheet:last-child{break-after:auto}
 .ps-header{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;border-bottom:2px solid currentColor;padding:0 0 3mm;margin:0 0 2mm}
 .ps-kicker{font-size:8pt;font-weight:bold;letter-spacing:1px;margin-bottom:1mm}
 .ps-header h1{font:700 25pt/1.04 Arial,sans-serif;margin:0;color:inherit}
 .ps-brand{font-size:10pt;font-weight:bold;text-align:right;white-space:normal;max-width:35%}
 .ps-key{font-size:8pt;margin:0 0 2mm;color:inherit}
 .ca-ps-table{width:100%;border-collapse:collapse;table-layout:fixed;margin:0;color:inherit;background:white;font:inherit}
 .ca-ps-table th,.ca-ps-table td{border:0.6pt solid var(--ps-rule);text-align:left;vertical-align:top}
 .ca-ps-table th{font-size:9pt;text-align:center;background:var(--ps-fill);padding:1.4mm 0;font-weight:bold}
 .ca-ps-table td{height:calc((var(--ps-height) - 39mm)/var(--weeks));padding:1.5mm;overflow-wrap:anywhere;background:#fff}
 .ca-ps-table tr{break-inside:avoid}
 .ca-ps-table .ps-empty,.ca-ps-table .ps-weekend{background:var(--ps-weekend)}
 .ca-ps-table .ps-federal{background:var(--ps-holiday)}
 .ps-date{font-weight:bold;font-size:13pt;margin-bottom:1mm}
 .ps-federal .ps-date,.ps-fed{color:var(--ps-accent)}
 .ps-event{font-size:8.8pt;line-height:1.18;border-left:1.5pt solid #8198ab;padding-left:1mm;margin:1mm 0 0;overflow-wrap:anywhere;white-space:normal}
 .ps-fed{font-weight:bold;border-color:var(--ps-accent)}.ps-fed::before{content:'◆ ';font-size:7pt}
 .ps-note{font-size:8pt;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:1mm;border-top:0.5pt dotted currentColor;padding-top:1mm}
 .ps-footer{font-size:7pt;margin-top:2mm;color:inherit;line-height:1.2}
 .ca-ps-output.ps-ink{color:#171717;--ps-rule:#777;--ps-accent:#111;--ps-fill:#fff;--ps-holiday:#fff;--ps-weekend:#fff}
 .ps-ink .ps-event{border-color:#777}.ps-ink .ps-fed{border-color:#111}
 .ps-planner .ca-ps-table td{height:calc((var(--ps-height) - 80mm)/var(--weeks))}
 .ps-planner{color:#18344e}.ps-planner .ps-planner{display:grid;grid-template-columns:1fr 1fr;gap:7mm;margin-top:4mm;break-inside:avoid}
 .ps-planner h2{font-size:10pt;margin:0 0 1mm}.ps-line{height:7mm;border-bottom:.5pt solid #aabac9}
 .ps-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3mm 4mm}
 .ps-mini h2{font-size:10pt;margin:0 0 1mm}
 .ps-mini .ca-ps-table th{font-size:7pt;padding:.6mm 0}
 .ps-mini .ca-ps-table td{height:4.1mm;padding:.4mm;text-align:center}
 .ps-mini .ps-date{font-size:8pt;margin:0}.ps-mini .ps-federal .ps-date{text-decoration:underline}
 .ps-legend-title{font-size:10pt;border-top:1px solid var(--ps-rule);padding-top:2mm;margin:3mm 0 1mm}
 .ps-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1mm 3mm;font-size:8pt;line-height:1.18}
 .ps-letter-portrait .ps-overview-grid,.ps-a4-portrait .ps-overview-grid,.ps-legal-portrait .ps-overview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .ps-letter-portrait .ps-legend,.ps-a4-portrait .ps-legend,.ps-legal-portrait .ps-legend{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media print{
 .ca-ps-output:not(.ps-overview) .ps-six-weeks td{height:calc((var(--ps-height) - 56mm)/6)}
 .ca-ps-output.ps-planner .ps-six-weeks td{height:calc((var(--ps-height) - 100mm)/6)}
}
@media print{
 .ca-ps-output.ps-planner .ps-six-weeks td{height:calc((var(--ps-height) - 112mm)/6)}
 .ca-ps-output.ps-planner .ps-six-weeks+.ps-planner .ps-line{height:5mm}
}
@media screen{
 .ca-print-studio .ca-ps-print{display:inline-flex;align-items:center;justify-content:center;background:#173b5c;color:#fff;border:0;margin:0}
 .ca-ps-download{display:inline-block;margin:0 0 0 14px;font-size:13px;font-weight:650;color:#173b5c;text-decoration:underline;text-underline-offset:3px}
 .ca-ps-download[hidden]{display:none!important}
 .ca-toolbar-actions:empty,.ca-toolbar:empty{display:none!important}
}
@media screen and (max-width:540px){.ca-ps-download{display:block;margin:12px 0 0;text-align:center}}
@media print{
 .ca-ps-output:not(.ps-overview) .ps-dense td{height:calc((var(--ps-height) - 65mm)/var(--weeks))}
 .ca-ps-output.ps-planner .ps-dense td{height:calc((var(--ps-height) - 115mm)/var(--weeks))}
 .ca-ps-output.ps-planner .ps-dense+.ps-planner .ps-line{height:5mm}
 .ps-planner.ps-letter-landscape .ps-planner .ps-line,.ps-planner.ps-a4-landscape .ps-planner .ps-line,.ps-planner.ps-legal-landscape .ps-planner .ps-line{height:5mm}
}
