/* The owner page. Builds on ../builder/builder.css and ../dashboard/dashboard.css. */

/* Two to a row even on a phone: seven full-width tiles pushed the privacy
   requests, the reason anyone opens this page, three screens down. */
.owner .stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.owner .stat {
  display: grid; gap: 2px; align-content: start; padding: 12px 14px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line);
}
.owner .stat-label { font-size: 14px; font-weight: 600; color: var(--soft); }
.owner .stat-value { font-family: var(--body); font-weight: 600; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; }
.owner .stat-trend { margin-top: 6px; }
.owner .stat-sub { font-size: 13px; color: var(--soft); }

/* Tiles with a list behind them are buttons (or, for invite links, a link). */
.owner .stat.opens {
  font: inherit; color: var(--ink); text-align: left; text-decoration: none; cursor: pointer;
  transition: border-color var(--step), box-shadow var(--step);
}
.owner .stat.opens:hover { border-color: var(--soft); }
.owner .stat.opens[aria-expanded="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.owner .stat-more { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--lagoon); }

.owner .tile-list { margin-top: 12px; }
.owner .tile-list-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.owner .tile-list-head h4 { margin: 0; }
.owner .tile-rows { list-style: none; margin: 8px 0 0; padding: 0; }
.owner .tile-rows li { padding: 10px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.owner .tile-rows li:first-child { border-top: 0; }
.owner .row-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.owner .row-sub { margin-top: 2px; font-size: 13.5px; color: var(--soft); }
.owner .chip { font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--tint); color: var(--soft); }
.owner .chip.live { color: var(--ok); }
.owner .chip.private { color: var(--ink); }
.owner .row-actions { margin-top: 6px; }
.owner .btn.small { padding: 4px 10px; font-size: 13px; }
.owner .private-form { display: grid; gap: 6px; }
.owner .private-form label { margin: 6px 0 0; }

/* Web addresses: the DNS records an operator's tech team adds. Long values
   (Resend's keys) wrap rather than push the page sideways on a phone. */
.owner .domains .row-sub { white-space: pre-wrap; }
.owner .records { width: 100%; margin: 10px 0 0; border-collapse: collapse; font-size: 13px; }
.owner .records th { text-align: left; font-weight: 600; color: var(--soft); padding: 4px 6px 4px 0; }
.owner .records td { padding: 6px 6px 6px 0; border-top: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; word-break: break-all; }
.owner .records .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.owner .records td:first-child { white-space: nowrap; word-break: normal; }

/* Billing: money lines up on the cents, and an invoice's amount sits at the
   end of its row so a column of them can be read down. */
.owner .stat-value.money { font-size: 26px; letter-spacing: -0.02em; }
.owner .bill-stats { margin-bottom: 10px; }
.owner .card-h { margin: 0 0 4px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.owner .orders .row-main { align-items: baseline; }
.owner .row-amount { margin-left: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.owner .chip.late { background: var(--bad-bg); color: var(--bad); }
.owner .paid-form { display: grid; gap: 6px; margin-top: 8px; padding: 12px; border-radius: 12px; background: var(--tint); }
.owner .paid-form label { font-size: 14px; font-weight: 600; margin-top: 4px; }
.owner .bill-form { margin-top: 18px; padding-top: 4px; border-top: 1px solid var(--line); }
.owner .bill-form h4 { margin: 16px 0 0; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.owner .bill-add { display: grid; grid-template-columns: minmax(0, 1fr) 84px auto; gap: 8px; }
.owner .bill-add + label { margin-top: 10px; }
.owner .bill-add.bill-address { grid-template-columns: minmax(0, 1fr) 110px; }
.owner .bill-add.bill-tax { grid-template-columns: 90px minmax(0, 1fr); margin-top: 8px; }
.owner .bill-lines { list-style: none; margin: 0 0 4px; padding: 0; }
.owner .bill-lines li { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.owner .bill-lines li:first-child { border-top: 0; }
.owner .bill-lines li span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.owner .bill-lines li b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.owner .bill-lines .bill-total { border-top: 2px solid var(--ink); font-weight: 700; }
@media (max-width: 480px) {
  .owner .bill-add { grid-template-columns: minmax(0, 1fr) 72px; }
  .owner .bill-add .btn { grid-column: 1 / -1; }
}

.owner .find-form { margin-top: 14px; }
.owner .find-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.owner .find-row { display: flex; gap: 10px; flex-wrap: wrap; }
.owner .find-row input { flex: 1 1 160px; min-width: 0; }
.owner .owner-note, .dialog .owner-note { margin: 12px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--tint); font-size: 14px; }
.owner .owner-note.warn, .dialog .owner-note.warn { background: var(--bad-bg); color: var(--bad); }

.owner .results { margin-top: 8px; }
.owner .person, .owner .mentions { padding-top: 6px; border-top: 1px solid var(--line); margin-top: 16px; }
.owner .results > :first-child { border-top: 0; margin-top: 4px; }
.owner .person h4, .owner .mentions h4 { overflow-wrap: anywhere; }
.owner .held { margin: 6px 0 10px; padding-left: 20px; display: grid; gap: 6px; overflow-wrap: anywhere; }
.owner .held.log { list-style: none; padding: 0; }
.owner .toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 6px; }

.dialog form { display: grid; gap: 10px; }
.dialog form h3 { margin: 0; overflow-wrap: anywhere; }
.dialog form p { margin: 0; }
.dialog form label { display: grid; gap: 6px; font-weight: 600; }
.dialog .toolbar { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.btn.primary.danger-fill { background: var(--bad); border-color: var(--bad); color: #fff; }

/* One of Nick's events, opened from the Calendar. */
.dialog:has(.o-ev) { width: min(520px, calc(100vw - 32px)); }
.dialog:has(.o-ev) { padding: 0; }
.o-ev { max-height: calc(100vh - 96px); overflow-y: auto; padding: 22px 24px 18px; outline: none; }
.o-ev h3 { font-size: 21px; line-height: 1.2; }
.dialog .o-ev .o-ev-when { display: flex; align-items: center; gap: 8px; color: var(--soft); font-size: 14.5px; }
.o-ev-join { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; text-decoration: none; }
.o-ev-sec { padding-top: 12px; border-top: 1px solid var(--line); }
.o-ev-sec h4 { display: flex; justify-content: space-between; margin: 0 0 8px; font-size: 14px; }
.o-ev-people { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.o-ev-person { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 5px 0; }
.o-ev-face { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); font-size: 13px; font-weight: 700; }
.o-ev-who { display: grid; min-width: 0; }
.o-ev-who b, .o-ev-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-ev-who b { font-size: 14px; }
.o-ev-who span { color: var(--soft); font-size: 12.5px; }
.o-ev-answer { color: var(--soft); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.o-ev-person.yes .o-ev-answer { color: var(--lagoon); }
.o-ev-person.no .o-ev-who b { text-decoration: line-through; color: var(--soft); }
.dialog .o-ev .o-ev-notes { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.5; }
.o-ev-notes a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); }
.btn.primary.danger-fill:hover:not(:disabled) { background: var(--bad); filter: brightness(0.92); }

/* Discount codes: what a code applies to, as a row of ticks that wraps. */
.owner .code-groups { border: 0; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.owner .code-groups legend { padding: 0; margin-bottom: 6px; font-weight: 600; }
.owner .code-groups .check { font-weight: 400; margin: 0; align-items: center; }
.owner .code-groups .check input { margin-top: 0; }
.owner .code-open { margin: 12px 0 0; font-weight: 600; }
.owner .code-open small { display: block; font-weight: 400; color: var(--soft); font-size: 13.5px; }

/* Teams: teammates beneath their holder, and Move account on a person's entry. */
.teammates { list-style: none; margin: 4px 0 0; padding: 0 0 0 16px; }
.owner .tile-rows .teammates li { padding: 2px 0; border-top: 0; }
.move-account, .deletions { margin-top: 16px; }
.move-account label { display: block; margin: 8px 0; }
.move-account select { max-width: 100%; }


/* ── The makeover (Nick, 27 November 2026: "look like an actual business
   dashboard … premium … no AI slop"). One quiet surface per part, lines and
   space doing the separating, the numbers and the data the loudest things on
   the page. No gradients, glows, icon bubbles or invented trend arrows: every
   figure is counted from real invoices, trips and sign-ups. ─────────────── */
.owner-page {
  /* The chart colors, checked together for color blindness on white:
     collected money and trips, invoiced, and the third kind of trip. */
  --series-collected: #0E8F86;
  --series-invoiced: #B07A2A;
  --series-third: #6A7FD0;
}
@media (prefers-color-scheme: dark) {
  .owner-page { --series-collected: #1FAA9E; --series-invoiced: #D29A45; --series-third: #8C9CE0; }   /* re-stepped for the dark card */
}

.o-panel { padding: 20px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.o-panel + .o-panel { margin-top: 16px; }
.o-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.o-card-head h4 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.o-note { margin: 6px 0 0; max-width: 72ch; color: var(--soft); font-size: 14px; line-height: 1.5; }
.o-clear { margin: 0; color: var(--soft); }

/* Charts. */
.o-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.o-charts .o-panel + .o-panel { margin-top: 0; }
.o-wide { grid-column: 1 / -1; }
.chart { margin: 16px 0 0; }
.chart-plot { position: relative; width: 100%; }
.chart-plot svg { display: block; overflow: visible; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.chart-base { stroke: var(--soft); stroke-width: 1; opacity: 0.6; }
.chart-tick { fill: var(--soft); font: 500 12px var(--body); }
.chart-value { fill: var(--ink); font: 600 12px var(--body); }
.chart-mark { transition: opacity var(--step); }
.chart-hit { fill: transparent; outline: none; cursor: default; }
.chart-group.on .chart-mark { opacity: 0.78; }
.chart-group:has(.chart-hit:focus-visible) .chart-mark { opacity: 0.78; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--soft); }
.chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.chart-swatch { width: 10px; height: 10px; border-radius: 3px; }
.chart-table { margin-top: 8px; font-size: 13px; }
.chart-table summary { width: fit-content; color: var(--soft); cursor: pointer; }
.chart-table summary:hover { color: var(--ink); }
.chart-table table { width: 100%; margin-top: 8px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.chart-table th, .chart-table td { padding: 6px 8px 6px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 400; }
.chart-table thead th { border-top: 0; color: var(--soft); font-weight: 600; }
.chart-table td { text-align: right; }
.chart-tip {
  position: absolute; z-index: 60; min-width: 160px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--card); color: var(--ink); box-shadow: var(--shadow-pop); pointer-events: none; font-size: 13px;
}
.chart-tip p { margin: 0; }
.chart-tip-title { color: var(--soft); margin-bottom: 4px !important; }
.chart-tip-row { display: flex; align-items: center; gap: 8px; }
.chart-tip-row b { font-variant-numeric: tabular-nums; }
.chart-tip-row span { color: var(--soft); }
.chart-key { width: 12px; height: 2px; border-radius: 1px; }

/* Customers: a card each, with a bar for each plan running. */
.o-customers { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.o-customers > li { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); overflow-wrap: anywhere; }
.o-meter { height: 6px; margin: 8px 0 4px; border-radius: 999px; background: var(--tint); overflow: hidden; }
.o-meter i { display: block; height: 100%; border-radius: 999px; background: var(--series-collected); }
.o-meter.warn i { background: var(--warn); }
.o-meter.bad i { background: var(--bad); }

/* Invoices: which ones, as a row of tabs, and the list on one surface. */
.o-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.o-tabs { display: inline-flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.o-tabs button {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 0; border-radius: 999px;
  background: none; color: var(--soft); font: 600 13px var(--body); cursor: pointer;
}
.o-tabs button:hover { color: var(--ink); }
.o-tabs button[aria-pressed="true"] { background: var(--tint); color: var(--ink); }
.o-tab-count { font-weight: 500; color: var(--soft); font-variant-numeric: tabular-nums; }
.o-list .tile-rows { margin: 0; }
.o-list .tile-rows > li { padding: 14px 0; }
.o-list .row-main b:first-child { font-variant-numeric: tabular-nums; }
.o-list .row-amount { font-size: 16px; }
/* An invoice on two lines, not five: who and what on the left; the amount
   and what can be done with it on the right, as quiet text buttons. */
/* The actions column is one fixed width so every amount lines up, whatever
   buttons a row has. */
.o-list .tile-rows.orders > li { display: grid; grid-template-columns: minmax(0, 1fr) 470px; column-gap: 24px; align-items: start; }
.o-list .tile-rows.orders > li > * { grid-column: 1; }
.o-list .tile-rows.orders > li > .row-actions { grid-column: 2; grid-row: 1 / span 3; margin: 0; justify-content: flex-end; align-self: center; gap: 2px; }
.o-list .row-actions .btn.small { border-color: transparent; background: none; color: var(--soft); padding: 4px 8px; }
.o-list .row-actions .btn.small:hover:not(:disabled) { color: var(--ink); background: var(--tint); }
.o-list .row-actions .btn.small.danger { color: var(--bad); }
.o-list .paid-form { grid-column: 1 / -1; }
/* A trip on two lines, its buttons to the right, like an invoice. */
.o-list .o-trips > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: center; }
.o-list .o-trips > li > * { grid-column: 1; }
.o-list .o-trips > li > .row-actions { grid-column: 2; grid-row: 1 / span 2; margin: 0; justify-content: flex-end; gap: 2px; }
@media (max-width: 760px) {
  .o-list .o-trips > li { grid-template-columns: 1fr; }
  .o-list .o-trips > li > .row-actions { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 6px; }
  /* A trip has two buttons at most, so they show; only an invoice's wait behind Actions. */
  .o-list .o-trips > li > .row-actions:not(.open) > .btn:not(.o-acts-toggle) { display: inline-flex; }
}
@media (max-width: 1240px) {
  .o-list .tile-rows.orders > li { grid-template-columns: 1fr; }
  .o-list .tile-rows.orders > li > .row-actions { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 6px; }
}

/* Setup: four cards, two to a row; each form folds away behind its button. */
.o-setup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.o-setup .o-panel + .o-panel { margin-top: 0; }
.o-form { margin-top: 16px; }
.o-panel.o-form { margin-top: 0; margin-bottom: 16px; }
@media (max-width: 900px) {
  .o-setup { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .o-panel, .o-customers > li { padding: 16px; }
  .o-customers { grid-template-columns: 1fr; }
}

/* Atlas: the button in the head, and its panel from the right. */
.atlas-btn { display: inline-flex; align-items: center; gap: 8px; padding-left: 8px; }
.atlas-face { flex: none; display: block; }
.atlas-ground { fill: #0E1B2C; }
.atlas-line { fill: none; stroke: #16C2B5; stroke-width: 1.6; }
.atlas-faint { stroke-width: 1.2; opacity: 0.65; }
.atlas-ring { fill: none; stroke: rgba(233, 239, 242, 0.32); stroke-width: 1; }
.atlas-moon { fill: #F3F6F7; }
.atlas-orbit { transform-origin: 20px 20px; }
.atlas.is-reading .atlas-orbit { animation: atlas-orbit 2.4s linear infinite; }
@keyframes atlas-orbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .atlas.is-reading .atlas-orbit { animation: none; } }

.atlas {
  position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(440px, 100vw);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--card); border-left: 1px solid var(--line); box-shadow: -24px 0 48px -32px rgba(0, 0, 0, 0.55);
}
.atlas[hidden] { display: none; }
.atlas-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 20px; border-bottom: 1px solid var(--line); }
.atlas-head > div { display: grid; flex: 1 1 auto; min-width: 0; }
.atlas-head b { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; line-height: 1.1; }
.atlas-head span { color: var(--soft); font-size: 13px; }
.atlas-new { border: 0; background: none; color: var(--soft); font: 600 13px var(--body); cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.atlas-new:hover { color: var(--ink); background: var(--tint); }
.atlas-x { width: 36px; height: 36px; border: 0; border-radius: 10px; background: none; color: var(--soft); font-size: 24px; line-height: 1; cursor: pointer; }
.atlas-x:hover { color: var(--ink); background: var(--tint); }
.atlas-log { overflow-y: auto; padding: 20px; display: grid; align-content: start; gap: 16px; }
.atlas-hello { display: grid; justify-items: start; gap: 8px; padding-top: 8px; }
.atlas-hello p { margin: 0; color: var(--soft); line-height: 1.5; }
.atlas-hello .atlas-hello-h { margin-top: 8px; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.atlas-starters { display: grid; gap: 8px; width: 100%; margin-top: 12px; }
.atlas-starters button {
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: none; color: var(--ink);
  font: 500 14px var(--body); text-align: left; cursor: pointer;
}
.atlas-starters button:hover { border-color: var(--soft); background: var(--tint); }
.atlas-msg { display: flex; gap: 10px; align-items: flex-start; }
.atlas-msg p { margin: 0; line-height: 1.55; }
.atlas-msg.you { justify-content: flex-end; }
.atlas-msg.you p { max-width: 85%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--tint); }
.atlas-words { display: grid; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.atlas-words ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.atlas-msg.error .atlas-words { color: var(--bad); }
.atlas-msg.reading p { color: var(--soft); }
.atlas-sources { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2px; font-size: 13px; }
.atlas-sources > span { color: var(--soft); }
.atlas-sources a { padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; }
.atlas-sources a:hover { border-color: var(--soft); }
.atlas-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.atlas-form textarea {
  resize: none; min-height: 44px; max-height: 160px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--ink); font: 400 15px/1.45 var(--body);
}
.atlas-form textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
/* An iPhone zooms the whole page in when a box with text under 16px is
   tapped, and stays zoomed, which cut off the right edge of Atlas's panel. */
@media (max-width: 560px) {
  .owner-page input, .owner-page textarea, .owner-page select { font-size: max(16px, 1em); }
  .atlas-btn { padding-left: 6px; }
}

/* Inside our files: the passages that match, each opening its file at the heading. */
.ws-inside { display: grid; gap: 1px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); }
.ws-hit { display: grid; gap: 2px; padding: 12px 16px; background: var(--card); color: var(--ink); text-decoration: none; }
.ws-hit:hover { background: var(--tint); }
.ws-hit b { font-size: 15px; font-weight: 600; }
.ws-hit span { color: var(--soft); font-size: 13px; line-height: 1.45; }
.ws-hit .ws-hit-file { color: var(--lagoon); font-weight: 600; font-size: 12px; }

/* ── The owner page on a phone (Nick, 28 November 2026: "check the owner page
   on phone for anything plain"; it ran to seventeen screens) ──────────────── */
.o-show-all, .o-acts-toggle { display: none; }
@media (max-width: 560px) {
  /* A long list shows its first few, with a button for the rest. */
  .o-show-all { display: inline-flex; margin-top: 12px; }
  .o-customers.o-capped:not(.all) > li:nth-child(n+7) { display: none; }
  .tile-rows.orders.o-capped:not(.all) > li:nth-child(n+9) { display: none; }

  /* Customers: name and address on one line each, the tags beside the name. */
  .o-customers > li .row-main span:not(.chip) { flex-basis: 100%; color: var(--soft); font-size: 14px; }

  /* An invoice: number, who, status and amount; its buttons behind Actions. */
  .o-list .row-amount { margin-left: auto; }
  .o-acts-toggle { display: inline-flex; }
  .o-list .row-actions:not(.open) > .btn:not(.o-acts-toggle) { display: none; }

  /* All, Open, Overdue and Paid: a thumb's size, not 25 points. */
  .o-tabs button { min-height: 40px; padding: 0 14px; font-size: 14px; }
}

/* The Workspace's search results: three columns, each group folded behind its name. */
.ws-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; margin-top: 24px; align-items: start; }
.ws-col h3, .ws-found h3 {
  display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px;
  /* Figtree, not the headline face: Bricolage is kept for page titles (PLAN.md section 20). */
  font-family: var(--body); font-weight: 700; font-size: 17px; letter-spacing: 0;
}
.ws-col-count { color: var(--soft); font: 600 14px var(--body); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.ws-group, .ws-open { border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.ws-group + .ws-group { margin-top: 8px; }
.ws-group summary {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px 0 16px;
  border-radius: 13px; font-weight: 600; cursor: pointer; list-style: none;
  transition: background var(--step);
}
.ws-group summary::-webkit-details-marker { display: none; }
.ws-group summary:hover { background: var(--tint); }
.ws-group summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ws-group[open] summary { border-bottom: 1px solid var(--line); border-radius: 13px 13px 0 0; }
.ws-group-name { flex: 1 1 auto; min-width: 0; }
.ws-group-count {
  min-width: 26px; padding: 0 8px; border-radius: 999px; background: var(--tint); color: var(--soft);
  font-size: 12.5px; line-height: 22px; text-align: center; font-variant-numeric: tabular-nums;
}
.ws-icon { display: inline-grid; place-items: center; flex: none; color: var(--soft); }
.ws-icon svg { display: block; }
.ws-icon-chevron { transition: transform var(--step); }
.ws-group[open] .ws-icon-chevron { transform: rotate(90deg); }
.ws-rows { display: grid; gap: 2px; padding: 6px; }
.ws-row {
  display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: 10px;
  color: var(--ink); text-decoration: none; transition: background var(--step);
}
.ws-row:hover { background: var(--tint); }
.ws-row:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.ws-row-words { display: grid; gap: 2px; flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.ws-row-words b { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 15px; font-weight: 600; }
.ws-row-words > span { color: var(--soft); font-size: 13px; line-height: 1.45; }
.ws-row-words em {
  width: fit-content; margin-top: 4px; padding: 1px 8px; border-radius: 999px; background: var(--tint);
  color: var(--soft); font-style: normal; font-size: 12px; font-weight: 600;
}
.ws-row .ws-icon-away { margin-top: 3px; }
.ws-tag { padding: 0 6px; border: 1px solid var(--line); border-radius: 4px; color: var(--soft); font-size: 11px; font-weight: 600; }
.ws-pic { flex: none; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--tint); }
/* A graphic's picture keeps its own shape (a laptop lid is about 10 by 7),
   whole and uncropped, so it reads as the thing it is. */
.ws-pic.wide { width: 80px; height: 56px; border-radius: 6px; object-fit: contain; }
.ws-found { margin-top: 24px; }
.ws-none { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ws-none p { margin: 0; }

@media (max-width: 1000px) {
  .ws-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .ws-columns { grid-template-columns: 1fr; }
}

/* ── The frame (PLAN.md section 20, 5 December 2026: "plain Jane, tons of
   extra space, lots of scrolling"). The same frame as My trips: the top bar,
   a menu down the left, and screens to its right. Bricolage only for a
   screen's title and the band's headline; every figure in Figtree, with
   lining digits of even width so the columns line up. 12px corners. ─────── */
.owner-page { background: var(--bg); }
.owner-page .num, .o-fig b, .o-amt, .o-pick-amt, .o-mini td, .o-tbl td { font-variant-numeric: tabular-nums lining-nums; }

/* The top bar */
.o-top { position: sticky; top: 0; z-index: 30; }
.o-top-in { display: flex; align-items: center; gap: 14px; padding: 10px 24px; }
.o-top .mark-sub { font-family: var(--body); font-weight: 700; font-size: 14px; color: var(--header-soft); letter-spacing: 0; }
.o-top #who { margin: 0 0 0 auto; color: var(--header-soft); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.o-top .top-btn { flex: none; }
.o-find {
  position: relative; display: flex; align-items: center; gap: 8px; width: min(400px, 34vw); height: 38px; margin-left: 28px; padding: 0 10px 0 12px;
  border: 1px solid var(--header-line); border-radius: 11px; background: var(--header-tint); color: var(--header-soft);
}
.o-find:focus-within { border-color: rgba(255, 255, 255, 0.55); }
.o-find svg { flex: none; }
.o-find input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: #FFFFFF; font: 400 14px var(--body); }
.o-find input::placeholder { color: var(--header-soft); }
.o-find input::-webkit-search-cancel-button { display: none; }
.o-find kbd { padding: 1px 6px; border: 1px solid var(--header-line); border-radius: 6px; color: var(--header-soft); font: 600 12px var(--body); }
.o-find-results {
  position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; width: max(100%, 420px); max-height: min(520px, 70vh); overflow-y: auto;
  padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); box-shadow: var(--shadow-pop);
}
.o-find-group h5 { margin: 8px 10px 4px; color: var(--soft); font-size: 12px; font-weight: 700; }
.o-find-results ul { list-style: none; margin: 0; padding: 0; }
.o-find-results li { display: grid; gap: 1px; padding: 7px 10px; border-radius: 8px; cursor: pointer; }
.o-find-results li b { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-find-results li span { color: var(--soft); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-find-results li.on, .o-find-results li:hover { background: var(--tint); }
.o-find-atlas { margin-top: 4px !important; padding-top: 4px !important; border-top: 1px solid var(--line) !important; }
.o-find-atlas b { color: var(--lagoon); }
/* Atlas, on his own beside the search: never over the work. */
#atlas-slot:empty { display: none; }
.o-top .atlas-btn {
  min-height: 36px; padding: 3px 13px 3px 3px; border: 1px solid var(--header-line); border-radius: 999px;
  background: none; color: #FFFFFF; font-size: 13.5px; font-weight: 700;
}
.o-top .atlas-btn:hover:not(:disabled) { background: var(--header-tint); border-color: rgba(255, 255, 255, 0.55); }
.o-top .atlas-btn .atlas-face { border-radius: 50%; box-shadow: 0 0 0 1px var(--header-line); }
/* The Workspace, beside Atlas: the same quiet pill, filled while it's open. */
#ws-slot:empty { display: none; }
.o-top .ws-top-btn {
  display: inline-flex; flex: none; align-items: center; gap: 7px; min-height: 36px; padding: 3px 8px 3px 11px;
  border: 1px solid var(--header-line); border-radius: 999px; background: none; color: #FFFFFF;
  font-size: 13.5px; font-weight: 700; text-decoration: none;
}
.o-top .ws-top-btn:hover { background: var(--header-tint); border-color: rgba(255, 255, 255, 0.55); text-decoration: none; }
.o-top .ws-top-btn:focus-visible { outline: 2px solid #16C2B5; outline-offset: 2px; }
.o-top .ws-top-btn.on { border-color: #16C2B5; background: rgba(22, 194, 181, 0.16); }
.o-top .ws-top-btn kbd {
  min-width: 20px; padding: 0 5px; border: 1px solid var(--header-line); border-radius: 6px;
  color: var(--header-soft); font: 600 11.5px/18px var(--body); text-align: center;
}
.atlas { top: 58px; right: 16px; bottom: auto; height: min(640px, calc(100vh - 74px)); width: min(420px, calc(100vw - 32px)); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-pop); }

/* The menu */
.o-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: calc(100vh - 58px); }
.o-rail { position: sticky; top: 58px; align-self: start; max-height: calc(100vh - 58px); overflow-y: auto; display: flex; flex-direction: column; gap: 1px;
  padding: 16px 12px 24px; border-right: 1px solid var(--line); background: var(--card); min-height: calc(100vh - 58px); }
.o-rail:empty { display: none; }
.o-raise { margin: 0 4px 10px; min-height: 40px; gap: 7px; }
.o-glyph { display: inline-grid; place-items: center; flex: none; }
.o-glyph svg { display: block; }
.o-nav-item { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px; color: var(--soft); font-size: 14px; font-weight: 600; text-decoration: none; }
.o-nav-item:hover, .o-nav-item.on { background: var(--tint); color: var(--ink); text-decoration: none; }
.o-nav-item i { margin-left: auto; font-style: normal; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.o-nav-item i.due { padding: 0 7px; border-radius: 999px; background: var(--bad-bg); color: var(--bad); font-weight: 700; }
.o-rail h4 { margin: 16px 10px 2px; color: var(--soft); font-size: 12.5px; font-weight: 700; }

/* The invite links bubble */
.o-bub { flex: none; margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }
.o-bub-head { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.o-bub-head b { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.o-bub-count { margin-left: auto; color: var(--soft); font-size: 12.5px; font-weight: 600; }
.o-bub-head .o-glyph-down { color: var(--soft); transition: transform var(--step); }
.o-bub.open .o-bub-head .o-glyph-down { transform: rotate(180deg); }
.o-mk { display: flex; gap: 6px; padding: 2px 10px 8px; }
.o-mk input { flex: 1; min-width: 0; min-height: 34px; padding: 5px 9px; border-radius: 9px; font-size: 13.5px; }
.o-mk .btn { min-height: 34px; }
.o-bub-note { margin: 0; padding: 0 10px 8px; color: var(--soft); font-size: 12.5px; overflow-wrap: anywhere; }
.o-bub-note.warn { color: var(--bad); }
.o-lk { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 10px; border-top: 1px solid var(--line); font-size: 13px; }
.o-lk b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-lk span { color: var(--soft); font-size: 12px; }
.o-lk.new { background: var(--tint); }
.o-lk-acts { display: flex; gap: 10px; }
.o-copy { padding: 0; border: 0; background: none; color: var(--lagoon); font: 700 13px var(--body); cursor: pointer; }
.o-copy.off { color: var(--soft); font-weight: 600; }
.o-lk-all { display: block; width: 100%; padding: 7px 10px 9px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--lagoon); font: 700 13px var(--body); text-align: left; cursor: pointer; }

/* A screen */
.owner { min-width: 0; padding: 0 0 48px; }
.owner > .empty { padding: 32px 24px; }
.o-screen-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 22px 24px 16px; }
.o-title { margin: 0 auto 0 0; font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -0.03em; line-height: 1; }
.owner > .o-panel, .owner > .o-setup, .owner > .o-note, .owner > .owner-note, .owner > .ws-band, .owner > .ws-below, .owner > .o-tb, .owner > p.hint { margin-left: 24px; margin-right: 24px; }
.owner > .o-panel + .o-panel { margin-top: 16px; }
.owner > .o-customers { margin: 0 24px; }
.owner > .o-note { margin-top: 0; margin-bottom: 12px; }
.owner > .owner-note { margin-bottom: 12px; }
.owner .o-panel { border-radius: 12px; }
.o-chips { display: none; }

/* The band: the date and what needs you; the lettering fills the rest. */
.o-band { display: grid; grid-template-columns: 560px minmax(0, 1fr); height: 144px; overflow: hidden; background: var(--header); color: var(--header-ink); }
.o-band-words { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 0; padding: 16px 32px; }
.o-band-day { color: var(--header-soft); font-size: 14px; font-weight: 600; }
.o-band h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
.o-band-line { display: flex; align-items: center; gap: 10px; margin: 0; color: #DCE4E9; font-size: 14.5px; }
.o-band-line b { color: #FFFFFF; }
.o-band-line > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-band-art { position: relative; overflow: hidden; }
.o-band-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 100%; }
/* Coral, because these trips are live this minute. It pulses only when one is on the road. */
.o-live-dot { position: relative; display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #FF6B4A; }
.o-live-dot.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #FF6B4A; animation: o-live 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite; }
@keyframes o-live { from { transform: scale(1); opacity: 0.6; } to { transform: scale(3.4); opacity: 0; } }

/* Today: the sheet, and the panels beside it */
.o-below { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; padding: 18px 24px 0; }
.o-sheet { min-width: 0; padding: 16px 22px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.o-sheet-sec + .o-sheet-sec { margin: 12px -22px 0; padding: 12px 22px 0; border-top: 1px solid var(--line); }
.o-sheet-head { display: flex; align-items: baseline; gap: 10px; margin: 0 0 6px; }
.o-sheet-head h2 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.o-count-soft { color: var(--soft); font-weight: 600; }
.o-x { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; color: var(--lagoon); font: 600 13.5px var(--body); letter-spacing: 0; text-decoration: none; }
.o-x:hover { text-decoration: underline; }
.o-keys { margin-left: auto; display: flex; align-items: center; gap: 4px; color: var(--soft); font-size: 12px; }
.o-keys kbd { padding: 0 5px; border: 1px solid var(--line); border-radius: 5px; background: var(--bg); font: 600 11px var(--body); }

/* Figures on a ruled line, and the months as columns */
.o-ledger { display: flex; flex-wrap: wrap; row-gap: 10px; }
.o-fig { min-width: 0; margin-right: 22px; padding: 2px 22px 4px 0; border-right: 1px solid var(--line); }
.o-fig:last-child { margin-right: 0; padding-right: 0; border-right: 0; }
.o-fig b { display: block; font-weight: 700; font-size: 28px; letter-spacing: -0.02em; line-height: 1.1; }
.o-fig span { display: block; margin-top: 3px; color: var(--soft); font-size: 13px; font-weight: 600; white-space: nowrap; }
.o-fig em { font-style: normal; color: var(--bad); }
.o-year { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: end; margin: 12px 0 4px; }
.o-cols { display: flex; align-items: flex-end; gap: 6px; height: 46px; max-width: calc(var(--n, 12) * 52px); }
.o-cols > div { flex: 1; display: flex; align-items: flex-end; gap: 2px; height: 100%; }
.o-cols i { display: block; flex: 1; border-radius: 4px 4px 0 0; background: var(--series-invoiced); }
.o-cols i + i { background: var(--series-collected); }
.o-mons { display: flex; gap: 6px; max-width: calc(var(--n, 12) * 52px); color: var(--soft); font-size: 11px; font-weight: 600; }
.o-mons span { flex: 1; text-align: center; }
.o-key { display: grid; gap: 2px; color: var(--soft); font-size: 12px; white-space: nowrap; }
.o-key span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 2px; background: var(--series-invoiced); }
.o-key span + span::before { background: var(--series-collected); }

/* Needs you: one line each. The one picked opens on the right. */
.o-pill { display: inline-flex; align-items: center; justify-self: start; padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.o-pill.bad { background: var(--bad-bg); color: var(--bad); }
.o-pill.warn { background: var(--warn-bg); color: var(--warn); }
.o-pill.info { background: var(--tint); color: var(--lagoon); }
.o-pill.pv { padding: 0 8px; border: 1px solid var(--line); color: var(--soft); }
.o-needs { list-style: none; margin: 2px -22px 0; padding: 0; }
.o-need { display: grid; grid-template-columns: 84px minmax(0, 1fr) 76px 16px; gap: 14px; align-items: center; padding: 8px 22px; border-top: 1px solid var(--line); cursor: pointer; transition: background var(--step); outline-offset: -2px; }
.o-needs > li:first-child { border-top: 0; }
.o-need:hover { background: var(--tint); }
.o-need.sel { background: color-mix(in srgb, var(--lagoon) 9%, var(--card)); }
.o-need-words { display: grid; min-width: 0; }
.o-need-words b { overflow: hidden; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.o-need-words span { overflow: hidden; color: var(--soft); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.o-amt { font-size: 14px; font-weight: 700; text-align: right; }
.o-need .o-glyph-right { color: var(--soft); opacity: 0.5; }
.o-need.sel .o-glyph-right { color: var(--lagoon); opacity: 1; }
.o-need-acts { display: none; }
.o-more { display: block; width: calc(100% + 44px); margin: 0 -22px; padding: 10px 22px 12px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--lagoon); font: 700 13.5px var(--body); text-align: left; cursor: pointer; }
.o-more:hover { background: var(--tint); }
.o-clear-art { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; padding: 10px 0 16px; }
.o-clear-pic { position: relative; height: 104px; overflow: hidden; border-radius: 12px; background: #16C2B5; }
.o-clear-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 100%; }
.o-clear-art h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.o-clear-art p { margin: 0; max-width: 52ch; color: var(--soft); font-size: 14px; }

/* The panels on the right */
.o-side { position: sticky; top: 74px; display: grid; gap: 14px; min-width: 0; }
.o-panel2 { display: grid; gap: 11px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.o-panel2 > h3 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 16px; font-weight: 700; }
.o-pick-h { display: flex; align-items: center; gap: 10px; }
.o-of { margin-left: auto; color: var(--soft); font-size: 12.5px; font-weight: 600; }
.o-pick-t { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.o-pick-amt { font-weight: 700; font-size: 30px; letter-spacing: -0.02em; line-height: 1; }
.o-facts { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; margin: 0; font-size: 13.5px; }
.o-facts dt { color: var(--soft); }
.o-facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.o-pick-note { margin: 0; color: var(--soft); font-size: 13.5px; }
.o-acts { display: grid; gap: 8px; }
.o-acts .btn { min-height: 40px; text-decoration: none; }
.o-acts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.o-acts-row .btn { padding-left: 8px; padding-right: 8px; white-space: normal; line-height: 1.2; }
.o-pick { animation: o-pin 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes o-pin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.o-trow { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 6px 0; color: var(--ink); text-decoration: none; }
.o-trow + .o-trow { border-top: 1px solid var(--line); }
.o-trow:hover .o-t { text-decoration: underline; }
.o-trow b { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; font-weight: 700; }
.o-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-sub { overflow: hidden; color: var(--soft); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.o-st { color: var(--soft); font-size: 13px; white-space: nowrap; }
.o-stk { display: block; flex: none; border: 2px solid var(--card); border-radius: 50%; background: var(--tint); object-fit: cover; box-shadow: 0 3px 9px -4px rgba(14, 27, 44, 0.5); }
.o-sq { display: block; flex: none; border-radius: 10px; object-fit: cover; box-shadow: 0 3px 9px -4px rgba(14, 27, 44, 0.5); }
.o-ph-only { display: none; }

/* Business */
.o-seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.o-seg button { padding: 4px 12px; border: 0; border-radius: 7px; background: none; color: var(--soft); font: 600 13.5px var(--body); cursor: pointer; white-space: nowrap; }
.o-seg button[aria-pressed="true"] { background: var(--navy); color: var(--on-navy); }
.o-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; align-items: stretch; padding: 0 24px; }
.o-card { min-width: 0; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.o-card.s4 { grid-column: span 4; } .o-card.s5 { grid-column: span 5; } .o-card.s6 { grid-column: span 6; } .o-card.s7 { grid-column: span 7; } .o-card.s8 { grid-column: span 8; } .o-card.s12 { grid-column: span 12; }
.o-card > h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 10px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.o-card > h3 > span { color: var(--soft); font-size: 13px; font-weight: 600; }
.o-card .o-fig b { font-size: 26px; }
.o-card .chart { margin-top: 12px; }
.o-card .chart-plot { max-width: 100%; }
.o-aging { display: grid; gap: 6px; margin-top: 12px; color: var(--soft); font-size: 12.5px; }
.o-ag-bar { display: flex; gap: 2px; height: 8px; }
.o-ag-bar i { display: block; border-radius: 4px; }
.o-ag-bar .nd { background: color-mix(in srgb, var(--soft) 30%, var(--card)); }
.o-ag-bar .ls { background: var(--warn); }
.o-ag-bar .ll { background: var(--bad); }
.o-aging em { font-style: normal; color: var(--bad); font-weight: 600; }
.o-kinds { display: flex; gap: 2px; height: 12px; margin-top: 12px; }
.o-kinds i { display: block; height: 100%; border-radius: 4px; }
.o-kinds-l { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; font-size: 13px; }
.o-kinds-l span { display: flex; align-items: center; gap: 6px; color: var(--soft); }
.o-kinds-l span::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--c); }
.o-kinds-l b { color: var(--ink); }
.o-funnels { display: grid; gap: 16px; }
.o-funnel h4 { margin: 0 0 6px; color: var(--soft); font-size: 13px; font-weight: 700; }
.o-step { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; align-items: center; padding: 3px 0; font-size: 13.5px; }
.o-step-bar { position: relative; height: 18px; border-radius: 4px; background: var(--tint); }
.o-step-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--series-collected); }
.o-step-bar em { position: absolute; top: 0; left: 8px; color: #FFFFFF; font: 700 12px/18px var(--body); font-style: normal; font-variant-numeric: tabular-nums; }
.o-step-bar em.out { color: var(--ink); }
.o-feed { list-style: none; margin: 0 -20px -8px; padding: 0; }
.o-feed li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; padding: 7px 20px; border-top: 1px solid var(--line); font-size: 13.5px; overflow-wrap: anywhere; }
.o-feed li:first-child { border-top: 0; }
.o-feed time { color: var(--soft); font-size: 12.5px; font-weight: 600; }
.o-mini, .o-tbl table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.o-mini td { padding: 7px 0; border-top: 1px solid var(--line); }
.o-mini tr:first-child td { border-top: 0; }
.o-mini td small { color: var(--soft); font-size: 12.5px; }
.o-mini td.r { width: 110px; text-align: right; }
.o-mini .btn.link { font-size: 13px; }
.o-card .tile-list { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.o-tbl { overflow-x: auto; }
.o-tbl th { padding: 6px 10px; border-bottom: 1px solid var(--line); color: var(--soft); font-size: 12.5px; font-weight: 600; text-align: left; white-space: nowrap; }
.o-tbl td { padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.o-tbl tr:last-child td { border-bottom: 0; }
.o-tbl .r { text-align: right; }
.o-tbl .soft { color: var(--soft); }
.o-use { display: inline-block; width: 70px; height: 6px; margin-right: 8px; overflow: hidden; border-radius: 3px; background: var(--tint); vertical-align: middle; }
.o-use i { display: block; height: 100%; border-radius: 3px; background: var(--series-collected); }
.o-use.over i { background: var(--bad); }

/* A laptop: the money's four figures need the width the panels take. */
@media (max-width: 1360px) {
  .o-below { grid-template-columns: minmax(0, 1fr) 300px; }
  .o-band { grid-template-columns: 480px minmax(0, 1fr); }
  .o-fig { margin-right: 16px; padding-right: 16px; }
  .o-fig b { font-size: 24px; }
}
@media (max-width: 1100px) {
  .o-card.s4, .o-card.s5, .o-card.s6, .o-card.s7, .o-card.s8 { grid-column: span 12; }
  .o-below { grid-template-columns: minmax(0, 1fr); }
  .o-side { position: static; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

/* ── Step two (PLAN.md section 20): putting things off, running costs, the
   export, the Calendar and the monthly bills. ─────────────────────────────── */
.o-later { display: flex; gap: 4px; margin: 2px -6px 0; }
.o-later button { padding: 4px 6px; border: 0; border-radius: 6px; background: none; color: var(--soft); font: 600 13px var(--body); cursor: pointer; }
.o-later button:hover { background: var(--tint); color: var(--ink); }
.o-needs-note { margin: 0 0 8px; color: var(--soft); font-size: 13.5px; }
.o-needs-note.warn { color: var(--bad); }
.o-putoff .o-more { display: flex; align-items: center; gap: 6px; color: var(--soft); }
.o-putoff ul { list-style: none; margin: 0 -22px; padding: 0; }
.o-putoff li { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 8px 22px; border-top: 1px solid var(--line); opacity: 0.85; }
.o-export { gap: 6px; }

.o-costs { display: grid; margin: 4px -20px 0; }
.o-cost { display: grid; grid-template-columns: minmax(0, 1fr) 54px 72px; gap: 10px; align-items: center; padding: 8px 20px; border-top: 1px solid var(--line); font-size: 13.5px; }
.o-cost:first-child { border-top: 0; }
.o-cost > div:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-cost b { font-weight: 700; }
.o-cost > div:first-child span { margin-left: 6px; color: var(--soft); font-size: 12px; }
.o-cost-bar { height: 6px; overflow: hidden; border-radius: 3px; background: var(--tint); }
.o-cost-bar i { display: block; height: 100%; border-radius: 3px; background: var(--soft); }
.o-cost-amt { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums lining-nums; }
.o-cost.free .o-cost-amt, .o-cost-amt.soft { color: var(--soft); font-weight: 600; }
.o-cost-foot { display: grid; grid-template-columns: 1fr 1fr; margin: 8px -20px -16px; border-top: 1px solid var(--line); }
.o-cost-foot div { padding: 10px 20px 12px; }
.o-cost-foot div + div { border-left: 1px solid var(--line); }
.o-cost-foot b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums; }
.o-cost-foot span { color: var(--soft); font-size: 12.5px; font-weight: 600; }
.o-costs-card .o-note { margin: 8px 0 0; font-size: 12.5px; }
.o-mini th { padding: 0 0 6px; color: var(--soft); font-size: 12px; font-weight: 600; text-align: left; }
.o-mini th.r, .o-mini td.r { text-align: right; }
.o-mini td.soft { color: var(--soft); }

/* The Calendar */
.o-cal-nav { display: flex; gap: 4px; }
.o-cal-filt { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.o-cal-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font: 600 13px var(--body); cursor: pointer; }
.o-cal-chip::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--c, var(--soft)); }
.o-cal-chip[aria-pressed="false"] { color: var(--soft); background: none; }
.o-cal-chip[aria-pressed="false"]::before { background: var(--line); }
.o-cal-chip.trips { --c: #BFE0DB; }
.o-cal-chip.due { --c: var(--ink); }
.o-cal-chip.yours { --c: var(--lagoon); }
.o-cal-chip.ends { --c: var(--warn); }
.o-cal-chip.holidays { --c: var(--soft); }
.o-cal { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; margin: 0 24px 40px; }
.o-month { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.o-cal-dow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.o-cal-dow span { padding: 8px 10px; color: var(--soft); font-size: 12.5px; font-weight: 700; }
.o-cal-wk { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: 30px; grid-auto-rows: min-content; min-height: 104px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.o-cal-wk:last-child { border-bottom: 0; }
.o-cal-day { grid-row: 1 / span 30; padding: 6px 8px; border-left: 1px solid var(--line); }
.o-cal-day:first-child { border-left: 0; }
.o-cal-day.out { background: color-mix(in srgb, var(--tint) 45%, var(--card)); color: var(--soft); }
.o-cal-d { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums lining-nums; }
.o-cal-day.today .o-cal-d { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--card); }
.o-cal-bar, .o-cal-ev, .o-cal-more { position: relative; z-index: 1; min-width: 0; margin: 2px 4px 0; border: 0; font: inherit; text-align: left; }
.o-cal-bar { display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; overflow: hidden; border-radius: 6px; background: color-mix(in srgb, var(--lagoon) 14%, var(--card)); color: var(--ink); font-size: 12px; font-weight: 700; white-space: nowrap; }
.o-cal-bar.pv { background: color-mix(in srgb, var(--warn) 14%, var(--card)); }
.o-cal-bar.yours { background: color-mix(in srgb, var(--lagoon) 8%, var(--card)); box-shadow: inset 2px 0 0 var(--lagoon); color: var(--ink); font-weight: 600; }
.o-cal-bar span:last-child, .o-cal-ev span:last-child { overflow: hidden; text-overflow: ellipsis; }
.o-cal-bar .o-live-dot { width: 6px; height: 6px; }
.o-cal-ev { display: flex; align-items: center; gap: 5px; padding: 1px 6px; overflow: hidden; border-radius: 6px; background: none; color: var(--ink); font-size: 12px; font-weight: 600; white-space: nowrap; }
.o-cal-ev.due.bad { background: var(--bad-bg); color: var(--bad); }
.o-cal-ev.yours { color: var(--lagoon); }
.o-cal-ev.ends { color: var(--warn); }
.o-cal-ev.holidays { color: var(--soft); font-style: italic; }
.o-ag.holidays b { color: var(--soft); font-weight: 600; }
.o-cal-ev .o-glyph { flex: none; }
.o-cal-more { padding: 0 6px; color: var(--soft); font-size: 12px; font-weight: 600; }
button.o-cal-bar, button.o-cal-ev { cursor: pointer; }
button.o-cal-bar:hover, button.o-cal-ev:hover { filter: brightness(0.96); }
.o-h-soft { margin-left: auto; color: var(--soft); font-size: 13px; font-weight: 600; }
.o-agenda { display: grid; margin: 0 -18px; }
.o-ag { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px; width: 100%; padding: 8px 18px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); font: inherit; font-size: 13.5px; text-align: left; }
.o-ag:first-child { border-top: 0; }
button.o-ag { cursor: pointer; }
button.o-ag:hover { background: var(--tint); }
.o-ag time { color: var(--soft); font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.o-ag time b { display: block; color: var(--ink); font-size: 20px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums; }
.o-ag div { min-width: 0; }
.o-ag div b { display: block; font-weight: 700; overflow-wrap: anywhere; }
.o-ag div span { color: var(--soft); font-size: 12.5px; }
.o-ag.due.bad div b { color: var(--bad); }

/* Monthly bills on Setup */
.o-bill-list { display: grid; list-style: none; margin: 4px 0 0; padding: 0; }
.o-bill-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; }
.o-bill-list li:first-child { border-top: 0; }
.o-bill-list li span:not(.o-amt) { overflow: hidden; color: var(--soft); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.o-bills-form { display: grid; gap: 8px; margin-top: 8px; }
.o-bill-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 84px auto; gap: 6px; align-items: center; }

@media (max-width: 1100px) {
  .o-cal { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .o-cal { margin: 0 12px 32px; }
  .o-month { display: none; }
  .o-cal-filt { margin-left: 0; }
  .o-bill-row { grid-template-columns: 1fr 84px; }
  .o-bill-row input:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .o-later { margin: 6px 0 0; }
  .o-putoff li { grid-template-columns: minmax(0, 1fr) auto; padding: 8px 14px; }
  .o-putoff li .o-pill { display: none; }
}

/* ── Step three (PLAN.md section 20): the owner team, a bubble in the menu
   above Invite links, folded to one line with its faces. ───────────────── */
.o-faces { display: flex; margin-left: auto; }
.o-face { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; color: #fff; font: 700 10px var(--body); letter-spacing: 0.02em; }
.o-faces .o-face { margin-left: -6px; box-shadow: 0 0 0 2px var(--card); }
.o-faces .o-face:first-child { margin-left: 0; }
.o-person { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 10px; border-top: 1px solid var(--line); font-size: 13px; }
.o-team .o-bub-body > .o-person:first-child { border-top: 0; }
.o-person b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-person span:not(.o-face) { display: block; color: var(--soft); font-size: 12px; line-height: 1.35; }
.o-person-edit { display: flex; grid-column: 2 / -1; gap: 6px; }
.o-person-edit select, .o-team-add select { min-height: 34px; padding: 4px 8px; border-radius: 9px; font-size: 13px; }
.o-person-edit select { flex: 1; min-width: 0; }
.o-team-add { flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--line); }
.o-team-add input { flex: 1 1 100%; }
.o-team-add select { flex: 1; min-width: 0; }
.o-find-none { margin: 0; padding: 12px 14px; color: var(--soft); font-size: 13.5px; }
.o-setup-team { margin: 0 12px 12px; }

/* ── A phone: no menu, a row of chips; no lettering; the open need's buttons under it. */
@media (max-width: 760px) {
  .o-top-in { gap: 10px; padding: 10px 14px; }
  .o-find, .o-top #who { display: none; }
  #atlas-slot { margin-left: auto; }
  .o-top .ws-top-btn { padding: 3px 9px; }
  .o-top .ws-top-btn .ws-top-word, .o-top .ws-top-btn kbd { display: none; }
  .o-top .atlas-btn { padding: 3px; }
  .o-top .atlas-btn { font-size: 0; gap: 0; }
  .o-shell { display: block; }
  .o-rail { display: none; }
  .o-chips { display: flex; gap: 6px; overflow-x: auto; padding: 12px 14px 0; scrollbar-width: none; }
  .o-chips::-webkit-scrollbar { display: none; }
  .o-chip { display: inline-flex; flex: none; align-items: center; gap: 6px; min-height: 36px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px;
    background: var(--card); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
  .o-chip i { color: var(--soft); font-style: normal; }
  .o-chip.on { border-color: var(--navy); background: var(--navy); color: var(--on-navy); }
  .o-chip.on i { color: inherit; opacity: 0.75; }
  .o-band { display: block; height: auto; margin-top: 12px; }
  .o-band-art { display: none; }
  .o-band-words { padding: 16px; }
  .o-band h1 { font-size: 30px; }
  .o-band-line { align-items: flex-start; line-height: 1.4; }
  .o-band-line > span:last-child { white-space: normal; }
  .o-band-line .o-live-dot { margin-top: 6px; }
  .o-below { display: flex; flex-direction: column; gap: 12px; padding: 12px; }
  .o-side { position: static; display: grid; grid-template-columns: 1fr; width: 100%; }
  .o-side .o-pick { display: none; }
  .o-ph-only { display: block; }
  .o-ph-only .o-bub { margin-top: 0; }
  .o-sheet { padding: 14px 14px 6px; }
  .o-sheet-sec + .o-sheet-sec { margin: 12px -14px 0; padding: 12px 14px 0; }
  .o-needs { margin: 2px -14px 0; }
  .o-need { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 9px 14px; }
  .o-need .o-pill { grid-column: 1; grid-row: 1; }
  .o-need-words { grid-column: 1 / -1; grid-row: 2; }
  .o-need .o-amt { grid-column: 2; grid-row: 1; }
  .o-need .o-glyph-right, .o-keys { display: none; }
  .o-need-words b, .o-need-words span { white-space: normal; }
  .o-need-acts { display: block; padding: 0 14px 12px; background: color-mix(in srgb, var(--lagoon) 9%, var(--card)); }
  .o-more { width: calc(100% + 28px); margin: 0 -14px; padding: 10px 14px 12px; }
  .o-ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 0; }
  .o-fig { margin-right: 0; padding-right: 8px; border-right: 0; }
  .o-fig b { font-size: 24px; }
  .o-fig span { white-space: normal; }
  .o-year { grid-template-columns: 1fr; }
  .o-key { display: flex; gap: 12px; }
  .o-clear-art { grid-template-columns: 1fr; }
  .o-screen-head { padding: 16px 14px 12px; }
  .o-title { font-size: 26px; }
  .o-seg { max-width: 100%; overflow-x: auto; }
  .o-grid { display: flex; flex-direction: column; gap: 12px; padding: 0 12px; }
  .o-card { padding: 14px 16px; }
  .o-feed { margin: 0 -16px -8px; }
  .o-feed li { padding: 7px 16px; }
  .o-step { grid-template-columns: 120px minmax(0, 1fr); }
  .owner > .o-panel, .owner > .o-setup, .owner > .o-note, .owner > .owner-note, .owner > .ws-band, .owner > .ws-below, .owner > .ws-ph-tools, .owner > .o-tb, .owner > p.hint, .owner > .o-customers { margin-left: 12px; margin-right: 12px; }
  .atlas { top: 8px; right: 8px; left: 8px; width: auto; height: calc(100vh - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  .o-live-dot.pulse::after, .o-pick { animation: none; }
}

/* ── Trips: the list with pictures, and the picked trip beside it ────────────
   (Nick, 5 December 2026; owner.js, tripsScreen). The list reads like a
   table, grouped by where each trip is; the panel holds the picture, the
   facts and the two settings, each explained. */
.o-tb-find { position: relative; flex: 0 1 300px; margin-left: auto; }
.o-tb-find .ws-icon-search { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); }
.o-tb-search { width: 100%; height: 38px; padding: 0 12px 0 36px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font: 14px var(--body); }
.o-tb-search:focus { outline: 2px solid var(--focus); outline-offset: 2px; }
.o-tb { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.o-tb-list { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.o-tb-head, .o-tb-row { display: grid; grid-template-columns: 58px minmax(0, 2.1fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.9fr) 76px; align-items: center; gap: 14px; padding: 0 16px; }
.o-tb-head { height: 40px; color: var(--soft); font-size: 12.5px; font-weight: 700; border-bottom: 1px solid var(--line); }
.o-tb-group { display: flex; align-items: baseline; gap: 8px; margin: 0; padding: 14px 16px 6px; border-bottom: 1px solid var(--line); background: var(--tint); color: var(--soft); font: 700 12.5px var(--body); letter-spacing: 0.04em; text-transform: uppercase; }
.o-tb-group span { font-weight: 600; letter-spacing: 0; }
.o-tb-row { width: 100%; min-height: 64px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background var(--step); }
.o-tb-row:last-child { border-bottom: 0; }
.o-tb-row:hover { background: var(--tint); }
.o-tb-row:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.o-tb-row.on { background: color-mix(in srgb, var(--lagoon) 9%, transparent); box-shadow: inset 3px 0 0 var(--lagoon); }
.o-tb-pic { display: block; width: 58px; height: 42px; overflow: hidden; border-radius: 9px; background: var(--tint); }
/* Home or archived: the picture grayed, as on My trips. */
.o-tb-pic.faded img, .o-tb-art.faded img { filter: grayscale(0.85); opacity: 0.8; }
/* No picture yet: the trips icon, quietly, so the row still has its shape. */
.o-tb-pic.none, .o-tb-art.none { display: grid; place-items: center; color: var(--soft); }
.o-tb-art.none { color: #46586B; }
.o-tb-pic img, .o-tb-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.o-tb-pic.sticker img, .o-tb-art.sticker img { object-fit: contain; padding: 3px; }
.o-tb-name { display: grid; gap: 2px; min-width: 0; }
.o-tb-name b, .o-tb-cell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-tb-name b { font-size: 15px; font-weight: 650; }
.o-tb-name > span { display: flex; align-items: center; gap: 6px; color: var(--soft); font-size: 13px; }
.o-tb-cell { color: var(--soft); font-size: 13.5px; }
.o-tb-kind { display: inline-flex; padding: 1px 9px; border-radius: 999px; background: var(--tint); color: var(--soft); font-size: 12px; font-weight: 700; }
.o-tb-kind.pv, .o-tb-tag.pv { background: #1D2A39; color: #E8DCC3; }
.o-tb-none { padding: 18px 16px; }

.o-tb-panel { position: sticky; top: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: var(--shadow-pop); }
.o-tb-cover { position: relative; aspect-ratio: 16 / 9; background: #0E1B2C; }
.o-tb-art { position: absolute; inset: 0; }
.o-tb-art.sticker { background: #16263A; }
.o-tb-art.sticker img { padding: 14px 14px 52px; }
/* A flat shade over the whole photo, so the white name reads on any picture
   (the owner page uses no gradients). */
.o-tb-cover::after { content: ""; position: absolute; inset: 0; background: rgba(8, 16, 26, 0.42); pointer-events: none; }
.o-tb-cover h3 { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 14px; margin: 0; color: #fff; font: 800 26px/1.05 var(--display); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.o-tb-tags { position: absolute; z-index: 1; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.o-tb-tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); color: #0E1B2C; font-size: 12.5px; font-weight: 700; }
.o-tb-sec { margin: 0; padding: 16px 18px; border-top: 1px solid var(--line); }
.o-tb-cover + .o-tb-sec { border-top: 0; }
.o-tb-sec h4 { margin: 0 0 10px; color: var(--soft); font-size: 13px; font-weight: 700; }
.o-tb-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.o-tb-facts div { min-width: 0; }
.o-tb-facts span { display: block; color: var(--soft); font-size: 12.5px; }
.o-tb-facts b { display: block; font-size: 14.5px; font-weight: 650; overflow-wrap: anywhere; }
.o-tb-facts a { color: var(--ink); }
.o-tb-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.o-tb-acts .btn { display: inline-flex; align-items: center; gap: 6px; }
.o-tb-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.o-tb-mode { display: grid; align-content: start; gap: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color var(--step), background var(--step); }
.o-tb-mode:hover:not(:disabled) { border-color: var(--soft); background: var(--tint); }
.o-tb-mode:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.o-tb-mode.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); cursor: default; }
.o-tb-mode b { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 14px; }
.o-tb-mode b span { color: var(--lagoon); font-size: 11.5px; font-weight: 700; }
.o-tb-mode > span { color: var(--soft); font-size: 12.5px; line-height: 1.4; }
.o-tb-set { display: flex; align-items: center; gap: 14px; }
.o-tb-set > span { display: grid; gap: 2px; flex: 1 1 auto; }
.o-tb-set > span b { font-size: 14.5px; }
.o-tb-set > span span { color: var(--soft); font-size: 12.5px; line-height: 1.4; }
.o-switch { position: relative; flex: none; width: 42px; height: 24px; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: background var(--step); }
.o-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); transition: transform var(--step); }
.o-switch.on { background: var(--lagoon); }
.o-switch.on::after { transform: translateX(18px); }
.o-switch:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 1100px) {
  .o-tb { grid-template-columns: 1fr; }
  .o-tb-panel { position: static; order: -1; }
}
@media (max-width: 760px) {
  .o-tb-find { flex-basis: 100%; margin-left: 0; }
  .o-tb-head { display: none; }
  .o-tb-row { grid-template-columns: 58px minmax(0, 1fr) auto; }
  .o-tb-row > .o-tb-cell { display: none; }
}

/* ── The Workspace (PLAN.md section 20, Nick's picks of 5 December 2026) ──
   A dark band with the Topography call background's contour lines behind it
   (topo.webp, made by tools/owner/make-pictures.mjs): the title, the search,
   and our pages as they look. Under it the pinned documents as paper, then
   the folders as tiles that open in place. The band is Midnight in both
   modes; on it the text pair is white and Mist. */
.ws-band {
  position: relative; overflow: hidden; margin-top: 22px; padding: 24px 26px 22px; border-radius: 18px;
  background: #0E1B2C url(topo.webp) center / cover no-repeat; color: #fff;
}
.ws-band-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-bottom: 22px; }
.ws-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.ws-home { display: inline-flex; align-items: center; gap: 8px; color: #B9C6D0; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.ws-home input { width: 16px; height: 16px; margin: 0; accent-color: #16C2B5; cursor: pointer; }
.ws-home:hover { color: #FFFFFF; }
.ws-band .o-title { color: #fff; font-size: 36px; }
.ws-band h3 { margin: 0 0 12px; color: #9AABB9; font: 700 12.5px var(--body); letter-spacing: 0.07em; text-transform: uppercase; }
.ws-search { position: relative; flex: 0 1 380px; min-width: 260px; }
.ws-search input {
  width: 100%; height: 44px; padding: 0 14px 0 42px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 11px;
  background: rgba(255, 255, 255, 0.1); color: #fff; font: 400 15.5px var(--body);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ws-search input::placeholder { color: #B9C6D0; }
.ws-search input:focus { outline: 2px solid #16C2B5; outline-offset: 2px; background: rgba(255, 255, 255, 0.14); }
.ws-search .ws-icon-search { position: absolute; z-index: 1; left: 14px; top: 50%; transform: translateY(-50%); color: #B9C6D0; }

/* Our pages: the main selling page big, four beside it. */
.ws-sites { display: grid; grid-template-columns: 1.55fr 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.ws-site {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; background: #16263A;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.09); color: #fff;
  transition: transform var(--step), box-shadow var(--step);
}
.ws-site:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 14px 30px -14px rgba(0, 0, 0, 0.6); }
.ws-site-link { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; color: inherit; text-decoration: none; }
.ws-site-link:hover { text-decoration: none; }
.ws-site-link:focus-visible { outline: 2px solid #16C2B5; outline-offset: -2px; border-radius: 12px; }
.ws-site.big { grid-row: span 2; }
.ws-chrome { display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 10px; background: #22344A; }
.ws-chrome i { width: 6px; height: 6px; border-radius: 50%; background: #4A5E74; }
.ws-chrome em { overflow: hidden; margin-left: 8px; color: #9AABB9; font-size: 11px; font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
.ws-site img { display: block; width: 100%; height: 108px; object-fit: cover; object-position: top center; background: #0E1B2C; }
.ws-site.photo img { object-position: center; }
.ws-site.sticker img { padding: 8px 0; object-fit: contain; background: #1B2D43; }
/* The big tile fills the two rows the small ones set, whatever its picture's shape. */
.ws-site.big img { flex: 1 1 0; height: 0; min-height: 250px; }
/* A page we have no picture of yet: its name, set large on the band's ink. */
.ws-site-blank {
  display: grid; place-items: center; height: 108px; padding: 0 14px; background: #1B2D43;
  color: #9AABB9; font: 800 20px/1.1 var(--display); letter-spacing: -0.015em; text-align: center;
}
.ws-site.big .ws-site-blank { flex: 1 1 0; height: 0; min-height: 250px; font-size: 30px; }

/* Choosing which sites show big. */
.ws-sites-head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 12px; }
.ws-sites-head h3 { margin: 0; }
.ws-change {
  padding: 3px 12px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; background: transparent;
  color: #E6EDF2; font: 600 13px var(--body); cursor: pointer; transition: background var(--step), border-color var(--step);
}
.ws-change:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.08); }
.ws-change.on { border-color: #16C2B5; background: #16C2B5; color: #0E1B2C; }
.ws-change:focus-visible, .ws-act:focus-visible, .ws-add:focus-visible { outline: 2px solid #16C2B5; outline-offset: 2px; }
.ws-choose-hint { margin: -4px 0 12px; color: #B9C6D0; font-size: 13.5px; }
.ws-sites.choosing .ws-site { box-shadow: 0 0 0 1px rgba(22, 194, 181, 0.55); }
.ws-sites.choosing .ws-site:hover { transform: none; }
.ws-site-acts { position: absolute; top: 30px; right: 8px; display: flex; gap: 6px; }
.ws-act {
  min-width: 30px; height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: #0E1B2C;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28); color: #fff; font: 700 13px var(--body); cursor: pointer;
}
.ws-act:hover { background: #22344A; }
.ws-add {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 11px 3px 8px; border: 1px dashed rgba(255, 255, 255, 0.3); border-radius: 999px;
  background: transparent; color: #E6EDF2; font: 600 13px var(--body); cursor: pointer;
}
.ws-add:hover { border-style: solid; border-color: #16C2B5; background: rgba(22, 194, 181, 0.12); }
.ws-add:disabled { opacity: 0.45; cursor: not-allowed; }
.ws-add:disabled:hover { border-style: dashed; border-color: rgba(255, 255, 255, 0.3); background: transparent; }
.ws-picks-note { margin: 10px 0 0; color: #FBBF24; font-size: 13.5px; font-weight: 600; }
.ws-sec .ws-picks-note { margin: 0 0 12px; color: var(--warn); }
.ws-site-words { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 10px; padding: 10px 12px; }
.ws-site-words b { font-size: 14px; font-weight: 700; white-space: nowrap; }
.ws-site-words span { overflow: hidden; color: #9AABB9; font-size: 12.5px; white-space: nowrap; text-overflow: ellipsis; }
.ws-site.big .ws-site-words b { font-size: 15.5px; }
.ws-more-sites { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 16px 0 0; }
.ws-more-sites > span { margin-right: 4px; color: #9AABB9; font-size: 13px; font-weight: 600; }
.ws-more-sites a {
  padding: 3px 11px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); color: #E6EDF2; font-size: 13px; font-weight: 600; text-decoration: none;
}
.ws-more-sites a:hover { border-color: rgba(255, 255, 255, 0.34); background: rgba(255, 255, 255, 0.1); text-decoration: none; }

/* A section under the band. */
.ws-sec { margin-top: 28px; }
.ws-sec-head { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; }
.ws-sec-head h3 { margin: 0; font: 700 17px var(--body); letter-spacing: -0.01em; }
.ws-sec-head span { color: var(--soft); font-size: 14px; font-weight: 600; }

/* Each folder's color: its icon tile, its sheet's top edge, its drawer.
   Picked to sit apart from one another and from the status colors. */
.ws-f-selling  { --hue: #0E8F86; --hue-bg: #E2F3F1; }
.ws-f-pricing  { --hue: #3B4A8C; --hue-bg: #E9ECF6; }
.ws-f-private  { --hue: #E8DCC3; --hue-bg: #1D2A39; --hue-edge: #A88A55; }
.ws-f-strategy { --hue: #7A5B1E; --hue-bg: #F3EEE3; }
.ws-f-brand    { --hue: #6B4A8C; --hue-bg: #F0EAF6; }
.ws-f-logos    { --hue: #8C3F63; --hue-bg: #F6E9EF; }
.ws-f-avatars  { --hue: #2F6F7A; --hue-bg: #E4F0F2; }
.ws-f-graphics { --hue: #2C5E91; --hue-bg: #E6EFF8; }
.ws-f-calls    { --hue: #2E7D5B; --hue-bg: #E3F2EA; }
.ws-f-build, .ws-f-shared { --hue: #46586B; --hue-bg: #EBEFF2; }
@media (prefers-color-scheme: dark) {
  .ws-f-selling  { --hue: #3FC9BD; --hue-bg: rgba(63, 201, 189, 0.14); }
  .ws-f-pricing  { --hue: #A3B0F0; --hue-bg: rgba(163, 176, 240, 0.14); }
  .ws-f-private  { --hue: #E8DCC3; --hue-bg: #2A3A4D; --hue-edge: #C9A96E; }
  .ws-f-strategy { --hue: #D7B46A; --hue-bg: rgba(215, 180, 106, 0.14); }
  .ws-f-brand    { --hue: #C7A6E8; --hue-bg: rgba(199, 166, 232, 0.14); }
  .ws-f-logos    { --hue: #E8A6C4; --hue-bg: rgba(232, 166, 196, 0.14); }
  .ws-f-avatars  { --hue: #8CC9D3; --hue-bg: rgba(140, 201, 211, 0.14); }
  .ws-f-graphics { --hue: #8DB8E6; --hue-bg: rgba(141, 184, 230, 0.14); }
  .ws-f-calls    { --hue: #7DD3A8; --hue-bg: rgba(125, 211, 168, 0.14); }
  .ws-f-build, .ws-f-shared { --hue: #B9C6D0; --hue-bg: rgba(185, 198, 208, 0.12); }
}

/* Pinned: paper. */
.ws-sheets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ws-sheet {
  position: relative; display: block; height: 190px; overflow: hidden; padding: 20px 18px 0; border-radius: 6px;
  background: var(--card); color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 2px rgba(14, 27, 44, 0.08), 0 10px 26px -14px rgba(14, 27, 44, 0.32);
  transition: transform var(--step), box-shadow var(--step);
}
.ws-sheet::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--hue-edge, var(--hue)); }
.ws-sheet-wrap { position: relative; transition: transform var(--step); }
.ws-sheet-wrap:hover { transform: translateY(-3px) rotate(-0.4deg); }
.ws-sheet:hover { text-decoration: none; box-shadow: 0 1px 2px rgba(14, 27, 44, 0.08), 0 16px 30px -14px rgba(14, 27, 44, 0.4); }
.ws-sheet-wrap .ws-pin { position: absolute; top: 10px; right: 8px; }
.ws-sheet-wrap .ws-sheet b { margin-right: 22px; }
.ws-empty-pins { margin: 0; padding: 18px; border: 1px dashed var(--line); border-radius: 10px; color: var(--soft); font-size: 14px; }
.ws-sheet:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.ws-sheet small { display: block; color: var(--soft); font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.ws-sheet b { display: block; margin: 7px 0 9px; font: 800 19px/1.12 var(--display); letter-spacing: -0.015em; }
.ws-sheet p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--soft); font-size: 12.5px; line-height: 1.5; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
@media (prefers-color-scheme: dark) {
  .ws-band { box-shadow: 0 0 0 1px var(--line); }
  .ws-sheet { box-shadow: 0 0 0 1px var(--line), 0 10px 26px -14px rgba(0, 0, 0, 0.6); }
}

/* Folders: tiles that open their documents in place. */
.ws-folders { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ws-folder {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; text-align: left; cursor: pointer;
  transition: border-color var(--step), box-shadow var(--step);
}
.ws-folder:hover { border-color: var(--soft); box-shadow: var(--shadow-pop); }
.ws-folder:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ws-folder.open { border-color: var(--ink); box-shadow: var(--shadow-pop); }
.ws-fi { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--hue-bg); color: var(--hue); }
.ws-folder-words { min-width: 0; }
.ws-folder-words b { display: block; font-size: 14.5px; font-weight: 700; }
.ws-folder-words span { display: block; overflow: hidden; color: var(--soft); font-size: 12.5px; white-space: nowrap; text-overflow: ellipsis; }
.ws-folder-n { display: inline-flex; align-items: center; gap: 2px; color: var(--soft); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ws-folder-n .o-glyph { transition: transform var(--step); }
.ws-folder.open .ws-folder-n { color: var(--ink); }
.ws-folder.open .ws-folder-n .o-glyph { transform: rotate(180deg); }
.ws-drawer {
  position: relative; grid-column: 1 / -1; margin: 2px 0 6px; padding: 8px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--card); box-shadow: var(--shadow-pop); animation: ws-drop 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ws-drawer::before {
  content: ""; position: absolute; top: -7px; left: var(--x, 40px); width: 12px; height: 12px; background: var(--card);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line); transform: rotate(45deg);
}
@keyframes ws-drop { from { opacity: 0; transform: translateY(-6px); } }
.ws-drawer-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 14px; }
.ws-drow {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px;
  color: var(--ink); text-decoration: none; transition: background var(--step);
}
.ws-drow:hover { background: var(--tint); text-decoration: none; }
.ws-drow:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.ws-drow-words { min-width: 0; }
.ws-drow-wrap { position: relative; }
.ws-drow-wrap .ws-drow { padding-right: 44px; }
.ws-drow-wrap .ws-pin { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); }
.ws-drow-wrap .ws-icon-away { margin-right: 0; }

/* The pin: quiet until wanted, filled in ink when on. */
.ws-pin {
  display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: var(--soft); cursor: pointer; opacity: 0.55; transition: opacity var(--step), background var(--step);
}
.ws-drow-wrap:hover .ws-pin, .ws-sheet-wrap:hover .ws-pin, .ws-pin:focus-visible, .ws-pin.on { opacity: 1; }
.ws-pin:hover { background: var(--tint); color: var(--ink); }
.ws-pin.on { color: var(--ink); }
.ws-pin:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
@media (hover: none) { .ws-pin { opacity: 1; } }
.ws-drow-words b { display: block; font-size: 14px; font-weight: 600; }
.ws-drow-words span { display: -webkit-box; overflow: hidden; color: var(--soft); font-size: 12.5px; line-height: 1.4; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ws-kb { display: grid; place-items: center; height: 24px; border-radius: 5px; background: var(--tint); color: var(--soft); font-size: 10.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.ws-dpic { width: 52px; height: 36px; border-radius: 5px; object-fit: contain; background: var(--tint); }

/* The services' lights, under the menu (on a phone, at the screen's foot). */
.ws-tools { margin: 14px 2px 4px; padding: 12px 12px 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.ws-tools-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ws-tools-head b { color: var(--soft); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ws-health { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.ws-health i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ws-health.ok { background: color-mix(in srgb, var(--light-ok) 16%, var(--card)); color: var(--ok); }
.ws-health.ok i { background: var(--light-ok); }
.ws-health.note { background: color-mix(in srgb, var(--light-note) 20%, var(--card)); color: var(--warn); }
.ws-health.note i { background: var(--light-note); }
.ws-health.bad { background: color-mix(in srgb, var(--light-bad) 16%, var(--card)); color: var(--bad); }
.ws-health.bad i { background: var(--light-bad); }
.ws-health.wait { background: var(--tint); color: var(--soft); }
.ws-health.wait i { display: none; }
.ws-tools h5 { margin: 12px 0 2px; color: var(--soft); font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; opacity: 0.8; }
.ws-tool { display: grid; grid-template-columns: 26px minmax(0, 1fr) 8px; align-items: center; gap: 10px; padding: 6px 4px; margin: 0 -4px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.ws-tool:hover { background: var(--tint); text-decoration: none; }
.ws-tool:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.ws-mark { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--tint); color: var(--soft); font-size: 12px; font-weight: 800; }
.ws-tool-words { min-width: 0; }
.ws-tool-words b { display: block; font-size: 13.5px; font-weight: 600; }
.ws-tool-words em { display: block; overflow: hidden; color: var(--soft); font-size: 12px; font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
/* The lights (Nick, 5 December 2026: "make them pop"): bright, a size up, with
   a ring of their own color, and the words under the name in the same color
   when something's amiss. Bright for the dot only; the words keep the darker
   text colors, which read on the card. Red is a true red, well away from
   coral, which means live and only that. */
.ws-tools { --light-ok: #16A34A; --light-note: #F59E0B; --light-bad: #DC2626; }
@media (prefers-color-scheme: dark) {
  .ws-tools { --light-ok: #34D399; --light-note: #FBBF24; --light-bad: #F87171; }
}
.ws-tool { grid-template-columns: 26px minmax(0, 1fr) 12px; }
.ws-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.ws-dot.ok { background: var(--light-ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--light-ok) 24%, transparent); }
.ws-dot.note { background: var(--light-note); box-shadow: 0 0 0 3px color-mix(in srgb, var(--light-note) 28%, transparent); }
.ws-dot.bad { background: var(--light-bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--light-bad) 26%, transparent); }
.ws-dot.off { background: transparent; box-shadow: inset 0 0 0 2px var(--soft); }
.ws-tool-words em.note { color: var(--warn); font-weight: 600; }
.ws-tool-words em.bad { color: var(--bad); font-weight: 600; }
.ws-tools-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--soft); font-size: 12px; }
.ws-again { padding: 2px 0; border: 0; background: none; color: var(--lagoon); font: 700 12px var(--body); cursor: pointer; white-space: nowrap; }
.ws-again:disabled { color: var(--soft); cursor: default; }
.ws-ph-tools { margin-top: 24px; }

@media (max-width: 1200px) {
  .ws-folders { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .ws-sites { grid-template-columns: 1fr 1fr; }
  .ws-site.big { grid-column: 1 / -1; grid-row: auto; }
  .ws-site.big img, .ws-site.big .ws-site-blank { flex: none; min-height: 0; height: 220px; }
  .ws-sheets { grid-template-columns: 1fr 1fr; }
  .ws-folders { grid-template-columns: 1fr 1fr; }
  .ws-drawer-rows { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ws-band { margin-top: 12px; padding: 18px 16px 16px; border-radius: 14px; }
  .ws-band .o-title { font-size: 28px; }
  .ws-search { flex-basis: 100%; min-width: 0; }
  .ws-sites { gap: 10px; }
  .ws-site img { height: 92px; }
  .ws-site.big img, .ws-site.big .ws-site-blank { height: 170px; }
  .ws-site-words span { display: none; }
  .ws-site.big .ws-site-words span { display: block; }
  .ws-sheets { gap: 12px; }
  .ws-sheet { height: 160px; padding: 16px 14px 0; }
  .ws-sheet b { font-size: 17px; }
  .ws-folders { grid-template-columns: 1fr; }
  .ws-ph-tools .ws-tools { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ws-drawer { animation: none; }
  .ws-site, .ws-sheet { transition: none; }
  .ws-site:hover, .ws-sheet:hover { transform: none; }
}
