/* owner.css: the styles of the owner area inside #view-owner and of what
   owner.js puts in the shared sheet (docs/ecom-ops-contract.md 3.3). The
   tokens of styles.css only: no base color of its own, just rgba tints of
   the tokens, as styles.css does. Phone first: one column, the product card
   and every confirm in the bottom sheet. From 1024 px: Home in three
   columns, Products with the card in a side panel (55 and 45 percent),
   Team and Activity as tables, Stock and SAP in two columns. Touch targets
   44 px, text 14 px or more. */

#view-owner, .eo-sheet {
  --eo-line: rgba(139,152,165,.24);    /* --muted */
  --eo-soft: rgba(139,152,165,.12);
}
#view-owner { padding: 0 0 18px; font-size: 15px; }
#view-owner :focus-visible, .eo-sheet :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- the frame ---------- */
.eo-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 4px; }
.eo-title { margin: 0; min-width: 0; font-size: 20px; font-weight: 800; unicode-bidi: plaintext; overflow-wrap: anywhere; }
.eo-icon {
  flex: none; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--eo-line); background: var(--panel-2); color: var(--text); font-size: 18px;
}
.eo-banner {
  margin: 6px 12px; padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 700;
  border: 1px solid rgba(245,158,11,.5); background: rgba(245,158,11,.12); color: var(--warn);
}
.eo-card .eo-banner, .eo-sheet .eo-banner { margin: 6px 0; }
.eo-body { padding: 0 12px; }

/* ---------- shared pieces ---------- */
.eo-btn {
  min-height: 44px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--eo-line);
  background: var(--panel-2); color: var(--text); font-size: 15px; font-weight: 600;
}
.eo-btn:disabled { opacity: .45; cursor: default; }
.eo-primary { background: var(--accent); border-color: var(--accent); color: var(--text); }
.eo-danger { background: rgba(239,68,68,.14); border-color: rgba(239,68,68,.6); color: var(--bad); }
.eo-link {
  min-height: 44px; padding: 8px 2px; border: none; background: none; color: var(--accent);
  font-size: 15px; text-align: start; text-decoration: underline; text-underline-offset: 3px;
}
.eo-link:disabled { color: var(--muted); text-decoration: none; }
.eo-back { display: block; }
.eo-chip { min-height: 44px; font-size: 14px; }
.eo-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.eo-chips-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.eo-chips-label { color: var(--muted); font-size: 14px; padding-inline-start: 6px; }
.eo-select, .eo-input {
  min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--eo-line);
  background: var(--panel-2); color: var(--text); font-size: 16px;
}
.eo-input { width: 100%; }
.eo-select { max-width: 100%; }
.eo-tag {
  display: inline-block; padding: 1px 9px; border-radius: 999px; border: 1px solid var(--eo-line);
  background: var(--panel-2); color: var(--muted); font-size: 14px; font-weight: 700; line-height: 22px; white-space: nowrap;
}
.eo-tag-bad, .eo-st-rejected, .eo-st-needs_reshoot { color: var(--bad); border-color: rgba(239,68,68,.5); background: rgba(239,68,68,.12); }
.eo-tag-warn, .eo-st-photographed { color: var(--warn); border-color: rgba(245,158,11,.55); background: rgba(245,158,11,.12); }
.eo-tag-phone, .eo-st-cut { color: var(--accent); border-color: rgba(59,130,246,.5); background: rgba(59,130,246,.12); }
.eo-tag-good, .eo-st-qa_approved, .eo-st-live { color: var(--good); border-color: rgba(34,197,94,.5); background: rgba(34,197,94,.12); }
.eo-code { font-family: ui-monospace, Consolas, monospace; font-size: 14px; color: var(--muted); }
.eo-muted { color: var(--muted); font-size: 14px; line-height: 1.45; }
.eo-hint { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 10px 2px; }
.eo-line { margin: 6px 0; font-size: 15px; line-height: 1.45; }
.eo-strong { font-weight: 800; }
.eo-accent { color: var(--accent); font-size: 14px; margin: 4px 0; }
.eo-bad { color: var(--bad); font-size: 14px; margin: 4px 0; overflow-wrap: anywhere; }
.eo-warn-text { color: var(--warn); font-size: 14px; line-height: 1.45; margin: 6px 0; }
.eo-empty { color: var(--muted); font-size: 15px; line-height: 1.55; padding: 16px 4px 6px; margin: 0; }
.eo-loading { color: var(--muted); font-size: 14px; padding: 14px 4px; margin: 0; }
.eo-error { padding: 12px 4px; }
.eo-error-text { margin: 0 0 10px; color: var(--bad); font-size: 15px; font-weight: 700; }
.eo-cardblock {
  margin: 10px 0; padding: 12px 14px; border-radius: var(--radius);
  border: 1px solid var(--eo-line); background: var(--panel);
}
.eo-cardtitle { margin: 0 0 6px; font-size: 15px; color: var(--muted); font-weight: 700; }
.eo-gridhead { margin: 14px 0 4px; font-size: 14px; color: var(--muted); font-weight: 700; }
.eo-more { padding: 10px 0; }
.eo-morebtn { width: 100%; }
.eo-ph { background: var(--panel-2); border: 1px solid var(--eo-line); }

