/* Line 16016 (edit-bay-eb07-export-r1): export, reopen and drafts on the Google path. Colours only from public/css/ns-tokens.css
   (dark by default, light under prefers-color-scheme: light); 375 px first. The level on <body data-level> reveals the advanced
   (.eb-adv) and expert (.eb-exp) controls over the same export. */
.ebx { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.ebx-block { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding-top: 12px; border-top: 1px solid var(--ns-border); min-width: 0; }
.ebx h3 { margin: 0; color: var(--ns-text); font-size: 16px; }
.ebx h4 { margin: 8px 0 0; color: var(--ns-text); font-size: 14px; font-weight: 500; }
.ebx-go .eb-primary { width: auto; min-height: 44px; padding: 0 20px; }
.ebx-adv, .ebx-draft { gap: 10px; flex-direction: column; align-items: stretch; }
.eb[data-level="advanced"] .ebx-adv, .eb[data-level="expert"] .ebx-adv,
.eb[data-level="advanced"] .ebx-draft, .eb[data-level="expert"] .ebx-draft { display: grid; }
.ebx-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.ebx-presets button { display: grid; gap: 2px; justify-items: start; min-height: 44px; padding: 8px 14px; border: 1px solid var(--ns-border-strong);
    border-radius: var(--ns-radius); background: transparent; color: var(--ns-text); font: inherit; text-align: left; cursor: pointer; flex: 1 1 140px; }
.ebx-presets button span { font-size: 13px; color: var(--ns-text-2); }
.ebx-presets button[aria-checked="true"] { border-color: var(--ns-gold); box-shadow: inset 0 0 0 1px var(--ns-gold); }
.ebx-check, .ebx-nets label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; color: var(--ns-text); }
.ebx-nets { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; border: 0; min-width: 0; }
.ebx-nets legend { padding: 0; margin-bottom: 4px; }
.ebx-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ebx-progress progress { flex: 1 1 160px; height: 8px; accent-color: var(--ns-gold); }
.ebx-status { font-size: 14px; color: var(--ns-text-2); }
.ebx-result { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; }
.ebx [hidden] { display: none !important; }
.ebx-video { display: block; justify-self: start; width: auto; height: auto; max-width: 100%; max-height: 60vh; border-radius: var(--ns-radius); background: #000; }
.ebx-label { margin: 0; font-size: 14px; color: var(--ns-text-2); font-variant-numeric: tabular-nums; }
.ebx-files, .ebx-checks, .ebx-left { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; min-width: 0; }
.ebx-files a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ns-gold); overflow-wrap: anywhere; }
.ebx-pass { color: var(--ns-text); }
.ebx-fail { color: var(--ns-gold-deep); font-weight: 500; }
.ebx-left li { padding: 8px 12px; border: 1px solid var(--ns-border); border-radius: var(--ns-radius); background: var(--ns-card); color: var(--ns-text-2); }
.ebx-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; min-width: 0; }
.ebx-field { display: grid; gap: 4px; font-size: 13px; color: var(--ns-text-2); }
.ebx input[type="date"] { min-height: 40px; padding: 6px 10px; border: 1px solid var(--ns-border-strong); border-radius: 10px; background: var(--ns-card); color: var(--ns-text); font: inherit; }
.ebx-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; cursor: pointer; }
.ebx-settings th { text-align: left; white-space: nowrap; }
.ebx-settings td { overflow-wrap: anywhere; }
.ebx button:focus-visible, .ebx input:focus-visible, .ebx a:focus-visible, .ebx label:focus-within { outline: 2px solid var(--ns-gold); outline-offset: 2px; }
