:root { font-family: system-ui, sans-serif; color: #201943; background: #f3f1fb; line-height: 1.5; }
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, p { margin: 0 0 .75rem; }
h1 { line-height: 1.12; font-size: clamp(2rem, 5vw, 2.8rem); }
h2 { font-size: 1.3rem; }
.eyebrow { color: #4b35af; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.muted { color: #5e5875; }
.access { display: grid; grid-template-columns: 1fr 1fr; max-width: 960px; margin: max(2rem, 8vh) auto; width: calc(100% - 2rem); overflow: hidden; border-radius: 1.5rem; box-shadow: 0 18px 65px #39247e26; }
.access-intro, .access-form { padding: clamp(1.5rem, 5vw, 3.5rem); }
.access-intro { background: linear-gradient(140deg, #ebe6ff, #d7d9ff); }
.access-form { background: #fff; align-content: center; }
.illustration { display: block; width: min(100%, 18rem); margin: 1.5rem auto; }
.intro-title { font-size: 1.4rem; font-weight: 750; }
label { display: block; font-weight: 650; margin-bottom: 1rem; }
input, textarea, select { display: block; width: 100%; margin-top: .35rem; border: 1px solid #a39ab8; border-radius: .6rem; padding: .65rem .75rem; background: #fff; color: inherit; font: inherit; }
textarea { resize: vertical; }
button { font: inherit; font-weight: 650; padding: .55rem .9rem; border-radius: .65rem; color: #392683; background: #f1edff; border: 1px solid #dcd3fc; cursor: pointer; }
button.primary { color: #fff; background: #5035c0; border-color: #5035c0; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 3px solid #5b38d6; outline-offset: 3px; }
#login-feedback { color: #842747; margin-top: .85rem; min-height: 1.5em; }
.dashboard { max-width: 1160px; margin: 2rem auto; width: calc(100% - 2rem); }
.dashboard-header { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1rem; align-items: start; }
.card { background: #fff; border: 1px solid #e4def2; border-radius: 1rem; padding: clamp(1rem, 3vw, 1.6rem); min-width: 0; }
.actions { display: flex; gap: .5rem; flex-wrap: wrap; }
#feedback { margin-top: .8rem; color: #493398; }
#incidents { list-style: none; margin: 0; padding: 0; }
#incidents li { padding: .9rem 0; border-top: 1px solid #e4def2; overflow-wrap: anywhere; }
#incidents p { margin: .35rem 0 .7rem; white-space: pre-wrap; }
@media (max-width: 700px) {
  .access, .dashboard-grid { grid-template-columns: 1fr; }
  .access { margin: 1rem auto; }
  .illustration { width: 7rem; margin: .5rem 0; }
}
