:root { color-scheme: light; font: 1rem/1.55 system-ui, sans-serif; color: #152a30; background: #f1f6f5; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { background: #142f35; color: #f7fffd; }
.frame { width: min(70rem, 100% - 2rem); margin-inline: auto; }
.top, .heading { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.top { min-height: 4rem; }
#identity { margin-inline-start: auto; }
header a { color: #c7f2e2; }
main { padding-block: 2.5rem; }
h1, h2 { line-height: 1.2; }
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 0; }
h2 { font-size: 1.4rem; margin-block-start: 0; }
button, input, select, textarea { font: inherit; }
button, input, select, textarea { border: 1px solid #779098; border-radius: .5rem; padding: .55rem .75rem; }
button { background: #006550; color: white; border-color: #006550; cursor: pointer; margin: .2rem .3rem .2rem 0; }
button:disabled { opacity: .6; cursor: wait; }
button.secondary { color: #164139; background: white; }
:focus-visible { outline: 3px solid #007d69; outline-offset: 3px; }
#records { margin-block-start: 1rem; display: grid; gap: .65rem; }
article { padding: 1rem; background: #fff; border: 1px solid #c8d8d8; border-radius: .7rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; overflow-wrap: anywhere; }
article p { margin: 0; }
article a { color: #0a5249; }
time { color: #48626a; font-size: .875rem; }
dialog { width: min(34rem, 100% - 2rem); max-height: 88vh; border: 1px solid #9dafaf; border-radius: .8rem; padding: 1.4rem; color: inherit; overflow-wrap: anywhere; }
dialog::backdrop { background: #102c38aa; }
dialog label { display: block; margin-bottom: .65rem; }
dialog input:not([type=checkbox]), dialog textarea { display: block; width: 100%; }
dl { margin-block: 1rem; }
dt { font-weight: bold; }
dd { margin: 0 0 .8rem; white-space: pre-wrap; }
.feedback { color: #853610; }
.panel { background:white; padding:1.5rem; border:1px solid #c8d8d8; border-radius:.7rem; margin:2rem auto; max-width:26rem; }
.fields label { display:block; margin:.7rem 0; }
.fields label input:not([type=checkbox]) { display:block; width:100%; }
.table { overflow:auto; margin-block-start:1rem; }
table { width:100%; border-collapse:collapse; background:white; }
th,td { text-align:left; padding:.65rem; border-bottom:1px solid #c8d8d8; overflow-wrap:anywhere; }
th { background:#def0ec; }
td a { color:#0a5249; }
pre { white-space:pre-wrap; overflow-wrap:anywhere; }
#permissions select { display:block; width:100%; margin:.25rem 0; }
#record-options { max-height:18rem; overflow:auto; overflow-wrap:anywhere; }
#record-options label { margin:.45rem 0; }
.button-link { display:inline-block; padding:.55rem .75rem; margin:.2rem .3rem .2rem 0; border:1px solid #006550; border-radius:.5rem; background:white; color:#164139; text-decoration:none; }
.access-layout { display:grid; grid-template-columns:minmax(0,2fr) minmax(17rem,1fr); gap:1rem; margin-block-start:1rem; align-items:start; }
.access-card { background:white; padding:1.25rem; border:1px solid #c8d8d8; border-radius:.7rem; }
.view-switch button[aria-pressed="false"] { background:white; color:#164139; }
#brand-permissions select { display:block; width:100%; margin:.25rem 0; }
#user-options { max-height:18rem; overflow:auto; overflow-wrap:anywhere; }
#user-options label { margin:.45rem 0; }
@media (max-width:44rem) { .access-layout { grid-template-columns:1fr; } }
