.admin{max-width:900px;padding-block:32px 70px}
.admin h1{font-size:clamp(2.4rem,7vw,3.4rem);margin-bottom:18px}
#notice{color:var(--gold-hi);margin-bottom:14px}
#notice:empty{display:none}
#login{max-width:420px;margin:0 auto}
#login h1{font-size:2.4rem;margin:0}
.tools{display:flex;flex-wrap:wrap;gap:14px;align-items:end;justify-content:space-between}
.tools label{min-width:180px}
#count,#childcount,#newscount,#reportcount{margin:16px 0}
.cards{display:grid;gap:16px;margin-bottom:20px}
.card{background:var(--deep);border:2px solid var(--gold-lo);border-radius:8px;padding:20px;display:grid;gap:12px;min-width:0;overflow-wrap:anywhere}
.card h2{font-size:1.5rem}
.card dl{display:grid;grid-template-columns:auto 1fr;gap:4px 16px;margin:0}
.card dt{color:var(--mist)}
.card dd{margin:0;min-width:0;white-space:pre-wrap}
.card .tools{justify-content:flex-start}
.card .tools label{min-width:160px}
.card .btn{justify-self:start}
.btn:disabled{opacity:.6;cursor:wait}

/* section switcher */
.tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px;border-bottom:2px solid var(--gold-lo);padding-bottom:12px}
.tabs button{font:600 .98rem var(--body);color:var(--white);background:none;border:2px solid var(--gold-lo);border-radius:999px;padding:8px 16px;cursor:pointer}
.tabs button[aria-pressed="true"]{background:var(--foil);border-color:var(--gold);color:var(--deep)}
.words{white-space:pre-wrap}

/* Chat keys */
#keys h2{font-size:1.6rem;margin:30px 0 10px}
#keys form{margin-top:14px}
#keys .small{margin-bottom:8px}
.output{display:grid;gap:14px;margin-top:14px;min-width:0}
.output:empty{display:none}
.output .btn{justify-self:start}
.copybox{display:grid;gap:8px;justify-items:start}
.copybox label{justify-self:stretch}
.copybox textarea{font:400 14px/1.4 ui-monospace,Menlo,Consolas,monospace;overflow-wrap:anywhere;word-break:break-all}
#keys label.check{display:flex;gap:10px;align-items:flex-start;font-weight:400}
#keys label.check input{width:22px;height:22px;flex:none;padding:0}
.passcode{font:600 1.7rem/1.3 ui-monospace,Menlo,Consolas,monospace;color:var(--gold-hi);letter-spacing:.04em;user-select:all;overflow-wrap:anywhere}
.reportphoto img{display:block;max-width:100%;max-height:360px;border-radius:6px}
