
/* v3.100.1 — итоги в отчёте; автозадачи */
.tkx-daily .tkx-dgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;padding:12px 20px 16px}
.tkx-dgrid>div{background:var(--surface-2);border-radius:10px;padding:9px 12px;display:flex;flex-direction:column;gap:2px}
.tkx-dgrid b{font-size:13px} .tkx-dgrid span{font-size:13px;color:var(--ink-soft)} .tkx-dgrid em{font-style:normal;color:var(--bad)}
.tkx-daily>.chat-hint{padding:12px 20px 16px}
.tkx-auto p.chat-hint{font-size:13px;line-height:1.45;color:var(--ink-soft);margin:4px 0 12px}
.tkx-rule{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line);border-radius:12px;padding:11px 12px;margin-bottom:8px;background:var(--surface)}
.tkx-rule.on{border-color:var(--free);background:var(--free-soft)}
.tkx-rb{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.tkx-rb>b{font-size:14px} .tkx-rb>small{font-size:12px;color:var(--ink-soft);line-height:1.35}
.tkx-rp{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:6px;font-size:12.5px;color:var(--ink-soft);align-items:center}
.tkx-rp label{display:inline-flex;align-items:center;gap:4px}
.tkx-rp input[type=number]{width:58px}
.tkx-rp input,.tkx-rp select,.tkx-cap input,.tkx-ifadd input,.tkx-ifadd select{border:1px solid var(--line-strong);border-radius:7px;padding:4px 6px;background:var(--surface);color:var(--ink);font:13px var(--font-body);max-width:100%}
.tkx-rp input[type=checkbox],.tkx-brs input{width:auto;padding:0}
.tkx-rs{font-size:12px;color:var(--ink-faint);margin-top:4px}
.tkx-sw{position:relative;flex:none;width:40px;height:23px;margin-top:2px;cursor:pointer}
.tkx-sw input{position:absolute;opacity:0;width:0;height:0}
.tkx-sw i{position:absolute;inset:0;border-radius:23px;background:var(--line-strong);transition:.15s}
.tkx-sw i:after{content:'';position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:#fff;transition:.15s;box-shadow:0 1px 2px rgba(0,0,0,.25)}
.tkx-sw input:checked+i{background:var(--free)} .tkx-sw input:checked+i:after{left:20px}
.tkx-cap{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;color:var(--ink-soft);margin:6px 0}
.tkx-cap input{width:58px}
.tkx-ifl{display:flex;flex-direction:column;gap:6px;margin-bottom:8px}
.tkx-if{display:flex;align-items:center;gap:8px;justify-content:space-between;background:var(--surface-2);border-radius:10px;padding:6px 6px 6px 12px;font-size:13px}
.tkx-if .tk-x{width:28px;height:28px}
.tkx-ifadd{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:13px;color:var(--ink-soft);padding:8px;border:1px dashed var(--line-strong);border-radius:10px}
.tkx-ifadd #tkIfForm{display:contents}
.tkx-ifadd #tkMonT{flex:1 1 180px}
.tkx-ifadd details{font-size:12.5px} .tkx-ifadd summary{cursor:pointer;color:var(--accent-dark)}
.tkx-brs{display:flex;flex-wrap:wrap;gap:4px 10px;padding:6px 0}
.tkx-brs label{display:inline-flex;gap:4px;align-items:center}
.tk-chip.auto{background:var(--daily-soft);color:var(--daily)}
@media (max-width:640px){
  .tkx-daily .tkx-dgrid{padding:10px 14px 14px;grid-template-columns:1fr 1fr}
  .tkx-rule{padding:10px}
}

