.status-main{max-width:1040px;margin:0 auto;padding:44px 24px 80px}
.st-hero{margin-bottom:24px}.st-hero-row{display:flex;flex-wrap:wrap;align-items:center;gap:14px 20px}.st-hero h1{margin:8px 0;max-width:none}
.st-lede{max-width:70ch;margin:6px 0 0;font-size:17px;line-height:1.65;color:#4a5a52}
.st-pill{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;border:1px solid #c9d3cc;background:#fff;font:600 13px var(--mono,monospace);letter-spacing:.4px}
.st-pill i{width:9px;height:9px;border-radius:50%;background:#9aa59e}
.st-pill[data-tone=ok]{border-color:#9ccf8a;background:#f0f9ec;color:#1f5a14}.st-pill[data-tone=ok] i{background:#3f9d2a;box-shadow:0 0 0 4px #3f9d2a22}
.st-pill[data-tone=warn]{border-color:#e3b76a;background:#fff7e6;color:#7a4b00}.st-pill[data-tone=warn] i{background:#d98c00}
.st-pill[data-tone=off]{border-color:#c9d3cc;background:#f1f3f2;color:#46514b}
.st-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin:0 0 20px}
.st-kpi{padding:18px 20px;border:1px solid #d9e2dc;border-radius:14px;background:#fff;box-shadow:0 1px 2px #1f2a2410}
.st-kpi-label{display:block;font:600 11px var(--mono,monospace);letter-spacing:1px;text-transform:uppercase;color:#6b786f}
.st-kpi strong{display:block;margin:8px 0 4px;font-size:24px;letter-spacing:-.5px;color:#1c2a22}.st-kpi small{color:#5f6d65;font-size:13px}
.st-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px;margin-bottom:16px}
.st-card{margin:0 0 16px;padding:24px;border:1px solid #d9e2dc;border-radius:16px;background:#fff;box-shadow:0 1px 2px #1f2a2410}
.st-grid .st-card{margin:0}.st-card h2{margin:0 0 6px;font-size:20px;letter-spacing:-.3px;color:#18261e}
.st-card-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin-bottom:4px}.st-card-head h2{margin:0}
.st-muted{margin:6px 0 14px;color:#566860;line-height:1.6}
.st-tag{padding:4px 10px;border-radius:999px;background:#eef3ea;color:#3d5a2c;font:600 11px var(--mono,monospace);letter-spacing:.4px}.st-tag-warn{background:#fff1d6;color:#7a4b00}
.st-chips{display:flex;flex-wrap:wrap;gap:8px}.st-chip{padding:6px 11px;border:1px solid #cfdcd3;border-radius:8px;background:#f6f9f6;color:#2c4034;font:500 13px var(--mono,monospace)}
.st-ticks{margin:12px 0 0;padding:0;list-style:none}.st-ticks li{position:relative;padding:7px 0 7px 28px;line-height:1.5;color:#2f4137}.st-ticks li:before{content:"✓";position:absolute;left:0;top:6px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#e7f4e1;color:#2f7a1d;font-size:12px;font-weight:700}
.st-table-wrap{overflow-x:auto;margin-top:6px;border:1px solid #e0e8e2;border-radius:12px}.st-table-wrap[hidden]{display:none}
.st-table{width:100%;border-collapse:collapse;font-size:14px}.st-table th,.st-table td{padding:11px 14px;text-align:left;border-bottom:1px solid #edf1ee;white-space:nowrap}.st-table th{background:#f5f8f5;font:600 11px var(--mono,monospace);letter-spacing:.8px;text-transform:uppercase;color:#5d6c63}.st-table tr:last-child td{border-bottom:0}
.st-out{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;background:#e7f4e1;color:#256a14}.st-out[data-tone=warn]{background:#fff1d6;color:#7a4b00}
.st-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.st-suggest{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 14px}.st-suggest button{padding:7px 13px;border:1px solid #bfd0c4;border-radius:999px;background:#f6f9f6;color:#24452f;font:inherit;font-size:14px;cursor:pointer}.st-suggest button:hover{background:#e8f1ea}
.st-label{display:block;margin:0 0 6px;font-weight:600;color:#25352c}
.st-ask textarea{width:100%;padding:12px 14px;border:1px solid #b9c9be;border-radius:10px;font:inherit;line-height:1.5;resize:vertical;background:#fcfdfc}
.st-actions{margin-top:12px}
.st-btn{min-height:46px;padding:11px 20px;border-radius:10px;border:1px solid transparent;font:inherit;font-weight:700;cursor:pointer}.st-btn:disabled{opacity:.5;cursor:not-allowed}
.st-btn-primary{background:#0b5f4f;color:#fff}.st-btn-primary:hover:not(:disabled){background:#094a3e}
.st-btn-danger{background:#fff;color:#a32217;border-color:#c9473a}.st-btn-danger:hover:not(:disabled){background:#a32217;color:#fff}
.st-answer{margin-top:14px;padding:14px 16px;border-left:4px solid #0b5f4f;border-radius:8px;background:#f1f7f4;line-height:1.65;color:#1e3128;white-space:pre-wrap}
.st-danger{border-color:#e6cfc9}.st-steps{margin:0 0 14px;padding-left:22px;line-height:1.7;color:#33433a}
.st-check{display:flex;gap:10px;align-items:flex-start;padding:14px;border:1px solid #e3cfc9;border-radius:10px;background:#fff8f6;line-height:1.5}.st-check input{width:20px;height:20px;flex:none;margin-top:2px;accent-color:#a32217}
.status-main button:focus-visible,.status-main input:focus-visible,.status-main textarea:focus-visible{outline:3px solid #9a4d00;outline-offset:2px}
@media(max-width:480px){.status-main{padding:30px 16px 56px}.st-card{padding:18px}.st-btn{width:100%}}

.portal-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 20px;padding:5px;border:1px solid #d9e2dc;border-radius:14px;background:#fff;width:fit-content;max-width:100%}
.portal-tabs a{padding:9px 16px;border-radius:10px;color:#2c4034;font-weight:600;font-size:15px;text-decoration:none}
.portal-tabs a:hover{background:#eef4ef}.portal-tabs a[aria-current=page]{background:#0b5f4f;color:#fff}
.portal-tabs a:focus-visible{outline:3px solid #9a4d00;outline-offset:2px}

.portal-signout{margin-left:auto;padding:9px 16px;border:1px solid #cfdcd3;border-radius:10px;background:#fff;color:#2c4034;font:inherit;font-weight:600;font-size:15px;cursor:pointer}
.portal-signout:hover:not(:disabled){background:#f3f7f4}.portal-signout:disabled{opacity:.6;cursor:wait}.portal-signout:focus-visible{outline:3px solid #9a4d00;outline-offset:2px}
.portal-tabs{width:100%}
.customer-role-badge{white-space:nowrap}
.customer-users-list{display:grid;gap:10px;padding-left:20px}.customer-user-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}.customer-user-row .st-muted{margin:0}
.customer-invite-form{display:flex;flex-wrap:wrap;align-items:end;gap:10px 12px;margin:14px 0 4px}.customer-invite-form label{flex-basis:100%;font-weight:600}.customer-invite-form select{min-height:46px;max-width:100%;padding:9px 12px;border:1px solid #b9c9be;border-radius:8px;background:#fff;color:#1c2a22;font:inherit}
.customer-invite-result{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.customer-invite-result input{flex:1;min-width:min(100%,260px);min-height:46px;padding:9px 12px;border:1px solid #b9c9be;border-radius:8px;background:#fff;color:#1c2a22;font:13px var(--mono,monospace)}
.customer-invite-form button,.customer-invite-result button{min-height:46px}
.rp-welcome{margin:0 0 18px;padding:16px 20px;border:1px solid #9ccf8a;border-left:6px solid #3f9d2a;border-radius:14px;background:#f0f9ec;line-height:1.6;color:#1f4a17}.rp-welcome[hidden]{display:none}
.rp-welcome .st-btn{margin-left:10px;min-height:40px}
.portal-signedout{max-width:640px;margin:40px auto}

.hx-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.hx-top .st-muted{margin:0}
.hx-card{margin:0 0 16px;padding:18px 20px;border:1px solid #d9e2dc;border-radius:14px;background:#fbfdfb}
.hx-head{display:flex;align-items:center;gap:12px}.hx-head h3{margin:0;font-size:18px;color:#14261c}
.hx-grade{display:inline-grid;place-items:center;min-width:34px;height:34px;padding:0 8px;border-radius:10px;background:#2f8a4a;color:#fff;font-weight:800}
.hx-grade-b{background:#5f9a2a}.hx-grade-c{background:#c98a12}.hx-grade-d{background:#d2631f}.hx-grade-f{background:#b3261e}
.hx-spark{display:block;width:100%;max-width:240px;height:40px;margin:8px 0}.hx-spark polyline{stroke:#0b5f4f}
.hx-summary{margin:4px 0 6px;font-weight:600;color:#1f3a2a}.hx-list{margin:4px 0 8px;padding-left:20px;font-size:14px;line-height:1.55}.hx-new{color:#8f1d16}.hx-res{color:#1d6b3a}
.hx-runs{margin:10px 0 0;padding:0;list-style:none;font-size:14px}.hx-runs li{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;padding:8px 0;border-top:1px solid #e6ede8}
.hx-del{margin-left:auto;padding:5px 12px;border:1px solid #cdb3af;border-radius:8px;background:#fff;color:#8f1d16;font:inherit;font-size:13px;cursor:pointer}
.hx-raw{margin-top:10px}.hx-raw summary{cursor:pointer;color:#0b5f4f;font-weight:700}.hx-raw pre{max-height:260px;overflow:auto;padding:12px;border-radius:10px;background:#f1f5f2;font:12px/1.5 ui-monospace,Menlo,monospace}

.hx-share{margin-top:22px;padding-top:18px;border-top:1px solid #e3ebe5}.hx-share h3{margin:0 0 4px;font-size:18px;color:#14261c}
.hx-share-form{display:flex;flex-wrap:wrap;gap:10px 12px;align-items:center;margin:8px 0}.hx-share-form select{padding:9px 12px;border:1px solid #b9c9be;border-radius:8px;font:inherit}
.hx-share-result{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0}.hx-share-result[hidden]{display:none}.hx-share-result input{flex:1;min-width:240px;padding:10px 12px;border:1px solid #b9c9be;border-radius:8px;font:13px ui-monospace,Menlo,monospace}
