:root { color-scheme: light; font: 16px/1.6 system-ui, sans-serif; color: #182b45; background: #f2f5fa; }
body { margin: 0; padding: 2rem clamp(1rem, 4vw, 3rem); }
main { max-width: 1180px; margin: auto; }
h1 { font-size: clamp(1.7rem, 4vw, 2.25rem); margin: 0 0 1.2rem; }
h2 { margin: 0 0 .75rem; line-height: 1.3; }
.panel { background: #fff; border: 1px solid #d7e0eb; border-radius: .75rem; overflow: hidden; }
#locked { max-width: 28rem; padding: 1.5rem; }
form label { display: block; font-weight: 600; margin-bottom: .25rem; }
input { width: 100%; box-sizing: border-box; margin-bottom: .8rem; font: inherit; padding: .5rem; border: 1px solid #758ba8; border-radius: .35rem; }
button { color: #164b84; background: #fff; border: 1px solid #758ba8; border-radius: .35rem; font: inherit; cursor: pointer; padding: .4rem .75rem; }
#unlock button { color: #fff; background: #164b84; }
button:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 2px solid #124e9c; outline-offset: 3px; }
#status:not(:empty) { margin: .75rem 0 0; }
#opened header { display: flex; justify-content: space-between; gap: .75rem; align-items: center; }
table { border-collapse: collapse; width: 100%; text-align: left; }
td, th { padding: .6rem .7rem; border-bottom: 1px solid #e1e7f0; vertical-align: top; overflow-wrap: anywhere; }
thead { background: #e7eef7; }
tbody button { color: #124e9c; border: 0; text-decoration: underline; text-align: left; text-underline-offset: .15em; padding: 0; }
dialog { color: #182b45; width: min(33rem, calc(100% - 3rem)); box-sizing: border-box; border: 1px solid #758ba8; border-radius: .75rem; padding: 1.35rem; }
dialog::backdrop { background: #182b4580; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: .7rem 1.1rem; }
dt { color: #37516e; font-weight: 600; }
dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  table, tbody, tr, th, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tbody tr { padding: .65rem 1rem; border-bottom: 1px solid #d7e0eb; }
  tbody th, td { border: 0; padding: .16rem 0; }
  td { display: grid; grid-template-columns: 5.2rem 1fr; gap: .25rem; }
  td::before { content: attr(data-label); color: #37516e; }
}