/* ---------- Home ---------- */
.eo-need {
  display: block; width: 100%; min-height: 44px; margin: 6px 0; padding: 10px 12px; border-radius: 12px;
  border: 1px solid rgba(59,130,246,.45); background: rgba(59,130,246,.10); color: var(--text);
  font-size: 15px; font-weight: 700; text-align: start;
}
.eo-need.eo-plain { border-color: var(--eo-line); background: var(--panel-2); font-weight: 600; }
.eo-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.eo-stchip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--eo-line); background: var(--panel-2); color: var(--text); font-size: 14px;
}
.eo-stchip.eo-zero { color: var(--muted); }
.eo-stn { font-weight: 800; }
/* 10 px on the copy button's side, which is the inline end */
.eo-copy {
  display: flex; align-items: center; gap: 8px; margin: 8px 0; padding: 8px; padding-inline-end: 10px; border-radius: 12px;
  border: 1px dashed rgba(59,130,246,.6); background: rgba(59,130,246,.08);
}
.eo-copy-text {
  flex: 1; min-width: 0; font-family: ui-monospace, Consolas, monospace; font-size: 14px;
  overflow-wrap: anywhere; user-select: all; text-align: left;
}
.eo-copy-btn { flex: none; }

/* ---------- activity rows (Home, Activity) ---------- */
.eo-arow {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; align-items: baseline;
  width: 100%; padding: 10px 2px; border: none; border-bottom: 1px solid var(--eo-soft);
  background: none; color: var(--text); font-size: 14px; text-align: start;
}
.eo-atime { color: var(--muted); white-space: nowrap; }
.eo-awho { font-weight: 700; unicode-bidi: plaintext; overflow-wrap: anywhere; }
.eo-atext { grid-column: 1 / -1; font-size: 15px; unicode-bidi: plaintext; overflow-wrap: anywhere; }
.eo-atags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.eo-codelink { min-height: 44px; padding: 2px 4px; font-size: 14px; }
.eo-fold { cursor: pointer; }
.eo-fold .eo-atext { font-weight: 700; }
.eo-foldmark { grid-column: 1 / -1; color: var(--accent); font-size: 14px; }
.eo-unfolded { background: rgba(59,130,246,.06); }
.eo-inner { padding-inline-start: 16px; background: rgba(29,37,48,.55); }
.eo-codefilter { width: 150px; flex: none; }

