/* Ameriteam OS v345 — AMT SUB NETWORK + AI Bid Coverage */
.amt345-overlay{position:fixed;inset:0;z-index:12050;background:rgba(10,19,43,.58);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:24px;font-family:'DM Sans',sans-serif}
.amt345-modal{width:min(1180px,96vw);max-height:92vh;overflow:hidden;background:#f7f9fc;border:1px solid rgba(20,38,91,.14);border-radius:18px;box-shadow:0 28px 80px rgba(10,19,43,.34);display:flex;flex-direction:column;color:#14265b}
.amt345-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px 26px 20px;background:#fff;border-bottom:1px solid #dfe5ef}
.amt345-head>div>span,.amt345-type{display:block;font-size:10px;font-weight:900;letter-spacing:.11em;color:#c8102e;text-transform:uppercase}
.amt345-head h2{margin:4px 0 2px;font-size:26px;line-height:1.1;color:#14265b}
.amt345-head p{margin:0;color:#667085;font-size:13px}
.amt345-x{border:0;background:#edf1f7;color:#14265b;width:36px;height:36px;border-radius:10px;font-size:24px;line-height:1;cursor:pointer}
.amt345-body{overflow:auto;padding:20px 24px 26px}
.amt345-coverage-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#dfe5ef;border:1px solid #dfe5ef;border-radius:13px;overflow:hidden;margin-bottom:14px}
.amt345-coverage-summary>div{background:#fff;padding:15px 17px}
.amt345-coverage-summary span{display:block;font-size:11px;font-weight:800;color:#667085;text-transform:uppercase;letter-spacing:.06em}
.amt345-coverage-summary strong{display:block;margin-top:4px;font-size:22px;color:#14265b}
.amt345-coverage-summary.red>div:first-child strong{color:#b42318}.amt345-coverage-summary.yellow>div:first-child strong{color:#b54708}.amt345-coverage-summary.green>div:first-child strong{color:#027a48}
.amt345-funnel{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:0 0 20px}
.amt345-funnel>div{background:#fff;border:1px solid #e2e7f0;border-radius:10px;padding:10px 12px;text-align:center}
.amt345-funnel strong{display:block;font-size:18px}.amt345-funnel span{font-size:10px;font-weight:700;color:#667085}
.amt345-section{background:#fff;border:1px solid #e1e6ef;border-radius:14px;margin-top:14px;overflow:hidden}
.amt345-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:17px 19px;border-bottom:1px solid #e9edf4}
.amt345-section-head h3{margin:0;font-size:16px}.amt345-section-head p{margin:3px 0 0;font-size:12px;color:#667085}.amt345-section-head>span{font-size:11px;font-weight:800;color:#667085}
.amt345-recs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px}
.amt345-rec{border:1px solid #dfe5ee;border-radius:12px;padding:15px;background:#fff;min-width:0}
.amt345-rec.candidate{border-style:dashed;background:#fbfcfe}
.amt345-rec-head{display:flex;justify-content:space-between;gap:14px}.amt345-rec h3{margin:3px 0 2px;font-size:15px;color:#14265b}.amt345-rec-head small{color:#667085;font-size:11px}
.amt345-fit{font-size:22px;min-width:58px;text-align:right;color:#14265b}.amt345-fit small{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.08em}
.amt345-reasons{margin:11px 0 10px;padding-left:17px;color:#344054;font-size:11px;line-height:1.45}.amt345-reasons li+li{margin-top:2px}
.amt345-rec-meta{display:flex;flex-wrap:wrap;gap:5px 10px;border-top:1px solid #eef1f6;padding-top:9px;font-size:10px;color:#667085}.amt345-rec-meta a{color:#14265b;font-weight:800}
.amt345-rec-actions{display:flex;justify-content:flex-end;margin-top:11px}
.amt345-check{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:800;color:#14265b;cursor:pointer}.amt345-check input{accent-color:#c8102e}
.amt345-btn{border:1px solid #cfd7e5;background:#fff;color:#14265b;border-radius:9px;padding:9px 12px;font:800 11px 'DM Sans',sans-serif;cursor:pointer}
.amt345-btn.primary{background:#14265b;border-color:#14265b;color:#fff}.amt345-btn:disabled{opacity:.48;cursor:not-allowed}
.amt345-warning{margin:12px 14px 0;padding:10px 12px;border-radius:9px;background:#fff7ed;color:#9a3412;font-size:11px;border:1px solid #fed7aa}
.amt345-calls{padding:8px 14px 14px}.amt345-call{display:grid;grid-template-columns:28px minmax(0,1fr) 44px;align-items:center;gap:10px;padding:9px 4px;border-bottom:1px solid #eef1f6}.amt345-call:last-child{border-bottom:0}
.amt345-call>b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#edf1f7;font-size:10px}.amt345-call strong{display:block;font-size:12px}.amt345-call small{display:block;color:#667085;font-size:10px}.amt345-call em{font-style:normal;font-size:11px;font-weight:900;text-align:right}
.amt345-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 24px;background:#fff;border-top:1px solid #dfe5ef;font-size:12px}.amt345-footer>div{display:flex;gap:8px}
.amt345-working,.amt345-error{min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:44px}.amt345-working h2,.amt345-error h2{margin:16px 0 6px}.amt345-working p,.amt345-error p{max-width:620px;margin:0;color:#667085}.amt345-working small{margin-top:8px;color:#98a2b3}
.amt345-spinner{width:34px;height:34px;border:3px solid #dbe2ed;border-top-color:#c8102e;border-radius:50%;animation:amt345spin .8s linear infinite}@keyframes amt345spin{to{transform:rotate(360deg)}}
.amt345-empty{padding:28px;text-align:center;color:#667085;font-size:12px}.amt345-empty strong,.amt345-empty span{display:block}.amt345-empty strong{color:#14265b;margin-bottom:4px}
.amt345-toast{position:fixed;z-index:13000;right:24px;bottom:24px;max-width:430px;padding:12px 16px;border-radius:10px;background:#14265b;color:#fff;box-shadow:0 14px 34px rgba(20,38,91,.26);font:700 12px 'DM Sans',sans-serif}.amt345-toast.error{background:#b42318}
.amt345-network-search{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:12px 0;padding:13px 15px;border:1px solid #dfe5ee;border-radius:12px;background:linear-gradient(90deg,#fff,#f8faff)}
.amt345-network-search>div strong{display:block;font-size:11px;letter-spacing:.08em}.amt345-network-search>div span{display:block;margin-top:2px;color:#667085;font-size:10px}
.amt345-network-form{display:flex;gap:7px;flex:1;max-width:690px}.amt345-network-form input{flex:1;min-width:220px;border:1px solid #cfd7e5;border-radius:9px;padding:10px 12px;font:600 12px 'DM Sans',sans-serif;outline:0}.amt345-network-form input:focus{border-color:#8ea0bd;box-shadow:0 0 0 3px rgba(20,38,91,.08)}
.amt345-network-form button{border:0;border-radius:9px;padding:0 13px;background:#14265b;color:#fff;font:900 10px 'DM Sans',sans-serif;letter-spacing:.04em;cursor:pointer}
.amt345-search-parsed{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:13px}.amt345-search-parsed span{background:#edf1f7;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:800}
.amt345-network-results{display:grid;gap:8px}.amt345-network-results article{display:flex;justify-content:space-between;gap:15px;align-items:center;background:#fff;border:1px solid #e0e6ef;border-radius:11px;padding:13px 15px}.amt345-network-results h3{margin:3px 0 2px;font-size:14px}.amt345-network-results small{color:#667085;font-size:10px}.amt345-network-results article>div:last-child{display:flex;align-items:center;gap:10px;font-size:10px;color:#667085}
.amt345-candidate-divider{padding:12px 13px 7px;margin-top:7px;border-top:2px solid #dce3ee}.amt345-candidate-divider strong{display:block;font-size:11px;letter-spacing:.06em;color:#14265b}.amt345-candidate-divider span{font-size:9px;color:#667085}
.amt345-candidate-card{border-style:dashed!important;background:#fbfcfe!important}.amt345-candidate-badge{display:inline-flex;align-items:center;border-radius:999px;background:#edf1f7;color:#14265b;padding:4px 7px;font-size:9px!important;font-weight:900!important;white-space:nowrap}
.amt345-candidate-marker{width:22px;height:28px;position:relative}.amt345-candidate-marker:before{content:'';position:absolute;left:3px;top:2px;width:16px;height:16px;background:#fff;border:3px solid #c8102e;border-radius:50% 50% 50% 0;transform:rotate(-45deg);box-shadow:0 2px 7px rgba(0,0,0,.26)}.amt345-candidate-marker span{position:absolute;z-index:1;left:8px;top:7px;width:6px;height:6px;background:#c8102e;border-radius:50%}
.amt345-candidate-popup .amt345-candidate-badge{margin-bottom:5px}.amt345-target-note{margin:10px 0 0;padding:8px 10px;background:#f6f8fb;border-radius:8px;font-size:10px;color:#667085}
.amt345-ai-find{border-color:#c8102e!important;color:#c8102e!important;font-weight:900!important}
@media(max-width:820px){.amt345-overlay{padding:0}.amt345-modal{width:100vw;height:100dvh;max-height:none;border-radius:0}.amt345-body{padding:14px}.amt345-coverage-summary{grid-template-columns:1fr}.amt345-funnel{grid-template-columns:repeat(4,1fr)}.amt345-recs{grid-template-columns:1fr}.amt345-footer{align-items:flex-start;flex-direction:column}.amt345-footer>div{width:100%}.amt345-footer .amt345-btn{flex:1}.amt345-network-search{align-items:stretch;flex-direction:column}.amt345-network-form{max-width:none}.amt345-network-results article{align-items:flex-start;flex-direction:column}}
