.edge-modern .ec-page { --ec-ease: cubic-bezier(.2,.8,.2,1); min-width: 0; padding: 0 0 72px; color: var(--edge-text-primary); }
.ec-page > * { transition: opacity 120ms ease-out; }
.ec-page.is-busy > :not(.ec-hero):not(.ec-subnav):not(.ec-crumbs):not(.ec-search) { opacity: .55; }
.ec-page.is-entering > :not(.ec-hero):not(.ec-subnav), .ec-page [data-ec-region].is-entering { animation: ec-enter 140ms ease-out backwards; }
@keyframes ec-enter { from { opacity: .35; } to { opacity: 1; } }
.edge-modern .ec-page a.edge-button, .edge-modern .ec-page button.edge-button, .edge-modern .ec-dialog .edge-button { gap: 6px; white-space: nowrap; }
.edge-modern .ec-page .edge-button.is-danger { color: var(--edge-danger); }
.edge-modern .ec-page .edge-button.is-danger:hover { background: var(--edge-danger-low); }
.ec-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.ec-crumbs { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--edge-text-muted); font-size: 14px; white-space: nowrap; }
.ec-crumbs > i { font-size: 10px; }
.edge-modern .ec-crumbs a { color: var(--edge-text-secondary); transition: color var(--edge-transition-fast); }
.edge-modern .ec-crumbs a:hover, .edge-modern .ec-crumbs a.is-pending { color: var(--edge-primary); }
.ec-crumbs > span { overflow: hidden; min-width: 0; color: var(--edge-text-primary); text-overflow: ellipsis; }

