:root{--ink:#25262b;--muted:#686c76;--green:#d71920;--dark:#24252a;--paper:#f5f5f7;--line:#ececef;--light:#ececef;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--paper);font-size:14px;line-height:1.5}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button,input,summary{outline-offset:3px}button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--green)}h1,h2,h3,p{margin:0}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 52px;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;color:var(--dark);text-decoration:none;font-weight:650;font-size:15px;letter-spacing:-.4px}.brand-mark{font-size:37px;letter-spacing:-3px;font-weight:800;line-height:1}.brand-mark span{color:#d71920}.brand small{display:block;font-weight:500;font-size:8px;letter-spacing:2px;color:#686c76;margin-top:3px}.preview-badge{display:flex;align-items:center;gap:7px;font-size:10px;border:1px solid var(--line);border-radius:30px;padding:6px 12px;color:#686c76}.preview-badge i{width:5px;height:5px;border-radius:50%;background:#b8bac2}main{max-width:1480px;margin:0 auto;padding:38px 52px 22px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.eyebrow{font-size:9px;letter-spacing:1.7px;color:#686c76;font-weight:600;margin-bottom:8px}h1{font-size:30px;font-weight:580;letter-spacing:-.9px;line-height:1.3}.page-heading p{margin-top:7px;font-size:12px;color:var(--muted)}.quiet-btn{border:0;background:none;color:#50535d;font-size:11px;padding:8px 10px;border-radius:5px}.quiet-btn:hover{background:#ececef}.quiet-btn span{margin-left:6px}.preview-note{display:flex;align-items:center;gap:9px;padding:10px 13px;border-radius:6px;border:1px solid #ececef;background:#ececef;font-size:10px;color:#686c76;margin-bottom:24px}.note-icon{font-size:12px;color:#858892}.help-panel{border-left:3px solid #858892;background:#ececef;padding:16px 20px;margin-bottom:18px;font-size:12px;color:#50535d}.help-panel p{margin-top:8px;max-width:980px}.diary-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}.diary{min-width:0}.diary-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;padding:4px 0}.diary-toolbar h2{font-size:19px;font-weight:580;letter-spacing:-.4px}.muted{color:var(--muted);font-size:10px}.week-nav{display:flex;align-items:center;gap:6px}.icon-btn{border:1px solid #dedee3;background:#fff;color:#50535d;border-radius:5px;width:29px;height:29px;font-size:20px;line-height:1;padding:0}.icon-btn:hover{background:var(--light)}.week-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-bottom:16px;background:#ececef;padding:5px;border-radius:8px}.week-tab{border:0;background:none;padding:9px 7px;border-radius:5px;text-align:left;color:#686c76;font-size:10px}.week-tab span{display:block;font-size:9px;color:#686c76;margin-top:2px}.week-tab.active{background:#fff;color:var(--ink);box-shadow:0 1px 4px #24252a10;font-weight:600}.week-tab.active span{color:#50535d;font-weight:400}.table-wrap{border:1px solid var(--line);border-radius:9px;overflow:auto;background:#fff}.diary-table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}.diary-table th{background:#fcfcfd;color:#686c76;font-size:9px;font-weight:500;padding:15px 12px;border-bottom:1px solid var(--line)}.diary-table th:first-child{padding-left:20px}.diary-table td{border-bottom:1px solid #ececef;padding:19px 12px;font-size:12px;height:84px}.diary-table tr:last-child td{border-bottom:0}.diary-table td:first-child{padding-left:20px}.diary-table tr.selected{background:#f5f5f7}.diary-table tr.selected td:first-child{box-shadow:3px 0 #d71920 inset}.diary-table tr.past{color:#858892;background:#fcfcfd}.day-button{background:none;border:0;padding:0;text-align:left;color:inherit}.day-button strong{font-size:12px;font-weight:600;display:block}.day-button small{font-size:9px;color:#858892;display:block;margin-top:3px}.day-button:hover strong{text-decoration:underline;text-underline-offset:3px}.today-chip{font-size:8px;margin-left:6px;background:#ececef;border-radius:4px;padding:2px 4px;color:#50535d;font-weight:500}.toggle{appearance:none;-webkit-appearance:none;width:32px;height:19px;border:0;border-radius:18px;background:#dedee3;display:inline-block;position:relative;vertical-align:middle;cursor:pointer;margin:0;flex-shrink:0}.toggle:before{content:"";position:absolute;left:3px;top:3px;width:13px;height:13px;background:#fff;border-radius:50%;box-shadow:0 1px 2px #24252a20;transition:transform .12s}.toggle:checked{background:#d71920}.toggle:checked:before{transform:translateX(13px)}.toggle:disabled{cursor:not-allowed;opacity:.5}.limit-cell{font-weight:600;font-size:13px}.count-cell{color:#50535d}.count-cell strong{font-weight:600}.count-cell small{display:block;color:#97885d;font-size:8px}.area-link{background:none;border:0;color:#686c76;padding:2px 0;font-size:10px;text-align:left}.area-link:hover{text-decoration:underline}.status{font-size:9px;padding:4px 7px;border-radius:5px;background:#f5f5f7;color:#686c76;display:inline-block}.status.open{background:#ececef;color:#50535d}.status.full{background:#f4edda;color:#a28948}.status.unsaved{background:#f8eedc;color:#a18848}.diary-bottom{display:flex;justify-content:space-between;gap:10px;color:#858892;font-size:9px;margin:13px 0 24px}.legend-dot{display:inline-block;width:5px;height:5px;background:#686c76;border-radius:50%;margin-right:5px}.simple-example{display:flex;gap:12px;align-items:center;padding:17px 18px;border:1px solid #ececef;border-radius:8px;background:#f5f5f7}.example-icon{width:29px;height:29px;display:grid;place-items:center;background:#ececef;color:#686c76;border-radius:50%;font-size:12px;flex-shrink:0}.simple-example strong{font-size:11px;font-weight:600;color:#50535d}.simple-example p{font-size:10px;color:#858892;margin-top:3px}.day-editor{border:1px solid var(--line);background:white;border-radius:10px;overflow:hidden}.editor-heading{padding:22px 23px 17px;border-bottom:1px solid #ececef}.editor-heading .eyebrow{font-size:8px;margin-bottom:5px}.editor-heading h2{font-size:19px;letter-spacing:-.4px;font-weight:580}.editor-heading p{margin-top:5px;font-size:10px;color:#686c76}.day-controls{padding:19px 23px;border-bottom:1px solid #ececef}.switch-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:550;margin-bottom:18px}.field-label{display:block;font-size:10px;color:#50535d;margin-bottom:7px}.number-control{display:flex;align-items:center;gap:12px}.number-control input{width:77px;border:1px solid #dedee3;border-radius:5px;padding:8px 10px;font-weight:600;font-size:17px;color:#50535d;background:#fcfcfd}.number-control span{font-size:11px;color:#858892}.field-help{font-size:9px;color:#858892;margin-top:8px;line-height:1.6}.areas-section{padding:18px 23px 15px}.areas-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px}.areas-heading h3{font-size:12px;font-weight:600}.areas-heading span{font-size:9px;color:#858892}.all-areas{display:flex;align-items:center;gap:8px;padding:10px 11px;background:#f5f5f7;border:1px solid #ececef;border-radius:5px;font-size:11px;font-weight:500}.all-areas input,.area-option input{accent-color:#50535d;width:13px;height:13px;margin:0;flex-shrink:0}.all-areas small{margin-left:auto;font-size:9px;color:#686c76;font-weight:400}.search-wrap{position:relative;margin:11px 0}.search-wrap span{position:absolute;left:10px;top:7px;color:#858892;font-size:17px}.search-wrap input{border:1px solid #dedee3;border-radius:5px;width:100%;padding:9px 10px 9px 30px;font-size:10px;color:#50535d;background:#fff}.search-wrap input::placeholder{color:#858892}.area-list{max-height:250px;overflow:auto;padding:0 5px 0 1px;scrollbar-width:thin;scrollbar-color:#dedee3 transparent}.area-group-title{font-size:9px;color:#858892;border-bottom:1px solid #ececef;padding:8px 0 5px;margin-bottom:6px;letter-spacing:.8px}.area-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px 4px}.area-option{display:flex;align-items:center;gap:6px;font-size:10px;color:#686c76;padding:5px 1px;cursor:pointer}.area-option.excluded{color:#858892}.no-areas{padding:14px 0;font-size:11px;color:#686c76}.editor-footer{border-top:1px solid #ececef;padding:14px 23px 20px;background:#fcfcfd;text-align:center}.editor-footer>span{font-size:9px;color:#858892;display:block;margin-bottom:9px}.primary-btn{background:#d71920;color:#fff;border:1px solid #d71920;padding:11px 20px;border-radius:6px;font-size:11px;font-weight:550;width:100%}.primary-btn:hover:not(:disabled){background:#b9141a}.primary-btn:disabled{opacity:.55}.secondary-btn{background:#fff;border:1px solid #dedee3;color:#50535d;padding:9px 12px;border-radius:5px;font-size:10px}.text-link{background:none;border:0;color:#686c76;font-size:9px;padding:8px 0;text-decoration:underline;text-underline-offset:3px}.test-panel{margin-top:23px;border-top:1px solid var(--line);padding-top:15px;font-size:11px;color:#686c76}.test-panel summary{cursor:pointer;list-style-position:inside}.test-panel summary span{font-size:9px;color:#858892;margin-left:10px}.test-panel form{margin-top:15px}.test-fields{display:flex;gap:10px;align-items:flex-end;margin-top:10px}.test-fields label{display:block;font-size:9px;margin-bottom:5px}.test-fields input{border:1px solid #dedee3;padding:8px 10px;border-radius:5px;color:#50535d;background:white;font-size:11px;max-width:190px}.fine-print{font-size:9px;color:#858892;line-height:1.7;margin-top:8px}#testResult{margin-top:10px;font-size:11px;font-weight:500}#toast{padding:11px 15px;border:1px solid #dedee3;border-radius:6px;background:#ececef;color:#50535d;font-size:11px;margin-bottom:20px}#toast.error{border-color:#ebd8b8;background:#fcf4e6;color:#92733e}footer{display:flex;justify-content:space-between;margin-top:35px;padding-top:18px;border-top:1px solid var(--line);color:#858892;font-size:9px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
@media(min-width:1450px){.diary-layout{grid-template-columns:minmax(0,1fr) 385px}.area-list{max-height:290px}.diary-table td{height:90px}}
@media(max-width:1120px){main{padding:30px 25px}.topbar{padding:0 25px}.diary-layout{grid-template-columns:minmax(0,1fr) 320px;gap:18px}.diary-table th,.diary-table td{padding-left:8px;padding-right:8px}.diary-table th:first-child,.diary-table td:first-child{padding-left:13px}.diary-table th:nth-child(5),.diary-table td:nth-child(5){display:none}.editor-heading,.day-controls,.areas-section,.editor-footer{padding-left:18px;padding-right:18px}.diary-toolbar h2{font-size:17px}.week-nav .quiet-btn{font-size:10px;padding:6px}.diary-bottom{flex-direction:column}}
@media(max-width:820px){.topbar{height:72px;padding:0 20px}main{padding:26px 18px}.diary-layout{grid-template-columns:1fr}.day-editor{max-width:none}.area-list{max-height:230px}.area-options{grid-template-columns:repeat(7,minmax(0,1fr))}.diary-table th:nth-child(5),.diary-table td:nth-child(5){display:table-cell}.page-heading{align-items:flex-start;gap:12px}.page-heading h1{font-size:26px}.page-heading .quiet-btn{font-size:10px;white-space:nowrap;padding-top:27px}.diary-table td{height:76px}.editor-footer{display:grid;grid-template-columns:1fr 180px;align-items:center;text-align:left;gap:10px}.editor-footer>span{margin:0}.editor-footer .text-link{grid-column:1/-1;text-align:left}.diary-bottom{flex-direction:row}.day-editor{scroll-margin-top:15px}}
@media(max-width:480px){.brand{font-size:13px}.brand-mark{font-size:32px}.brand small{font-size:7px}.preview-badge{font-size:9px;padding:5px 9px}.page-heading h1{font-size:23px}.page-heading p{font-size:11px;max-width:265px}.page-heading .quiet-btn{padding:0;margin-top:4px}.page-heading .quiet-btn span{display:none}.page-heading{flex-direction:column;gap:6px}.preview-note{font-size:9px;align-items:flex-start;padding:10px}.diary-toolbar h2{font-size:17px}.week-tabs{gap:3px}.week-tab{font-size:9px;padding:8px 6px}.week-tab span{font-size:8px}.diary-table th{font-size:8px}.diary-table th:nth-child(5),.diary-table td:nth-child(5){display:none}.diary-table th,.diary-table td{padding:12px 8px}.diary-table th:first-child,.diary-table td:first-child{padding-left:12px}.day-button strong{font-size:11px}.day-button small{font-size:8px}.diary-table td{font-size:11px;height:72px}.status{font-size:8px;padding:3px 5px}.today-chip{font-size:7px}.diary-bottom{flex-direction:column;font-size:8px}.area-options{grid-template-columns:repeat(5,minmax(0,1fr))}.test-fields{flex-direction:column;align-items:stretch}.test-fields input{max-width:none;width:100%}.editor-footer{grid-template-columns:1fr 150px}footer{font-size:8px;gap:15px}}

/* Keep everyday controls and supporting text readable. */
.page-heading p{font-size:14px;color:#50535d}.preview-note{font-size:11px;color:#50535d}.quiet-btn{font-size:12px}.week-tab{font-size:12px;color:#50535d}.week-tab span{font-size:10px;color:#686c76}.diary-table th{font-size:11px;color:#686c76}.diary-table td{font-size:14px}.day-button strong{font-size:14px}.day-button small{font-size:11px;color:#686c76}.area-link{font-size:12px;color:#50535d}.status{font-size:10px;color:#686c76}.status.open{color:#50535d}.status.full{color:#866d30}.diary-bottom{font-size:10px;color:#686c76}.simple-example strong{font-size:12px;color:#50535d}.simple-example p{font-size:11px;color:#686c76}.switch-label{font-size:13px}.field-label{font-size:12px;color:#50535d}.number-control span{font-size:12px;color:#686c76}.field-help{font-size:11px;color:#686c76}.areas-heading h3{font-size:14px}.areas-heading span{font-size:11px;color:#686c76}.all-areas{font-size:13px}.all-areas small{font-size:11px;color:#686c76}.search-wrap input{font-size:12px;color:#50535d}.search-wrap input::placeholder{color:#686c76}.area-group-title{font-size:10px;color:#686c76}.area-option{font-size:12px;color:#50535d}.area-option.excluded{color:#686c76}.editor-heading p{font-size:12px;color:#686c76}.editor-footer>span{font-size:11px;color:#686c76}.primary-btn{font-size:13px}.secondary-btn{font-size:12px}.text-link{font-size:11px}.fine-print{font-size:11px;color:#686c76}.test-panel{font-size:12px}.test-panel summary span{font-size:10px}.test-fields label{font-size:11px}.test-fields input{font-size:13px}#toast{font-size:12px}.editor-heading,.areas-section,.day-controls,.editor-footer{border-color:#dedee3}
@media(max-width:480px){.diary-table th{font-size:9px}.diary-table td{font-size:12px}.day-button strong{font-size:12px}.day-button small{font-size:10px}.status{font-size:9px}.week-tab{font-size:10px}.week-tab span{font-size:9px}.page-heading p{font-size:12px}.area-option{font-size:12px}.diary-bottom{font-size:9px}.editor-footer{grid-template-columns:1fr 150px}}
/* Named groups keep the day editor compact, with postcode exceptions on demand. */
.area-list{max-height:360px;padding-right:6px;overscroll-behavior:contain}
.area-group{border-bottom:1px solid #ececef}
.group-row{display:flex;align-items:center;gap:6px;min-height:62px}
.group-select{display:flex;align-items:center;gap:10px;flex:1;min-width:0;cursor:pointer;padding:10px 0}
.group-select input{flex:none;margin:0}
.group-select>span{min-width:0}
.group-select strong{display:block;font-size:12px;line-height:1.45;font-weight:600;color:#50535d}
.group-count{display:block;font-size:11px;line-height:1.5;color:#686c76;margin-top:2px}
.group-partial .group-count{color:#8a6b32}
.group-off .group-select strong{color:#686c76}
.group-expand{flex:none;width:32px;height:36px;border:1px solid transparent;border-radius:5px;background:transparent;color:#686c76;display:grid;place-items:center}
.group-expand:hover{background:#ececef;border-color:#dedee3}
.group-expand span{font-size:24px;line-height:1;transition:transform .15s}
.group-expand[aria-expanded=true] span{transform:rotate(90deg)}
.group-detail{padding:0 0 12px 0}
.group-detail .area-options{background:#fcfcfd;border-radius:5px;padding:7px}
.group-search-note{font-size:11px;color:#686c76;line-height:1.5;margin:0 0 8px}
.all-areas{flex-wrap:wrap;row-gap:4px}
.all-areas small{margin-left:auto}
@media(max-width:820px){.area-list{max-height:340px}.group-expand{width:40px;height:40px}.group-select strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){.group-expand span{transition:none}}

/* Domestic Heroes: supplied original artwork, red actions and charcoal type. */
:root{--ink:#25262b;--muted:#686c76;--green:#d71920;--dark:#24252a;--paper:#f6f6f8;--line:#e3e3e8;--light:#fff1f1;--brand:#d71920}
.topbar{height:110px;border-top:4px solid var(--brand);border-bottom:1px solid var(--line)}
.brand{gap:12px;align-items:center}
.brand-mascot{width:60px;height:80px;object-fit:contain;display:block}
.brand-wordmark{display:flex;flex-direction:column;align-items:center}
.brand-wordmark>img{width:180px;height:auto;display:block}
.brand-wordmark small{margin-top:-10px;font-size:9px;letter-spacing:2.5px;color:#555963;font-weight:650}
.preview-badge{color:#646873;background:#fafafa}
.preview-badge i{background:var(--brand)}
.eyebrow{color:#b71920}
.preview-note{background:#fff;border-color:#e3e3e8;color:#626670}
.note-icon{color:var(--brand)}
.help-panel{border-left-color:var(--brand);background:#fff3f3;color:#555963}
.week-tabs{background:#eaeaec}
.week-tab.active{color:#b71920;box-shadow:0 1px 4px #25262b12}
.week-tab.active span{color:#777078}
.diary-table tr.selected{background:#fff2f2}
.diary-table tr.selected td:first-child{box-shadow:3px 0 var(--brand) inset}
.today-chip{background:#ffe1e2;color:#a80f16}
.toggle:checked{background:var(--brand)}
input[type=checkbox]:not(.toggle){accent-color:var(--brand)}
.area-link{color:#ab2026}.area-link:hover{color:#86151a}
.status.open{color:#2f704d;background:#eaf5ee}
.status.full{color:#87641c;background:#fff3d8}
.status.unsaved{color:#9b5414;background:#fff0df}
.legend-dot{background:var(--brand)}
.simple-example{border-color:#e9dcdc;background:#fff9f9}
.example-icon{background:#ffe4e5;color:#bc1b22}
.simple-example strong{color:#464851}.simple-example p{color:#737680}
.all-areas{background:#fff3f3;border-color:#f2d5d6;color:#4e4144}
.group-select strong{color:#42454e}.group-off .group-select strong{color:#858892}
.group-partial .group-count{color:#9a641a}
.group-expand{color:#666973}.group-expand:hover{background:#fff0f0;border-color:#f0d7d8}
.group-detail .area-options{background:#f5f5f7}
.primary-btn{background:var(--brand);border-color:var(--brand);box-shadow:0 2px 3px #b9141a15}
.primary-btn:hover:not(:disabled){background:#b9141a;border-color:#b9141a}
.secondary-btn{color:#b71920;border-color:#ecc4c6}.secondary-btn:hover{background:#fff3f3}
#toast{background:#fff5f5;color:#8e252a;border-color:#efc9cc}
#toast.error{background:#fff5e8;color:#875e25;border-color:#e8d2af}
@media(max-width:820px){.topbar{height:102px}.brand-mascot{width:54px;height:72px}.brand-wordmark>img{width:164px}.brand-wordmark small{font-size:8px;margin-top:-9px}}
@media(max-width:480px){.topbar{height:96px;padding:0 16px}.brand{gap:7px}.brand-mascot{width:43px;height:58px}.brand-wordmark>img{width:134px}.brand-wordmark small{font-size:7px;letter-spacing:1.8px;margin-top:-7px}.preview-badge{font-size:9px;padding:5px 8px;gap:5px}}