/* ---------- Products ---------- */
.eo-search { margin-top: 4px; }
.eo-selbar {
  position: sticky; top: 53px; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 8px 0 0; padding: 8px 10px; border-radius: 12px;
  border: 1px solid rgba(59,130,246,.5); background: var(--panel);
}
.eo-selcount { flex: 1; font-weight: 700; font-size: 15px; }
.eo-prow {
  display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 10px 4px;
  border-bottom: 1px solid var(--eo-soft); cursor: pointer;
}
.eo-prow:active, .eo-prow.eo-open { background: rgba(59,130,246,.10); }
.eo-prow.eo-picked { background: rgba(59,130,246,.18); }
.eo-check { flex: none; width: 22px; height: 22px; accent-color: var(--accent); pointer-events: none; }
.eo-thumb { flex: none; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
img.eo-thumb { background: var(--panel-2); border: 1px solid var(--eo-line); }
.eo-pmain { flex: 1; min-width: 0; }
.eo-pname { font-size: 15px; font-weight: 700; unicode-bidi: plaintext; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eo-psub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 3px; }
.eo-pline { margin-top: 2px; font-size: 14px; color: var(--muted); }
.eo-panel { display: none; }

/* the product card, in the sheet or the panel */
.eo-cardtop { display: flex; justify-content: flex-end; }
.eo-cardname { font-size: 19px; font-weight: 800; unicode-bidi: plaintext; overflow-wrap: anywhere; }
.eo-note { margin: 8px 0 0; font-size: 15px; unicode-bidi: plaintext; overflow-wrap: anywhere; }
.eo-notebox {
  margin-top: 10px; padding: 10px 12px; border-radius: 12px; font-size: 14px; line-height: 1.5;
  border: 1px solid rgba(139,152,165,.4); background: rgba(139,152,165,.10); overflow-wrap: anywhere;
}
.eo-notebox .eo-strong { color: var(--warn); margin-top: 4px; }
.eo-warnbox { border-color: rgba(245,158,11,.55); background: rgba(245,158,11,.10); color: var(--warn); }
.eo-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.eo-tile {
  aspect-ratio: 1; padding: 0; overflow: hidden; border-radius: 10px;
  border: 1px solid var(--eo-line); background: var(--panel-2);
}
.eo-tileimg { display: block; width: 100%; height: 100%; object-fit: cover; }
.eo-tile .eo-ph { width: 100%; height: 100%; border: none; }
.eo-filelink { display: block; }
.eo-folder, .eo-site { margin-top: 12px; }
.eo-fields { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; margin: 6px 0; font-size: 14px; }
.eo-fields dt { color: var(--muted); }
.eo-fields dd { margin: 0; overflow-wrap: anywhere; }
.eo-hrow {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; padding: 8px 0;
  border-bottom: 1px solid var(--eo-soft); font-size: 14px;
}
.eo-hmove { font-weight: 700; }
.eo-hrow .eo-awho { grid-column: 1 / -1; font-weight: 400; color: var(--muted); }
.eo-hnote { grid-column: 1 / -1; color: var(--muted); unicode-bidi: plaintext; overflow-wrap: anywhere; }
.eo-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.eo-actions .eo-btn { flex: 1; min-width: 140px; }

/* ---------- the shared sheet ---------- */
.eo-sheet { font-size: 15px; }
.eo-sheet-title { margin-bottom: 6px; font-size: 18px; font-weight: 800; unicode-bidi: plaintext; overflow-wrap: anywhere; }
.eo-say { margin: 6px 0 12px; line-height: 1.5; }
.eo-sheet-error { margin: 10px 0 0; color: var(--bad); font-size: 14px; font-weight: 700; }
.eo-sheet-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.eo-sheet-actions .eo-btn { flex: 1; min-width: 120px; }
.eo-refused, .eo-report { margin: 6px 0; padding-inline-start: 20px; font-size: 14px; line-height: 1.5; }
.eo-refused li, .eo-report li { overflow-wrap: anywhere; }

/* ---------- the full-screen viewer ---------- */
.eo-viewer { position: fixed; inset: 0; z-index: 44; display: flex; flex-direction: column; background: rgba(11,15,20,.98); }
.eo-viewer-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 8px; }
.eo-viewer-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.eo-viewer-fail { color: var(--muted); font-size: 15px; }
.eo-viewer-bar { padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--panel); }
.eo-viewer-info { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: var(--muted); font-size: 14px; }
.eo-viewer-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.eo-viewer-actions { display: flex; gap: 8px; }
.eo-viewer-actions .eo-btn { flex: 1; }

