.cal-form.plain{border-color:transparent}
.cal-form h3 small{font-family:inherit;font-size:14px;color:var(--muted);font-weight:600;margin-left:6px}
.eq-back{font-size:15px;align-self:flex-start;padding:4px 0}
.eq-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px}
.eq-team{background:var(--w);border-radius:14px;box-shadow:var(--sh);display:flex;align-items:center;gap:6px;padding:8px}
.eq-open{flex:1;display:flex;gap:12px;align-items:center;border:0;background:none;text-align:left;padding:4px;min-width:0;border-radius:10px}
.eq-open:hover{background:var(--soft)}
.eq-tph{width:84px;height:60px;flex:none;border-radius:10px;overflow:hidden;background:var(--y);display:flex;align-items:center;justify-content:center}
.eq-tph img{width:100%;height:100%;object-fit:cover}
.eq-tph i,.eq-av i{font-style:normal;font-weight:700;color:var(--k)}
.eq-tt{display:flex;flex-direction:column;gap:2px;min-width:0}
.eq-tt small{font-size:12px;color:var(--muted)}
.eq-ord{display:flex;flex-direction:column;gap:4px}
.eq-ord .iconbtn{min-height:34px;width:34px;padding:0}
.eq-imgs{display:flex;gap:14px;flex-wrap:wrap}
.eq-img{display:flex;flex-direction:column;gap:4px;align-items:flex-start}
.eq-img small{font-size:12px;color:var(--muted)}
.eq-imgbox{border:2px dashed var(--line);background:#fff;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:0;font-weight:600;color:var(--muted);font-size:13px}
.eq-imgbox.photo{width:240px;height:150px}
.eq-imgbox.photo img{width:100%;height:100%;object-fit:cover}
.eq-imgbox.logo{width:150px;height:150px;padding:8px}
.eq-imgbox.logo img{max-width:100%;max-height:100%;object-fit:contain}
.eq-rows{display:flex;flex-direction:column;gap:6px}
.eq-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:6px;border-radius:12px;background:var(--soft)}
.eq-row.add{background:var(--y-soft)}
.eq-row input,.eq-row select{padding:8px 10px;font-size:15px}
.eq-row .num{width:62px;flex:none;text-align:center}
.eq-row .nm{flex:2 1 170px;min-width:0}
.eq-row .role{flex:1 1 140px;min-width:0}
.eq-row select{flex:1 1 130px;min-width:0}
.eq-row .cal-check{font-size:13px}
.eq-av{width:44px;height:44px;flex:none;border-radius:50%;overflow:hidden;background:var(--y);display:flex;align-items:center;justify-content:center;font-size:14px}
.eq-av img{width:100%;height:100%;object-fit:cover}
.eq-av.eq-big{width:88px;height:88px;font-size:24px}
.eq-avbtn{border:0;background:none;padding:0;border-radius:50%;flex:none}
.eq-avbtn:hover .eq-av{outline:3px solid var(--k)}
.sm{padding:7px 11px;font-size:14px}
.danger:disabled{opacity:.45}
.armed{background:var(--bad)!important;color:#fff!important}
.eq-people{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:10px}
.eq-person,.eq-riv{background:var(--w);border-radius:14px;box-shadow:var(--sh);padding:12px;display:flex;gap:14px;align-items:flex-start}
.eq-riv.idle{opacity:.75}
.eq-ph{display:flex;flex-direction:column;gap:6px;align-items:center;flex:none}
.eq-pf{display:flex;flex-direction:column;gap:8px;flex:1;min-width:0}
.eq-pf textarea{resize:vertical;font:inherit}
.eq-roles{display:flex;flex-wrap:wrap;gap:6px}
.eq-role{background:var(--soft);border-radius:8px;padding:4px 8px;font-size:13px;display:flex;flex-direction:column}
.eq-role b{font-size:12px}
.eq-merge{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.eq-merge select{flex:1 1 150px;min-width:0;padding:7px 9px;font-size:14px}
.eq-search{max-width:360px}
@media (max-width:520px){.eq-people,.eq-grid{grid-template-columns:1fr}.eq-person,.eq-riv{flex-direction:column;align-items:stretch}.eq-ph{flex-direction:row}.eq-imgbox.photo{width:100%}}
.eq-pf .field{flex:none}
.eq-sel{width:20px;height:20px;flex:none;accent-color:#0e0e0e;margin:0 2px}
.eq-bulk{display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:var(--k);color:var(--w);border-radius:12px;padding:8px 10px}
.eq-bulk .cal-check{color:var(--w)}
.eq-bulk .cal-check input{accent-color:#f5c518}
.eq-bulk span{font-size:14px;flex:1 1 auto}
.eq-bulk select{flex:1 1 200px;min-width:0;padding:8px 10px}
.eq-bulk .dark{background:var(--y);color:var(--k);border:0;border-radius:10px;font-weight:700}
.eq-bulk .dark:disabled{opacity:.5}
#newRiv .eq-img{margin-top:-4px}
.eq-rl{display:flex;flex-direction:column;gap:6px}
.eq-rl .eq-row select{flex:2 1 160px}
.eq-people{grid-template-columns:repeat(auto-fill,minmax(440px,1fr))}
@media (max-width:520px){.eq-people{grid-template-columns:1fr}}
.eq-rl .eq-row{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto auto;gap:6px}
.eq-rl .eq-row select,.eq-rl .eq-row input.role{min-width:0;width:100%}
@media (max-width:620px){.eq-rl .eq-row{grid-template-columns:1fr 1fr}.eq-rl .eq-row .cal-check{justify-self:start}.eq-rl .eq-row button{justify-self:end}}
.eq-rl .eq-row.plrow{grid-template-columns:minmax(0,1fr) auto}
