/* The security pages' form and the free website check (2026-11-04). Colours come from the page's own tokens, so it follows the theme. */
.sec-form { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.sec-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; min-width: 0; }
.sec-form .is-wide { grid-column: 1 / -1; }
.sec-form input, .sec-form select, .sec-form textarea, .sec-check input {
  font: inherit; font-size: 16px; min-height: 44px; padding: 10px 12px; width: 100%; box-sizing: border-box; color: var(--text);
  background: var(--surface, transparent); border: 1px solid var(--border-control, currentColor); border-radius: 8px; }
.sec-form textarea { min-height: 88px; resize: vertical; }
.sec-form .sec-ok { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.sec-form .sec-ok input { width: 20px; min-height: 20px; height: 20px; flex: none; margin-top: 2px; }
.sec-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sec-msg { margin: 0; min-height: 1.4em; font-size: 15px; }
.sec-msg.is-ok { color: var(--accent, #00c896); }
.sec-msg.is-bad { color: #ff8a80; }
:root[data-theme="light"] .sec-msg.is-bad { color: #b3261e; }
.sec-check { display: flex; gap: 10px; max-width: 640px; margin: 8px 0 18px; flex-wrap: wrap; }
.sec-check input { flex: 1 1 240px; min-width: 0; }
.sec-res-h { margin: 22px 0 4px; overflow-wrap: anywhere; }
.sec-sum { margin: 0 0 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sec-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; max-width: 760px; }
.sec-item { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 12px 14px; border: 1px solid var(--edge-panel, rgba(127,127,127,.3)); border-radius: 10px; }
.sec-item p { margin: 4px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.sec-tag { font-size: 13px; font-weight: 600; align-self: start; }
.sec-item.is-fail .sec-tag { color: #ff8a80; }
.sec-item.is-warn .sec-tag { color: #f2b84b; }
.sec-item.is-pass .sec-tag { color: var(--accent, #00c896); }
:root[data-theme="light"] .sec-item.is-fail .sec-tag { color: #b3261e; }
:root[data-theme="light"] .sec-item.is-warn .sec-tag { color: #8a5a00; }
:root[data-theme="light"] .sec-item.is-pass .sec-tag { color: #0a6b51; }
.sec-note { font-size: 14px; max-width: 760px; }
.sec-free { margin-top: 18px !important; display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sec-free > li { list-style: none; padding: 18px; border: 1px solid var(--edge-panel, rgba(127,127,127,.3)); border-radius: 12px; }
.sec-free h3 { margin: 0 0 8px; }
.sec-free p { margin: 0 0 8px; font-size: 15px; }
ul.sec-free { padding: 0; margin: 0; }
.sec-kept { font-size: 14px; }
.sec-bands th[scope="row"] { white-space: normal; }
@media (max-width: 860px) { .sec-free { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .sec-form { grid-template-columns: 1fr; } .sec-item { grid-template-columns: 1fr; gap: 4px; } .sec-check button { width: 100%; } }
