.master-host-panel { margin-top: 14px; }
.master-host-panel .agency-panel-head > div { display:flex; gap:8px; }
.master-host-panel .agency-panel-head button { min-width:34px; min-height:34px; }
.master-host-panel .agency-panel-head #master-host-info-button { border-radius:50%; font-weight:800; }
.master-host-wrap { display:grid; gap:14px; }
.master-host-note { color:var(--muted,#8b93a7); font-size:12px; line-height:1.45; }
.master-host-empty { border:1px dashed var(--border,#343b4d); border-radius:14px; padding:22px 14px; text-align:center; }
.master-host-empty strong { display:block; font-size:18px; margin:8px 0; }
.master-host-status { display:inline-flex; align-items:center; gap:6px; border-radius:99px; padding:5px 10px; background:rgba(130,140,160,.13); font-size:11px; font-weight:800; }
.master-host-status.good { color:#20a66b; background:rgba(32,166,107,.12); }
.master-host-status.warn { color:#c68a22; background:rgba(198,138,34,.12); }
.master-host-card { border:1px solid var(--border,#343b4d); border-radius:14px; padding:13px; display:grid; gap:10px; }
.master-host-row { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.master-host-user { display:flex; align-items:center; gap:10px; min-width:0; }
.master-host-user img,.master-host-avatar { width:38px;height:38px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:var(--surface-2,#252b39);flex:none; }
.master-host-user strong { display:block; overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.master-host-user small { display:block;color:var(--muted,#8b93a7);font-size:11px; }
.master-host-select { width:100%; border:1px solid var(--border,#343b4d); background:var(--surface,#171c27); color:inherit; border-radius:10px; padding:11px; }
.master-host-progress { height:9px; border-radius:99px; overflow:hidden; background:var(--surface-2,#252b39); }
.master-host-progress > span { display:block;height:100%;border-radius:99px;background:#16a36a; }
.master-host-day { display:grid;gap:5px; }
.master-host-day small { color:var(--muted,#8b93a7); }
.master-host-stats { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px; }
.master-host-stat { background:var(--surface-2,rgba(120,130,150,.1));border-radius:10px;padding:10px; }
.master-host-stat small { display:block;color:var(--muted,#8b93a7);font-size:11px; }
.master-host-stat strong { display:block;margin-top:4px;font-size:16px; }
.master-host-table { width:100%;border-collapse:collapse;font-size:12px; }
.master-host-table th,.master-host-table td { padding:9px 6px;border-bottom:1px solid var(--border,#343b4d);text-align:left; }
.master-host-table th:last-child,.master-host-table td:last-child { text-align:right; }
.master-host-modal { position:fixed;inset:0;z-index:10050;background:rgba(0,0,0,.68);display:flex;align-items:center;justify-content:center;padding:16px; }
.master-host-modal[hidden] { display:none; }
.master-host-modal-card { width:min(620px,100%);max-height:85vh;overflow:auto;background:var(--surface,#171c27);color:var(--text,#fff);border:1px solid var(--border,#343b4d);border-radius:16px;padding:16px; }
.master-host-modal-head { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px; }
.master-host-modal-head button { border:0;background:transparent;color:inherit;font-size:24px; }
@media(max-width:420px){.master-host-row.mobile-stack{align-items:flex-start;flex-direction:column}.master-host-table{font-size:11px}}
