*{box-sizing:border-box}
:root{font-family:system-ui,sans-serif;color:#30243f;background:#fff8ed;line-height:1.5}
[hidden]{display:none!important}
body{margin:0}
header{background:#eadfff;padding:18px max(24px,calc((100% - 1032px)/2));display:flex;align-items:center;gap:12px}
header strong,header small{display:block}
.mark{display:grid;place-items:center;width:42px;height:42px;background:#613fc0;border-radius:13px;color:#fff;font-size:24px}
main{max-width:1080px;margin:0 auto;padding:24px}
h1{line-height:1.1}
form#login{max-width:440px}
nav{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid #d9c9df;padding-bottom:12px}
nav button{background:#eadfff;color:#30243f}
nav [aria-current=true]{background:#613fc0;color:white}
button{background:#613fc0;color:white;border:0;border-radius:12px;padding:9px 16px;cursor:pointer;font:inherit}
button:disabled{opacity:.5;cursor:wait}
label{display:block;margin-bottom:10px}
input:not([type=checkbox]),textarea{display:block;width:100%;border:1px solid #d8c9dd;background:#fff;color:inherit;border-radius:9px;padding:8px;font:inherit}
fieldset,.book{border:1px solid #dccde5;border-radius:17px;padding:16px;margin:15px 0;background:#fffcf6}
.book{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:end}
.book strong{grid-column:1/-1}
.book button{justify-self:start}
#message{min-height:24px;color:#613fc0}
.table-wrap{overflow:auto}
table{border-collapse:collapse;width:100%;white-space:nowrap}
td,th{text-align:left;border-bottom:1px solid #dccde5;padding:10px}
@media(max-width:650px){.book{grid-template-columns:1fr}}
