/* Contracts Dashboard — copied from the prototype (docs/design/prototype/markup.html <helmet><style>), plus the few rules the server-rendered forms need (marked below). */
body{margin:0}
a{color:#0969da}a:hover{color:#0550ae}
.app{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px;line-height:1.5;color:#1f2328;background:#f6f8fa;min-height:100vh}
.app code,.app pre,.mono{font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;font-size:12.5px}
.app code{background:#eff2f5;border-radius:4px;padding:1px 5px;color:#1f2328;overflow-wrap:anywhere}
.app h2{font-size:22px;margin:0;font-weight:600;line-height:1.25}
.app h3{font-size:16px;margin:0;font-weight:600}
.app p{margin:0}
.hdr{display:flex;flex-wrap:wrap;gap:4px 20px;align-items:center;padding:0 20px;background:#24292f;color:#fff}
.nav{background:none;border:0;border-bottom:3px solid transparent;border-top:3px solid transparent;color:#fff;font:inherit;padding:11px 2px;cursor:pointer}
.nav:hover{border-bottom-color:#8c959f}
.hbtn{background:none;border:1px solid #8c959f;color:#fff;border-radius:6px;font:inherit;padding:4px 10px;cursor:pointer}
.hsel{background:#24292f;border:1px solid #8c959f;color:#fff;border-radius:6px;font:inherit;padding:4px 6px}
.lang{border:1px solid #8c959f;font:inherit;font-weight:600;padding:4px 9px;cursor:pointer}
.muted{color:#57606a;font-size:12.5px}
.lbl{color:#57606a;font-size:11.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.tw{overflow-x:auto}
.t{background:#fff;border-top:1px solid #d0d7de;border-left:1px solid #d0d7de}
.r{display:grid}
.c{border-right:1px solid #d0d7de;border-bottom:1px solid #d0d7de;padding:7px 11px;min-width:0;box-sizing:border-box}
.th{background:#eaeef2;font-weight:600}
.pass{background:#dafbe1}.fail{background:#ffebe9}.none{background:#fff;color:#57606a}.amber{background:#fff8c5}.unknown{background:#eaeef2}
.card{background:#fff;border:1px solid #d0d7de;border-radius:6px}
.cellbtn{display:block;width:100%;height:100%;text-align:left;background:none;border:0;padding:11px 12px;font:inherit;color:inherit;cursor:pointer}
.cellbtn:hover{box-shadow:inset 0 0 0 2px #24292f}
.cellbtn:focus-visible,.btn:focus-visible,.lnk:focus-visible,.nav:focus-visible,.lang:focus-visible{outline:2px solid #0969da;outline-offset:1px}
.btn{background:#fff;border:1px solid #afb8c1;border-radius:6px;font:inherit;padding:4px 11px;cursor:pointer;color:#1f2328;min-height:30px}
.btn:hover{background:#f3f4f6}
.btn.pri{background:#24292f;border-color:#24292f;color:#fff;font-weight:600}
.btn.pri:hover{background:#32383f}
.act{display:inline-flex;align-items:center;gap:5px;background:none;border:0;border-radius:6px;padding:3px 8px 3px 6px;margin-left:-6px;font:inherit;font-weight:600;color:#0969da;cursor:pointer;min-height:30px;white-space:nowrap}
.act:hover{background:rgba(9,105,218,.1)}
.act:focus-visible{outline:2px solid #0969da;outline-offset:1px}
.lnk{background:none;border:0;padding:0;font:inherit;color:#0969da;cursor:pointer;text-align:left}
.lnk:hover{text-decoration:underline}
.inp{font:inherit;border:1px solid #afb8c1;border-radius:6px;padding:6px 8px;background:#fff;color:#1f2328;box-sizing:border-box;min-height:34px}
.pill{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:1px 9px;font-size:12.5px;font-weight:600;white-space:nowrap}
.tag{display:inline-block;border:1px solid #afb8c1;border-radius:4px;padding:0 6px;font-size:12px;font-weight:600;background:#fff;color:#1f2328}
.vp{color:#116329}.vf{color:#a40e26}.vn{color:#57606a}.va{color:#7d4e00}
.vd{font-weight:600;display:inline-flex;gap:6px;align-items:center}
.ico{flex:none}
/* --- server-rendered additions --- */
a.nav{display:inline-block;text-decoration:none}
a.nav:hover{color:#fff}
.nav.on{border-bottom-color:#fff;font-weight:600}
.nav.brand{font-weight:700}
.lang{background:transparent;color:#fff}
.lang.on{background:#fff;color:#24292f}
.hdr form{margin:0;display:inline-flex}
.hrole{border:1px solid #8c959f;border-radius:6px;padding:3px 8px;color:#fff}
a.btn,a.act{text-decoration:none;display:inline-flex;align-items:center;box-sizing:border-box}
a.btn{justify-content:center}
a.btn.pri:hover{color:#fff}
a.lnk{text-decoration:none}
form.inl{display:inline;margin:0}
.flash{background:#dafbe1;border:1px solid #4ac26b;border-radius:6px;padding:9px 13px;display:flex;gap:12px;align-items:center;color:#116329}
.errbox{background:#ffebe9;border:1px solid #ff8182;border-radius:6px;padding:9px 13px;color:#a40e26;font-weight:600}
.app details>summary{cursor:pointer}
.js .nojs{display:none}
a.jk{color:inherit;text-decoration:none}
a.jk:hover{text-decoration:underline}
