:root {
  --bg: #f6f7f9; --card: #fff; --ink: #1c2330; --muted: #5d6676; --line: #dfe3ea;
  --brand: #1f4fa3; --ok: #1d7a46; --warn: #a85b00; --bad: #b3261e;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.7 system-ui, "Segoe UI", Tahoma, sans-serif; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.latin { direction: ltr; unicode-bidi: isolate; display: inline-block; font-family: ui-monospace, Menlo, monospace; font-size: 0.92em; font-variant-numeric: tabular-nums; }
header.top { background: var(--card); border-bottom: 1px solid var(--line); padding: 0.6rem 1rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
header.top nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; flex: 1; }
header.top .langs { display: flex; gap: 0.5rem; }
header.top .langs a.current { font-weight: 700; color: var(--ink); }
main { max-width: 860px; margin: 1.5rem auto; padding: 0 1rem; }
h1 { font-size: 1.4rem; margin: 0 0 1rem; }
h2 { font-size: 1.1rem; margin: 1.75rem 0 0.5rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1rem; margin-bottom: 1rem; }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
th { background: #eef1f6; font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.muted { color: var(--muted); }
.badge { display: inline-block; padding: 0 0.6rem; border-radius: 999px; background: #e8ecf3; font-size: 0.85rem; }
.badge.ok { background: #dff3e6; color: var(--ok); }
.badge.warn { background: #fdecd3; color: var(--warn); }
.badge.bad { background: #fbe0de; color: var(--bad); }
.notice { padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1rem; border: 1px solid var(--line); background: #eef1f6; }
.notice.bad { background: #fbe0de; border-color: #f0b8b4; }
.notice.ok { background: #dff3e6; border-color: #b4dcc2; }
form.inline { display: inline; }
label { display: block; margin: 0.5rem 0 0.25rem; font-weight: 600; }
input[type=text], input[type=email], input[type=file], textarea { width: 100%; max-width: 28rem; padding: 0.5rem 0.6rem; border: 1px solid var(--line); border-radius: 6px; font: inherit; background: #fff; }
textarea { min-height: 6rem; max-width: 40rem; }
button, .button { font: inherit; padding: 0.45rem 1.1rem; border-radius: 6px; border: 1px solid var(--brand); background: var(--brand); color: #fff; cursor: pointer; display: inline-block; }
button.secondary { background: #fff; color: var(--brand); }
button:disabled { opacity: 0.5; cursor: not-allowed; }
.actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.msg { padding: 0.5rem 0.75rem; border-radius: 8px; margin-bottom: 0.5rem; max-width: 36rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.me { background: #e6eefb; }
.msg.team { background: var(--card); border: 1px solid var(--line); margin-inline-start: auto; }
.msg small { display: block; color: var(--muted); }
.login { max-width: 26rem; margin: 4rem auto; }
.cell-upload form { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.cell-upload input[type=file] { max-width: 16rem; }
/* Public feedback form */
fieldset { border: 1px solid var(--line); border-radius: 8px; margin: 0 0 1rem; padding: 0.5rem 1rem 0.75rem; }
legend { font-weight: 600; padding: 0 0.4rem; }
label.choice { display: inline-block; font-weight: 400; margin: 0.2rem 1rem 0.2rem 0; }
[dir=rtl] label.choice { margin: 0.2rem 0 0.2rem 1rem; }
.dim { margin: 0.5rem 0; }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
h3 { font-size: 1rem; margin: 0.75rem 0 0.25rem; }
