/* 617 Tech: Beacon domain check. Loaded only on /beacon/. */

/* Lookup form in the hero */
.tl-form{display:flex;flex-direction:column;gap:10px;margin-top:8px;max-width:40rem}
.tl-form label{font-weight:600;font-size:15px;color:#DCE2F0}
.tl-row{display:flex;flex-wrap:wrap;gap:10px}
.tl-row input{flex:1 1 240px;font:inherit;font-size:18px;padding:14px 16px;border:2px solid #4A5D94;border-radius:6px;background:#FFFFFF;color:#161E38;min-height:54px;min-width:0}
.tl-row input:focus{outline:3px solid #E8892B;outline-offset:1px;border-color:#E8892B}
.tl-row .btn{border:0;cursor:pointer;font:inherit;font-weight:600;font-size:16px;min-height:54px}
.tl-row .btn[disabled]{opacity:.6;cursor:progress}
.tl-note{font-size:14px;color:#B4BEDA}
.tl-status{font-size:16px;font-weight:500;color:#F6F7FB;min-height:1.55em}
.tl-status.tl-error{color:#F5A85F}

/* Results */
.tl-output{display:flex;flex-direction:column;gap:24px;max-width:60rem}
.tl-summary{display:flex;flex-wrap:wrap;gap:24px;align-items:center;background:#FFFFFF;border:1px solid #D7DDEB;border-radius:12px;padding:28px}
.tl-grade{flex:none;width:112px;height:112px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:800;font-size:72px;line-height:1;background:#2F7D57;color:#FFFFFF}
.tl-grade-C .tl-grade{background:#E8892B;color:#2D3E6E}
.tl-grade-D .tl-grade,.tl-grade-F .tl-grade{background:#A6402B}
.tl-summary-copy{flex:1 1 300px;display:flex;flex-direction:column;gap:8px;min-width:0}
.tl-summary-copy h2{font-size:clamp(24px,3vw,32px);overflow-wrap:anywhere}
.tl-summary-copy h2:focus{outline:none}
.tl-headline{font-size:19px;font-weight:600;color:#161E38}
.tl-scope{font-size:15px;color:#55607F}

.tl-fixes{background:#EAEEF7;border-radius:10px;padding:24px 28px;display:flex;flex-direction:column;gap:12px}
.tl-fixes ol{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:10px;font-size:17px;color:#161E38}

.tl-groups{display:flex;flex-direction:column;gap:20px}
.tl-group{background:#FFFFFF;border:1px solid #D7DDEB;border-radius:10px;padding:26px 28px 12px;display:flex;flex-direction:column;gap:6px}
.tl-group-lead{color:#55607F;font-size:16px}
.tl-group>.tl-detail{padding:14px 0}
.tl-items{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column}
.tl-item{display:flex;gap:14px;align-items:flex-start;padding:16px 0;border-top:1px solid #EAEEF7}
.tl-icon{flex:none;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-top:2px;background:#55607F;color:#FFFFFF}
.tl-pass .tl-icon{background:#2F7D57}
.tl-warn .tl-icon{background:#E8892B;color:#2D3E6E}
.tl-fail .tl-icon{background:#A6402B}
.tl-body{display:flex;flex-direction:column;gap:6px;min-width:0}
.tl-label{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#55607F}
.tl-pass .tl-label{color:#2F7D57}
.tl-warn .tl-label{color:#8A5A00}
.tl-fail .tl-label{color:#A6402B}
.tl-title{font-weight:600;font-size:17px;color:#161E38;overflow-wrap:anywhere}
.tl-detail{font-size:16px;color:#353F5B;overflow-wrap:anywhere}
.tl-fix{font-size:16px;color:#161E38;background:#F6F7FB;border-left:3px solid #E8892B;border-radius:0 6px 6px 0;padding:8px 12px;overflow-wrap:anywhere}

.tl-records{background:#FFFFFF;border:1px solid #D7DDEB;border-radius:10px;padding:0 24px}
.tl-records summary{cursor:pointer;padding:18px 0;font-weight:600;font-size:16px}
.tl-records table{width:100%;border-collapse:collapse;font-size:14px;margin-bottom:20px;min-width:480px}
.tl-records th,.tl-records td{text-align:left;padding:8px 14px 8px 0;border-top:1px solid #EAEEF7;vertical-align:top}
.tl-records th{font-size:13px;color:#55607F}
.tl-records td{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow-wrap:anywhere;word-break:break-word}
.tl-records td:first-child{white-space:nowrap}

/* PDF report form */
.tl-lead{max-width:60rem;border-top:4px solid #E8892B}
.tl-lead>p{color:#55607F}
.tl-lead .tl-small{font-size:14px}
.tl-lead button[disabled]{opacity:.7;cursor:progress}
.tl-lead .tl-report-status{font-weight:600;color:#161E38}
.tl-lead .tl-report-status:empty{display:none}
.tl-lead .tl-report-status.tl-report-ok{background:#EAEEF7;border-radius:6px;padding:12px 14px}
.tl-lead .tl-report-status.tl-report-error{background:#F7E6E1;border-radius:6px;padding:12px 14px;color:#7A2E1E}

@media (max-width:640px){
  .tl-grade{width:84px;height:84px;font-size:54px}
  .tl-summary{padding:20px;gap:16px}
  .tl-group{padding:20px 20px 8px}
  .tl-fixes{padding:20px}
  .tl-records{padding:0 16px}
  .tl-row .btn{flex:1 1 100%}
}
