/* Task groups extension: inherit the existing Vrazvitii v4 visual system */
.tg-root{border:1px solid #e1e9ec;background:#fff;border-radius:20px;padding:20px;min-width:0}
.tg-root *{box-sizing:border-box}
.tg-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.tg-kicker{font-size:10px;font-weight:800;letter-spacing:.13em;color:#789390}
.tg-top h2{font-size:21px;line-height:1.2;margin:6px 0 6px;color:#203644;letter-spacing:-.4px}
.tg-top h2 span{font-size:12px;background:#e9f3ef;color:#618f80;padding:3px 8px;border-radius:99px;vertical-align:middle}
.tg-top p{margin:0;font-size:12px;line-height:1.55;color:#80909a}
.tg-new{flex:none;background:#eaf4f0;border:1px solid #cfe6dd;color:#437c6d;font-weight:700;padding:9px 13px;border-radius:11px;cursor:pointer;font-size:12px}
.tg-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:17px 0}
.tg-group{min-width:0;border:1px solid #e5edf0;background:#fcfdfd;border-radius:16px;padding:13px}
.tg-group-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}
.tg-group-head h3{font-size:14px;font-weight:750;color:#2a4950;margin:0;min-width:0}
.tg-group-head h3 span{font-weight:600;font-size:11px;color:#85a09b}
.tg-group-actions{display:flex;gap:3px}
.tg-group-actions button{border:none;background:none;color:#8da1a8;cursor:pointer;font-size:15px;padding:4px 7px;border-radius:7px}
.tg-group-actions button:hover{background:#eaf4f0;color:#47776c}
.tg-empty{font-size:11px;color:#a2b0b5;padding:9px 0}
.tg-item{display:flex;gap:9px;align-items:center;border-top:1px solid #edf1f3;padding:9px 0}
.tg-checkbox{flex:none;display:flex;align-items:center;justify-content:center;border:1.5px solid #bbd1d0;background:white;border-radius:7px;height:24px;width:24px;cursor:pointer;color:#fff;font-size:13px}
.tg-checkbox.tg-checked{background:#5a9a83;border-color:#5a9a83}
.tg-task{flex:1;min-width:0;overflow-wrap:anywhere}
.tg-task strong{font-size:12px;color:#3d5360;line-height:1.4;font-weight:650}
.tg-task small{display:block;font-size:10px;color:#8a9aa3}
.tg-done .tg-task strong{color:#9aa9aa;text-decoration:line-through}
.tg-edit{background:none;border:none;color:#719488;cursor:pointer;font-size:11px;padding:4px}
.tg-quick{display:flex;gap:5px;align-items:center;margin-top:8px}
.tg-quick input{flex:1;min-width:0;padding:10px 11px;background:white;border:1px solid #e0e9ea;border-radius:9px;font-size:12px;color:#334e59}
.tg-quick button{width:35px;height:35px;flex:none;border:0;border-radius:9px;background:#e5f2ed;color:#508574;font-size:21px;cursor:pointer}
.tg-inline-form{display:flex;align-items:center;gap:7px;margin:12px 0}
.tg-inline-form input{flex:1;min-width:0;border:1px solid #d6e4e5;border-radius:9px;padding:10px;font-size:12px}
.tg-inline-form button{border:0;background:#e2f1eb;color:#427967;border-radius:8px;padding:9px;font-size:11px;cursor:pointer}
.tg-completed{margin-top:9px;border-top:1px solid #e6eeee;padding-top:8px}
.tg-completed summary{font-size:11px;color:#719389;cursor:pointer}
.tg-footer{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:12px;font-size:11px;color:#78918c}
.tg-footer button{font-size:11px;border:none;background:none;color:#4e8876;cursor:pointer}
.tg-note{margin:13px 0 0;font-size:11px;color:#8a9da1;line-height:1.6}
@media(max-width:900px){.tg-groups{grid-template-columns:1fr}}
@media(max-width:450px){.tg-root{padding:15px;border-radius:17px}.tg-top h2{font-size:19px}.tg-new{padding:8px 9px}}
.tg-head-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:450px){.tg-head-actions{gap:5px}.tg-head-actions .tg-new{font-size:11px}}
