.tg-branch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;margin:20px 0}
.tg-branch-card{min-width:0;padding:20px}.tg-branch-card-head{display:flex;justify-content:space-between;align-items:center;gap:14px}.tg-branch-card h3{margin:0;font-size:16px}
.tg-branch-toggle{display:flex;gap:8px;align-items:center;white-space:nowrap;color:var(--green)}.tg-branch-toggle input{accent-color:var(--green);width:17px;height:17px}
.tg-branch-id{display:block;margin:12px 0;overflow-wrap:anywhere;color:var(--cyan)}.tg-branch-card p,.tg-branch-note{color:var(--muted)}
.tg-branch-profit{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.tg-branch-profit input,.tg-branch-add input{background:var(--bg-soft);border:1px solid var(--line);border-radius:8px;padding:10px 12px;min-width:0}
.tg-branch-profit input{width:110px}.tg-branch-remove{margin-top:16px;color:var(--coral)}.tg-branch-add{display:grid;grid-template-columns:1.4fr 1fr 160px auto;gap:14px;align-items:end}
.tg-branch-add label{display:flex;flex-direction:column;gap:7px}.tg-branch-add .primary-btn{min-height:42px}.tg-branch-status{min-height:24px;margin:12px 0}
@media(max-width:800px){.tg-branch-add{grid-template-columns:1fr 1fr}.tg-branch-card-head{align-items:flex-start}.tg-branch-grid{grid-template-columns:1fr}}
@media(max-width:480px){.tg-branch-add{grid-template-columns:1fr}.tg-branch-toggle{font-size:12px}}
