/* Portal components on top of ../docs/assets/brief.css (SI-DOC-001 class T). */
.steps{display:flex;flex-wrap:wrap;gap:.35rem;margin:0;padding:0;list-style:none}
.steps button{font:500 .78rem/1 var(--mono);background:none;border:1px solid var(--line);color:var(--muted);border-radius:999px;padding:.45rem .7rem;cursor:pointer}
.steps button[aria-current="step"]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}
.steps button .done{color:var(--accent)}
.panel{display:flex;flex-direction:column;gap:.75rem}
.panel[hidden]{display:none}
form{display:flex;flex-direction:column;gap:.75rem}
label{display:flex;flex-direction:column;gap:.3rem;font-weight:500}
label.check{flex-direction:row;align-items:flex-start;gap:.55rem;font-weight:400}
label.check input{margin-top:.35rem}
.hint{font-weight:400;font-size:.88rem;color:var(--muted)}
input[type=text],input[type=password],input[type=url],input[type=number],input[type=datetime-local],select,textarea{font:400 .95rem/1.4 var(--body);color:var(--fg);background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:.5rem .6rem;width:100%;box-sizing:border-box}
textarea{min-height:6.5rem;resize:vertical}
input.mono,textarea.mono{font-family:var(--mono);font-size:.85rem}
.row{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
@media (max-width:560px){.grid2{grid-template-columns:1fr}}
.msg{border-radius:6px;padding:.6rem .8rem;font-size:.92rem}
.msg.error{background:#fbe9e5;color:#7a1d0c;border-left:3px solid #b4321a}
.msg.ok{background:var(--accent-soft);color:var(--fg);border-left:3px solid var(--accent)}
:root[data-theme="dark"] .msg.error{background:#3a1710;color:#ffd2c7}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .msg.error{background:#3a1710;color:#ffd2c7}}
.secret{font:500 .9rem/1.4 var(--mono);word-break:break-all;background:var(--surface);border:1px dashed var(--accent);border-radius:6px;padding:.6rem .8rem}
.order{list-style:none;margin:0;padding:0;display:grid;gap:.35rem}
.order li{display:grid;grid-template-columns:4.5rem 1fr auto;gap:.6rem;align-items:center;padding:.45rem .6rem;border-left:3px solid var(--line);background:var(--surface);border-radius:4px}
.order li.si{border-left-color:var(--accent)} .order li.byok{border-left-color:var(--navy)}
.order li b{font:500 .72rem/1.2 var(--mono);color:var(--muted);text-transform:uppercase}
.order li small{display:block;color:var(--muted);font-size:.82rem}
@media (max-width:480px){.order li{grid-template-columns:1fr}}
.masked{-webkit-text-security:disc}
