
.tmx{--tx-page:#F4F6FA;--tx-card:#fff;--tx-line:#E8ECF2;--tx-ink:#0F172A;--tx-dim:#64748B;--tx-faint:#94A3B8;--tx-tile:#F1F4F8;--tx-soft:#EEF3FF;--tx-blue:#0F45C4;--tx-off:#CBD5E1;--tx-red:#DC2626;--tx-redbg:#FEF2F2;--tx-redline:#FECACA;--tx-sub:#FAFBFD;--tx-seg:#E6EAF0}
:root[data-theme="dark"] .tmx{--tx-page:#07090D;--tx-card:#161F2B;--tx-line:#243041;--tx-ink:#E7ECF3;--tx-dim:#9AA6B6;--tx-faint:#6B7686;--tx-tile:#1D2735;--tx-soft:#1B2A4A;--tx-blue:#2F63E3;--tx-off:#3A4658;--tx-red:#F87171;--tx-redbg:#2A1416;--tx-redline:#5B2226;--tx-sub:#121A24;--tx-seg:#1D2735}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .tmx{--tx-page:#07090D;--tx-card:#161F2B;--tx-line:#243041;--tx-ink:#E7ECF3;--tx-dim:#9AA6B6;--tx-faint:#6B7686;--tx-tile:#1D2735;--tx-soft:#1B2A4A;--tx-blue:#2F63E3;--tx-off:#3A4658;--tx-red:#F87171;--tx-redbg:#2A1416;--tx-redline:#5B2226;--tx-sub:#121A24;--tx-seg:#1D2735}}

html:not(#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .sbody.tmx{background:var(--tx-page)!important;padding:14px 16px 24px!important;box-shadow:none!important}
.tmx{display:flex;flex-direction:column;gap:12px;color:var(--tx-ink)}
.tmx > *{margin:0!important;flex-shrink:0} 
.tmx :is(.tmx-r,.tmx-f,.tmx-sw-r,.tmx-card,.hrx-name,.tmx-find){box-sizing:border-box}
.tmx [hidden]{display:none!important}
.tmx-lbl{font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;line-height:1.2;color:var(--tx-faint);padding:0 4px;margin:2px 0 -4px!important}
.tmx-note{font-size:11px;font-weight:500;line-height:1.45;text-align:center;color:var(--tx-faint);padding:0 8px}
.tmx-hint{font-size:11px;line-height:1.4;color:var(--tx-faint);padding:0 14px 10px 58px;margin:0;background:var(--tx-sub)}

.tmx-card{display:flex;flex-direction:column;border:1px solid var(--tx-line);border-radius:14px;background:var(--tx-card);overflow:hidden}
.tmx-pad{padding:12px}
.tmx-r{--tx-in:58px;position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:54px;margin:0;padding:10px 12px 10px 14px;border:0;border-radius:0;background:none;color:var(--tx-ink);font:inherit;text-align:start;cursor:pointer;box-shadow:none}
.tmx-r.tmx-static{cursor:default}
.tmx-r:active:not(.tmx-static){background-color:var(--tx-tile)}
.tmx-f,.tmx-sw-r{--tx-in:14px}
.tmx-sw-r{--tx-in:58px}
.tmx-card :is(.tmx-r,.tmx-f,.tmx-sw-r){background-image:linear-gradient(var(--tx-line),var(--tx-line));background-repeat:no-repeat;background-size:calc(100% - var(--tx-in)) 1px;background-position:100% 0}
[dir="rtl"] .tmx-card :is(.tmx-r,.tmx-f,.tmx-sw-r){background-position:0 0}
.tmx-card > :is(.tmx-r,.tmx-f,.tmx-sw-r):first-child,.tmx-card > details:first-child > summary,.tmx-list > .tmx-r:not([hidden]):first-of-type{background-image:none}
.tmx-tx{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}
.tmx-tx b{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;letter-spacing:-.005em;line-height:1.3;color:var(--tx-ink);overflow:hidden;text-overflow:ellipsis}
.tmx-tx small{font-size:11.5px;font-weight:500;line-height:1.35;color:var(--tx-dim);overflow:hidden;text-overflow:ellipsis}
.tmx-list .tmx-tx small{white-space:nowrap}
.tmx-chip{flex:none;font-style:normal;font-size:9.5px;font-weight:700;line-height:1.3;padding:2px 6px;border-radius:5px;background:var(--tx-tile);color:var(--tx-dim)}
.tmx-ch{width:16px;height:16px;flex:none;fill:none;stroke:var(--tx-faint);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}
[dir="rtl"] .tmx-ch{transform:scaleX(-1)}
.tmx-ic{width:32px;height:32px;flex:none;border-radius:9px;display:grid;place-items:center;background:var(--tx-tile)}
.tmx-ic svg{width:16px;height:16px;fill:none;stroke:var(--tx-dim);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tmx-ic.b{background:var(--tx-soft)}
.tmx-ic.b svg{stroke:var(--tx-blue)}

.tmx-av{flex:none;display:grid;place-items:center;border-radius:50%;object-fit:cover;font-weight:700;color:var(--a,#0F45C4);background:color-mix(in srgb,var(--a,#0F45C4) 14%,var(--tx-card))}
.tmx-who{display:flex;align-items:center;gap:12px;padding:2px 2px 0}
.tmx-who .tmx-tx b{font-size:17px;font-weight:700}
.tmx-who .tmx-tx small{font-size:12px}

.tmx-seg{display:flex;gap:2px;padding:3px;border-radius:10px;background:var(--tx-seg)}
.tmx-seg button{flex:1;height:30px;border:0;border-radius:8px;background:none;color:var(--tx-dim);font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}
.tmx-seg button[aria-selected="true"]{background:var(--tx-card);color:var(--tx-ink);font-weight:700;box-shadow:0 1px 3px rgba(0,0,10,.08)}
.tmx-find{display:flex;align-items:center;gap:8px;height:38px;padding:0 12px;border:1px solid var(--tx-line);border-radius:10px;background:var(--tx-card)}
.tmx-find svg{width:15px;height:15px;flex:none;fill:none;stroke:var(--tx-faint);stroke-width:2;stroke-linecap:round}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx-find input{flex:1;min-width:0;height:36px;margin:0;padding:0;border:0!important;background:transparent!important;box-shadow:none!important;outline:0;color:var(--tx-ink);font:inherit;font-size:13px}
.tmx-addbtn{display:none}

.tmx-tog,html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx .tmx-sw{appearance:none;-webkit-appearance:none;position:relative;flex:none;width:34px;height:20px;min-height:0;margin:0;padding:0;border:0;border-radius:10px;background:var(--tx-off);cursor:pointer;transition:background .15s}
.tmx-tog i,html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx .tmx-sw::after{content:"";position:absolute;top:2px;inset-inline-start:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:inset-inline-start .15s}
.tmx-tog[aria-checked="true"],html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx .tmx-sw:checked{background:var(--tx-blue)}
.tmx-tog[aria-checked="true"] i,html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx .tmx-sw:checked::after{inset-inline-start:16px}
:is(.tmx-tog,.tmx-sw):focus-visible{outline:2px solid var(--tx-blue);outline-offset:2px}
.tmx-sw-r{position:relative;display:flex;align-items:center;gap:8px;min-height:46px;padding:8px 12px 8px 44px;background-color:var(--tx-sub)}
.tmx-sw-r .tmx-l{flex:1;min-width:0;font-size:13px;font-weight:500;line-height:1.35;color:var(--tx-ink)}
.tmx-dot{width:6px;height:6px;flex:none;border-radius:50%;background:transparent}
.tmx-sw-r.ch .tmx-dot{background:var(--tx-blue)}

.tmx-g > summary{list-style:none}
.tmx-g > summary::-webkit-details-marker{display:none}
.tmx-g[open] > summary .tmx-ch{transform:rotate(90deg)}
.tmx-add{flex:none;font-style:normal;font-size:12px;font-weight:700;color:var(--tx-blue)}
.tmx-g[open] > summary .tmx-add{color:var(--tx-blue)}

.tmx-f{position:relative;display:flex;align-items:center;gap:10px;min-height:46px;margin:0;padding:4px 12px 4px 14px;cursor:text}
.tmx-f.tmx-sub{background-color:var(--tx-sub);padding-inline-start:58px;--tx-in:58px}
.tmx-f > span:not(.pwwrap){flex:none;max-width:48%;font-size:13px;font-weight:500;line-height:1.3;color:var(--tx-dim)}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx .tmx-f :is(input,select){flex:1;min-width:0;width:auto;height:38px;min-height:0;margin:0;padding:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;color:var(--tx-ink)!important;font:inherit;font-size:13.5px!important;font-weight:600!important;text-align:end}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx .tmx-f select{appearance:none;-webkit-appearance:none;text-align-last:end;padding-inline-end:18px;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") no-repeat right center/14px!important;cursor:pointer}
html[dir="rtl"]:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx .tmx-f select{background-position:left center!important}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx .tmx-f :is(input,select):disabled,html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx .tmx-f input[readonly]{color:var(--tx-dim)!important;-webkit-text-fill-color:var(--tx-dim)}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx .tmx-f input::placeholder{color:var(--tx-faint);font-weight:500}

.tmx-f > .pwwrap{flex:1;min-width:0;display:block}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx .tmx-f .pwwrap > input{width:100%;padding-inline-end:36px!important}
.tmx-f .pweye{inset-inline-end:-6px;width:32px;height:32px}

.tmx-mini{flex:none;height:30px;padding:0 10px;border:1px solid var(--tx-line);border-radius:8px;background:var(--tx-card);color:var(--tx-ink);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.tmx-mini.b{border-color:transparent;background:var(--tx-soft);color:var(--tx-blue)}
.tmx-del{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:44px;border:1px solid var(--tx-redline);border-radius:12px;background:var(--tx-redbg);color:var(--tx-red);font:inherit;font-size:13.5px;font-weight:700;cursor:pointer}
.tmx-del svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .sfoot.tmx-foot{display:flex;align-items:center;gap:10px;padding:10px 16px calc(14px + env(safe-area-inset-bottom,0px))!important;border-top:1px solid #E8ECF2!important;background:#fff!important;box-shadow:none!important}

html[data-theme="dark"]:not(#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .sfoot.tmx-foot{border-top-color:#243041!important;background:#161F2B!important}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]):not(#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .sfoot.tmx-foot{border-top-color:#243041!important;background:#161F2B!important}}
.tmx-save,.tmx-cancel{flex:1;height:46px;border:0;border-radius:12px;font:inherit;font-size:14.5px;font-weight:700;cursor:pointer}
.tmx-save{background:#0F45C4;color:#fff}
.tmx-save:disabled{opacity:.6;cursor:default}
.tmx-cancel{flex:0 0 auto;padding:0 18px;background:#F1F4F8;color:#0F172A}
:root[data-theme="dark"] .tmx-cancel{background:#1D2735;color:#E7ECF3}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .tmx-cancel{background:#1D2735;color:#E7ECF3}}
.tmx-foot .btn.bad{flex:0 0 auto;height:46px;border-radius:12px}

.hrx-top{display:flex;align-items:center;gap:12px}
.hrx-ph{position:relative;flex:none;width:52px;height:52px;display:grid;place-items:center;border:1.2px dashed var(--tx-off);border-radius:50%;background:var(--tx-card);overflow:hidden;cursor:pointer}
.hrx-ph svg{width:20px;height:20px;fill:none;stroke:var(--tx-dim);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hrx-ph #hr-pv{display:grid;place-items:center}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .hrx-ph input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.hrx-name{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px;padding:7px 12px 6px;border:1.2px solid var(--tx-line);border-radius:12px;background:var(--tx-card);cursor:text}
.hrx-name:focus-within{border-color:var(--tx-blue)}
.hrx-name > span{font-size:10.5px;font-weight:600;color:var(--tx-dim)}
.hrx-name:focus-within > span{color:var(--tx-blue)}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .hrx-name input{height:24px;min-height:0;margin:0;padding:0;border:0!important;background:transparent!important;box-shadow:none!important;outline:0;color:var(--tx-ink);font:inherit;font-size:14.5px;font-weight:600}
.hrx-in{padding:4px 14px 14px;background:var(--tx-sub)}
.hrx-in .fgrid{gap:10px}
.hrx-in .prh{margin:14px 0 8px}
.hrx-in .hrleft{margin-top:10px}

body[data-mod="hr"] .tmx{--tx-blue:#15803D;--tx-soft:#E8F6EE}
:root[data-theme="dark"] body[data-mod="hr"] .tmx{--tx-blue:#22A55B;--tx-soft:#15301F}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) body[data-mod="hr"] .tmx{--tx-blue:#22A55B;--tx-soft:#15301F}}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9) body[data-mod="hr"] #sheet .tmx-save{background:#15803D}

.hrx-in .f > label{font-size:11.5px;font-weight:600;color:var(--tx-dim)}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .hrx-in .f :is(input,select){height:40px!important;min-height:0!important;padding:0 10px!important;border:1px solid var(--tx-line)!important;border-radius:10px!important;background:var(--tx-card)!important;box-shadow:none!important;color:var(--tx-ink)!important;font-size:13.5px!important}


@media (max-width:720px){
  html:not(#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet.open:has(> .sbody.tmx){height:94%}
  html:not(#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet.open > .sbody.tmx{flex:1 1 auto}
}

.plx-plan .tmx-r{min-height:64px;padding-top:12px;padding-bottom:12px}
.plx-plan .tmx-ic{width:38px;height:38px;border-radius:11px}
.plx-plan .tmx-ic svg{width:19px;height:19px}
.plx-plan .tmx-tx{gap:2px}
.plx-plan .tmx-tx b{font-size:15.5px;font-weight:700;letter-spacing:-.01em}
.plx-plan .tmx-tx small{font-size:12px;line-height:1.4}
.plx-plan.over{border-color:var(--tx-redline);background:var(--tx-redbg)}
.plx-plan.over .tmx-ic{background:var(--tx-card)}
.plx-plan.over .tmx-ic svg{stroke:var(--tx-red)}
.plx-plan.over .tmx-tx b{color:var(--tx-red)}

.plx-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;border:1px solid var(--tx-line);border-radius:14px;background:var(--tx-line);overflow:hidden}
.plx-stats.plx-n1{grid-template-columns:minmax(0,1fr)}
.plx-stats.plx-n2{grid-template-columns:repeat(2,minmax(0,1fr))}
.plx-s{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;padding:13px 6px 12px;background:var(--tx-card);text-align:center}
.plx-n3 > .plx-s:last-child:nth-child(3n+1){grid-column:1/-1}
.plx-n3 > .plx-s:last-child:nth-child(3n+2){grid-column:span 2}
.plx-s b{font-size:20px;font-weight:700;line-height:1.15;letter-spacing:-.015em;color:var(--tx-ink)}
.plx-s span{font-size:11.5px;font-weight:600;line-height:1.3;color:var(--tx-dim);overflow-wrap:anywhere}
.plx-s small{font-size:10.5px;font-weight:500;line-height:1.3;color:var(--tx-faint)}
.plx-s.hi b{color:var(--tx-red)}

.plx-ai{display:flex;flex-direction:column;gap:9px;padding:13px 14px 14px}
.plx-ai-t{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:13px;font-weight:500;line-height:1.3;color:var(--tx-dim)}
.plx-ai-t b{flex:none;font-size:13.5px;font-weight:700;color:var(--tx-ink);white-space:nowrap}
.plx-bar{height:6px;border-radius:99px;background:var(--tx-tile);overflow:hidden}
.plx-bar i{display:block;height:100%;min-width:0;border-radius:99px;background:var(--tx-blue)}
.plx-bar i.hi{background:var(--tx-red)}
.plx-plans{display:block;min-width:0}

html:not(#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx .tmx-note{font-size:12px!important;font-weight:500!important;line-height:1.45!important}
.plx .tmx-note{text-align:start;padding:0 4px}

html:not(#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .sfoot.tmx-foot .tmx-ask{flex:1;grid-column:1/-1;width:100%;box-sizing:border-box;min-width:0;display:flex;align-items:center;justify-content:center;gap:8px;height:46px;margin:0;padding:0 14px;border:0;border-radius:12px;background:#EEF3FF;color:#0F45C4;font:inherit;font-size:14.5px;font-weight:700;line-height:1;text-decoration:none;white-space:nowrap;box-shadow:none}
.tmx-ask svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tmx-ask span{min-width:0;overflow:hidden;text-overflow:ellipsis}
:root[data-theme="dark"] body #sheet .sfoot.tmx-foot .tmx-ask{background:#1B2A4A!important;color:#9DB8FF!important}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) body #sheet .sfoot.tmx-foot .tmx-ask{background:#1B2A4A!important;color:#9DB8FF!important}}

.tmx-empty{align-items:center;gap:5px;padding:28px 20px 24px;text-align:center}
.tmx-empty .tmx-ic{width:46px;height:46px;border-radius:14px;margin-bottom:7px}
.tmx-empty .tmx-ic svg{width:21px;height:21px}
.tmx-empty b{font-size:15px;font-weight:700;line-height:1.3;color:var(--tx-ink)}
.tmx-empty small{max-width:30ch;font-size:12.5px;font-weight:500;line-height:1.45;color:var(--tx-dim)}
.tmx-empty .tmx-mini{height:40px;margin-top:12px;padding:0 18px;border-radius:11px;font-size:13.5px}

.tmx-pills{display:flex;gap:6px;margin:0 -16px!important;padding:0 16px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.tmx-pills::-webkit-scrollbar{display:none}
.tmx-pill{flex:none;display:inline-flex;align-items:center;gap:6px;height:32px;margin:0;padding:0 12px;border:1px solid var(--tx-line);border-radius:16px;background:var(--tx-card);color:var(--tx-ink);font:inherit;font-size:12.5px;font-weight:600;line-height:1;white-space:nowrap;cursor:pointer;box-shadow:none}
.tmx-pill i{font-style:normal;font-weight:700;color:var(--tx-faint)}
.tmx-pill[aria-pressed="true"]{border-color:var(--tx-blue);background:var(--tx-blue);color:#fff}
.tmx-pill[aria-pressed="true"] i{color:rgba(255,255,255,.82)}
.tmx-pick{--tx-in:48px;cursor:pointer}
.tmx-list .tmx-pick .tmx-tx small{white-space:normal}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx .tmx-ck{appearance:none;-webkit-appearance:none;flex:none;width:22px;height:22px;min-height:0;margin:0;padding:0;border:1.6px solid var(--tx-off)!important;border-radius:50%!important;background:var(--tx-card)!important;box-shadow:none!important;outline:0;cursor:pointer}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx .tmx-ck:checked{border-color:var(--tx-blue)!important;background:var(--tx-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/14px 14px no-repeat!important}
.tmx-ck:focus-visible{outline:2px solid var(--tx-blue);outline-offset:2px}


html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .hrx-in .f :is(input,select){box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important}
.hrx-in .fgrid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end}
.hrx-in .fgrid > .f{min-width:0}
.hrx-in .hrleft{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:10px;row-gap:2px;align-items:center}
.hrx-in .hrleft > input{grid-row:1/span 2;margin:0}
.hrx-in .hrleft > small{grid-column:2;font-size:12.5px;line-height:1.35;color:var(--tx-dim)}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx .tmx-f input[type=date]{text-align:end}
html body #sheet .tmx .tmx-f input[type=date]::-webkit-date-and-time-value{text-align:end}

.hrx-in .fgrid > .f:has(#hr-iban){grid-column:1/-1}


.hrz,.hrz-foot{--hz:#1437FF;--hz-save:#1437FF}
.hrz-projects{--hz:#111113;--hz-save:#111113}
.hrz-hr{--hz:#111113;--hz-save:#059660}
.hrz{--tx-page:#fff;--tx-card:#F6F7F9;--tx-sub:#F6F7F9;--tx-tile:#ECEEF2;--tx-off:#E2E6EC;--tx-blue:var(--hz);--tx-soft:#ECEEF2}
:root[data-theme="dark"] .hrz{--tx-page:#0B0F15;--tx-card:#161F2B;--tx-sub:#161F2B;--tx-tile:#1D2735;--tx-off:#3A4658;--tx-soft:#1D2735}
:root[data-theme="dark"] :is(.hrz,.hrz-foot){--hz:#5B78FF;--hz-save:#2F55FF}
:root[data-theme="dark"] :is(.hrz-projects,.hrz-hr){--hz:#94A3B8;--hz-save:#E7ECF3}
:root[data-theme="dark"] .hrz-hr{--hz-save:#059660}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .hrz{--tx-page:#0B0F15;--tx-card:#161F2B;--tx-sub:#161F2B;--tx-tile:#1D2735;--tx-off:#3A4658;--tx-soft:#1D2735}:root:not([data-theme="light"]) :is(.hrz,.hrz-foot){--hz:#5B78FF;--hz-save:#2F55FF}:root:not([data-theme="light"]) :is(.hrz-projects,.hrz-hr){--hz:#94A3B8;--hz-save:#E7ECF3}:root:not([data-theme="light"]) .hrz-hr{--hz-save:#059660}}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .sbody.hrz{padding:10px 18px 24px!important}
.hrz{gap:10px}
.hrz .tmx-card{border:0;border-radius:18px}
.hrz .tmx-ic{display:none}
.hrz :is(.tmx-r,.tmx-f){--tx-in:16px;min-height:50px;padding-inline:16px}
.hrz .tmx-f > span:not(.pwwrap){font-size:14.5px}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .hrz .tmx-f :is(input,select){font-size:14.5px}
.hrz .tmx-tx b{font-size:14.5px}
.hrz .tmx-lbl{margin-top:8px!important}
.hrz .tmx-add{font-size:14px;font-weight:600}
.hrz .hrx-in{padding:4px 16px 16px}
.hrz .hrx-top{gap:16px;padding:6px 2px 10px}
.hrz .hrx-ph{width:68px;height:68px;border:0;background:var(--tx-card);overflow:visible}
.hrz .hrx-ph svg{width:26px;height:26px;stroke:var(--tx-faint);stroke-width:1.8}
.hrz .hrx-ph #hr-pv{width:68px;height:68px;border-radius:50%;overflow:hidden}
.hrz .hrx-ph #hr-pv > :is(img,.tmx-av,span,div){width:68px!important;height:68px!important}
.hrz .hrx-ph::after{content:"+";position:absolute;inset-inline-end:-2px;bottom:-2px;width:24px;height:24px;box-sizing:border-box;display:grid;place-items:center;border:2px solid var(--tx-page);border-radius:50%;background:var(--hz);color:#fff;font-size:16px;font-weight:700;line-height:1;pointer-events:none}
:root[data-theme="dark"] .hrz .hrx-ph::after{color:#0B0F15}
.hrz .hrx-name{padding:0;border:0;border-radius:0;background:none;gap:0}
.hrz .hrx-name > span{font-size:12px;font-weight:500;color:var(--tx-dim);order:2}
.hrz .hrx-name:focus-within > span{color:var(--tx-dim)}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .hrz .hrx-name input{height:32px;font-size:24px;font-weight:800;letter-spacing:-.01em}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .hrz .hrx-name input::placeholder{color:var(--tx-off);font-weight:800}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx.hrz .tmx-sw{width:44px;height:26px;border-radius:13px}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx.hrz .tmx-sw::after{width:22px;height:22px}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx.hrz .tmx-sw:checked::after{inset-inline-start:20px}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .sfoot.tmx-foot.hrz-foot{border-top:0!important;padding:6px 18px calc(18px + env(safe-area-inset-bottom,0px))!important}
.hrz-foot .tmx-save{height:54px;border-radius:18px;background:var(--hz-save);font-size:15.5px}
:root[data-theme="dark"] :is(.hrz-projects).hrz-foot .tmx-save{color:#0B0F15}
.hrz-foot .btn.bad{height:54px;border-radius:18px}
:root:root body[data-mod] .tmx.hrz{--tx-blue:var(--hz);--tx-soft:var(--tx-tile)}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9) body[data-mod] #sheet .hrz-foot .tmx-save{background:var(--hz-save)}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .hrz-foot .tmx-save.sv-ok{background:#15803D!important}

html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx.hrz .tmx-f :is(input,select){background-color:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-size:14.5px!important}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx.hrz .tmx-f input{padding:0!important}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx.hrz :is(.tmx-r,.tmx-f){padding-inline:16px!important}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .tmx.hrz .hrx-name input{height:32px!important;padding:0!important;font-size:24px!important;font-weight:800!important;letter-spacing:-.01em;background:transparent!important;border:0!important}
html:not(#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9#k9) body #sheet .sbody.tmx.hrz{background:var(--tx-page)!important}
#sheet[data-mode="hredit"] .shead{border-bottom:0!important;box-shadow:none!important}