.ec-hero { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.ec-hero__text { min-width: 0; }
.ec-eyebrow { margin: 0 0 7px; color: var(--edge-text-muted); font: 700 11px/1.4 var(--font-family-roboto-mono, monospace); letter-spacing: .1em; text-transform: uppercase; }
.edge-modern .ec-hero h1 { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--edge-text-primary); font-size: 28px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.ec-hero__icon { display: inline-flex; flex: none; }
.ec-hero__icon svg { width: 26px; height: 26px; }
.ec-hero__text > p:last-child { max-width: 680px; margin: 7px 0 0; color: var(--edge-text-secondary); font-size: 14px; line-height: 1.6; }
.ec-hero__side { display: flex; flex: 0 0 auto; flex-wrap: wrap; align-items: center; gap: 8px; }
.ec-hero__side form { margin: 0; }
.edge-modern .ec-follow.is-on { border-color: color-mix(in srgb, var(--edge-primary) 40%, transparent); background: var(--edge-primary-low); color: var(--edge-primary); }
.ec-about { margin: -4px 0 18px; }
.edge-modern .ec-about > p { max-width: 820px; margin: 0 0 10px; color: var(--edge-text-secondary); font-size: 14px; line-height: 1.7; }
.ec-about ul { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; color: var(--edge-text-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.ec-about li strong { margin-right: 4px; color: var(--edge-text-primary); font-weight: 600; }

.ec-subnav { display: flex; gap: 8px; min-height: 38px; margin: 0 0 16px; overflow-x: auto; border-bottom: 1px solid var(--edge-border); scrollbar-width: none; }
.ec-subnav::-webkit-scrollbar { display: none; }
.edge-modern .ec-subnav a { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; padding: 0 10px; color: var(--edge-text); font-size: 16px; white-space: nowrap; transition: color var(--edge-transition-fast); }
.ec-subnav a::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--edge-primary); transform: scaleX(0); transition: transform var(--edge-transition-fast); }
.edge-modern .ec-subnav a:hover, .edge-modern .ec-subnav a[aria-current], .edge-modern .ec-subnav a.is-pending { color: var(--edge-primary); }
.ec-subnav a[aria-current]::after, .ec-subnav a.is-pending::after { transform: scaleX(1); }
.ec-subnav a b { display: grid; min-width: 18px; height: 18px; place-items: center; padding: 0 5px; border-radius: var(--edge-radius-pill); background: var(--edge-primary); color: var(--edge-primary-fg); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }

.ec-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin: 0 0 22px; }
.edge-modern .ec-card { display: flex; min-width: 0; flex-direction: column; padding: 16px 18px; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-md); background: var(--edge-surface); color: var(--edge-text-primary); transition: border-color var(--edge-transition-fast), box-shadow 70ms var(--edge-ease-out); }
.edge-modern .ec-card:hover { border-color: var(--edge-border); color: var(--edge-text-primary); }
.ec-card.is-pending, .ec-card:focus-visible { outline: 0; box-shadow: inset 3px 0 0 var(--edge-primary); }
.ec-card__icon { display: inline-flex; }
.ec-card__icon svg { width: 20px; height: 20px; }
.edge-modern .ec-card h2 { margin: 10px 0 6px; font-size: 16px; font-weight: 600; line-height: 1.35; transition: color var(--edge-transition-fast); }
.edge-modern .ec-card:hover h2 { color: var(--edge-primary); }
.ec-card h2 em { margin-left: 8px; padding: 0 6px; border-radius: var(--edge-radius-sm); background: var(--edge-primary-low); color: var(--edge-primary); font-size: 11px; font-style: normal; font-weight: 400; line-height: 18px; vertical-align: 2px; }
.edge-modern .ec-card > p { margin: 0; color: var(--edge-text-secondary); font-size: 13px; line-height: 1.6; }
.ec-card footer { display: flex; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; color: var(--edge-text-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.ec-card footer strong { color: var(--edge-text-primary); font-weight: 600; }

.ec-search { position: relative; display: flex; align-items: center; margin-bottom: 6px; }
.ec-search > i { position: absolute; left: 12px; color: var(--edge-text-muted); font-size: 14px; pointer-events: none; }
.edge-modern .ec-search input[type="search"] { flex: 1 1 auto; min-width: 0; height: 38px; margin: 0; padding: 0 12px 0 36px; border: 1px solid var(--edge-border); border-radius: var(--edge-radius-sm); background: var(--edge-surface); color: var(--edge-text-primary); font: inherit; font-size: 15px; appearance: none; transition: border-color var(--edge-transition-fast), box-shadow var(--edge-transition-fast); }
.edge-modern .ec-search input[type="search"]:hover { border-color: var(--edge-text-muted); }
.edge-modern .ec-search input[type="search"]:focus { outline: 0; border-color: var(--edge-primary); box-shadow: 0 0 0 1px var(--edge-primary); }
.ec-search input::placeholder { color: var(--edge-text-muted); }

.ec-controls, .ec-toolbar { display: flex; align-items: center; gap: 10px; min-height: 48px; border-bottom: 1px solid var(--edge-border); }
.ec-count { color: var(--edge-text-muted); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ec-count strong { color: var(--edge-text-primary); font-weight: 600; }
.edge-modern .ec-count a { margin-left: 12px; color: var(--edge-primary); }
.ec-controls__side { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; margin-left: auto; }
.ec-sort { display: flex; gap: 2px; }
.edge-modern .ec-sort a { padding: 4px 10px; border-radius: var(--edge-radius-sm); color: var(--edge-text-secondary); font-size: 13px; line-height: 20px; white-space: nowrap; transition: background-color var(--edge-transition-fast), color var(--edge-transition-fast); }
.edge-modern .ec-sort a:hover { background: var(--edge-surface-hover); color: var(--edge-text-primary); }
.edge-modern .ec-sort a[aria-current], .edge-modern .ec-sort a.is-pending { background: var(--edge-surface-active); color: var(--edge-text-primary); font-weight: 600; }

.ec-drop { position: relative; }
.ec-drop > summary { display: inline-flex; align-items: center; gap: 6px; max-width: 220px; padding: 4px 10px; border-radius: var(--edge-radius-sm); color: var(--edge-text-secondary); font-size: 13px; line-height: 20px; white-space: nowrap; cursor: pointer; list-style: none; user-select: none; transition: background-color var(--edge-transition-fast), color var(--edge-transition-fast); }
.ec-drop > summary::-webkit-details-marker { display: none; }
.ec-drop > summary span { overflow: hidden; text-overflow: ellipsis; }
.ec-drop > summary i { font-size: 11px; transition: transform var(--edge-transition-fast); }
.ec-drop[open] > summary i { transform: rotate(180deg); }
.ec-drop > summary:hover, .ec-drop[open] > summary { background: var(--edge-surface-hover); color: var(--edge-text-primary); }
.ec-drop.is-set > summary { background: var(--edge-primary-low); color: var(--edge-primary); }
.ec-menu { position: absolute; top: calc(100% + 4px); right: 0; z-index: 40; display: grid; min-width: 180px; max-width: min(320px, calc(100vw - 32px)); max-height: 320px; padding: 6px; overflow: auto; overscroll-behavior: contain; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-md); background: var(--edge-surface-raised, var(--edge-surface)); box-shadow: var(--edge-shadow-popover, 0 4px 18px rgba(0,0,0,.18)); animation: ec-menu 140ms var(--ec-ease) backwards; }
@keyframes ec-menu { from { opacity: 0; transform: translateY(-4px); } }
.edge-modern .ec-menu a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 6px 10px; border-radius: var(--edge-radius-sm); color: var(--edge-text-primary); font-size: 14px; line-height: 20px; white-space: nowrap; }
.ec-menu a span { color: var(--edge-text-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.edge-modern .ec-menu a:hover, .edge-modern .ec-menu a:focus-visible { outline: 0; background: var(--edge-surface-hover); }
.edge-modern .ec-menu a[aria-current] { color: var(--edge-primary); font-weight: 600; }

.ec-row { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 219px; align-items: center; min-height: 70px; border-bottom: 1px solid var(--edge-divider); transition: background-color var(--edge-transition-fast), box-shadow 70ms var(--edge-ease-out); }
.ec-row.is-pending, .ec-row:focus-within { box-shadow: inset 3px 0 0 var(--edge-primary); }
.ec-row__main { min-width: 0; padding: 12px 4px 12px 12px; }
.edge-modern .ec-row h2 { margin: 0 0 5px; color: var(--edge-text); font-size: 16px; font-weight: 400; line-height: 1.3; overflow-wrap: anywhere; }
.edge-modern .ec-row h2 a { color: inherit; transition: color var(--edge-transition-fast); }
.ec-row h2 a::before { content: ""; position: absolute; inset: 0; }
.ec-row h2 a:focus-visible { outline: 0; }
.ec-row h2 em, .ec-status { display: inline-block; margin-left: 8px; padding: 0 6px; border-radius: var(--edge-radius-sm); background: var(--edge-surface-active); color: var(--edge-text-secondary); font-size: 11px; font-style: normal; font-weight: 400; line-height: 18px; white-space: nowrap; vertical-align: 2px; }
.ec-row h2 em.is-featured, .ec-row h2 em.is-pinned { background: var(--edge-primary-low); color: var(--edge-primary); }
.ec-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; margin: 0; color: var(--edge-text-muted); font-size: 13.93px; line-height: 19.5px; }
.ec-row__meta > a, .ec-row__meta .edge-tags { position: relative; }
.edge-modern .ec-row__author { display: inline-flex; align-items: center; gap: 5px; color: var(--edge-text-secondary); }
.ec-row__author img { display: block; width: 18px; height: 18px; border-radius: 50%; }
.edge-modern .ec-row__col { color: var(--edge-text-muted); }
.edge-modern .ec-row__author:hover, .edge-modern .ec-row__col:hover { color: var(--edge-primary); }
.ec-row__stats { display: grid; grid-template-columns: 68px 68px 83px; margin: 0; text-align: center; pointer-events: none; }
.ec-row__stats > div { padding: 0 4px; }
.ec-row__stats dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.ec-list__head { display: grid; grid-template-columns: minmax(0,1fr) 68px 68px 83px; align-items: center; min-height: 34px; padding-left: 12px; border-bottom: 1px solid var(--edge-divider); color: var(--edge-text-muted); font-size: 12.5px; text-align: center; }
.ec-list__head span:first-child { text-align: left; }
.ec-row__stats dd { margin: 0; color: var(--edge-text-secondary); font-size: 16px; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ec-row__stats > div:last-child dd { font-size: 13.93px; }
@media (hover: hover) { .edge-modern .ec-row:hover h2 a { color: var(--edge-primary); } }

.ec-row__lock { margin-left: 8px; color: var(--edge-text-muted); font-size: 12px; vertical-align: 1px; }
.ec-join { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0 0; padding: 16px 18px; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-md); background: var(--edge-surface); }
.ec-join strong { font-size: 15px; font-weight: 600; }
.edge-modern .ec-join p { margin: 4px 0 0; color: var(--edge-text-secondary); font-size: 13.5px; line-height: 1.6; }
.ec-join p i { font-size: 11px; }
.ec-join__actions { display: flex; flex: none; gap: 8px; }
.ec-picks__bar { position: sticky; top: var(--edge-header-height, 52px); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 0 10px 12px; border-bottom: 1px solid var(--edge-divider); background: var(--edge-bg, var(--edge-surface)); color: var(--edge-text-muted); font-size: 13px; }
.ec-picks__all { display: inline-flex; align-items: center; gap: 8px; color: var(--edge-text-primary); cursor: pointer; }
.ec-picks__reason { flex: 1 1 220px; min-width: 0; margin-left: auto; }
.ec-picks__reason input { width: 100%; }
.ec-pick { display: grid; grid-template-columns: 16px minmax(0,1fr) 32px; align-items: center; gap: 12px; padding: 11px 0 11px 12px; border-bottom: 1px solid var(--edge-divider); cursor: pointer; transition: background-color var(--edge-transition-fast), box-shadow 70ms var(--edge-ease-out); }
.ec-pick:hover { background: color-mix(in srgb, var(--edge-text-primary) 3%, transparent); }
.ec-pick:has(input:checked) { background: color-mix(in srgb, var(--edge-primary) 10%, transparent); box-shadow: inset 3px 0 0 var(--edge-primary); }
.ec-pick input { margin: 0; }
.ec-pick__main { display: grid; gap: 3px; min-width: 0; }
.ec-pick__title { color: var(--edge-text); font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.ec-pick__title em { display: inline-block; margin-left: 8px; padding: 0 6px; border-radius: var(--edge-radius-sm); background: var(--edge-surface-active); color: var(--edge-text-secondary); font-size: 11px; font-style: normal; line-height: 18px; vertical-align: 1px; }
.ec-pick__title em.is-wait { background: color-mix(in srgb, var(--edge-highlight) 16%, transparent); color: var(--edge-highlight); }
.ec-pick__meta { color: var(--edge-text-muted); font-size: 12.5px; line-height: 1.5; }
.ec-pick__meta > span { margin-left: 8px; color: var(--edge-primary); }
.edge-modern .ec-pick__open { display: grid; width: 32px; height: 32px; place-items: center; border-radius: var(--edge-radius-sm); color: var(--edge-text-muted); font-size: 13px; transition: background-color var(--edge-transition-fast), color var(--edge-transition-fast); }
.edge-modern .ec-pick__open:hover { background: var(--edge-surface-hover); color: var(--edge-text-primary); }
.ec-pages { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 20px 0 0; }
.edge-modern .ec-pages a { min-width: 34px; padding: 6px 10px; border-radius: var(--edge-radius-sm); color: var(--edge-text-secondary); font-size: 14px; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; transition: background-color var(--edge-transition-fast), color var(--edge-transition-fast); }
.edge-modern .ec-pages a:hover, .edge-modern .ec-pages a.is-pending { background: var(--edge-surface-hover); color: var(--edge-text-primary); }
.edge-modern .ec-pages a.is-active { background: var(--edge-surface-active); color: var(--edge-text-primary); font-weight: 600; }
.ec-pages__gap { color: var(--edge-text-muted); }
.ec-pages.is-enhanced { display: none; }
.ec-row.is-appended { animation: edge-topic-enter 280ms ease-out backwards; animation-delay: var(--ec-row-delay, 0ms); }

.ec-empty { padding: 48px 18px; color: var(--edge-text-secondary); text-align: center; }
.edge-modern .ec-empty h2 { margin: 0 0 8px; color: var(--edge-text-primary); font-size: 17px; font-weight: 600; }
.edge-modern .ec-empty p { max-width: 520px; margin: 0 auto 16px; font-size: 14px; line-height: 1.7; }
.ec-feedback { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 14px; padding: 9px 12px; border-left: 3px solid var(--edge-primary); border-radius: 0 var(--edge-radius-sm) var(--edge-radius-sm) 0; background: var(--edge-surface-active); font-size: 14px; line-height: 1.6; }
.ec-feedback.is-error { border-left-color: var(--edge-danger); background: var(--edge-danger-low); }
.ec-feedback[hidden] { display: none; }
.ec-feedback form { margin: 0; }
.ec-link { padding: 0; border: 0; background: none; color: var(--edge-primary); font: inherit; cursor: pointer; }
.ec-link:hover { text-decoration: underline; }
.edge-modern .ec-hint, .edge-modern .ec-form small { margin: 0; color: var(--edge-text-muted); font-size: 12.5px; line-height: 1.6; }

.ec-types { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.edge-modern .ec-types a { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-pill); color: var(--edge-text-secondary); font-size: 13px; line-height: 20px; white-space: nowrap; transition: background-color var(--edge-transition-fast), border-color var(--edge-transition-fast), color var(--edge-transition-fast); }
.ec-types a span { color: var(--edge-text-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.edge-modern .ec-types a:hover { border-color: var(--edge-border); background: var(--edge-surface-hover); color: var(--edge-text-primary); }
.edge-modern .ec-types a[aria-current], .edge-modern .ec-types a.is-pending { border-color: color-mix(in srgb, var(--edge-primary) 40%, transparent); background: var(--edge-primary-low); color: var(--edge-primary); }
.ec-types a[aria-current] span, .ec-types a.is-pending span { color: inherit; opacity: .75; }
.ec-types + .ec-records { border-top: 1px solid var(--edge-border); margin-top: 10px; }

.ec-toolbar { flex-wrap: wrap; padding: 6px 0; }
.ec-toolbar > label:first-of-type, .ec-toolbar > .ec-count + .edge-button { margin-left: auto; }
.ec-toolbar__find input { width: 190px; }
.edge-modern .ec-page input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=search]), .edge-modern .ec-toolbar input[type=search], .edge-modern .ec-picker input[type=search], .edge-modern .ec-page textarea, .edge-modern .ec-page select,
.edge-modern .ec-dialog input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .edge-modern .ec-dialog textarea, .edge-modern .ec-dialog select { box-sizing: border-box; min-width: 0; max-width: 100%; min-height: 34px; margin: 0; padding: 6px 10px; border: 1px solid var(--edge-border); border-radius: var(--edge-radius-sm); background: var(--edge-surface); color: var(--edge-text-primary); font: inherit; font-size: 14px; transition: border-color var(--edge-transition-fast), box-shadow var(--edge-transition-fast); }
.edge-modern .ec-page textarea, .edge-modern .ec-dialog textarea { line-height: 1.6; resize: vertical; }
.edge-modern .ec-page :is(input, textarea, select):not([type=checkbox]):not([type=radio]):focus, .edge-modern .ec-dialog :is(input, textarea, select):not([type=checkbox]):not([type=radio]):focus { outline: 0; border-color: var(--edge-primary); box-shadow: 0 0 0 1px var(--edge-primary); }
.edge-modern .ec-page input[readonly] { color: var(--edge-text-muted); }
.edge-modern .ec-page input[type=color] { width: 56px; padding: 3px; }
.ec-page input[type=checkbox], .ec-page input[type=radio], .ec-dialog input[type=radio] { accent-color: var(--edge-primary); }

.ec-record { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0 16px 12px; border-bottom: 1px solid var(--edge-divider); }
.ec-record.is-pending { box-shadow: inset 3px 0 0 var(--edge-primary); }
.ec-record__main { flex: 1 1 auto; min-width: 0; }
.ec-record__side { display: flex; flex: none; align-items: center; gap: 8px; }
.ec-record__side form { margin: 0; }
.edge-modern .ec-record h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--edge-text); font-size: 16px; font-weight: 400; line-height: 1.4; overflow-wrap: anywhere; }
.edge-modern .ec-record h2 a { color: inherit; }
.edge-modern .ec-record h2 a:hover { color: var(--edge-primary); }
.ec-record__icon { display: inline-flex; flex: none; }
.ec-record__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0; color: var(--edge-text-muted); font-size: 13px; line-height: 20px; }
.edge-modern .ec-record__meta a { color: var(--edge-text-secondary); }
.ec-status { margin-left: 0; vertical-align: 0; }
.ec-status--pending { background: color-mix(in srgb, var(--edge-highlight) 16%, transparent); color: var(--edge-highlight); }
.ec-status--approved, .ec-status--active, .ec-status--published { background: color-mix(in srgb, var(--edge-success) 16%, transparent); color: var(--edge-success); }
.ec-status--rejected, .ec-status--revoked, .ec-status--disabled { background: var(--edge-danger-low); color: var(--edge-danger); }
.edge-modern .ec-record__note { margin: 10px 0 0; padding-left: 12px; border-left: 2px solid var(--edge-border); color: var(--edge-text-secondary); font-size: 14px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.edge-modern .ec-record__reason { margin: 8px 0 0; color: var(--edge-text-primary); font-size: 14px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.ec-record__reason b { margin-right: 8px; color: var(--edge-text-muted); font-size: 12.5px; font-weight: 400; }
.ec-record .ec-hint { margin-top: 8px; }
.ec-history, .ec-fold { margin-top: 8px; }
.ec-tools { display: flex; flex-wrap: wrap; gap: 0 18px; }
.ec-tools > details[open] { flex: 1 0 100%; order: 2; }
.ec-page summary { display: inline-flex; align-items: center; gap: 6px; padding: 2px 0; color: var(--edge-text-secondary); font-size: 13px; cursor: pointer; user-select: none; transition: color var(--edge-transition-fast); }
.ec-page summary:hover, .ec-page details[open] > summary { color: var(--edge-text-primary); }
.ec-history ol { margin: 8px 0 0; padding: 0; list-style: none; }
.ec-history li { display: flex; flex-wrap: wrap; gap: 2px 12px; padding: 4px 0; color: var(--edge-text-secondary); font-size: 13px; line-height: 1.6; }
.ec-history time { color: var(--edge-text-muted); font-variant-numeric: tabular-nums; }
.ec-history b { color: var(--edge-text-primary); font-weight: 400; }
.ec-history del { color: var(--edge-text-muted); }
.ec-history li span { overflow-wrap: anywhere; }
.ec-history pre { max-height: 240px; margin: 8px 0 0; padding: 10px 12px; overflow: auto; border-radius: var(--edge-radius-sm); background: var(--edge-surface-active); font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }

.ec-form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.ec-fold > .ec-form, .ec-fold > .ec-review-form, .ec-fold > .ec-form-grid { margin-top: 12px; }
.ec-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 14px; }
.ec-field > span { color: var(--edge-text-primary); font-weight: 600; }
.ec-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.ec-field--full { grid-column: 1 / -1; }
.ec-checks { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.ec-checks label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.ec-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ec-config { max-width: 820px; padding: 16px 0 0; }
.edge-modern .ec-config > h2, .edge-modern .ec-submit-panel > h2 { margin: 0; font-size: 18px; font-weight: 600; }
.ec-add { padding: 12px 0; border-bottom: 1px solid var(--edge-divider); }
.ec-add .ec-form { max-width: 820px; }
.ec-batch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--edge-divider); color: var(--edge-text-muted); font-size: 13px; }
.ec-order { display: flex; align-items: center; gap: 8px; color: var(--edge-text-muted); font-size: 12.5px; }
.edge-modern .ec-page .ec-order input { width: 84px; }
.ec-review-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; }
.ec-review-form > label { flex: 1 1 240px; min-width: 0; }
.ec-review-form > label input { width: 100%; }
.ec-review-form > p { flex: 1 0 100%; margin: 0; }
.ec-presets { display: flex; flex-wrap: wrap; gap: 6px; }
span.ec-presets { display: inline-flex; margin-left: 8px; }
.ec-presets button { padding: 1px 9px; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-pill); background: transparent; color: var(--edge-text-secondary); font: inherit; font-size: 12.5px; line-height: 20px; cursor: pointer; transition: background-color var(--edge-transition-fast), border-color var(--edge-transition-fast), color var(--edge-transition-fast); }
.ec-presets button:hover { border-color: var(--edge-border); background: var(--edge-surface-hover); color: var(--edge-text-primary); }
.ec-presets button:active { background: var(--edge-surface-active); }
.ec-page form[aria-busy=true], .ec-dialog form[aria-busy=true] { opacity: .7; cursor: progress; }

