
:root { --ink: #15181b; --ink-2: #1f2327; --line: #3a4046; --text: #f3f1ec; --muted: #a6adb4; --yellow: #ffd338; --paper: #f6f4ef; --bad: #ffd43b; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--ink); color: var(--text); font: 15px/1.45 system-ui, "Segoe UI", Arial, sans-serif; }
a { color: var(--text); }
button, .button { font: inherit; font-weight: 700; padding: 9px 16px; border: 2px solid var(--yellow); background: var(--yellow); color: var(--ink); cursor: pointer; border-radius: 0; text-decoration: none; display: inline-block; }
button.line, .button.line { background: transparent; color: var(--text); border-color: var(--line); }
button:disabled { opacity: .6; cursor: progress; }
input { font: inherit; font-size: 16px; padding: 11px 12px; border: 2px solid var(--line); background: var(--ink-2); color: var(--text); border-radius: 0; width: 100%; }
input:focus { outline: none; border-color: var(--yellow); }
.login { max-width: 360px; margin: 12vh auto 0; padding: 0 16px; }
.login h1 { font-size: 22px; margin: 0 0 4px; }
.login p { color: var(--muted); margin: 0 0 22px; }
.login label { display: block; margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.login label input { margin-top: 4px; }
.login button { width: 100%; padding: 13px; margin-top: 6px; }
.msg { min-height: 1.4em; margin: 12px 0 0; color: var(--bad); }
header { display: flex; align-items: center; gap: 18px; padding: 0 16px; height: 52px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
header b { font-size: 16px; white-space: nowrap; }
header b span { color: var(--muted); font-weight: 400; }
nav { display: flex; gap: 2px; flex: 1; overflow-x: auto; }
nav button { background: transparent; color: var(--muted); border: 0; border-bottom: 3px solid transparent; padding: 14px 12px 11px; white-space: nowrap; }
nav button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--yellow); }
.page { position: absolute; top: 53px; left: 0; right: 0; bottom: 0; }
.page[hidden] { display: none; }
iframe { border: 0; width: 100%; height: 100%; background: var(--paper); display: block; }
.own { padding: 22px 16px; overflow: auto; height: 100%; }
.own h2 { font-size: 18px; margin: 0 0 6px; }
.own .note { color: var(--muted); margin: 0 0 16px; max-width: 60em; }
.tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 0 0 16px; }
table { border-collapse: collapse; width: 100%; max-width: 980px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 13px; }
td button { padding: 4px 10px; font-size: 13px; }
.count { font-size: 28px; font-weight: 700; }
