body { font-size: 16px; }
.http-intro { padding: 36px 0 18px; }
.http-intro h1 { font-size: clamp(26px, 4vw, 34px); }
.http-form { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: var(--surface); }
.http-url-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.http-input-row { display: flex; gap: 10px; align-items: stretch; }
#http-url { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); padding: 12px 14px; font: inherit; }
.http-input-row .primary-button, .http-input-row .copy-button { white-space: nowrap; font-size: 14px; }
.http-check { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; font-size: 14px; color: var(--muted); cursor: pointer; }
.http-check input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.http-status { color: var(--muted); font-size: 14px; min-height: 24px; margin: 14px 0; overflow-wrap: anywhere; }
.http-status[data-error="true"] { color: #b74436; }
.http-overview { background: var(--hero); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.http-overview-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.http-overview h2, .http-section h2 { font-size: 18px; font-weight: 600; margin: 0 0 14px; }
.http-overview-top h2 { margin: 0; }
.http-pill { font-size: 13px; font-weight: 600; background: var(--surface); color: var(--accent); border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; }
.http-pill[data-error="true"] { color: #b74436; }
.http-final-url { font-size: 20px; letter-spacing: -.03em; color: var(--accent); margin: 18px 0; overflow-wrap: anywhere; }
.http-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; border-top: 1px solid var(--line); padding-top: 18px; }
.http-facts .http-row { min-width: 0; }
.http-facts dt { font-size: 13px; }
.http-facts dd { text-align: left; font-size: 14px; margin-top: 3px; }
.http-section { margin-top: 28px; }
.http-probes { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.http-probe { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 16px; min-width: 0; }
.http-probe[data-state="confirmed"] { background: var(--hero); }
.http-probe[data-state="unconfirmed"], .http-probe[data-state="advertised"] { background: var(--hero-warning); }
.http-probe h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.http-probe strong { color: var(--muted); font-size: 14px; font-weight: 600; }
.http-probe[data-state="confirmed"] strong { color: var(--accent); }
.http-probe[data-state="unconfirmed"] strong, .http-probe[data-state="advertised"] strong { color: var(--warning-accent); }
.http-probe p { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 8px 0 0; overflow-wrap: anywhere; }
.http-data { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 18px; margin-bottom: 14px; }
.http-data .http-row { display: grid; grid-template-columns: minmax(160px,.65fr) minmax(0,2fr); gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.http-data .http-row:last-child { border: 0; }
.http-data dd { text-align: left; white-space: pre-wrap; }
.http-details { margin-top: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.http-details summary { font-size: 15px; padding: 16px 18px; }
.http-details > .http-data { border: 0; border-radius: 0; margin-bottom: 0; }
.http-expiry { font-size: 13px; color: var(--muted); white-space: nowrap; margin-left: auto; }
.http-expiry + .chevron { margin-left: 0; }
.http-nested { margin: 0 18px 14px; border-top: 1px solid var(--line); }
.http-nested summary { font-size: 14px; padding: 12px 0; }
.http-nested .http-data { border: 0; padding: 0; }
.http-inline-details summary { font-size: 13px; padding: 12px 0 0; }
.http-inline-details .http-data { border: 0; padding: 0; background: transparent; margin: 8px 0 0; }
.http-inline-details .http-row { grid-template-columns: 1fr; gap: 2px; font-size: 13px; padding: 6px 0; }
.http-table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.http-details > .http-table-wrap { border: 0; border-radius: 0; }
.http-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.http-table th { font-weight: 500; color: var(--muted); }
.http-table th, .http-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; min-width: 80px; }
.http-table tbody tr:last-child td { border: 0; }
.http-header-url { overflow-wrap: anywhere; min-width: 0; }
.http-raw { font: 13px/1.6 ui-monospace,Consolas,monospace; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); margin: 12px 0; }
.http-note { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
@media (max-width: 860px) { .http-probes { grid-template-columns: repeat(2,minmax(0,1fr)); } .http-facts { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 540px) { .http-form, .http-overview { padding: 18px; } .http-input-row { flex-wrap: wrap; } #http-url { flex-basis: 100%; } .http-input-row .primary-button { flex: 1; } .http-data .http-row { grid-template-columns: minmax(0,1fr); gap: 5px; } .http-overview-top { align-items: flex-start; flex-direction: column; } .http-expiry { display: none; } .http-probe { padding: 13px; } }
@media (prefers-color-scheme: dark) { .http-status[data-error="true"], .http-pill[data-error="true"] { color: #ffa89c; } }