*{box-sizing:border-box;margin:0;padding:0}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:#f0f4f8;min-height:100vh;padding-bottom:40px}
body.has-nav{padding-bottom:74px}

/* ---- dashboard hub ---- */
.statrow{display:flex;justify-content:space-around;text-align:center;padding:16px 10px}
.statrow .stat b{display:block;font-size:24px;font-weight:800;color:#2E7D9E;line-height:1}
.statrow .stat span{font-size:11px;color:#888;text-transform:uppercase;letter-spacing:.4px}
.dash-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 14px 0}
.tile{position:relative;display:flex;flex-direction:column;gap:2px;background:#fff;border-radius:14px;padding:16px 14px;text-decoration:none;box-shadow:0 1px 6px rgba(0,0,0,.07);color:#222}
.tile .tic{font-size:26px;line-height:1.1}
.tile b{font-size:16px;color:#2E7D9E;margin-top:4px}
.tile small{font-size:11px;color:#888;line-height:1.3}
.tile:active{transform:scale(.98)}
.tile.soon{opacity:.6;pointer-events:none}
.tile.soon b{color:#888}
.tile.soon em{position:absolute;top:12px;right:12px;font-style:normal;font-size:9px;font-weight:700;color:#b06b00;background:#fdf1dd;padding:2px 6px;border-radius:6px;text-transform:uppercase;letter-spacing:.3px}

/* ---- bottom app nav ---- */
.botnav{position:fixed;left:0;right:0;bottom:0;display:flex;background:#fff;border-top:1px solid #e5eaf0;box-shadow:0 -2px 10px rgba(0,0,0,.05);z-index:50}
.botnav a{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:9px 0 10px;font-size:11px;font-weight:600;color:#9aa5b1;text-decoration:none}
.botnav a .ic{font-size:20px;line-height:1}
.botnav a.on{color:#2E7D9E}
.hdr{background:#2E7D9E;color:#fff;padding:16px 18px 14px}
.hdr h1{font-size:19px;font-weight:700;margin:0}
.hdr p{font-size:11px;opacity:.75;margin-top:2px}
.card{background:#fff;border-radius:12px;padding:16px;margin:10px 14px 0;box-shadow:0 1px 6px rgba(0,0,0,.07)}
.f label{display:block;font-size:11px;font-weight:700;color:#888;text-transform:uppercase;letter-spacing:.4px;margin:12px 0 5px}
.f input,.f select{width:100%;padding:11px 13px;border:1.5px solid #e5eaf0;border-radius:9px;font-size:15px;color:#222;background:#fafbfc}
.f input:focus,.f select:focus{outline:none;border-color:#2E7D9E;background:#fff}
.r2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.date-row{margin-bottom:6px}
.est{font-size:12px;color:#2E7D9E;margin-top:8px;min-height:16px}
.btn{display:block;width:100%;margin-top:14px;padding:15px;background:#2E7D9E;color:#fff;font-size:16px;font-weight:700;border:none;border-radius:12px;cursor:pointer}
.btn:active{background:#245f7b}
.err{color:#ff3b30;text-align:center;margin:8px 0;font-size:13px}
.week-box{background:#fff;border-radius:12px;margin:10px 14px 0;box-shadow:0 1px 6px rgba(0,0,0,.07);overflow:hidden}
.week-hdr{background:#2E7D9E;color:#fff;padding:10px 15px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;display:flex;justify-content:space-between}
.week-row{display:flex;justify-content:space-between;align-items:center;padding:9px 15px;border-bottom:1px solid #f3f3f3;font-size:13px}
.week-row .day{color:#333;font-weight:600;min-width:80px}
.week-row .job-s{color:#888;font-size:12px;flex:1;padding:0 8px}
.week-row .hrs{color:#2E7D9E;font-weight:700;min-width:50px;text-align:right}
.week-row.empty .day{color:#bbb}
.week-total{display:flex;justify-content:space-between;padding:10px 15px;font-weight:700;font-size:14px;background:#f8f8f8;color:#222}
.week-total .wt-due{color:#2E7D9E;font-size:15px}
.del{background:none;border:none;color:#ccc;font-size:18px;cursor:pointer;padding:0 0 0 10px}
.del:hover{color:#ff3b30}

/* ---- weekly view ---- */
.weeknav{display:flex;align-items:center;gap:8px;margin:10px 14px 0;flex-wrap:wrap}
.weeknav .nav{background:#fff;border:1.5px solid #e5eaf0;border-radius:8px;padding:9px 13px;font-size:13px;font-weight:600;color:#2E7D9E;text-decoration:none}
.weeknav .nav.today{color:#666}
.weeknav .spacer{flex:1}
.wk-toggle{font-size:12px;color:#666}
.wk-toggle label{display:flex;align-items:center;gap:5px;cursor:pointer}
.tabs{display:flex;gap:4px;margin:12px 14px 0;border-bottom:2px solid #e5eaf0}
.tab{background:none;border:none;padding:10px 14px;font-size:14px;font-weight:700;color:#999;cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-2px;text-decoration:none}
.tab.active{color:#2E7D9E;border-bottom-color:#2E7D9E}
.tab.link{margin-left:auto;color:#bbb;font-weight:600}
.childcard{padding:6px 14px 12px}
.childname{font-size:16px;font-weight:700;color:#2E7D9E;margin:8px 0 2px}

/* one day = a stacked block: label + off-checkbox on top, times below */
.day-cell{padding:10px 0;border-top:1px solid #eef1f4}
.day-cell:first-of-type{border-top:none}
.day-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}
.day-label{font-size:13px;font-weight:700;color:#333}
.offbox{display:flex;align-items:center;gap:6px;font-size:12px;color:#b06b00;cursor:pointer;user-select:none}
.offbox input{width:17px;height:17px;accent-color:#b06b00}
.blocks{display:flex;flex-direction:column;gap:7px}
.block{display:flex;align-items:center;gap:8px}
.block input[type=time]{flex:1;min-width:0;padding:11px 10px;border:1.5px solid #e5eaf0;border-radius:9px;font-size:16px;color:#222;background:#fafbfc;color-scheme:light;accent-color:#2E7D9E}
.block input[type=time]:focus{outline:none;border-color:#2E7D9E;background:#fff}
.tsel{flex:1;min-width:0;padding:11px 8px;border:1.5px solid #e5eaf0;border-radius:9px;font-size:16px;color:#222;background:#fafbfc;appearance:menulist;color-scheme:light}
.tsel:focus{outline:none;border-color:#2E7D9E;background:#fff}
.def-form .tsel{padding:8px 6px;font-size:14px}
.block .dash{color:#aaa;flex:none}
.block .rm{background:none;border:none;color:#ccc;font-size:20px;line-height:1;cursor:pointer;padding:0 2px;flex:none}
.block .rm:hover{color:#ff3b30}
.addline{background:none;border:none;color:#2E7D9E;font-size:13px;font-weight:600;cursor:pointer;padding:8px 0 0 2px}
.none-note{display:none;color:#b06b00;font-size:13px;font-style:italic;padding:4px 0 2px}
.day-cell.is-none{background:#fdf8f0;border-radius:8px;padding:10px 10px;margin:0 -10px}
.day-cell.is-none .blocks,.day-cell.is-none .addline{display:none}
.day-cell.is-none .none-note{display:block}
.muted{color:#999;font-size:13px}

/* summary: child column pinned left, weekly total pinned right, days scroll between */
.scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
table.summary{border-collapse:separate;border-spacing:0;width:100%;font-size:13px}
table.summary th,table.summary td{padding:9px 8px;text-align:center;border-bottom:1px solid #eef1f4;white-space:nowrap}
table.summary th{background:#f4f8fa;color:#666;font-size:11px;text-transform:uppercase;letter-spacing:.3px}
table.summary th .dom{font-weight:400;color:#aaa;text-transform:none;letter-spacing:0;font-size:10px}
table.summary .lhead{text-align:left;font-weight:700;color:#333;position:sticky;left:0;background:#fff;box-shadow:1px 0 0 #eef1f4}
table.summary thead .lhead{background:#f4f8fa}
table.summary .wk{font-weight:700;color:#2E7D9E;position:sticky;right:0;background:#f4fafc;box-shadow:-1px 0 0 #e5eaf0}
table.summary tfoot td{font-weight:700;background:#f4f8fa;color:#222;border-top:2px solid #e5eaf0}
table.summary tfoot .lhead{background:#f4f8fa}
table.summary tfoot .wk.grand{color:#2E7D9E;font-size:14px;background:#eaf4f8}

/* admin console */
.mini{padding:5px 10px;font-size:12px;border:1px solid #cdd6dd;background:#fff;color:#2E7D9E;border-radius:6px;cursor:pointer}
.mini:hover{background:#f2f8fb}
.linkbtn{background:none;border:0;color:#fff;padding:0;font:inherit;cursor:pointer;text-decoration:underline}
.pill{display:inline-block;padding:2px 9px;border-radius:10px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.3px;margin-right:6px;vertical-align:middle}
.pill.on{background:#e4f4e9;color:#1c7a3e}
.pill.off{background:#f6e4e4;color:#a33}
.hint{display:block;color:#8a949c;font-size:12px;margin:-4px 0 10px}
.hint code{background:#eef1f4;padding:1px 5px;border-radius:4px}

/* admin: destructive actions */
.danger-link{color:#a33;border-color:#e3c4c4}
.danger-link:hover{background:#fbeaea}
.danger-btn{background:#b5322f}
.danger-btn:hover{background:#9c2a27}
.danger-note{background:#fbeaea;border:1px solid #eecccc;color:#7a2320;padding:12px 14px;border-radius:8px;line-height:1.45}

/* --- Week identity band (added 4 Sep 2026) -----------------------------
   The blue header carries the week dates but scrolls away exactly when you
   start entering times. This band sticks to the top so the week you are
   editing is always named on screen. */
.weekband{position:sticky;top:0;z-index:40;margin:0;padding:9px 14px;
  background:#eaf4f8;border-bottom:1px solid #cfe4ec;color:#245c74;
  font-size:12.5px;letter-spacing:.2px}
.weekband b{font-weight:700;color:#17475c}

/* The summary must name its own week when printed or shared. */
.sumcap{padding:12px 14px 0;font-size:12.5px;color:#245c74}
.sumcap b{color:#17475c}

/* --- Child row: name, edit, attending tick-box (added 4 Sep 2026) ------- */
.childtop{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:6px}
.childtop .day{flex:1;min-width:0}
.attend-form{margin:0}
.attend-form label{display:flex;align-items:center;gap:6px;font-size:11.5px;
  color:#2E7D9E;font-weight:600;cursor:pointer;white-space:nowrap}
.attend-form input{width:17px;height:17px;accent-color:#2E7D9E}
.editlink{font-size:12.5px;font-weight:600;color:#2E7D9E;text-decoration:none;
  border:1.5px solid #cfe4ec;border-radius:8px;padding:5px 12px;background:#fff}
/* A child who has stopped attending stays listed -- greyed, never hidden, so
   they can be switched back on and their history is still reachable. */
.child-def.is-off{opacity:.55}
.child-def.is-off .day{text-decoration:line-through;color:#777}

/* Attending control on the edit screen */
.attendbox{margin-top:14px;padding:12px;background:#f6fafc;border:1px solid #e0edf3;border-radius:10px}
.attendrow{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:600;color:#245c74;cursor:pointer}
.attendrow input{width:19px;height:19px;accent-color:#2E7D9E}
.attendnote{margin:8px 0 0;font-size:11.5px;line-height:1.5;color:#5b7787}

/* --- Auto-save indicator (added 7 Sep 2026) ---------------------------
   No silent waiting: the person must always be able to see whether their
   hours actually reached the server. */
.saverow{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.savestate{font-size:12px;font-weight:600;letter-spacing:.2px;min-height:16px}
.savestate.busy{color:#7a8f9b}
.savestate.ok{color:#1f7a4d}
.savestate.bad{color:#b3261e}

/* --- Parents & contacts (added 7 Sep 2026) ----------------------------
   Reached by a button from the child's page, never on the main screen:
   the day job is entering hours, not maintaining a family record. */
.bigbtn{display:flex;flex-direction:column;gap:3px;text-decoration:none;
  background:#f6fafc;border:1.5px solid #cfe4ec;border-radius:11px;padding:14px 16px}
.bigbtn span{font-size:14.5px;font-weight:700;color:#2E7D9E}
.bigbtn em{font-style:normal;font-size:11.5px;color:#5b7787}

.person{padding-top:14px}
.person-top{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:7px}
.person-name{font-size:15px;font-weight:700;color:#22343d}
.tag{font-size:9.5px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;
  padding:2px 7px;border-radius:6px;background:#eef2f6;color:#5b7787}
.tag-parent{background:#e7f3f8;color:#245c74}
.tag-carer{background:#e9f5ec;color:#1f7a4d}
.tag-emergency{background:#fdf1dd;color:#b06b00}
.tag-primary{background:#2E7D9E;color:#fff}
.tag-emg{background:#fdece9;color:#b3261e}
.person-lines{font-size:13px;color:#40525c;line-height:1.6}
.person-lines .addr{color:#5b7787}
.person-lines .livesw{font-size:11.5px;color:#1f7a4d;font-weight:600}
.shared{margin:9px 0 0;font-size:11.5px;line-height:1.5;color:#b06b00;
  background:#fdf7ec;border-left:3px solid #e6c68a;padding:7px 10px;border-radius:0 7px 7px 0}
.drop{margin-top:10px;border-top:1px solid #eef1f4;padding-top:9px}
.drop summary{cursor:pointer;font-size:12.5px;font-weight:600;color:#2E7D9E;
  list-style:none;padding:3px 0}
.drop summary::-webkit-details-marker{display:none}
.drop summary::before{content:"+ ";font-weight:700}
.drop[open] summary::before{content:"\2212 "}
.chk{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500;
  color:#40525c;margin-top:9px;cursor:pointer}
.chk input{width:18px;height:18px;accent-color:#2E7D9E}
.linkbtn{background:none;border:0;font-size:12px;font-weight:600;cursor:pointer;
  padding:8px 0;color:#2E7D9E}
.linkbtn.danger{color:#b3261e}
.small{font-size:11.5px;line-height:1.5}

/* --- Family file (added 7 Sep 2026) -----------------------------------
   Children at the top: the owner was explicit that they are the main
   reference, so they lead the page and the parents sit underneath. */
.kidrow{display:flex;align-items:center;justify-content:space-between;gap:10px;
  flex-wrap:wrap;padding:11px 0;border-bottom:1px solid #eef1f4}
.kidrow:last-of-type{border-bottom:0}
.kidwho{display:flex;align-items:center;gap:10px;min-width:0}
.kidnum{font-size:9.5px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;
  color:#5b7787;background:#eef2f6;padding:3px 7px;border-radius:6px;white-space:nowrap}
.kidname{font-size:15.5px;font-weight:700;color:#2E7D9E;text-decoration:none}
.kidmeta{font-size:12.5px;color:#5b7787;display:flex;align-items:center;gap:7px}
.kidrow.is-off{opacity:.55}
.kidrow.is-off .kidname{text-decoration:line-through;color:#777}
.addkid{margin-top:12px}

/* Two columns on a wide screen; a phone stacks them, because side by side at
   that width is unreadable. */
.parentcols{display:grid;grid-template-columns:1fr;gap:0}
@media (min-width:620px){
  .parentcols{grid-template-columns:1fr 1fr;gap:0 12px;align-items:start}
  .parentcols .pcol{margin-left:0;margin-right:0}
}
.pnum{font-size:9.5px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;
  color:#2E7D9E;margin-bottom:5px}
.pcol .person-name{margin-bottom:5px}
.otherrow{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:6px 0;
  font-size:13px}
/* Child edit: normal-week grid, age band, funding lines (30 Sep 2026) */
.defgrid{margin-top:4px}
.defgrid .day-cell{padding:8px 0}
.ageband{font-size:12.5px;color:#2E7D9E;margin:6px 0 2px}
.cardh{font-size:15px;color:#2E7D9E;margin:0 0 10px}
.fundlist{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}
.fundrow{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #eef1f4;font-size:14px}
.kidsum{font-size:12.5px;color:#5b7787;padding:2px 0 4px 2px}
.kidsum .tag{margin-left:4px}
.defgrid .offbox{display:flex;margin:0;font-size:12px;font-weight:400;color:#b06b00;text-transform:none;letter-spacing:0}
.defgrid .day-cell.is-none{margin:0}
/* Hours page: child picker, holiday tags, Day/Week/Month money (30 Sep 2026) */
.childpick{margin:10px 14px 0}
.childpick select{width:100%;padding:10px 12px;border:1.5px solid #e5eaf0;border-radius:9px;font-size:15px;background:#fff;color:#17475c;font-weight:600}
.htag{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:9px;font-size:10.5px;font-weight:700;vertical-align:middle}
.htag.school{background:#eef4fb;color:#3a6ea5}
.htag.minder,.htag.child{background:#fdf1e2;color:#b06b00}
.daychips{display:flex;gap:6px;overflow-x:auto;padding:12px 14px 4px}
.chip{flex:none;border:1.5px solid #e5eaf0;background:#fff;border-radius:9px;padding:6px 10px;font-size:12px;font-weight:700;color:#666;cursor:pointer;line-height:1.2}
.chip span{font-weight:400;font-size:10.5px;color:#999}
.chip.on{border-color:#2E7D9E;color:#2E7D9E;background:#f2f8fb}
table.money td,table.money th{padding:9px 7px}
.moneynote{padding:8px 14px 12px;margin:0}
table.money{font-size:12.5px}
table.money td,table.money th{padding:8px 5px}
table.money .lhead{white-space:normal;min-width:70px;max-width:110px}
/* Reports (30 Sep 2026) */
a.tab{text-decoration:none;display:inline-block}
.govchild{padding:6px 0 10px}
.govchild>b{display:block;color:#17475c;font-size:14px;margin:6px 0 2px}
.govtotal{font-weight:700;border-bottom:none}
/* Children list rows (owner, 30 Sep): name, attending beside it, buttons below */
.kid{padding:13px 15px 14px;border-bottom:1px solid #eef1f4}
.kid:last-child{border-bottom:none}
.kidhead{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.kname{font-size:16.5px;font-weight:700;color:#17475c}
.kid .kidsum{padding:5px 0 0;font-size:13px}
.kidbtns{display:flex;gap:10px;margin-top:10px}
.kidbtns .editlink{flex:1;max-width:140px;text-align:center;padding:8px 0}
.kid.is-off{opacity:.55}
.kid.is-off .kname{text-decoration:line-through;color:#777}
.childpick{display:flex;align-items:center;gap:10px}
.childpick label{font-size:11px;font-weight:700;color:#888;text-transform:uppercase;letter-spacing:.4px}
.childpick select{flex:1;font-size:16px;border-color:#2E7D9E}
/* Money blocks + daily hours (owner, 30 Sep: phone first) */
.mblock{padding:10px 14px 8px;border-bottom:1px solid #eef1f4}
.mblock:last-of-type{border-bottom:none}
.mname{font-weight:700;color:#17475c;font-size:14.5px;margin-bottom:4px}
.mline{display:grid;grid-template-columns:1fr 54px 92px;align-items:baseline;font-size:13.5px;padding:3px 0}
.mline span:nth-child(2){text-align:right;color:#5b7787}
.mline b{text-align:right;font-weight:600;color:#222}
.mline em{font-style:normal;color:#999;font-size:11.5px}
.mline.mtot{border-top:1px solid #e5eaf0;margin-top:3px;padding-top:6px}
.mline.mtot b{color:#2E7D9E;font-weight:800}
.mtotal{background:#f4fafc;border-radius:10px;margin:6px 8px 4px;border-bottom:none}
table.daily td,table.daily th{padding:8px 6px}
table.daily .lhead{white-space:nowrap}
table.daily .lhead .dom{color:#999;font-size:11px;font-weight:400}
.statbottom{margin-top:4px}
.statcap{margin:18px 16px 0;font-size:11.5px;font-weight:700;color:#888;text-transform:uppercase;letter-spacing:.4px}
.savedmsg{color:#1c7a3e;text-align:center;margin:8px 0;font-size:13px;font-weight:600}
.readonly{padding:11px 13px;border:1.5px dashed #e5eaf0;border-radius:9px;font-size:15px;background:#fafbfc;color:#333}
.agetext{font-size:14px;color:#17475c;margin:8px 0 0}
.kidage{font-weight:600;color:#17475c}
.dobrow{display:grid;grid-template-columns:1fr 1.2fr 1.2fr;gap:8px}
.dobrow .tsel{width:100%}
.fundsource{font-size:12.5px;color:#b06b00;background:#fdf6ec;border-radius:8px;padding:7px 10px;margin:6px 0 4px}
/* Reports views (owner, 30 Sep) */
.viewbtns{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 14px 0}
.vbtn{display:block;text-align:center;padding:11px 0;border:1.5px solid #cfe4ec;border-radius:10px;background:#fff;color:#2E7D9E;font-weight:700;font-size:14px;text-decoration:none}
.vbtn.on{background:#2E7D9E;border-color:#2E7D9E;color:#fff}
table.childmoney td,table.childmoney th{padding:8px 5px;font-size:12.5px}
table.childmoney .htag{margin-left:3px;padding:0 5px}
table.childmoney .lhead{white-space:nowrap;min-width:0}
table.childmoney .mk{font-size:10px;font-weight:700;margin-left:2px}
table.childmoney .mk.half{color:#b06b00}
table.childmoney .mk.sch{color:#3a6ea5}
/* Onboarding / business details (owner, 30 Sep) */
.councilrow{display:flex;gap:8px;align-items:center}
.councilrow input{flex:1}
.setupbanner{display:flex;flex-direction:column;gap:2px;text-decoration:none;background:#fdf6ec;border:1px solid #f1d9b5}
.setupbanner b{color:#b06b00}
.setupbanner span{font-size:12.5px;color:#7a5a2a}
.drivewarn{display:flex;flex-direction:column;gap:2px;text-decoration:none;background:#fdecea;border:1.5px solid #e6a49c}
.drivewarn b{color:#c0392b}
.drivewarn span{font-size:12.5px;color:#7a2e26}
/* Public privacy page (2 Nov) */
.privacy{max-width:720px;margin:16px auto;line-height:1.5}
.privacy h2{font-size:17px;margin:18px 0 6px;color:#2E7D9E}
.privacy p{margin:0 0 10px}
.privacy ul{margin:0 0 10px;padding-left:20px}
.privacy li{margin-bottom:5px}
/* "?" help toggles + folded settings sections (owner, 7 Oct) */
.qmark{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-left:6px;border-radius:50%;border:1.5px solid #9cc3d4;background:#fff;color:#2E7D9E;font-size:11px;font-weight:800;line-height:1;cursor:pointer;vertical-align:middle;padding:0}
.qmark.on{background:#2E7D9E;color:#fff;border-color:#2E7D9E}
.helptext{display:block;margin:6px 0 2px;padding:8px 10px;background:#f2f8fb;border-radius:8px;font-size:12.5px;font-weight:400;color:#35596a;text-transform:none;letter-spacing:0;line-height:1.45}
.helptext[hidden]{display:none}
details.fold{border:1.5px solid #cfe4ec;border-radius:12px;background:#f6fafc}
details.fold>summary{list-style:none;display:flex;flex-direction:column;gap:3px;padding:13px 15px;cursor:pointer}
details.fold>summary::-webkit-details-marker{display:none}
details.fold>summary span{font-size:14.5px;font-weight:700;color:#2E7D9E}
details.fold>summary em{font-style:normal;font-size:11.5px;color:#5b7787}
details.fold>summary span::after{content:" \25BE";font-size:12px}
details.fold[open]>summary span::after{content:" \25B4"}
details.fold .foldbody{padding:0 15px 14px}
/* Print button on Reports (owner, 7 Oct) -- the printout is the report only */
.printrow{display:flex;justify-content:flex-end;margin:10px 14px 0}
.printbtn{font-size:13px;padding:7px 14px}
@media print{
  body{background:#fff}
  .botnav,.viewbtns,.weeknav,.tabs,.childpick,.printrow,.qmark,.helptext,.hdr a{display:none!important}
  .hdr{background:#fff;color:#000;padding:0 0 8px;border-bottom:2px solid #000}
  .hdr h1,.hdr p{color:#000;opacity:1}
  .card{box-shadow:none;border:1px solid #ccc;break-inside:avoid;margin:10px 0}
  .scroll{overflow:visible}
  table.summary .lhead,table.summary .wk{position:static;box-shadow:none}
  body.has-nav{padding-bottom:0}
}
/* Hours v2 (owner, 7 Oct): dates top, picker left + label right, comments, History */
.weekband{margin-top:0}
.childpick.right{display:flex;align-items:center;gap:10px}
.childpick.right select{flex:1}
.cellfoot{display:flex;justify-content:space-between;align-items:center}
.addnote{background:none;border:none;color:#2E7D9E;font-size:13px;font-weight:600;cursor:pointer;padding:8px 0}
.addnote.has{color:#b06b00}
.notebox textarea{width:100%;box-sizing:border-box;padding:9px 11px;border:1.5px solid #e5eaf0;border-radius:9px;font:inherit;font-size:14px;resize:vertical}
.notebox[hidden]{display:none}
.day-cell.is-none .cellfoot .addline{display:none}
.day-cell.is-none .cellfoot{justify-content:flex-end}
.bigbtn.history{margin:12px 0 0}
/* Day extras in their own box + attended times + register (owner, 7 Oct) */
.cellfoot{display:grid;grid-template-columns:repeat(3,1fr);margin-top:8px;border:1.5px solid #e1ebf1;border-radius:10px;background:#f8fbfd;overflow:hidden}
.cellfoot button{padding:9px 2px;font-size:12.5px;text-align:center;border:0;border-left:1px solid #e1ebf1;background:none;color:#2E7D9E;font-weight:600;cursor:pointer}
.cellfoot button:first-child{border-left:0}
.cellfoot button.has{color:#b06b00}
.day-cell.is-none .cellfoot .addline{visibility:hidden}
.day-cell.is-none .cellfoot{justify-content:normal}
.attbox{display:grid;grid-template-columns:auto 1fr auto 1fr;gap:6px;align-items:center;margin-top:8px}
.attbox[hidden]{display:none}
.attlbl{font-size:12px;color:#5b7787;font-weight:600}
.attbox .tsel{padding:8px 4px;font-size:14px}
.viewbtns.three{grid-template-columns:1fr 1fr 1fr}
table.register td,table.register th{padding:8px 5px;font-size:12.5px}
table.register .regname{text-align:left;white-space:normal}
/* Beginner mode (owner, 7 Oct) */
.beginnercard{background:#f6fbf7;border:1px solid #d6ecdc}
.howto{margin:10px 14px 0;padding:8px 12px;background:#fff;border-radius:10px;border:1px dashed #cfe4ec}
.howtitle{font-size:13px;font-weight:700;color:#2E7D9E}
.howto .helptext{line-height:1.6}
.historyhelp{margin:6px 2px 0;text-align:right}
.historyhelp .helptext{text-align:left}
/* Invites (owner, 7 Oct) */
.invitemsg{width:100%;box-sizing:border-box;padding:10px;border:1.5px solid #e5eaf0;border-radius:9px;font:inherit;font-size:13.5px;margin:8px 0}
.sharebtns{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sharebtns .vbtn{cursor:pointer}
.installbox{background:#f6fbf7;border:1px solid #d6ecdc}
.installbox .btn{margin:10px 0 4px}
/* Tax page rows: box number | HMRC wording | amount (owner, 7 Oct) */
.taxrow{display:grid;grid-template-columns:34px 1fr auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #eef1f4;font-size:13.5px}
.boxno{display:inline-flex;justify-content:center;align-items:center;min-width:30px;height:22px;border-radius:6px;background:#eef4f8;color:#2E7D9E;font-weight:800;font-size:11.5px}
.boxno:empty{background:none}
.boxwords{color:#333;line-height:1.35}
.boxval{text-align:right;white-space:nowrap;font-weight:600}
.taxrow.strong .boxval{color:#2E7D9E;font-size:15px;font-weight:800}
.f .boxin,.boxin{width:96px;text-align:right;padding:7px 8px;font-size:14px}
.f .taxrow select,.taxrow select{width:auto;padding:6px 8px;font-size:14px}
.taxsub{font-size:12px;color:#5b7787;padding:4px 0 8px 42px}
.calcadd{display:block;font-style:normal;color:#b06b00;font-size:11.5px}
.taxinfo{font-size:13px;line-height:1.5}
.taxdates{margin:6px 0 0 18px;padding:0}
.taxwarn{background:#fdf6ec;border:1px solid #f1d9b5;font-size:13px}
/* Funding claim sheet (owner, 8 Oct) */
.claimline{padding:8px 0;border-bottom:1px solid #eef1f4}
.claimoffer{font-weight:700;color:#17475c;font-size:14px}
.claimnums{display:flex;gap:10px;flex-wrap:wrap;font-size:13.5px;margin:3px 0}
.claimnums b{color:#2E7D9E}
.claimwarn{margin-top:4px;padding:6px 9px;border-radius:8px;background:#fdf1e2;color:#8a5200;font-size:12.5px}
/* Admin customer rows (owner, 8 Oct) */
.adminrow{padding:12px 15px;border-bottom:1px solid #eef1f4}
.adminwho b{font-size:15px;margin-right:6px}
.adminbtns{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.adminbtns form{margin:0}
.adminbtns .mini{white-space:nowrap;text-decoration:none;display:inline-block}
/* Invoices (owner, 8 Oct) */
.invhead{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.invhead b{font-size:15px;color:#17475c}
.invline{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #eef1f4;font-size:13px}
.invline span{color:#333}
.invline .claimwarn{display:block;margin-top:4px}
.invline b{white-space:nowrap}
.invtotal{font-size:14.5px;border-bottom:none}
.invtotal b{color:#2E7D9E}
.periodrow{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0}
.periodlbl{font-weight:700;color:#17475c;font-size:14px}
.periodrow select{padding:8px 10px;border:1.5px solid #e5eaf0;border-radius:9px;font-size:15px}
/* Your records / drives (owner, 8 Oct) */
.driverow{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #eef1f4;margin-top:10px}
.drivebtns{display:flex;gap:6px;flex-wrap:wrap}
.drivebtns form{margin:0}
.drivebtns .mini{white-space:nowrap;text-decoration:none}
.okcopy{color:#1c7a3e;font-weight:700}
.badcopy{color:#c0392b;font-weight:700}
.keybox{font-family:ui-monospace,Consolas,monospace;font-size:13px}
/* Owner, 10 Nov: setting-up progress list on Home */
.setuplist{border-left:4px solid #2E7D9E}
.setuplist ol{margin:8px 0 6px;padding-left:22px}
.setuplist li{margin:7px 0;line-height:1.35}
.setuplist li a{font-weight:600;color:#2E7D9E}
.setuplist li small{display:block;color:#888;font-size:12px}
.setuplist li.done{color:#888}
.setuplist .tick{color:#2e9e5b;font-weight:700}
/* Owner, 10 Nov: red warning on the "invoices go to them" tick */
.invwarn{margin:2px 0 8px;padding:6px 9px;border-radius:8px;background:#fdecea;color:#b3261e;font-size:12.5px}
/* Tax estimate + printable summary (owner, 19 Nov 2026) -- spreadsheet order */
.esttable{width:100%;border-collapse:collapse;font-size:13.5px;margin:6px 0}
.esttable td{padding:6px 0;border-bottom:1px solid #eef1f4;vertical-align:top}
.esttable td:last-child{text-align:right;white-space:nowrap;padding-left:10px}
.esttable tr.sub td{color:#5b7787;font-size:12px;padding:2px 0 2px 12px;border-bottom:0}
.esttable tr.strong td{font-weight:700}
.esttable tr.total td{font-weight:800;color:#2E7D9E;border-top:2px solid #2E7D9E}
.taxcheck{background:#f4f8fb;border-radius:8px;padding:10px 12px;margin:8px 0;font-size:13px}
.taxcheck .ok{color:#1c7a3e;font-weight:700;display:block}
.taxcheck .err{display:block}
.taxsummary h2{font-size:15px;margin:16px 0 4px}
@media print{.noprint{display:none!important}.taxsummary{border:0}}
/* Real home costs page (owner, 25 Nov 2026) */
.roomadd,.itemadd{display:flex;gap:8px;align-items:center;margin-bottom:10px}
.roomadd input{flex:1}
.itemadd input{flex:1;min-width:0}
.roomrow{border:1px solid #e3e9ee;border-radius:10px;padding:10px 12px;margin:8px 0}
.roomrow.notcounted{opacity:.6;background:#fafbfc}
.roomtop{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.roomcount{display:flex;gap:6px;align-items:center;font-size:13px;margin:0}
.roomcount input{width:auto}
.roomnums{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:6px}
.roomnums label{font-size:12px;margin:0}
.roomfoot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:6px}
.rmbtn{background:none;border:0;color:#b3261e;font-size:12.5px;text-decoration:underline;padding:0;cursor:pointer;width:auto}
.pctin{width:54px!important;display:inline-block;padding:4px 6px!important;font-size:13px}
.homemethod .attendrow span{font-size:13px}

/* Fold-up headings on the Tax pages (owner, 25 Nov 2026) -- see _fold_cards.html */
.foldcard>h2.cardh{cursor:pointer;display:flex;align-items:flex-start;gap:6px;flex-wrap:wrap;padding-right:26px;position:relative;user-select:none}
.foldcard>h2.cardh::after{content:"\2212";position:absolute;right:0;top:-1px;font-size:18px;color:#2E7D9E;font-weight:700}
.foldcard.folded>h2.cardh{margin-bottom:0}
.foldcard.folded>h2.cardh::after{content:"+"}
.foldcard.folded>.foldcard-body{display:none}
.foldcard>h2.cardh .helptext{flex-basis:100%;font-weight:400}
.foldall{display:flex;gap:8px;justify-content:flex-end;margin:0 0 8px}
@media print{.foldcard.folded>.foldcard-body{display:block}.foldcard>h2.cardh::after{content:none}}
/* "Copy into HMRC online" guide on the summary (owner, 25 Nov 2026) */
.hmrcguide{margin:14px 0}
.hmrcguide ol.steps{margin:0;padding-left:20px}
.hmrcguide ol.steps li{margin:0 0 9px;line-height:1.45}
.hmrcguide ol.steps ul{margin:5px 0 0;padding-left:16px}
.checklist .chkhead{margin:10px 0 2px;font-weight:700;text-transform:uppercase;letter-spacing:.3px}
.checklist label.attendrow{text-transform:none;letter-spacing:0;color:#222;font-size:14px;font-weight:400;margin:0;display:flex;gap:9px;align-items:flex-start;padding:5px 0}
.checklist label.attendrow input{margin-top:2px;flex:none}
.checklist label.attendrow em{color:#888;font-size:12px}
/* Tax help and links page (owner, 29 Nov 2026) */
.linkcard ul{margin:0;padding-left:18px}
.linkcard li{margin:0 0 11px;line-height:1.4}
.f label.attendrow.basis{text-transform:none;letter-spacing:0;color:#222;font-size:14px;font-weight:400;margin:4px 0;align-items:flex-start}
.f label.attendrow.basis input{margin-top:3px;flex:none}
/* Show/hide on password boxes (owner, 30 Nov 2026) */
.pwwrap{position:relative;display:block}
.pwwrap input{width:100%;padding-right:64px;box-sizing:border-box}
.pweye{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:0;background:none;color:#2E7D9E;font-weight:700;font-size:13px;padding:6px 8px;cursor:pointer}
/* "Your steps" on the Tax page (owner, 1 Dec 2026) */
.steps{list-style:none;margin:0;padding:0}
.steps .step{display:flex;gap:10px;align-items:flex-start;padding:9px 0;border-top:1px solid #eef1f4}
.steps .step:first-child{border-top:0}
.stepmark{flex:0 0 26px;height:26px;border-radius:50%;background:#e8eef4;color:#33475b;font-weight:700;display:flex;align-items:center;justify-content:center;font-size:13px}
.step.done .stepmark{background:#1c7a3e;color:#fff}
.stepbody{flex:1;min-width:0;line-height:1.45}
.stepbody .err{display:inline}
.stepgo{flex:0 0 auto;align-self:center;display:inline-block;width:auto;margin:0;white-space:nowrap;text-decoration:none;font-weight:700}
/* One box per household bill on the Tax page (owner, 1 Dec 2026) */
.f .billrow,.billrow{display:grid;grid-template-columns:minmax(0,1fr) 104px 92px;align-items:center;gap:8px;padding:3px 0}
.f .billrow.withpct,.billrow.withpct{grid-template-columns:minmax(0,1fr) 104px 52px 92px}
.billname{font-size:13.5px;line-height:1.3}
.f .billrow .boxin,.billrow .boxin{width:100%;margin:0}
.f .billrow .pctin,.billrow .pctin{width:100%;margin:0;padding:7px 4px;text-align:right}
.billcalc{font-size:13px;color:#1c7a3e;font-weight:700;text-align:right}
.billnote{display:block;width:100%;box-sizing:border-box;margin:2px 0 8px;padding:6px 8px;font-size:12.5px;border:1px dashed #cdd6dd;border-radius:6px;background:#fbfcfd}
/* "Add up months" calculator (owner, 1 Dec 2026) */
.addupbtn{display:inline-block;margin-left:6px;padding:1px 6px;font-size:11px;border:1px solid #cdd6dd;border-radius:10px;background:#fff;color:#2E7D9E;cursor:pointer;vertical-align:middle;width:auto}
.addup{background:#f4f8fb;border:1px solid #dbe5ec;border-radius:8px;padding:8px 10px;margin:2px 0 10px;font-size:13px}
.addupgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:6px;margin:6px 0}
.addupgrid label{display:flex;flex-direction:column;font-size:11.5px;color:#55687a;text-transform:none;letter-spacing:0;margin:0}
.addup .addupin{width:100%;box-sizing:border-box;padding:6px;text-align:right;font-size:14px;margin:0}
.addupsame .addupin{width:100px;display:inline-block}
.adduptot{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.addupbtn{white-space:nowrap}
.billname .addupbtn{display:table;margin:3px 0 0}
@media (max-width:480px){
  .f .billrow.withpct,.billrow.withpct{grid-template-columns:minmax(0,1fr) 52px 84px}
  .billrow.withpct .billname{grid-column:1/-1}
}
/* Automatic saving on the Tax pages (owner, 1 Dec 2026) */
.autosavepill{position:fixed;left:50%;transform:translateX(-50%);bottom:84px;z-index:50;max-width:92vw;background:#33475b;color:#fff;font-size:13px;padding:7px 14px;border-radius:16px;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.autosavepill.good{background:#1c7a3e}
.autosavepill.bad{background:#b3261e}
/* % sign inside the business-use box (owner, 1 Dec 2026) */
.pctwrap{position:relative;display:block}
.pctwrap::after{content:"%";position:absolute;right:7px;top:50%;transform:translateY(-50%);color:#55687a;font-size:13px;pointer-events:none}
.f .billrow .pctwrap .pctin,.billrow .pctwrap .pctin{padding-right:20px!important}
/* Bill totals (owner, 1 Dec 2026) */
.billrow.billtotal{border-top:1px solid #dbe5ec;margin-top:2px;padding-top:6px}
.billrow.billtotal .billsum{text-align:right;font-size:13.5px;padding-right:8px}
.billrow.billtotal.grand{background:#eef6f0;border-radius:6px;padding:7px 8px;border-top:0;margin:6px 0}
/* Two columns: calculators left, "Your return" right (owner, 1 Dec 2026). Same rounded cards. */
.taxcols{display:block}
.taxret .taxretbar{display:none}
.taxrethead{font-weight:700;color:#2E7D9E;font-size:15px;margin:0 0 8px}
.taxrethead .small{display:block;font-weight:400}
.retbox{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:baseline;gap:4px 8px;padding:6px 6px;border-radius:8px;transition:background .3s}
.retbox .boxno{font-size:12px}
.retname{font-size:13.5px}
.retval{text-align:right;font-size:14px;white-space:nowrap}
.retbox .retval:empty{display:none}
.retparts{grid-column:2/4;display:flex;flex-direction:column;gap:1px}
.retpart{font-size:12px;color:#55687a;display:flex;justify-content:space-between;gap:8px}
.retpart b{font-weight:600;white-space:nowrap}
.retpart.zero{display:none}
.retbox.lit{background:#fff4d6;box-shadow:inset 3px 0 0 #e0a100}
.retsep{font-size:11.5px;text-transform:uppercase;letter-spacing:.04em;color:#7a8b99;margin:10px 6px 2px}
.retbox.rettotal{border-top:1px solid #dbe5ec;margin-top:4px;padding-top:8px}
.retbox.rettotal .retval{font-size:15px;color:#1c2b36}
.retfoot{margin:10px 6px 0}
@media (min-width:1000px){
  .taxcols{display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:16px;align-items:start}
  .taxcalc>.card:first-child{margin-top:0}
  .taxret{position:sticky;top:12px;max-height:calc(100vh - 100px);overflow:auto;margin-top:0}
}
@media (max-width:999px){
  .taxret{position:fixed;left:8px;right:8px;bottom:66px;z-index:40;margin:0;padding:0;max-height:70vh;display:flex;flex-direction:column;box-shadow:0 -2px 12px rgba(0,0,0,.15)}
  .taxret .taxretbar{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;border:0;background:#2E7D9E;color:#fff;font-size:13.5px;padding:11px 14px;border-radius:12px;cursor:pointer;text-align:left}
  .taxret .taxretbar b{color:#fff}
  .taxret.open .taxretbar{border-radius:12px 12px 0 0}
  .taxret.open .taxretarrow{transform:none}
  .taxretbody{display:none;overflow:auto;padding:10px 12px}
  .taxret.open .taxretbody{display:block}
  body.has-nav:has(.taxret){padding-bottom:130px}
  .autosavepill{bottom:128px}
}
.boxno.feeds{vertical-align:middle;margin-right:3px;height:20px;min-width:28px}
/* Test arrow: "show where this goes" (owner, 1 Dec 2026) */
.goto{margin-left:6px;width:26px;height:26px;border-radius:50%;border:1px solid #e0a100;background:#fff8e6;color:#b07d00;font-size:14px;line-height:1;cursor:pointer;padding:0;vertical-align:middle}
.goto:hover{background:#ffefc2}
.gotoline{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;z-index:60;transition:opacity .5s}
.gotoline path{fill:none;stroke:#d48f00;stroke-width:3.5;stroke-linecap:round}
.gotoline.fade{opacity:0}
.gotocell{text-align:right}
/* Calculators under their boxes (owner, 1 Dec 2026) */
.boxcalc{margin:2px 0 4px 38px;padding:8px 12px;border-left:3px solid #dbe5ec;background:#f8fbfd;border-radius:0 10px 10px 0}
.boxcalchead{margin:0 0 6px;font-size:13.5px}
.billrow.boxsum{margin:2px 0 14px 38px;background:#eef4f8;border-radius:8px;padding:7px 10px;border-top:0}
.taxrow.hascalc{border-top:1px solid #e3eaf0;padding-top:10px;margin-top:6px}
.hoursin{width:96px}
@media (max-width:600px){ .boxcalc{margin-left:6px;padding:8px} .billrow.boxsum{margin-left:6px} }
/* QuickBooks figures page (owner, 1 Dec 2026) */
.qborow{display:grid;grid-template-columns:minmax(0,1fr) 110px 130px;gap:8px;align-items:center;padding:7px 4px;border-top:1px solid #eef1f4;margin:0}
.qborow:first-of-type{border-top:0}
.qboname{font-size:13.5px;line-height:1.35}
.qboname em{display:block}
.qboamt{text-align:right;font-size:14px;white-space:nowrap}
.qbobox{text-align:right;font-size:13px;white-space:nowrap}
.qbobox select{width:auto;padding:5px 6px;font-size:13px;margin:0}
.qborow.qboskip .qboamt{color:#8a99a6;text-decoration:line-through}
.qborow.qbotot{font-weight:700;border-top:2px solid #dbe5ec}
.qborow.qbohead{font-size:11.5px;text-transform:uppercase;letter-spacing:.04em;color:#7a8b99}
.qborow.qbodiff{background:#fff4f2}
.qbolink{text-decoration:none;display:inline-block}
.retpart a{color:inherit}
@media (max-width:480px){.qborow{grid-template-columns:minmax(0,1fr) 92px;}.qbobox{grid-column:1/-1;text-align:left}}
.waterbasis{display:flex;flex-wrap:wrap;gap:4px 16px;align-items:center;margin:4px 0 8px}.waterbasis label{display:inline-flex;gap:6px;align-items:center;margin:0;font-size:13px;text-transform:none;letter-spacing:0;font-weight:400}
/* Your HMRC copy (owner, 2 Dec 2026) */
.hform .hsec{font-size:13px;color:#2E7D9E;margin:16px 0 4px;padding-top:8px;border-top:2px solid #dbe5ec}
.hq{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:6px 10px;align-items:baseline;padding:7px 2px;border-top:1px solid #eef1f4}
.hq .boxno{min-width:40px}
.hqwords{font-size:13.5px;line-height:1.4}
.hqval{text-align:right;white-space:nowrap;font-size:14px}
.hqval .copyb{margin-left:6px;padding:2px 8px;font-size:11.5px}
.hq.hqempty .hqwords{color:#55687a}
.hshort{background:#fdf6ec;border-radius:8px;padding:7px 10px;margin:4px 0}
.taxbig{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 2px}
.taxbig a{flex:1 1 220px;text-align:center;text-decoration:none;margin:0}
.taxbig a.sec{background:#fff;color:#2E7D9E;border:2px solid #2E7D9E}
@media (max-width:480px){.hq{grid-template-columns:36px minmax(0,1fr)}.hqval{grid-column:2/3;text-align:left}}
@media print{.hq{break-inside:avoid}}
/* QuickBooks figures pop-up (owner, 2 Dec 2026) */
.qbomodal{position:fixed;inset:0;z-index:80;background:rgba(20,32,44,.45);display:flex;align-items:center;justify-content:center;padding:16px}
.qbomodal[hidden]{display:none}
.qbomodalbox{background:#fff;border-radius:14px;width:min(980px,100%);height:min(88vh,1000px);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 8px 30px rgba(0,0,0,.25)}
.qbomodalbar{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;border-bottom:1px solid #e3eaf0;color:#2E7D9E}
.qbomodalbox iframe{flex:1;border:0;width:100%}
body.modalopen{overflow:hidden}
body.inpopup{padding-bottom:12px}
@media (max-width:600px){.qbomodal{padding:0}.qbomodalbox{height:100%;border-radius:0}}
/* "Your HMRC copy" set out like HMRC's paper form SA103S (owner, 2 Dec 2026). No crest or logo. */
.pfbody{background:#f3f4f5}
.pfnote{max-width:1000px;margin:12px auto;background:#fff;border-radius:12px;padding:12px 16px;font-size:13px;line-height:1.5}
.pfpage{max-width:1000px;margin:0 auto 16px;background:#fff;padding:22px 26px 14px;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.08);color:#111;font-family:Arial,Helvetica,sans-serif}
.pfhead{display:flex;justify-content:space-between;align-items:flex-start;border-left:2px solid #111;padding-left:10px;margin-bottom:14px}
.pfwho{font-size:20px;line-height:1.15}
.pfwho span{font-size:14px;color:#444}
.pftitle{text-align:right;font-size:16px}
.pftitle b{font-size:24px}
.pfsec{font-size:17px;font-weight:400;margin:14px 0 4px;color:#111}
.pfsub{font-size:12.5px;margin:0 0 5px;color:#111}
.pfpanel{background:#fdf3e8;border:1px solid #a8d6d1;padding:10px 12px}
.pf2{display:grid;grid-template-columns:1fr 1fr;gap:4px 28px}
.pff{margin:4px 0 10px}
.pflab{display:flex;gap:8px;font-size:12.5px;line-height:1.35;margin-bottom:4px}
.pfnum{flex:0 0 auto;min-width:26px;height:17px;border:1px solid #6ebcb5;background:#fff;font-size:10.5px;font-weight:700;display:inline-flex;align-items:center;justify-content:flex-end;padding:0 4px;box-sizing:border-box}
.pfline{background:#fff;border:1px solid #6ebcb5;height:24px;margin:2px 0 3px;padding:3px 6px;font-size:14px;box-sizing:border-box}
.pfrow{display:flex;align-items:center;gap:0;flex-wrap:wrap}
.pfyn{gap:6px;font-size:12.5px}
.pfsq{display:inline-flex;align-items:center;justify-content:center;width:21px;height:26px;border:1px solid #6ebcb5;border-left-width:0;background:#fff;font-size:15px;font-weight:700;box-sizing:border-box;font-family:"Courier New",monospace}
.pfsq:first-child,.pfspace+.pfsq,.pfpound+.pfsq,.pfdot+.pfsq,.pfyn .pfsq{border-left-width:1px}
.pfspace{display:inline-block;width:10px}
.pfmoney{display:flex;align-items:center}
.pfpound{display:inline-flex;align-items:center;justify-content:center;width:21px;height:26px;border:1px solid #6ebcb5;border-right:0;background:#fff;color:#79b9b3;font-size:13px}
.pfmoney .pfsq.pfgap{margin-left:5px;border-left-width:1px}
.pfdot{margin:0 4px;font-size:14px}
.pfsq.pfp{color:#79b9b3;font-weight:400}
.pfx{border-left-width:1px;width:24px;height:24px}
.pfcopy{margin:3px 0 0}
.pfcopy .copyb{padding:2px 8px;font-size:11.5px}
.pfhint{font-size:12px;color:#7a5a00;background:#fff8e6;border-radius:6px;padding:5px 8px;margin:6px 0}
.pffoot{display:flex;justify-content:space-between;font-family:"Courier New",monospace;font-size:12px;letter-spacing:.08em;margin-top:12px;color:#333}
@media (max-width:700px){.pf2{grid-template-columns:1fr}.pfpage{padding:14px 10px}.pftitle b{font-size:19px}.pfsq,.pfpound{width:19px}}
@media print{.pfbody{background:#fff}.pfpage{box-shadow:none;padding:0}.pfpanel{-webkit-print-color-adjust:exact;print-color-adjust:exact}.pff{break-inside:avoid}}
.viewpick{max-width:1000px;margin:0 auto 10px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:13px;padding:0 4px}
.viewpick a{text-decoration:none}
.viewpick a.on{background:#2E7D9E;color:#fff;border-color:#2E7D9E}
.pfbody .card.hform{max-width:1000px;margin-left:auto;margin-right:auto}
/* Printable "what to gather" list (owner, 2 Dec 2026) */
.prepbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.prepbar .btn{width:auto;margin:0;padding:12px 22px}
.prep .prephead{font-size:20px;margin:0 0 2px}
.prepyear{margin:0 0 10px;font-size:14px}
.prepname{font-size:14px;display:flex;gap:8px;align-items:flex-end}
.prepline{flex:1;border-bottom:1px solid #999;min-height:20px}
.prepsec{font-size:14px;margin:16px 0 4px;color:#2E7D9E;border-bottom:1px solid #dbe5ec;padding-bottom:3px}
.preprow{display:flex;gap:12px;align-items:flex-start;padding:7px 0;border-bottom:1px dotted #e3eaf0}
.preptick{flex:0 0 22px;height:22px;border:2px solid #555;border-radius:4px;display:inline-flex;align-items:center;justify-content:center;font-weight:700;color:#1c7a3e}
.prepwords{font-size:14.5px;line-height:1.4}
.prepwords em{color:#7a8b99;font-size:12.5px}
.prepnotes{height:140px;background:repeating-linear-gradient(#fff 0 27px,#cfd8de 27px 28px)}
.prepfoot{font-size:12px;color:#55687a;margin-top:10px}
@media print{.prep{box-shadow:none;border:0;padding:0}.preprow{break-inside:avoid}.prepnotes{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
/* What's new notices (owner, 2 Dec 2026) */
.whatsnew{border-left:4px solid #2E7D9E}
.wnitem{padding:6px 0;border-top:1px solid #eef1f4}
.wnitem:first-of-type{border-top:0}
.wnkind{display:inline-block;font-size:11px;font-weight:700;border-radius:8px;padding:1px 7px;margin-right:6px;background:#eef4f8;color:#2E7D9E}
.wnkind.wn-fix{background:#eaf6ee;color:#1c7a3e}