.ec-submit-panel { max-width: 680px; }
.ec-submit-panel > h2 + * { margin-top: 16px; }
.ec-picked { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; padding: 8px 10px; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-sm); background: var(--edge-surface-active); line-height: 1.5; overflow-wrap: anywhere; }
.ec-picker { display: flex; flex-direction: column; gap: 6px; }
.ec-picker__list { max-height: 196px; overflow: auto; overscroll-behavior: contain; border: 1px solid var(--edge-border); border-radius: var(--edge-radius-sm); }
.ec-picker__list label { display: grid; grid-template-columns: 16px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 7px 10px; cursor: pointer; transition: background-color var(--edge-transition-fast); }
.ec-picker__list label + label { border-top: 1px solid var(--edge-divider); }
.ec-picker__list label:hover { background: var(--edge-surface-hover); }
.ec-picker__list label:has(input:checked) { background: var(--edge-primary-low); box-shadow: inset 3px 0 0 var(--edge-primary); }
.ec-picker__list label[hidden] { display: none; }
.ec-picker__list input { margin: 0; }
.ec-picker__list span { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.ec-picker__list small { white-space: nowrap; }
.ec-picker__empty { padding: 14px 10px; color: var(--edge-text-muted); font-size: 13px; text-align: center; }

.ec-dialog .edge-dialog__container { width: min(640px, 100%); }
.ec-dialog .ec-submit-panel { max-width: none; }
.ec-dialog .ec-submit-panel > h2 { display: none; }
.ec-dialog .ec-submit-panel > h2 + * { margin-top: 0; }
.ec-dialog .edge-dialog__body { font-size: 14px; }
.ec-loading { display: grid; min-height: 260px; place-items: center; color: var(--edge-text-muted); font-size: 14px; }
.ec-done { display: grid; justify-items: center; gap: 10px; padding: 34px 0 26px; text-align: center; }
.ec-done > i { color: var(--edge-success); font-size: 30px; }
.edge-modern .ec-done p { margin: 0; }

.ec-topic-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 10px; color: var(--edge-text-muted); font-size: 13px; line-height: 20px; }
.ec-topic-meta > i { font-size: 12px; }
.edge-modern .ec-topic-meta__col { padding: 0 8px; border-radius: var(--edge-radius-pill); background: var(--edge-surface-active); color: var(--edge-text-secondary); transition: background-color var(--edge-transition-fast), color var(--edge-transition-fast); }
.edge-modern .ec-topic-meta__col:hover { background: var(--edge-primary-low); color: var(--edge-primary); }
.edge-modern .ec-topic-meta__submit { display: inline-flex; align-items: center; gap: 5px; color: var(--edge-text-secondary); }
.edge-modern .ec-topic-meta__submit:hover { color: var(--edge-primary); }

