/* Mooro public website: the page CSS on top of the design-taste kit (static/public-kit). The kit owns the grid,
   type, buttons, cards, sections and motion; this file holds only what sits inside a visual (Mooro's own
   screens, the eu-* rules), the app frame's recipe, the logo lock-up and the few page parts the kit lacks
   (forms on a ground, the help and legal reading columns, the status bars). */

/* --- the logo: the real files (never redrawn). The dark logo on the dark nav, the light logo on the footer -- */
.pub-logo { gap: 10px; }
.pub-logo img { height: 26px; width: auto; }

/* --- Mooro's screens (inside .ui and inside .ly-piece) ------------------------------------------------- */
.eu-piece { font: 400 13px/1.4 var(--font-text); color: var(--p-ink); background: #fff; }
.eu-piece--ground { background: none; }
.eu-num { font-variant-numeric: tabular-nums; font-family: var(--font-mono); font-size: 12px; text-align: right; }
.eu-logo { display: inline-block; flex: none; object-fit: contain; vertical-align: -3px; }
.eu-btn { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 8px; background: var(--p-ink); color: #fff; font: 500 12px/1 var(--font-text); white-space: nowrap; }
.eu-btn--quiet { background: #fff; color: var(--p-ink); box-shadow: inset 0 0 0 1px rgb(27 28 29 / .16); }
.eu-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font: 500 12px/1 var(--font-text); background: #f1f2f1; color: #3b3d3e; white-space: nowrap; }
.eu-chip--sync { background: #e8f6ff; color: #0c4a6e; }
.eu-chip--ok { background: #e3f9ea; color: #14532d; }
.eu-av { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e9ebe9; color: #3b3d3e; font: 500 11px/1 var(--font-text); font-style: normal; flex: none; }
.eu-dot { display: inline-block; width: 7px; height: 7px; margin-left: 5px; border-radius: 50%; background: var(--p-accent); vertical-align: 1px; }
.eu-seg { display: inline-flex; padding: 2px; border-radius: 8px; background: #f1f2f1; }
.eu-seg i { font-style: normal; padding: 4px 10px; border-radius: 6px; color: #5f6360; font-size: 12px; }
.eu-seg i.is-on { background: #fff; color: var(--p-ink); box-shadow: 0 1px 2px rgb(0 0 0 / .08); }

/* the timesheet week */
.eu-week { background: #fff; color: var(--p-ink); font: 400 13px/1.35 var(--font-text); }
.eu-week__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgb(27 28 29 / .09); }
.eu-week__head b { font-weight: 500; font-size: 14px; }
.eu-week__grid { display: grid; grid-template-columns: minmax(0, 1fr) repeat(6, 52px); align-items: center; }
.eu-week__grid > * { padding: 10px 8px; border-bottom: 1px solid rgb(27 28 29 / .07); min-height: 48px; display: flex; align-items: center; }
.eu-week__grid > .eu-num { justify-content: flex-end; }
.eu-week__th { color: #5f6360; font: 500 12px/1 var(--font-text); min-height: 36px !important; }
.eu-week__th:first-child, .eu-week__task { padding-left: 18px; }
.eu-week__task { flex-direction: column; align-items: flex-start !important; justify-content: center; gap: 2px; min-width: 0; }
.eu-week__task b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.eu-week__task small { color: #5f6360; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.eu-week__cell.is-run { background: color-mix(in oklab, var(--p-accent) 16%, #fff); border-radius: 6px; }
.eu-week__sum { font-weight: 500; padding-right: 18px !important; }
.eu-week__foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; color: #5f6360; font-size: 12px; }
.eu-week--compact .eu-week__grid { grid-template-columns: minmax(0, 1fr) repeat(6, 40px); }
.eu-week--compact .eu-week__grid > * { min-height: 40px; padding: 8px 6px; }
.eu-week--compact .eu-week__head { padding: 12px 14px; }
.eu-week--compact .eu-week__th:first-child, .eu-week--compact .eu-week__task { padding-left: 14px; }

/* the timer */
.eu-timer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 10px 12px; align-items: center; padding: 14px 16px; background: #fff; }
.eu-timer__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--p-accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--p-accent) 25%, transparent); }
.eu-timer__what { display: grid; min-width: 0; } .eu-timer__what b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .eu-timer__what small { color: #5f6360; font-size: 12px; }
.eu-timer__time { font-size: 18px; color: var(--p-ink); }
.eu-timer .eu-btn { grid-column: 2 / -1; justify-self: end; }
.eu-note { display: grid; align-content: center; gap: 4px; height: 100%; padding: 14px 16px; background: #fff; }
.eu-note b { font-weight: 500; } .eu-note span { color: #5f6360; font-size: 12px; }

/* the invoice */
.eu-inv { background: #fff; color: var(--p-ink); font: 400 13px/1.35 var(--font-text); }
.eu-inv__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid rgb(27 28 29 / .09); }
.eu-inv__head b { display: block; font-weight: 500; font-size: 15px; } .eu-inv__head small { color: #5f6360; font-size: 12px; }
.eu-inv__rows, .eu-inv__sum { display: grid; grid-template-columns: minmax(0, 1fr) 52px 64px 84px; gap: 0 10px; padding: 0 20px; }
.eu-inv__rows > * { padding: 10px 0; border-bottom: 1px solid rgb(27 28 29 / .07); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eu-inv__th { color: #5f6360; font: 500 12px/1 var(--font-text); }
.eu-inv__sum { grid-template-columns: minmax(0, 1fr) 96px; padding-top: 10px; padding-bottom: 16px; row-gap: 6px; }
.eu-inv__sum > :nth-child(odd) { text-align: right; color: #5f6360; }
.eu-inv__sum b { font-weight: 500; color: var(--p-ink) !important; }
.eu-inv--compact .eu-inv__rows, .eu-inv--compact .eu-inv__sum { padding-inline: 16px; }
.eu-sync { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; background: #fff; }
.eu-sync > span:not(.eu-chip) { display: grid; min-width: 0; flex: 1; } .eu-sync b { font-weight: 500; } .eu-sync small { color: #5f6360; font-size: 12px; }

/* the client portal's problems */
.eu-portal { background: #fff; color: var(--p-ink); font: 400 13px/1.35 var(--font-text); }
.eu-portal__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: #0f3d3e; color: #fff; }
.eu-portal__brand { font: 500 14px/1 var(--font-display); letter-spacing: -0.01em; }
.eu-portal__nav { display: flex; gap: 4px; } .eu-portal__nav i { font-style: normal; font-size: 12px; padding: 4px 8px; border-radius: 6px; color: rgb(255 255 255 / .72); }
.eu-portal__nav i.is-on { background: rgb(255 255 255 / .14); color: #fff; }
.eu-portal__body { padding: 16px 18px 6px; }
.eu-portal__h { display: block; font-weight: 500; font-size: 15px; margin-bottom: 6px; }
.eu-portal__list { list-style: none; margin: 0; padding: 0; }
.eu-portal__list li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start; padding: 11px 0; border-bottom: 1px solid rgb(27 28 29 / .07); }
.eu-portal__list b { display: block; font-weight: 500; } .eu-portal__list small { color: #5f6360; font-size: 12px; }
.eu-portal__state { display: inline-flex; justify-content: center; height: 22px; align-items: center; border-radius: 999px; font: 500 11px/1 var(--font-text); background: #f1f2f1; color: #3b3d3e; }
.eu-portal__state--work { background: color-mix(in oklab, var(--p-accent) 24%, #fff); color: #14532d; }
.eu-portal__state--done { background: #eef0ee; color: #3b3d3e; }
.eu-portal__state--open { background: #fff4e0; color: #7a4a06; }

/* Claude calling the Edge MCP */
.eu-mcp { display: grid; gap: 12px; padding: 16px; background: #faf9f6; color: var(--p-ink); font: 400 13px/1.45 var(--font-text); }
.eu-mcp__msg { display: flex; gap: 10px; align-items: flex-start; }
.eu-mcp__msg .eu-logo { margin-top: 2px; }
.eu-mcp__msg--me { justify-self: end; max-width: 86%; padding: 10px 12px; border-radius: 12px; background: #ecebe6; }
.eu-mcp__call { border: 1px solid rgb(27 28 29 / .1); border-radius: 10px; background: #fff; overflow: hidden; }
.eu-mcp__tool { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid rgb(27 28 29 / .08); font-size: 12px; }
.eu-mcp__tool b { font-weight: 500; } .eu-mcp__tool span { font-family: var(--font-mono); color: #5f6360; }
.eu-mcp__code { margin: 0; padding: 10px 12px; font: 400 12px/1.55 var(--font-mono); color: #2b2d2e; white-space: pre; overflow: hidden; }
.eu-mcp__call:last-child .eu-mcp__tool { border-bottom: 0; }

/* the team schedule */
.eu-sched { background: #fff; color: var(--p-ink); font: 400 13px/1.35 var(--font-text); padding-bottom: 6px; }
.eu-sched__head, .eu-sched__row { display: grid; grid-template-columns: 150px repeat(5, minmax(0, 1fr)); align-items: center; padding: 0 16px; }
.eu-sched__head { height: 44px; border-bottom: 1px solid rgb(27 28 29 / .09); color: #5f6360; font-size: 12px; }
.eu-sched__head b { color: var(--p-ink); font-weight: 500; font-size: 14px; }
.eu-sched__row { height: 52px; border-bottom: 1px solid rgb(27 28 29 / .06); }
.eu-sched__who { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; }
.eu-sched__track { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.eu-sched__bar { font-style: normal; height: 28px; border-radius: 6px; padding: 0 8px; display: flex; align-items: center; font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; }
.eu-sched__bar--a { background: color-mix(in oklab, var(--p-accent) 30%, #fff); color: #14532d; }
.eu-sched__bar--b { background: #dbeafe; color: #1e3a8a; }
.eu-sched__bar--c { background: #fde7d4; color: #7c2d12; }
.eu-sched__bar--d { background: #e7e5e4; color: #292524; }
.eu-sched__bar--off { background: repeating-linear-gradient(135deg, #f1f2f1 0 6px, #e6e8e6 6px 12px); color: #5f6360; }
.eu-sched__foot { padding: 12px 16px 6px; color: #5f6360; font-size: 12px; } .eu-sched__foot b { color: var(--p-ink); font-weight: 500; }

/* the team list (the app window's list pane) */
.eu-list { background: #fff; color: var(--p-ink); font: 400 13px/1.35 var(--font-text); }
.eu-list__bar { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgb(27 28 29 / .09); }
.eu-list__bar b { font-weight: 500; font-size: 14px; } .eu-list__bar span { color: #5f6360; font-size: 12px; }
.eu-list__rows { list-style: none; margin: 0; padding: 6px 8px; }
.eu-list__rows li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; }
.eu-list__rows li.is-on { background: #f3f4f3; }
.eu-list__rows b { display: block; font-weight: 500; } .eu-list__rows small { color: #5f6360; font-size: 12px; }
.eu-state { font: 500 11px/1 var(--font-text); padding: 5px 8px; border-radius: 999px; background: #f1f2f1; color: #3b3d3e; }
.eu-state--work { background: color-mix(in oklab, var(--p-accent) 24%, #fff); color: #14532d; }
.eu-state--open { background: #fff4e0; color: #7a4a06; }

/* the hero collage's pieces carry their own corner and shadow from layout.css; inside, a screen fills it */
.ly-collage .eu-piece > * { height: 100%; }
.ly-collage .eu-piece { box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 22px 48px -22px rgb(0 0 0 / .35); }

/* --- the app window (sections-library: app-frame) ------------------------------------------------------- */
.app.ui { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s-7); margin-bottom: var(--s-5); background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow); overflow: hidden; }
.app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.app > .app__pane + .app__pane { border-left: 1px solid var(--u-line); }
.app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, var(--u-bg)); pointer-events: none; }
@media (min-width: 1024px) and (max-width: 1279px) { .app.ui { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
@media (max-width: 1023px) {
  .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .app > .app__pane--list { max-height: 252px; }
  .app > .app__pane--list::after { display: none; }
  .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--u-line); }
}
@media (max-width: 639px) {
  .app.ui { grid-template-rows: minmax(0, 1fr); }
  .app > .app__pane--list { display: none; }
  .app > .app__pane + .app__pane { border-top: 0; }
  .eu-week__grid { grid-template-columns: minmax(0, 1fr) repeat(6, 38px); }
  .eu-week__grid > * { padding-inline: 4px; }
}
.eu-intro { font-size: var(--t-lead); line-height: 1.5; color: var(--ink); align-self: end; }
.eu-intro .link { color: var(--ink); }

/* --- section parts the kit lacks ------------------------------------------------------------------------ */
.eu-split-text { display: grid; gap: var(--s-5); align-content: start; }
.eu-split-text h2 { margin: 0; }
.eu-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.eu-facts li { padding-left: var(--s-5); position: relative; }
.eu-facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--p-accent); }
.eu-hub { aspect-ratio: 1 / 1; max-height: calc(100svh - var(--padt) - var(--padb) - var(--bar, 0px)); padding: 0; background: var(--bg); }
.eu-hub .dg { width: 100%; height: 100%; }
.eu-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-3); }
.eu-price .t-stat { font-family: var(--font-display); }
.eu-line { color: var(--ink); }
.eu-mods li { align-items: center; }
.eu-mods .rows__name { display: grid; gap: 2px; font-weight: 500; }
.eu-mods .rows__name small, .eu-mods .rows__value small { font-weight: 400; color: var(--muted); font-size: 14px; }
.eu-mods .rows__value { white-space: nowrap; font-variant-numeric: tabular-nums; }
.statement .mo-wh__text { font: var(--display-weight) clamp(28px, 3.4vw + 10px, 62px)/1.12 var(--font-display); letter-spacing: var(--display-tracking); max-width: 24ch; margin-top: var(--s-6); }
.statement h2 { font-size: var(--t-lead); }
.eu-placeholder { margin-top: var(--s-7); padding: var(--s-5); border: 1px dashed var(--line-strong, #ccc); border-radius: var(--r-md); display: grid; gap: var(--s-2); max-width: 60ch; }

/* --- pricing ------------------------------------------------------------------------------------------- */
.eu-bill { background: #fff; color: var(--p-ink); font: 400 13px/1.35 var(--font-text); padding-right: var(--ly-cut-room, 48px); }
.eu-bill__bar { display: flex; align-items: baseline; gap: 12px; padding: 16px 20px; border-bottom: 1px solid rgb(27 28 29 / .09); }
.eu-bill__bar b { font-weight: 500; font-size: 15px; } .eu-bill__bar span { color: #5f6360; font-size: 12px; }
.eu-bill__rows { list-style: none; margin: 0; padding: 4px 0 12px; }
.eu-bill__rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto 34px; gap: 16px; align-items: center; padding: 12px 20px; border-bottom: 1px solid rgb(27 28 29 / .06); }
.eu-bill__rows b { display: block; font-weight: 500; } .eu-bill__rows small { color: #5f6360; font-size: 12px; }
.eu-tg { width: 30px; height: 18px; border-radius: 99px; background: #dcdedc; position: relative; }
.eu-tg::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .2); }
.eu-tg.is-on { background: var(--p-ink); } .eu-tg.is-on::after { left: 14px; }
.hero__art > .ly-piece--note { left: var(--s-6); bottom: var(--s-6); width: 300px; }
.eu-bill-note { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--r-md); background: #fff; }
.eu-bill-note b { font-weight: 500; } .eu-bill-note small { color: #5f6360; font-size: 12px; }
.eu-bill-note__sum { font-size: 22px !important; text-align: left !important; color: var(--p-ink); }
.eu-sub { font: 500 var(--t-lead)/1.3 var(--font-text); letter-spacing: 0; margin: 0 0 var(--s-4); }
.eu-sub .muted { font-weight: 400; font-size: 16px; margin-left: var(--s-2); }
.eu-checks { columns: 2; column-gap: var(--s-6); display: block; }
.eu-checks li { break-inside: avoid; margin-bottom: var(--s-3); }
.eu-free { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.eu-free b { font-weight: 500; }
.eu-modgrid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter, 24px); }
.eu-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.eu-table th { text-align: left; font: 500 13px/1.3 var(--font-text); color: var(--muted); padding: 0 0 var(--s-3); border-bottom: 1px solid var(--line); }
.eu-table td { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.eu-table td + td, .eu-table th + th { padding-left: var(--s-4); }
.eu-table .r { text-align: right; }
.eu-table .eu-num { font-size: 15px; }
.eu-table-note { margin-top: var(--s-4); }
.statement .mo-la__type { font: var(--display-weight) clamp(56px, 9vw, 152px)/1 var(--font-display); letter-spacing: var(--display-tracking-xl); margin: var(--s-7) 0 var(--s-6); }
.statement .mo-la__sub { max-width: 52ch; }
@media (max-width: 1023px) { .eu-modgrid { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .eu-checks { columns: 1; } .eu-free { grid-template-columns: 1fr; } }
.eu-rows .eu-list__rows li { grid-template-columns: minmax(0, 1fr) auto; padding: 11px 10px; border-bottom: 1px solid rgb(27 28 29 / .06); border-radius: 0; }
.eu-rows .eu-list__rows .eu-num { font-size: 13px; }

/* --- inner pages: heroes and chapters ------------------------------------------------------------------- */
.hero--centred .pill { background: var(--surface); }
.hero__window > .eu-piece { border-radius: var(--r-md); overflow: hidden; }
.eu-art { background: var(--ground-bg, #d9ccb7); }
.eu-art > .ly-piece--main { border-radius: var(--r-md) 0 0 0; overflow: hidden; }
.eu-chapter .wrap { display: flex; flex-direction: column; }
.eu-chapter__frame { flex: 1 1 0; min-height: 260px; margin-top: var(--s-7); position: relative; overflow: hidden; border-radius: var(--r-lg); }
.eu-chapter__ui { --w: min(760px, calc(100% - 48px)); left: 50%; transform: translateX(-50%); top: var(--s-7); width: var(--w); position: absolute; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 22px 48px -22px rgb(0 0 0 / .35); }
.eu-stack { display: grid; gap: 1px; background: rgb(27 28 29 / .08); }
.eu-points { list-style: none; margin: var(--s-6) 0 0; padding: 0; }
.eu-points li { padding-left: var(--s-5); position: relative; }
.eu-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--p-accent); }
@media (max-width: 1023px) { .eu-points li { grid-column: 1 / -1; } .eu-points { row-gap: var(--s-3); } }
.eu-head .hero__lead { max-width: 60ch; }

.eu-term { background: #161718; color: #e7e8e6; font: 400 13px/1.7 var(--font-mono); padding: 20px 22px; }
.eu-term p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eu-term span { color: var(--p-accent); margin-right: 8px; }
.eu-term__out { color: #a3a6a4; } .eu-term__ok { color: #c6f6d5; }
.eu-steps { list-style: none; margin: 0; padding: 0; }
.eu-steps li { display: grid; gap: var(--s-2); align-content: start; }
.eu-steps h3 { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: 0; margin: 0; }
.eu-steps p { margin: 0; }
.eu-compare th[scope="row"] { font-weight: 400; text-align: left; }
.eu-compare td { width: 22%; }
.eu-yes, .eu-no { display: inline-block; width: 18px; height: 18px; border-radius: 50%; vertical-align: -3px; }
.eu-yes { background: var(--p-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.5' fill='none' stroke='%233ce677' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.eu-no { width: 14px; height: 2px; border-radius: 1px; background: var(--muted); vertical-align: 4px; }
@media (max-width: 1023px) { .eu-steps li { grid-column: span 6; } }
@media (max-width: 639px) { .eu-steps li { grid-column: 1 / -1; } }

.eu-facts--plain li { padding-left: 0; } .eu-facts--plain li::before { display: none; }
.eu-facts--plain { gap: 0; } .eu-facts--plain li { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.eu-price-frame { margin-top: 0; min-height: 520px; height: calc(100svh - var(--padt) - var(--padb) - var(--bar, 0px)); max-height: 708px; }
/* a phone holds the hero collage's first set: its lead screen alone, the width of the frame */
@media (max-width: 639px) {
  .ly-collage .ly-collage__set .eu-piece:not(.eu-piece--lead) { display: none; }
  .ly-collage .eu-piece--lead { left: 0 !important; top: 0 !important; width: 100% !important; height: 100%; }
  .eu-mcp__code { white-space: pre-wrap; overflow-wrap: anywhere; }
  .eu-portal__nav i:nth-child(n+3) { display: none; }
  .eu-timer__what b { white-space: normal; }
}
@media (max-width: 1023px) {
  .eu-hub { aspect-ratio: 16 / 10; margin-top: var(--s-6); }
  .eu-price-frame { min-height: 380px; height: auto; margin-top: var(--s-6); }
}
@media (max-width: 639px) {
  .eu-hub { aspect-ratio: 4 / 3; }
  .eu-price-frame { min-height: 300px; }
}
@media (min-width: 640px) and (max-width: 1023px) { #connects { --h: 2; } }
@media (max-width: 639px) {
  #connects .eu-facts { display: none; }
  #pricing .eu-price-frame { min-height: 240px; }
  #pricing .eu-line { display: none; }
}

/* --- forms, banners and the sign-up flow ---------------------------------------------------------------- */
.eu-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.eu-form .field label { font-weight: 500; }
.eu-check { display: flex; gap: var(--s-3); align-items: flex-start; font-weight: 400; font-size: var(--t-body); line-height: 1.5; }
.eu-check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--p-ink); }
.eu-checkrow { gap: var(--s-2); }
.eu-banner { margin: 0 0 var(--s-5); padding: var(--s-4) var(--s-5); border-radius: var(--r-md); font-size: var(--t-body); line-height: 1.5; background: var(--surface); }
.eu-banner--ok { background: color-mix(in oklab, var(--p-accent) 18%, var(--bg)); }
.eu-banner--err { background: color-mix(in oklab, #d92d20 10%, var(--bg)); box-shadow: inset 3px 0 0 color-mix(in oklab, #d92d20 72%, var(--ink)); }
.eu-banner--info { background: var(--surface); }
.eu-flow .hero-text { align-content: start; }
.eu-flow__aside { display: grid; gap: var(--s-5); align-content: start; }
.eu-flow__aside h1 { font-size: var(--t-h2); margin: 0; }
.eu-flow__card { background: var(--surface); border-radius: var(--r-lg); padding: var(--s-7); align-self: start; }
.eu-flow__box { display: grid; gap: var(--s-5); justify-items: start; }
.eu-inline-form { margin: 0; }
.eu-fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s-3); grid-column: 1 / -1; }
.eu-fieldset legend { font-size: var(--t-small); font-weight: 500; margin-bottom: var(--s-3); }
.eu-fieldset .eu-fieldset__row { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); }
.eu-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.eu-chips label { position: relative; }
.eu-chips input { position: absolute; opacity: 0; inset: 0; }
.eu-chips span { display: inline-grid; justify-items: center; min-width: 72px; min-height: 44px; align-content: center; padding: 6px 12px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); font-size: 14px; font-weight: 500; cursor: pointer; }
.eu-chips small { font-size: 13px; font-weight: 400; color: var(--muted); }
.eu-chips input:checked + span { background: var(--p-ink); color: var(--bg); border-color: var(--p-ink); }
.eu-chips input:checked + span small { color: inherit; }
.eu-chips input:focus-visible + span { outline: 2px solid var(--action); outline-offset: 2px; }
@media (max-width: 1023px) { .eu-flow__card { margin-top: var(--s-6); } }
@media (max-width: 639px) { .eu-flow__card { padding: var(--s-5); } }

/* --- reading pages: help, legal, status, changelog ------------------------------------------------------ */
.eu-doc { height: auto !important; min-height: calc(var(--h, 1) * 100svh); }
.eu-doc--first { padding-top: calc(var(--nav) + var(--s-8)); }
.eu-doc h1 { font-size: var(--t-h2); margin: 0 0 var(--s-4); }
.eu-doc__h { font-size: var(--t-h3); margin: var(--s-8) 0 var(--s-4); }
.eu-doc__note { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.eu-side-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--s-8); align-items: start; }
.eu-doc__main { min-width: 0; max-width: 760px; display: grid; gap: var(--s-4); align-content: start; }
.eu-side { display: grid; gap: var(--s-5); }
.eu-sidenav { display: grid; }
.eu-sidenav a { display: block; padding: 10px 12px; border-radius: var(--r-sm); font-size: 15px; min-height: 44px; }
.eu-sidenav a:hover { background: var(--surface); }
.eu-sidenav a[aria-current="page"] { background: var(--surface); font-weight: 500; }
.eu-sidenav__sub { padding-left: 24px !important; font-size: 14px !important; color: var(--muted); }
.eu-crumbs { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; font-size: 14px; color: var(--muted); }
.eu-search { display: flex; gap: var(--s-3); width: min(100%, 640px); }
.eu-search input { flex: 1; min-width: 0; height: var(--btn-h, 44px); padding: 0 var(--s-4); border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg); font: 400 var(--t-body)/1 var(--font-text); color: var(--ink); }
.eu-search--side { width: 100%; }
.eu-popular { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); font-size: 15px; align-items: center; }
.eu-head__grid { display: grid; gap: var(--s-5); align-content: start; }
.eu-links { list-style: none; margin: 0; padding: 0; display: grid; }
.eu-links a { display: grid; gap: 4px; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.eu-links b { font-weight: 500; font-size: var(--t-card); }
.eu-links span { color: var(--ink); font-size: 15px; }
.eu-links a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.eu-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7) var(--gutter, 24px); margin-top: var(--s-6); }
.eu-topics h3 { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: 0; margin: 0 0 var(--s-3); }
.eu-topics ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.eu-prose { display: grid; gap: var(--s-4); font-size: 17px; line-height: 1.65; }
.eu-prose :is(h2, h3) { font-size: var(--t-card); margin: var(--s-5) 0 0; letter-spacing: 0; }
.eu-prose :is(ul, ol) { margin: 0; padding-left: 1.3em; display: grid; gap: var(--s-2); }
.eu-prose a { text-decoration: underline; text-underline-offset: 3px; }
.eu-prose pre { margin: 0; padding: var(--s-4); background: #161718; color: #e7e8e6; border-radius: var(--r-md); overflow-x: auto; font: 400 14px/1.6 var(--font-mono); }
.eu-prose code { font-family: var(--font-mono); font-size: .92em; }
.eu-prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.eu-prose :is(th, td) { text-align: left; padding: var(--s-3) var(--s-3) var(--s-3) 0; border-bottom: 1px solid var(--line); }
.eu-prose .ph.help-shot { display: grid; place-items: center; min-height: 220px; padding: var(--s-5); border-radius: var(--r-md); background: var(--surface); color: var(--muted); text-align: center; font-size: 15px; }
.eu-prose .help-note { padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: color-mix(in oklab, var(--p-accent) 14%, var(--bg)); }
.eu-summary { padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface); display: grid; gap: var(--s-4); }
.eu-summary h2 { font-size: var(--t-h3); margin: 0; }
.eu-toc ol { margin: 0; padding-left: 1.3em; display: grid; gap: var(--s-2); }
.eu-legal { padding: var(--s-6) 0; border-bottom: 1px solid var(--line); display: grid; gap: var(--s-3); }
.eu-legal h2 { font-size: var(--t-card); margin: 0; letter-spacing: 0; }
.eu-todo { padding: var(--s-4) var(--s-5); border: 1px dashed var(--line-strong); border-radius: var(--r-md); color: var(--ink); font-family: var(--font-mono); font-size: 14px; }
.eu-table--wide { font-size: 15px; }
.eu-table--wide th[scope="row"] { font-weight: 500; white-space: nowrap; padding-right: var(--s-4); }
@media (max-width: 1023px) {
  .eu-side-layout { grid-template-columns: minmax(0, 1fr); }
  .eu-side { order: 2; }
  .eu-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eu-table--wide { display: block; overflow-x: auto; }
}
@media (max-width: 639px) { .eu-topics { grid-template-columns: minmax(0, 1fr); } .eu-search { flex-direction: column; } }
.eu-status-now { display: flex; align-items: center; gap: var(--s-3); font: var(--display-weight) var(--t-h3)/1.2 var(--font-display); }
.eu-status-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--p-accent); box-shadow: 0 0 0 5px color-mix(in oklab, var(--p-accent) 25%, transparent); }
.eu-status-legend { display: flex; flex-wrap: wrap; gap: var(--s-4); font-size: 14px; margin-bottom: var(--s-5); }
.eu-status-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; }
.eu-status-comp { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); display: grid; gap: var(--s-3); }
.eu-status-comp__head { display: flex; justify-content: space-between; gap: var(--s-4); font-size: 15px; }
.eu-status-comp__head b { font-weight: 500; }
.bars { display: grid; grid-template-columns: repeat(90, minmax(0, 1fr)); gap: 2px; height: 28px; }
.bars i, .eu-status-legend i { background: color-mix(in oklab, var(--p-accent) 80%, var(--ink)); border-radius: 2px; }
.bars i.degraded, .eu-status-legend i.degraded { background: #e3a008; }
.bars i.outage, .eu-status-legend i.outage { background: #d92d20; }
.bars i.none, .eu-status-legend i.none { background: var(--line-strong); }
.eu-status-axis { display: flex; justify-content: space-between; margin-top: var(--s-3); }
.eu-incident { padding: var(--s-4) 0 var(--s-5); border-bottom: 1px solid var(--line); }
.eu-incident h4 { font: 500 var(--t-card)/1.3 var(--font-text); margin: 0 0 var(--s-2); }
.eu-incident ol { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: grid; gap: var(--s-3); }
.eu-incident ol b { font-weight: 500; }
.eu-log__day { padding-bottom: var(--s-7); }
.eu-log__day > h2 { font-size: var(--t-card); letter-spacing: 0; margin: 0 0 var(--s-3); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.eu-log__entry { padding: var(--s-4) 0; display: grid; gap: var(--s-2); }
.eu-log__entry h3 { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: 0; margin: 0; }
.eu-log__tags { display: flex; gap: var(--s-2); }
.eu-tag--new { background: color-mix(in oklab, var(--p-accent) 28%, var(--bg)); }
.eu-places { height: 8px; margin: 12px 18px 4px; border-radius: 99px; background: #e9ebe9; overflow: hidden; }
.eu-places span { display: block; height: 100%; background: var(--p-ink); }
.eu-offer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter, 24px); margin-top: var(--s-8); }
.eu-chiprow { display: flex; flex-wrap: wrap; gap: var(--s-2); }
@media (max-width: 1023px) { .eu-offer-cols { grid-template-columns: 1fr; } }
.eu-offer-cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
@media (max-width: 1023px) { .eu-offer-cols--3 { grid-template-columns: 1fr; } }

/* a collage set that is not showing is out of the way of the one that is (it still fades: visibility waits for the opacity) */
.ly-collage__set:not(.is-on) { visibility: hidden; }
.ly-collage.is-cycling > .ly-collage__set { transition: opacity .7s var(--ease, ease), visibility .7s; }
.ly-collage:not(:has(> .ly-collage__set.is-on)) > .ly-collage__set:first-child { visibility: visible; }
.eu-mods .rows__name small { color: var(--ink); }

.rows .rows__name { color: var(--ink); }
.statement .mo-la__sub { color: var(--ink); }
@media (max-width: 639px) {
  .eu-mods li { flex-wrap: wrap; }
  .eu-mods .rows__value { white-space: normal; max-width: 12ch; }
}
.eu-modname { display: inline-flex; align-items: center; gap: var(--s-2); }
.eu-tool { width: 18px; height: 18px; object-fit: contain; }
.eu-after { margin-top: var(--s-7); }
.eu-tool { width: 24px; height: 24px; }
/* module pages, round two */
.hero--centred .hero__lead { color: var(--ink); }
.eu-intro { align-self: start; }
.eu-points li { padding-left: 0; padding-top: var(--s-3); border-top: 1px solid var(--line); }
.eu-points li::before { display: none; }
.eu-sched__bar { text-overflow: ellipsis; }
.eu-help-frame { position: relative; overflow: hidden; border-radius: var(--r-lg); min-height: 400px; margin-top: var(--s-5); background: var(--g-alt, var(--surface)); }
.eu-chapter__side { position: relative; overflow: hidden; border-radius: var(--r-lg); min-height: 520px; height: calc(100svh - var(--padt) - var(--padb) - var(--bar, 0px)); max-height: 708px; }
.eu-chapter__ui--side { --w: calc(100% - 64px); }
@media (max-width: 1023px) { .eu-chapter__side { height: auto; min-height: 380px; margin-top: var(--s-6); } }
@media (max-width: 639px) { .eu-chapter__side { min-height: 300px; } .eu-help-frame { min-height: 240px; } }
@media (max-width: 639px) { .eu-chapter__frame { min-height: 300px; } }
.eu-tools { display: grid; gap: var(--s-3); }
.eu-tools ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); }
.eu-tools li { display: inline-flex; align-items: center; gap: var(--s-2); font-size: 15px; }
.eu-tools img { width: 28px; height: 28px; object-fit: contain; padding: 4px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .08); box-sizing: content-box; }
.eu-flow-actions { margin-left: auto; }
.eu-chips input { position: static; opacity: 1; width: 16px; height: 16px; margin: 0 6px 0 0; accent-color: var(--p-ink); }
.eu-chips label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); font-size: 14px; font-weight: 500; }
.eu-chips span { display: inline; min-width: 0; min-height: 0; padding: 0; border: 0; }
.eu-chips small { margin-left: 4px; }
.eu-chips input:checked + span { background: none; color: inherit; }
.eu-chips label:has(input:checked) { border-color: var(--p-ink); box-shadow: inset 0 0 0 1px var(--p-ink); }

.eu-builder .eu-bill { padding-right: 0; }
.eu-bill__total { background: #f6f7f6; }
.eu-bill__total b { font-size: 15px; }
.eu-flow__pic { position: relative; overflow: hidden; border-radius: var(--r-lg); height: 280px; }
.eu-flow__pic .eu-chapter__ui { top: var(--s-5); --w: calc(100% - 48px); }
.eu-flow textarea { min-height: 72px; }
.eu-fieldset { gap: var(--s-2); }
@media (max-width: 1023px) { .eu-flow__pic { display: none; } }
@media (max-width: 639px) {
  .eu-flow__aside .eu-facts, .eu-flow__aside .eu-tools { display: none; }
  .eu-flow .hero__lead { font-size: 17px; }
  .eu-flow__card { margin-top: var(--s-5); }
  .eu-flow__aside h1 { font-size: 30px; }
}
@media (min-width: 1024px) {
  .eu-flow .hero-text.grid { grid-template-rows: auto 1fr; }
  .eu-flow__card { grid-row: 1 / span 2; }
  .eu-flow__picwrap { grid-column: 1 / span 5; grid-row: 2; align-self: start; margin-top: var(--s-6); }
}
.eu-flow__picwrap { min-width: 0; }
@media (max-width: 1023px) { .eu-flow__pic { display: block; height: 240px; } .eu-flow__picwrap { grid-column: 1 / -1; margin-top: var(--s-6); } }

/* --- reading pages, round two: the head, then one long column on the left line, the side column right --- */
.eu-readhead { height: auto !important; min-height: 0 !important; padding-bottom: var(--s-7); }
.eu-readhead .hero-text { display: grid; gap: var(--s-5); align-content: start; max-width: 860px; }
.eu-readhead h1 { font-size: var(--t-h2); margin: 0; }
.eu-read { height: auto !important; min-height: 0 !important; padding-top: var(--s-6); }
.eu-read__main { display: grid; gap: var(--s-4); align-content: start; min-width: 0; }
.eu-read__main > h2, .eu-read__main .eu-summary h2, .eu-read__main .eu-toc h2, .eu-read__main .eu-legal h2, .eu-read__main .eu-prose h2, .eu-log__day > h2 { font: var(--display-weight) var(--t-h3)/1.25 var(--font-display); letter-spacing: var(--display-tracking); margin: var(--s-6) 0 0; padding: 0; border: 0; }
.eu-read__main .eu-prose h3, .eu-log__entry h3 { font: 500 18px/1.35 var(--font-text); }
.eu-read__side { display: grid; gap: var(--s-4); align-content: start; }
.eu-side__h { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: 0; margin: 0; }
.eu-sidenav a { padding: 10px 0; border-radius: 0; }
.eu-sidenav a:hover { background: none; text-decoration: underline; text-underline-offset: 3px; }
.eu-sidenav a[aria-current="page"] { background: none; font-weight: 500; box-shadow: inset 2px 0 0 var(--p-ink); padding-left: 12px; }
.eu-sidenav__sub { padding-left: 12px !important; color: var(--ink); }
.eu-search { display: grid; gap: var(--s-2); width: min(100%, 640px); }
.eu-search label { font-size: var(--t-small); font-weight: 500; }
.eu-search__row { display: flex; gap: var(--s-3); }
.eu-search--side input { width: 100%; }
.eu-tag--new { color: var(--p-ink); }
.eu-prose .ph.help-shot { color: var(--ink); }
.eu-summary { padding: 0; background: none; border-radius: 0; }
@media (max-width: 1023px) { .eu-read__side { grid-column: 1 / -1; margin-top: var(--s-7); } }

/* The closing call to action and the footer links share one screen on tall displays, but on a short
   one (1280x800) the kit's fixed screen height squeezed the button to 26px over the footer logo.
   Let the closing footer grow with its content, and never shrink the button or its heading. */
footer.closing { height: auto; min-height: calc(var(--h, 1) * 100svh); }
footer.closing > .wrap { height: auto; }
.closing__cta > * { flex-shrink: 0; }

/* Data cards in a hero (the founding offer, the pricing screen) are read to the last column, so they never run
   past the art's right edge the way a product window does: the card ends inside the frame at every width. */
.hero__art.eu-art > .ly-piece--main { width: calc(100% - 2 * var(--s-8)); }
.hero__art.eu-art > .ly-piece--main .ui { max-width: 100%; }
@media (max-width: 1023px) {
  .hero__art.eu-art > .ly-piece--main { width: calc(100% - 2 * var(--s-6)); }
}
@media (max-width: 639px) {
  .hero__art.eu-art > .ly-piece--main,
  .hero__art > .ly-piece--main { width: calc(100% - 2 * var(--s-4)); }
}
