/* 1.18: Receipts & warranties, Home contents, Last days to give notice, the guide, the Inbox rules, the tax pack,
   the restore test. Colours come from the tokens of look.css, so the looks and dark mode apply. */
.pu-bar-top{display:flex;flex-direction:column;gap:12px;margin-bottom:14px}
.pu-bar-top .search{max-width:420px}
.pu-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px}
.pu-card{display:flex;flex-direction:column;gap:10px;padding:16px 18px;border-radius:22px;background:var(--surface);border:1px solid var(--line);cursor:pointer;min-width:0}
.pu-card:hover,.pu-card:focus-visible{box-shadow:0 10px 26px rgba(30,35,45,.10)}
.pu-card.history,.pu-card.ended{opacity:.78}
.pu-top{display:flex;gap:12px;align-items:flex-start}
.pu-top .grow{min-width:0}
.pu-top h3{margin:0;font-size:1rem;font-weight:600;overflow-wrap:anywhere}
.pu-chip{margin-top:6px}
.pu-rc{width:44px;height:56px;border-radius:8px;flex:none;border:1px solid var(--line);background:repeating-linear-gradient(180deg,var(--surface) 0 6px,var(--surface-2) 6px 7px)}
.pu-rc.has{border-color:var(--accent)}
.pu-rc.img{overflow:hidden;background:none}.pu-rc.img img{width:100%;height:100%;object-fit:cover;display:block}
.pu-ln{display:flex;justify-content:space-between;gap:8px;font-size:.86rem}
.pu-bar{display:block;height:7px;border-radius:9px;background:var(--surface-2);overflow:hidden}
.pu-bar i{display:block;height:100%;border-radius:9px;background:var(--ok,#2F8F5B)}
.pu-bar i.soon{background:var(--warn,#E59A2F)}.pu-bar i.gone{background:var(--faint)}
.pu-acts{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.pu-acts .spacer{flex:1}
.pu-acts .pill svg.i{width:12px;height:12px;margin-right:3px;vertical-align:-1px}
.pu-rcv img{max-width:100%;max-height:260px;border-radius:12px;display:block}
.drop.small{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:10px 12px;border:2px dashed var(--line);border-radius:14px;cursor:pointer;font-size:.9rem;color:var(--muted)}
.drop.small>span{flex:1;min-width:180px}.drop.small input[type=file]{max-width:100%;font-size:.8rem}
.hc-ins{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:14px 18px;border-radius:20px;background:var(--surface);border:1px solid var(--line);margin-bottom:12px}
.hc-ins>svg.i{width:22px;height:22px;color:var(--accent)}
.hc-ins>b{font-size:1.15rem}
.hc-bar{flex:1;min-width:160px;height:10px;border-radius:9px;background:var(--surface-2);overflow:hidden}
.hc-bar i{display:block;height:100%;border-radius:9px;background:var(--accent)}
.hc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;margin:12px 0}
.hc-item{display:flex;gap:12px;padding:12px;border-radius:18px;background:var(--surface);border:1px solid var(--line);cursor:pointer;min-width:0}
.hc-item .grow{min-width:0}
.hc-item b{display:block;overflow-wrap:anywhere}
.hc-item small{display:block;color:var(--muted);font-size:.8rem}
.hc-pic{width:56px;height:56px;border-radius:14px;flex:none;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#fff;background:var(--accent)}
.hc-pic img{width:100%;height:100%;object-fit:cover}
.hc-pic svg.i{width:24px;height:24px}
.hc-v{margin-top:3px;font-weight:600}
.nt-list{display:flex;flex-direction:column;gap:8px;margin:12px 0}
.nt-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 14px;border-radius:18px;background:var(--surface);border:1px solid var(--line)}
.nt-row .grow{display:flex;flex-direction:column;gap:2px;min-width:0}
.nt-row .grow b a{color:inherit}
.nt-row .grow small{font-size:.84rem}
.nt-when{display:flex;flex-direction:column;align-items:center;justify-content:center;height:56px;border-radius:14px;background:var(--warn-soft,#FCEBD6);color:var(--warn,#8A4B00)}
.nt-when b{font-size:1.3rem;line-height:1}.nt-when small{font-size:.66rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.nt-when.red{background:var(--bad-soft,#FBE1DE);color:var(--bad,#A3271C)}
.nt-when.ok{background:var(--ok-soft,#E3F2E8);color:var(--ok,#1F6B43)}
.nt-when.grey{background:var(--surface-2);color:var(--muted)}
.nt-acts{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
@media (max-width:640px){.nt-row{grid-template-columns:52px minmax(0,1fr)}.nt-acts{grid-column:1/-1;justify-content:flex-start}}
.gd-wrap{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}
.gd-paper{background:#fff;color:#22252A;border-radius:8px;box-shadow:0 18px 50px rgba(30,35,45,.12);padding:32px 38px;display:flex;flex-direction:column;gap:10px;font-size:.92rem}
.gd-paper h2{margin:0;font-size:1.5rem}
.gd-paper h4{margin:10px 0 2px;font-size:.74rem;letter-spacing:.09em;text-transform:uppercase;color:#8A4B00}
.gd-paper p{margin:0}
.gd-h{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px}
.gd-g{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 26px}
.gd-it{display:flex;justify-content:space-between;gap:10px;border-bottom:1px dotted #D8DADF;padding:4px 0}
.gd-it span:last-child{color:#5B6068;text-align:right}
.gd-kp{font:.82rem ui-monospace,Menlo,monospace;background:#F4F5F7;border-radius:5px;padding:0 5px;color:#22252A}
.gd-side{display:flex;flex-direction:column;gap:10px;padding:18px}
.gd-side h3{margin:0}
@media (max-width:900px){.gd-wrap{grid-template-columns:minmax(0,1fr)}.gd-g{grid-template-columns:minmax(0,1fr)}.gd-paper{padding:20px}}
@media print{.rail,.topbar,.head .actions,.gd-side,.crumbs,.pu-acts{display:none!important}.gd-paper{box-shadow:none;padding:0}.gd-wrap{display:block}}
.ibx-rule{color:var(--ok,#1F6B43)}
.ibx-rule svg.i{width:13px;height:13px;vertical-align:-2px}
.ibx-rules{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px}
.ibx-rl{display:flex;flex-direction:column;gap:3px;text-align:left;padding:10px 12px;border-radius:14px;border:1px solid var(--line);background:var(--surface-2);color:inherit;font:inherit;font-size:.86rem;cursor:pointer}
.ibx-rl code{font:.8rem ui-monospace,Menlo,monospace;background:var(--surface);border-radius:5px;padding:0 4px}
.input.inl{display:inline-block;width:160px;height:30px;padding:2px 8px;margin-left:4px}
.txp-h{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.txp-h h2{margin:0}
.txp-k{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}
.txp-k>div{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-radius:16px;background:var(--surface-2)}
.txp-k b{font-size:1.2rem}
.txp-k small{font-size:.78rem;color:var(--muted)}
@media (max-width:700px){.txp-k{grid-template-columns:repeat(2,minmax(0,1fr))}}
.bk-test{display:flex;align-items:center;gap:14px;padding:14px 18px;border-radius:18px;background:var(--surface-2);margin:10px 0}
.bk-test.ok{background:var(--ok-soft,#E3F2E8)}.bk-test.bad{background:var(--bad-soft,#FBE1DE)}
.bk-test b{display:block;font-size:1.05rem}.bk-test small{font-size:.85rem;color:var(--muted)}
.bk-big{width:44px;height:44px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;color:#fff;background:var(--ok,#2F8F5B)}
.bk-test.bad .bk-big{background:var(--bad,#B3261E)}
.bk-big svg.i{width:24px;height:24px}
.bk-checks{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}
.bk-c{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:12px;background:var(--surface);border:1px solid var(--line);font-size:.9rem}
.bk-c .grow{flex:1}
.bk-ok{width:20px;height:20px;border-radius:50%;background:var(--ok,#2F8F5B);color:#fff;display:flex;align-items:center;justify-content:center;flex:none}
.bk-ok.bad{background:var(--bad,#B3261E)}.bk-ok svg.i{width:12px;height:12px}
/* 1.28: the Slovak return in five steps (tax.js taxSkSteps) */
.txsk-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:10px 0}
.txsk-s{display:flex;gap:8px;align-items:center;padding:10px 12px;border-radius:14px;background:var(--surface-2);border:2px solid transparent;min-width:0}
.txsk-s b{font-size:.9rem}.txsk-s.now{border-color:var(--text)}.txsk-s.later{opacity:.6}
.txsk-s .n,.txsk-c h3 .n,.txsk-li .n{width:26px;height:26px;flex:none;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:.8rem;background:var(--surface-3,#e6e8eb)}
.txsk-s.done .n,.txsk-c.done h3 .n,.txsk-li .n.ok{background:#2F7D52;color:#fff}.txsk-s.now .n{background:#161616;color:#fff}.txsk-s.now{border-color:#161616}
.txsk-s .n .ic,.txsk-c h3 .n .ic,.txsk-li .n .ic{width:14px;height:14px}
.txsk-ppl{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:8px;margin:6px 0 12px}
.txsk-p{display:flex;flex-direction:column;gap:2px;padding:10px 14px;border-radius:14px;background:var(--surface-2)}
.txsk-p small{color:var(--muted)}
.txsk-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px;align-items:start}
.txsk-cols>div{display:flex;flex-direction:column;gap:10px}
.txsk-c{padding:12px 14px;border-radius:16px;background:var(--surface-2);display:flex;flex-direction:column;gap:6px}
.txsk-c h3{display:flex;gap:8px;align-items:center;margin:0;font-size:1rem}
.txsk-pc h4{margin:6px 0 2px}
.txsk-li{display:flex;gap:10px;align-items:center;padding:6px 0;border-top:1px solid var(--line);flex-wrap:wrap}
.txsk-li small{display:block;color:var(--muted)}
.txsk-li>.grow{flex:1 1 0;min-width:180px}
.txsk-f{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr) minmax(0,1.5fr) auto;gap:8px;align-items:end}
@media (max-width:700px){.txsk-f{grid-template-columns:1fr 1fr}}
.txsk-o{flex-wrap:wrap;gap:8px}.txsk-o .txsk-sh{width:80px}.txsk-o .txsk-from{width:150px}
@media (max-width:700px){.txsk-steps{grid-template-columns:repeat(5,minmax(0,1fr))}.txsk-s b{display:none}.txsk-s{justify-content:center}}
/* 1.29: the children (kids.js) */
.kd-year{padding:10px 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px}
.kd-year.now{border-top:0}
.kd-yh{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}.kd-yh b{font-size:1.02rem}.kd-yh small{color:var(--muted);flex:1;min-width:160px}
.kd-dates{display:flex;flex-direction:column}
.kd-date{display:grid;grid-template-columns:70px 1fr;gap:10px;text-align:left;padding:8px 0;border:0;border-top:1px solid var(--line);background:none;color:inherit;font:inherit;cursor:pointer}
.kd-date .d{font-weight:750;color:var(--accent,#2B4F8A)}.kd-date small{display:block;color:var(--muted)}
.kd-files{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.kd-chips{display:flex;gap:6px;flex-wrap:wrap;margin:4px 0 8px}
.kd-tl{display:flex;flex-direction:column;gap:8px;border-left:2px solid var(--line);padding-left:12px;margin-left:4px}
.kd-m{display:flex;gap:10px;align-items:flex-start;padding:8px 10px;border-radius:12px;background:var(--surface-2)}
.kd-m small{display:block;color:var(--muted)}.kd-m .grow{flex:1;min-width:0}
.kd-age{font-size:.75rem;font-weight:800;color:#7A5A12;background:#F6E7B4;border-radius:6px;padding:2px 7px;white-space:nowrap;margin-top:2px}
.kd-pics{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.kd-pic{width:84px;height:64px;object-fit:cover;border-radius:10px;display:block}
.kd-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin:4px 0}
.kd-facts>div{background:var(--surface-2);border-radius:12px;padding:8px 12px;display:flex;flex-direction:column;gap:2px}
.kd-facts small{color:var(--muted)}
.kd-next{display:flex;gap:8px;align-items:center;padding:7px 0;border-top:1px solid var(--line);flex-wrap:wrap}
.kd-next small{display:block;color:var(--muted)}.kd-next .grow{flex:1 1 220px;min-width:0}
.kd-plan summary{cursor:pointer;margin:8px 0;font-weight:600}
.kd-grid{display:grid;grid-template-columns:minmax(120px,1.4fr) repeat(7,minmax(64px,1fr));font-size:.8rem;overflow-x:auto}
.kd-grid>span{padding:6px 4px;border-top:1px solid var(--line);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-align:center}
.kd-grid .h{font-size:.7rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-weight:700;border-top:0}
.kd-grid .n{align-items:flex-start;text-align:left;font-weight:600}
.kd-c{border-radius:6px;padding:2px 6px;font-weight:700;white-space:nowrap}
.kd-c.done{background:#DDEFE3;color:#1F6B3B}.kd-c.planned,.kd-c.later{background:#E8EEFB;color:#2B4F8A}.kd-c.due,.kd-c.check{background:#F6E7B4;color:#7A5A12}
.kd-kids{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:12px}
.kd-kidh{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:6px}.kd-kidh .grow{flex:1}
@media (max-width:700px){.kd-grid{grid-template-columns:110px repeat(7,70px)}}
.src-school{--ev:#8A5A12;--ev-s:#FBF1D9;--ev-t:#6B4510}
:root[data-theme="dark"] .src-school{--ev-s:#3A2E14;--ev-t:#F0D79B}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .src-school{--ev-s:#3A2E14;--ev-t:#F0D79B}}
/* 1.30.1: more kinds of dates in the calendar; what lasts several days is a band over its days */
.src-holidays{--ev:#2E8B57;--ev-s:#DDF2E5;--ev-t:#1D5E3A}
.src-health{--ev:#C0466B;--ev-s:#FBE3EA;--ev-t:#8A2847}
.src-notices{--ev:#B4531A;--ev-s:#FCE6D6;--ev-t:#7F3A10}
.src-purchases{--ev:#5B6B7F;--ev-s:#E6EAF0;--ev-t:#3B4757}
:root[data-theme="dark"] .src-holidays{--ev-s:#173827;--ev-t:#9FDDB8}:root[data-theme="dark"] .src-health{--ev-s:#3D1C27;--ev-t:#F2AFC2}
:root[data-theme="dark"] .src-notices{--ev-s:#3D2414;--ev-t:#F4BE97}:root[data-theme="dark"] .src-purchases{--ev-s:#232A33;--ev-t:#C5CEDA}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .src-holidays{--ev-s:#173827;--ev-t:#9FDDB8}:root:not([data-theme="light"]) .src-health{--ev-s:#3D1C27;--ev-t:#F2AFC2}
  :root:not([data-theme="light"]) .src-notices{--ev-s:#3D2414;--ev-t:#F4BE97}:root:not([data-theme="light"]) .src-purchases{--ev-s:#232A33;--ev-t:#C5CEDA}}
#view .cal-grid2 .day .ev.span{border-radius:3px;margin-left:-6px;margin-right:-6px;padding-left:12px}
#view .cal-grid2 .day .ev.span[data-n]{position:relative;z-index:1;margin-right:0;max-width:none}
#view .cal-grid2 .day .ev.cont{opacity:.85}
.cal-grp{font-size:.72rem;color:var(--muted);margin:10px 4px 2px}
.cal-lblrow{display:flex;justify-content:space-between;align-items:center}.cal-lblrow span{font-weight:500;letter-spacing:0}
.cal-lblrow .linkbtn{font-size:.72rem}
@media (max-width:820px){.cal-grp{flex-basis:100%;margin:4px 2px 0}}