@media (max-width: 1100px) {
  .ec-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .ec-hero { flex-direction: column; align-items: stretch; gap: 12px; }
  .edge-modern .ec-hero h1 { font-size: 24px; }
  .ec-controls { flex-wrap: wrap; padding: 8px 0; }
  .ec-controls__side { flex: 1 1 100%; justify-content: flex-start; margin-left: 0; }
  .ec-menu { right: auto; left: 0; }
  .ec-row { grid-template-columns: minmax(0,1fr) 62px; min-height: 62px; }
  .ec-row__stats { grid-template-columns: 1fr; }
  .ec-row__stats > div:not(:first-child) { display: none; }
  .ec-list__head { grid-template-columns: minmax(0,1fr) 62px; }
  .ec-list__head span:nth-child(n+3) { display: none; }
  .ec-record { flex-direction: column; gap: 10px; padding-left: 10px; }
  .ec-toolbar > label, .ec-toolbar__find input { flex: 1 1 140px; width: 100%; }
  .ec-toolbar > label:first-of-type { margin-left: 0; }
  .ec-toolbar select { width: 100%; }
  .ec-batch { flex-direction: column; align-items: flex-start; }
  .ec-join { flex-direction: column; align-items: stretch; }
  .ec-picks__reason { flex-basis: 100%; }
}
@media (max-width: 520px) {
  .ec-grid, .ec-form-grid { grid-template-columns: 1fr; }
  .ec-grid { gap: 8px; }
  .edge-modern .ec-card { display: grid; grid-template-columns: 22px minmax(0,1fr); align-items: center; gap: 2px 10px; padding: 11px 14px; }
  .ec-card__icon { grid-row: span 2; }
  .edge-modern .ec-card h2 { margin: 0; font-size: 15px; }
  .edge-modern .ec-card > p { display: none; }
  .ec-card footer { justify-content: flex-start; gap: 12px; margin: 0; padding: 0; }
  .ec-picker__list label { grid-template-columns: 16px minmax(0,1fr); }
  .ec-picker__list small { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .ec-page > *, .ec-page.is-entering > *, .ec-page [data-ec-region].is-entering, .ec-menu, .ec-row.is-appended { animation: none; transition: none; }
}