/* ---------- Team and a person ---------- */
.eo-teamtop { display: flex; justify-content: flex-start; padding: 6px 0; }
.eo-teamsec { margin: 12px 0; }
.eo-trow {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center;
  width: 100%; min-height: 44px; padding: 10px 4px; border: none; border-bottom: 1px solid var(--eo-soft);
  background: none; color: var(--text); font-size: 14px; text-align: start;
}
.eo-tlink { cursor: pointer; }
.eo-tlink:active { background: rgba(59,130,246,.10); }
.eo-tname { font-size: 15px; font-weight: 700; unicode-bidi: plaintext; overflow-wrap: anywhere; }
.eo-tnum { color: var(--muted); font-family: ui-monospace, Consolas, monospace; }
.eo-tdepts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.eo-tseen, .eo-tcounts { grid-column: 1 / -1; color: var(--muted); }
.eo-tseen:empty, .eo-tcounts:empty, .eo-tdepts:empty { display: none; }
.eo-trow-wrap { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--eo-soft); }
.eo-trow-wrap > .eo-trow { flex: 1; min-width: 0; border-bottom: none; }
.eo-tdel { flex: none; }
.eo-person { max-width: 640px; }
.eo-form { display: flex; flex-direction: column; gap: 10px; }
.eo-field { display: flex; flex-direction: column; gap: 4px; }
.eo-field .eo-link { align-self: flex-start; }
.eo-label { color: var(--muted); font-size: 14px; }
.eo-bignum { font-size: 18px; color: var(--text); }
.eo-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.eo-checkrow { min-height: 44px; }

/* ---------- Mine and Pick ---------- */
.eo-tiles { display: grid; gap: 12px; margin-top: 6px; }
.eo-tile-big {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-items: center;
  min-height: 96px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--eo-line);
  background: var(--panel); color: var(--text); text-align: start;
}
.eo-tile-big:active { background: rgba(59,130,246,.10); }
.eo-tileicon { grid-row: 1 / span 3; font-size: 30px; text-align: center; }
.eo-tiletitle { font-size: 17px; font-weight: 800; }
.eo-tilesub { font-size: 14px; color: var(--muted); }
.eo-tilestatus { font-size: 14px; color: var(--accent); }
.eo-dept {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 100%; min-height: 56px;
  margin: 8px 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--eo-line);
  background: var(--panel); color: var(--text); text-align: start;
}
.eo-dept:active { background: rgba(59,130,246,.10); }
.eo-deptname { font-size: 16px; font-weight: 700; unicode-bidi: plaintext; }

/* ---------- Stock and SAP, a SAP job ---------- */
.eo-stock .eo-cardblock { margin: 10px 0; }
.eo-rowbtn {
  display: flex; flex-direction: column; align-items: stretch; gap: 3px; width: 100%; min-height: 44px;
  margin: 6px 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--eo-line);
  background: var(--panel-2); color: var(--text); font-size: 14px; text-align: start;
}
.eo-rowbtn:active { background: rgba(59,130,246,.12); }
.eo-rowtop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.eo-request { margin: 10px 0; padding: 10px 0; border-top: 1px solid var(--eo-soft); border-bottom: 1px solid var(--eo-soft); }
.eo-subtitle { margin: 0 0 6px; font-size: 15px; }
.eo-codes { min-height: 96px; resize: vertical; font-family: ui-monospace, Consolas, monospace; }
/* the codes run left to right; on a Hebrew page the hint keeps its own side */
:root[dir="rtl"] .eo-codes::placeholder { direction: rtl; text-align: right; font-family: inherit; }
.eo-fullbox { margin-top: 10px; }
.eo-partrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 6px 0; border-bottom: 1px solid var(--eo-soft); }
.eo-partrow .eo-btn { margin-inline-start: auto; }
.eo-tablewrap { overflow-x: auto; margin: 6px 0; border: 1px solid var(--eo-line); border-radius: 10px; }
.eo-preview { min-width: 100%; border-collapse: collapse; font-size: 14px; }
.eo-preview th, .eo-preview td { padding: 6px 10px; border-bottom: 1px solid var(--eo-soft); text-align: left; white-space: nowrap; }
.eo-preview th { color: var(--muted); font-weight: 700; background: var(--panel-2); }
/* the stock sync card at the top of Stock and SAP (3.2.0): rows that wrap,
   flex and grid in the page's direction, the guard text at the start edge */
