/* The WebSaite page (/websaite/): on top of ../editor.css, the lists, the chips and the tables of its sections. */
.ws-card { margin-top: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ws-list, .ws-events { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
.ws-row { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.ws-row > .what { flex: 1 1 260px; min-width: 0; overflow-wrap: anywhere; }
.ws-row > .what strong { font-weight: 600; }
.ws-row .row { flex: 0 0 auto; }
.ws-site { width: 100%; text-align: left; background: transparent; color: var(--text); font: inherit; cursor: pointer; }
.ws-site:hover, .ws-site:focus-visible { border-color: var(--blue); }
.chip { display: inline-block; max-width: 100%; font-size: .78rem; border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; margin: 2px 4px 2px 0; color: var(--muted); overflow-wrap: anywhere; }
.chip.on { color: var(--green); border-color: rgba(34, 177, 76, .5); }
.chip.off { color: var(--muted); }
.chip.bad { color: var(--red); border-color: rgba(240, 57, 47, .5); }
.chip.warn { color: var(--yellow); border-color: rgba(242, 201, 76, .5); }
.ws-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ws-grid .fact { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; overflow-wrap: anywhere; }
.ws-grid .fact h3 { margin: 0 0 4px; font-size: .85rem; color: var(--muted); font-weight: 600; }
.ws-grid .fact p { margin: 0; }
.ws-settings { display: grid; gap: 8px; }
.ws-group > summary { cursor: pointer; font-weight: 600; padding: 8px 0; }
.ws-set-rows { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); padding-bottom: 8px; }
.ws-key { font-size: 11px; }
.ws-setting { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.ws-setting label { margin-top: 0; }
.ws-setting .row input, .ws-setting .row select { max-width: 12rem; }
.ws-setting input[type=number], .ws-detail input[type=number] { background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; }
.ws-attn h3 { margin-top: 16px; }
.ws-attn h3:first-child { margin-top: 4px; }
.ws-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin-top: 6px; display: block; overflow-x: auto; }
.ws-table th, .ws-table td { text-align: left; padding: 5px 8px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.ws-table th { color: var(--muted); font-weight: 600; white-space: nowrap; }
.ws-events li { border-bottom: 1px solid var(--line); padding: 6px 0; font-size: .88rem; overflow-wrap: anywhere; }
.ws-events time, .ws-events .kind { color: var(--muted); margin-right: 8px; }
.ws-detail .confirm { border: 1px solid rgba(242, 201, 76, .5); border-radius: 10px; padding: 10px 12px; margin: 10px 0; }
.ws-detail pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; max-height: 16rem; overflow: auto; font-size: .82rem; }
.ws-step { border: 1px solid var(--line); border-radius: 10px; margin: 8px 0 0; }
.ws-step > summary { cursor: pointer; padding: 10px 12px; font-weight: 600; overflow-wrap: anywhere; }
.ws-step > summary .n { color: var(--muted); }
.ws-step > summary .chip { font-weight: 400; margin-left: 4px; }
.ws-step > .body { padding: 0 12px 12px; overflow-wrap: anywhere; }
.ws-step ol { margin: 6px 0; padding-left: 1.3rem; display: grid; gap: 4px; }
.ws-step .body > .row { margin-top: 8px; }
.ws-step .body > label { margin-top: 10px; }
#setup > h3 { margin: 18px 0 2px; font-size: .95rem; }
#setup > h3:first-of-type { margin-top: 8px; }
.ws-step input[type=password] { background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; flex: 1 1 16rem; min-width: 0; }
.ws-step input.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .82rem; flex: 1 1 16rem; width: auto; }
