/* AI server fan operating-point solver — embed styles (companion to ai-fan-sizing.js) */
.afs-embed{margin:26px 0}
.afs-head{margin-bottom:16px}
.afs-head h3{margin:0 0 6px!important;font-size:19px!important;color:#0b1f3a!important}
.afs-head p{margin:0;font-size:14px;color:#66758a;line-height:1.6}
.afs-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:18px}
.afs-panel{background:#fff;border:1px solid #dfe5ee;border-radius:16px;padding:20px}
.afs-controls{display:grid;grid-template-columns:1fr 1fr;gap:14px 14px;align-content:start}
.afs-field{display:flex;flex-direction:column;min-width:0}
.afs-full{grid-column:1 / -1}
.afs-field label,.afs-label{display:block;font-size:13px;color:#52647c;margin-bottom:6px;font-weight:600}
.afs-field input[type="number"]{width:100%;border:1px solid #dfe5ee;border-radius:10px;background:#fbfcfe;padding:10px 12px;font-size:16px;font-weight:700;color:#0b1f3a;outline:none;font-family:inherit;box-sizing:border-box}
.afs-field input[type="number"]:focus{border-color:#1677ff;box-shadow:0 0 0 3px rgba(22,119,255,.12)}
.afs-hint{margin:6px 0 0;font-size:12.5px;color:#98a6b8;line-height:1.5}
.afs-chips{display:flex;flex-wrap:wrap;gap:7px}
.afs-chip{border:1px solid #dfe5ee;background:#fff;border-radius:999px;padding:7px 13px;font-size:13px;cursor:pointer;color:#52647c;font-family:inherit;line-height:1.2}
.afs-chip:hover{border-color:#1677ff;color:#1677ff}
.afs-chip.is-on{background:#1677ff;border-color:#1677ff;color:#fff;font-weight:700}
.afs-check{display:flex;align-items:center;gap:9px;font-size:13.5px;color:#52647c;cursor:pointer;padding:10px 12px;background:#fbfcfe;border:1px solid #dfe5ee;border-radius:10px}
.afs-check input{width:16px;height:16px;accent-color:#1677ff;cursor:pointer;margin:0}

.afs-verdict{margin-bottom:16px}
.afs-verdict-label{display:inline-block;font-size:13.5px;font-weight:700;padding:7px 13px;border-radius:999px}
.afs-verdict.afs-ok .afs-verdict-label{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.afs-verdict.afs-warn .afs-verdict-label{background:#fffbeb;color:#92400e;border:1px solid #fde68a}
.afs-verdict.afs-bad .afs-verdict-label{background:#fef2f2;color:#b91c1c;border:1px solid #fbc7c7}

.afs-hero{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;background:#f0f7ff;border:1px solid #c7ddfa;border-radius:14px;padding:16px}
.afs-hero-cell{display:flex;flex-direction:column;align-items:center;gap:2px}
.afs-hero-num{font-size:34px;font-weight:700;color:#1677ff;line-height:1.1}
.afs-hero-num.afs-dim{color:#52647c;font-size:26px}
.afs-hero-unit{font-size:12.5px;color:#66758a;text-align:center}
.afs-hero-sep{width:1px;height:44px;background:#c7ddfa}

.afs-gauge{position:relative;height:9px;background:#eef2f7;border-radius:999px;margin:14px 0 0;overflow:visible}
.afs-gauge-fill{height:100%;border-radius:999px;transition:width .18s ease}
.afs-gauge-fill.afs-ok{background:#10b981}
.afs-gauge-fill.afs-warn{background:#f59e0b}
.afs-gauge-fill.afs-bad{background:#ef4444}
.afs-gauge-mark{position:absolute;top:-4px;width:2px;height:17px;background:#0b1f3a;border-radius:2px}
.afs-gauge-cap{margin:8px 0 0;font-size:12px;color:#98a6b8}

.afs-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.afs-metric{background:#fbfcfe;border:1px solid #eef2f7;border-radius:12px;padding:11px 13px}
.afs-mv{display:block;font-size:20px;font-weight:700;color:#0b1f3a;line-height:1.2}
.afs-mk{display:block;font-size:12px;color:#98a6b8;margin-top:3px;line-height:1.4}

.afs-fail{margin-top:14px;background:#fbfcfe;border:1px solid #eef2f7;border-radius:12px;padding:13px 15px}
.afs-fail-head{display:flex;justify-content:space-between;align-items:baseline;font-size:13.5px;color:#52647c;gap:10px}
.afs-fail-head strong{font-size:19px}
.afs-fail p{margin:7px 0 0;font-size:13px;color:#66758a;line-height:1.6}
.afs-ok-t{color:#047857}
.afs-bad-t{color:#b91c1c}
.afs-note{font-size:12.5px;color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:10px 12px;margin:12px 0 0;line-height:1.6}

.afs-table-wrap{margin-top:18px;background:#fff;border:1px solid #dfe5ee;border-radius:16px;padding:18px 20px;overflow-x:auto}
.afs-table{width:100%;border-collapse:collapse;font-size:13.5px;min-width:460px}
.afs-table caption{text-align:left;font-size:13px;color:#52647c;font-weight:700;padding-bottom:10px}
.afs-table th{text-align:left;font-size:12px;color:#98a6b8;font-weight:600;padding:0 8px 8px;border-bottom:1px solid #eef2f7;white-space:nowrap}
.afs-table td{padding:9px 8px;border-bottom:1px solid #f4f7fb;color:#52647c;white-space:nowrap}
.afs-table td:last-child,.afs-table th:last-child{white-space:normal}
.afs-table tr.afs-row-active td{background:#f0f7ff;color:#0b1f3a;font-weight:700}
.afs-disclaimer{font-size:12.5px;color:#98a6b8;margin:14px 0 0;line-height:1.65}

@media (max-width:860px){
  .afs-grid{grid-template-columns:1fr}
  .afs-controls{grid-template-columns:1fr}
  .afs-hero-num{font-size:28px}
  .afs-metrics{grid-template-columns:1fr}
}