.eo-sync { border-color: rgba(59,130,246,.45); }
.eo-syncrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 8px 0; }
.eo-syncstate { min-width: 56px; text-align: center; }
.eo-synclabel { color: var(--muted); font-size: 14px; font-weight: 700; }
.eo-syncfacts { margin-top: 10px; }
.eo-syncruns { border-top: 1px solid var(--eo-soft); }
.eo-syncrun {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; align-items: baseline;
  padding: 8px 2px; border-bottom: 1px solid var(--eo-soft); font-size: 14px;
}
.eo-synctime { color: var(--muted); white-space: nowrap; }
.eo-synctags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; }
.eo-syncguard { grid-column: 1 / -1; color: var(--warn); unicode-bidi: plaintext; overflow-wrap: anywhere; }

/* ---------- names and notes at the page's start edge ----------
   They keep their own order inside the line (unicode-bidi: plaintext), so
   text-align: start would follow each text: a Hebrew product name would sit
   on the right of an English list. They take the page's start edge from
   <html dir> instead: left in English, right in Hebrew (decision O10). */
:root[dir="ltr"] .eo-title, :root[dir="ltr"] .eo-awho, :root[dir="ltr"] .eo-atext,
:root[dir="ltr"] .eo-pname, :root[dir="ltr"] .eo-cardname, :root[dir="ltr"] .eo-note,
:root[dir="ltr"] .eo-hnote, :root[dir="ltr"] .eo-sheet-title, :root[dir="ltr"] .eo-tname,
:root[dir="ltr"] .eo-deptname, :root[dir="ltr"] .eo-syncguard { text-align: left; }
:root[dir="rtl"] .eo-title, :root[dir="rtl"] .eo-awho, :root[dir="rtl"] .eo-atext,
:root[dir="rtl"] .eo-pname, :root[dir="rtl"] .eo-cardname, :root[dir="rtl"] .eo-note,
:root[dir="rtl"] .eo-hnote, :root[dir="rtl"] .eo-sheet-title, :root[dir="rtl"] .eo-tname,
:root[dir="rtl"] .eo-deptname, :root[dir="rtl"] .eo-syncguard { text-align: right; }

/* ---------- 1024 px and wider (3.3) ---------- */
@media (min-width: 1024px) {
  .eo-body { padding: 0 14px; }
  .eo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 12px; align-items: start; }
  .eo-grid .eo-cardblock { margin: 0; }
  .eo-grid .eo-span { grid-column: 1 / -1; }
  .eo-grid .eo-span2 { grid-column: span 2; }

  .eo-products { display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); gap: 14px; align-items: start; }
  .eo-panel {
    display: block; position: sticky; top: 64px; max-height: calc(100dvh - 80px); overflow-y: auto; margin-top: 8px;
    padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--eo-line); background: var(--panel);
  }

  .eo-trow {
    grid-template-columns: minmax(110px, 1.1fr) 110px minmax(130px, 1.4fr) minmax(120px, 1fr) minmax(180px, 1.4fr);
    gap: 4px 12px;
  }
  .eo-tdepts, .eo-tseen, .eo-tcounts { grid-column: auto; }
  .eo-tseen:empty, .eo-tcounts:empty, .eo-tdepts:empty { display: block; }
  /* a user's row leaves room for its Delete user button: the text columns may wrap */
  .eo-trow-wrap > .eo-trow { grid-template-columns: minmax(90px, 1.1fr) 100px minmax(0, .4fr) minmax(0, 1fr) minmax(0, 1.4fr); }

  .eo-alist .eo-arow { grid-template-columns: 120px 150px minmax(0, 1fr) auto; }
  .eo-alist .eo-atext, .eo-alist .eo-atags, .eo-alist .eo-foldmark { grid-column: auto; }
  .eo-alist .eo-atags { justify-content: flex-end; }

  .eo-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .eo-stock { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
  .eo-syncbody { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 24px; align-items: start; }
  .eo-syncbody > .eo-error, .eo-syncbody > .eo-syncmissing { grid-column: 1 / -1; }
  .eo-synclog > .eo-gridhead { margin-top: 8px; }
}

