/* Paired calendar and clock cards. */
.time-column{display:grid;gap:20px;min-width:0;background:transparent;border:0;border-radius:0;overflow:visible;align-content:start}.primary-clock{border:1px solid #102d40;border-radius:18px;background:#102d40;color:#fff;display:flex;flex-direction:column;padding:24px 28px}.primary-clock .clock-top h2{color:#add0dd;font-size:14px;letter-spacing:1px;text-transform:uppercase}.primary-clock>time{color:#fff;font-size:clamp(36px,4.4vw,60px);margin-top:18px}.primary-clock>p,.primary-clock label{color:#b8cdd7}.primary-clock select,.primary-clock button{background:#ffffff0d;color:#f2f8fb;border-color:#587084}.primary-clock select option{background:#fff;color:#183447}.primary-clock .clock-source{color:#b8cdd7;margin-top:auto;padding-top:14px}.primary-clock #clock-current-date{margin-bottom:20px}.world-card{min-width:0;align-self:start;border:1px solid var(--border);border-radius:18px;background:#fff;overflow:hidden}.world-card .world-block{padding-top:24px}.calendar-column .calendar-panel{align-self:start}
@supports(grid-template-rows:subgrid){.workspace.clock-dashboard{grid-template-rows:auto auto;row-gap:20px}.calendar-column,.time-column{grid-row:span 2;grid-template-rows:subgrid}.primary-clock{align-self:stretch}}
.header-tools{display:flex;gap:12px;align-items:end;min-width:0}.theme-picker{display:grid;gap:3px}.theme-picker label{font-size:11px;color:var(--muted)}.theme-picker select{min-width:120px;height:40px;font-size:14px}.header-tools>a{font-size:13px}.simple-calculator{display:grid;grid-template-columns:1fr minmax(260px,350px);gap:40px;align-items:start;margin-top:30px;padding:28px 30px;border:1px solid var(--border);border-radius:18px;background:#fff}.simple-calc-intro h2{font-size:21px;margin:0 0 12px}.simple-calc-intro p{font-size:14px;line-height:1.7;color:var(--muted);max-width:500px}.simple-calc-intro .calc-precision{font-size:12px}.simple-calc-body{min-width:0}.simple-calc-body>label{font-size:12px;color:var(--muted)}.simple-calc-body>input{width:100%;box-sizing:border-box;min-width:0;height:57px;padding:12px 14px;margin:6px 0 12px;border:1px solid #c7d2da;border-radius:10px;background:#f4f8fa;color:var(--navy);font:500 26px/1.3 "Segoe UI",Arial,sans-serif;font-variant-numeric:tabular-nums;text-align:right}.calc-keypad{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.calc-keypad button{height:47px;background:#f5f7f9;color:var(--navy);border:1px solid var(--border);border-radius:9px;font-size:20px}.calc-keypad button:hover{background:#e5eef2}.calc-keypad .calc-operator{color:#076e63;background:#e9f6f2}.calc-keypad .calc-equals{color:white;background:#087e72;border-color:#087e72}.calc-keypad .calc-equals:hover{background:#07675e}.simple-calc-body output{display:block;overflow-wrap:anywhere;font-size:12px;color:var(--muted);line-height:1.6;margin-top:12px}.simple-calc-body output:empty{display:none}.simple-calc-body .calc-error{color:#a34225}
/* Dark palette covers the calendar, time tools, forms, year pages and legal pages. */
:root[data-theme=dark]{color-scheme:dark;color:#e1ebf3;background:#0b1620;--navy:#deebf4;--teal:#7bddcb;--muted:#a8bccb;--border:#31495a}
[data-theme=dark] body{background:#0b1620;color:#e1ebf3}[data-theme=dark] .site-header{background:#101f2c}[data-theme=dark] .week-panel,[data-theme=dark] .primary-clock{background:#112f43;border-color:#315063;color:#fff}[data-theme=dark] .week-day.current,[data-theme=dark] .week-day.current span{color:#102d40}[data-theme=dark] .calendar-panel,[data-theme=dark] .world-card,[data-theme=dark] .calculator,[data-theme=dark] .holiday-section,[data-theme=dark] .simple-calculator,[data-theme=dark] .year-table,[data-theme=dark] .year-links a{background:#142635;color:#e1ebf3}[data-theme=dark] .location-panel,[data-theme=dark] .year-summary,[data-theme=dark] .year-table th,[data-theme=dark] .break-list li{background:#1a3141;color:#e1ebf3}[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] .action-button,[data-theme=dark] .small-button,[data-theme=dark] .icon-button{background:#0e202e;color:#e1ebf3;border-color:#425d70}[data-theme=dark] .primary-clock select,[data-theme=dark] .primary-clock button{background:#193d52;color:#fff;border-color:#597c91}[data-theme=dark] .primary-clock select option{background:#193d52;color:#fff}[data-theme=dark] .action-button.primary{background:#76d9c7;border-color:#76d9c7;color:#092f35}[data-theme=dark] .day-button{color:#e1ebf3}[data-theme=dark] .day-button:hover{background:#234253}[data-theme=dark] .day-button.outside{color:#91a8b8}[data-theme=dark] .day-button.weekend{color:#abc1d0}[data-theme=dark] .day-button.today{background:#78d9c8;color:#102d40}[data-theme=dark] .day-button.selected:not(.today){color:#91edda;background:#183f42}[data-theme=dark] .day-button.public-holiday:not(.today){color:#ffb48e}[data-theme=dark] .day-button.school-holiday:not(.today):not(.selected){background:#19403e}[data-theme=dark] .legend,[data-theme=dark] .holiday-item,[data-theme=dark] .year-table td{border-color:#31495a}[data-theme=dark] .selected-holiday,[data-theme=dark] .year-table .current-week,[data-theme=dark] .time-result:not(:empty){background:#163c3c;color:#99e5d7}[data-theme=dark] .time-result strong{color:#94e8d7}[data-theme=dark] .world-period{color:#abc1d0}[data-theme=dark] .time-error,[data-theme=dark] .date-error,[data-theme=dark] .simple-calc-body .calc-error{color:#ffc1aa!important}[data-theme=dark] .simple-calc-body>input{background:#0c1c28;color:#edf7ff;border-color:#425d70}[data-theme=dark] .calc-keypad button{background:#223c4f;color:#f0f6fb;border-color:#3b566a}[data-theme=dark] .calc-keypad button:hover{background:#31546a}[data-theme=dark] .calc-keypad .calc-operator{background:#19433f;color:#b3f3e7}[data-theme=dark] .calc-keypad .calc-equals{background:#76d9c7;color:#092f35;border-color:#76d9c7}[data-theme=dark] .skip-link{background:#1b3344;color:#fff}[data-theme=dark] .clock-about{border-color:#31495a}
@media(max-width:900px){.primary-clock{padding:24px}.primary-clock>time{font-size:37px}.simple-calculator{gap:24px;padding:24px}.theme-picker select{min-width:110px}.header-tools{gap:8px}}
@media(max-width:680px){.header-inner{height:auto;min-height:88px;flex-wrap:wrap;padding-block:14px;gap:12px}.header-tools{margin-left:auto;max-width:100%;flex-wrap:wrap}.header-tools label{display:block!important;font-size:10px}.header-tools .language-picker select{min-width:115px}.theme-picker select{min-width:105px}.calendar-column,.time-column{grid-row:auto;grid-template-rows:none}.workspace.clock-dashboard{grid-template-rows:none}.primary-clock{padding:24px}.primary-clock>time{font-size:46px}.simple-calculator{grid-template-columns:minmax(0,1fr);gap:15px;padding:22px 18px}.simple-calc-body{width:100%;max-width:380px;justify-self:center}.simple-calc-intro h2{font-size:20px}}
@media(max-width:360px){.primary-clock{padding:20px}.primary-clock>time{font-size:36px}.primary-clock .clock-top h2{font-size:12px;letter-spacing:.5px}.calc-keypad{gap:6px}.simple-calc-body>input{font-size:23px}}
@media print{html[data-theme],html[data-theme] body{background:white!important;color:black!important;color-scheme:light}.header-tools,.simple-calculator{display:none!important}[data-theme=dark] .year-table,[data-theme=dark] .year-table th,[data-theme=dark] .year-table td{background:white!important;color:black!important;border-color:#aaa!important}[data-theme=dark] .year-table .current-week{background:#eee!important;color:black!important}}
/* Optional calculator below world time; closed by default. */
.world-stack{min-width:0;align-self:start}.world-stack .simple-calculator{display:block;margin-top:16px;padding:0;overflow:hidden}.simple-calculator>summary{cursor:pointer;padding:18px 22px;font-weight:600;font-size:15px}.simple-calculator[open]>summary{border-bottom:1px solid var(--border)}.simple-calculator .simple-calc-intro{padding:8px 22px 0}.simple-calculator .simple-calc-body{padding:0 22px 22px;width:100%;max-width:100%;box-sizing:border-box}.simple-calculator:not([open])>:not(summary){display:none}.simple-calculator summary:focus-visible,.print-options summary:focus-visible{outline:3px solid var(--teal);outline-offset:-4px}
.print-options{margin-top:20px;border:1px solid var(--border);border-radius:12px;padding:16px 20px}.print-options summary{cursor:pointer;font-weight:600;color:var(--navy)}.print-options form{display:flex;flex-wrap:wrap;gap:16px;align-items:end;margin-top:18px}.print-options label{display:grid;gap:6px;font-size:13px}.print-options select{max-width:100%;padding:10px}.print-options .print-checkbox{display:flex;align-items:center;align-self:center}.print-options input[type=checkbox]{width:18px;height:18px}.print-options p{font-size:12px;color:var(--muted);line-height:1.6}.print-brand{display:none}
@media print{@page{size:A4 portrait;margin:12mm 12mm 20mm}.print-options,.print-entry{display:none!important}.print-brand{display:block!important;position:fixed;bottom:-12mm;left:0;right:0;border-top:1px solid #888;padding-top:2mm;font:9pt Arial,sans-serif;color:#111}.print-brand a{display:flex;align-items:center;gap:2mm;color:#111!important;text-decoration:none}.print-brand img{width:6mm;height:6mm}.print-credit{display:none!important}}
@media print{.print-brand{bottom:0;background:white}.legal-body{padding-block:0}.legal-body p,.legal-body address{font-size:10pt;line-height:1.5}.legal-body h2{font-size:13pt;break-after:avoid}.legal-body p,.legal-body address{break-inside:avoid}.legal-body{padding-bottom:12mm}}
@media print{.legal-date{display:none}.legal-body{padding-bottom:0}.legal-body h2{margin-top:18px}.legal-body p{margin-block:10px}}
.print-document,.print-document>tbody,.print-document>tbody>tr,.print-document>tbody>tr>td{display:contents}.print-document>tfoot{display:none}
@media print{.print-document{display:table;width:100%;border-collapse:collapse}.print-document>tbody{display:table-row-group}.print-document>tfoot{display:table-footer-group}.print-document tr{display:table-row}.print-document td{display:table-cell;padding:0}.print-document .print-brand{position:static;height:12mm;padding-top:3mm}.print-document .legal-body{max-width:none;margin:0;width:100%}}
