:root{ --eaw-border: #d7dbe0; --eaw-muted: #5d6673; --eaw-accent: #1f6feb; --eaw-danger: #b42318; }
body{ font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #1f2937; background: #f7f8fa; }
.eaw-admin-body{ margin: 0; }
/* The container's gutter is the design system's `--gutter` token, never a literal: `.eca-container`
   (ui-system.css) pads with it, and `eaw-container` is the older page-local name that still has
   consumers. Both take the same token, so two pages of one app cannot sit 3px apart. */
.eaw-container{ max-width: 1100px; margin: 2rem auto; padding: 0 var(--gutter); }
h1, h2, h3, h4{ line-height: 1.25; }
h1{ border-bottom: 1px solid var(--eaw-border); padding-bottom: .5rem; }
.field{ margin-bottom: .9rem; }
.fields{ display: flex; flex-wrap: wrap; gap: .8rem; }
.fields > .field{ flex: 1 1 220px; }
label{ display: block; font-weight: 600; margin-bottom: .25rem; }
input, select, textarea{ width: 100%; box-sizing: border-box; padding: .5rem .6rem; border: 1px solid var(--eaw-border); border-radius: 4px; background: #fff; font: inherit; }
input[type="checkbox"], input[type="radio"]{ width: auto; }
textarea{ min-height: 6rem; }

button, .button{ display: inline-block; padding: .45rem .8rem; margin: .1rem; border: 1px solid var(--eaw-border); border-radius: 4px; background: #fff; color: #1f2937; text-decoration: none; cursor: pointer; font: inherit; }
button:hover, .button:hover{ border-color: #9aa4b2; }

table{ width: 100%; border-collapse: collapse; background: #fff; }
table th, table td{ padding: .55rem .6rem; border-bottom: 1px solid var(--eaw-border); text-align: left; vertical-align: top; }
table thead th{ background: #f1f3f6; }
.menu{ display: flex; flex-wrap: wrap; gap: .25rem; align-items: center; background: #fff; border: 1px solid var(--eaw-border); border-radius: 4px; padding: .25rem; }
.menu .item{ padding: .4rem .6rem; color: #1f2937; text-decoration: none; border-radius: 3px; }
.menu .item.active{ background: #e8f0fe; color: #174ea6; font-weight: 600; }

.message, .notification{ padding: .6rem .8rem; border: 1px solid var(--eaw-border); border-radius: 4px; margin-bottom: .8rem; background: #fff; }
.notification-error{ background: #fde8e8; border-color: #f3b7b7; }
.notification-success{ background: #e7f6e7; border-color: #b7dfb7; }
.segment{ background: #fff; border: 1px solid var(--eaw-border); border-radius: 4px; padding: .8rem; margin-bottom: .8rem; }

.event{ display: flex; gap: .6rem; padding: .5rem 0; border-bottom: 1px solid #eef1f5; }
.creator-img{ flex: 0 0 auto; }

@media (max-width: 720px) {  .fields{ flex-direction: column; }
/* `flex-basis` is a WIDTH in a row box and a HEIGHT once the container becomes a column,
so `flex: 1 1 220px` made every stacked field 220px tall on a phone — the directory
form scrolled through two screens of white space (measured 2026-11-06, 390px). */
.fields > .field{ flex: 0 0 auto; } }

/* ── demo mask ────────────────────────────────────────────────────────────────
A masked value (`░`, from elementum-core-user's redaction) is drawn in CSS, never with the
glyph: U+2591 resolves to a different face on every client (DejaVu on Ubuntu, Segoe UI Symbol
on Windows, Noto on Android, Apple Symbols on macOS) and to tofu where no font has it, so the
same mask measured 9.92px per cell on one page and 14.27px on another *on the same machine*.
Geometry is em-based, so the mask keeps its proportion to whatever text it sits in — the
profile's 16.5px records and the directory's 14px table cells alike.
One component (`MaskFrags.text`) serves both pages. */
.eca-maskline{ white-space: nowrap; }
.eca-mask{
display: inline-block;
vertical-align: -.04em;
width: calc(var(--mask-cols, 3) * .62em);
height: .58em;
border-radius: 1px;
background-color: transparent;
background-image: radial-gradient(currentColor 40%, transparent 42%);
background-size: 2.5px 2.5px;
color: #66756f;
}