/* ---------- Claude ---------- */
.eo-claude-list { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.eo-claude-msg {
  max-width: 88%; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--eo-line);
  background: var(--panel); overflow-wrap: anywhere;
}
.eo-claude-mine { align-self: flex-end; border-color: rgba(59,130,246,.45); background: rgba(59,130,246,.10); }
.eo-claude-reply { align-self: flex-start; }
.eo-claude-text { margin: 0; font-size: 15px; line-height: 1.5; white-space: pre-wrap; unicode-bidi: plaintext; }
.eo-claude-who { margin: 0 0 4px; font-size: 14px; font-weight: 800; color: var(--muted); }
.eo-claude-reply .eo-claude-stop { margin-top: 8px; }
.eo-claude-meta { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.eo-claude-new {
  align-self: center; margin: 6px 0; padding: 2px 12px; border-radius: 999px;
  border: 1px solid var(--eo-line); color: var(--muted); font-size: 14px;
}
/* the box stays in view over the bottom nav; from 1024 px the nav is a rail and the box sits at the bottom */
.eo-claude-box {
  position: sticky; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding: 8px 0; background: var(--bg);
}
@media (min-width: 1024px) { .eo-claude-box { bottom: 0; } }
.eo-claude-input { display: block; min-height: 88px; resize: vertical; font-family: inherit; line-height: 1.45; }
.eo-claude-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }

/* ---------- the buttons of the Claude screen (PWA 3.8.0) ---------- */
.eo-routines-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.eo-routines-head .eo-cardtitle { margin: 0; }
.eo-routine-list { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.eo-routine { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--eo-line); background: var(--panel-2); overflow-wrap: anywhere; }
.eo-routine-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.eo-routine-name { flex: 1 1 160px; min-width: 0; margin: 0; font-size: 16px; font-weight: 800; unicode-bidi: plaintext; }
.eo-routine-acts { display: flex; gap: 8px; }
.eo-routine-timer { margin: 6px 0 2px; }
.eo-routine-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0; font-size: 14px; }
.eo-routine-line .eo-bad, .eo-routine-line .eo-accent, .eo-routine-line .eo-line { margin: 0; }
.eo-routine-answer { margin-top: 6px; }
.eo-clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- what a run does as it works (PWA 3.13.0, Hub 1.16.0) ---------- */
.eo-steps { margin-top: 8px; }
.eo-steps-list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.eo-steps-row { display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--muted); }
.eo-steps-older { font-size: 13px; color: var(--muted); }
.eo-steps-time { flex: none; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.eo-steps-text { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; unicode-bidi: plaintext; }
.eo-steps-now {
  display: flex; align-items: baseline; gap: 8px; margin-top: 6px; padding: 8px 10px; border-radius: 10px;
  border: 1px solid rgba(59,130,246,.45); background: rgba(59,130,246,.10); font-size: 15px;
}
.eo-steps-now .eo-steps-text { color: var(--text); }
.eo-steps-label { flex: none; font-weight: 800; }
.eo-steps-dot {
  flex: none; align-self: center; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  animation: eo-steps-pulse .7s ease-in-out infinite alternate;
}
@keyframes eo-steps-pulse { from { opacity: 1; } to { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .eo-steps-dot { animation: none; } }
.eo-steps-toggle { margin-top: 4px; }
