/* additions on top of the prototype design system (thaya.css) */
.login-box{max-width:420px;margin:12vh auto;padding:36px;border-radius:20px;background:#fff;box-shadow:0 20px 60px rgba(43,11,75,.18);text-align:center}
.login-box img{height:56px;margin-bottom:18px}
.login-box h1{font-family:var(--font-display,'Prompt');font-size:24px;color:#2b0b4b;margin-bottom:6px}
.login-box p{color:#75657f;font-size:14px;margin-bottom:22px}
.login-box .btn{width:100%;justify-content:center;min-height:48px}
.dev-users{margin-top:18px;text-align:left;font-size:13px}
.dev-users button{display:block;width:100%;text-align:left;padding:8px 10px;border:1px solid #e6daef;border-radius:10px;margin-top:6px;background:#faf7fc;cursor:pointer}
.row-acts{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.list-row{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #f0e8f5}
.list-row:last-child{border-bottom:0}
.list-row .tx{flex:1;min-width:0}
.list-row .tx b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.list-row .meta{font-size:12.5px;color:#75657f;display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
.tag{display:inline-flex;align-items:center;padding:1px 8px;border-radius:99px;font-size:12px;background:#f0e8f5;color:#42087a}
.tag.bad{background:#fde8e8;color:#b4232c}.tag.warn{background:#fff3d6;color:#8a5a00}.tag.ok{background:#e3f1ea;color:#1f7a52}.tag.gold{background:#fff6dc;color:#89610a}
.mtar{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.mtar-i{border:1px solid #e3f1ea;background:#f6fbf8;border-radius:14px;padding:14px;display:grid;grid-template-columns:1fr auto;gap:6px;align-items:center}
.mtar-i.behind{border-color:#f5d0d0;background:#fff8f8}
.mtar-i .n{font-family:var(--font-display,'Prompt');font-weight:600;font-size:18px}
.mtar-i.behind .n{color:#b4232c}.mtar-i .n{color:#1f7a52}
.mtar-i .s{grid-column:1;font-size:12.5px;color:#75657f}
.wfil{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#f3ecfa;border:1px solid #d9c6ee;border-radius:10px;padding:8px 12px;margin:0 0 12px;font-size:13.5px}
.wfil .btn{margin-left:auto}
.links-in{min-height:110px;font-family:ui-monospace,monospace;font-size:13px}
.ver{font-size:12.5px;color:#75657f;margin-top:4px}
.timeline{list-style:none;padding:0;margin:0;font-size:13.5px}
.timeline li{padding:6px 0;border-bottom:1px dashed #eee}
.empty{padding:22px;text-align:center;color:#75657f}
.chk{width:18px;height:18px}
.sc-parts{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:6px;font-size:11.5px;color:rgba(255,255,255,.75)}
.sc-parts b{color:#fff}
.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.filters .input,.filters .select{max-width:220px}
.spin{opacity:.6;pointer-events:none}
.pill{white-space:nowrap}
@media (max-width:767px){ body.has-bnav .content{padding-bottom:84px} .row-acts{justify-content:flex-start} }
/* phone bottom bar */
.bnav{display:none}
@media (max-width:767px){
  .bnav{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;position:fixed;left:0;right:0;bottom:0;z-index:40;background:#fff;border-top:1px solid #e6daef;padding:6px 4px calc(6px + env(safe-area-inset-bottom))}
  .bnav a{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px;color:#75657f;text-decoration:none;position:relative;padding:4px 0;min-height:44px;justify-content:center}
  .bnav a.on{color:#42087a;font-weight:600}
  .bnav svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .bnav i{position:absolute;top:0;right:22%;background:#b4232c;color:#fff;font-style:normal;font-size:10px;border-radius:99px;padding:0 5px;line-height:15px}
}
.login .err{background:#fde8e8;color:#b4232c;border-radius:10px;padding:10px 12px;font-size:13.5px}
.mut{color:#75657f}
.me>svg{flex:none;width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:.7}
.list-row .meta .tag,.list-row .meta .pill{white-space:nowrap}
@media (max-width:767px){
  .list-row{flex-wrap:wrap}
  .list-row>.row-acts,.list-row>.btn{margin-left:auto}
  .list-row .tx b{white-space:normal}
}
/* ---- audit Nov 2026 ---- */
.link{text-align:left}
body.busy .modal button[type=submit],body.busy .modal .acts .btn-dark,body.busy .modal .acts .btn-gold,body.busy [data-ok],body.busy [data-xok],body.busy [data-xno]{opacity:.55;pointer-events:none}
#view[aria-busy=true]{opacity:.55;transition:opacity .15s}
.splash{position:fixed;inset:0;display:flex;flex-direction:column;gap:14px;align-items:center;justify-content:center;background:#1a0530;color:#e9dcf5;font-size:14px;z-index:100}
.splash img{height:54px}
.help-n{flex:none;width:28px;height:28px;border-radius:50%;background:#42087a;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:600}
.list-row .meta{line-height:1.55}
.kpi .foot b{font-weight:600}
.kpi{min-width:0}.kpi .val{overflow-wrap:anywhere}
.fineprint{font-size:12.5px;color:#75657f;margin-top:10px}
.btn-ghost-bad{color:#b4232c;border-color:#f1c9c9;background:#fff}
tr.click{cursor:pointer}
.err:empty{display:none}
.err{color:#b4232c;font-size:13.5px}
@media (max-width:767px){
  .list-row{align-items:flex-start}
  .list-row>.tag{margin-top:3px}
  .list-row>.row-acts{flex-basis:100%;justify-content:flex-end}
  .list-row>.chk{margin-top:3px}
  .filters .input,.filters .select{max-width:none;flex:1 1 140px}
  .modal .acts{flex-wrap:wrap}
  .modal .acts .btn{flex:1 1 auto;justify-content:center;min-height:44px}
  .btn-sm{min-height:36px}
}
.sm-only{display:none}
@media (max-width:767px){ .hm{display:none} .sm-only{display:inline} td.nowrap{white-space:nowrap} }
